Commit Graph

51 Commits

Author SHA1 Message Date
Tan Jiang
e5c464f205 fix #801 2016-09-14 15:25:16 +08:00
Wenkai Yin
bcdec42346 Improve the performance of database when paginating large records for access logs, jobs and getting the top repositories 2016-09-02 18:35:31 +08:00
Wenkai Yin
bea2a034af 1.fix bugs in implements of storing repositories in DB 2.Complete project deletion 3.Refactor logic of listing the most favorate repositories 4.Refactor statistics 2016-09-02 16:24:25 +08:00
zgdxiaoxiao
02d5281f0c project api test and bugfix
1.add project api test
2.bugfix:the type of public in project.go is fixed to int32
2016-08-30 18:26:41 +08:00
Wenkai Yin
c98a7ebd9d Merge branch 'project_deletion' into m_t 2016-08-29 15:26:41 +08:00
Wenkai Yin
a592ed1204 add pagination support for listing projects 2016-08-26 13:51:39 +08:00
Wenkai Yin
c546c3a48b support project deletion 2016-08-23 15:56:30 +08:00
Wenkai Yin
3b827e36f5 support pagination for listing repositories, jobs and access logs
update
2016-08-01 17:54:12 +08:00
Tan Jiang
236a54f9bd handle DB error to return 409 when creating project 2016-07-19 13:35:39 +08:00
wemeya
8af26bb951 add regular expression to check project name 2016-06-24 16:52:08 +08:00
wemeya
f037b23fb8 modify code for test 2016-06-23 18:15:58 +08:00
Wenkai Yin
c1a8846a68 1. modify registry client 2. add https support 2016-06-21 16:39:03 +08:00
Wenkai Yin
836598f5c9 remove useless import 2016-06-15 13:42:19 +08:00
Wenkai Yin
fc8fbbcb98 bug fix: modify the implements of checking whether project name is in lower case 2016-06-15 13:31:00 +08:00
Wenkai Yin
db9347135c bug fix 2016-06-14 17:33:37 +08:00
wemeya
e985a587c2 modify as travis CI required 2016-06-02 19:15:23 +08:00
wemeya
26d7f77532 modify as travis CI required 2016-06-02 19:10:53 +08:00
wemeya
389a6037d5 change code as the review reqired 2016-06-02 17:33:10 +08:00
wemeya
0aade05222 change code according to comment 2016-05-31 17:38:51 +08:00
wemeya
53edb50eef modify code to search logs only relevant to the user 2016-05-30 17:11:39 +08:00
wemeya
4314c244e5 add instructions for new added api 2016-05-26 16:48:49 +08:00
Wenkai Yin
6b2b6dedd8 support Get /api/projects/:id 2016-05-26 13:59:03 +08:00
wemeya
25a88f8e29 change code for user and logapi 2016-05-25 14:21:01 +08:00
Wenkai Yin
7920803735 handle project name is nil 2016-05-20 11:32:12 +08:00
Wenkai Yin
8c86e786c2 user can get public projects without login 2016-05-20 11:16:19 +08:00
wemeya
155f8dc1a8 modify error message 2016-05-18 15:07:54 +08:00
wemeya
3e1bf8c862 change code for statistics and project api 2016-05-18 14:36:20 +08:00
wemeya
313887967e change api for statistics and project 2016-05-17 17:03:40 +08:00
wemeya
9017fe2b56 change code for statistics api and project detail api 2016-05-16 17:31:38 +08:00
wemeya
8c35e6ffa2 change code for statistic and project repo_count, role_id api 2016-05-13 22:45:30 +08:00
wemeya
d4cc5090e4 Merge remote-tracking branch 'upstream/master' 2016-05-11 15:55:03 +08:00
wemeya
8502d3da1b change api for statistics 2016-05-11 15:54:26 +08:00
Wenkai Yin
8c8bad8602 sysadmin has all privileges for projects 2016-05-09 12:45:45 +08:00
hmwenchen
5e8a6a6d55 Merge remote-tracking branch 'origin/master' into feature/accesslog
Enlarge registry timeout
2016-04-27 20:38:04 +08:00
wy65701436
9c655e710b Change to get uri from http request, and response with relative path of resource. 2016-04-24 21:10:15 -07:00
wy65701436
94422e9a71 add post return, add the URI to header location. 2016-04-22 02:57:39 -07:00
hmwenchen
dc96ded36a Merge with origin master 2016-04-22 09:18:51 +08:00
hmwenchen
ab6bb58c36 Add tag to accesslog 2016-04-22 00:28:59 +08:00
Tan Jiang
366d1bff6a merge with master 2016-03-30 17:59:58 +08:00
Wenkai Yin
f1a2942f6a db_role_refactor 2016-03-29 12:09:27 +08:00
victoriazhengwf
c8f3644622 Remove 'import beego' in api package 2016-03-27 18:13:33 -07:00
victoriazhengwf
474ae23cdb Use new logger for api package 2016-03-27 17:50:09 -07:00
Tan Jiang
2cabd9c187 fix package comment issue 2016-02-26 18:54:14 +08:00
Tan Jiang
4a24d642b7 add comments to pass golint 2016-02-26 18:35:55 +08:00
yinw
61f12f089d go vet refactor 2016-02-26 14:24:44 +08:00
yinw
4a0b069994 golint refactor for model 2016-02-26 10:15:01 +08:00
Tan Jiang
40fc5d8f4b fix issues except comments related in main, auth, api packages 2016-02-25 13:40:08 +08:00
Tan Jiang
ecedb882a1 replace status codes with constants in net/http 2016-02-24 14:31:52 +08:00
kunw
fd8c7a6405 fixed query dates params of access log filter 2016-02-19 12:34:18 +08:00
Tan Jiang
90aef78b1b refinement 2016-02-17 14:29:05 +08:00