Ben Kurtovic
a2cf47aebf
Fix method names and arguments.
pirms 12 gadiem
Ben Kurtovic
5217875a1e
Merge branch 'feature/service_delegation' into develop
pirms 12 gadiem
Ben Kurtovic
7005a9b21b
Docstrings for Category
pirms 12 gadiem
Ben Kurtovic
f1ac019b3e
Remove all use_sql from commands+tasks.
pirms 12 gadiem
Ben Kurtovic
e01ca0fd31
Use service delegation for Category.get_members().
pirms 12 gadiem
Ben Kurtovic
7b001ed50d
Improved service ordering that takes API lag into account.
pirms 12 gadiem
Ben Kurtovic
97a6bb2059
'ignore_maxlag' in Site.get_maxlag().
pirms 12 gadiem
Ben Kurtovic
85ae7c5ce1
Site.get_maxlag(); docstring for Site.delegate()
pirms 12 gadiem
Ben Kurtovic
de34d8759b
Site._get_service_order()
pirms 12 gadiem
Ben Kurtovic
6433957ae9
First stages of service delegation.
pirms 12 gadiem
Ben Kurtovic
e9a6b5e4ac
Fixing bug with private messages.
pirms 12 gadiem
Ben Kurtovic
d30d984f05
Some refactoring.
pirms 12 gadiem
Ben Kurtovic
83d9af5954
Typos are cruel.
pirms 12 gadiem
Ben Kurtovic
c62fa09d79
Fix number of retrieved submissions when ignoring some.
pirms 12 gadiem
Ben Kurtovic
174845a7ed
I stink.
pirms 12 gadiem
Ben Kurtovic
359905aa60
Some additional bugfixes.
pirms 12 gadiem
Ben Kurtovic
e8b078d4d0
More bugfixes and cleanup.
pirms 12 gadiem
Ben Kurtovic
9bbc2b9e77
Title case for region names.
pirms 12 gadiem
Ben Kurtovic
05b731c668
Removed stray instruction.
pirms 12 gadiem
Ben Kurtovic
0365e0b3b3
Rollback most of the last commit, which was unnecessary as these values are API-loaded and therefore always unicode.
pirms 12 gadiem
Ben Kurtovic
7905facfc1
More unicode fixes and refactoring.
pirms 12 gadiem
Ben Kurtovic
1adf8b26cd
Some more fixes, mainly unicode-related.
pirms 12 gadiem
Ben Kurtovic
0d1e5ebdc1
A couple fixes and improvements.
pirms 12 gadiem
Ben Kurtovic
772fcf4836
.lower() on my_nick
pirms 12 gadiem
Ben Kurtovic
9000187693
Fix signature for self.config.decrypt(node, *nodes).
pirms 12 gadiem
Ben Kurtovic
3c9c63d573
Fix parse_kwargs
pirms 12 gadiem
Ben Kurtovic
fd18f468f4
Resolve missing command issue.
pirms 12 gadiem
Ben Kurtovic
4aa177dfd0
Fix NameError
pirms 12 gadiem
Ben Kurtovic
b1392afd64
Fix regex
pirms 12 gadiem
Ben Kurtovic
7bdff82971
Fix broken commands, manager, and Data.
pirms 12 gadiem
Ben Kurtovic
22b826fd0c
Fix merge bug (Lock -> Rlock)
pirms 12 gadiem
Ben Kurtovic
37e64e65cd
Updates and misc fixes, mainly to documentation.
pirms 12 gadiem
Ben Kurtovic
160890b464
Merge branch 'feature/commands' into develop
Conflicts:
README.rst
docs/customizing.rst
earwigbot/commands/help.py
earwigbot/commands/threads.py
earwigbot/managers.py
earwigbot/tasks/image_display_resize.py
setup.py
pirms 12 gadiem
Ben Kurtovic
9f7e5ea7bc
Move final bits of _old to notes.py
pirms 12 gadiem
Ben Kurtovic
71ac38ea89
!trout command, plus an indent fix
pirms 12 gadiem
Ben Kurtovic
17c99248ce
Rename tasks, remove feed_dailycats, add image_display_resize.
pirms 12 gadiem
Ben Kurtovic
1afa10cbc5
Refactor actual praises out of praise; fix replag
pirms 12 gadiem
Ben Kurtovic
09bfc441b0
Some anti-hardcoding refactor work and other fixes.
pirms 12 gadiem
Ben Kurtovic
4b1d745e2c
Handle timezones correctly with pytz.
pirms 12 gadiem
Ben Kurtovic
729aa04cc1
Site.url; some refactoring and cleanup
pirms 12 gadiem
Ben Kurtovic
e11ce3f901
Adding afc_submissions command.
pirms 12 gadiem
Ben Kurtovic
f7d1e9c681
Better flag handling
pirms 12 gadiem
Ben Kurtovic
42072582cf
Correct parse error in RC.re_log, detect moves correctly.
pirms 12 gadiem
Ben Kurtovic
5b110b9cda
Update aggregate logic to match current situation.
pirms 12 gadiem
Ben Kurtovic
f4c33d86fb
Mixin -> MixIn
pirms 12 gadiem
Ben Kurtovic
ccc0440ebe
Massively shorten README; integrate Page with mwparserfromhell.
pirms 12 gadiem
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.
pirms 12 gadiem
Ben Kurtovic
db72929aec
Fix blocking
pirms 12 gadiem
Ben Kurtovic
5f41a1aa7a
Fudge default API query wait times a bit
- Plus a bugfix in RC.parse()
pirms 12 gadiem
Ben Kurtovic
7098cc591d
A number of improvements to afc_statistics
- run(): don't block sync()s if one is already running; instead, stop
the task
- get_special(): safely recover from API query exceptions that don't
release the site's SQL lock
- get_notes(): detect protocol-independent links as references, and
ignore links to the current site (#24 )
- get_special(): reduce 100-lookup limit to 50, since 100 is already
about three minutes of querying
pirms 12 gadiem