Commit graph

2880 commits

Author SHA1 Message Date
jesopo
7643a962bd Refuse to get the title for any url that points locall 2019-04-25 15:58:58 +01:00
jesopo
9ac7ead57e Make masterlogin passwords one-time-use 2019-04-24 17:37:44 +01:00
jesopo
dffee4d223 Move REGEX_URL out of isgd.py and title.py in to utils.http 2019-04-24 15:46:54 +01:00
jesopo
cc9edc6adb link -> url 2019-04-24 15:37:14 +01:00
jesopo
50e3206a9f Aloow !shorten to find the last posted url and shorten it 2019-04-24 15:36:26 +01:00
jesopo
df42f1d9c5 Store full non-hashed auto-title url in setting value 2019-04-24 15:07:02 +01:00
jesopo
71eb640fbd Add ability to track (and show) who first send a specific link that was
auto-titled
2019-04-24 14:48:15 +01:00
jesopo
e095c56f77 Record and show when a !to was created 2019-04-24 14:32:56 +01:00
jesopo
dc102f258d Add Database.servers.get_by_alias, move IRCBot.get_server to
IRCBot.get_server_by_id, add IRCBot.get_server_by_alias and change
!connect/!disconnect to take aliases instead of IDs
2019-04-24 12:07:30 +01:00
jesopo
bd4fdfdc7b Add UNIQUE constraint for alias on servers table 2019-04-24 11:49:54 +01:00
jesopo
032f6fbc3b IRCServer.alias is no longer optional 2019-04-24 11:45:21 +01:00
jesopo
e3100bb64a Look at setting-specific part of export_settings to get validate function, not
the whole dang dictionary
2019-04-24 11:02:41 +01:00
jesopo
87340bcbf9 change utils.iso8601_format to default to no milliseconds, switch to using
utils.iso8601 functions in badges.py
2019-04-23 21:27:43 +01:00
jesopo
537613545d Only show 'submitted' pull_request_review events 2019-04-17 10:33:12 +01:00
jesopo
ee8c7813f7 Add IRCServer.send_raw so modules don't have to parse messages before sending
them
2019-04-16 13:47:45 +01:00
jesopo
959d6a067c Only show no-commit pushes when it's a force 2019-04-16 10:24:55 +01:00
jesopo
cc203f1756 Show a push event even when there's no commits in it 2019-04-16 10:20:11 +01:00
jesopo
34848324d5 Bump version to v1.4.0 2019-04-16 09:59:40 +01:00
jesopo
16083309ef Add a space between channel name and kick reason in format_activity.py 2019-04-16 07:54:07 +01:00
jesopo
884d7ab06a Boldify sed replacement text 2019-04-15 21:55:53 +01:00
jesopo
8ecd1f31c7 'set.py' -> 'config.py' 2019-04-15 17:08:01 +01:00
jesopo
a1ff2348a1 Eagle integration is depreciated 2019-04-15 17:07:08 +01:00
jesopo
9a5a4757dd Not all "<"s needed to be replaced with "&lt;" 2019-04-15 17:05:59 +01:00
jesopo
0b84c879d4 Replace "<" with "&lt;" 2019-04-15 17:04:43 +01:00
jesopo
f19fa24044 Put newlines between block quote formatting 2019-04-15 17:03:29 +01:00
jesopo
0c8e902281 Revert "Remove block quotes with code blocks"
This reverts commit ec5699ff15.
2019-04-15 17:03:10 +01:00
jesopo
ec5699ff15 Remove block quotes with code blocks 2019-04-15 17:02:18 +01:00
jesopo
371977af89 Remove additional paragraph from README.md that I missed 2019-04-15 16:59:55 +01:00
jesopo
d14eaa3148 Add first version of docs/help/setup.md and link to it in README.md 2019-04-15 16:59:27 +01:00
jesopo
81e9548827 Allow adding perform.py commands through chat and add !performexecute, to
execute all perform commands post-connect
2019-04-15 16:53:52 +01:00
jesopo
210125d90b Only allow 'current channel' !config logic when we're in a channel 2019-04-15 16:48:04 +01:00
jesopo
f60deba6c7 Add a master-admin login system, to have a bot-wide password to give any user
using it complete admin permissions - mostly intended to add new admin users
2019-04-15 14:52:08 +01:00
jesopo
e12ad21c1a Add/remove people from channels before received.join/received.part events 2019-04-15 14:41:09 +01:00
jesopo
cf9898d5bd Support continuous alias arg replacements (e.g. "index 1 onwards" using "$1-") 2019-04-14 21:54:02 +01:00
jesopo
9e79320d50 'closed #123 without merging' -> 'closed #123' 2019-04-11 13:09:30 +01:00
jesopo
225c0d7793 Don't remove the first char of 'setting' twice 2019-04-07 17:46:35 +01:00
jesopo
2947b92792 Show result when a setting is unset 2019-04-07 17:45:35 +01:00
jesopo
5611f4ceef Strip "-" from setting name when first checking if it exists 2019-04-07 17:43:00 +01:00
jesopo
56dcc2306b Remove "-" from setting name before getting its value 2019-04-07 17:38:52 +01:00
jesopo
444f37c3da Add a way to unset a setting with !config 2019-04-07 17:36:29 +01:00
jesopo
d4c7c41c79 Add !config command, to group all settings activities in to 1 command 2019-04-07 14:00:27 +01:00
jesopo
272b60842e 'IRCChannels._get_id' -> 'IRCChannels.get_id' 2019-04-07 13:59:53 +01:00
jesopo
b6d04152d0 Show QUIT reason as "" not None 2019-04-02 21:17:01 +01:00
jesopo
0b1c07b1ed Set PART reason to "" when it's None 2019-04-02 16:56:15 +01:00
jesopo
ad166a7d0a Correctly support SETNAME being targetted at us 2019-04-02 14:21:16 +01:00
jesopo
42f79d8f26 .get eage-api-key and url in nr.service() to handle it not being present 2019-04-01 07:50:19 +01:00
jesopo
c697c58b52 set cve.py's _name to all caps "CVE" 2019-03-28 21:54:18 +00:00
jesopo
f39b723af4 Added cve.py 2019-03-28 21:47:35 +00:00
jesopo
023c6c9264 Only strip word stops from the right of a word 2019-03-28 14:35:20 +00:00
jesopo
3f8d5e9f50 Also human-ify coin bet amounts in a flip 2019-03-21 21:09:53 +00:00