jesopo
|
2642bd7dac
|
show when a fediverse Note is nothing but an attachment
|
2019-11-04 13:19:37 +00:00 |
|
jesopo
|
516884acb8
|
only .decompose() when it's an empty and unknown tag
|
2019-11-04 12:51:24 +00:00 |
|
jesopo
|
62781badc4
|
better line normalisation for fediverse Activities
|
2019-11-04 11:18:34 +00:00 |
|
jesopo
|
bcdffacab5
|
add on_pause() and on_resume() for module - use in rest_api.py
|
2019-11-04 10:52:41 +00:00 |
|
jesopo
|
754269576a
|
change labeled-response WARN logging to DEBUG - it's mostly unimportant
|
2019-11-04 10:17:47 +00:00 |
|
jesopo
|
423e6b00b6
|
remove !timezone as !time now shows UTC offset
|
2019-11-04 10:11:57 +00:00 |
|
jesopo
|
9de95d17e5
|
how many times can i typo "utc"
|
2019-11-03 12:50:47 +00:00 |
|
jesopo
|
352f6b26d3
|
"GMT" -> "UTC"
|
2019-11-03 12:48:50 +00:00 |
|
jesopo
|
4826ac67f8
|
show "published" for "updated" releases - seems theres a bug that prevents the former
|
2019-11-01 17:58:07 +00:00 |
|
jesopo
|
79beb17aa3
|
show GMT offset in !time output
|
2019-11-01 16:06:35 +00:00 |
|
jesopo
|
1d777f88b3
|
support "event category" for github so we can e.g. show only approvals
|
2019-11-01 13:30:31 +00:00 |
|
jesopo
|
96d175bc31
|
fix Gitea release event return
|
2019-11-01 10:28:47 +00:00 |
|
fosslinux
|
7da08ffc80
|
tell user config setting is unchanged
|
2019-11-01 17:50:21 +11:00 |
|
Valentin Lorentz
|
135020b42f
|
Add .travis.yml to run mypy. (#192)
* Add typing to modules/tfl.py.
* Add .travis.yml to run mypy.
|
2019-11-01 06:10:35 +00:00 |
|
jesopo
|
307a767d22
|
'changed host (_@_)' -> 'changed host to _@_'
|
2019-10-31 15:51:24 +00:00 |
|
jesopo
|
a8113488aa
|
include CHGHOST lines in channel_log logs
|
2019-10-31 15:36:22 +00:00 |
|
jesopo
|
a73629bbf7
|
format and print CHGHOST events
|
2019-10-31 15:35:53 +00:00 |
|
jesopo
|
8831724af0
|
'element.contents' -> 'element.children' for consistency
|
2019-10-31 15:18:45 +00:00 |
|
jesopo
|
5d08a496a4
|
use lxml for parsing fedi Notes. html.parse is bad and unpredictable
|
2019-10-31 15:17:39 +00:00 |
|
jesopo
|
07c7afcf2e
|
use utils.parse.line_normalise in title.py
|
2019-10-31 10:27:42 +00:00 |
|
jesopo
|
10b5b19cff
|
don't try to parse empty <title>s
|
2019-10-31 10:27:00 +00:00 |
|
jesopo
|
930794c414
|
don't assume we're in a channel when we're not (title.py)
|
2019-10-31 10:26:00 +00:00 |
|
jesopo
|
aa4511e0d9
|
add server/channel config to disable command suggestions
|
2019-10-30 11:48:35 +00:00 |
|
jesopo
|
35cc2d539d
|
!seen seen-info should be per-channel, not network wide
closes #196
|
2019-10-30 11:42:00 +00:00 |
|
jesopo
|
4f5dbbb6e0
|
actually set server._sasl_timeout
|
2019-10-30 11:41:49 +00:00 |
|
jesopo
|
c0c1f85e83
|
timeout sasl/AUTHENTICATE handshakes after 15 seconds. closes #195
|
2019-10-30 11:20:07 +00:00 |
|
jesopo
|
0675285624
|
never bot.panic() on sasl hard fail - always just reconnect indefinitely
|
2019-10-30 11:03:55 +00:00 |
|
jesopo
|
9f7ef8e6d2
|
show youtube upload time as YYYY-MM-DD, not timespan
|
2019-10-30 10:25:18 +00:00 |
|
jesopo
|
3634b72622
|
add utils.date_human() - use it in badges.py
|
2019-10-30 10:25:07 +00:00 |
|
jesopo
|
8ec365ceef
|
don't record ACTIONs in markov chains
|
2019-10-29 18:09:57 +00:00 |
|
jesopo
|
d2b1250c97
|
boldify youtube video title so it stands out from all the information
|
2019-10-29 14:20:27 +00:00 |
|
jesopo
|
28139cdf68
|
show how long ago a youtube video was uploaded
closes #188
|
2019-10-29 10:20:29 +00:00 |
|
jesopo
|
6421cb6118
|
improve proxy.py socket override using nested function def
|
2019-10-28 18:11:57 +00:00 |
|
jesopo
|
18223a40ef
|
use the same formatting for "confidential_note" as "note"
|
2019-10-28 14:25:26 +00:00 |
|
jesopo
|
5a095b0787
|
support confidential notes on gitlab webhooks
|
2019-10-28 14:21:54 +00:00 |
|
jesopo
|
69e2511725
|
filter() needs a None arg
|
2019-10-28 14:14:46 +00:00 |
|
jesopo
|
7287d9d083
|
we still need to pass the base "event" to handler.webhook
|
2019-10-28 14:13:14 +00:00 |
|
jesopo
|
12abf0c271
|
'action' -> 'event_action'
|
2019-10-28 14:12:20 +00:00 |
|
jesopo
|
7766c889f4
|
support event 'category' for GitLab (e.g. Note events but only for Issues)
|
2019-10-28 14:10:42 +00:00 |
|
jesopo
|
6ee76af907
|
fix relay exception
|
2019-10-28 13:56:04 +00:00 |
|
jesopo
|
65c7279ce0
|
allow relaying channels on the same server
|
2019-10-28 13:55:50 +00:00 |
|
jesopo
|
9eacdee086
|
"id" -> "iid"
|
2019-10-28 12:38:29 +00:00 |
|
jesopo
|
d20ff91e99
|
'issue_comment' -> 'issue_note', fix issue id referencing
|
2019-10-28 12:37:21 +00:00 |
|
jesopo
|
07a3ba5222
|
strip '"<>() from <title> words when checking for title/url difference
|
2019-10-28 12:25:23 +00:00 |
|
jesopo
|
74d9bf4da3
|
_messag_factory._ should take a tags arg
|
2019-10-28 11:24:56 +00:00 |
|
jesopo
|
e6b4321f30
|
'_mesage_factory' -> '_message_factory'
|
2019-10-28 11:23:55 +00:00 |
|
jesopo
|
627e564dbd
|
_mess_factory -> _message_factory. funny typo lol
|
2019-10-28 11:23:02 +00:00 |
|
jesopo
|
6e16ed8d5e
|
pass confidential_issue through same parsing func as issue
closes #193
|
2019-10-28 11:20:46 +00:00 |
|
jesopo
|
802aa35e3d
|
support GitLab confidential issues
|
2019-10-28 11:17:56 +00:00 |
|
jesopo
|
7ee65f8f8c
|
remove src/utils/irc/protocol.py
|
2019-10-28 10:56:33 +00:00 |
|
jesopo
|
8f4b5a0e70
|
move IRCLine related code from utils.irc to IRCLine.py
|
2019-10-27 10:19:00 +00:00 |
|
jesopo
|
c4c076137d
|
fallback ActivityPub data encoding to utf8
|
2019-10-26 22:43:11 +01:00 |
|
jesopo
|
9053b2245c
|
we want both sides of the .split
|
2019-10-25 22:46:02 +01:00 |
|
jesopo
|
f92f2c9cc1
|
make repo_username the subgroup when present
|
2019-10-25 22:37:03 +01:00 |
|
jesopo
|
bbd7a58914
|
support gitlab subgroups in git_webhooks
|
2019-10-25 22:32:01 +01:00 |
|
jesopo
|
ddc70a6bd9
|
add !cmute/!cunmute to set +m/-m on current channel
|
2019-10-25 18:30:57 +01:00 |
|
jesopo
|
7e6e40965b
|
comma-separate likes/dislikes for youtube videos
|
2019-10-25 15:07:30 +01:00 |
|
jesopo
|
877287291a
|
reason arg of panic() shouldn't be optional, detect current exception
|
2019-10-25 14:31:09 +01:00 |
|
jesopo
|
fce791e38b
|
Fix !startvote advice on voting on the started vote
|
2019-10-25 14:21:47 +01:00 |
|
jesopo
|
b23cc1e1bd
|
Allow !vote to be restricted to voiced-and-above users
|
2019-10-25 14:21:30 +01:00 |
|
jesopo
|
869e91fc2a
|
'existing_server' -> 'server'
|
2019-10-25 13:39:00 +01:00 |
|
jesopo
|
6a2e4f70df
|
re-add lost git_webhook branch filtering
|
2019-10-25 11:29:27 +01:00 |
|
jesopo
|
39d14102f9
|
support channels GET param for git webhooks, to denote target channels
|
2019-10-25 10:09:17 +01:00 |
|
jesopo
|
51c914ebae
|
get account id (not just account name) from WHOX
closes #116
|
2019-10-20 18:27:06 +01:00 |
|
jesopo
|
f7aa56b8eb
|
also support twitter mobile urls
|
2019-10-20 17:10:01 +01:00 |
|
jesopo
|
31531949ce
|
flip create/delete tag detection logic
|
2019-10-20 13:39:04 +01:00 |
|
jesopo
|
a4fbc150c8
|
add missing ]
|
2019-10-20 13:36:26 +01:00 |
|
jesopo
|
b152c5e3a7
|
return None url param for tag_push
|
2019-10-20 13:34:41 +01:00 |
|
jesopo
|
e0403aa3d2
|
added gitlab Tag Push events
|
2019-10-20 12:51:11 +01:00 |
|
jesopo
|
ae549575e4
|
still show url when shortening is turned off
|
2019-10-19 18:58:29 +01:00 |
|
jesopo
|
4cce0bb54e
|
dont shorten git webhook urls by default
|
2019-10-19 17:09:04 +01:00 |
|
jesopo
|
ecca7927fe
|
youtube playlist info should be returning URL as a tuple item
|
2019-10-18 16:40:31 +01:00 |
|
jesopo
|
1c02de8a69
|
change !fedi "!" arg to still show CW but also show content of Note
|
2019-10-18 15:54:36 +01:00 |
|
jesopo
|
20a115e71d
|
add "!" arg to !fedi, to denote "dont show content warning"
|
2019-10-18 15:43:17 +01:00 |
|
jesopo
|
40a8406054
|
put a permission restriction on !tcpup - it could be abused for port scanning
|
2019-10-18 15:18:46 +01:00 |
|
jesopo
|
4391176c7f
|
major security fix: adding api keys should be admin-only
|
2019-10-18 15:17:04 +01:00 |
|
jesopo
|
f7d34e16bb
|
if a nickname has no location set, assume it's a location
|
2019-10-18 15:03:19 +01:00 |
|
jesopo
|
480a4f73a9
|
remove now-unused formatting params for urls
|
2019-10-18 14:07:34 +01:00 |
|
jesopo
|
86147ded77
|
pass git_webhook urls up to __init__.py to be shortened
|
2019-10-18 14:03:20 +01:00 |
|
jesopo
|
2b4f5dc75b
|
correctly color/phrase opened, closed and merged for MRs
|
2019-10-18 13:31:21 +01:00 |
|
jesopo
|
afd6800c98
|
show merge_request/merge events
|
2019-10-18 13:28:24 +01:00 |
|
jesopo
|
7d786baa65
|
"PR"->"MR" again, "open"->"opened" etc for MRs too
|
2019-10-18 12:20:23 +01:00 |
|
jesopo
|
b151e7eecd
|
'PR' -> 'MR' (they're "merge requests" on gitlab, not "pull requests")
|
2019-10-18 12:02:56 +01:00 |
|
jesopo
|
963d0d2de7
|
'opened' -> 'open' etc for gitlab event categories
|
2019-10-18 11:58:10 +01:00 |
|
jesopo
|
53b2407072
|
'open' -> 'opened' etc for gitlab issue webhook actions
|
2019-10-18 11:19:16 +01:00 |
|
jesopo
|
123cdcf0da
|
pull_request -> merge_request
|
2019-10-18 03:52:59 +01:00 |
|
jesopo
|
8ff4ad19eb
|
we should be showing 'title' (not 'description') for gitlab issue events
|
2019-10-17 11:50:57 +01:00 |
|
jesopo
|
a6093092b1
|
'issues' should be an alias for 'issue' in gitlab
|
2019-10-17 11:49:07 +01:00 |
|
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 |
|