]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/log
philipp/winterrodeln/wrpylib.git
3 years agoCreate map even if sledrun JSON exists.
Philipp Spitzer [Sun, 5 Jun 2022 12:31:43 +0000 (14:31 +0200)]
Create map even if sledrun JSON exists.

3 years agoSelect sledrun main pages to validate JSON.
Philipp Spitzer [Sun, 5 Jun 2022 12:31:05 +0000 (14:31 +0200)]
Select sledrun main pages to validate JSON.

3 years agoFix line breaks for related sledruns.
Philipp Spitzer [Fri, 3 Jun 2022 15:41:48 +0000 (17:41 +0200)]
Fix line breaks for related sledruns.

3 years agoParse correction_email.
Philipp Spitzer [Sun, 22 May 2022 20:19:46 +0000 (22:19 +0200)]
Parse correction_email.

3 years agoAdd VVV has public transport option.
Philipp Spitzer [Sun, 22 May 2022 15:51:06 +0000 (17:51 +0200)]
Add VVV has public transport option.

3 years agoParse "Tiroler Naturrodelbahn Gütesiegel".
Philipp Spitzer [Sun, 22 May 2022 15:46:24 +0000 (17:46 +0200)]
Parse "Tiroler Naturrodelbahn Gütesiegel".

3 years agoDon't add video URLs only consisting of whitespace.
Philipp Spitzer [Sun, 22 May 2022 14:37:39 +0000 (16:37 +0200)]
Don't add video URLs only consisting of whitespace.

3 years agoOnly offer to add map if it exists.
Philipp Spitzer [Sun, 22 May 2022 14:16:01 +0000 (16:16 +0200)]
Only offer to add map if it exists.

3 years agoGenerate correct "under construction" markup.
Philipp Spitzer [Sun, 22 May 2022 14:11:12 +0000 (16:11 +0200)]
Generate correct "under construction" markup.

3 years agoOnly add non-empty descriptions.
Philipp Spitzer [Sun, 22 May 2022 14:10:55 +0000 (16:10 +0200)]
Only add non-empty descriptions.

3 years agoOnly add car description when it has a non-standard text.
Philipp Spitzer [Sun, 22 May 2022 13:46:13 +0000 (15:46 +0200)]
Only add car description when it has a non-standard text.

3 years agoOnly add public transport description when it has a non-standard text.
Philipp Spitzer [Sun, 22 May 2022 13:45:55 +0000 (15:45 +0200)]
Only add public transport description when it has a non-standard text.

3 years agoDon't add gastronomy only consisting of "...".
Philipp Spitzer [Sun, 22 May 2022 13:42:55 +0000 (15:42 +0200)]
Don't add gastronomy only consisting of "...".

3 years agoIgnore empty video URLs.
Philipp Spitzer [Sun, 22 May 2022 13:37:20 +0000 (15:37 +0200)]
Ignore empty video URLs.

3 years agoIgnore empty bus stop.
Philipp Spitzer [Sun, 22 May 2022 13:35:48 +0000 (15:35 +0200)]
Ignore empty bus stop.

3 years agoFix detecting entries under construction.
Philipp Spitzer [Sat, 21 May 2022 14:05:41 +0000 (16:05 +0200)]
Fix detecting entries under construction.

3 years agoShow notes for public transport and parking.
Philipp Spitzer [Fri, 20 May 2022 16:39:32 +0000 (18:39 +0200)]
Show notes for public transport and parking.

3 years agoAvoid that deleting "type" modifies the original json when creating a map.
Philipp Spitzer [Fri, 20 May 2022 16:22:51 +0000 (18:22 +0200)]
Avoid that deleting "type" modifies the original json when creating a map.

3 years agoUse content model json when creating JSON pages.
Philipp Spitzer [Fri, 18 Mar 2022 16:30:31 +0000 (17:30 +0100)]
Use content model json when creating JSON pages.

3 years agoFix parsing note for gastronomy.
Philipp Spitzer [Fri, 18 Mar 2022 16:29:51 +0000 (17:29 +0100)]
Fix parsing note for gastronomy.

3 years agoSupport for "integer" schema type.
Philipp Spitzer [Fri, 18 Mar 2022 16:28:58 +0000 (17:28 +0100)]
Support for "integer" schema type.

3 years agoPrevent error by converting wikicode to string.
Philipp Spitzer [Fri, 18 Mar 2022 15:23:38 +0000 (16:23 +0100)]
Prevent error by converting wikicode to string.

3 years agoRename files for consistency.
Philipp Spitzer [Fri, 18 Mar 2022 15:23:15 +0000 (16:23 +0100)]
Rename files for consistency.

3 years agoUse strip_eol() to treat whitespace after generating wikitext.
Philipp Spitzer [Fri, 18 Mar 2022 14:10:08 +0000 (15:10 +0100)]
Use strip_eol() to treat whitespace after generating wikitext.

3 years agoCreate function strip_eol().
Philipp Spitzer [Fri, 18 Mar 2022 14:04:58 +0000 (15:04 +0100)]
Create function strip_eol().

3 years agoBetter parsing and displaying of gastronomy.
Philipp Spitzer [Tue, 15 Mar 2022 22:52:28 +0000 (23:52 +0100)]
Better parsing and displaying of gastronomy.

3 years agoRename template sledrun_wiki to sledrun_wikitext.
Philipp Spitzer [Tue, 15 Mar 2022 22:33:44 +0000 (23:33 +0100)]
Rename template sledrun_wiki to sledrun_wikitext.

3 years agoReplace "comment" with "note" to make labeling more consistent.
Philipp Spitzer [Tue, 15 Mar 2022 22:28:48 +0000 (23:28 +0100)]
Replace "comment" with "note" to make labeling more consistent.

3 years agoMake more use of function optional_set to simplify code.
Philipp Spitzer [Tue, 15 Mar 2022 22:18:31 +0000 (23:18 +0100)]
Make more use of function optional_set to simplify code.

3 years agoAdd functionality to actually save map and sledrun JSON results.
Philipp Spitzer [Tue, 15 Mar 2022 21:23:50 +0000 (22:23 +0100)]
Add functionality to actually save map and sledrun JSON results.

3 years agoUse functions get_sledrun_description and optional_set.
Philipp Spitzer [Tue, 15 Mar 2022 21:13:37 +0000 (22:13 +0100)]
Use functions get_sledrun_description and optional_set.

3 years agoCreate function optional_set.
Philipp Spitzer [Tue, 15 Mar 2022 21:12:53 +0000 (22:12 +0100)]
Create function optional_set.

3 years agoCreate function get_sledrun_description.
Philipp Spitzer [Tue, 15 Mar 2022 21:09:58 +0000 (22:09 +0100)]
Create function get_sledrun_description.

3 years agoRename bots for consistency.
Philipp Spitzer [Sun, 13 Mar 2022 20:02:09 +0000 (21:02 +0100)]
Rename bots for consistency.

3 years agoSupport parsing info_web.
Philipp Spitzer [Sun, 13 Mar 2022 16:50:41 +0000 (17:50 +0100)]
Support parsing info_web.

3 years agoFix support for walkup_support comment.
Philipp Spitzer [Sun, 13 Mar 2022 16:31:53 +0000 (17:31 +0100)]
Fix support for walkup_support comment.

3 years agoUpdate requirements.txt file.
Philipp Spitzer [Sun, 13 Mar 2022 16:28:20 +0000 (17:28 +0100)]
Update requirements.txt file.

3 years agoFix typo in docstring.
Philipp Spitzer [Sun, 13 Mar 2022 16:28:03 +0000 (17:28 +0100)]
Fix typo in docstring.

3 years agoOptimize imports.
Philipp Spitzer [Sun, 13 Mar 2022 16:27:53 +0000 (17:27 +0100)]
Optimize imports.

3 years agoNow using comment for nightlight_possible.
Philipp Spitzer [Sun, 13 Mar 2022 16:27:25 +0000 (17:27 +0100)]
Now using comment for nightlight_possible.

3 years agoRemove empty line in "see also".
Philipp Spitzer [Sun, 13 Mar 2022 13:05:38 +0000 (14:05 +0100)]
Remove empty line in "see also".

3 years agoAdd nightlight_weekdays_count and nightlight_weekdays_comment.
Philipp Spitzer [Sun, 13 Mar 2022 13:05:08 +0000 (14:05 +0100)]
Add nightlight_weekdays_count and nightlight_weekdays_comment.

3 years agoFix type annotations for nightlightdays_from_str/nightlightdays_to_str.
Philipp Spitzer [Sun, 13 Mar 2022 13:04:11 +0000 (14:04 +0100)]
Fix type annotations for nightlightdays_from_str/nightlightdays_to_str.

3 years agoFix handling of empty coordinates.
Philipp Spitzer [Sun, 23 Jan 2022 21:29:57 +0000 (22:29 +0100)]
Fix handling of empty coordinates.

3 years agoParse external public transport links.
Philipp Spitzer [Sun, 23 Jan 2022 21:14:53 +0000 (22:14 +0100)]
Parse external public transport links.

3 years agoParse cachet.
Philipp Spitzer [Sun, 23 Jan 2022 16:09:36 +0000 (17:09 +0100)]
Parse cachet.

3 years agoImprove sledrun_wiki template.
Philipp Spitzer [Sun, 23 Jan 2022 15:50:47 +0000 (16:50 +0100)]
Improve sledrun_wiki template.

3 years agoImplement walkup_support conversion.
Philipp Spitzer [Sun, 23 Jan 2022 15:50:20 +0000 (16:50 +0100)]
Implement walkup_support conversion.

3 years agoBetter parsing for car description.
Philipp Spitzer [Sun, 9 Jan 2022 22:30:35 +0000 (23:30 +0100)]
Better parsing for car description.

3 years agoFix indentation and create function for parsing car-related stuff.
Philipp Spitzer [Sun, 9 Jan 2022 22:08:07 +0000 (23:08 +0100)]
Fix indentation and create function for parsing car-related stuff.

3 years agoDetect impressions sub-page.
Philipp Spitzer [Sun, 9 Jan 2022 21:56:09 +0000 (22:56 +0100)]
Detect impressions sub-page.

3 years agoParse video from Buttonleiste.
Philipp Spitzer [Sun, 9 Jan 2022 21:42:32 +0000 (22:42 +0100)]
Parse video from Buttonleiste.

3 years agoMore detailed parsing of sled rental.
Philipp Spitzer [Sun, 9 Jan 2022 21:08:03 +0000 (22:08 +0100)]
More detailed parsing of sled rental.

3 years agoParse gastronomy.
Philipp Spitzer [Sun, 12 Dec 2021 21:37:57 +0000 (22:37 +0100)]
Parse gastronomy.

3 years agoImprove indentation.
Philipp Spitzer [Sun, 12 Dec 2021 16:09:46 +0000 (17:09 +0100)]
Improve indentation.

3 years agoParse car_distances.
Philipp Spitzer [Sun, 12 Dec 2021 15:59:19 +0000 (16:59 +0100)]
Parse car_distances.

3 years agoParse car_parking.
Philipp Spitzer [Sun, 12 Dec 2021 15:39:44 +0000 (16:39 +0100)]
Parse car_parking.

3 years agoChange formatting from markdown to mediawiki.
Philipp Spitzer [Sun, 12 Dec 2021 15:29:32 +0000 (16:29 +0100)]
Change formatting from markdown to mediawiki.

3 years agoAdd public transport lines.
Philipp Spitzer [Sun, 12 Dec 2021 14:45:18 +0000 (15:45 +0100)]
Add public transport lines.

3 years agoParse car description, public transport description and bus stop.
Philipp Spitzer [Sun, 12 Dec 2021 14:06:59 +0000 (15:06 +0100)]
Parse car description, public transport description and bus stop.

3 years agoAdd "see also".
Philipp Spitzer [Fri, 10 Dec 2021 20:37:34 +0000 (21:37 +0100)]
Add "see also".

3 years agoFix check for existence of image.
Philipp Spitzer [Fri, 10 Dec 2021 20:37:22 +0000 (21:37 +0100)]
Fix check for existence of image.

3 years agoParse description.
Philipp Spitzer [Mon, 29 Nov 2021 22:42:43 +0000 (23:42 +0100)]
Parse description.

3 years agoFurther work on parsing (now a map is parsed).
Philipp Spitzer [Mon, 29 Nov 2021 22:12:02 +0000 (23:12 +0100)]
Further work on parsing (now a map is parsed).

3 years agoAdd type annotations.
Philipp Spitzer [Mon, 29 Nov 2021 22:11:39 +0000 (23:11 +0100)]
Add type annotations.

3 years agoWork on parsing wikicode (currently Rodelbahnbox).
Philipp Spitzer [Sun, 28 Nov 2021 22:14:30 +0000 (23:14 +0100)]
Work on parsing wikicode (currently Rodelbahnbox).

3 years agoAdd some type annotations.
Philipp Spitzer [Sun, 28 Nov 2021 21:51:38 +0000 (22:51 +0100)]
Add some type annotations.

3 years agoAdd functions lonlat_to_json and lonlat_ele_to_json.
Philipp Spitzer [Sun, 28 Nov 2021 21:45:09 +0000 (22:45 +0100)]
Add functions lonlat_to_json and lonlat_ele_to_json.

3 years agoCorrectly represent operator in Rodelbahnbox dict.
Philipp Spitzer [Sun, 28 Nov 2021 21:44:23 +0000 (22:44 +0100)]
Correctly represent operator in Rodelbahnbox dict.

3 years agoStart to work on wikitext to JSON conversion.
Philipp Spitzer [Sun, 28 Nov 2021 10:45:26 +0000 (11:45 +0100)]
Start to work on wikitext to JSON conversion.

3 years agoDisplay reason for skips to user.
Philipp Spitzer [Sun, 28 Nov 2021 10:45:00 +0000 (11:45 +0100)]
Display reason for skips to user.

3 years agoImplement JSON validation after edit.
Philipp Spitzer [Sun, 28 Nov 2021 10:44:35 +0000 (11:44 +0100)]
Implement JSON validation after edit.

3 years agoName of public_transport_stop was split.
Philipp Spitzer [Sun, 31 Oct 2021 22:57:15 +0000 (23:57 +0100)]
Name of public_transport_stop was split.

3 years agoOrder keys by schema when validating.
Philipp Spitzer [Sun, 31 Oct 2021 09:16:13 +0000 (10:16 +0100)]
Order keys by schema when validating.

3 years agoWrite function to resolve references ("$ref").
Philipp Spitzer [Fri, 29 Oct 2021 09:33:37 +0000 (11:33 +0200)]
Write function to resolve references ("$ref").

3 years agoMake original schema available everywhere (prepare to resolve $ref).
Philipp Spitzer [Fri, 29 Oct 2021 07:22:47 +0000 (09:22 +0200)]
Make original schema available everywhere (prepare to resolve $ref).

3 years agoAdd test to check error message.
Philipp Spitzer [Fri, 29 Oct 2021 07:15:00 +0000 (09:15 +0200)]
Add test to check error message.

3 years agoJSON path now contains the keys directly.
Philipp Spitzer [Fri, 29 Oct 2021 07:14:46 +0000 (09:14 +0200)]
JSON path now contains the keys directly.

3 years agoType of arrays are not tested.
Philipp Spitzer [Thu, 28 Oct 2021 20:32:19 +0000 (22:32 +0200)]
Type of arrays are not tested.

3 years agoFurther work on order_json_keys.
Philipp Spitzer [Tue, 26 Oct 2021 21:48:06 +0000 (23:48 +0200)]
Further work on order_json_keys.

3 years agoStart to work on function sorting JSON data based on JSON schema.
Philipp Spitzer [Tue, 26 Oct 2021 21:08:49 +0000 (23:08 +0200)]
Start to work on function sorting JSON data based on JSON schema.

3 years agoCreate bot to validate sledrun JSON.
Philipp Spitzer [Tue, 26 Oct 2021 16:31:53 +0000 (18:31 +0200)]
Create bot to validate sledrun JSON.

3 years agoMove bot to bots directory.
Philipp Spitzer [Tue, 26 Oct 2021 14:56:02 +0000 (16:56 +0200)]
Move bot to bots directory.

3 years agoCreate bot to edit JSON data.
Philipp Spitzer [Tue, 26 Oct 2021 14:55:15 +0000 (16:55 +0200)]
Create bot to edit JSON data.

3 years agoSimplify and improve viewing of public transport.
Philipp Spitzer [Tue, 26 Oct 2021 09:23:03 +0000 (11:23 +0200)]
Simplify and improve viewing of public transport.

3 years agoSimplify sledrun markup creation by defining macro wr_page.
Philipp Spitzer [Tue, 26 Oct 2021 07:47:04 +0000 (09:47 +0200)]
Simplify sledrun markup creation by defining macro wr_page.

3 years agoDefine macro for weblink.
Philipp Spitzer [Tue, 26 Oct 2021 07:22:52 +0000 (09:22 +0200)]
Define macro for weblink.

3 years agoImprove rendering of sledrun as MediaWiki markup.
Philipp Spitzer [Tue, 26 Oct 2021 07:14:55 +0000 (09:14 +0200)]
Improve rendering of sledrun as MediaWiki markup.

3 years agoAdd description on how to use it.
Philipp Spitzer [Sun, 24 Oct 2021 19:57:41 +0000 (21:57 +0200)]
Add description on how to use it.

3 years agoUser script for pywikibot (https://gerrit.wikimedia.org/r/pywikibot/core.git).
Philipp Spitzer [Sun, 24 Oct 2021 19:54:59 +0000 (21:54 +0200)]
User script for pywikibot (https://gerrit.wikimedia.org/r/pywikibot/core.git).

3 years agoAdd some type annotations.
Philipp Spitzer [Tue, 19 Oct 2021 20:32:19 +0000 (22:32 +0200)]
Add some type annotations.

3 years agoCopy converting JSON to wikitext from wradmin.
Philipp Spitzer [Tue, 19 Oct 2021 20:32:07 +0000 (22:32 +0200)]
Copy converting JSON to wikitext from wradmin.

3 years agoAdd some type annotations.
Philipp Spitzer [Wed, 13 Oct 2021 21:35:25 +0000 (23:35 +0200)]
Add some type annotations.

3 years agoThe order of XML attributes is now retained.
Philipp Spitzer [Wed, 29 Sep 2021 21:15:39 +0000 (23:15 +0200)]
The order of XML attributes is now retained.

3 years agoPEP8 improvements.
Philipp Spitzer [Wed, 29 Sep 2021 21:15:11 +0000 (23:15 +0200)]
PEP8 improvements.

3 years agoUse same order of columns as in database.
Philipp Spitzer [Wed, 29 Sep 2021 21:14:54 +0000 (23:14 +0200)]
Use same order of columns as in database.

3 years agoMention package name in some imports.
Philipp Spitzer [Wed, 29 Sep 2021 21:14:32 +0000 (23:14 +0200)]
Mention package name in some imports.

3 years agoRemove unused imports.
Philipp Spitzer [Wed, 29 Sep 2021 21:14:05 +0000 (23:14 +0200)]
Remove unused imports.

3 years agoRemove Python 3.4 shebang.
Philipp Spitzer [Wed, 29 Sep 2021 21:13:47 +0000 (23:13 +0200)]
Remove Python 3.4 shebang.

3 years agoAdd more type annotations.
Philipp Spitzer [Wed, 29 Sep 2021 21:13:19 +0000 (23:13 +0200)]
Add more type annotations.