Commit graph

2653 commits

Author SHA1 Message Date
jesopo
4a4a0ac45b dont fail !weather when we decide a nickname is a location 2019-10-16 15:53:34 +01:00
jesopo
6d29291f47 also catch m.youtube.com urls 2019-10-15 17:27:02 +01:00
jesopo
fa97f12689 support AP Notes with content outside of HTML tags (e.g. pleroma) 2019-10-15 16:44:28 +01:00
jesopo
491ad531c2 mapped event names for gitlab webhooks should be 'issue' not 'issues' 2019-10-15 16:20:41 +01:00
jesopo
f0a9f00b57 'issues' -> 'issue', 'pull_request' -> 'merge_request' 2019-10-15 16:14:15 +01:00
jesopo
2f94e7546f actually instantiate gitlab in git_webhooks/__init__.py 2019-10-15 16:10:18 +01:00
jesopo
be30cb81af add first draft of gitlab webhook support 2019-10-15 16:04:30 +01:00
jesopo
41f5c5d607 move cve.py to bitbot-modules repo 2019-10-15 15:27:44 +01:00
jesopo
3f4eebf85b show ,fedi latest-tweet also if it's a self-reply 2019-10-15 15:24:57 +01:00
jesopo
f739064d10 show first toot if it's a boost, fix Note boost formatting 2019-10-15 15:13:28 +01:00
jesopo
205049ab6f remove unused util functions in git_webhooks/gitea.py 2019-10-15 10:53:29 +01:00
jesopo
124fc4fc42 Set duck_lines to -1 when a duck is waiting to quack - do not allow bef/trap
closes #177
2019-10-15 10:33:13 +01:00
jesopo
e58e9a2058 add .back suffix to database backups 2019-10-14 18:13:43 +01:00
jesopo
fe16c0132f prune database backups even if there's more than 5 2019-10-14 18:07:18 +01:00
jesopo
11ade023e8 eat errors for failing to parse @commit 2019-10-14 14:03:47 +01:00
jesopo
a9111c7241 add ModuleManager.try_reload_modules(), to try reloading in a transaction
if any of the modules fails to reload, rollback and use the already loaded modules. closes #179
2019-10-14 12:56:04 +01:00
jesopo
af1fd37003 actually explicitly strip "unknown" html tags from fedi notes 2019-10-14 10:46:15 +01:00
jesopo
ea589b744f
Merge pull request #173 from panicbit/splitpoints
Adjust line splitpoints to word boundaries. closes #159
2019-10-12 21:50:24 +01:00
panicbit
c94327b58b Remove @staticmethod 2019-10-12 18:30:22 +02:00
James Lu
dda27c1b1c
Show 0 karma in the colour of gold™ 2019-10-11 23:23:58 -07:00
jesopo
3fc7294539 exit when all servers are disconnected after ctrl+c 2019-10-11 17:06:37 +01:00
jesopo
0207e8e2b6 Revert "no longer treat ctrl+c as "shutdown" - bitbotctl will take this job"
This reverts commit 73e6ede8cc.
2019-10-11 15:41:51 +01:00
jesopo
73e6ede8cc no longer treat ctrl+c as "shutdown" - bitbotctl will take this job 2019-10-11 15:39:01 +01:00
jesopo
a5eca53f0a we need both id and server for !disconnect 2019-10-10 18:02:55 +01:00
jesopo
dd94f3a918 '.values()' -> '.items()' 2019-10-10 17:16:00 +01:00
jesopo
0960740aca dont say a vote has changed when it's been "changed" to the same option 2019-10-10 17:15:03 +01:00
jesopo
c2f075599d ignore invalid utf8 in markov log imports 2019-10-10 16:36:59 +01:00
jesopo
fe1c2c0205 'channel.find_setting()' -> 'channel.find_settings()' 2019-10-10 15:27:49 +01:00
jesopo
4db34b087d server.hostmask() already exists 2019-10-10 12:19:34 +01:00
jesopo
d91cd02d34 change badges.py to use utils.datetime_utcnow() - less code dupe 2019-10-10 12:17:10 +01:00
jesopo
0331b763ff refactor multi-line-to-line normalisation to utils.parse.line_normalise(), use it in rss.py
closes #174
2019-10-10 10:33:18 +01:00
jesopo
cf1002a2a9 strip HTML from RSS entry titles
closes #174
2019-10-10 10:20:44 +01:00
jesopo
97c439a9d7 !editserver only need an alias to exist, not to be currently connected 2019-10-09 20:56:38 +01:00
panicbit
d069d4b83f Adjust line splitpoints to word boundaries 2019-10-09 20:54:42 +02:00
jesopo
87a7d74fc3 a chain has failed to generate if the result is the same as the input 2019-10-09 17:54:28 +01:00
jesopo
84ec6d812f format multi-line toots on a single line using things like double space 2019-10-09 16:44:54 +01:00
jesopo
5aba3f509e format multi-line tweets on a single line using things like double spaces 2019-10-09 15:35:20 +01:00
jesopo
1e1eeb9b7f only FORCE_SUCCESS for masterlogin when there's a permissions requirement 2019-10-09 14:29:25 +01:00
jesopo
6b8323b6f5 also split auto-title words on / 2019-10-09 12:58:25 +01:00
jesopo
27da1f314b [:,] shouldn't be optional because the wider group is 2019-10-09 10:33:31 +01:00
jesopo
7ea434e62e only accept space between word and modifier for word karma when : or , 2019-10-09 10:31:56 +01:00
jesopo
a43edd17ae duck_active should be when the duck spawns 2019-10-08 21:52:26 +01:00
jesopo
90df25cd8d typo, 'timer.repo()' -> 'timer.redo()' 2019-10-08 17:03:57 +01:00
jesopo
a2ccf85abf duck-prevent-highlight by default, improve !friends/!enemies query 2019-10-08 16:28:52 +01:00
jesopo
5035a5370c default !friends/!enemies to be for the current channel 2019-10-08 16:20:52 +01:00
jesopo
44a635b708 prefer url over id as it's usually a more user-friendly url 2019-10-08 16:07:35 +01:00
jesopo
921e59e0f8 !isupraw -> !tcpup 2019-10-08 16:02:29 +01:00
jesopo
ee64bfc5fc look back in logs for URL when non is provided to !isup 2019-10-08 15:56:25 +01:00
jesopo
15782908db add !isupraw - to check if a tcp connection is possible to a target
closes #120
2019-10-08 15:46:15 +01:00
jesopo
4157574516 show $n/$u/$h for ban-format-account help too 2019-10-08 15:08:16 +01:00