golderweb
0b17998484
Update jogobot-module to v0.1
2017-11-05 15:45:17 +01:00
golderweb
cb11097664
Merge branch 'fs#118-remove-linebreaks' into develop
2017-11-05 15:37:43 +01:00
golderweb
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
golderweb
33540344b0
Update jogobot submodule
2016-09-25 18:17:12 +02:00
golderweb
1958ec222f
Add a README.md
...
To have a basic description of this repo
2016-09-25 16:56:10 +02:00
golderweb
f2d431ab84
Merge branch 'fs#67-more-detailed-logs' into test-v7
2016-09-25 15:10:27 +02:00
golderweb
31d06224b0
Update file headers
2016-09-24 21:32:02 +02:00
golderweb
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
golderweb
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
golderweb
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
golderweb
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
golderweb
2f022d9d30
Call pywikibot.handle_args before jogobot.status
...
To prevent pywikibot outputting a warning because of creating site
objects before handling args
2016-07-16 16:00:30 +02:00
golderweb
56701107db
Jogobot module updated
2016-07-11 23:41:26 +02:00
golderweb
7ccfb90888
Updated jogobot submodule
2016-07-09 20:19:20 +02:00
golderweb
22a2cc5799
Merge branch 'fs#33-charts.py-abords-with-error' into test-v6
2016-03-09 17:26:12 +01:00
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
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'
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'
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
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
golderweb
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
golderweb
df67d7ca8a
Merge changes from branch 'countrylist-module'
...
+ Fixed syntax error
2015-11-13 13:26:55 +01:00
golderweb
eca0142f71
CountryList-Module: Add Exception-Handling classes
2015-11-13 12:22:17 +01:00
golderweb
d98bc5e2b5
Merge branch 'summarypage-module'
2015-11-13 12:21:15 +01:00
golderweb
fec2143203
SummaryPage-Module: Create Exception-Classes
2015-11-13 12:18:02 +01:00
golderweb
f003b20d65
SummaryPage-Module: Implement method for returning new page text if editing is needed
2015-11-13 11:03:42 +01:00
golderweb
fc96bb5b6c
SummaryPage-Module: Implement class handling parsing/editing process of whole page
2015-11-13 11:02:16 +01:00
golderweb
def75876b0
SummaryPage-Module: Add method for controling parsing/update-sequence of entry
2015-11-13 11:00:36 +01:00
golderweb
a7b1813d24
SummaryPage-Module: Add methods for working with results from parsing in entry
2015-11-13 10:57:41 +01:00
golderweb
5d43234b11
SummaryPage-Module: Add parse-method to Entry-Class which uses CountryList-Module
2015-11-13 10:54:34 +01:00
golderweb
6ac8c9298f
SummaryPage-Module: Add class for handling entries
2015-11-13 10:52:18 +01:00
golderweb
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
golderweb
f06f04c5ef
SummaryPage-Module: Hook into getattr and setattr to directly use
...
template params as object attributes
2015-11-13 10:47:23 +01:00
golderweb
cdd0c4c666
SummaryPage-Module: Implement Class as inteface to Entry-Template
2015-11-13 10:45:59 +01:00
golderweb
ce0a06ae0a
SummaryPage-Module: Add new module for handling summarypage related actions
2015-11-13 10:31:42 +01:00
golderweb
9225dc5f73
Merge branch 'countrylist-module'
...
Provides a class for handling CountryLists
2015-11-13 10:24:49 +01:00
golderweb
2e8b4273e7
CountryList-Module: Implement parse-method which handles the parsing sequence
2015-11-13 10:18:09 +01:00
golderweb
41d3ca95ef
CountryList-Module: Implement methods for handling Interpret-Parameter
...
Including searching for missing links
2015-11-13 10:17:44 +01:00
golderweb
87aee8c42a
CountryList-Module: Implment methods for handling Titel-Parameter
2015-11-13 10:17:32 +01:00
golderweb
d4ea57dae8
CountryList-Module: Implement methods for handling Chartein-Date
2015-11-13 10:17:25 +01:00
golderweb
8858e81ee6
CountryList-Module: Implement methods to get the latest entry of list
2015-11-13 10:17:12 +01:00
golderweb
4a790912fc
CountryList-Module: Implement method for detecting year related to list
2015-11-13 10:17:07 +01:00
golderweb
abc30707b5
CountryList-Module: Implement method for checking if parsing is needed
2015-11-13 10:16:56 +01:00
golderweb
6ae8f4c6ad
CountryList-Module: Implement basic init method
2015-11-13 10:16:49 +01:00
golderweb
11bfb6807c
CountryList-Module: Create new class CountryList to move code for handling country list in separate class
2015-11-13 10:16:17 +01:00
golderweb
eedcefb215
Add functionality to search for links for nonlinked interprets
2015-11-08 20:48:34 +01:00
golderweb
f0978d26e2
Automatic year change detection
2015-11-08 19:57:21 +01:00
golderweb
0a49b27d7f
Use param "-always" to run without any interactiv requests
2015-11-07 16:53:34 +01:00
golderweb
f05889a15b
Restucture code to make it better maintainable
...
Remove unnecessary whitespace
2015-11-07 16:50:09 +01:00
golderweb
a69a3add73
Prepare exception handling
2015-11-05 17:33:09 +01:00
golderweb
8f28fd23d2
Use botflag
2015-11-05 17:17:11 +01:00
golderweb
0089720463
Replace template param Wochentag with Korrektur
...
Use it for all dates not just for entrys containing Weeknumbers
to make possible to correct dates for comparability
2015-10-08 16:27:08 +02:00
golderweb
e72d36ac35
Make sure we have a real change and not just a changed revision number before editing page
2015-09-27 12:31:17 +02:00
golderweb
b455d6c0ba
Supress edit confirmation for automatic tests
...
Remove testing file functions
2015-09-26 17:13:15 +02:00
golderweb
329466c6f8
Catch special case in Belgium with Flandern and Wallonie
2015-09-26 16:29:25 +02:00