Commit Graph

33 Commits (bac9424a62285e757114d1cc34961b6fa64829f7)

Author SHA1 Message Date
WGH 28c5ae27d6 Fix Slack webhook fork message ()
The order of forkee and fork was mixed up.
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs ()
* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
* move code.gitea.io/git to code.gitea.io/gitea/modules/git

* fix imports

* fix fmt

* fix misspell

* remove wrong tests data

* fix unit tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* enable Debug to trace the failure tests

* fix tests

* fix tests

* fix tests

* fix tests

* fix tests

* comment commit count tests since git clone depth is 50

* fix tests

* update from code.gitea.io/git

* revert change to makefile
zeripath 11e316654e
Fix deadlock in webhook PullRequest ()
Signed-off-by: Andrew Thornton <art27@cantab.net>
Lanre Adelowo 746cf22d8a handle milestone events for issues and PR ()
Lanre Adelowo 945804f800 Webhook for Pull Request approval/rejection ()
Lunny Xiao 6bdc556b7f
Fix some webhooks bugs ()
* fix some webhooks bugs

* update vendor

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix test

* fix clearlabels

* fix pullrequest webhook bug fix 

* update release webhook description

* remove unused code

* fix push webhook in pull request

* small changes
Lunny Xiao 24941a1046
Add more webhooks support and refactor webhook templates directory ()
* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* add more webhook support

* move hooks templates to standalone dir and add more webhooks ui

* fix tests

* update vendor checksum

* update vendor

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* load attributes when created release

* update comparsion doc
kolaente 95f2e2b57b Multiple assignees ()
Ethan Koenig 513375c429 Make URL scheme unambiguous ()
* Make URL scheme unambiguous

Redirect old routes to new routes

* Fix redirects to new URL scheme, and update template

* Fix branches/_new endpoints, and update integration test
Ethan Koenig b689bb6180 Webhooks for repo creation/deletion ()
* Webhooks for repo creation/deletion

* add createHookTask

* Add handles for GetSlackPayload and GetDiscordPayload
Ethan Koenig 1207bda94b Fix typos in models/ ()
Kim "BKC" Carlbäcker 42ec5ce740 Fix breakage from vendor-update
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
Bwko 33a2ac3830 Lint models/update.go & webhook_slack.go
Sandro Santilli a1c5f02444 Fix import path of go-sdk ()
From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Sandro Santilli 80eea77953 Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
Thomas Boerger 4c6c16f358
Replaced go-gogs-client with go-sdk imports
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git ()
* Replace gogits/git-module dependency with go-gitea/git

Fixes 

* Remove git alias for git module import (not needed)
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon dccb0c15b9 Replace convert.To with APIFormat calls
Unknwon 3f7f4852ef fully support of webhooks for pull request
Unknwon 19423957b1 rename import path
Unknwon 9a2e43bff2 move out git module and send push hook
Unknwon 76d4b9288b have fallback but empty value
Unknwon 05ba8622f0 move fallback to empty string
Unknwon e0bae9547a more fixes on
Unknwon 834d38a8fb add short version as fallback to Slack payload
Unknwon 55ddf225bb webhook APIs
Unknwon 8e92d4352f slack JSON indent
Unknwon f509c59ac1 new create webhook event
Unknwon 4217c2333c new create webhook UI