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.
il y a 12 ans
Ben Kurtovic
c2de168cb4
Log should be a bit nicer when we don't load any resources.
il y a 12 ans
Ben Kurtovic
7e733c39bb
Support for config options to disable loading default commands/tasks.
il y a 12 ans
Ben Kurtovic
c198ce27a7
Tuple, not list.
il y a 12 ans
Ben Kurtovic
bfe312aa81
Collate as utf8_unicode_ci
il y a 12 ans
Ben Kurtovic
19b2d19c45
Rename git and time files so they don't conflict with other imports.
il y a 12 ans
Ben Kurtovic
004dd0b51e
Refactor logging setup so it works when disabled.
il y a 12 ans
Ben Kurtovic
3ddbcd61c1
Adding schema for tasks.
il y a 12 ans
Ben Kurtovic
e71e9daadb
Store update_time as an int, not a float.
il y a 12 ans
Ben Kurtovic
e91ef765e6
Statistics table now returns unicode instead of strings, bitches.
il y a 12 ans
Ben Kurtovic
fcd7fddbdd
MD5 can't handle Unicode, so fully implement saving Unicode objects by fixing that.
il y a 12 ans
Ben Kurtovic
f993b847ab
Encode URLs as UTF-8 before opening them.
il y a 12 ans
Ben Kurtovic
e1ff76ba9f
gettattr -> getattr
il y a 12 ans
Ben Kurtovic
482db43b2e
Improve assert=bot.
il y a 12 ans
Ben Kurtovic
6a09f31d75
Retain results for three days instead of one.
il y a 12 ans
Ben Kurtovic
570168ed0e
Institute a timeout so we don't try to open these suspicious URLs forever.
il y a 12 ans
Ben Kurtovic
4895ad18e3
Make that line a bit shorter
il y a 12 ans
Ben Kurtovic
cf2101f922
Avoid race conditions where the page is edited while checking it.
il y a 12 ans
Ben Kurtovic
37336fc343
Whoops, use correct filename.
il y a 12 ans
Ben Kurtovic
292f04fe2d
Implemented limited wildcard matching in ExceptionsDB.
il y a 12 ans
Ben Kurtovic
08ceb6a4cf
Support for copyvio notes.
il y a 12 ans
Ben Kurtovic
164b18b742
Fixing !geolocate when IP is reserved or unknown.
il y a 12 ans
Ben Kurtovic
fc47ef6d92
Merge pull request #32 from Yulli/develop
Capitalise the beginning of all IRC replies.
il y a 12 ans
Justin Yulli Kim
5d60a6de8a
There's no such word as singluar, silly!
il y a 12 ans
Justin Yulli Kim
c7675b2bbf
Capitalise replies in everything else in one commit because Earwig
il y a 12 ans
Justin Yulli Kim
c532384026
Capitalise replies in !quit
il y a 12 ans
Justin Yulli Kim
ead64c5581
Capitalise replies in !praise
il y a 12 ans
Ben Kurtovic
971773fc11
Fake-implement _process_message() in IRCConnection.
il y a 12 ans
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
il y a 12 ans
Justin Yulli Kim
c93dc33cef
Capitalise replies in !link
il y a 12 ans
Justin Yulli Kim
bde94d7cc0
Capitalise replies in !langcode
il y a 12 ans
Justin Yulli Kim
da3efd2658
Capitalise replies in !help
il y a 12 ans
Justin Yulli Kim
462d19abb4
Capitalise replies in !lag
il y a 12 ans
Justin Yulli Kim
cc561a4b56
Capitalise replies in !git
il y a 12 ans
Justin Yulli Kim
51c6a0a473
Capitalise replies in !geolocate
il y a 12 ans
Justin Yulli Kim
86c025836f
Capitalise replies in !dictionary
il y a 12 ans
Justin Yulli Kim
8682c4b631
Capitalise replies in !editcount
il y a 12 ans
Justin Yulli Kim
56c1c08f39
Capitalise replies in !chanops: !voice, !devoice, !op, !deop, !join, !part
il y a 12 ans
Justin Yulli Kim
4055aa4e95
Capitalise replies in !calc
il y a 12 ans
Justin Yulli Kim
3a2f423285
Capitalise replies in !crypt: !hash, !encrypt, !decrypt
il y a 12 ans
Justin Yulli Kim
c3138fd14c
Capitalise replies in !report
il y a 12 ans
Justin Yulli Kim
56d954c022
Capitalise replies in !submissions
il y a 12 ans
Justin Yulli Kim
ad452e43f6
Capitalise replies in !status
il y a 12 ans
Justin Yulli Kim
121a57d5a7
Capitalise replies in !pending
il y a 12 ans
Ben Kurtovic
e133d5cfdc
Don't ping in reply() if it's private.
il y a 12 ans
Ben Kurtovic
c1da237599
Remove redundant 'seconds'; use int division.
il y a 12 ans
Ben Kurtovic
700562c2a0
Format time deltas more nicely.
il y a 12 ans
Ben Kurtovic
f7054de9d8
short: 500b -> 1000b
il y a 12 ans
Justin Yulli Kim
fc1a143558
Capitalise the beginning of a sentence
il y a 12 ans
Ben Kurtovic
f4b2188351
Fixes for when special data is not known due to lag.
il y a 12 ans