Ben Kurtovic
97c1710acf
Minor logic fix
pirms 12 gadiem
Ben Kurtovic
b3c0869db2
Misc additions, cleanup, and fixes, including:
* Support for starting commands using the bot's name
* Moved _wrap_check and _wrap_process to the CommandManager
* Removed extra sortkey in afc_statistics
pirms 12 gadiem
Ben Kurtovic
b35b640268
Merge branch 'feature/external-blowfish' into develop
pirms 12 gadiem
Ben Kurtovic
a8da1245b7
Fix wiki password
pirms 12 gadiem
Ben Kurtovic
1fc9028294
Adjust imports
pirms 12 gadiem
Ben Kurtovic
e67ea9a91f
Replacing custom Blowfish implementation with pycrypto
pirms 12 gadiem
Ben Kurtovic
025a7b3e37
More minor unicode fixes
pirms 12 gadiem
Ben Kurtovic
00ae6f8e46
Code cleanup and bugfixes
pirms 12 gadiem
Ben Kurtovic
f84747800c
Bugfixes, pyflakes compliance etc
pirms 12 gadiem
Ben Kurtovic
f5f41ed75b
Catch errors when updating or tracking so it doesn't stop the whole task
pirms 12 gadiem
Ben Kurtovic
4c9b541fac
Properly urlencode when we're dealing with unicode objects
pirms 12 gadiem
Ben Kurtovic
453059c217
Thread safety in Site, bugfix in Category, cleanup in Page
pirms 12 gadiem
Ben Kurtovic
d8ab0f3539
autoping and autoreconnect for site connections
pirms 12 gadiem
Ben Kurtovic
af146bf070
Round time in "throttled" log msg so it's a bit more realistic
pirms 12 gadiem
Ben Kurtovic
91c344d6d6
Missed a Unicode bug
pirms 12 gadiem
Ben Kurtovic
b066be95d6
Fix
pirms 12 gadiem
Ben Kurtovic
dc82a2f8a6
Sites use their own logger instead of sharing one with the toolset
pirms 12 gadiem
Ben Kurtovic
f86af84903
Cache site objects internally
pirms 12 gadiem
Ben Kurtovic
0c7a7c383c
Removed some old debugging code
pirms 12 gadiem
Ben Kurtovic
f698981aa3
Break up Site._api_query() into three methods for readability
pirms 12 gadiem
Ben Kurtovic
14c9950753
Support for wait_between_queries in Sites
pirms 12 gadiem
Ben Kurtovic
b817dc725f
Minor fix
pirms 12 gadiem
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.
pirms 12 gadiem
Ben Kurtovic
5e823b718b
Small fix
pirms 12 gadiem
Ben Kurtovic
a1b3c28aa4
Merge branch 'feature/git-command' into develop
pirms 12 gadiem
Ben Kurtovic
099d91e1c7
Log !git actions
pirms 12 gadiem
Ben Kurtovic
c5a74254e7
Fix status subcommand again.
pirms 12 gadiem
Ben Kurtovic
21983438b3
float->int fix; colorize branches in pull
pirms 12 gadiem
Ben Kurtovic
5c98633064
Updates to status subcommand
pirms 12 gadiem
Ben Kurtovic
2fd7e9eaa3
Minor bugfixes
pirms 12 gadiem
Ben Kurtovic
e2d6aae0f5
Fix get_repos(); update help subcommand
pirms 12 gadiem
Ben Kurtovic
da46922c9f
Update !git to use GitPython
pirms 12 gadiem
Ben Kurtovic
dfb3e39295
Merge branch 'feature/package-ify' into develop
pirms 12 gadiem
Ben Kurtovic
27848087cc
Daemonize task threads; clean up logging
pirms 12 gadiem
Ben Kurtovic
9100c3fedd
Cleaning up util a bit
pirms 12 gadiem
Ben Kurtovic
a97670262b
More helpful logging; support for !parts with messages
pirms 12 gadiem
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
pirms 12 gadiem
Ben Kurtovic
08fb35eefe
Fix small bug in shutdown code
pirms 12 gadiem
Ben Kurtovic
c3fa92269d
Quitting works completely now; bugfixes
pirms 12 gadiem
Ben Kurtovic
fbada5c69a
Minor cleanup, additions, and bugfixes
pirms 12 gadiem
Ben Kurtovic
cc6a4c6b99
Release manager's _resource_access_lock before processing a command so it can reload itself
pirms 12 gadiem
Ben Kurtovic
6373eea1f7
docstrings in Bot; daemonize wiki_scheduler
pirms 12 gadiem
Ben Kurtovic
eead11ffb6
Docstrings and cleanup in earwigbot.managers
pirms 12 gadiem
Ben Kurtovic
03fe3305d9
Avoid duplicating code thanks to _BaseManager
pirms 12 gadiem
Ben Kurtovic
0c6f627e43
Move Command+TaskManagers to a common earwigbot.managers module
pirms 12 gadiem
Ben Kurtovic
03062e808b
Wrote the command-line utility, added logging levels, improved Bot organization
- Fixed loading bugs in CommandLoader and TaskLoader
pirms 12 gadiem
Ben Kurtovic
362db3d1c8
git version info, logging updates, utility
pirms 12 gadiem
Ben Kurtovic
54739d5553
Update references to Wiki Toolset, plus other fixes
pirms 12 gadiem
Ben Kurtovic
e473653507
Updates to setup.py, unit tests, and logging
pirms 12 gadiem
Ben Kurtovic
45a472c2ef
setup.py should be good now
pirms 12 gadiem