Commit graph

40 commits

Author SHA1 Message Date
jesopo
09cfae75b8 github.py needs exports from git_webhooks 2020-10-17 14:07:02 +00:00
jesopo
49d9cbdb87 exports.get_one() -> exports.get() 2020-03-08 14:14:00 +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
d0d5cc4d08 split utils.datetime out in to .parse and .format 2020-01-30 21:20:56 +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
1d777f88b3 support "event category" for github so we can e.g. show only approvals 2019-11-01 13:30:31 +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
86147ded77 pass git_webhook urls up to __init__.py to be shortened 2019-10-18 14:03:20 +01:00
jesopo
c8ece388cc use detect_encoding=False in github webhook url shortening 2019-09-09 16:08:51 +01:00
jesopo
b692bc7e88 Show new label for PR 'labeled' events 2019-07-09 09:46:25 +01:00
jesopo
6626f60a64 show new label for issue 'labeled' events 2019-07-09 09:42:42 +01:00
jesopo
93b455d5b8 Don't double-shorten push range urls 2019-07-02 07:31:26 +01:00
jesopo
e6d8e75086 DEBUG log when trying to git.io-shorten a github url 2019-06-28 15:29:59 +01:00
jesopo
4006184385 remove dangling "," left over from moving code 2019-06-28 07:25:09 +01:00
jesopo
1e30e76cad only create a range url when we have commits 2019-06-28 06:51:58 +01:00
jesopo
d4fd841af2 Prefix PR commit outputs with "[PR] " 2019-06-27 11:27:15 +01:00
jesopo
1ef93e181f 'ref' -> 'sha' for getting PR commit titles 2019-06-27 11:21:09 +01:00
jesopo
e1f34c4b8a shortify push range url 2019-06-27 11:08:18 +01:00
jesopo
f61e3e2b99 pass single-commit url in to _format_push 2019-06-27 11:06:58 +01:00
jesopo
d7c4e9f67b forced does not exist; data["forced"] instead 2019-06-27 11:01:08 +01:00
jesopo
4f5af6f221 HTTP GET github PR commits url to get syncronise commit messages 2019-06-27 10:59:22 +01:00
jesopo
13f7ae682c Revert "Show commit message, not PR title, for PR pushes"
This reverts commit 24df8c996e.
2019-06-27 10:04:52 +01:00
jesopo
24df8c996e Show commit message, not PR title, for PR pushes 2019-06-26 15:13:01 +01:00
jesopo
12181bfec6 Add system to have multiple url shorteners and chose which to use 2019-06-25 17:53:00 +01:00
jesopo
622eda5a99 Don't show webhook notifications for private repos 2019-06-24 18:33:24 +01:00
jesopo
6b8120dc51 Add gitea.py, fix some consts being in the wrong file 2019-06-24 17:14:39 +01:00
jesopo
9ae97627c6 'webhooks' -> 'git-webhooks'. move all 'webhooks' settings to 'git-webhooks' 2019-06-24 15:51:55 +01:00
Renamed from modules/webhooks/github.py (Browse further)