philipp/winterrodeln/wrpylib.git
2 years agoCreate module wrdem and script get_elevation.
Philipp Spitzer [Mon, 25 Jan 2021 22:06:12 +0000 (23:06 +0100)]
Create module wrdem and script get_elevation.

2 years agoPEP 8 improvements.
Philipp Spitzer [Mon, 29 Jun 2020 20:50:07 +0000 (22:50 +0200)]
PEP 8 improvements.

2 years agoFix test_wrreportcache_table.
Philipp Spitzer [Mon, 29 Jun 2020 20:49:55 +0000 (22:49 +0200)]
Fix test_wrreportcache_table.

2 years agoCopy testdb.sql from wradmin project.
Philipp Spitzer [Mon, 29 Jun 2020 20:52:55 +0000 (22:52 +0200)]
Copy testdb.sql from wradmin project.

2 years agoMap strings saved in database as binary to unicode strings in Python.
Philipp Spitzer [Sat, 27 Jun 2020 20:56:12 +0000 (22:56 +0200)]
Map strings saved in database as binary to unicode strings in Python.

2 years agoAdjust expected data types in tests.
Philipp Spitzer [Sat, 27 Jun 2020 20:55:12 +0000 (22:55 +0200)]
Adjust expected data types in tests.

2 years agoInsert testdb.sql as raw SQL.
Philipp Spitzer [Sat, 27 Jun 2020 20:53:43 +0000 (22:53 +0200)]
Insert testdb.sql as raw SQL.

2 years agoSet version number to 0.7.0.
Philipp Spitzer [Tue, 23 Jun 2020 21:36:45 +0000 (23:36 +0200)]
Set version number to 0.7.0.

2 years agoAdd mapping definition for MediaWiki table user_groups.
Philipp Spitzer [Tue, 23 Jun 2020 21:36:14 +0000 (23:36 +0200)]
Add mapping definition for MediaWiki table user_groups.

3 years agoIncrease version number from 0.6.1 to 0.6.2.
philipp [Fri, 10 Jan 2020 20:03:29 +0000 (20:03 +0000)]
Increase version number from 0.6.1 to 0.6.2.

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

3 years agoSupport "real" UTF-8 by changing to utf8mb4 (winterrodeln tables) and binary (Mediawi...
philipp [Fri, 10 Jan 2020 20:03:28 +0000 (20:03 +0000)]
Support "real" UTF-8 by changing to utf8mb4 (winterrodeln tables) and binary (Mediawiki tables).

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

3 years agoInclude scripts in setup.py.
philipp [Fri, 10 Jan 2020 20:03:26 +0000 (20:03 +0000)]
Include scripts in setup.py.

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

3 years agoIncrease version number from 0.6.0 to 0.6.1.
philipp [Sat, 21 Dec 2019 06:34:36 +0000 (06:34 +0000)]
Increase version number from 0.6.0 to 0.6.1.

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

3 years agoChange shabang to python3.
philipp [Sat, 21 Dec 2019 06:34:35 +0000 (06:34 +0000)]
Change shabang to python3.

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

3 years agoRemove obsolete file headers.
philipp [Tue, 17 Dec 2019 21:20:43 +0000 (21:20 +0000)]
Remove obsolete file headers.

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

3 years agoMake scripts more consistent (e.g. use argparse module).
philipp [Tue, 17 Dec 2019 21:20:41 +0000 (21:20 +0000)]
Make scripts more consistent (e.g. use argparse module).

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

3 years agoMake executable.
philipp [Tue, 17 Dec 2019 21:20:40 +0000 (21:20 +0000)]
Make executable.

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

3 years agoConvert to Python3.
philipp [Tue, 17 Dec 2019 21:20:39 +0000 (21:20 +0000)]
Convert to Python3.

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

3 years agoMove updatewrsledruncache.py to scripts folder.
philipp [Tue, 17 Dec 2019 20:25:12 +0000 (20:25 +0000)]
Move updatewrsledruncache.py to scripts folder.

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

3 years agoMove updatewrreportcache.py to scripts folder.
philipp [Tue, 17 Dec 2019 20:24:45 +0000 (20:24 +0000)]
Move updatewrreportcache.py to scripts folder.

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

3 years agoMove updatewrregioncache.py to scripts folder.
philipp [Tue, 17 Dec 2019 20:24:19 +0000 (20:24 +0000)]
Move updatewrregioncache.py to scripts folder.

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

3 years agoMove updatewrmapcache.py to scripts folder.
philipp [Tue, 17 Dec 2019 20:23:53 +0000 (20:23 +0000)]
Move updatewrmapcache.py to scripts folder.

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

3 years agoMove updatewrinncache.py to scripts folder.
philipp [Tue, 17 Dec 2019 20:23:19 +0000 (20:23 +0000)]
Move updatewrinncache.py to scripts folder.

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

3 years agoMove createthumbnails.py to scripts folder.
philipp [Tue, 17 Dec 2019 20:22:35 +0000 (20:22 +0000)]
Move createthumbnails.py to scripts folder.

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

3 years agoMove command line interface to intermaps to separate file.
philipp [Tue, 17 Dec 2019 20:19:19 +0000 (20:19 +0000)]
Move command line interface to intermaps to separate file.

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

3 years agoUpdate update_wrintermapsreport() to sub-functions.
philipp [Tue, 17 Dec 2019 20:19:18 +0000 (20:19 +0000)]
Update update_wrintermapsreport() to sub-functions.

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

3 years agoIncrease indent to avoid a Python warning in update_wrintermapssledrun.
philipp [Tue, 17 Dec 2019 20:19:17 +0000 (20:19 +0000)]
Increase indent to avoid a Python warning in update_wrintermapssledrun.

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

3 years agoImplement adding reports from wrintermapsreport to wrintermapsreportshistory.
philipp [Tue, 17 Dec 2019 20:19:16 +0000 (20:19 +0000)]
Implement adding reports from wrintermapsreport to wrintermapsreportshistory.

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

3 years agoMap new column first_check as well.
philipp [Tue, 17 Dec 2019 20:19:15 +0000 (20:19 +0000)]
Map new column first_check as well.

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

3 years agoDynamic UTF offset.
philipp [Tue, 17 Dec 2019 20:19:14 +0000 (20:19 +0000)]
Dynamic UTF offset.

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

3 years agoPEP 8 improvements.
philipp [Tue, 17 Dec 2019 20:19:13 +0000 (20:19 +0000)]
PEP 8 improvements.

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

3 years agoWe don't need the investigate() function anymore.
philipp [Tue, 17 Dec 2019 20:19:12 +0000 (20:19 +0000)]
We don't need the investigate() function anymore.

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

3 years agoMake last_check a function parameter.
philipp [Tue, 17 Dec 2019 20:19:11 +0000 (20:19 +0000)]
Make last_check a function parameter.

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

3 years agoCreate function update_wrintermapsreport().
philipp [Tue, 17 Dec 2019 20:19:10 +0000 (20:19 +0000)]
Create function update_wrintermapsreport().

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

3 years agoAdd WrIntermapsReport and WrIntermapsReportHistory to mapping.
philipp [Tue, 17 Dec 2019 20:19:10 +0000 (20:19 +0000)]
Add WrIntermapsReport and WrIntermapsReportHistory to mapping.

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

3 years agoFix typo in column names in mapping as well.
philipp [Tue, 17 Dec 2019 20:19:09 +0000 (20:19 +0000)]
Fix typo in column names in mapping as well.

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

3 years agoUse new wrpylib.orm classes.
philipp [Tue, 17 Dec 2019 20:19:08 +0000 (20:19 +0000)]
Use new wrpylib.orm classes.

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

3 years agoStart to add ORM classes for MediaWiki and Winterrodeln tables.
philipp [Tue, 17 Dec 2019 20:19:07 +0000 (20:19 +0000)]
Start to add ORM classes for MediaWiki and Winterrodeln tables.

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

3 years agoRename unused function main() to investigate().
philipp [Tue, 17 Dec 2019 20:19:06 +0000 (20:19 +0000)]
Rename unused function main() to investigate().

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

3 years agoDraft helper script for intermap tables.
philipp [Tue, 17 Dec 2019 20:19:05 +0000 (20:19 +0000)]
Draft helper script for intermap tables.

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

3 years agoAdd new intermaps tables to mapping.
philipp [Tue, 17 Dec 2019 20:19:04 +0000 (20:19 +0000)]
Add new intermaps tables to mapping.

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

3 years agoMap mediawiki password field in mwdb.py.
philipp [Fri, 29 Nov 2019 19:25:05 +0000 (19:25 +0000)]
Map mediawiki password field in mwdb.py.

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

5 years agoNow using explicit test database philipp_winterrodeln_wrpylib_wrpylib_test in test_wr...
philipp [Mon, 25 Dec 2017 21:17:44 +0000 (21:17 +0000)]
Now using explicit test database philipp_winterrodeln_wrpylib_wrpylib_test in test_wrmwdb.py.

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

5 years agoReuse test database for wrpylib tests.
philipp [Mon, 25 Dec 2017 21:08:03 +0000 (21:08 +0000)]
Reuse test database for wrpylib tests.

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

5 years agoReplace deprecated SQLAlchemy Table.count() by sqlfunc.count().
philipp [Thu, 2 Nov 2017 21:08:52 +0000 (21:08 +0000)]
Replace deprecated SQLAlchemy Table.count() by sqlfunc.count().

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

5 years agoChanged sqlalchemy type Binary to LargeBinary to avoid a deprecation warning.
philipp [Thu, 2 Nov 2017 21:08:51 +0000 (21:08 +0000)]
Changed sqlalchemy type Binary to LargeBinary to avoid a deprecation warning.

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

5 years agoRemove unused import mwmarkup.
philipp [Mon, 11 Sep 2017 15:08:07 +0000 (15:08 +0000)]
Remove unused import mwmarkup.

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

6 years agoMoved dbkey_to_title from mwapi to mwmarkup.
philipp [Sun, 29 Jan 2017 22:19:13 +0000 (22:19 +0000)]
Moved dbkey_to_title from mwapi to mwmarkup.

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

6 years agoReplaced assert statements with assertEqual in test_wrmwmarkup.py.
philipp [Sun, 29 Jan 2017 22:19:11 +0000 (22:19 +0000)]
Replaced assert statements with assertEqual in test_wrmwmarkup.py.

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

6 years agoUpdated parse_wrmap to accept normal strings.
philipp [Sun, 29 Jan 2017 22:19:09 +0000 (22:19 +0000)]
Updated parse_wrmap to accept normal strings.

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

6 years agoRemoved unused functions from wrmwmarkup.
philipp [Sun, 29 Jan 2017 22:19:08 +0000 (22:19 +0000)]
Removed unused functions from wrmwmarkup.

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

6 years agoRepaired function update_wrmapcache.
philipp [Sun, 29 Jan 2017 22:19:06 +0000 (22:19 +0000)]
Repaired function update_wrmapcache.

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

6 years agoRemoved unused line in update_wrreportcache.
philipp [Sun, 29 Jan 2017 22:19:05 +0000 (22:19 +0000)]
Removed unused line in update_wrreportcache.

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

6 years agoMade test_wrregioncache_table independent of wrregioncache.id.
philipp [Sun, 29 Jan 2017 22:19:03 +0000 (22:19 +0000)]
Made test_wrregioncache_table independent of wrregioncache.id.

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

6 years agoAdded tests for inn_from_gasthausbox and inn_to_gasthausbox where the Gasthausbox...
philipp [Sun, 29 Jan 2017 22:19:02 +0000 (22:19 +0000)]
Added tests for inn_from_gasthausbox and inn_to_gasthausbox where the Gasthausbox contains "Nein" entries.

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

6 years agoChanged some subtests in test_inn_from_gasthausbox and test_inn_to_gasthausbox to...
philipp [Sun, 29 Jan 2017 22:19:00 +0000 (22:19 +0000)]
Changed some subtests in test_inn_from_gasthausbox and test_inn_to_gasthausbox to contain more data.

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

6 years agoAdded docstring to webauskunft_from_str.
philipp [Sun, 29 Jan 2017 22:18:59 +0000 (22:18 +0000)]
Added docstring to webauskunft_from_str.

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

6 years agoFixed conversion errors in sledrun_to_rodelbahnbox.
philipp [Sun, 29 Jan 2017 22:18:57 +0000 (22:18 +0000)]
Fixed conversion errors in sledrun_to_rodelbahnbox.

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

6 years agoFixed conversion errors in inn_to_gasthausbox.
philipp [Sun, 29 Jan 2017 22:18:55 +0000 (22:18 +0000)]
Fixed conversion errors in inn_to_gasthausbox.

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

6 years agoRepaired function update_wrinncache.
philipp [Sun, 29 Jan 2017 22:18:53 +0000 (22:18 +0000)]
Repaired function update_wrinncache.

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

6 years agoCosmetic whitespace change.
philipp [Sun, 29 Jan 2017 22:18:52 +0000 (22:18 +0000)]
Cosmetic whitespace change.

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

6 years agoAdded further tests for test_inn_to_gasthausbox_none.
philipp [Sun, 29 Jan 2017 22:18:50 +0000 (22:18 +0000)]
Added further tests for test_inn_to_gasthausbox_none.

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

6 years agoAdded further tests for inn_from_gasthausbox.
philipp [Sun, 29 Jan 2017 22:18:49 +0000 (22:18 +0000)]
Added further tests for inn_from_gasthausbox.

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

6 years agoImproved function template_from_str.
philipp [Sun, 29 Jan 2017 22:18:47 +0000 (22:18 +0000)]
Improved function template_from_str.

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

6 years agoRepaired function update_wrsledruncache.
philipp [Sun, 29 Jan 2017 22:18:46 +0000 (22:18 +0000)]
Repaired function update_wrsledruncache.

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

6 years agoAdded test_wrreportcache_table, test_wrregion_table, test_wrregioncache_table.
philipp [Sun, 29 Jan 2017 22:18:44 +0000 (22:18 +0000)]
Added test_wrreportcache_table, test_wrregion_table, test_wrregioncache_table.

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

6 years agoMade tests in test_wrmwdb more powerful.
philipp [Sun, 29 Jan 2017 13:01:25 +0000 (13:01 +0000)]
Made tests in test_wrmwdb more powerful.

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

6 years agoReplaced direct assert with assertEqual in TestMySqlPython.
philipp [Sun, 29 Jan 2017 13:01:23 +0000 (13:01 +0000)]
Replaced direct assert with assertEqual in TestMySqlPython.

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

6 years agoMerged test_mysqlpython.py with test_mwdb.py.
philipp [Sun, 29 Jan 2017 13:01:21 +0000 (13:01 +0000)]
Merged test_mysqlpython.py with test_mwdb.py.

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

6 years agoMerged test_sqlalchemy.py with test_mwdb.py.
philipp [Sun, 29 Jan 2017 13:01:20 +0000 (13:01 +0000)]
Merged test_sqlalchemy.py with test_mwdb.py.

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

6 years agoOmitting _table suffix for tests in wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:18 +0000 (13:01 +0000)]
Omitting _table suffix for tests in wrpylib.mwdb.

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

6 years agoNow using metadata from setUp method in all tests for wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:16 +0000 (13:01 +0000)]
Now using metadata from setUp method in all tests for wrpylib.mwdb.

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

6 years agoAdded test for table user in wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:15 +0000 (13:01 +0000)]
Added test for table user in wrpylib.mwdb.

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

6 years agoImproved existing tests for wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:13 +0000 (13:01 +0000)]
Improved existing tests for wrpylib.mwdb.

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

6 years agoRemoved tests for functions that are not used anymore.
philipp [Fri, 27 Jan 2017 22:04:04 +0000 (22:04 +0000)]
Removed tests for functions that are not used anymore.

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

6 years agoWorked on inn_to_gasthausbox - the test passes now.
philipp [Fri, 27 Jan 2017 22:04:02 +0000 (22:04 +0000)]
Worked on inn_to_gasthausbox - the test passes now.

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

6 years agoImplemented TestInn.test_inn_to_gasthausbox.
philipp [Fri, 27 Jan 2017 22:04:00 +0000 (22:04 +0000)]
Implemented TestInn.test_inn_to_gasthausbox.

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

6 years agoFixed Rauchfrei in inn_to_gasthausbox.
philipp [Fri, 27 Jan 2017 22:03:59 +0000 (22:03 +0000)]
Fixed Rauchfrei in inn_to_gasthausbox.

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

6 years agoWorked on inn_from_gasthausbox - the test passes now.
philipp [Fri, 27 Jan 2017 22:03:57 +0000 (22:03 +0000)]
Worked on inn_from_gasthausbox - the test passes now.

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

6 years agoImproved wikipage_from_str: Now it does not accept '[' or ']' in article titles.
philipp [Fri, 27 Jan 2017 22:03:55 +0000 (22:03 +0000)]
Improved wikipage_from_str: Now it does not accept '[' or ']' in article titles.

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

6 years agoAdded more test cases to TestWikipage.test_from_str (one of them doesn't pass yet).
philipp [Fri, 27 Jan 2017 22:03:53 +0000 (22:03 +0000)]
Added more test cases to TestWikipage.test_from_str (one of them doesn't pass yet).

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

6 years agoAdded more tests to TestOptWikipageEnum.test_from_str (one of them doesn't pass yet).
philipp [Fri, 27 Jan 2017 22:03:51 +0000 (22:03 +0000)]
Added more tests to TestOptWikipageEnum.test_from_str (one of them doesn't pass yet).

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

6 years agoFixed typo in docstring of opt_tristate_german_comment_from_str.
philipp [Fri, 27 Jan 2017 22:03:50 +0000 (22:03 +0000)]
Fixed typo in docstring of opt_tristate_german_comment_from_str.

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

6 years agoRemoved "from wrpylib.wrmwmarkup import *" in test_wrmwmarkup.py
philipp [Fri, 27 Jan 2017 22:03:48 +0000 (22:03 +0000)]
Removed "from wrpylib.wrmwmarkup import *" in test_wrmwmarkup.py

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

6 years agoImplemented TestInn.test_inn_from_gasthausbox.
philipp [Fri, 27 Jan 2017 22:03:46 +0000 (22:03 +0000)]
Implemented TestInn.test_inn_from_gasthausbox.

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

6 years agoChanged file encoding for setup.py to UTF-8.
philipp [Fri, 27 Jan 2017 22:03:44 +0000 (22:03 +0000)]
Changed file encoding for setup.py to UTF-8.

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

6 years agoReplaced double with triple quotes in docstring.
philipp [Fri, 27 Jan 2017 22:03:43 +0000 (22:03 +0000)]
Replaced double with triple quotes in docstring.

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

6 years agoFixed typo in docstring.
philipp [Fri, 27 Jan 2017 22:03:41 +0000 (22:03 +0000)]
Fixed typo in docstring.

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

6 years agoAdded further test in TestUrl.test_from_str.
philipp [Fri, 27 Jan 2017 22:03:39 +0000 (22:03 +0000)]
Added further test in TestUrl.test_from_str.

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

6 years agoFixed typos in test titles.
philipp [Fri, 27 Jan 2017 22:03:37 +0000 (22:03 +0000)]
Fixed typos in test titles.

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

6 years agoConverted encoding to UTF-8.
philipp [Tue, 24 Jan 2017 22:22:26 +0000 (22:22 +0000)]
Converted encoding to UTF-8.

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

6 years agoRemoved unnecessary lines.
philipp [Tue, 24 Jan 2017 22:22:22 +0000 (22:22 +0000)]
Removed unnecessary lines.

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

6 years agoUpdated schema for MediaWiki 1.27.
philipp [Thu, 20 Oct 2016 20:26:56 +0000 (20:26 +0000)]
Updated schema for MediaWiki 1.27.

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

6 years agoRemoved unused variable.
philipp [Thu, 20 Oct 2016 20:26:55 +0000 (20:26 +0000)]
Removed unused variable.

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

6 years agoRemoved unnecessary whitespace.
philipp [Thu, 20 Oct 2016 20:26:53 +0000 (20:26 +0000)]
Removed unnecessary whitespace.

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

6 years agoRemoved unnecessary whitespace.
philipp [Thu, 20 Oct 2016 20:26:51 +0000 (20:26 +0000)]
Removed unnecessary whitespace.

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

6 years agoRemoved unused imported types module.
philipp [Thu, 20 Oct 2016 20:26:49 +0000 (20:26 +0000)]
Removed unused imported types module.

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

6 years agoFixed sledrun_from_rodelbahnbox and sledrun_to_rodelbahnbox.
philipp [Tue, 11 Oct 2016 20:35:44 +0000 (20:35 +0000)]
Fixed sledrun_from_rodelbahnbox and sledrun_to_rodelbahnbox.

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

6 years agoImplemened tets for sledrun_to_rodelbahnbox and sledrun_from_rodelbahnbox.
philipp [Tue, 11 Oct 2016 20:35:42 +0000 (20:35 +0000)]
Implemened tets for sledrun_to_rodelbahnbox and sledrun_from_rodelbahnbox.

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

6 years agoFixed two issues in wrvalidators module - now all tests pass for that module.
philipp [Tue, 11 Oct 2016 19:37:32 +0000 (19:37 +0000)]
Fixed two issues in wrvalidators module - now all tests pass for that module.

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