Commit Graph

57 Commits

Author SHA1 Message Date
Wenkai Yin
6f7c2aa5a5 return count of jobs which are failed when listing policies 2016-07-05 18:57:04 +08:00
Tan Jiang
3803029f33 add retry as a status of a job 2016-07-03 15:47:40 +08:00
Wenkai Yin
1c2babda0a move ProjectSorter to package model to avoid package import cycle 2016-06-27 14:46:06 +08:00
Wenkai Yin
3305e0406d fix #412 2016-06-27 14:37:26 +08:00
wemeya
9b41d9f5c1 add creator field to models/toprepo.go 2016-06-21 18:43:31 +08:00
wemeya
3b591e09e3 Merge remote-tracking branch 'upstream/new-ui-with-sync-image' into author 2016-06-21 10:57:02 +08:00
Tan Jiang
aa9fc2a083 resume running jobs when jobservice starts 2016-06-17 18:54:29 +08:00
Tan Jiang
d909405c11 add header comment 2016-06-16 14:57:45 +08:00
wemeya
41f5a7f468 add code to list author of top repos 2016-06-15 18:26:21 +08:00
Wenkai Yin
db9347135c bug fix 2016-06-14 17:33:37 +08:00
Wenkai Yin
df4766b43e add primary key annotation to models 2016-06-14 11:59:44 +08:00
Wenkai Yin
14e71f0052 Merge branch 'master' into sync_image
Conflicts:
	.travis.yml
	models/accesslog.go
	models/project.go
	models/user.go
2016-06-13 18:14:41 +08:00
Wenkai Yin
32857a9154 Merge pull request #329 from ywk253100/sync_image
filter policies by name and project ID
2016-06-13 16:57:43 +08:00
Wenkai Yin
39edccf549 filter policies by name and project ID 2016-06-13 16:49:46 +08:00
wemeya
0147ec8d3b Merge remote-tracking branch 'upstream/job-service' into develop 2016-06-07 20:35:24 +08:00
shixi_weimeng
8459fcf7dc change code for review 2016-06-06 23:07:17 +08:00
wemeya
411ead21fc change code for review 2016-06-06 17:53:36 +08:00
Wenkai Yin
3f6eace9cb pass golint 2016-06-06 17:36:48 +08:00
Wenkai Yin
f4e6d048b2 add validation to create, update policies and targets 2016-06-06 17:31:47 +08:00
wemeya
15ee62485f Merge remote-tracking branch 'upstream/job-service' into develop 2016-06-06 16:35:59 +08:00
Wenkai Yin
93a4158d21 rename url to endpoint 2016-06-03 16:16:31 +08:00
wemeya
eb62beba31 modify merge conflicts 2016-06-02 17:57:39 +08:00
Tan Jiang
bbac16a033 missed quotes around json tag... 2016-06-02 12:14:40 +08:00
Tan Jiang
1dcb19b519 role info need to be in user model for now 2016-06-02 12:07:30 +08:00
Tan Jiang
886fb8eb67 fix annotation error 2016-06-01 17:10:48 +08:00
Tan Jiang
33c979974d fix annotation error 2016-06-01 16:08:40 +08:00
Tan Jiang
bf86f1ff58 update attributes of api 2016-06-01 15:17:05 +08:00
Tan Jiang
05069eeed1 clean up code, update API url of job service 2016-05-30 14:44:03 +08:00
Tan Jiang
a2d2314708 add tags in db, and support tags in dao and job service api 2016-05-25 16:33:45 +08:00
Tan Jiang
86112c942b enable secret validation on UI and let job service use this secret to communicate with uI 2016-05-25 15:24:44 +08:00
wemeya
7c74b16eef add api for listing recent logs and changing user profile 2016-05-20 16:56:12 +08:00
Tan Jiang
fcd0de0ca0 Merge branch 'master' into job-service 2016-05-19 16:12:21 +08:00
Tan Jiang
85ac6c762a api for getting jobs and policies 2016-05-17 18:49:02 +08:00
wemeya
8c35e6ffa2 change code for statistic and project repo_count, role_id api 2016-05-13 22:45:30 +08:00
wemeya
8502d3da1b change api for statistics 2016-05-11 15:54:26 +08:00
Tan Jiang
4541ed27f0 job service rework 2016-05-10 19:38:50 +08:00
Tan Jiang
8fba0b314f Merge branch 'master' into job-service 2016-05-03 13:52:50 +08:00
hmwenchen
87b213c3ae Use registry 2.4 toget tag info from events 2016-04-26 20:06:21 +08:00
Tan Jiang
ee168ef1e3 add the model file of job 2016-04-25 12:31:42 +08:00
hmwenchen
957df50958 Minor change to comply with CI requirements 2016-04-22 20:26:28 +08: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
kunw
aef3d6cbef updates for create time localization of image detail and i18n of index title 2016-04-18 18:42:12 +08: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
Wenkai Yin
5b5b0593d7 remove useless definition 2016-03-29 13:39:24 +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
Tan Jiang
a462f118f1 update file names, remove tests folder 2016-02-29 10:50:47 +08:00
Tan Jiang
2cabd9c187 fix package comment issue 2016-02-26 18:54:14 +08:00
yinw
2a40866043 golint comment for model, dao and utils 2016-02-26 18:13:13 +08:00