2
0
Commit Graph

176 Commits

Author SHA1 Message Date
Bwko
af4af13e21 Fix crash caused by #647 (#708) 2017-01-20 21:47:09 +08:00
Ethan Koenig
a42a9c1da1 Fix permission bugs in team API (#647) 2017-01-20 13:16:10 +08:00
Ethan Koenig
39f1be75c3 API Endpoints for organization members (#645) 2017-01-20 10:31:46 +08:00
Philip Couling
ba108352be Attach to release (#673)
* Moved attachaments POST url from /issues/attachments to /attachments

* Implemented attachment upload on release page

* Implemented downloading attachments on the release page

* Added zip and gzip files to default allowed attachments

* Implemented uploading attachments on edit release

* Renamed UploadIssueAttachment to UploadAttachment
2017-01-15 22:57:00 +08:00
Ethan Koenig
255d466809 Bug fixes for webhook API (#650) 2017-01-14 10:14:48 +08:00
Ethan Koenig
47d2b91f76 API endpoint for subscribers (#598) 2017-01-07 11:13:02 +08:00
Ethan Koenig
209bf52ade API endpoint for stargazers (#597) 2017-01-06 15:05:09 +08:00
Lunny Xiao
2c8815931b build failed by deleting release by API (#562) 2017-01-03 11:45:56 +08:00
Ethan Koenig
a28c58faae Release API endpoints 2017-01-02 00:10:52 +01:00
Ethan Koenig
dc91fe23a6 API endpoints for forks (#509) 2016-12-31 09:15:45 +08:00
Ethan Koenig
6b40edb01a Repo permission bug fixes (#513) 2016-12-29 21:17:32 +08:00
Ethan Koenig
eddbd586b4 Permissions bug fix for webhooks 2016-12-28 20:12:23 +01:00
Ethan Koenig
e949a87a19 API endpoints for organization teams (#370) 2016-12-28 09:36:04 +08:00
Ethan Koenig
09046ea1de Remove redundant query in collaborator API (#516) 2016-12-28 09:09:54 +08:00
Ethan Koenig
b1250ad531 API Endpoints for collaborators (#375) 2016-12-26 15:37:01 +08:00
Ethan Koenig
3dd900f320 Organization webhook API endpoints 2016-12-25 14:51:57 +01:00
Bwko
05d752a067 Added sorting to the labels & milestones page (#199) 2016-12-24 22:41:09 +08:00
Ethan Koenig
cd43fa1ff5 API Endpoint for watching (#191) 2016-12-24 09:53:11 +08:00
Kim "BKC" Carlbäcker
ab3ebc106a issue comment api fix (#449)
* ListAllInRepo & Delete Issue-Comments

* Moar data in issue-comments
2016-12-22 16:29:26 +08:00
Denis Denisov
6669a9d490 Fix random string generator (#384)
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
2016-12-20 13:32:02 +01:00
Lunny Xiao
1b6d07d8d8 fixed vulnerabilities (#392) 2016-12-15 16:49:06 +08:00
Ethan Koenig
68806512c6 Bug fix for edit-hook API endpoint 2016-12-09 20:11:56 +01:00
Ethan Koenig
a0c1e6540b Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
2016-12-07 12:55:24 +01:00
Kim "BKC" Carlbäcker
2947e7b332 [API] Pull Requests (#248) 2016-12-02 12:10:39 +01:00
Kim "BKC" Carlbäcker
5bd365255c Linting 2016-12-02 09:31:44 +01:00
Kim "BKC" Carlbäcker
88ea8a5114 GitHub API Compliance (& linting) 2016-12-02 09:18:15 +01:00
Kim "BKC" Carlbäcker
e64c4ef56b Add undocumented endpoint for /repositories/:id 2016-12-02 09:18:15 +01:00
Kim "BKC" Carlbäcker
ea3af7405b Fix breakage from vendor-update 2016-11-29 11:50:22 +01:00
Lunny Xiao
7e88589865 golint fixed for modules/auth 2016-11-27 21:39:06 +08:00
Lunny Xiao
c9d61f0e2a Golint fixed for modules/setting (#262)
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
2016-11-27 18:14:25 +08:00
Lunny Xiao
9f958b7084 Golint fixed for modules/context 2016-11-25 14:53:59 +08:00
Lunny Xiao
ae73f40600 golint fixed for routers (#208) 2016-11-24 15:04:31 +08:00
Ethan Koenig
875d9751aa API endpoints for stars 2016-11-16 22:51:54 -05: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
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
740e0514cf And others 2016-11-07 17:53:22 +01:00
Sandro Santilli
fefdd3bbaf More... 2016-11-07 17:30:04 +01:00
Sandro Santilli
78d721a905 ACCESS_MODE_* -> AccessMode* 2016-11-07 17:20:37 +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
Sandro Santilli
2cc11efdcf Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git

Fixes #92

* Remove git alias for git module import (not needed)
2016-11-06 11:18:34 -02:00
Rémy Boulanouar
61ec6729e6 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Unknwon
d2fc115de3 #3515 use alert instead 500 for duplicated login source name 2016-08-31 00:56:10 -07:00
Andrey Nering
bb8ed178e6 Support Editorconfig on web editor 2016-08-30 20:30:47 -03:00
Unknwon
d3b79c7c68 #3459 code quality improvement 2016-08-29 20:00:06 -07:00
Unknwon
925f5f7673 #2966 code cleanup 2016-08-26 13:40:53 -07:00
Iwan Budi Kusnanto
1c10e03689 issues comment API : list, create, edit (#2966)
add `since` query string support to list issue comment
2016-08-26 11:23:21 -07:00
Unknwon
61bde9440a Web editor: improve code quality 2016-08-24 21:35:03 -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