Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
vor 9 Jahren
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
vor 10 Jahren
Ben Kurtovic
ed95c99f0e
Update email address.
vor 10 Jahren
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
vor 11 Jahren
Ben Kurtovic
f3f372f550
Finishing everything; some other tweaks.
vor 11 Jahren
Ben Kurtovic
d0016933f0
Fix typo in TaskManager.start.__doc__
vor 12 Jahren
Ben Kurtovic
c2de168cb4
Log should be a bit nicer when we don't load any resources.
vor 12 Jahren
Ben Kurtovic
7e733c39bb
Support for config options to disable loading default commands/tasks.
vor 12 Jahren
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
vor 12 Jahren
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
vor 12 Jahren
Ben Kurtovic
a07920506c
__repr__ and __str__ for all classes (22)
vor 12 Jahren
Ben Kurtovic
0e2fcfed13
Run commands in separate threads.
vor 12 Jahren
Ben Kurtovic
7bdff82971
Fix broken commands, manager, and Data.
vor 12 Jahren
Ben Kurtovic
22b826fd0c
Fix merge bug (Lock -> Rlock)
vor 12 Jahren
Ben Kurtovic
37e64e65cd
Updates and misc fixes, mainly to documentation.
vor 12 Jahren
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.
vor 12 Jahren
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
vor 12 Jahren
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
vor 12 Jahren
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
vor 12 Jahren
Ben Kurtovic
bc9fdf28f4
A handful of fixes, cleanup, and improvements.
vor 12 Jahren
Ben Kurtovic
6450d99a0f
Better docstrings for a bunch of modules
vor 12 Jahren
Ben Kurtovic
ce1e598421
Two minor changes
vor 12 Jahren
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
vor 12 Jahren
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
vor 12 Jahren
Ben Kurtovic
af146bf070
Round time in "throttled" log msg so it's a bit more realistic
vor 12 Jahren
Ben Kurtovic
27848087cc
Daemonize task threads; clean up logging
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
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
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
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
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
117eccc35d
Beginning work ( #16 )
vor 12 Jahren
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
vor 12 Jahren
Ben Kurtovic
2da906109b
Copyright update for 2012.
vor 12 Jahren
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
vor 12 Jahren
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)
vor 12 Jahren
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
vor 12 Jahren
Ben Kurtovic
6ce2a96e22
Logging
vor 12 Jahren
Ben Kurtovic
39a4d22620
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
vor 13 Jahren
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
vor 13 Jahren
Ben Kurtovic
99d0e7588f
loading commands now works, along with 'help' and 'test'; docstring fixes, etc
vor 13 Jahren
Ben Kurtovic
8c6fb2e8ba
more cleanup, improvements, fixes, whatever; restructured command files, but haven't done all of them yet
vor 13 Jahren
Ben Kurtovic
b0da4531b2
tons of improvements, import fixes, cleanup, etc
vor 13 Jahren
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
vor 13 Jahren
Ben Kurtovic
50f1f38fe3
list, not tuple
vor 13 Jahren