Jonathan Golder
28d03f35b8
Add standardized Bot start API from red-Bot
To make it possible to easily reuse this in other bot projects
Related Task: [https://fs.golderweb.de/index.php?do=details&task_id=84 FS#84]
Related Task: [https://fs.golderweb.de/index.php?do=details&task_id=84 FS#84]
8 years ago
Jonathan Golder
2173f2984f
Merge branch 'fs58-pywikibot-logging-changed' into test-v1
8 years ago
Jonathan Golder
5ecfb2a37b
Catch import Error due to change in pywikibot
In master branch of pywikibot the logging related stuff is moved to a
new module pywikibot.logging. As we want to be compatible to both
the master (for use of shared pywikibot on labs) and also the 2.0 branch
we need to catch this
[https://fs.golderweb.de/index.php?do=details&task_id=58 FS#58]
pywikibot-core commit d7d7a14
8 years ago
Jonathan Golder
fbe9799df7
Merge branch 'jogobot-config' into test-v1
8 years ago
Jonathan Golder
7212b8eee4
Re-Structure config module
8 years ago
Jonathan Golder
dac01a224b
Parse config entrys with ast.literal_eval to get python datatypes (like Tuples, Lists ...)
8 years ago
Jonathan Golder
b0c844b2de
Use config in jogobot.py
Set configparser.interpolation to none to prevent parsing timestamps
8 years ago
Jonathan Golder
027d7d1543
Use configparser to read configuration
8 years ago
Jonathan Golder
0daf72b625
Update year in (c)-Notice to 2016
8 years ago
Jonathan Golder
7c9225660e
Merge branch 'StatusAPI'
8 years ago
Jonathan Golder
b79cf48a22
Insert a StatusAPI and a wrapper function to detect if Bot or Parts are disabled
Use a separate config file
8 years ago
Jonathan Golder
fe7eca1b8d
Merge branch 'output_wrapper'
8 years ago
Jonathan Golder
800cc46574
Move sendmail function out of class since it doesn't need any data from it an it was a static method anyway
8 years ago
Jonathan Golder
3721683a28
Since we like to have timestamps in Output for logging, we replace
pywikibot.output with jogobot.output via monkey patching
8 years ago
Jonathan Golder
885c5d3223
Add a wrapper function for pywikibot output functions to add a timestamp to each message
8 years ago
Jonathan Golder
f606a83424
Add .gitignore
8 years ago
Jonathan Golder
0d38bbbfff
Add staticmethod for sending mails via MTA on Toollabs
8 years ago
Jonathan Golder
52e0a16498
A few first bricks
8 years ago