philipp/winterrodeln/wrpylib.git
7 years agoFixed test_template_to_table.
philipp [Tue, 2 Feb 2016 21:10:35 +0000 (21:10 +0000)]
Fixed test_template_to_table.

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

7 years agoRemoved unused test classes.
philipp [Tue, 2 Feb 2016 21:10:31 +0000 (21:10 +0000)]
Removed unused test classes.

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

7 years agoConverted encoding from ISO8859-15 to UTF-8.
philipp [Tue, 2 Feb 2016 21:10:26 +0000 (21:10 +0000)]
Converted encoding from ISO8859-15 to UTF-8.

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

7 years agoChanged the implementation of value_comment_from_str so that masked emails also work...
philipp [Tue, 2 Feb 2016 21:10:21 +0000 (21:10 +0000)]
Changed the implementation of value_comment_from_str so that masked emails also work as values.

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

7 years agoAdded pulbic transport test.
philipp [Tue, 2 Feb 2016 21:10:16 +0000 (21:10 +0000)]
Added pulbic transport test.

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

7 years agoAdded avalanches tests.
philipp [Tue, 2 Feb 2016 21:10:12 +0000 (21:10 +0000)]
Added avalanches tests.

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

7 years agoFixed TestChoice: test_ was missing before the from_str test function.
philipp [Tue, 2 Feb 2016 21:10:08 +0000 (21:10 +0000)]
Fixed TestChoice: test_ was missing before the from_str test function.

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

7 years agoImplemented test for bool_germen_from/to_german.
philipp [Tue, 2 Feb 2016 21:10:05 +0000 (21:10 +0000)]
Implemented test for bool_germen_from/to_german.

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

7 years agoImplemented some missing test cases.
philipp [Tue, 2 Feb 2016 21:10:02 +0000 (21:10 +0000)]
Implemented some missing test cases.

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

7 years agoImplemented Gasthausbox converter and test.
philipp [Tue, 2 Feb 2016 21:09:59 +0000 (21:09 +0000)]
Implemented Gasthausbox converter and test.

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

7 years agoFixed tests that failed because of missing parameters.
philipp [Tue, 2 Feb 2016 21:09:55 +0000 (21:09 +0000)]
Fixed tests that failed because of missing parameters.

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

7 years agoRe-enabled test that failed for masked email addresses.
philipp [Tue, 2 Feb 2016 21:09:52 +0000 (21:09 +0000)]
Re-enabled test that failed for masked email addresses.

Signed-off-by: Philipp Spitzer <philipp@spitzer.priv.at>
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2444 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoMoved the expected value to first position in assertions because that's how PyCharm...
philipp [Tue, 2 Feb 2016 21:09:49 +0000 (21:09 +0000)]
Moved the expected value to first position in assertions because that's how PyCharm treats them that way.

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

7 years agoReorder tests.
philipp [Tue, 2 Feb 2016 21:09:47 +0000 (21:09 +0000)]
Reorder tests.

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

7 years agoIncreased version number to 0.6.0.
philipp [Tue, 2 Feb 2016 21:09:44 +0000 (21:09 +0000)]
Increased version number to 0.6.0.

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

7 years agoRemoved formencode and added mwparserfromhell to requirements.
philipp [Tue, 2 Feb 2016 21:09:39 +0000 (21:09 +0000)]
Removed formencode and added mwparserfromhell to requirements.

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

7 years agoReordered functions.
philipp [Tue, 2 Feb 2016 21:09:35 +0000 (21:09 +0000)]
Reordered functions.

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

7 years agoImplemented wikipage converter.
philipp [Tue, 2 Feb 2016 21:09:30 +0000 (21:09 +0000)]
Implemented wikipage converter.

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

7 years agoIntroduced opt_uint_converter converter and implemented no_or_str_converter.
philipp [Tue, 2 Feb 2016 21:09:27 +0000 (21:09 +0000)]
Introduced opt_uint_converter converter and implemented no_or_str_converter.

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

7 years agoImplemented emails converter.
philipp [Tue, 2 Feb 2016 21:09:24 +0000 (21:09 +0000)]
Implemented emails converter.

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

7 years agoRemoved unused TestConverter.
philipp [Tue, 2 Feb 2016 21:09:21 +0000 (21:09 +0000)]
Removed unused TestConverter.

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

7 years agoImplemented masked_email.
philipp [Tue, 2 Feb 2016 21:09:18 +0000 (21:09 +0000)]
Implemented masked_email.

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

7 years agoRemove print from TestEmail.
philipp [Tue, 2 Feb 2016 21:09:13 +0000 (21:09 +0000)]
Remove print from TestEmail.

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

7 years agoFixup for "Removed unused converters".
philipp [Tue, 2 Feb 2016 21:09:09 +0000 (21:09 +0000)]
Fixup for "Removed unused converters".

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

7 years agoFixup for E-Mail converter.
philipp [Tue, 2 Feb 2016 21:09:04 +0000 (21:09 +0000)]
Fixup for E-Mail converter.

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

7 years agoRemoved unused converters.
philipp [Tue, 2 Feb 2016 21:09:01 +0000 (21:09 +0000)]
Removed unused converters.

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

7 years agoImplemented E-Mail converter.
philipp [Tue, 2 Feb 2016 21:08:59 +0000 (21:08 +0000)]
Implemented E-Mail converter.

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

7 years agoIntermediate commit
philipp [Tue, 2 Feb 2016 21:08:54 +0000 (21:08 +0000)]
Intermediate commit

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

7 years agoupdate_wrsledruncache now also updates the new name_url field.
philipp [Tue, 2 Feb 2016 21:08:38 +0000 (21:08 +0000)]
update_wrsledruncache now also updates the new name_url field.

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

7 years agoCreated function to translate between sledrun title names and urls.
philipp [Tue, 2 Feb 2016 21:08:32 +0000 (21:08 +0000)]
Created function to translate between sledrun title names and urls.

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

7 years agoAdded new field name_url to the model.
philipp [Tue, 2 Feb 2016 21:08:26 +0000 (21:08 +0000)]
Added new field name_url to the model.

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

7 years agoUsed set literal instead of converting a list to a set.
philipp [Sat, 23 May 2015 21:12:45 +0000 (21:12 +0000)]
Used set literal instead of converting a list to a set.

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

7 years agoReplaced shebang line from python2.7 to python3.4.
philipp [Sat, 23 May 2015 21:12:40 +0000 (21:12 +0000)]
Replaced shebang line from python2.7 to python3.4.

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

7 years agoModifications done by "2to3-3.4 -w -n".
philipp [Sat, 23 May 2015 21:12:33 +0000 (21:12 +0000)]
Modifications done by "2to3-3.4 -w -n".

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

7 years agoFixed typo in docstring.
philipp [Sat, 23 May 2015 21:12:28 +0000 (21:12 +0000)]
Fixed typo in docstring.

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

7 years agoFixed error in GastausboxDictConverter.to_python when the state already had an inn.
philipp [Sat, 23 May 2015 21:12:25 +0000 (21:12 +0000)]
Fixed error in GastausboxDictConverter.to_python when the state already had an inn.

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

7 years agoFixed unresolved usage of formencode.Invalid (one time with typo).
philipp [Sat, 23 May 2015 21:12:23 +0000 (21:12 +0000)]
Fixed unresolved usage of formencode.Invalid (one time with typo).

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

7 years agoFixed typo.
philipp [Sat, 23 May 2015 21:12:20 +0000 (21:12 +0000)]
Fixed typo.

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

7 years agoThe python package name gdal, not osgeo.
philipp [Thu, 2 Apr 2015 20:31:33 +0000 (20:31 +0000)]
The python package name gdal, not osgeo.

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

7 years agoAdded osgeo as requirement.
philipp [Wed, 1 Apr 2015 21:26:44 +0000 (21:26 +0000)]
Added osgeo as requirement.

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

7 years agoRemoved dependency on geoalchemy.
philipp [Wed, 1 Apr 2015 21:26:42 +0000 (21:26 +0000)]
Removed dependency on geoalchemy.

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

7 years agoAdded a test for wrmwcache.py
philipp [Wed, 1 Apr 2015 21:26:41 +0000 (21:26 +0000)]
Added a test for wrmwcache.py

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

7 years agoNow the tests are using the unittest module.
philipp [Tue, 31 Mar 2015 20:28:19 +0000 (20:28 +0000)]
Now the tests are using the unittest module.

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

8 years agoAdded package formencode as requirement.
philipp [Mon, 24 Nov 2014 20:09:22 +0000 (20:09 +0000)]
Added package formencode as requirement.

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

9 years agoWe don't need the _conv function anymore.
philipp [Mon, 17 Mar 2014 20:16:01 +0000 (20:16 +0000)]
We don't need the _conv function anymore.

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

9 years agoRewrote inn_to_gasthausbox to use the GasthausboxValidator.
philipp [Mon, 17 Mar 2014 20:15:59 +0000 (20:15 +0000)]
Rewrote inn_to_gasthausbox to use the GasthausboxValidator.

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

9 years agoRewrote gasthausbox_to_inn to make use of the GasthausboxValidator.
philipp [Mon, 17 Mar 2014 20:15:57 +0000 (20:15 +0000)]
Rewrote gasthausbox_to_inn to make use of the GasthausboxValidator.

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

9 years agoAdded test to GasthausboxValidator.
philipp [Mon, 17 Mar 2014 20:15:55 +0000 (20:15 +0000)]
Added test to GasthausboxValidator.

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

9 years agoAdded GasthausboxValidator.
philipp [Mon, 17 Mar 2014 20:15:52 +0000 (20:15 +0000)]
Added GasthausboxValidator.

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

9 years agoAdded test to GasthausboxDictValidator.
philipp [Mon, 17 Mar 2014 20:15:50 +0000 (20:15 +0000)]
Added test to GasthausboxDictValidator.

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

9 years agoAdded GasthausboxDictValidator.
philipp [Mon, 17 Mar 2014 20:15:48 +0000 (20:15 +0000)]
Added GasthausboxDictValidator.

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

9 years agoAdded a test to GasthausboxDictConverter.
philipp [Mon, 17 Mar 2014 20:15:45 +0000 (20:15 +0000)]
Added a test to GasthausboxDictConverter.

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

9 years agoAdded GasthausboxDictConverter.
philipp [Mon, 17 Mar 2014 20:15:43 +0000 (20:15 +0000)]
Added GasthausboxDictConverter.

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

9 years agoGeneralized RodelbahnboxTemplateDict and renamed it to WinterrodelnTemplateDict.
philipp [Mon, 17 Mar 2014 20:15:41 +0000 (20:15 +0000)]
Generalized RodelbahnboxTemplateDict and renamed it to WinterrodelnTemplateDict.

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

9 years agoMoved function rodelbahnbox_to_sledrun to another place in the file.
philipp [Mon, 17 Mar 2014 20:15:39 +0000 (20:15 +0000)]
Moved function rodelbahnbox_to_sledrun to another place in the file.

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

9 years agoIncreased version number.
philipp [Mon, 17 Mar 2014 20:15:36 +0000 (20:15 +0000)]
Increased version number.

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

9 years agoUpdated function sledrun_to_rodelbahnbox to use RodelbahnboxValidator.
philipp [Mon, 17 Mar 2014 20:15:19 +0000 (20:15 +0000)]
Updated function sledrun_to_rodelbahnbox to use RodelbahnboxValidator.

Support for version 1.3 was dropped.

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

9 years agoFixed test_rodelbahnbox_to_sledrun: A key was missing.
philipp [Mon, 17 Mar 2014 20:15:00 +0000 (20:15 +0000)]
Fixed test_rodelbahnbox_to_sledrun: A key was missing.

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

9 years agoUpdated function rodelbahnbox_to_sledrun to use RodelbahnboxValidator.
philipp [Mon, 17 Mar 2014 20:14:35 +0000 (20:14 +0000)]
Updated function rodelbahnbox_to_sledrun to use RodelbahnboxValidator.

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

9 years agoNow from_python of RodelbahnboxValidator formats the values as correct table.
philipp [Mon, 10 Mar 2014 20:56:41 +0000 (20:56 +0000)]
Now from_python of RodelbahnboxValidator formats the values as correct table.

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

9 years agoFixed test for RodelbahnboxValidator (indent was wrong).
philipp [Mon, 10 Mar 2014 20:56:38 +0000 (20:56 +0000)]
Fixed test for RodelbahnboxValidator (indent was wrong).

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

9 years agoRevert "Removed unnecessary call to rstrip."
philipp [Mon, 10 Mar 2014 20:56:36 +0000 (20:56 +0000)]
Revert "Removed unnecessary call to rstrip."

rstrip removes whitespace at the right hand side of empty table values.

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

9 years agoImplemented the from_python part of OrderedSchema. Now test_OrderedSchema passes.
philipp [Mon, 10 Mar 2014 20:56:34 +0000 (20:56 +0000)]
Implemented the from_python part of OrderedSchema. Now test_OrderedSchema passes.

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

9 years agoAdded a test to OrderedSchema.
philipp [Mon, 10 Mar 2014 20:56:32 +0000 (20:56 +0000)]
Added a test to OrderedSchema.

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

9 years agoImplemented RodelbahnboxValidator.
philipp [Mon, 10 Mar 2014 20:56:30 +0000 (20:56 +0000)]
Implemented RodelbahnboxValidator.

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

9 years agoChanged definition of RodelbahnboxDictConverter: Now the value is just a dict.
philipp [Mon, 10 Mar 2014 20:56:27 +0000 (20:56 +0000)]
Changed definition of RodelbahnboxDictConverter: Now the value is just a dict.

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

9 years agoNow RodelbahnDictValidator keeps order of fields.
philipp [Sat, 8 Mar 2014 19:43:04 +0000 (19:43 +0000)]
Now RodelbahnDictValidator keeps order of fields.

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

9 years agoImplemented RodelbahnDictConverter.
philipp [Sat, 8 Mar 2014 19:43:02 +0000 (19:43 +0000)]
Implemented RodelbahnDictConverter.

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

9 years agoFixed copy/paste error in a comment.
philipp [Sat, 8 Mar 2014 19:42:59 +0000 (19:42 +0000)]
Fixed copy/paste error in a comment.

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

9 years agoRenamed RodelbahnboxValidator to RodelbahnboxDictValidator.
philipp [Sat, 8 Mar 2014 19:42:57 +0000 (19:42 +0000)]
Renamed RodelbahnboxValidator to RodelbahnboxDictValidator.

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

9 years agoRemoved unnecessary call to rstrip.
philipp [Sat, 8 Mar 2014 19:42:55 +0000 (19:42 +0000)]
Removed unnecessary call to rstrip.

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

9 years agoAdded from_python to the TemplateValidator.
philipp [Sat, 8 Mar 2014 19:42:53 +0000 (19:42 +0000)]
Added from_python to the TemplateValidator.

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

9 years agoImplemented that stripping the whitespace in a template is now optional.
philipp [Sat, 8 Mar 2014 19:42:51 +0000 (19:42 +0000)]
Implemented that stripping the whitespace in a template is now optional.

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

9 years agoCreated to_python function of new validator TemplateValidator.
philipp [Sat, 8 Mar 2014 19:42:48 +0000 (19:42 +0000)]
Created to_python function of new validator TemplateValidator.

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

9 years agoAdded a RodelbahnboxValidator
philipp [Sat, 8 Mar 2014 19:42:46 +0000 (19:42 +0000)]
Added a RodelbahnboxValidator

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

9 years agoAdded (previously missing) parameter state to to_python and from_python.
philipp [Sat, 8 Mar 2014 19:42:43 +0000 (19:42 +0000)]
Added (previously missing) parameter state to to_python and from_python.

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

9 years agoChanged number of digits for lat/lon to 6 (as it should be). Now the test passes.
philipp [Sat, 8 Mar 2014 19:42:41 +0000 (19:42 +0000)]
Changed number of digits for lat/lon to 6 (as it should be). Now the test passes.

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

9 years agoAdded comment describing the URL validation bug.
philipp [Sun, 2 Mar 2014 21:13:11 +0000 (21:13 +0000)]
Added comment describing the URL validation bug.

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

9 years agoAdded 'foto' and 'verleih' to wrmwcache.py as well.
philipp [Sun, 29 Dec 2013 11:35:10 +0000 (11:35 +0000)]
Added 'foto' and 'verleih' to wrmwcache.py as well.

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

9 years agoAdded version number to 0.4.1.
philipp [Sun, 29 Dec 2013 11:29:58 +0000 (11:29 +0000)]
Added version number to 0.4.1.

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

9 years agoAdded 'foto' and 'verleih' as possible point types.
philipp [Sun, 29 Dec 2013 11:29:37 +0000 (11:29 +0000)]
Added 'foto' and 'verleih' as possible point types.

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

9 years agoRenamed wrregion_id to region_id.
philipp [Mon, 18 Nov 2013 22:34:49 +0000 (22:34 +0000)]
Renamed wrregion_id to region_id.

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

9 years agoUpdate support for wrregion and wrregioncache.
philipp [Sun, 17 Nov 2013 22:32:26 +0000 (22:32 +0000)]
Update support for wrregion and wrregioncache.

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

9 years agoIncreased minor version number. Now the version is 0.3.1.
philipp [Fri, 20 Sep 2013 20:54:41 +0000 (20:54 +0000)]
Increased minor version number. Now the version is 0.3.1.

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

9 years agoThe lon and lat center values of <wrmap> are now produced with 6 digits after the...
philipp [Fri, 20 Sep 2013 12:57:33 +0000 (12:57 +0000)]
The lon and lat center values of <wrmap> are now produced with 6 digits after the comma.

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

9 years agoNow the width and height of the map are parsed from <googlemap> as well.
philipp [Sun, 15 Sep 2013 13:04:25 +0000 (13:04 +0000)]
Now the width and height of the map are parsed from <googlemap> as well.

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

9 years agoRelease of version 0.2.0
philipp [Sat, 14 Sep 2013 20:59:36 +0000 (20:59 +0000)]
Release of version 0.2.0

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

9 years agoUpdated function update_wrmapcache to work with <wrmap> instead of <googlemap>.
philipp [Thu, 12 Sep 2013 21:07:36 +0000 (21:07 +0000)]
Updated function update_wrmapcache to work with <wrmap> instead of <googlemap>.

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

9 years agoFixed description of find_tag.
philipp [Thu, 12 Sep 2013 20:52:43 +0000 (20:52 +0000)]
Fixed description of find_tag.

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

9 years agoNow function parse_googlemap behaves like parse_wrmap.
philipp [Wed, 11 Sep 2013 20:58:07 +0000 (20:58 +0000)]
Now function parse_googlemap behaves like parse_wrmap.

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

9 years agoFixed typo.
philipp [Wed, 11 Sep 2013 20:57:26 +0000 (20:57 +0000)]
Fixed typo.

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

9 years agoUpdated desciption of function parse_wrmap.
philipp [Wed, 11 Sep 2013 20:18:06 +0000 (20:18 +0000)]
Updated desciption of function parse_wrmap.

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

9 years agoThe parse_googlemap function now uses the new XML tag parsing function.
philipp [Sun, 8 Sep 2013 21:24:04 +0000 (21:24 +0000)]
The parse_googlemap function now uses the new XML tag parsing function.

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

9 years agoAdded test case for new function find_tag.
philipp [Sun, 8 Sep 2013 21:22:45 +0000 (21:22 +0000)]
Added test case for new function find_tag.

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

9 years agoCreated new function find_tag to find XML like tags.
philipp [Sun, 8 Sep 2013 21:21:44 +0000 (21:21 +0000)]
Created new function find_tag to find XML like tags.

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

9 years agoThe googlemap extension tag is googlemap, not googlemaps.
philipp [Sun, 8 Sep 2013 21:19:56 +0000 (21:19 +0000)]
The googlemap extension tag is googlemap, not googlemaps.

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

9 years agoUse non-greedy matching for finding the <googlemap> tag so that 2 tags can be on...
philipp [Sun, 8 Sep 2013 21:18:47 +0000 (21:18 +0000)]
Use non-greedy matching for finding the <googlemap> tag so that 2 tags can be on the same page.

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

9 years agogeojson now gets property 'type'='punkt' if no symbol was assigned in <googlemap>.
philipp [Sun, 8 Sep 2013 21:17:35 +0000 (21:17 +0000)]
geojson now gets property 'type'='punkt' if no symbol was assigned in <googlemap>.

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

9 years agoRenamed function parse_googlemap to googlemap_to_wrmap and changed input parameters.
philipp [Sun, 8 Sep 2013 21:14:24 +0000 (21:14 +0000)]
Renamed function parse_googlemap to googlemap_to_wrmap and changed input parameters.

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

9 years agoparse_googlemap now optionally returns the start and end position of the found map.
philipp [Sun, 8 Sep 2013 21:12:50 +0000 (21:12 +0000)]
parse_googlemap now optionally returns the start and end position of the found map.

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