Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
před 9 roky
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
před 10 roky
Ben Kurtovic
ed95c99f0e
Update email address.
před 10 roky
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
před 11 roky
Justin Yulli Kim
da3efd2658
Capitalise replies in !help
před 12 roky
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
před 12 roky
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
před 12 roky
Ben Kurtovic
844e3a5f8e
Remove useless __all__ from commands and tasks.
před 12 roky
Ben Kurtovic
e8b078d4d0
More bugfixes and cleanup.
před 12 roky
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.
před 12 roky
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
před 12 roky
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
před 12 roky
Ben Kurtovic
b2a3cedd9f
Fix !help <command>
před 12 roky
Ben Kurtovic
97c1710acf
Minor logic fix
před 12 roky
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
před 12 roky
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
před 12 roky
Ben Kurtovic
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
před 12 roky
Ben Kurtovic
535e4efab6
Update references to CommandManager and TaskManager
před 12 roky
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
před 12 roky
Ben Kurtovic
35f3075c63
Bugfixes and update some class references
před 12 roky
Ben Kurtovic
2da906109b
Copyright update for 2012.
před 12 roky
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
před 12 roky
Ben Kurtovic
6ad5a7fae6
more work on tests; added a framework for command testing, now testing !test (ha)
před 12 roky
Ben Kurtovic
0992d3c9d9
adding CTCP command support; cleanup
před 12 roky
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
před 12 roky
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
před 12 roky
Ben Kurtovic
99d0e7588f
loading commands now works, along with 'help' and 'test'; docstring fixes, etc
před 12 roky
Ben Kurtovic
8c6fb2e8ba
more cleanup, improvements, fixes, whatever; restructured command files, but haven't done all of them yet
před 12 roky
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
před 12 roky
Ben Kurtovic
a06e35ecef
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
před 13 roky
Ben Kurtovic
ddc9d9bf26
lowercase command name
před 13 roky
Ben Kurtovic
3beb16b643
adding support for a list of loaded command modules in help
před 13 roky
Ben Kurtovic
eee571879c
commands now support multiple hooks
před 13 roky
Ben Kurtovic
76c3d9dd3e
renaming triggers.py to command_handler.py
před 13 roky
Ben Kurtovic
9e3c105b0f
converting commands to use new BaseCommand class
před 13 roky
Ben Kurtovic
a7d8faa0a0
fix by moving aliases to help
před 13 roky
Ben Kurtovic
50ef200a22
support command aliases in bot help
před 13 roky
Ben Kurtovic
f9a1a9e1d1
restructuring core bot components
setting up threading and two IRC sockets
setting up watcher to report recent changes to a given list of channels on the main srver
code cleanup
před 13 roky
Ben Kurtovic
c94a0d1401
fix help msg, git help, git delete, and adding info to git push
před 13 roky
Ben Kurtovic
a7afc6c803
convert commands to use the actions.reply() format
před 13 roky
Ben Kurtovic
0478d0934e
more sub-commands for git; quote info in help, and add a reply function to irc actions to automatically reply to a nick
před 13 roky
Ben Kurtovic
0f9ea57a85
add in a return that I forgot
před 13 roky
Ben Kurtovic
259fcb575a
poor color choice
před 13 roky
Ben Kurtovic
b75cb8bfe0
moving arg handling to data; adding a help command; cleaning git command a bit
před 13 roky