Commit Graph

184 Commits

Author SHA1 Message Date
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
218057d5ba the user can be added again after deletion 2016-09-02 17:32:56 +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
wy65701436
6fc5fb868c add testing code, fix issue, add more pull action into getTopRepos. 2016-08-31 03:17:57 -07:00
wy65701436
5a919bec50 add testing code, fix issue. 2016-08-31 03:11:51 -07:00
wy65701436
7bb67cf6ce add testing code, fix issue. 2016-08-31 03:05:34 -07:00
wy65701436
3e0829e831 add testing code, fix issue. 2016-08-31 02:50:48 -07:00
wy65701436
428d429e17 add testing code, fix issue. 2016-08-31 02:38:06 -07:00
wy65701436
b081909de7 add testing code. 2016-08-31 02:03:47 -07:00
wy65701436
aba1a33f46 Add repo into DB, update code per comments 2016-08-29 06:21:49 -07: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
2d91b8c3fd bug fix for policy deletion: wrong column name 2016-08-18 11:43:45 +08:00
Wenkai Yin
ff348be048 1. support policy deletion 2. bug fix: missing semicolon in js 2016-08-12 17:59:25 +08:00
Tan Jiang
64be247565 improve test coverage for dao 2016-08-05 16:24:49 +08:00
Tan Jiang
fa18ab3a75 merge with master 2016-08-03 17:15:00 +08:00
Tan Jiang
a74cf7e68b remove creator field from top repo query 2016-08-03 10:39:33 +08:00
Wenkai Yin
3b827e36f5 support pagination for listing repositories, jobs and access logs
update
2016-08-01 17:54:12 +08:00
Wenkai Yin
e14a03259e order jobs by update time 2016-07-14 17:54:25 +08:00
Wenkai Yin
67a8c8631a fix #520 #521 #522 2016-07-13 15:51:57 +08:00
Wenkai Yin
51627d4d40 pass go test 2016-07-06 12:18:59 +08:00
Wenkai Yin
0f557d54ef count status 'retrying' 2016-07-06 11:44:58 +08:00
Wenkai Yin
6f7c2aa5a5 return count of jobs which are failed when listing policies 2016-07-05 18:57:04 +08:00
Daniel Jiang
fa7e3b4666 Merge pull request #445 from ywk253100/filter_job_by_time
filter jobs by time
2016-06-29 18:46:50 +08:00
Wenkai Yin
0c7f2142ff pass go test 2016-06-29 17:15:49 +08:00
Wenkai Yin
60e15cc1fa filter jobs by time 2016-06-29 16:58:16 +08:00
Daniel Jiang
5704b2431f Merge pull request #426 from wemeya/author
add method to test GetTopRepos
2016-06-29 13:44:35 +08:00
Wenkai Yin
1c8cdb8a6b 1.order jobs by create time desc 2.open job log in browser 3.update start time of policy when the policy is enabled 4.do not push manifest if it already exists 2016-06-28 11:06:56 +08:00
Wenkai Yin
10adb7567f filter jobs by status 2016-06-27 16:24:04 +08:00
wemeya
e74b245cd6 add method to test GetTopRepos 2016-06-27 14:26:41 +08:00
wemeya
c4734205e4 Merge remote-tracking branch 'upstream/new-ui-with-sync-image' into author 2016-06-23 15:54:50 +08:00
wemeya
f3203272e2 modify sql where condition 2016-06-22 16:36:36 +08:00
Wenkai Yin
b985c5bed4 1.only target of disabled policy can be modified 2.duplicated policy can not be created 2016-06-22 14:19:19 +08:00
wemeya
5f9edba5a6 modify code for travis CI 2016-06-22 14:15:32 +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
f6a9f67613 fix golint issues 2016-06-20 13:04:27 +08:00
Tan Jiang
bc5d71ee86 merge 2016-06-17 18:58:16 +08:00
Tan Jiang
aa9fc2a083 resume running jobs when jobservice starts 2016-06-17 18:54:29 +08:00
Wenkai Yin
7747e72c28 filter jobs by policy ID and repository 2016-06-17 11:34:52 +08:00
Daniel Jiang
dfa8fdb15e Merge pull request #348 from reasonerjt/job-service
add comment to source files
2016-06-16 15:03:53 +08:00
Tan Jiang
d909405c11 add header comment 2016-06-16 14:57:45 +08:00
Wenkai Yin
3450b0160b pass govet 2016-06-16 14:24:35 +08:00
Wenkai Yin
8939b54448 1. support updating the target of policy 2. can not delete a target if it is being used 2016-06-16 14:18:23 +08:00
wemeya
41f5a7f468 add code to list author of top repos 2016-06-15 18:26:21 +08:00
Wenkai Yin
96c9e4c202 bug fix: when no rows found, return nil not error 2016-06-15 11:29:14 +08:00
Wenkai Yin
db9347135c bug fix 2016-06-14 17:33:37 +08:00
Wenkai Yin
8f56e9fc4a Merge pull request #330 from ywk253100/sync_image
add modify policy
2016-06-13 17:54:05 +08:00
Wenkai Yin
bc0aa21441 add modify policy 2016-06-13 17:32:22 +08:00