Ben Kurtovic
e9a6b5e4ac
Fixing bug with private messages.
vor 12 Jahren
Ben Kurtovic
d30d984f05
Some refactoring.
vor 12 Jahren
Ben Kurtovic
83d9af5954
Typos are cruel.
vor 12 Jahren
Ben Kurtovic
c62fa09d79
Fix number of retrieved submissions when ignoring some.
vor 12 Jahren
Ben Kurtovic
174845a7ed
I stink.
vor 12 Jahren
Ben Kurtovic
359905aa60
Some additional bugfixes.
vor 12 Jahren
Ben Kurtovic
e8b078d4d0
More bugfixes and cleanup.
vor 12 Jahren
Ben Kurtovic
9bbc2b9e77
Title case for region names.
vor 12 Jahren
Ben Kurtovic
05b731c668
Removed stray instruction.
vor 12 Jahren
Ben Kurtovic
0365e0b3b3
Rollback most of the last commit, which was unnecessary as these values are API-loaded and therefore always unicode.
vor 12 Jahren
Ben Kurtovic
7905facfc1
More unicode fixes and refactoring.
vor 12 Jahren
Ben Kurtovic
1adf8b26cd
Some more fixes, mainly unicode-related.
vor 12 Jahren
Ben Kurtovic
0d1e5ebdc1
A couple fixes and improvements.
vor 12 Jahren
Ben Kurtovic
772fcf4836
.lower() on my_nick
vor 12 Jahren
Ben Kurtovic
9000187693
Fix signature for self.config.decrypt(node, *nodes).
vor 12 Jahren
Ben Kurtovic
3c9c63d573
Fix parse_kwargs
vor 12 Jahren
Ben Kurtovic
fd18f468f4
Resolve missing command issue.
vor 12 Jahren
Ben Kurtovic
4aa177dfd0
Fix NameError
vor 12 Jahren
Ben Kurtovic
b1392afd64
Fix regex
vor 12 Jahren
Ben Kurtovic
7bdff82971
Fix broken commands, manager, and Data.
vor 12 Jahren
Ben Kurtovic
22b826fd0c
Fix merge bug (Lock -> Rlock)
vor 12 Jahren
Ben Kurtovic
37e64e65cd
Updates and misc fixes, mainly to documentation.
vor 12 Jahren
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
vor 12 Jahren
Ben Kurtovic
9f7e5ea7bc
Move final bits of _old to notes.py
vor 12 Jahren
Ben Kurtovic
71ac38ea89
!trout command, plus an indent fix
vor 12 Jahren
Ben Kurtovic
17c99248ce
Rename tasks, remove feed_dailycats, add image_display_resize.
vor 12 Jahren
Ben Kurtovic
1afa10cbc5
Refactor actual praises out of praise; fix replag
vor 12 Jahren
Ben Kurtovic
09bfc441b0
Some anti-hardcoding refactor work and other fixes.
vor 12 Jahren
Ben Kurtovic
4b1d745e2c
Handle timezones correctly with pytz.
vor 12 Jahren
Ben Kurtovic
729aa04cc1
Site.url; some refactoring and cleanup
vor 12 Jahren
Ben Kurtovic
e11ce3f901
Adding afc_submissions command.
vor 12 Jahren
Ben Kurtovic
f7d1e9c681
Better flag handling
vor 12 Jahren
Ben Kurtovic
42072582cf
Correct parse error in RC.re_log, detect moves correctly.
vor 12 Jahren
Ben Kurtovic
5b110b9cda
Update aggregate logic to match current situation.
vor 12 Jahren
Ben Kurtovic
f4c33d86fb
Mixin -> MixIn
vor 12 Jahren
Ben Kurtovic
ccc0440ebe
Massively shorten README; integrate Page with mwparserfromhell.
vor 12 Jahren
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.
vor 12 Jahren
Ben Kurtovic
db72929aec
Fix blocking
vor 12 Jahren
Ben Kurtovic
5f41a1aa7a
Fudge default API query wait times a bit
- Plus a bugfix in RC.parse()
vor 12 Jahren
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
vor 12 Jahren
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
vor 12 Jahren
Ben Kurtovic
dcf912b65b
Make cat.get_members() an iterator; make page.exists output nicer; cleanup
vor 12 Jahren
Ben Kurtovic
bc75594704
!pending
vor 12 Jahren
Ben Kurtovic
cfdfc49d78
Command.setup() like Task.setup(); config.commands like config.tasks
vor 12 Jahren
Ben Kurtovic
526151e031
!geolocate command, plus some cleanup to other commands
vor 12 Jahren
Ben Kurtovic
f11423ba31
Ported !langcode command ( #6 )
vor 12 Jahren
Ben Kurtovic
b0371220da
Removed already-implemented commands from _old ( #6 )
vor 12 Jahren
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
vor 12 Jahren
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
vor 12 Jahren
Ben Kurtovic
70c4c9d93d
Docstrings for Data
vor 12 Jahren