Ben Kurtovic
a73f618e0a
Initial conversion to Python 3
3 years ago
Ben Kurtovic
f8bb72f9f2
Send a message when an IRC-initiated task completes.
8 years ago
Ben Kurtovic
a28eac9426
Substantial rework to reminders; fixes multithreading issues.
8 years ago
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
9 years ago
Ben Kurtovic
6a90efc812
Improve !threads command output.
9 years ago
Ben Kurtovic
801d8a3c2d
Bugfixes and a !remind help option.
10 years ago
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
10 years ago
Ben Kurtovic
ed95c99f0e
Update email address.
10 years ago
Ben Kurtovic
e67833a39f
Mod thread.ident by 10,000 for when they're absurdly large.
10 years ago
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
11 years ago
Ben Kurtovic
bff57f55bc
Implement new permissions system in bot commands.
11 years ago
Justin Yulli Kim
c7675b2bbf
Capitalise replies in everything else in one commit because Earwig
11 years ago
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
12 years ago
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
f7ffd68056
Support hiding certain logs (e.g. ones containing passwords).
12 years ago
Ben Kurtovic
0e2fcfed13
Run commands in separate threads.
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
b34dd94f0d
Command.commands; small change in managers; !time
12 years ago
Ben Kurtovic
526151e031
!geolocate command, plus some cleanup to other commands
12 years ago
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
12 years ago
Ben Kurtovic
443f0a5e72
Improve exception docstrings
12 years ago
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
12 years ago
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
12 years ago
Ben Kurtovic
c3fa92269d
Quitting works completely now; bugfixes
12 years ago
Ben Kurtovic
fbada5c69a
Minor cleanup, additions, and bugfixes
12 years ago
Ben Kurtovic
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
12 years ago
Ben Kurtovic
535e4efab6
Update references to CommandManager and TaskManager
12 years ago
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
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
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
12 years ago
Ben Kurtovic
35f3075c63
Bugfixes and update some class references
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
82de36dbc9
Database access lock, better kwarg usage, sync command.
12 years ago
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
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!
12 years ago
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
12 years ago
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
12 years ago
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
12 years ago
Ben Kurtovic
5be9dea1d5
docstrings in Tasks command; make !task work with !tasks and !threads; make the afc_statistics task skeleton print kwargs in run() for testing
12 years ago
Ben Kurtovic
12c71675d3
adding a !remind command from old EarwigBot, which spawns a new thread that sleeps until its time is up, so impimplementing in !tasks list; {} -> {0}, etc in tasks.py for Python 2.6 support; stripping indentation on blank lines in tasks.py
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
87d3e9a74a
more nitpicking
13 years ago
Ben Kurtovic
11fb9df87e
convert ident to str
13 years ago
Ben Kurtovic
07ce4a38f2
message cleanup
13 years ago
Ben Kurtovic
77f334d106
fix
13 years ago