Commit Graph

346 Commits

Author SHA1 Message Date
wemeya
27efcc133d modify code as travis ci required 2016-05-20 17:56:01 +08:00
wemeya
45136996eb modify code as travis ci required 2016-05-20 17:39:49 +08:00
wemeya
a6fd1a5050 modify code as travis ci required 2016-05-20 17:12:23 +08:00
wemeya
888604fb0d modify code as travis ci required 2016-05-20 17:03:50 +08:00
wemeya
7c74b16eef add api for listing recent logs and changing user profile 2016-05-20 16:56:12 +08:00
Wenkai Yin
0b30d04455 sort tags by name 2016-05-20 14:02:44 +08:00
Wenkai Yin
cc8a4cbdab Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-20 11:50:50 +08:00
Wenkai Yin
1919f19459 remove useless codes 2016-05-20 11:38:24 +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
Wenkai Yin
6cd1813b86 1. user can get repositories of public project without login 2. add basic auth support for repository API 3. system admin can CRUD members of all projects 2016-05-19 18:36:40 +08:00
Tan Jiang
fcd0de0ca0 Merge branch 'master' into job-service 2016-05-19 16:12:21 +08:00
Tan Jiang
4510bdb113 provide api to stop running jobs of a policy 2016-05-19 16:10:25 +08:00
Wenkai Yin
fa5dbeeaf5 add update method for replication target 2016-05-19 13:08:27 +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
Tan Jiang
85ac6c762a api for getting jobs and policies 2016-05-17 18:49:02 +08:00
wemeya
313887967e change api for statistics and project 2016-05-17 17:03:40 +08:00
Tan Jiang
c45a3d205b Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-17 13:45:21 +08:00
Tan Jiang
f9b6b2f604 merge with master 2016-05-17 13:36:21 +08:00
Tan Jiang
bb3bebac13 dao methods for querying policy and jobs 2016-05-16 19:34:24 +08:00
wemeya
9017fe2b56 change code for statistics api and project detail api 2016-05-16 17:31:38 +08:00
wemeya
30f0081e3f Merge remote-tracking branch 'upstream/master' 2016-05-16 17:29:56 +08:00
Wenkai Yin
4641f2b89f add authtication to repository API 2016-05-16 14:39:57 +08:00
Tan Jiang
dd4c346826 refactor, associate statemachine to worker and reuse it 2016-05-13 21:43:17 +08:00
wemeya
d30fc97b3f modify code when project list length is 0 2016-05-13 16:39:22 +08:00
wemeya
c5b1b86d89 modify code where CI unpassed 2016-05-13 16:18:48 +08:00
wemeya
85ce86df1a change code of statistic api 2016-05-13 15:28:26 +08:00
wemeya
8c35e6ffa2 change code for statistic and project repo_count, role_id api 2016-05-13 22:45:30 +08:00
Daniel Jiang
d7c0bb66e2 Revert "introduce workerpool to handle jobs" 2016-05-13 14:49:12 +08:00
Tan Jiang
fd0d291931 Merge branch 'master' into job-service 2016-05-12 17:44:17 +08:00
wemeya
f43d6dab18 change api for statistics and project repo, roleid 2016-05-12 14:56:43 +08:00
wemeya
acb2d0252b change the comment of the function 2016-05-11 16:05:35 +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
Daniel Jiang
5ae6d7d16c Merge pull request #195 from ywk253100/sysadmin_has_all_privileges_for_projects
Sysadmin has all privileges for projects
2016-05-11 12:28:11 +08:00
Daniel Jiang
5e12fd694d Merge pull request #201 from ywk253100/search_api_modification_for_admin
Search api modification for admin
2016-05-11 12:04:27 +08:00
Tan Jiang
2752213ed1 Merge branch 'master' into job-service 2016-05-10 19:45:24 +08:00
Tan Jiang
4541ed27f0 job service rework 2016-05-10 19:38:50 +08:00
wemeya
be6bf2ab22 add statistic api for projects and repos 2016-05-10 15:10:19 +08:00
xiahaoshawn
cb9b8a7f55 change password for admin user when in LDAP mode 2016-05-09 20:57:41 +08:00
Wenkai Yin
56ccfc024a search api modification for admin 2016-05-09 16:48:59 +08:00
Wenkai Yin
8c8bad8602 sysadmin has all privileges for projects 2016-05-09 12:45:45 +08:00
Tan Jiang
8fba0b314f Merge branch 'master' into job-service 2016-05-03 13:52:50 +08:00
Wenkai Yin
0a873bc046 Merge remote-tracking branch 'upstream/master' into registry_api_util_update
Conflicts:
	api/repository.go
2016-04-29 15:18:22 +08:00
hmwenchen
5e8a6a6d55 Merge remote-tracking branch 'origin/master' into feature/accesslog
Enlarge registry timeout
2016-04-27 20:38:04 +08:00
Wenkai Yin
994b4e290b registry v2 API util 2016-04-27 17:59:43 +08:00
hmwenchen
f5b15e9f22 Merge remote-tracking branch 'origin/master' into feature/accesslog 2016-04-26 20:06:47 +08:00
Tan Jiang
8d9d639cbf Merge branch 'master' into job-service 2016-04-25 17:53:41 +08:00
Wenkai Yin
5b32c4cfbb using medie type of distribution 2016-04-25 13:31:58 +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
wy65701436
0bcb65f69a update changepassword to /api/users/:id/password 2016-04-20 22:27:47 -07:00
Tan Jiang
c7a7eb29a0 Merge remote-tracking branch 'upstream/job-service' into job-service 2016-04-20 14:33:12 +08:00
Tan Jiang
90d58c8774 prototype api for job management 2016-04-20 14:24:17 +08:00
Daniel Jiang
6779274b54 Merge pull request #113 from ywk253100/delete_image
API for deleting repository and tag
2016-04-19 13:58:24 +08:00
kunw
aef3d6cbef updates for create time localization of image detail and i18n of index title 2016-04-18 18:42:12 +08:00
Wenkai Yin
0b6e620f86 add credential interface 2016-04-18 18:24:08 +08:00
Wenkai Yin
4dc81927d3 remove useless code 2016-04-17 22:39:10 +08:00
Wenkai Yin
0cd7175a6b handler non-200 status code for standardAuthHandler 2016-04-15 17:01:59 +08:00
wy65701436
fc24341c17 update per comments, add support for basic auth 2016-04-15 01:55:33 -07:00
Wenkai Yin
85869f1b81 repo tag delete 2016-04-15 13:17:32 +08:00
wy65701436
7165156f2d update per comments, add support for basic auth 2016-04-14 21:33:48 -07:00
wy65701436
943d6ebd4c merge code with api/user; refactor api/users 2016-04-08 00:25:52 -07:00
wy65701436
b76acb6381 remove validate step as the duplication, and user model.User instead of new struct. 2016-04-05 20:26:24 -07:00
wy65701436
f54b942fd7 fix log issue 2016-04-05 02:45:47 -07:00
wy65701436
fb91857899 remove disabled import 2016-04-05 02:35:00 -07:00
wy65701436
be0d71d61d update /api/users to parse json data 2016-04-05 02:30:23 -07:00
wy65701436
948e5ad1c5 change register to api/users 2016-04-01 04:42:13 -07:00
Tan Jiang
cdef3629cc fix typo 2016-03-30 18:05:52 +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
Wenkai Yin
ac5bbc4657 db refactor 2016-03-28 15:34:41 +08:00
victoriazhengwf
da326282ea Import beego in api/base.go 2016-03-27 18:17:56 -07: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
victoriazhengwf
43041be61b Update logger for api/base.go 2016-03-25 02:22:07 -07:00
victoriazhengwf
e1fa43178a Use new logger 2016-03-24 23:55:53 -07:00
Tan Jiang
3e942e3db7 use the method in standard lib 2016-03-08 11:53:13 +08:00
Tan Jiang
615e4973c1 enable basic authentication 2016-03-07 22:27:47 +08: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
ed60d2245e golint refactor for dao 2016-02-26 11:26:54 +08:00
yinw
4a0b069994 golint refactor for model 2016-02-26 10:15:01 +08:00
yinw
da1b5305ed golint refactor for controller and service 2016-02-25 14:14:39 +08:00
yinw
25b2ea84b4 Merge remote-tracking branch 'upstream/golint-fix' into golint_refactor 2016-02-25 14:00:32 +08:00
yinw
1b6ecdb9a9 golint refactor for controller and service 2016-02-25 14:00:29 +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
9660645fe2 improve test coverage 2016-02-24 18:16:16 +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
Tan Jiang
f859348ac6 Initial commit 2016-02-01 19:59:10 +08:00