Commit graph

110 commits

Author SHA1 Message Date
David Schultz
904cb2d94c
git_webhooks/github.py: remove git url shortening 2022-01-19 21:32:50 -06:00
jesopo
49d9cbdb87 exports.get_one() -> exports.get() 2020-03-08 14:14:00 +00:00
jesopo
c7e3e42728 "=", not "==", for picking gitlab note object type 2020-02-17 16:27:51 +00:00
jesopo
f43efbabcc support gitlab wiki events 2020-02-17 11:52:32 +00:00
jesopo
df2240204d github PR events should use ["sender]["login"], not PR author 2020-02-17 11:39:09 +00:00
jesopo
1400fe5ce4 only purposefully show PR title on PR push events 2020-02-12 15:21:41 +00:00
jesopo
cc7c66883d show PR title in pull_request events 2020-02-12 11:35:18 +00:00
jesopo
6e90bf2412 show issue/pr title for issue_comment events 2020-02-10 10:37:27 +00:00
jesopo
d588760fc4 update other modules to use categorised require_access 2020-02-07 00:11:28 +00:00
jesopo
e65fecd1b2 actually return gitlab _note result 2020-02-03 19:35:54 +00:00
jesopo
c0f5367d34 pull project name from "project_name" when "project" doesn't exist 2020-02-03 11:36:47 +00:00
jesopo
18b27c256e check git-show-private *after* we have unfiltered_targets 2020-02-01 00:23:41 +00:00
jesopo
b4b610ec18 Revert "support gitea respository["private"] as well as project["visibility_level"]"
This reverts commit 7f659837ab.
2020-02-01 00:09:28 +00:00
jesopo
7f659837ab support gitea respository["private"] as well as project["visibility_level"] 2020-01-31 08:00:21 +00:00
jesopo
d0d5cc4d08 split utils.datetime out in to .parse and .format 2020-01-30 21:20:56 +00:00
jesopo
5c249ac6d6 'type'->'object'; 'type' is already in use 2020-01-29 11:12:56 +00:00
jesopo
c831984e20 'object'->'type' 2020-01-28 01:18:48 +00:00
jesopo
2bf277bbfc MergeRequest Notes do not have an "issue" item 2020-01-27 15:14:59 +00:00
jesopo
2e3a53a899 support gitlab MR/issue actions that we don't know about 2020-01-22 12:45:15 +00:00
jesopo
10676d70a6 default bot-wide private webhooks to enabled but per-channel disabled 2020-01-22 07:10:32 +00:00
jesopo
4346375a48 ignore gitlab issues events that have no action 2020-01-21 18:12:15 +00:00
jesopo
08162f8505 show issues/transferred by default for github webhooks 2020-01-05 23:20:08 +00:00
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