Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
12 years ago
Ben Kurtovic
844e3a5f8e
Remove useless __all__ from commands and tasks.
12 years ago
Ben Kurtovic
09bfc441b0
Some anti-hardcoding refactor work and other fixes.
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
5e823b718b
Small fix
12 years ago
Ben Kurtovic
099d91e1c7
Log !git actions
12 years ago
Ben Kurtovic
c5a74254e7
Fix status subcommand again.
12 years ago
Ben Kurtovic
21983438b3
float->int fix; colorize branches in pull
12 years ago
Ben Kurtovic
5c98633064
Updates to status subcommand
12 years ago
Ben Kurtovic
2fd7e9eaa3
Minor bugfixes
12 years ago
Ben Kurtovic
e2d6aae0f5
Fix get_repos(); update help subcommand
12 years ago
Ben Kurtovic
da46922c9f
Update !git to use GitPython
12 years ago
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
12 years ago
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
12 years ago
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
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
684bb9a8c3
fix
13 years ago
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
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
af2e01a330
fixing imports in IRC commands
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
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
a06e35ecef
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
13 years ago
Ben Kurtovic
e21a4dfb76
converting four IRC command classes to use new config system; everything's been converted except for irc/watcher.py and everything in wiki/
13 years ago
Ben Kurtovic
9701638305
bugfix in branch names with .git checkout
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
Ben Kurtovic
406bd73a44
make status one msg instead of two
13 years ago
Ben Kurtovic
32e20d1a2f
git is slightly more verbose now; comment fix for RC
13 years ago
Ben Kurtovic
7cb6fb2b43
make git checkout print original branch in addition to new branch
13 years ago
Ben Kurtovic
2350ba9cef
config/irc_config.py -> config/irc.py; secure_config.py -> secure.py; update in files
13 years ago
Ben Kurtovic
eee571879c
commands now support multiple hooks
13 years ago
Ben Kurtovic
9e3c105b0f
converting commands to use new BaseCommand class
13 years ago
Ben Kurtovic
38ca184268
adding channel operation functions (voice, devoice, op, deop)
separate owners and admins in config
fix incomplete docstring in watcher.py
13 years ago
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
13 years ago
Ben Kurtovic
47b80b3796
notify user when we're checking remote for updates, because it might take some time to do
13 years ago
Ben Kurtovic
5609c95705
grammar fix
13 years ago
Ben Kurtovic
c94a0d1401
fix help msg, git help, git delete, and adding info to git push
13 years ago
Ben Kurtovic
a7afc6c803
convert commands to use the actions.reply() format
13 years ago
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
13 years ago
Ben Kurtovic
b75cb8bfe0
moving arg handling to data; adding a help command; cleaning git command a bit
13 years ago
Ben Kurtovic
38e0040178
chan -> data.chan
13 years ago
Ben Kurtovic
6066ded6dc
fix arg handling in git.py
13 years ago
Ben Kurtovic
0ae73a4aef
massive cleanup and moving a lot of functions to their own files; creating two new classes to store irc msg data and irc actions
13 years ago