2
0
Commit Graph

187 Commits

Author SHA1 Message Date
Bo-Yi Wu
aebe120ee3 fix: trim the whitespaces for the search keyword (#893) 2017-02-11 12:00:01 +08:00
Ethan Koenig
a9db0af7c0 Fix bug in repos search (#884) 2017-02-10 09:30:26 +08:00
Ethan Koenig
d93ad53a2c Redirects for renamed repos (#807)
* Redirects for renamed repos

* Remove unused phrase from locales
2017-02-05 22:35:03 +08:00
Lunny Xiao
3f446a0c9c Add units concept for modulable functions of a repository (#742)
* Add units concept for modulable functions of a repository

* remove unused comment codes & fix lints and tests

* remove unused comment codes

* use struct config instead of map

* fix lint

* rm wrong files

* fix tests
2017-02-04 23:53:46 +08:00
Bo-Yi Wu
e31f423fd9 feat: Add search bar on user profile page. (#787) 2017-02-04 20:20:20 +08:00
Ethan Koenig
a8af939f69 Remove unneeded database loads (#814)
Remove unnecessary calls to repo.GetOwner() in context handlers
2017-02-02 20:33:56 +08:00
Lunny Xiao
daf375540f add milestone changed traker on issue view (#804) 2017-02-01 10:36:08 +08:00
Ethan Koenig
75c73ce6c7 Bug fixes and unit tests for models/issue_label (#802) 2017-02-01 09:31:35 +08:00
Lunny Xiao
7b8f94e246 Track labels changed on issue view & resolved #542 (#788)
* track labels changed on issue view & resolved #542

* add missing head comment & sort & fix refresh
2017-01-30 20:46:45 +08:00
Ethan Koenig
2592341cec Use handlers for API authorization (#723) 2017-01-26 19:54:04 +08:00
Ethan Koenig
0950716f25 Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
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