Commit Graph

237 Commits

Author SHA1 Message Date
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
yhua
c69fffcca6 merge code 20160830 2016-08-30 13:59:30 +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
Tan Jiang
78c807545d sync master 2016-08-24 13:54:31 +08:00
Wenkai Yin
c546c3a48b support project deletion 2016-08-23 15:56:30 +08:00
Daniel Jiang
2cb2175940 Merge pull request #682 from ywk253100/policy_deletion
Support policy deletion
2016-08-17 16:54:15 +08:00
Daniel Jiang
055a1438d4 Merge pull request #683 from yhua123/master
add new structs from swagger auto gen code
2016-08-15 16:43:17 +08:00
yhua
60cae7357f add new structs from swagger auto gen code 2016-08-15 14:36:42 +08:00
Wenkai Yin
4ef5c1f98a Merge master into dev
Conflicts:
	.travis.yml
	Dockerfile.job
	vendor/vendor.json
2016-08-15 11:30:06 +08:00
Wenkai Yin
ff348be048 1. support policy deletion 2. bug fix: missing semicolon in js 2016-08-12 17:59:25 +08:00
Daniel Jiang
361f6bd393 Merge pull request #679 from ywk253100/master_d
bug fix: check whether project is nil befere reading its properties
2016-08-12 14:39:27 +08:00
Daniel Jiang
13b859f58b Merge pull request #673 from ywk253100/dev_ut
add UT for package utils
2016-08-12 14:38:42 +08:00
Daniel Jiang
71716ef06d fixes #658 2016-08-11 21:38:15 +08:00
Wenkai Yin
3d909bd0bd add UT for package utils 2016-08-11 17:58:17 +08:00
Wenkai Yin
98e399c8fe bug fix: check whether project is nil befere reading its properties 2016-08-11 14:11:45 +08:00
Tan Jiang
c683be1c64 merge with master 2016-08-10 15:34:23 +08:00
yhua
74702a0be7 add api testing framework 2016-08-10 14:34:56 +08:00
Wenkai Yin
5079a8d20c sys admin can not delete himself 2016-08-08 12:42:30 +08:00
Daniel Jiang
4fc9373fec Merge pull request #618 from ywk253100/security_check_on_jobservice
add security check on job service
2016-08-05 14:53:38 +08:00
Wenkai Yin
c4081f9aa3 add security check on job service
update
2016-08-05 13:00:24 +08:00
Tan Jiang
318d10186e Use AES to encrypt password for target 2016-08-04 11:35:52 +08:00
Tan Jiang
fa18ab3a75 merge with master 2016-08-03 17:15:00 +08:00
Wenkai Yin
cf953f74fe return more information when calling get mannifest API
Conflicts:
	api/repository.go
2016-08-02 10:53:53 +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
82af69d9f6 fix #591 2016-07-31 20:21:19 +08:00
yhua
d746bfc9f2 add *_empty_test.go for actual go test coverage 2016-07-29 18:39:29 +08:00
Daniel Jiang
cf23b067a6 Merge pull request #565 from reasonerjt/master
handle DB error to return 409 when creating project
2016-07-19 15:14:08 +08:00
Tan Jiang
236a54f9bd handle DB error to return 409 when creating project 2016-07-19 13:35:39 +08:00
Wenkai Yin
befc22f3f7 fix #561 2016-07-18 20:37:52 +08:00
Wenkai Yin
3d558b54b4 close connection immediately when it is not used anymore 2016-07-14 18:15:24 +08:00
Wenkai Yin
5011e2de20 Merge pull request #534 from ywk253100/bug_fix
fix #520 #521 #522
2016-07-13 18:11:31 +08:00
Wenkai Yin
f685702475 do not trigger replication if the policy is disabled 2016-07-13 17:19:23 +08:00
Wenkai Yin
67a8c8631a fix #520 #521 #522 2016-07-13 15:51:57 +08:00
Wenkai Yin
37fc63aacc add parameter 'num' to list jobs 2016-07-06 14:12:16 +08:00
Wenkai Yin
2dab2137db add auth check as registry does not distinguish 401 and 403 2016-07-05 12:05:01 +08:00
Daniel Jiang
34a93348a7 Merge pull request #446 from ywk253100/insecure_env
pass insecure env to ui
2016-06-29 19:39:08 +08:00
Wenkai Yin
92193f3456 update 2016-06-29 18:52:24 +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
5f75156e1d pass golint 2016-06-29 18:20:53 +08:00
Wenkai Yin
d7f78502d7 pass govet 2016-06-29 18:14:50 +08:00
Wenkai Yin
f31d469758 pass insecure env to ui 2016-06-29 18:09:47 +08:00
Wenkai Yin
2f9ace7eeb update 2016-06-29 17:52:35 +08:00
Wenkai Yin
23b026655c handle repository deletion event in API 2016-06-29 17:10:17 +08:00
Wenkai Yin
60e15cc1fa filter jobs by time 2016-06-29 16:58:16 +08:00
Wenkai Yin
a2b6355fb5 audit deleting repository 2016-06-28 17:33:39 +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
Wenkai Yin
1c2babda0a move ProjectSorter to package model to avoid package import cycle 2016-06-27 14:46:06 +08:00
wemeya
8af26bb951 add regular expression to check project name 2016-06-24 16:52:08 +08:00