Athurg Feng
|
52f3833811
|
Add Dingtalk webhook support (#4773)
* Add dingtalk webhook into html template
* Add Dingtalk's icon
* Insert dingtalk into repo's webhook page template
* Insert dingtalk into org's webhook page
* Add dingtalk into default webhook config
* Add locale string for add_dingtalk_hook_desc
* Update bindata
* Add dingtalk webhook form validator
* Add dingtalk hook task
* Add dingtalk hook create handler
* Add dingtalk hook edit handler
* Add dingtalk router
* Add dingtalk webhook task skeleton
* Add markdown link formatter
* Add Dingtalk ActionCard create wrapper
* Add support for dingtalk create event payload
* Add support for dingtalk delete event payload
* Add support for dingtalk fork event payload
* Add support for dingtalk push event payload
* Add support for dingtalk issue event payload
* Add support for dingtalk issue comment payload
* Add support for dingtalk pull event payload
* Add support for dingtalk release event payload
|
7 years ago |
Unknwon
|
4400d2fdd9
|
Refactoring: rename package routers -> routes
|
8 years ago |
Unknwon
|
2478b87432
|
Refactoring: rename ctx -> c
|
8 years ago |
Unknwon
|
edaf14f2b6
|
Refactoring: remove tool.TplName
|
8 years ago |
Unknwon
|
6fbb984ebf
|
Refactoring: rename pkg/base -> pkg/tool
|
8 years ago |
Unknwon
|
d05395fe90
|
Refactoring: rename modules -> pkg
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
|
8 years ago |
Unknwon
|
2807274e2d
|
repo/webhook: able to retrigger delivery history (#2187)
|
8 years ago |
Unknwon
|
9e8ffa14cb
|
webhook: add file status to push event (#3897)
|
8 years ago |
Unknwon
|
0ccd7c97ab
|
models: rename ErrUserNotExist -> errors.UserNotExist
|
8 years ago |
Unknwon
|
4e64e71e28
|
templates/repo/webhook: move to its own directory
|
8 years ago |
Unknwon
|
b615d670b3
|
webhook: add Release event (#2387)
|
8 years ago |
Unknwon
|
89cc6aa430
|
webhook: add issue comment event
|
8 years ago |
Unknwon
|
c93731339f
|
webhook: support Issues event (#2319)
Also addresses #3485.
|
8 years ago |
Unknwon
|
b06f299748
|
webhook: add fork event
|
8 years ago |
Unknwon
|
f0086e66ae
|
webhook: able to detect delete branch or tag (#2315)
|
8 years ago |
Unknwon
|
4f9c5981a9
|
refactoring: modules/auth/*_form.go -> modules/form
|
8 years ago |
Unknwon
|
60aca9ea18
|
webhook: also only enable certain types (#3356)
Add new config option '[webhook] TYPES’.
|
8 years ago |
Unknwon
|
bd970b8b27
|
webhook: only trigger specific webhook for test delivery (#3030)
|
8 years ago |
Unknwon
|
8216360da8
|
webhook: support color for Discord
|
8 years ago |
Unknwon
|
a07b1f630a
|
webhook: add native Discord support
|
8 years ago |
Unknwon
|
279e475b89
|
webhook: match email with real user in database for test delivery (#3652)
|
8 years ago |
Unknwon
|
03f7f3ee67
|
Some code renaming
|
8 years ago |
Unknwon
|
6f9a95f830
|
#2246 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
|
8 years ago |
Unknwon
|
94392a7af3
|
Fix empty repository panic on send test webhook
|
8 years ago |
Unknwon
|
dccb0c15b9
|
Replace convert.To with APIFormat calls
|
8 years ago |
Unknwon
|
3f7f4852ef
|
#2246 fully support of webhooks for pull request
|
8 years ago |
lstahlman
|
89f71b44f7
|
Add committer information to API and Webhooks. Also fixes #3271 (#3414)
|
9 years ago |
Unknwon
|
1f2e173a74
|
Refactor User.Id to User.ID
|
9 years ago |
Unknwon
|
60110adc06
|
models/webhook: restrict deletion to be explicitly with repo and org ID
|
9 years ago |
Unknwon
|
3d93532c87
|
#3274 fix can't get webhook detail of organization
|
9 years ago |
Unknwon
|
7ca5f8f119
|
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
|
9 years ago |
Unknwon
|
d62ab49978
|
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
|
9 years ago |
Unknwon
|
514382e2eb
|
Rename module: middleware -> context
|
9 years ago |
Unknwon
|
d5ca913b2f
|
#2639 add branch prefix for test webhook
|
9 years ago |
Unknwon
|
2765b5c7cf
|
#2630 fix wrong user avatar link in webhook
Was using the wrong method and now uses the method which checks if
the avatar link is relative or not.
|
9 years ago |
Unknwon
|
dce2a9e7e1
|
fix wrong slack webhook payload URL
|
9 years ago |
Unknwon
|
404867f206
|
fix #2105 and fix #1857
|
9 years ago |