Justin Yulli Kim
c3138fd14c
Capitalise replies in !report
před 14 roky
Justin Yulli Kim
fc1a143558
Capitalise the beginning of a sentence
před 14 roky
Ben Kurtovic
fb31aa73c8
Proper handling of unicode in some commands.
před 14 roky
Ben Kurtovic
b42389d393
Substitute \x0301 with \x0F for returning to "normal" colors.
před 14 roky
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
před 14 roky
Ben Kurtovic
844e3a5f8e
Remove useless __all__ from commands and tasks.
před 14 roky
Ben Kurtovic
359905aa60
Some additional bugfixes.
před 14 roky
Ben Kurtovic
e8b078d4d0
More bugfixes and cleanup.
před 14 roky
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.
před 14 roky
Ben Kurtovic
dcf912b65b
Make cat.get_members() an iterator; make page.exists output nicer; cleanup
před 14 roky
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
před 14 roky
Ben Kurtovic
60da4423e2
Property-ify User; docstring cleanup
před 14 roky
Ben Kurtovic
ea1f416195
Update methods to attributes; some other changes
před 14 roky
Ben Kurtovic
f84747800c
Bugfixes, pyflakes compliance etc
před 14 roky
Ben Kurtovic
0c7a7c383c
Removed some old debugging code
před 14 roky
Ben Kurtovic
27848087cc
Daemonize task threads; clean up logging
před 14 roky
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
před 14 roky
Ben Kurtovic
54739d5553
Update references to Wiki Toolset, plus other fixes
před 14 roky
Ben Kurtovic
535e4efab6
Update references to CommandManager and TaskManager
před 14 roky
Ben Kurtovic
424a954af6
Moving rest of earwigbot.classes to earwigbot.tasks
před 14 roky
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
před 14 roky
Ben Kurtovic
2da906109b
Copyright update for 2012.
před 14 roky
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
před 15 roky
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)
před 15 roky
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().
před 15 roky
Ben Kurtovic
953527e473
ignore maxlag on IRC commands, because these are started explicitly by users
před 15 roky
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
před 15 roky
Ben Kurtovic
499f58f1bb
userpage -> talkpage
před 15 roky
Ben Kurtovic
b4ce673c03
derp!
před 15 roky
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()
před 15 roky
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
před 15 roky
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
před 15 roky
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
před 15 roky
Ben Kurtovic
b6873cf992
missed a couple selfs
před 15 roky
Ben Kurtovic
bbc5cc6e7c
adding a new command, !report, as AFCReport in irc/commands/afc_report.py
před 15 roky