Ben Kurtovic
a73f618e0a
Initial conversion to Python 3
3 years ago
Ben Kurtovic
178428cb97
Allow specifying task number in config.
7 years ago
Ben Kurtovic
5534a46c55
Add an unload hook for commands and tasks.
8 years ago
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
9 years ago
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
10 years ago
Ben Kurtovic
ed95c99f0e
Update email address.
10 years ago
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
11 years ago
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
12 years ago
Ben Kurtovic
a07920506c
__repr__ and __str__ for all classes (22)
12 years ago
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.
12 years ago
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
12 years ago
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
12 years ago
Ben Kurtovic
bc9fdf28f4
A handful of fixes, cleanup, and improvements.
12 years ago
Ben Kurtovic
e5371681c0
Fix some exceptions
12 years ago
Ben Kurtovic
60da4423e2
Property-ify User; docstring cleanup
12 years ago
Ben Kurtovic
e4e9356d54
API docs
12 years ago
Ben Kurtovic
9eb85f1b6f
Update docs, including README.rst (almost done)
12 years ago
Ben Kurtovic
0c6f627e43
Move Command+TaskManagers to a common earwigbot.managers module
12 years ago
Ben Kurtovic
03062e808b
Wrote the command-line utility, added logging levels, improved Bot organization
- Fixed loading bugs in CommandLoader and TaskLoader
12 years ago
Ben Kurtovic
54739d5553
Update references to Wiki Toolset, plus other fixes
12 years ago
Ben Kurtovic
e473653507
Updates to setup.py, unit tests, and logging
12 years ago
Ben Kurtovic
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
12 years ago
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
12 years ago
Ben Kurtovic
2211acc81d
Update TaskManager implementation
12 years ago
Ben Kurtovic
117eccc35d
Beginning work ( #16 )
12 years ago
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
12 years ago
Ben Kurtovic
2da906109b
Copyright update for 2012.
12 years ago
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
12 years ago
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)
12 years ago
Ben Kurtovic
d08c56f594
Using logging throughout the bot now
12 years ago
Ben Kurtovic
6ce2a96e22
Logging
12 years ago
Ben Kurtovic
39a4d22620
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
13 years ago
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
13 years ago
Ben Kurtovic
99d0e7588f
loading commands now works, along with 'help' and 'test'; docstring fixes, etc
13 years ago
Ben Kurtovic
8c6fb2e8ba
more cleanup, improvements, fixes, whatever; restructured command files, but haven't done all of them yet
13 years ago
Ben Kurtovic
b0da4531b2
tons of improvements, import fixes, cleanup, etc
13 years ago
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
13 years ago
Ben Kurtovic
50f1f38fe3
list, not tuple
13 years ago
Ben Kurtovic
5756e99085
making task_name class-wide instead of instance-wide; better docs for BaseTask; slight cleanup in task_manager
13 years ago
Ben Kurtovic
7311ae4bb8
switching from XML config to JSON config - it's just much easier to parse and little easier on the eyes (not to mention shorter in length)
13 years ago
Ben Kurtovic
d57f2623d2
parse remaining parts of config.xml; getting rid of config.watcher and moving to irc/watcher_logic.py; convert irc/watcher.py and wiki/task_manager.py to new config system; other changes/fixes/whatever
13 years ago
Ben Kurtovic
07ce4a38f2
message cleanup
13 years ago
Ben Kurtovic
ea83a59372
give ids of active tasks with .tasks listall; give start time of threads with .tasks list; fix in task_manager.py
13 years ago
Ben Kurtovic
655fe78312
creating backbone for wiki-editing tasks: they can be spawned on a cron-like schedule with config/schedule.py, in response to certain edits in config/watcher.py, or through IRC (not implemented yet - I'll need to figure out permissions); task files are in wiki/tasks/, and the wiki-editing tools (think very simplified pywikipedia) will be in wiki/tools/
13 years ago