philipp/winterrodeln/wrfeed.git
5 days agoSet version number to 0.4.1. master
Philipp Spitzer [Sat, 20 Feb 2021 13:32:12 +0000 (14:32 +0100)]
Set version number to 0.4.1.

5 days agoPEP 8 improvements.
Philipp Spitzer [Sat, 20 Feb 2021 13:21:25 +0000 (14:21 +0100)]
PEP 8 improvements.

5 days agohttp -> https.
Philipp Spitzer [Sat, 20 Feb 2021 13:19:31 +0000 (14:19 +0100)]
http -> https.

5 days agoSet version number to 0.4.0.
Philipp Spitzer [Sat, 20 Feb 2021 13:30:53 +0000 (14:30 +0100)]
Set version number to 0.4.0.

21 months agoNow using start-stop-daemon and implement status.
philipp [Thu, 9 May 2019 19:04:34 +0000 (19:04 +0000)]
Now using start-stop-daemon and implement status.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2807 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoNow port and APPDIR are configurable.
philipp [Thu, 9 May 2019 19:04:34 +0000 (19:04 +0000)]
Now port and APPDIR are configurable.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2806 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoAdd minimal start/stop script based on Gregor's seepark start/stop script.
philipp [Thu, 9 May 2019 19:04:33 +0000 (19:04 +0000)]
Add minimal start/stop script based on Gregor's seepark start/stop script.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2805 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoTest now works again (e.g. change DATABASE_URI to SQLALCHEMY_DATABASE_URI).
philipp [Thu, 9 May 2019 19:04:32 +0000 (19:04 +0000)]
Test now works again (e.g. change DATABASE_URI to SQLALCHEMY_DATABASE_URI).

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2804 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoAdd wrregioncache to test table export.
philipp [Thu, 9 May 2019 19:04:30 +0000 (19:04 +0000)]
Add wrregioncache to test table export.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2803 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoRegenerate test data with MariaDB 10.3.
philipp [Thu, 9 May 2019 19:04:29 +0000 (19:04 +0000)]
Regenerate test data with MariaDB 10.3.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2802 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoDisable SQLALCHEMY_TRACK_MODIFICATIONS.
philipp [Thu, 9 May 2019 19:04:28 +0000 (19:04 +0000)]
Disable SQLALCHEMY_TRACK_MODIFICATIONS.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2801 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoNow border is not used anymore to select sledruns for regions.
philipp [Thu, 9 May 2019 19:04:27 +0000 (19:04 +0000)]
Now border is not used anymore to select sledruns for regions.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2800 7aebc617-e5e2-0310-91dc-80fb5f6d2477

21 months agoRemove GDAL/ogr requirement as MySQL now can do spatial queries correctly.
philipp [Thu, 9 May 2019 19:04:26 +0000 (19:04 +0000)]
Remove GDAL/ogr requirement as MySQL now can do spatial queries correctly.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2799 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoAdd comment about how to execute the tests.
philipp [Sun, 6 Aug 2017 20:23:15 +0000 (20:23 +0000)]
Add comment about how to execute the tests.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2703 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoRemove unused import.
philipp [Sun, 6 Aug 2017 18:56:05 +0000 (18:56 +0000)]
Remove unused import.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2701 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoRemove directory controllers.
philipp [Sun, 6 Aug 2017 18:56:04 +0000 (18:56 +0000)]
Remove directory controllers.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2700 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoUse subTest for test_bahn, test_bahnen and test_region.
philipp [Sun, 23 Jul 2017 19:24:08 +0000 (19:24 +0000)]
Use subTest for test_bahn, test_bahnen and test_region.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2660 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoImplement test_bahnen.
philipp [Sun, 23 Jul 2017 19:24:06 +0000 (19:24 +0000)]
Implement test_bahnen.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2659 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoThis change causes table wrregion not to be empty after import.
philipp [Sun, 23 Jul 2017 19:24:05 +0000 (19:24 +0000)]
This change causes table wrregion not to be empty after import.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2658 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoAdd test_region.
philipp [Sun, 23 Jul 2017 19:24:04 +0000 (19:24 +0000)]
Add test_region.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2657 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoNow using WKT instead of mysql's binary format for spatial data.
philipp [Sun, 23 Jul 2017 19:24:03 +0000 (19:24 +0000)]
Now using WKT instead of mysql's binary format for spatial data.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2656 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoImplement test_bahn.
philipp [Sun, 23 Jul 2017 19:24:00 +0000 (19:24 +0000)]
Implement test_bahn.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2655 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoAvoid a time overflow warning.
philipp [Sun, 23 Jul 2017 19:23:59 +0000 (19:23 +0000)]
Avoid a time overflow warning.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2654 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoAdd test checking the number of returned entries.
philipp [Sun, 23 Jul 2017 19:23:58 +0000 (19:23 +0000)]
Add test checking the number of returned entries.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2653 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoDynamically adjust dates for the tests.
philipp [Sun, 23 Jul 2017 19:23:57 +0000 (19:23 +0000)]
Dynamically adjust dates for the tests.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2652 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoAdjust entries to enable more tests.
philipp [Sun, 23 Jul 2017 19:23:56 +0000 (19:23 +0000)]
Adjust entries to enable more tests.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2651 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoAdd basic unittests.
philipp [Sun, 23 Jul 2017 19:23:55 +0000 (19:23 +0000)]
Add basic unittests.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2650 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoUpdate usage comments.
philipp [Sun, 23 Jul 2017 19:23:53 +0000 (19:23 +0000)]
Update usage comments.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2649 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoFix import statement.
philipp [Sun, 23 Jul 2017 19:23:52 +0000 (19:23 +0000)]
Fix import statement.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2648 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoMake app available on package level as suggested in the Flask documentation.
philipp [Sun, 23 Jul 2017 19:23:51 +0000 (19:23 +0000)]
Make app available on package level as suggested in the Flask documentation.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2647 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoMove index.html from public to templates.
philipp [Sun, 23 Jul 2017 19:23:50 +0000 (19:23 +0000)]
Move index.html from public to templates.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2646 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoSimplify setup.py and remove unneeded files.
philipp [Sun, 23 Jul 2017 19:23:48 +0000 (19:23 +0000)]
Simplify setup.py and remove unneeded files.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2645 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoRemove unused files.
philipp [Sun, 23 Jul 2017 19:23:47 +0000 (19:23 +0000)]
Remove unused files.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2644 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoThe flask version of wrfeed is basically working now.
philipp [Sun, 23 Jul 2017 19:23:44 +0000 (19:23 +0000)]
The flask version of wrfeed is basically working now.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2643 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoMake flask serve the static root file.
philipp [Sun, 23 Jul 2017 19:23:43 +0000 (19:23 +0000)]
Make flask serve the static root file.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2642 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoberichte.py after running 2to3.py
philipp [Sun, 23 Jul 2017 19:23:42 +0000 (19:23 +0000)]
berichte.py after running 2to3.py

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2641 7aebc617-e5e2-0310-91dc-80fb5f6d2477

3 years agoFlask "hello world"
philipp [Sun, 23 Jul 2017 19:23:39 +0000 (19:23 +0000)]
Flask "hello world"

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@2640 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoUpdated link to trac site of WrFeed.
philipp [Sun, 27 Oct 2013 20:58:44 +0000 (20:58 +0000)]
Updated link to trac site of WrFeed.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1764 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoAdded comment for region processing.
philipp [Sun, 27 Oct 2013 20:58:42 +0000 (20:58 +0000)]
Added comment for region processing.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1763 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoIncluded GDAL in the dependencies.
philipp [Sun, 27 Oct 2013 20:58:40 +0000 (20:58 +0000)]
Included GDAL in the dependencies.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1762 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoIncreased version number to 0.2.0.
philipp [Sun, 27 Oct 2013 20:58:39 +0000 (20:58 +0000)]
Increased version number to 0.2.0.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1761 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoAdditional filtering to compensate lack of support by mysql 5.5
philipp [Sun, 27 Oct 2013 20:09:40 +0000 (20:09 +0000)]
Additional filtering to compensate lack of support by mysql 5.5

Mysql 5.5 doesn't have specification conform geospacial functions.
http://dev.mysql.com/doc/refman/5.5/en/functions-for-testing-spatial-relations-between-geometric-objects.html
therefore we have to do further filtering ourself.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1760 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoGenerating the feed for a region is basically implemented.
philipp [Sun, 27 Oct 2013 20:09:38 +0000 (20:09 +0000)]
Generating the feed for a region is basically implemented.

MySQL 5.5 doesn't implement spatial "contains" correctly. That is not
corrected yet by the program.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1759 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoMade SQL generation in function create_feed more flexible.
philipp [Sun, 27 Oct 2013 20:09:37 +0000 (20:09 +0000)]
Made SQL generation in function create_feed more flexible.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1758 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoMore realistic URL example in docstrings.
philipp [Sun, 27 Oct 2013 20:09:35 +0000 (20:09 +0000)]
More realistic URL example in docstrings.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1757 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoThe google bot used the URL
philipp [Sat, 29 Jun 2013 21:42:08 +0000 (21:42 +0000)]
The google bot used the URL
http://www.winterrodeln.org/feed/berichte/bahnen/22+42+132"""
to access the feed - that lead to a ValueError. Fixed.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1485 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoMoved the wrfeed module to its own location in the repository to enable independent...
philipp [Sat, 29 Jun 2013 21:22:51 +0000 (21:22 +0000)]
Moved the wrfeed module to its own location in the repository to enable independent version tagging.

git-svn-id: http://www.winterrodeln.org/svn/wrfeed/trunk@1482 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoMerged MediaWiki version 1.19.5.
philipp [Wed, 17 Apr 2013 21:45:48 +0000 (21:45 +0000)]
Merged MediaWiki version 1.19.5.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@1353 7aebc617-e5e2-0310-91dc-80fb5f6d2477

9 years agoAdded "wr:report" line to feed entry with winterrodeln specific information.
philipp [Sun, 26 Jun 2011 09:37:39 +0000 (09:37 +0000)]
Added "wr:report" line to feed entry with winterrodeln specific information.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@833 7aebc617-e5e2-0310-91dc-80fb5f6d2477

9 years agoReplaced table name wrsleddingcache with wrsleddingcache.
philipp [Sat, 25 Jun 2011 09:21:36 +0000 (09:21 +0000)]
Replaced table name wrsleddingcache with wrsleddingcache.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@830 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoAdded (mandatory) configuration parameter "feedentrylimit" that specifies the maximum...
philipp [Wed, 5 Jan 2011 20:28:24 +0000 (20:28 +0000)]
Added (mandatory) configuration parameter "feedentrylimit" that specifies the maximum number of feed entries. It has to be given in the .ini file, e.g.
feedentrylimit = 150

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@720 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoIntroduced georss and fixed some validation errors.
philipp [Wed, 22 Dec 2010 22:00:09 +0000 (22:00 +0000)]
Introduced georss and fixed some validation errors.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@715 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoMade the template for the deployment.ini more project specific.
philipp [Wed, 22 Dec 2010 21:59:26 +0000 (21:59 +0000)]
Made the template for the deployment.ini more project specific.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@714 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoChanged the default index.html file to a project specific one.
philipp [Wed, 22 Dec 2010 21:56:12 +0000 (21:56 +0000)]
Changed the default index.html file to a project specific one.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@713 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoIgnored some directories.
philipp [Mon, 20 Dec 2010 19:48:24 +0000 (19:48 +0000)]
Ignored some directories.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@712 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoReplaced URL /feeds/* by /feed/* (see ticket #64).
philipp [Mon, 20 Dec 2010 19:46:40 +0000 (19:46 +0000)]
Replaced URL /feeds/* by /feed/* (see ticket #64).

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@711 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoA test setup with mapserver works :-)
philipp [Sat, 6 Nov 2010 08:12:22 +0000 (08:12 +0000)]
A test setup with mapserver works :-)

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@625 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoRenamed feed module in wrfeed (however, the URL stays the same).
philipp [Wed, 27 Oct 2010 20:03:06 +0000 (20:03 +0000)]
Renamed feed module in wrfeed (however, the URL stays the same).
The name feed is too common in my opinion.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrfeed@611 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoThe debug version of atom feeds work.
philipp [Fri, 8 Oct 2010 20:01:07 +0000 (20:01 +0000)]
The debug version of atom feeds work.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/feed@585 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoAdded controller to serve atom feeds - but not finished yet.
philipp [Fri, 8 Oct 2010 17:53:24 +0000 (17:53 +0000)]
Added controller to serve atom feeds - but not finished yet.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/feed@584 7aebc617-e5e2-0310-91dc-80fb5f6d2477

10 years agoCreated template for feed pylons project.
philipp [Fri, 8 Oct 2010 17:00:19 +0000 (17:00 +0000)]
Created template for feed pylons project.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/feed@583 7aebc617-e5e2-0310-91dc-80fb5f6d2477