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