Commit Graph

101 Commits

Author SHA1 Message Date
cb11097664 Merge branch 'fs#118-remove-linebreaks' into develop 2017-11-05 15:37:43 +01:00
af44323930 Cut Titel and Interpret on first linebreak
For some asian countries there is the original name following after a
linebreak. This is not needed in overview, so cat it of.

Related Task: [https://fs.golderweb.de/index.php?do=details&task_id=118 FS#118]
2017-04-10 20:40:39 +02:00
33540344b0 Update jogobot submodule test-v7 2016-09-25 18:17:12 +02:00
1958ec222f Add a README.md
To have a basic description of this repo
2016-09-25 16:56:10 +02:00
f2d431ab84 Merge branch 'fs#67-more-detailed-logs' into test-v7 2016-09-25 15:10:27 +02:00
31d06224b0 Update file headers 2016-09-24 21:32:02 +02:00
51d8bb9da9 Read Edit Summary from config
To be able to change the Edit-Summary without touching the source code
2016-09-24 21:29:32 +02:00
f3635b2458 Log year change related actions
Improve logging related to atomatically changed years in list title

[https://fs.golderweb.de/index.php?do=details&task_id=67|FS#67]
2016-08-22 16:45:54 +02:00
962e0cb4de Notice End of Task in Log
Showing end of task in log will help to detect unexpectedly terminated
runs

[https://fs.golderweb.de/index.php?do=details&task_id=67|FS#67]
2016-08-22 16:43:45 +02:00
8948fcc78d Output log each parsed page and revision
To improve quality of log

[https://fs.golderweb.de/index.php?do=details&task_id=67|FS#67]
2016-08-22 15:43:25 +02:00
2f022d9d30 Call pywikibot.handle_args before jogobot.status
To prevent pywikibot outputting a warning because of creating site
objects before handling args
test-v6
2016-07-16 16:00:30 +02:00
56701107db Jogobot module updated 2016-07-11 23:41:26 +02:00
7ccfb90888 Updated jogobot submodule 2016-07-09 20:19:20 +02:00
22a2cc5799 Merge branch 'fs#33-charts.py-abords-with-error' into test-v6 2016-03-09 17:26:12 +01:00
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
16a774fae5 Merge branch 'CountryList-Entry-Title-SortKeyName' into test-v6 2016-02-25 17:52:10 +01:00
038dd6e36a SortKeyName should be used for Interpret not for Title 2016-02-25 17:48:46 +01:00
e468260f7f Merge branch 'unittest-countrylist' into test-v6
Conflicts:
	countrylist.py
2016-02-25 17:08:28 +01:00
da99dee429 Merge branch 'CountryList-Entry-Title-SortKeyName' into test-v6 2016-02-25 17:05:52 +01:00
b96c5d4a33 Handle SortKeyName and SortKey Template in Title 2016-02-25 17:05:04 +01:00
73bf26b627 Merge branch 'jogobot-StatusAPI' into test-v6 2016-02-25 16:27:28 +01:00
df2f13fb66 Update jogobot 2016-02-25 16:26:10 +01:00
7b27577915 Remove provisonal onwiki activation 2016-02-23 13:58:46 +01:00
d76f914615 Use JogoBot StatusAPI to check if Bot/Task is active 2016-02-23 13:57:56 +01:00
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
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
9fe1c36482 Merge branch 'test-v5' 2016-02-23 11:31:39 +01:00
c730d9ba9c Output diff also in verbose mode 2016-02-23 11:21:40 +01:00
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
287942e174 Merge branch 'remove-refs' into improve-output
Get recent changes before going on
2016-02-18 19:13:31 +01:00
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
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
297adc62ec Raise CountryListError if Page exists but no valid Single-Section exists 2016-01-04 12:30:24 +01:00
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
81e541ef1d Provisonal on wiki activation 2015-12-26 12:42:14 +01:00
c708832515 Merge branch 'feature-force-reload' test-v4 2015-12-11 12:42:41 +01:00
18122fafe8 New feature force parsing of countrylists regardless if needed with param "-force-reload" 2015-12-11 12:41:23 +01:00
55afe94a4e Merge branch 'countrylist-linksearch' 2015-12-11 12:03:51 +01:00
e409c7a02b CountryList-module: Also search for Links in Titel 2015-12-11 00:03:53 +01:00
9d9207c175 CountryList-module: Put linksearching algorithm in separate function for simple reuse for Titel value 2015-12-10 23:13:45 +01:00
4de2116717 Add possibility to manually check against any page in dewiki 2015-11-28 18:17:19 +01:00
3349c9f3d3 Add __str__-method to CountryList-class 2015-11-28 18:16:04 +01:00
a250074caa CountryList-module: Search current year via regex to also make parsing older lists possible 2015-11-28 17:26:27 +01:00
581e043255 Add unitest to CountryList-Modul 2015-11-28 13:42:32 +01:00
e932303c40 improve-output: Only show diff in interactive mode without -always flag 2015-11-27 14:10:33 +01:00
5f13da5934 Clarify licence situation of chartsbot.py 2015-11-25 17:15:55 +01:00
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
e3c2c1a5d9 Merge branch 'pep8-compat' 2015-11-23 19:15:37 +01:00
f819193790 pep8-compat: clean up CountryList-Modul 2015-11-23 19:11:21 +01:00
4a856b1dae pep8-compat: Replace undefined Error by Message in CountryList-Module 2015-11-23 19:04:27 +01:00