2
0
Commit Graph

64 Commits

Author SHA1 Message Date
Ethan Koenig
255d466809 Bug fixes for webhook API (#650) 2017-01-14 10:14:48 +08:00
Andrey Nering
df3a195814 Create missing database indexes (#596) 2017-01-06 23:14:33 +08:00
Alexander Lunegov
6fb99b97ab Fix string format verbs (#3637) 2016-12-22 08:18:41 +01:00
Sandro Santilli
391858563b Lint webhook.go, unexports simpleMarshalJSON (#198) 2016-11-22 14:42:52 +08:00
Sandro Santilli
d246d7acb7 Fix import path of go-sdk (#141)
From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
2016-11-11 17:39:44 +08:00
Thibault Meyer
0971249a03 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
2016-11-10 21:05:52 +01:00
Thibault Meyer
50df9768f3 Rewrite XORM queries 2016-11-10 20:59:51 +01:00
Sandro Santilli
acb138c244 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
2016-11-10 17:24:48 +01:00
Sandro Santilli
5b2f4f227b 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"
2016-11-07 18:58:22 -02:00
Sandro Santilli
740e0514cf And others 2016-11-07 17:53:22 +01:00
Sandro Santilli
d02733c669 More MixedCase consts 2016-11-07 17:08:21 +01:00
Sandro Santilli
f368ff5d88 Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
2016-11-07 17:05:08 +01:00
Thomas Boerger
8370af17f2 Replaced go-gogs-client with go-sdk imports 2016-11-07 16:10:32 +01:00
Thomas Boerger
5e0505a6a7 Vet complains about "should have signature MarshalJSON() ([]byte, error)", replaced with custom name 2016-11-04 23:45:06 +01:00
Rémy Boulanouar
61ec6729e6 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Unknwon
de6b7fff77 #2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
7043b6b263 modules/sync: add UniqueQueue 2016-08-30 15:50:30 -07:00
Kurt Madel
95f5413f4f added support to set pull_request event from api (#3513) 2016-08-24 20:44:58 -07:00
Unknwon
36198ec56a #3383 code cleanup 2016-08-24 16:05:56 -07:00
Unknwon
a2c880ef17 #2246 fully support of webhooks for pull request 2016-08-14 03:32:24 -07:00
Unknwon
f97cea1903 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
2016-07-23 20:24:44 +08:00
Unknwon
f082ae1207 models/webhook: restrict deletion to be explicitly with repo and org ID 2016-07-17 08:33:59 +08:00
Unknwon
226cfcc702 #3274 fix can't get webhook detail of organization 2016-07-16 01:02:55 +08:00
Kim Carlbäcker
9c7d0fc84d Ignore Response Body for Slack Hooks #3169 (#3256) 2016-07-15 14:02:19 +08:00
Unknwon
0aa255fd7d #3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
2016-07-08 13:57:09 +08:00
Unknwon
dae318c33d #2302 Replace time.Time with Unix Timestamp (int64) 2016-03-09 19:53:30 -05:00
Unknwon
e106eb2000 Replace uuid module with original package 2016-02-20 18:13:12 -05:00
Unknwon
aee228d07e #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.
2016-02-10 15:21:39 -05:00
Kim "BKC" Carlbäcker
cfccfc75ca Fixed Webhook URL-length Issue #2465 2016-01-27 01:40:35 +01:00
Unknwon
1d4f2f021c update README 2015-12-05 13:50:43 -05:00
Unknwon
ce33563853 fix #2105 and fix #1857 2015-12-05 13:24:13 -05:00
Unknwon
869a990446 fix #878 2015-11-18 21:21:47 -05:00
Unknwon
b5a8f085b5 New push to base repo of base branch: retest all corresponding patches 2015-10-24 14:48:11 -04:00
Unknwon
dff1973db7 New push to head repo of head branch: regenerate patch and retest apply 2015-10-24 03:36:47 -04:00
Unknwon
32daad557e webhook APIs 2015-08-29 11:49:59 +08:00
Unknwon
4f756f6722 new create webhook event 2015-08-28 23:36:13 +08:00
Unknwon
2745423bd3 add webhook recent deliveries 2015-08-27 23:06:14 +08:00
Unknwon
33967fd492 new webhooks list UI 2015-08-26 21:45:51 +08:00
Unknwon
d0cf032a6c #835: Realtime webhooks 2015-07-25 21:32:04 +08:00
Unknwon
83ce2a5ef4 #1064: X-Gogs-Event header is empty 2015-03-18 04:51:02 -04:00
Unknwon
07795ce5be better naming on #891 2015-02-11 12:04:01 -05:00
Unknwon
a8ac54ff07 able to allow insecure certification of webhook for #891 2015-02-10 21:06:59 -05:00
Joseph Crail
39c068400e Fix spelling errors in comments. 2014-12-06 20:22:48 -05:00
Unknwon
340a4595dd support duoshuo mirror of gravatar 2014-11-16 20:27:04 -05:00
Unknwon
52d66ba6c8 #12, use go-gogs-client 2014-11-14 17:11:30 -05:00
Unknwon
9dc3c93a6a #12, add/edit hook 2014-11-13 12:57:00 -05:00
Unknwon
8eb5120fbd #12, API: list user repos, list repo hooks 2014-11-13 02:32:18 -05:00
Unknwon
79262173a6 Webhook delivery locking & Hide repo for org members if they don't have access 2014-10-09 19:01:22 -04:00
Christopher Brickley
f94d7c3f51 clarify name/username/owner/pusher for webhook 2014-09-17 09:20:14 -04:00
Unknwon
1b7adf57e9 fix https://github.com/go-xorm/xorm/issues/161 2014-09-12 18:58:24 -04:00