Commit Graph
87 Commits
Author SHA1 Message Date
golderweb 9d471bee20 Bug in function to detect the year from Pagetitle, returning whole title
Missing param added
Explicit int casting will throw errors in future if regex fails
2016-03-09 17:24:00 +01:00
golderweb 16a774fae5 Merge branch 'CountryList-Entry-Title-SortKeyName' into test-v6 2016-02-25 17:52:10 +01:00
golderweb 038dd6e36a SortKeyName should be used for Interpret not for Title 2016-02-25 17:48:46 +01:00
golderweb e468260f7f Merge branch 'unittest-countrylist' into test-v6
Conflicts:
	countrylist.py
2016-02-25 17:08:28 +01:00
golderweb da99dee429 Merge branch 'CountryList-Entry-Title-SortKeyName' into test-v6 2016-02-25 17:05:52 +01:00
golderweb b96c5d4a33 Handle SortKeyName and SortKey Template in Title 2016-02-25 17:05:04 +01:00
golderweb 73bf26b627 Merge branch 'jogobot-StatusAPI' into test-v6 2016-02-25 16:27:28 +01:00
golderweb df2f13fb66 Update jogobot 2016-02-25 16:26:10 +01:00
golderweb 7b27577915 Remove provisonal onwiki activation 2016-02-23 13:58:46 +01:00
golderweb d76f914615 Use JogoBot StatusAPI to check if Bot/Task is active 2016-02-23 13:57:56 +01:00
golderweb d9d385cfe8 Rename chartsbot.py to charts.py to get filename same as task_slug for jogobot-module 2016-02-23 11:40:15 +01:00
golderweb 2076932cbf Merge branch 'improve-output' into test-v6
(@see https://fs.golderweb.de/index.php?do=details&task_id=20)
2016-02-23 11:35:12 +01:00
golderweb 9fe1c36482 Merge branch 'test-v5' 2016-02-23 11:31:39 +01:00
golderweb c730d9ba9c Output diff also in verbose mode 2016-02-23 11:21:40 +01:00
golderweb 3ed67431cf Use jogobot-framework as submodule to get a specific state (instead of directly use development dir as python module)
Use jogobot.output as wrapper for pywikiot outputs
2016-02-22 11:05:32 +01:00
golderweb 287942e174 Merge branch 'remove-refs' into improve-output
Get recent changes before going on
2016-02-18 19:13:31 +01:00
golderweb 9a24a988f4 Remove possible ref-tags from raw param values in CountryListEntrys
Explicit conversion to str for better readability
test-v5
2016-01-04 12:59:31 +01:00
golderweb 7bb77e86f6 Since last_title also referenced the same object we need to re-replace the year for last year's list 2016-01-04 12:34:13 +01:00
golderweb 297adc62ec Raise CountryListError if Page exists but no valid Single-Section exists 2016-01-04 12:30:24 +01:00
golderweb b6c7a74519 Raise Exception instead of returning False in CountryList.__init__()
since returning False is no valid python construct
2016-01-04 12:28:40 +01:00
golderweb 81e541ef1d Provisonal on wiki activation 2015-12-26 12:42:14 +01:00
golderweb c708832515 Merge branch 'feature-force-reload' test-v4 2015-12-11 12:42:41 +01:00
golderweb 18122fafe8 New feature force parsing of countrylists regardless if needed with param "-force-reload" 2015-12-11 12:41:23 +01:00
golderweb 55afe94a4e Merge branch 'countrylist-linksearch' 2015-12-11 12:03:51 +01:00
golderweb e409c7a02b CountryList-module: Also search for Links in Titel 2015-12-11 00:03:53 +01:00
golderweb 9d9207c175 CountryList-module: Put linksearching algorithm in separate function for simple reuse for Titel value 2015-12-10 23:13:45 +01:00
golderweb 4de2116717 Add possibility to manually check against any page in dewiki 2015-11-28 18:17:19 +01:00
golderweb 3349c9f3d3 Add __str__-method to CountryList-class 2015-11-28 18:16:04 +01:00
golderweb a250074caa CountryList-module: Search current year via regex to also make parsing older lists possible 2015-11-28 17:26:27 +01:00
golderweb 581e043255 Add unitest to CountryList-Modul 2015-11-28 13:42:32 +01:00
golderweb e932303c40 improve-output: Only show diff in interactive mode without -always flag 2015-11-27 14:10:33 +01:00
golderweb 5f13da5934 Clarify licence situation of chartsbot.py 2015-11-25 17:15:55 +01:00
golderweb 5b084f6fde Fix Bug: Writing is requested even when only rev_ids have changed
Introduce new attr to CountryList for simple get information wether page was parsed

The SummaryPageEntryTemplate comparation to non-equal fails when unparsed Entrys occur
--> and it with information wether CountryList was parsed
2015-11-23 19:36:19 +01:00
golderweb e3c2c1a5d9 Merge branch 'pep8-compat' 2015-11-23 19:15:37 +01:00
golderweb f819193790 pep8-compat: clean up CountryList-Modul 2015-11-23 19:11:21 +01:00
golderweb 4a856b1dae pep8-compat: Replace undefined Error by Message in CountryList-Module 2015-11-23 19:04:27 +01:00
golderweb 166e61aee7 pep8-compat: cleanup SummaryPage-Module 2015-11-23 19:00:07 +01:00
golderweb 1ea37c0e0d pep8-compat: Remove unnecessary imports from summarypage.py 2015-11-23 18:59:16 +01:00
golderweb 3e525edd2a pep8-compat: chartsbot.py remove unnecessary imports 2015-11-23 18:48:04 +01:00
golderweb 3cab979662 Merge branch 'summarypage-module' 2015-11-21 11:52:21 +01:00
golderweb 52f933bea7 SummaryPage-Module: Bugfix, move countrylist.parse() back in try statement since we need to make sure it is parseable due to automatic year change feature 2015-11-21 11:50:40 +01:00
golderweb e854244f0b Merge branches 'countrylist-module' and 'summarypage-module' 2015-11-21 11:33:35 +01:00
golderweb f1e0157643 CountryList-Module: Rename method parsing_needed to is_parsing_needed to make boolean character more clear 2015-11-21 11:32:00 +01:00
golderweb 4987f97e91 SummaryPage-Module: Reimplement feature to prevent parsing for pages where revid haven't changed since last parsing 2015-11-21 11:30:37 +01:00
golderweb 06ffb37d07 Merge branch 'summarypage-module' test-v3 2015-11-20 21:02:03 +01:00
golderweb f360deb1a0 SummaryPage-Modul: Use full path for embeding entry template since relative paths don't work on already embeded pages 2015-11-20 21:00:37 +01:00
golderweb 03857c0236 Merge branch 'countrylist-module' 2015-11-20 14:45:08 +01:00
golderweb 3864c9013c CountryList-Module: Since we have multiple categories in some countrys we need to select the first wrapping template 2015-11-20 14:44:26 +01:00
golderweb 1f70c42bdc Merge branch 'chartsbot-module'
Reflect new structure
test-v2
2015-11-13 13:36:52 +01:00
golderweb 43668ef8b7 ChartsBot-Module: Remove old code which is replaced by SummaryPage- and CountryList-Module 2015-11-13 13:34:42 +01:00