Commit Graph

95 Commits (1bcbc0204530fd3f7b0930ed13306d794733843c)

Author SHA1 Message Date
Unknwon 3f7f4852ef fully support of webhooks for pull request
Unknwon 250be011c7 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
Unknwon 60110adc06 models/webhook: restrict deletion to be explicitly with repo and org ID
Unknwon 3d93532c87 fix can't get webhook detail of organization
Kim Carlbäcker d950bf68e3 Ignore Response Body for Slack Hooks ()
Unknwon d62ab49978 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
Unknwon ad513a20e9 Replace time.Time with Unix Timestamp (int64)
Unknwon ac78bae7b5 Replace uuid module with original package
Unknwon 297e772c20 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.
Kim "BKC" Carlbäcker edc414c584 Fixed Webhook URL-length Issue
Unknwon bf26808fb3 update README
Unknwon 404867f206 fix and fix
Unknwon f455125d4d fix
Unknwon 2be5837cb0 New push to base repo of base branch: retest all corresponding patches
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply
Unknwon 55ddf225bb webhook APIs
Unknwon f509c59ac1 new create webhook event
Unknwon 23f42d92c9 add webhook recent deliveries
Unknwon 2881456421 new webhooks list UI
Unknwon fa298a2c30 : Realtime webhooks
Unknwon 82f7a01ded : X-Gogs-Event header is empty
Unknwon d02e45f985 better naming on
Unknwon 6a23252edc able to allow insecure certification of webhook for
Joseph Crail 39c068400e Fix spelling errors in comments.
Unknwon 340a4595dd support duoshuo mirror of gravatar
Unknwon 52d66ba6c8 , use go-gogs-client
Unknwon 9dc3c93a6a , add/edit hook
Unknwon 8eb5120fbd , API: list user repos, list repo hooks
Unknwon 79262173a6 Webhook delivery locking & Hide repo for org members if they don't have access
Christopher Brickley f94d7c3f51 clarify name/username/owner/pusher for webhook
Unknwon 1b7adf57e9 fix https://github.com/go-xorm/xorm/issues/161
Unknwon 33659ed9a5 Fix
Christopher Brickley 132590fab8 update specific hook_task, not all
Christopher Brickley 85c35a6b8b add organization-level webhooks
Christopher Brickley 00a864e693 add commit compare functionality
Christopher Brickley 2bce24068d add Slack API webhook support
Unknwon 7e36bf448d Merge branch 'master' of github.com:gogits/gogs into dev
Conflicts:
	dockerfiles/README.md
Unknwon 9a1d5d2489 Finish new web hook pages
Unknwon 8dd07c0ddd New UI merge in progress
Unknown ad5ec45dd6 Fix
Unknown 1f58d6f5d9 Mirror fix on
Unknown 302c863cda Fix
Unknown e573855a4f Fix , support web hook
Unknown 94bccbb148 Finish edit and remove web hook
Unknown 24f614f6db Finish add web hook