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
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
166e61aee7
pep8-compat: cleanup SummaryPage-Module
2015-11-23 19:00:07 +01:00
1ea37c0e0d
pep8-compat: Remove unnecessary imports from summarypage.py
2015-11-23 18:59:16 +01:00
3e525edd2a
pep8-compat: chartsbot.py remove unnecessary imports
2015-11-23 18:48:04 +01:00
3cab979662
Merge branch 'summarypage-module'
2015-11-21 11:52:21 +01:00
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
e854244f0b
Merge branches 'countrylist-module' and 'summarypage-module'
2015-11-21 11:33:35 +01:00
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
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
06ffb37d07
Merge branch 'summarypage-module'
test-v3
2015-11-20 21:02:03 +01:00
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
03857c0236
Merge branch 'countrylist-module'
2015-11-20 14:45:08 +01:00
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
1f70c42bdc
Merge branch 'chartsbot-module'
...
Reflect new structure
test-v2
2015-11-13 13:36:52 +01:00
43668ef8b7
ChartsBot-Module: Remove old code which is replaced by SummaryPage- and CountryList-Module
2015-11-13 13:34:42 +01:00
1a06d20a75
ChartsBot-Module: Move charts.py to chartsbot.py to name like class
...
Several updates of code to use new modul structure
2015-11-13 13:34:22 +01:00
df67d7ca8a
Merge changes from branch 'countrylist-module'
...
+ Fixed syntax error
2015-11-13 13:26:55 +01:00
eca0142f71
CountryList-Module: Add Exception-Handling classes
2015-11-13 12:22:17 +01:00
d98bc5e2b5
Merge branch 'summarypage-module'
2015-11-13 12:21:15 +01:00
fec2143203
SummaryPage-Module: Create Exception-Classes
2015-11-13 12:18:02 +01:00
f003b20d65
SummaryPage-Module: Implement method for returning new page text if editing is needed
2015-11-13 11:03:42 +01:00
fc96bb5b6c
SummaryPage-Module: Implement class handling parsing/editing process of whole page
2015-11-13 11:02:16 +01:00
def75876b0
SummaryPage-Module: Add method for controling parsing/update-sequence of entry
2015-11-13 11:00:36 +01:00
a7b1813d24
SummaryPage-Module: Add methods for working with results from parsing in entry
2015-11-13 10:57:41 +01:00
5d43234b11
SummaryPage-Module: Add parse-method to Entry-Class which uses CountryList-Module
2015-11-13 10:54:34 +01:00
6ac8c9298f
SummaryPage-Module: Add class for handling entries
2015-11-13 10:52:18 +01:00
bdb48d6e79
SummaryPage-Module: Add method for notequal-comparation to Template-Interface
...
to detect whether writing is needed
2015-11-13 10:49:25 +01:00
f06f04c5ef
SummaryPage-Module: Hook into getattr and setattr to directly use
...
template params as object attributes
2015-11-13 10:47:23 +01:00