Ben Kurtovic
f86af84903
Cache site objects internally
vor 12 Jahren
Ben Kurtovic
0c7a7c383c
Removed some old debugging code
vor 12 Jahren
Ben Kurtovic
f698981aa3
Break up Site._api_query() into three methods for readability
vor 12 Jahren
Ben Kurtovic
14c9950753
Support for wait_between_queries in Sites
vor 12 Jahren
Ben Kurtovic
b817dc725f
Minor fix
vor 12 Jahren
Ben Kurtovic
4e2580e2c1
Unicode fixes and misc cleanup to toolset and tasks
- Category.members() -> Category.get_members()
- Category.get_members() now fully abides by the limit, which defaults
to None for SQL and 50 for the API.
- Category.get_members() always returns unicode objects instead of
strings for page titles.
- afc_statistics: Fixed a frustrating Unicode bug.
vor 12 Jahren
Ben Kurtovic
5e823b718b
Small fix
vor 12 Jahren
Ben Kurtovic
a1b3c28aa4
Merge branch 'feature/git-command' into develop
vor 12 Jahren
Ben Kurtovic
099d91e1c7
Log !git actions
vor 12 Jahren
Ben Kurtovic
c5a74254e7
Fix status subcommand again.
vor 12 Jahren
Ben Kurtovic
21983438b3
float->int fix; colorize branches in pull
vor 12 Jahren
Ben Kurtovic
5c98633064
Updates to status subcommand
vor 12 Jahren
Ben Kurtovic
2fd7e9eaa3
Minor bugfixes
vor 12 Jahren
Ben Kurtovic
e2d6aae0f5
Fix get_repos(); update help subcommand
vor 12 Jahren
Ben Kurtovic
da46922c9f
Update !git to use GitPython
vor 12 Jahren
Ben Kurtovic
dfb3e39295
Merge branch 'feature/package-ify' into develop
vor 12 Jahren
Ben Kurtovic
27848087cc
Daemonize task threads; clean up logging
vor 12 Jahren
Ben Kurtovic
9100c3fedd
Cleaning up util a bit
vor 12 Jahren
Ben Kurtovic
a97670262b
More helpful logging; support for !parts with messages
vor 12 Jahren
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
vor 12 Jahren
Ben Kurtovic
08fb35eefe
Fix small bug in shutdown code
vor 12 Jahren
Ben Kurtovic
c3fa92269d
Quitting works completely now; bugfixes
vor 12 Jahren
Ben Kurtovic
fbada5c69a
Minor cleanup, additions, and bugfixes
vor 12 Jahren
Ben Kurtovic
cc6a4c6b99
Release manager's _resource_access_lock before processing a command so it can reload itself
vor 12 Jahren
Ben Kurtovic
6373eea1f7
docstrings in Bot; daemonize wiki_scheduler
vor 12 Jahren
Ben Kurtovic
eead11ffb6
Docstrings and cleanup in earwigbot.managers
vor 12 Jahren
Ben Kurtovic
03fe3305d9
Avoid duplicating code thanks to _BaseManager
vor 12 Jahren
Ben Kurtovic
0c6f627e43
Move Command+TaskManagers to a common earwigbot.managers module
vor 12 Jahren
Ben Kurtovic
03062e808b
Wrote the command-line utility, added logging levels, improved Bot organization
- Fixed loading bugs in CommandLoader and TaskLoader
vor 12 Jahren
Ben Kurtovic
362db3d1c8
git version info, logging updates, utility
vor 12 Jahren
Ben Kurtovic
54739d5553
Update references to Wiki Toolset, plus other fixes
vor 12 Jahren
Ben Kurtovic
e473653507
Updates to setup.py, unit tests, and logging
vor 12 Jahren
Ben Kurtovic
45a472c2ef
setup.py should be good now
vor 12 Jahren
Ben Kurtovic
0234d8ce63
Docstring updates; watcher's process() now takes Bot object
vor 12 Jahren
Ben Kurtovic
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
vor 12 Jahren
Ben Kurtovic
535e4efab6
Update references to CommandManager and TaskManager
vor 12 Jahren
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
vor 12 Jahren
Ben Kurtovic
2211acc81d
Update TaskManager implementation
vor 12 Jahren
Ben Kurtovic
079b424eca
Fixing up !restart and !reload a bit
vor 12 Jahren
Ben Kurtovic
d901a252bb
More cleanup for IRC stuff
vor 12 Jahren
Ben Kurtovic
abe58a07f6
CommandManager as attr of Bot, plus cleanup
vor 12 Jahren
Ben Kurtovic
117eccc35d
Beginning work ( #16 )
vor 12 Jahren
Ben Kurtovic
9e5805c6cf
Raise the correct exception if the site isn't found
vor 12 Jahren
Ben Kurtovic
b320effdf2
Fix in _get_site_name_from_sitesdb()
vor 12 Jahren
Ben Kurtovic
f886729df5
Merge branch 'feature/sitesdb' into develop
vor 12 Jahren
Ben Kurtovic
7edfb0b1af
Re-organize SitesDB code; protocol-relative URLs
vor 12 Jahren
Ben Kurtovic
4a1cb41162
get_site(), add_site(), remove_site() implemented
vor 12 Jahren
Ben Kurtovic
30b1b99a13
Cleaned up boolean logic a bit.
vor 12 Jahren
Ben Kurtovic
69b7cb1a78
Keep dynamic module in an attr so it doesn't get dealloc'd
vor 12 Jahren
Ben Kurtovic
556789524a
Fix importing dynamic module from config
vor 12 Jahren