Justin Yulli Kim
c3138fd14c
Capitalise replies in !report
14 years ago
Justin Yulli Kim
fc1a143558
Capitalise the beginning of a sentence
14 years ago
Ben Kurtovic
fb31aa73c8
Proper handling of unicode in some commands.
14 years ago
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
14 years ago
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
14 years ago
Ben Kurtovic
844e3a5f8e
Remove useless __all__ from commands and tasks.
14 years ago
Ben Kurtovic
359905aa60
Some additional bugfixes.
14 years ago
Ben Kurtovic
e8b078d4d0
More bugfixes and cleanup.
14 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.
14 years ago
Ben Kurtovic
dcf912b65b
Make cat.get_members() an iterator; make page.exists output nicer; cleanup
14 years ago
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
14 years ago
Ben Kurtovic
60da4423e2
Property-ify User; docstring cleanup
14 years ago
Ben Kurtovic
ea1f416195
Update methods to attributes; some other changes
14 years ago
Ben Kurtovic
f84747800c
Bugfixes, pyflakes compliance etc
14 years ago
Ben Kurtovic
0c7a7c383c
Removed some old debugging code
14 years ago
Ben Kurtovic
27848087cc
Daemonize task threads; clean up logging
14 years ago
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
14 years ago
Ben Kurtovic
54739d5553
Update references to Wiki Toolset, plus other fixes
14 years ago
Ben Kurtovic
535e4efab6
Update references to CommandManager and TaskManager
14 years ago
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
14 years ago
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
14 years ago
Ben Kurtovic
2da906109b
Copyright update for 2012.
14 years ago
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
15 years ago
Ben Kurtovic
d949269944
Some SQL updates, starting work on afc_history task.
* get() -> return a Task instance by name (tasks)
* Using SQL to save API queries. (commands.{afc_report,afc_status})
* ignore_list -> ignoreList in config. (tasks.afc_statistics)
15 years ago
Ben Kurtovic
75179ee042
Added a bunch of afc_statistics code.
* Updated afc_report command.
* Moved page removal out to its own method, untrack_page().
* Code for track_page(), update_page(), get_status_and_chart(), get_short_title().
* Stubs for get_create(), get_modify(), get_special(), get_notes().
15 years ago
Ben Kurtovic
953527e473
ignore maxlag on IRC commands, because these are started explicitly by users
15 years ago
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
15 years ago
Ben Kurtovic
499f58f1bb
userpage -> talkpage
15 years ago
Ben Kurtovic
b4ce673c03
derp!
15 years ago
Ben Kurtovic
d207baaee2
ported afc_report to wikitools and cleaned it up massively; added creator() method to Page; safety check in functions._get_site_object_from_dict()
15 years ago
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
15 years ago
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
15 years ago
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
15 years ago
Ben Kurtovic
b6873cf992
missed a couple selfs
15 years ago
Ben Kurtovic
bbc5cc6e7c
adding a new command, !report, as AFCReport in irc/commands/afc_report.py
15 years ago