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
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
pirms 12 gadiem
Ben Kurtovic
dcf912b65b
Make cat.get_members() an iterator; make page.exists output nicer; cleanup
pirms 12 gadiem
Ben Kurtovic
bc75594704
!pending
pirms 12 gadiem
Ben Kurtovic
cfdfc49d78
Command.setup() like Task.setup(); config.commands like config.tasks
pirms 12 gadiem
Ben Kurtovic
526151e031
!geolocate command, plus some cleanup to other commands
pirms 12 gadiem
Ben Kurtovic
f11423ba31
Ported !langcode command ( #6 )
pirms 12 gadiem
Ben Kurtovic
b0371220da
Removed already-implemented commands from _old ( #6 )
pirms 12 gadiem
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
pirms 12 gadiem
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
pirms 12 gadiem
Ben Kurtovic
70c4c9d93d
Docstrings for Data
pirms 12 gadiem
Ben Kurtovic
bc9fdf28f4
A handful of fixes, cleanup, and improvements.
pirms 12 gadiem
Ben Kurtovic
0f4dc4c78b
commands.quit: use proper quit message when trigger is the bot's name
pirms 12 gadiem
Ben Kurtovic
fd80e98148
Looks like I missed a few lines
pirms 12 gadiem
Ben Kurtovic
e5371681c0
Fix some exceptions
pirms 12 gadiem
Ben Kurtovic
6450d99a0f
Better docstrings for a bunch of modules
pirms 12 gadiem
Ben Kurtovic
93c85b8f01
Merge branch 'feature/properties' into develop
pirms 12 gadiem
Ben Kurtovic
c1777b7037
Minor fix
pirms 12 gadiem
Ben Kurtovic
60da4423e2
Property-ify User; docstring cleanup
pirms 12 gadiem
Ben Kurtovic
ea1f416195
Update methods to attributes; some other changes
pirms 12 gadiem
Ben Kurtovic
1e0e9e3dd8
Cleanup docstrings in Page
pirms 12 gadiem
Ben Kurtovic
ed55ed1319
Update Page API to match documentation
pirms 12 gadiem
Ben Kurtovic
c22cc2dc5e
Docstring cleanup for more modules
pirms 12 gadiem
Ben Kurtovic
3cc62b4482
Docstring updates in Site
pirms 12 gadiem
Ben Kurtovic
513bfb0993
Property-ify Site
pirms 12 gadiem
Ben Kurtovic
6efebbfa43
Merge branch 'feature/exceptions' into develop
pirms 12 gadiem
Ben Kurtovic
443f0a5e72
Improve exception docstrings
pirms 12 gadiem
Ben Kurtovic
1b88f63d27
Moving two exceptions out of earwigbot.irc
pirms 12 gadiem
Ben Kurtovic
25f31124db
earwigbot.wiki.exceptions -> earwigbot.exceptions; cleanup
pirms 12 gadiem
Ben Kurtovic
ce1e598421
Two minor changes
pirms 12 gadiem
Ben Kurtovic
4a2893715d
Merge branch 'feature/documentation' into develop
Resolved conflicts in __init__.py and managers.py
pirms 12 gadiem
Ben Kurtovic
8d0a50970e
More reference fixes
pirms 12 gadiem
Ben Kurtovic
4aac14c3e1
Fixed some references, etc
pirms 12 gadiem
Ben Kurtovic
e4e9356d54
API docs
pirms 12 gadiem
Ben Kurtovic
17e29a1b84
Updates to wiki toolset documentation
pirms 12 gadiem
Ben Kurtovic
c51c83e94e
More documentation updates
pirms 12 gadiem
Ben Kurtovic
035f7b80fc
Use Sphinx magic; typo fixes
pirms 12 gadiem