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