]>
ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/log
Philipp Spitzer [Fri, 18 Mar 2022 14:10:08 +0000 (15:10 +0100)]
Use strip_eol() to treat whitespace after generating wikitext.
Philipp Spitzer [Fri, 18 Mar 2022 14:04:58 +0000 (15:04 +0100)]
Create function strip_eol().
Philipp Spitzer [Tue, 15 Mar 2022 22:52:28 +0000 (23:52 +0100)]
Better parsing and displaying of gastronomy.
Philipp Spitzer [Tue, 15 Mar 2022 22:33:44 +0000 (23:33 +0100)]
Rename template sledrun_wiki to sledrun_wikitext.
Philipp Spitzer [Tue, 15 Mar 2022 22:28:48 +0000 (23:28 +0100)]
Replace "comment" with "note" to make labeling more consistent.
Philipp Spitzer [Tue, 15 Mar 2022 22:18:31 +0000 (23:18 +0100)]
Make more use of function optional_set to simplify code.
Philipp Spitzer [Tue, 15 Mar 2022 21:23:50 +0000 (22:23 +0100)]
Add functionality to actually save map and sledrun JSON results.
Philipp Spitzer [Tue, 15 Mar 2022 21:13:37 +0000 (22:13 +0100)]
Use functions get_sledrun_description and optional_set.
Philipp Spitzer [Tue, 15 Mar 2022 21:12:53 +0000 (22:12 +0100)]
Create function optional_set.
Philipp Spitzer [Tue, 15 Mar 2022 21:09:58 +0000 (22:09 +0100)]
Create function get_sledrun_description.
Philipp Spitzer [Sun, 13 Mar 2022 20:02:09 +0000 (21:02 +0100)]
Rename bots for consistency.
Philipp Spitzer [Sun, 13 Mar 2022 16:50:41 +0000 (17:50 +0100)]
Support parsing info_web.
Philipp Spitzer [Sun, 13 Mar 2022 16:31:53 +0000 (17:31 +0100)]
Fix support for walkup_support comment.
Philipp Spitzer [Sun, 13 Mar 2022 16:28:20 +0000 (17:28 +0100)]
Update requirements.txt file.
Philipp Spitzer [Sun, 13 Mar 2022 16:28:03 +0000 (17:28 +0100)]
Fix typo in docstring.
Philipp Spitzer [Sun, 13 Mar 2022 16:27:53 +0000 (17:27 +0100)]
Optimize imports.
Philipp Spitzer [Sun, 13 Mar 2022 16:27:25 +0000 (17:27 +0100)]
Now using comment for nightlight_possible.
Philipp Spitzer [Sun, 13 Mar 2022 13:05:38 +0000 (14:05 +0100)]
Remove empty line in "see also".
Philipp Spitzer [Sun, 13 Mar 2022 13:05:08 +0000 (14:05 +0100)]
Add nightlight_weekdays_count and nightlight_weekdays_comment.
Philipp Spitzer [Sun, 13 Mar 2022 13:04:11 +0000 (14:04 +0100)]
Fix type annotations for nightlightdays_from_str/nightlightdays_to_str.
Philipp Spitzer [Sun, 23 Jan 2022 21:29:57 +0000 (22:29 +0100)]
Fix handling of empty coordinates.
Philipp Spitzer [Sun, 23 Jan 2022 21:14:53 +0000 (22:14 +0100)]
Parse external public transport links.
Philipp Spitzer [Sun, 23 Jan 2022 16:09:36 +0000 (17:09 +0100)]
Parse cachet.
Philipp Spitzer [Sun, 23 Jan 2022 15:50:47 +0000 (16:50 +0100)]
Improve sledrun_wiki template.
Philipp Spitzer [Sun, 23 Jan 2022 15:50:20 +0000 (16:50 +0100)]
Implement walkup_support conversion.
Philipp Spitzer [Sun, 9 Jan 2022 22:30:35 +0000 (23:30 +0100)]
Better parsing for car description.
Philipp Spitzer [Sun, 9 Jan 2022 22:08:07 +0000 (23:08 +0100)]
Fix indentation and create function for parsing car-related stuff.
Philipp Spitzer [Sun, 9 Jan 2022 21:56:09 +0000 (22:56 +0100)]
Detect impressions sub-page.
Philipp Spitzer [Sun, 9 Jan 2022 21:42:32 +0000 (22:42 +0100)]
Parse video from Buttonleiste.
Philipp Spitzer [Sun, 9 Jan 2022 21:08:03 +0000 (22:08 +0100)]
More detailed parsing of sled rental.
Philipp Spitzer [Sun, 12 Dec 2021 21:37:57 +0000 (22:37 +0100)]
Parse gastronomy.
Philipp Spitzer [Sun, 12 Dec 2021 16:09:46 +0000 (17:09 +0100)]
Improve indentation.
Philipp Spitzer [Sun, 12 Dec 2021 15:59:19 +0000 (16:59 +0100)]
Parse car_distances.
Philipp Spitzer [Sun, 12 Dec 2021 15:39:44 +0000 (16:39 +0100)]
Parse car_parking.
Philipp Spitzer [Sun, 12 Dec 2021 15:29:32 +0000 (16:29 +0100)]
Change formatting from markdown to mediawiki.
Philipp Spitzer [Sun, 12 Dec 2021 14:45:18 +0000 (15:45 +0100)]
Add public transport lines.
Philipp Spitzer [Sun, 12 Dec 2021 14:06:59 +0000 (15:06 +0100)]
Parse car description, public transport description and bus stop.
Philipp Spitzer [Fri, 10 Dec 2021 20:37:34 +0000 (21:37 +0100)]
Add "see also".
Philipp Spitzer [Fri, 10 Dec 2021 20:37:22 +0000 (21:37 +0100)]
Fix check for existence of image.
Philipp Spitzer [Mon, 29 Nov 2021 22:42:43 +0000 (23:42 +0100)]
Parse description.
Philipp Spitzer [Mon, 29 Nov 2021 22:12:02 +0000 (23:12 +0100)]
Further work on parsing (now a map is parsed).
Philipp Spitzer [Mon, 29 Nov 2021 22:11:39 +0000 (23:11 +0100)]
Add type annotations.
Philipp Spitzer [Sun, 28 Nov 2021 22:14:30 +0000 (23:14 +0100)]
Work on parsing wikicode (currently Rodelbahnbox).
Philipp Spitzer [Sun, 28 Nov 2021 21:51:38 +0000 (22:51 +0100)]
Add some type annotations.
Philipp Spitzer [Sun, 28 Nov 2021 21:45:09 +0000 (22:45 +0100)]
Add functions lonlat_to_json and lonlat_ele_to_json.
Philipp Spitzer [Sun, 28 Nov 2021 21:44:23 +0000 (22:44 +0100)]
Correctly represent operator in Rodelbahnbox dict.
Philipp Spitzer [Sun, 28 Nov 2021 10:45:26 +0000 (11:45 +0100)]
Start to work on wikitext to JSON conversion.
Philipp Spitzer [Sun, 28 Nov 2021 10:45:00 +0000 (11:45 +0100)]
Display reason for skips to user.
Philipp Spitzer [Sun, 28 Nov 2021 10:44:35 +0000 (11:44 +0100)]
Implement JSON validation after edit.
Philipp Spitzer [Sun, 31 Oct 2021 22:57:15 +0000 (23:57 +0100)]
Name of public_transport_stop was split.
Philipp Spitzer [Sun, 31 Oct 2021 09:16:13 +0000 (10:16 +0100)]
Order keys by schema when validating.
Philipp Spitzer [Fri, 29 Oct 2021 09:33:37 +0000 (11:33 +0200)]
Write function to resolve references ("$ref").
Philipp Spitzer [Fri, 29 Oct 2021 07:22:47 +0000 (09:22 +0200)]
Make original schema available everywhere (prepare to resolve $ref).
Philipp Spitzer [Fri, 29 Oct 2021 07:15:00 +0000 (09:15 +0200)]
Add test to check error message.
Philipp Spitzer [Fri, 29 Oct 2021 07:14:46 +0000 (09:14 +0200)]
JSON path now contains the keys directly.
Philipp Spitzer [Thu, 28 Oct 2021 20:32:19 +0000 (22:32 +0200)]
Type of arrays are not tested.
Philipp Spitzer [Tue, 26 Oct 2021 21:48:06 +0000 (23:48 +0200)]
Further work on order_json_keys.
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.
Philipp Spitzer [Tue, 26 Oct 2021 16:31:53 +0000 (18:31 +0200)]
Create bot to validate sledrun JSON.
Philipp Spitzer [Tue, 26 Oct 2021 14:56:02 +0000 (16:56 +0200)]
Move bot to bots directory.
Philipp Spitzer [Tue, 26 Oct 2021 14:55:15 +0000 (16:55 +0200)]
Create bot to edit JSON data.
Philipp Spitzer [Tue, 26 Oct 2021 09:23:03 +0000 (11:23 +0200)]
Simplify and improve viewing of public transport.
Philipp Spitzer [Tue, 26 Oct 2021 07:47:04 +0000 (09:47 +0200)]
Simplify sledrun markup creation by defining macro wr_page.
Philipp Spitzer [Tue, 26 Oct 2021 07:22:52 +0000 (09:22 +0200)]
Define macro for weblink.
Philipp Spitzer [Tue, 26 Oct 2021 07:14:55 +0000 (09:14 +0200)]
Improve rendering of sledrun as MediaWiki markup.
Philipp Spitzer [Sun, 24 Oct 2021 19:57:41 +0000 (21:57 +0200)]
Add description on how to use it.
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).
Philipp Spitzer [Tue, 19 Oct 2021 20:32:19 +0000 (22:32 +0200)]
Add some type annotations.
Philipp Spitzer [Tue, 19 Oct 2021 20:32:07 +0000 (22:32 +0200)]
Copy converting JSON to wikitext from wradmin.
Philipp Spitzer [Wed, 13 Oct 2021 21:35:25 +0000 (23:35 +0200)]
Add some type annotations.
Philipp Spitzer [Wed, 29 Sep 2021 21:15:39 +0000 (23:15 +0200)]
The order of XML attributes is now retained.
Philipp Spitzer [Wed, 29 Sep 2021 21:15:11 +0000 (23:15 +0200)]
PEP8 improvements.
Philipp Spitzer [Wed, 29 Sep 2021 21:14:54 +0000 (23:14 +0200)]
Use same order of columns as in database.
Philipp Spitzer [Wed, 29 Sep 2021 21:14:32 +0000 (23:14 +0200)]
Mention package name in some imports.
Philipp Spitzer [Wed, 29 Sep 2021 21:14:05 +0000 (23:14 +0200)]
Remove unused imports.
Philipp Spitzer [Wed, 29 Sep 2021 21:13:47 +0000 (23:13 +0200)]
Remove Python 3.4 shebang.
Philipp Spitzer [Wed, 29 Sep 2021 21:13:19 +0000 (23:13 +0200)]
Add more type annotations.
Philipp Spitzer [Wed, 29 Sep 2021 21:12:26 +0000 (23:12 +0200)]
Avoid remaining usage of LonLat(None, None), instead None is used.
Philipp Spitzer [Wed, 29 Sep 2021 21:10:49 +0000 (23:10 +0200)]
Fix test usage of mwparserfromhell.
Philipp Spitzer [Wed, 29 Sep 2021 21:01:40 +0000 (23:01 +0200)]
New table structure in MediaWiki: slots and content.
Philipp Spitzer [Fri, 6 Aug 2021 21:16:53 +0000 (23:16 +0200)]
Add function create_template().
Philipp Spitzer [Fri, 6 Aug 2021 20:32:33 +0000 (22:32 +0200)]
Only allow floats in LonLat (and not None, None).
Philipp Spitzer [Fri, 6 Aug 2021 20:31:57 +0000 (22:31 +0200)]
Make use of format strings.
Philipp Spitzer [Fri, 6 Aug 2021 19:27:22 +0000 (21:27 +0200)]
Remove unused class ParseError.
Philipp Spitzer [Thu, 5 Aug 2021 20:39:20 +0000 (22:39 +0200)]
Update requirements.
Philipp Spitzer [Thu, 5 Aug 2021 20:39:12 +0000 (22:39 +0200)]
Better formatting and add some type hints.
Philipp Spitzer [Mon, 26 Jul 2021 20:28:30 +0000 (22:28 +0200)]
Parameter min and max of int_to_string are now minimum and maximum.
Philipp Spitzer [Mon, 26 Jul 2021 20:27:30 +0000 (22:27 +0200)]
Add type annotations and improve coding style.
Philipp Spitzer [Fri, 12 Feb 2021 12:41:54 +0000 (13:41 +0100)]
Deactivate Bavaria and Switzerland.
Philipp Spitzer [Fri, 12 Feb 2021 12:39:55 +0000 (13:39 +0100)]
Add Bavaria.
Philipp Spitzer [Thu, 11 Feb 2021 21:24:32 +0000 (22:24 +0100)]
Add DEM Switzerland.
Philipp Spitzer [Thu, 11 Feb 2021 11:10:05 +0000 (12:10 +0100)]
Implement bounding box check.
Philipp Spitzer [Tue, 9 Feb 2021 21:59:17 +0000 (22:59 +0100)]
Implement DEM for South Tyrol.
Philipp Spitzer [Tue, 26 Jan 2021 21:59:23 +0000 (22:59 +0100)]
Fix nodata results.
Philipp Spitzer [Tue, 26 Jan 2021 21:59:07 +0000 (22:59 +0100)]
Create test for wrdem.py.
Philipp Spitzer [Mon, 25 Jan 2021 23:13:31 +0000 (00:13 +0100)]
Small improvements in wrvalidators.py.
Philipp Spitzer [Mon, 25 Jan 2021 22:06:12 +0000 (23:06 +0100)]
Create module wrdem and script get_elevation.
Philipp Spitzer [Mon, 29 Jun 2020 20:50:07 +0000 (22:50 +0200)]
PEP 8 improvements.
Philipp Spitzer [Mon, 29 Jun 2020 20:49:55 +0000 (22:49 +0200)]
Fix test_wrreportcache_table.
Philipp Spitzer [Mon, 29 Jun 2020 20:52:55 +0000 (22:52 +0200)]
Copy testdb.sql from wradmin project.