Alexander Lunegov
d5d21b67d2
Fix string format verbs (#3637)
pirms 7 gadiem
Sandro Santilli
c25063d834
Lint webhook.go, unexports simpleMarshalJSON (#198)
pirms 7 gadiem
Sandro Santilli
a1c5f02444
Fix import path of go-sdk (#141)
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
pirms 7 gadiem
Thibault Meyer
a4454f5d0f
Rewrite XORM queries
pirms 7 gadiem
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
pirms 7 gadiem
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"
pirms 7 gadiem
Sandro Santilli
aadd7dcdc3
And others
pirms 7 gadiem
Sandro Santilli
0b62aeb495
More MixedCase consts
pirms 7 gadiem
Sandro Santilli
80eea77953
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
pirms 7 gadiem
Thomas Boerger
4c6c16f358
Replaced go-gogs-client with go-sdk imports
pirms 7 gadiem
Thomas Boerger
648c6fdd60
Vet complains about "should have signature MarshalJSON() ([]byte, error)", replaced with custom name
pirms 7 gadiem
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs (#37)
pirms 7 gadiem
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
pirms 7 gadiem
Unknwon
c1ecb6c60a
modules/sync: add UniqueQueue
pirms 7 gadiem
Kurt Madel
67fb0fe6a5
added support to set pull_request event from api (#3513)
pirms 7 gadiem
Unknwon
0b273ac4d5
#3383 code cleanup
pirms 7 gadiem
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
pirms 7 gadiem
Unknwon
250be011c7
Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
pirms 8 gadiem
Unknwon
60110adc06
models/webhook: restrict deletion to be explicitly with repo and org ID
pirms 8 gadiem
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
pirms 8 gadiem
Kim Carlbäcker
d950bf68e3
Ignore Response Body for Slack Hooks #3169 (#3256)
pirms 8 gadiem
Unknwon
d62ab49978
#3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
pirms 8 gadiem
Unknwon
ad513a20e9
#2302 Replace time.Time with Unix Timestamp (int64)
pirms 8 gadiem
Unknwon
ac78bae7b5
Replace uuid module with original package
pirms 8 gadiem
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.
pirms 8 gadiem
Kim "BKC" Carlbäcker
edc414c584
Fixed Webhook URL-length Issue #2465
pirms 8 gadiem
Unknwon
bf26808fb3
update README
pirms 8 gadiem
Unknwon
404867f206
fix #2105 and fix #1857
pirms 8 gadiem
Unknwon
f455125d4d
fix #878
pirms 8 gadiem
Unknwon
2be5837cb0
New push to base repo of base branch: retest all corresponding patches
pirms 8 gadiem
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
pirms 8 gadiem
Unknwon
55ddf225bb
webhook APIs
pirms 8 gadiem
Unknwon
f509c59ac1
new create webhook event
pirms 8 gadiem
Unknwon
23f42d92c9
add webhook recent deliveries
pirms 8 gadiem
Unknwon
2881456421
new webhooks list UI
pirms 8 gadiem
Unknwon
fa298a2c30
#835: Realtime webhooks
pirms 9 gadiem
Unknwon
82f7a01ded
#1064: X-Gogs-Event header is empty
pirms 9 gadiem
Unknwon
d02e45f985
better naming on #891
pirms 9 gadiem
Unknwon
6a23252edc
able to allow insecure certification of webhook for #891
pirms 9 gadiem
Joseph Crail
39c068400e
Fix spelling errors in comments.
pirms 9 gadiem
Unknwon
340a4595dd
support duoshuo mirror of gravatar
pirms 9 gadiem
Unknwon
52d66ba6c8
#12, use go-gogs-client
pirms 9 gadiem
Unknwon
9dc3c93a6a
#12, add/edit hook
pirms 9 gadiem
Unknwon
8eb5120fbd
#12, API: list user repos, list repo hooks
pirms 9 gadiem
Unknwon
79262173a6
Webhook delivery locking & Hide repo for org members if they don't have access
pirms 9 gadiem
Christopher Brickley
f94d7c3f51
clarify name/username/owner/pusher for webhook
pirms 9 gadiem
Unknwon
1b7adf57e9
fix https://github.com/go-xorm/xorm/issues/161
pirms 9 gadiem
Unknwon
33659ed9a5
Fix #452
pirms 9 gadiem
Christopher Brickley
132590fab8
update specific hook_task, not all
pirms 9 gadiem
Christopher Brickley
85c35a6b8b
add organization-level webhooks
pirms 9 gadiem