Ben Kurtovic
5534a46c55
Add an unload hook for commands and tasks.
il y a 8 ans
Ben Kurtovic
7af4c4deee
Fix double messages.
il y a 8 ans
Ben Kurtovic
b9a315cf1a
Add a !stalk/!watch command and a bunch of framework to support it.
il y a 9 ans
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
il y a 9 ans
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
il y a 10 ans
Ben Kurtovic
ed95c99f0e
Update email address.
il y a 10 ans
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
il y a 11 ans
Ben Kurtovic
f3f372f550
Finishing everything; some other tweaks.
il y a 12 ans
Ben Kurtovic
d0016933f0
Fix typo in TaskManager.start.__doc__
il y a 12 ans
Ben Kurtovic
c2de168cb4
Log should be a bit nicer when we don't load any resources.
il y a 12 ans
Ben Kurtovic
7e733c39bb
Support for config options to disable loading default commands/tasks.
il y a 12 ans
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
il y a 12 ans
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
il y a 12 ans
Ben Kurtovic
a07920506c
__repr__ and __str__ for all classes (22)
il y a 12 ans
Ben Kurtovic
0e2fcfed13
Run commands in separate threads.
il y a 12 ans
Ben Kurtovic
7bdff82971
Fix broken commands, manager, and Data.
il y a 12 ans
Ben Kurtovic
22b826fd0c
Fix merge bug (Lock -> Rlock)
il y a 12 ans
Ben Kurtovic
37e64e65cd
Updates and misc fixes, mainly to documentation.
il y a 12 ans
Ben Kurtovic
78ac1b8a80
Tons of refactoring, miscellaneous cleanup, and improvements.
* _ResourceManager: allow resources to be named anything as long as they
inherit from the base resource class; gave resources proper names.
* Renamed BaseCommand to Command and BaseTask to Task; applied renames
throughout earwigbot.commands and earwigbot.tasks.
* Data: refactored argument and command parsing to be completely internal.
Added docstrings to attributes. Applied changes to Frontend.
* IRCConnection: improved such that we accurately detect disconnects with
server pings; timeout support. Applied changes to Bot.
* Updated documentation and other minor fixes.
il y a 12 ans
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
il y a 12 ans
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
il y a 12 ans
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
il y a 12 ans
Ben Kurtovic
bc9fdf28f4
A handful of fixes, cleanup, and improvements.
il y a 12 ans
Ben Kurtovic
6450d99a0f
Better docstrings for a bunch of modules
il y a 12 ans
Ben Kurtovic
ce1e598421
Two minor changes
il y a 12 ans
Ben Kurtovic
80091b2de3
Updating README and class docstrings throughout wiki toolset
* Much of the documentation doesn't match the code; code will be
updated in develop soon
il y a 12 ans
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
il y a 12 ans
Ben Kurtovic
af146bf070
Round time in "throttled" log msg so it's a bit more realistic
il y a 12 ans
Ben Kurtovic
27848087cc
Daemonize task threads; clean up logging
il y a 12 ans
Ben Kurtovic
cc6a4c6b99
Release manager's _resource_access_lock before processing a command so it can reload itself
il y a 12 ans
Ben Kurtovic
eead11ffb6
Docstrings and cleanup in earwigbot.managers
il y a 12 ans
Ben Kurtovic
03fe3305d9
Avoid duplicating code thanks to _BaseManager
il y a 12 ans
Ben Kurtovic
0c6f627e43
Move Command+TaskManagers to a common earwigbot.managers module
il y a 12 ans
Ben Kurtovic
03062e808b
Wrote the command-line utility, added logging levels, improved Bot organization
- Fixed loading bugs in CommandLoader and TaskLoader
il y a 12 ans
Ben Kurtovic
54739d5553
Update references to Wiki Toolset, plus other fixes
il y a 12 ans
Ben Kurtovic
e473653507
Updates to setup.py, unit tests, and logging
il y a 12 ans
Ben Kurtovic
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
il y a 12 ans
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
il y a 12 ans
Ben Kurtovic
2211acc81d
Update TaskManager implementation
il y a 12 ans
Ben Kurtovic
117eccc35d
Beginning work ( #16 )
il y a 12 ans
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
il y a 12 ans
Ben Kurtovic
2da906109b
Copyright update for 2012.
il y a 12 ans
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
il y a 12 ans
Ben Kurtovic
d949269944
Some SQL updates, starting work on afc_history task.
* get() -> return a Task instance by name (tasks)
* Using SQL to save API queries. (commands.{afc_report,afc_status})
* ignore_list -> ignoreList in config. (tasks.afc_statistics)
il y a 12 ans
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
il y a 12 ans
Ben Kurtovic
6ce2a96e22
Logging
il y a 12 ans
Ben Kurtovic
39a4d22620
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
il y a 13 ans
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
il y a 13 ans
Ben Kurtovic
99d0e7588f
loading commands now works, along with 'help' and 'test'; docstring fixes, etc
il y a 13 ans
Ben Kurtovic
8c6fb2e8ba
more cleanup, improvements, fixes, whatever; restructured command files, but haven't done all of them yet
il y a 13 ans