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.
há 12 anos
Ben Kurtovic
db72929aec
Fix blocking
há 12 anos
Ben Kurtovic
5f41a1aa7a
Fudge default API query wait times a bit
- Plus a bugfix in RC.parse()
há 12 anos
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
há 12 anos
Ben Kurtovic
b0371220da
Removed already-implemented commands from _old ( #6 )
há 12 anos
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
há 12 anos
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
há 12 anos
Ben Kurtovic
70c4c9d93d
Docstrings for Data
há 12 anos
Ben Kurtovic
bc9fdf28f4
A handful of fixes, cleanup, and improvements.
há 12 anos
Ben Kurtovic
0f4dc4c78b
commands.quit: use proper quit message when trigger is the bot's name
há 12 anos
Ben Kurtovic
fd80e98148
Looks like I missed a few lines
há 12 anos
Ben Kurtovic
e5371681c0
Fix some exceptions
há 12 anos
Ben Kurtovic
6450d99a0f
Better docstrings for a bunch of modules
há 12 anos
Ben Kurtovic
93c85b8f01
Merge branch 'feature/properties' into develop
há 12 anos
Ben Kurtovic
c1777b7037
Minor fix
há 12 anos
Ben Kurtovic
60da4423e2
Property-ify User; docstring cleanup
há 12 anos
Ben Kurtovic
ea1f416195
Update methods to attributes; some other changes
há 12 anos
Ben Kurtovic
1e0e9e3dd8
Cleanup docstrings in Page
há 12 anos
Ben Kurtovic
ed55ed1319
Update Page API to match documentation
há 12 anos
Ben Kurtovic
c22cc2dc5e
Docstring cleanup for more modules
há 12 anos
Ben Kurtovic
3cc62b4482
Docstring updates in Site
há 12 anos
Ben Kurtovic
513bfb0993
Property-ify Site
há 12 anos
Ben Kurtovic
6efebbfa43
Merge branch 'feature/exceptions' into develop
há 12 anos
Ben Kurtovic
443f0a5e72
Improve exception docstrings
há 12 anos
Ben Kurtovic
1b88f63d27
Moving two exceptions out of earwigbot.irc
há 12 anos
Ben Kurtovic
25f31124db
earwigbot.wiki.exceptions -> earwigbot.exceptions; cleanup
há 12 anos
Ben Kurtovic
ce1e598421
Two minor changes
há 12 anos
Ben Kurtovic
4a2893715d
Merge branch 'feature/documentation' into develop
Resolved conflicts in __init__.py and managers.py
há 12 anos
Ben Kurtovic
8d0a50970e
More reference fixes
há 12 anos
Ben Kurtovic
4aac14c3e1
Fixed some references, etc
há 12 anos
Ben Kurtovic
e4e9356d54
API docs
há 12 anos
Ben Kurtovic
17e29a1b84
Updates to wiki toolset documentation
há 12 anos
Ben Kurtovic
c51c83e94e
More documentation updates
há 12 anos
Ben Kurtovic
035f7b80fc
Use Sphinx magic; typo fixes
há 12 anos
Ben Kurtovic
dfb4183e69
Adding docs/
há 12 anos
Ben Kurtovic
80091b2de3
Updating README and class docstrings throughout wiki toolset
* Much of the documentation doesn't match the code; code will be
updated in develop soon
há 12 anos
Ben Kurtovic
97e31b8a5d
RC objects are now work correctly for non-enwiki sites
há 12 anos
Ben Kurtovic
b2a3cedd9f
Fix !help <command>
há 12 anos
Ben Kurtovic
97c1710acf
Minor logic fix
há 12 anos
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
há 12 anos
Ben Kurtovic
b35b640268
Merge branch 'feature/external-blowfish' into develop
há 12 anos
Ben Kurtovic
a8da1245b7
Fix wiki password
há 12 anos
Ben Kurtovic
1fc9028294
Adjust imports
há 12 anos
Ben Kurtovic
e67ea9a91f
Replacing custom Blowfish implementation with pycrypto
há 12 anos
Ben Kurtovic
025a7b3e37
More minor unicode fixes
há 12 anos
Ben Kurtovic
00ae6f8e46
Code cleanup and bugfixes
há 12 anos
Ben Kurtovic
f84747800c
Bugfixes, pyflakes compliance etc
há 12 anos
Ben Kurtovic
f5f41ed75b
Catch errors when updating or tracking so it doesn't stop the whole task
há 12 anos
Ben Kurtovic
4c9b541fac
Properly urlencode when we're dealing with unicode objects
há 12 anos
Ben Kurtovic
453059c217
Thread safety in Site, bugfix in Category, cleanup in Page
há 12 anos