Ben Kurtovic
fbada5c69a
Minor cleanup, additions, and bugfixes
пре 12 година
Ben Kurtovic
cc6a4c6b99
Release manager's _resource_access_lock before processing a command so it can reload itself
пре 12 година
Ben Kurtovic
6373eea1f7
docstrings in Bot; daemonize wiki_scheduler
пре 12 година
Ben Kurtovic
eead11ffb6
Docstrings and cleanup in earwigbot.managers
пре 12 година
Ben Kurtovic
03fe3305d9
Avoid duplicating code thanks to _BaseManager
пре 12 година
Ben Kurtovic
0c6f627e43
Move Command+TaskManagers to a common earwigbot.managers module
пре 12 година
Ben Kurtovic
03062e808b
Wrote the command-line utility, added logging levels, improved Bot organization
- Fixed loading bugs in CommandLoader and TaskLoader
пре 12 година
Ben Kurtovic
362db3d1c8
git version info, logging updates, utility
пре 12 година
Ben Kurtovic
54739d5553
Update references to Wiki Toolset, plus other fixes
пре 12 година
Ben Kurtovic
e473653507
Updates to setup.py, unit tests, and logging
пре 12 година
Ben Kurtovic
45a472c2ef
setup.py should be good now
пре 12 година
Ben Kurtovic
0234d8ce63
Docstring updates; watcher's process() now takes Bot object
пре 12 година
Ben Kurtovic
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
пре 12 година
Ben Kurtovic
535e4efab6
Update references to CommandManager and TaskManager
пре 12 година
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
пре 12 година
Ben Kurtovic
2211acc81d
Update TaskManager implementation
пре 12 година
Ben Kurtovic
079b424eca
Fixing up !restart and !reload a bit
пре 12 година
Ben Kurtovic
d901a252bb
More cleanup for IRC stuff
пре 12 година
Ben Kurtovic
abe58a07f6
CommandManager as attr of Bot, plus cleanup
пре 12 година
Ben Kurtovic
117eccc35d
Beginning work ( #16 )
пре 12 година
Ben Kurtovic
f886729df5
Merge branch 'feature/sitesdb' into develop
пре 12 година
Ben Kurtovic
7edfb0b1af
Re-organize SitesDB code; protocol-relative URLs
пре 12 година
Ben Kurtovic
4a1cb41162
get_site(), add_site(), remove_site() implemented
пре 12 година
Ben Kurtovic
30b1b99a13
Cleaned up boolean logic a bit.
пре 12 година
Ben Kurtovic
69b7cb1a78
Keep dynamic module in an attr so it doesn't get dealloc'd
пре 12 година
Ben Kurtovic
556789524a
Fix importing dynamic module from config
пре 12 година
Ben Kurtovic
9d97649ffd
Merge branch 'feature/yaml' into develop
пре 12 година
Ben Kurtovic
65a01c66b5
Removed earwigbot.rules; moved its contents to config.yml
пре 12 година
Ben Kurtovic
76d1af164c
str->int key conversion no longer necessary
пре 12 година
Ben Kurtovic
1db6504c56
Fixed a tiny merge bug
пре 12 година
Ben Kurtovic
8f193c9953
Fixing references to the config file
пре 12 година
Ben Kurtovic
202464d9fb
JSON -> YAML
пре 12 година
Ben Kurtovic
19397290d1
JSON -> YAML
пре 12 година
Ben Kurtovic
1f615e1966
Fix again
пре 12 година
Ben Kurtovic
3fc151470b
Fix restarting
пре 12 година
Ben Kurtovic
275c82ec7c
Merge branch 'feature/irc_update' into develop
пре 12 година
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
пре 12 година
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
пре 12 година
Ben Kurtovic
64c7a1a8a7
Fix component enabling/disabling
пре 12 година
Ben Kurtovic
35f3075c63
Bugfixes and update some class references
пре 12 година
Ben Kurtovic
e54db76757
Cleanup; ensure unit tests are functional
пре 12 година
Ben Kurtovic
551e1e8a9c
Convert frontend and watcher into classes
пре 12 година
Ben Kurtovic
bbe0cea5a2
Minor cleanup
пре 12 година
Ben Kurtovic
ec8df97616
Cleanup a few instances of string concatenation
пре 12 година
Ben Kurtovic
cdb7bce734
Avoid backreferences in re.sub() repl to bypass re._cache_repl ( #17 )
пре 12 година
Ben Kurtovic
9434a416a1
Moved search engine/credential info into config proper.
- In config.json, search config relocated from
tasks.afc_copyvios to wiki.
- Site.__init__() takes a `search_config' argument, which is
auto-supplied from its value in config.json by get_site().
- Page.copyvio_check() doesn't ask for search config
anymore, meaning doing checks from the command line
is less painful.
- Added a Page.copyvio_compare() function, which works
just like copyvio_check() but on a specified URL; this is
for cache retrieval on the web front-end.
пре 12 година
Ben Kurtovic
7cc85f9bc4
afc_copyvios: optionally cache results for the Toolserver.
пре 12 година
Ben Kurtovic
f382ceb38e
Pushing some smarter logic for MarkovChains
- Incomplete; need this for the TS rewrite
- Also starting work on docstrings for some methods
пре 12 година
Ben Kurtovic
7e6f1e8128
soxred93 -> tparis; toolserver account expired
пре 12 година
Ben Kurtovic
755dff9714
Copyvios: auto-fail very small articles (< 20 chain links)
пре 12 година