Ben Kurtovic
a73f618e0a
Initial conversion to Python 3
пре 3 година
Ben Kurtovic
f8bb72f9f2
Send a message when an IRC-initiated task completes.
пре 8 година
Ben Kurtovic
a28eac9426
Substantial rework to reminders; fixes multithreading issues.
пре 8 година
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
пре 9 година
Ben Kurtovic
6a90efc812
Improve !threads command output.
пре 9 година
Ben Kurtovic
801d8a3c2d
Bugfixes and a !remind help option.
пре 10 година
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
пре 10 година
Ben Kurtovic
ed95c99f0e
Update email address.
пре 10 година
Ben Kurtovic
e67833a39f
Mod thread.ident by 10,000 for when they're absurdly large.
пре 10 година
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
пре 11 година
Ben Kurtovic
bff57f55bc
Implement new permissions system in bot commands.
пре 11 година
Justin Yulli Kim
c7675b2bbf
Capitalise replies in everything else in one commit because Earwig
пре 12 година
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
пре 12 година
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
пре 12 година
Ben Kurtovic
844e3a5f8e
Remove useless __all__ from commands and tasks.
пре 12 година
Ben Kurtovic
f7ffd68056
Support hiding certain logs (e.g. ones containing passwords).
пре 12 година
Ben Kurtovic
0e2fcfed13
Run commands in separate threads.
пре 12 година
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 година
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
пре 12 година
Ben Kurtovic
526151e031
!geolocate command, plus some cleanup to other commands
пре 12 година
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
пре 12 година
Ben Kurtovic
443f0a5e72
Improve exception docstrings
пре 12 година
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 година
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
пре 12 година
Ben Kurtovic
c3fa92269d
Quitting works completely now; bugfixes
пре 12 година
Ben Kurtovic
fbada5c69a
Minor cleanup, additions, and bugfixes
пре 12 година
Ben Kurtovic
60b52f6aeb
__iter__ for Command+TaskManager instead of get_all()
пре 12 година
Ben Kurtovic
535e4efab6
Update references to CommandManager and TaskManager
пре 12 година
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
пре 12 година
Ben Kurtovic
117eccc35d
Beginning work ( #16 )
пре 12 година
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
пре 12 година
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
пре 12 година
Ben Kurtovic
35f3075c63
Bugfixes and update some class references
пре 12 година
Ben Kurtovic
2da906109b
Copyright update for 2012.
пре 12 година
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
пре 12 година
Ben Kurtovic
82de36dbc9
Database access lock, better kwarg usage, sync command.
пре 12 година
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
пре 12 година
Ben Kurtovic
39a4d22620
task loading and running both work now, including the schedule and !tasks command\nbot restructuring should be complete - woo!
пре 12 година
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
пре 12 година
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
пре 12 година
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
пре 12 година
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
пре 13 година
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 година
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 година
Ben Kurtovic
a06e35ecef
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
пре 13 година
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 година
Ben Kurtovic
87d3e9a74a
more nitpicking
пре 13 година
Ben Kurtovic
11fb9df87e
convert ident to str
пре 13 година
Ben Kurtovic
07ce4a38f2
message cleanup
пре 13 година
Ben Kurtovic
77f334d106
fix
пре 13 година