aboutsummaryrefslogtreecommitdiff
path: root/models/webhook.go
Commit message (Collapse)AuthorAge
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
* webhook: add headers to support spring config server (#5325)PHANI2018-07-09
| | | Spring cloud config server dependency spring cloud config monitor looks for X-Github-Event condition PropertyPathEndpoint.class -> GithubPropertyPathNotificationExtractor.class if ("push".equals(headers.getFirst("X-Github-Event"))) {...}
* *: use jsoniter to replace encoding/jsonUnknwon2018-06-09
|
* restore: reset original created_unix after insert (#5264)Unknwon2018-06-09
|
* models: skip JSON for fields skipped by XORMUnknwon2018-06-09
| | | | Reduce output JSON size by backup command
* models/mirror: shot push webhook after synced commits (#4528)Unknwon2018-06-03
|
* *: rename "gogits" to "gogs"Unknwon2018-05-27
|
* MISC: minor fixes in webhookUnknwon2017-11-18
|
* Add Dingtalk webhook support (#4773)Athurg Feng2017-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Refactoring: remove sessionRelease()Unknwon2017-06-11
| | | | XORM supports automatic roll back in session Close() already.
* models: remove redundant tags for primary keysUnknwon2017-05-21
|
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* models/repo_editor: add pull request test task after commit (#4338)Unknwon2017-03-25
|
* repo/webhook: able to retrigger delivery history (#2187)Unknwon2017-03-19
|
* models/webhook: add skip check for Release eventUnknwon2017-03-11
|
* webhook: add Release event (#2387)Unknwon2017-03-11
|
* webhook: add issue comment eventUnknwon2017-03-09
|
* webhook: support Issues event (#2319)Unknwon2017-03-09
| | | | Also addresses #3485.
* webhook: fix push panic to organizational repository (#4206)Unknwon2017-02-28
|
* webhook: add fork eventUnknwon2017-02-27
|
* webhook: able to detect delete branch or tag (#2315)Unknwon2017-02-27
|
* webhook: send secret with SHA256 HMAC hex digest (#3692)Unknwon2017-02-24
|
* webhook: fix organizational webhook last delivery status cannot be updatedUnknwon2017-02-22
|
* webhook: also only enable certain types (#3356)Unknwon2017-02-21
| | | | Add new config option '[webhook] TYPES’.
* webhook: only trigger specific webhook for test delivery (#3030)Unknwon2017-02-21
|
* models/webhook: fix bad queryUnknwon2017-02-20
|
* webhook: add native Discord supportUnknwon2017-02-18
|
* webhook: remove bad characters of Slack-type webhook for Discord (#4088)Unknwon2017-02-11
|
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* Some code renamingUnknwon2016-12-22
|
* Fix string format verbs (#3637)Alexander Lunegov2016-12-21
|
* #2018 able to sync now for mirrorsUnknwon2016-08-30
| | | | | - Refactor code to use sync.UniqueQueue - Closes #3509
* modules/sync: add UniqueQueueUnknwon2016-08-30
|
* added support to set pull_request event from api (#3513)Kurt Madel2016-08-24
|
* #3383 code cleanupUnknwon2016-08-24
|
* #2246 fully support of webhooks for pull requestUnknwon2016-08-14
|
* Remove redundant Unix timestamp method callUnknwon2016-07-23
| | | | Unix() already uses UTC as timezone
* models/webhook: restrict deletion to be explicitly with repo and org IDUnknwon2016-07-17
|
* #3274 fix can't get webhook detail of organizationUnknwon2016-07-16
|
* Ignore Response Body for Slack Hooks #3169 (#3256)Kim Carlbäcker2016-07-15
|
* #3057 retrieve webhook with repo_idUnknwon2016-07-08
| | | | | This prevents user retrieve arbitrary webhook by changing URL to access webhook from other unauthorized repositories.
* #2302 Replace time.Time with Unix Timestamp (int64)Unknwon2016-03-09
|
* Replace uuid module with original packageUnknwon2016-02-20
|
* #2485 fix payloads mixed up for webhookUnknwon2016-02-10
| | | | | | | | | 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.
* Fixed Webhook URL-length Issue #2465Kim "BKC" Carlbäcker2016-01-27
|
* update READMEUnknwon2015-12-05
|
* fix #2105 and fix #1857Unknwon2015-12-05
|
* fix #878Unknwon2015-11-18
|
* New push to base repo of base branch: retest all corresponding patchesUnknwon2015-10-24
|