Commit graph

88 commits

Author SHA1 Message Date
jesopo
c5bc9577df s_line, not s 2019-12-13 06:03:54 +00:00
jesopo
10e7e30150 only show the first line of a comment body 2019-12-12 12:18:36 +00:00
jesopo
8a265da8bf by default, show locked/unlocked events for issues/PRs 2019-12-06 07:11:31 +00:00
jesopo
2d21dfa229 utils.http.Response.data should always be bytes - add .decode and .soup 2019-11-26 13:42:01 +00:00
jesopo
531bc65889 explicitly say when an issue/PR was renamed
closes #209
2019-11-25 12:01:33 +00:00
jesopo
2c8a94dc4c show who opened a pull request for pull_request events when appropriate 2019-11-19 17:14:31 +00:00
jesopo
502dae0d75 'event["comment"]' -> 'data["comment"]' 2019-11-19 12:24:30 +00:00
jesopo
024452bbac expirental code to show comment content for github issue_comment webhooks 2019-11-19 12:22:46 +00:00
jesopo
5d01db8514 move all datetime-related code from utils/__init__ to utils.datetime 2019-11-15 13:59:09 +00:00
jesopo
3766262eab change git_webhooks hashes from 8 characters to 7 2019-11-11 13:38:09 +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
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
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
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
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
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
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
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
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
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
205049ab6f remove unused util functions in git_webhooks/gitea.py 2019-10-15 10:53:29 +01:00