Lunny Xiao
4ec8551490
fix webhook bug of response info is not displayed in UI ( #4000 )
7 years ago
Lunny Xiao
24941a1046
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
b3fd94c13d
Add sensitive headers ( #3429 )
...
* Add HeaderWithSensitiveCase methods to respect casing
* Update webhook.go
7 years ago
Ethan Koenig
3968c1149e
Fix SQL type error for webhooks ( #3424 )
7 years ago
Lunny Xiao
f2e20c81b6
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
10b54df2b2
Add dingtalk webhook ( #2777 )
...
* add dingtalk webhook type
* add vendor
* some fixes
* fix name check
* fix name check & improvment
7 years ago
Ethan Koenig
aa962deec0
Replace deprecated Id method with ID ( #2655 )
7 years ago
Lunny Xiao
a8717e5e3a
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
005900baea
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
b689bb6180
Webhooks for repo creation/deletion ( #1663 )
...
* Webhooks for repo creation/deletion
* add createHookTask
* Add handles for GetSlackPayload and GetDiscordPayload
7 years ago
Lunny Xiao
04ec79579c
fix orgnization webhooks ( #2422 )
...
* fix org webhooks
* remove trace code
7 years ago
Lunny Xiao
3e6fed368b
fix webhook test ( #2415 )
...
* fix webhook test
* fix error message
* fix typo
7 years ago
Lunny Xiao
ced50e0ec1
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
6db387a21e
Refactor session close as xorm already does everything needed internally ( #2020 )
8 years ago
Rémy Boulanouar
e0c6ab2d44
Add Gitea Webhook ( #1755 )
...
* Replace Gogs by Gitea
* Fix missing changes
* Create Gitea webhook and put Gogs webhook apart.
8 years ago
Lunny Xiao
36f02c0c32
fix potential sqlite lock
8 years ago
Ethan Koenig
021904e4e6
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Anton Skorokhod
79ab69fe30
Add X-GitHub-* headers for webhook to get clubhouse.io integration working ( #809 )
8 years ago
Ethan Koenig
0934d1b1ea
Bug fixes and unit tests for models/webhook ( #751 )
8 years ago
Ethan Koenig
27fcf8d30a
Bug fixes for webhook API ( #650 )
8 years ago
Andrey Nering
84b7d29d34
Create missing database indexes ( #596 )
8 years ago
Alexander Lunegov
d5d21b67d2
Fix string format verbs ( #3637 )
8 years ago
Sandro Santilli
c25063d834
Lint webhook.go, unexports simpleMarshalJSON ( #198 )
8 years ago
Sandro Santilli
a1c5f02444
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
a4454f5d0f
Rewrite XORM queries
8 years ago
Sandro Santilli
4247304f5a
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
864d1b1f9f
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
aadd7dcdc3
And others
8 years ago
Sandro Santilli
0b62aeb495
More MixedCase consts
8 years ago
Sandro Santilli
80eea77953
Use MixedCase constant names
...
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
648c6fdd60
Vet complains about "should have signature MarshalJSON() ([]byte, error)", replaced with custom name
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
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
8 years ago
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
8 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
8 years ago
Kim Carlbäcker
d950bf68e3
Ignore Response Body for Slack Hooks #3169 ( #3256 )
8 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.
8 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