Ben Kurtovic
015eb44a89
A bunch of updates.
há 12 anos
Ben Kurtovic
93228d5b08
Read cases from the database too.
há 12 anos
Ben Kurtovic
e2dcc9d50b
Add status parsing, plus start schema for the SQL table.
há 12 anos
Ben Kurtovic
8c8b497d63
Starting work
há 12 anos
Ben Kurtovic
ad0dd972cb
data.command, not self.command!
há 12 anos
Ben Kurtovic
7d52d4558a
Some updates to !lag.
há 12 anos
Ben Kurtovic
33aa1d6744
Collapse extra newlines to avoid distorting trigrams.
há 12 anos
Ben Kurtovic
96c815df35
Removing task that doesn't need to be run anymore.
há 12 anos
Ben Kurtovic
3ed6c709c2
Oops!
há 12 anos
Ben Kurtovic
14e2114acd
Made this a bit cleaner.
Will revise all permissions code eventually when adopting the
permissions.db system.
há 12 anos
Ben Kurtovic
b62e0d5140
Merge pull request #33 from Yulli/develop
Allow a normal user to devoice and deop themselves
há 12 anos
Justin Yulli Kim
86639a977c
A normal user can devoice and deop themselves
há 12 anos
Ben Kurtovic
c19a1bde2e
Determine which cookies apply to which domains better.
há 12 anos
Ben Kurtovic
3f1737717c
More accurate handling when using get_site(lang, project).
Some wikis (like frwiki), set their projects to localized forms of
the expected (so "wikipedia" becomes "wikipédia"). An additional
search by URL in _get_site_name_from_sitesdb() fixes this.
há 12 anos
Ben Kurtovic
46c3561ce8
Apparently cookie values are plus-quoted. Oops!
há 12 anos
Ben Kurtovic
b784fc7cd8
Fix a silly bug in passing cookiejars to Site objects.
* Apparently bool(cookiejar) is False if the cookiejar doesn't
contain any cookies, even if it exists. Change `if cookiejar` to
`if cookiejar is not None` to get around this.
há 12 anos
Ben Kurtovic
c2de168cb4
Log should be a bit nicer when we don't load any resources.
há 12 anos
Ben Kurtovic
7e733c39bb
Support for config options to disable loading default commands/tasks.
há 12 anos
Ben Kurtovic
c198ce27a7
Tuple, not list.
há 12 anos
Ben Kurtovic
bfe312aa81
Collate as utf8_unicode_ci
há 12 anos
Ben Kurtovic
19b2d19c45
Rename git and time files so they don't conflict with other imports.
há 12 anos
Ben Kurtovic
004dd0b51e
Refactor logging setup so it works when disabled.
há 12 anos
Ben Kurtovic
3ddbcd61c1
Adding schema for tasks.
há 12 anos
Ben Kurtovic
e71e9daadb
Store update_time as an int, not a float.
há 12 anos
Ben Kurtovic
e91ef765e6
Statistics table now returns unicode instead of strings, bitches.
há 12 anos
Ben Kurtovic
fcd7fddbdd
MD5 can't handle Unicode, so fully implement saving Unicode objects by fixing that.
há 12 anos
Ben Kurtovic
f993b847ab
Encode URLs as UTF-8 before opening them.
há 12 anos
Ben Kurtovic
e1ff76ba9f
gettattr -> getattr
há 12 anos
Ben Kurtovic
482db43b2e
Improve assert=bot.
há 12 anos
Ben Kurtovic
6a09f31d75
Retain results for three days instead of one.
há 12 anos
Ben Kurtovic
570168ed0e
Institute a timeout so we don't try to open these suspicious URLs forever.
há 12 anos
Ben Kurtovic
4895ad18e3
Make that line a bit shorter
há 12 anos
Ben Kurtovic
cf2101f922
Avoid race conditions where the page is edited while checking it.
há 12 anos
Ben Kurtovic
37336fc343
Whoops, use correct filename.
há 12 anos
Ben Kurtovic
292f04fe2d
Implemented limited wildcard matching in ExceptionsDB.
há 12 anos
Ben Kurtovic
08ceb6a4cf
Support for copyvio notes.
há 12 anos
Ben Kurtovic
164b18b742
Fixing !geolocate when IP is reserved or unknown.
há 12 anos
Ben Kurtovic
fc47ef6d92
Merge pull request #32 from Yulli/develop
Capitalise the beginning of all IRC replies.
há 12 anos
Justin Yulli Kim
5d60a6de8a
There's no such word as singluar, silly!
há 12 anos
Justin Yulli Kim
c7675b2bbf
Capitalise replies in everything else in one commit because Earwig
há 12 anos
Justin Yulli Kim
c532384026
Capitalise replies in !quit
há 12 anos
Justin Yulli Kim
ead64c5581
Capitalise replies in !praise
há 12 anos
Ben Kurtovic
971773fc11
Fake-implement _process_message() in IRCConnection.
há 12 anos
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
há 12 anos
Justin Yulli Kim
c93dc33cef
Capitalise replies in !link
há 12 anos
Justin Yulli Kim
bde94d7cc0
Capitalise replies in !langcode
há 12 anos
Justin Yulli Kim
da3efd2658
Capitalise replies in !help
há 12 anos
Justin Yulli Kim
462d19abb4
Capitalise replies in !lag
há 12 anos
Justin Yulli Kim
cc561a4b56
Capitalise replies in !git
há 12 anos
Justin Yulli Kim
51c6a0a473
Capitalise replies in !geolocate
há 12 anos