Unknwon
0f14b92bce
MISC: minor fixes in webhook
7 years ago
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
0e6a6bf880
Refactoring: remove sessionRelease()
...
XORM supports automatic roll back in session Close() already.
8 years ago
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
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
8f52ab8201
models/repo_editor: add pull request test task after commit ( #4338 )
8 years ago
Unknwon
2807274e2d
repo/webhook: able to retrigger delivery history ( #2187 )
8 years ago
Unknwon
dee76e4189
models/webhook: add skip check for Release event
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
d43f5f17fd
webhook: fix push panic to organizational repository ( #4206 )
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
6ec859f2b0
webhook: send secret with SHA256 HMAC hex digest ( #3692 )
8 years ago
Unknwon
5ea0592f61
webhook: fix organizational webhook last delivery status cannot be updated
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
2322de653c
models/webhook: fix bad query
8 years ago
Unknwon
a07b1f630a
webhook: add native Discord support
8 years ago
Unknwon
127005d733
webhook: remove bad characters of Slack-type webhook for Discord ( #4088 )
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
03f7f3ee67
Some code renaming
8 years ago
Alexander Lunegov
7358e46815
Fix string format verbs ( #3637 )
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
c1ecb6c60a
modules/sync: add UniqueQueue
8 years ago
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api ( #3513 )
8 years ago
Unknwon
0b273ac4d5
#3383 code cleanup
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
250be011c7
Remove redundant Unix timestamp method call
...
Unix() already uses UTC as timezone
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
Kim Carlbäcker
d950bf68e3
Ignore Response Body for Slack Hooks #3169 ( #3256 )
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
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Unknwon
ac78bae7b5
Replace uuid module with original package
9 years ago
Unknwon
297e772c20
#2485 fix payloads mixed up for webhook
...
When repository contains a Slack type hook,
it changes original payload content.
This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
9 years ago
Kim "BKC" Carlbäcker
edc414c584
Fixed Webhook URL-length Issue #2465
9 years ago
Unknwon
bf26808fb3
update README
9 years ago
Unknwon
404867f206
fix #2105 and fix #1857
9 years ago
Unknwon
f455125d4d
fix #878
9 years ago
Unknwon
2be5837cb0
New push to base repo of base branch: retest all corresponding patches
9 years ago
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
9 years ago
Unknwon
55ddf225bb
webhook APIs
9 years ago
Unknwon
f509c59ac1
new create webhook event
9 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
9 years ago
Unknwon
2881456421
new webhooks list UI
9 years ago
Unknwon
fa298a2c30
#835 : Realtime webhooks
10 years ago
Unknwon
82f7a01ded
#1064 : X-Gogs-Event header is empty
10 years ago
Unknwon
d02e45f985
better naming on #891
10 years ago