Ben Kurtovic
a73f618e0a
Initial conversion to Python 3
il y a 3 ans
Ben Kurtovic
5534a46c55
Add an unload hook for commands and tasks.
il y a 8 ans
Ben Kurtovic
a17f0ec47b
Add a 'part' hook. Updates.
il y a 8 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
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
f7ffd68056
Support hiding certain logs (e.g. ones containing passwords).
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
cfdfc49d78
Command.setup() like Task.setup(); config.commands like config.tasks
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
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
9eb85f1b6f
Update docs, including README.rst (almost done)
il y a 12 ans
Ben Kurtovic
a97670262b
More helpful logging; support for !parts with messages
il y a 12 ans
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
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
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
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
079b424eca
Fixing up !restart and !reload a bit
il y a 12 ans
Ben Kurtovic
d901a252bb
More cleanup for IRC stuff
il y a 12 ans
Ben Kurtovic
abe58a07f6
CommandManager as attr of Bot, plus cleanup
il y a 12 ans
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
il y a 12 ans
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
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
d08c56f594
Using logging throughout the bot now
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
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
Ben Kurtovic
b0da4531b2
tons of improvements, import fixes, cleanup, etc
il y a 13 ans
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
il y a 13 ans
Ben Kurtovic
87d3e9a74a
more nitpicking
il y a 13 ans
Ben Kurtovic
e429c9270b
some careless errors, and giving command name in traceback
il y a 13 ans
Ben Kurtovic
20ffe4b55a
hopefully catch command exceptions properly this time
il y a 13 ans
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/
il y a 13 ans
Ben Kurtovic
36801bda6a
alphabetically sort list of files when loading command modules
il y a 13 ans
Ben Kurtovic
eee571879c
commands now support multiple hooks
il y a 13 ans
Ben Kurtovic
c81e0e2260
rmv unnecessary silent param; unused
il y a 13 ans
Ben Kurtovic
76c3d9dd3e
renaming triggers.py to command_handler.py
il y a 13 ans
Ben Kurtovic
e743734bac
redoing irc command management: rewriting triggers and creating a BaseCommand class, also some changes to Data and Connection
il y a 13 ans
Ben Kurtovic
a7d8faa0a0
fix by moving aliases to help
il y a 13 ans
Ben Kurtovic
50ef200a22
support command aliases in bot help
il y a 13 ans