Lanre Adelowo
401d7a11c5
Webhook for Pull Request approval/rejection ( #5027 )
6 years ago
Lunny Xiao
3f563b8b3d
fix webhook bug of response info is not displayed in UI ( #4000 )
7 years ago
Lunny Xiao
a619bd08b0
Add more webhooks support and refactor webhook templates directory ( #3929 )
* 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
7 years ago
Antoine GIRARD
00d731f93e
Add sensitive headers ( #3429 )
* Add HeaderWithSensitiveCase methods to respect casing
* Update webhook.go
7 years ago
Ethan Koenig
9ad13bf858
Fix SQL type error for webhooks ( #3424 )
7 years ago
Lunny Xiao
a5c212cd1e
Refactor struct's time to remove unnecessary memory usage ( #3142 )
* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add
7 years ago
Lunny Xiao
e4c0c3bbd0
Add dingtalk webhook ( #2777 )
* add dingtalk webhook type
* add vendor
* some fixes
* fix name check
* fix name check & improvment
7 years ago
Ethan Koenig
a186f896eb
Replace deprecated Id method with ID ( #2655 )
7 years ago
Lunny Xiao
c2b107fcb0
Use AfterLoad instead of AfterSet on Structs ( #2628 )
* use AfterLoad instead of AfterSet on Structs
* fix the comments on AfterLoad
* fix the comments on action AfterLoad
7 years ago
Lunny Xiao
d00b7dab75
Use created & updated instead BeforeInsert & BeforeUpdate ( #2482 )
* use created & updated instead BeforeInsert & BeforeUpdate
* fix vendor checksum
* only show generated SQL when development mode
* remove extra update column updated_unix
* remove trace config
7 years ago
Ethan Koenig
e4e41c4830
Webhooks for repo creation/deletion ( #1663 )
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
7 years ago
Lunny Xiao
c343c76467
fix orgnization webhooks ( #2422 )
* fix org webhooks
* remove trace code
7 years ago
Lunny Xiao
4a6aedf41c
fix webhook test ( #2415 )
* fix webhook test
* fix error message
* fix typo
7 years ago
Lunny Xiao
3d63ae00ae
Implementation of discord webhook ( #2402 )
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
7 years ago
Lauris BH
625f482b25
Refactor session close as xorm already does everything needed internally ( #2020 )
8 years ago
Rémy Boulanouar
971024dd63
Add Gitea Webhook ( #1755 )
* Replace Gogs by Gitea
* Fix missing changes
* Create Gitea webhook and put Gogs webhook apart.
8 years ago
Lunny Xiao
17f59fc0b5
fix potential sqlite lock
8 years ago
Ethan Koenig
9c781e8fd4
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Anton Skorokhod
8bcdef9ed6
Add X-GitHub-* headers for webhook to get clubhouse.io integration working ( #809 )
8 years ago
Ethan Koenig
55c5cb3c87
Bug fixes and unit tests for models/webhook ( #751 )
8 years ago
Ethan Koenig
af64dbf429
Bug fixes for webhook API ( #650 )
8 years ago
Andrey Nering
57b5bd07c9
Create missing database indexes ( #596 )
8 years ago
Alexander Lunegov
ace89e326a
Fix string format verbs ( #3637 )
8 years ago
Sandro Santilli
c707311d4f
Lint webhook.go, unexports simpleMarshalJSON ( #198 )
8 years ago
Sandro Santilli
827c85ad85
Fix import path of go-sdk ( #141 )
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
Thibault Meyer
b747797b29
Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries
# Conflicts:
# models/git_diff.go
# models/issue.go
# models/org.go
# models/pull.go
# models/repo.go
8 years ago
Thibault Meyer
5d29fda874
Rewrite XORM queries
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- 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
8 years ago
Sandro Santilli
f5ceddc42d
Fix type in unused constant name ( #111 )
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase
* Fix type in unused constant name
* Other MixCased fixes
* Complete MixerCasing of template constants
* Re uppercase LTS and LDAPS suffixes
* Uppercase JSON suffix in constant names
* Proper case LoginNoType
* Prefix unexported template path constants with "tpl"
8 years ago
Sandro Santilli
0daccd049a
And others
8 years ago
Sandro Santilli
d092b29641
More MixedCase consts
8 years ago
Sandro Santilli
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
57b14a247f
Vet complains about "should have signature MarshalJSON() ([]byte, error)", replaced with custom name
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
ea214daebe
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
a9fc6fad64
modules/sync: add UniqueQueue
8 years ago
Kurt Madel
697d960e80
added support to set pull_request event from api ( #3513 )
8 years ago
Unknwon
a0c3de4966
#3383 code cleanup
8 years ago
Unknwon
f60f4fc56e
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
d61bcdc10b
Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
9 years ago
Unknwon
9bdf738b7e
models/webhook: restrict deletion to be explicitly with repo and org ID
9 years ago
Unknwon
cb5bfbcc5f
#3274 fix can't get webhook detail of organization
9 years ago
Kim Carlbäcker
6364f982ce
Ignore Response Body for Slack Hooks #3169 ( #3256 )
9 years ago
Unknwon
7270678853
#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
9f43369667
#2302 Replace time.Time with Unix Timestamp (int64)
9 years ago
Unknwon
b1198310bb
Replace uuid module with original package
9 years ago
Unknwon
0e661c24d7
#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
cbae57c634
Fixed Webhook URL-length Issue #2465
9 years ago
Unknwon
a27adc0d73
update README
9 years ago