Daniel Jiang
2c2cbd9c52
Merge pull request #4510 from reasonerjt/master
...
Add indexes to job tables and bump up schema version.
2018-03-28 16:58:16 +08:00
Steven Zou
75f4f7e0a4
Merge pull request #4513 from vmware/steven_job_service
...
Add UT cases for package opm (update travis yaml to start redis conta…
2018-03-28 16:30:03 +08:00
Tan Jiang
b6df6cf169
Add indexes to job tables and bump up schema version.
2018-03-28 16:15:54 +08:00
Wenkai Yin
22e06c46e3
Merge pull request #4512 from ywk253100/180328_replication_hook
...
Handle replication job status hook
2018-03-28 16:10:51 +08:00
Steven Zou
33c3603af2
Add waiting time before triggering http request
2018-03-28 15:57:59 +08:00
Steven Zou
d3909bb633
Add UT cases for package opm (update travis yaml to start redis container)
...
Fix data race issue in opm package
2018-03-28 15:28:34 +08:00
Wenkai Yin
55035ada2d
Merge pull request #4490 from ywk253100/180326_label
...
Delete the mapping relationship between resources and labels when the label is deleted
2018-03-28 14:38:01 +08:00
Steven Zou
d183226570
Merge pull request #4507 from vmware/steven_job_service
...
Fix the issue of causing config test failed
2018-03-28 14:16:09 +08:00
Qian Deng
a12c213cd1
Merge pull request #4494 from pengpengshui/tagdetail
...
Modify tag detail page and fix label bugs
2018-03-28 14:10:01 +08:00
Steven Zou
ee2da73c71
Refactor the job stats manager (remove useless object references)
2018-03-28 12:51:55 +08:00
Steven Zou
3ce31586df
Fix the issue of causing config test failed
2018-03-28 12:40:36 +08:00
Steven Zou
b943bed6e6
Refactor redis pool and job stats manager for clarifying functions
...
also add UT cases for logger and part of opm package
Fix config test case issue
2018-03-28 12:11:45 +08:00
Daniel Jiang
0918a0ac7e
Merge pull request #4504 from reasonerjt/scan-job-migrate
...
Integrate with status hook of jobservice
2018-03-28 09:50:49 +08:00
Tan Jiang
0abf53c112
fix golint
2018-03-27 21:30:37 +08:00
Tan Jiang
be97a91650
Integrate with jobservice webhook
2018-03-27 21:27:52 +08:00
wangyan
01487b8221
Add readonly into systeminfo
2018-03-27 04:29:20 -07:00
Steven Zou
02b73b50f2
Merge branch 'job_service' of https://github.com/vmware/harbor into job_service
2018-03-27 18:19:30 +08:00
Steven Zou
660d2610ba
Add UT cases for api,core and config package
...
do changes to enable interfaces
2018-03-27 18:17:46 +08:00
pfh
22fa1ba189
Add control about label for admiral and standalone
2018-03-27 14:31:18 +08:00
pfh
42fa690f90
Modify tag detail page and fix label bugs
2018-03-27 10:12:37 +08:00
Tan Jiang
c859616e25
fix golint and go vet issue
2018-03-26 22:10:01 +08:00
Daniele Franceschi
71eeebec6f
fix rendering suffix for >1GB images
2018-03-26 14:48:13 +02:00
Tan Jiang
582deea9e7
resolve conflict
2018-03-26 18:11:39 +08:00
Tan Jiang
41ce0891ab
Trigger scan job from UI.
2018-03-26 18:07:21 +08:00
Wenkai Yin
38568a1d2c
Merge pull request #4485 from ywk253100/180326_period_job
...
Create a job to call UI's replication API to do the period replication job
2018-03-26 17:31:10 +08:00
Steven Zou
e966698939
Extarct out redis pool initialization code to bootstrap
2018-03-26 16:38:53 +08:00
Tan Jiang
745b21abbc
Merge remote-tracking branch 'upstream/master' into scan-job-migrate
2018-03-26 15:39:42 +08:00
Steven Zou
7663592551
Merge branch 'job_service' of https://github.com/vmware/harbor into job_service
2018-03-26 15:30:36 +08:00
Steven Zou
5e2543833b
Replace log in commmon package to logger in logger package for loose couple
2018-03-26 15:30:16 +08:00
stone
203b1b52bb
Merge pull request #4415 from stonezdj/user_group_and_project_member
...
Add DAO for user group and project member
2018-03-26 15:21:20 +08:00
stonezdj
49d960b060
Add DAO for project member and user group
2018-03-26 14:38:32 +08:00
yixingj
cb64ad96ff
Make endpoint configurable
...
Move all the endpoint to harbor.cfg
2018-03-26 10:50:18 +08:00
Tan Jiang
381ecc3521
Merge with master
2018-03-26 10:37:17 +08:00
Wenkai Yin
dd156ca243
Handle replication job status hook
2018-03-24 21:18:58 +08:00
Wenkai Yin
1fea594c3d
Trigger replication job from UI with new jobservice
2018-03-24 18:10:50 +08:00
Steven Zou
ba85378ac3
Merge branch 'job_service' of https://github.com/vmware/harbor into job_service
2018-03-24 16:45:46 +08:00
Steven Zou
4cc9e0bf47
Close the open IO stream used by the job logger after job eixting
2018-03-24 16:45:26 +08:00
Wenkai Yin
85f357ec6b
Delete the mapping relationship between resources and labels when the label is deleted
2018-03-24 02:22:51 +08:00
Wenkai Yin
e63d5a1c06
Create a job to call UI's replication API to do the period replication job
2018-03-23 23:53:15 +08:00
Wenkai Yin
837f46872a
Merge pull request #4463 from ywk253100/180313_replication_job
...
Migrate replication job to the new jobservice
2018-03-23 19:04:12 +08:00
Wenkai Yin
ed08a42e4b
Migrate replication job to the new jobservice
2018-03-23 18:36:37 +08:00
Yan
cbcca015b0
add read only mode to stop docker push ( #4433 )
2018-03-23 03:16:08 -07:00
Steven Zou
75e29782f6
Implement job context for harbor jobs
...
initialize DAO
get configurations from admin server
2018-03-23 17:26:41 +08:00
Steven Zou
e160804be2
Fix nil job returned bug
2018-03-23 13:50:23 +08:00
pfh
71124d08dd
Add label module
2018-03-23 09:58:06 +08:00
Steven Zou
49bb9bfceb
Add logger sweeper to periodically clear outdated log files created by the jobs
2018-03-22 23:44:08 +08:00
Daniel Jiang
b4a4eb11c6
Merge pull request #4459 from ywk253100/180321_package_upgrade
...
Upgrade packages used by Harbor
2018-03-22 19:03:10 +08:00
Steven Zou
579b70c5e4
Inject logger into the execution context of running job for logging
...
define logger interface
implement a logger base on common log package
add getting log API
inject logger to the job execution context
2018-03-22 18:29:39 +08:00
Steven Zou
b001180d26
Merge branch 'job_service' of https://github.com/vmware/harbor into job_service
2018-03-22 13:43:12 +08:00
Steven Zou
e5f8beb35f
Support status hook mechanism to report job status changes
...
refactor scheduler to extarct separate sub/pub system
fix bug in getJob
return all the stats data of running pools in the health check API
2018-03-22 13:41:00 +08:00
Wenkai Yin
c6e65d2ded
Fuzzy matching repository name in GET repositories API
2018-03-22 13:38:26 +08:00
Wenkai Yin
0b7d4af4c1
Upgrade packages used by Harbor
2018-03-22 13:10:49 +08:00
Tan Jiang
b8ec419c8e
Add missed package to fix compilation issue
2018-03-21 16:59:32 +08:00
Tan Jiang
483496ed93
remove swp file
2018-03-21 16:32:21 +08:00
Tan Jiang
613464bc16
Migrate scan job to job service V1 phase1
2018-03-21 16:25:32 +08:00
Tan Jiang
6303785b1b
Merge branch 'job_service' of https://github.com/vmware/harbor into scan-job-migrate
2018-03-21 13:06:40 +08:00
Yan
5edbd00318
Revise harbor build version ( #4445 )
2018-03-21 13:03:49 +08:00
Wenkai Yin
838b439560
Implement filter repository and tags by label API
2018-03-21 10:51:06 +08:00
Wenkai Yin
a7a72f78bd
Return role and repository count info in GET project API
2018-03-20 19:09:06 +08:00
Steven Zou
ac544b3ead
Support job related operational actions
...
support stop job
support cancel running generic job
support retry failed job
support checkin details progress of job
2018-03-20 18:03:04 +08:00
Tan Jiang
00825d3ca4
Merge branch 'job_service' of https://github.com/vmware/harbor into scan-job-migrate
2018-03-20 17:37:27 +08:00
Steven Zou
fbc24d85db
Support job operation actions like stop/cancel
2018-03-16 19:38:51 +08:00
Tan Jiang
b1d1e039dc
Merge branch 'job_service' of https://github.com/vmware/harbor into scan-job-migrate
2018-03-16 15:30:53 +08:00
Daniel Jiang
cbedf099b5
Merge pull request #4342 from yixingjia/apimonitor
...
Add monitor API for Harbor components
2018-03-16 14:56:58 +08:00
Steven Zou
2f97970484
Support update job status for both generic and periodic job
...
refactor scheduler
refactor period.enqueuer
add stats manager component
2018-03-15 20:23:42 +08:00
Steven Zou
be75145858
Implement API service of getting job stats
2018-03-15 14:33:57 +08:00
Steven Zou
ea912729ec
fix golint issues in code
2018-03-15 12:31:54 +08:00
Steven Zou
4b4e0ddfff
Refactor job programming model
...
refine job context
remove setXXX injection methods in job.Interface
use parameters of Run to pass context and parameters
2018-03-15 12:26:01 +08:00
yixingj
4255ed167a
Add monitor API for Harbor components.
...
1>AdminServer.
2>UI.
2018-03-15 10:39:55 +08:00
Steven Zou
28d02931d2
Support saving job stats to the baclend for the redis workerpool
2018-03-15 09:56:07 +08:00
stonezdj
44fc373c6d
Add LDAP Group Search Configure Param
2018-03-15 06:16:47 +08:00
Steven Zou
b61dc39278
Refactor the job execution context interface
2018-03-14 19:17:38 +08:00
Steven Zou
5f5fb5b6ec
Refine the context related things
...
change job context to interface
move job conetxt to the env package
move the concrete job implementation to separate folder
2018-03-14 18:24:53 +08:00
Steven Zou
414c36205c
Support API service of checking stats of the worker pool
2018-03-14 16:59:00 +08:00
Steven Zou
6b46844565
Add sweeper to clear the outdated data before the workerpool is starting
2018-03-14 15:52:00 +08:00
Daniel Jiang
0efd8e3c54
Merge pull request #4396 from ywk253100/180309_label_resource
...
Implement adding/removing labels to/from repositories and images API
2018-03-14 14:15:31 +08:00
Wenkai Yin
bcf81224ad
Update according to the comments
2018-03-14 13:42:19 +08:00
Steven Zou
7b8971e930
Implement periodically enqueue job feature
...
add scheduler based on redis
add job wrapper for redis driver
other necessary modules
2018-03-13 23:58:07 +08:00
Wenkai Yin
36b9c4e458
Implement adding/removing labels to/from repositories and images API
2018-03-12 19:30:05 +08:00
Tan Jiang
b81b55b0c1
Extend the length of project name in request validation
2018-03-12 16:07:06 +08:00
yixingjia
ac05806dec
Reload the attributes of Harbor db and Clair db when restart Harbor. ( #4349 )
2018-03-12 15:40:45 +08:00
Wenkai Yin
379f113452
Implement label management API
2018-03-09 12:17:27 +08:00
Wenkai Yin
685140cda8
Merge pull request #4375 from ywk253100/180308_smtp_tls
...
Do the authentication with CRAM-MD5 when the connection is insecure
2018-03-08 17:42:18 +08:00
pfh
e017f63103
Modify pagenation in Use, project name exist issue #4350 #4205 #4177
2018-03-08 16:25:24 +08:00
Wenkai Yin
0a8929b85e
Do the authentication with CRAM-MD5 when the connection is insecure
2018-03-08 14:21:44 +08:00
Steven Zou
7a3c35d178
Implement the base framework of job service V2
...
add API server
add redis worker pool
add configuration loader
add bootstrap process
add vendor via dep
2018-03-08 13:16:57 +08:00
pfh
805e4aa4db
Modify fileter problem and input length #4185 #4264
2018-03-07 17:01:00 +08:00
pfh
b2fb33ba0d
Modify replication rule from page to dialog #4296
2018-03-07 10:03:08 +08:00
Tan Jiang
2f2bc7f3ef
add ut
2018-03-01 18:52:09 +08:00
Tan Jiang
3a5bff1615
Refine error returned by Authenticator
...
There has been inconsistency in terms of the error returned by
authenticator.
This commit introduces an error ErrAuth to explicitly flag an
authentication failure, which should be treated as user error such
as "invalid credentials", and other errors will be treated as system error.
2018-03-01 18:19:46 +08:00
Tan Jiang
fc4e427c41
Return zero instead of error if the volume directory is not found at admin server
2018-02-28 13:52:33 +08:00
Daniel Jiang
ef54647749
Merge pull request #4230 from stonezdj/project_member_refactor2
...
Refactor project member
2018-02-27 14:33:26 +08:00
patfrat
3159e2c514
Add French ui_ng translation
2018-02-26 14:53:59 +01:00
stonezdj
4c6d1488bd
Add UT
2018-02-09 15:29:08 +08:00
stonezdj
f138067242
Refactor project member
2018-02-09 10:38:51 +08:00
Daniel Jiang
bd12a3f958
Merge pull request #4235 from ywk253100/180206_godep
...
Specify the versions of packages used in golang dep
2018-02-08 12:38:02 +08:00
Qian Deng
83ec190dbf
Merge pull request #4229 from ninjadq/fix_ui_test_case
...
Fix UI that break test case
2018-02-06 19:19:50 +08:00
Wenkai Yin
4e6800745b
Specify the versions of packages used in golang dep
2018-02-06 18:49:40 +08:00
Deng, Qian
207ce035e1
Fix UI that break test case
2018-02-06 10:52:53 +08:00
Tan Jiang
40b6cb0d43
Return UAA error to Security Context layer
2018-02-05 21:00:19 +08:00
Daniel Jiang
87ca267b0f
Merge pull request #4221 from ywk253100/180131_beego_1.9.2
...
Upgrade beego 1.6.1 to 1.9.0
2018-02-05 19:17:44 +08:00
Wenkai Yin
10f56d26fe
Change codes to make everything OK after upgrading to beego 1.9.0
2018-02-05 13:07:52 +08:00
Wenkai Yin
e7b431899e
Upgrade beego from 1.6.1 to 1.9.0
2018-02-05 13:07:52 +08:00
Qian Deng
3b36236dc0
Merge pull request #4206 from ninjadq/open_add_member_modal_too_long
...
Fix bug open add member modal time too long
2018-02-01 14:57:47 +08:00
Wenkai Yin
58a3c590bd
Merge pull request #4207 from ywk253100/180131_beego_1.9.2
...
Ignore packages under tests in go dep
2018-02-01 13:51:48 +08:00
Wenkai Yin
ca92475fc2
Ignore packages under tests in go dep
2018-02-01 13:21:52 +08:00
Deng, Qian
26d6a04257
Fix bug open add member modal time too long
2018-02-01 12:57:40 +08:00
pfh
30a64b1923
Modify endpoint button name unsame with others issue
2018-01-31 16:43:22 +08:00
Deng, Qian
32793e2859
Add force refresh to new user form
2018-01-31 10:43:12 +08:00
Qian Deng
11288ccc0c
Merge pull request #4187 from ninjadq/leaving_repo_dialog
...
Fix open confirmation dialog when leving repo
2018-01-30 19:33:34 +08:00
pfh
09c1c39cd3
delete username and pwd in replication rule
2018-01-30 18:47:27 +08:00
Deng, Qian
f14bab1976
Fix open confirmation dialog when leving repo
2018-01-30 17:51:15 +08:00
pfh
715a49834b
Merge remote-tracking branch 'upstream/master' into batchDelection
2018-01-30 13:22:06 +08:00
Qian Deng
ef1ed75ac9
Merge pull request #4175 from ninjadq/only_db_can_create_delete_user
...
Enhance Create && Delete button should diabled if not db auth
2018-01-30 13:13:05 +08:00
pfh
84c9a409ed
Stop bubbling event in replication list
2018-01-30 11:53:53 +08:00
pfh
5e14601d2e
Merge remote-tracking branch 'upstream/master' into batchDelection
2018-01-30 11:45:26 +08:00
pfh
008cf32bb3
Modify users about delete myself display issue #4164
2018-01-30 10:55:11 +08:00
Deng, Qian
b31a91b64a
Fix UI bugs
...
Add deleting confirmation dialog back
Change buttons' style on tag component
2018-01-29 21:54:59 +08:00
Deng, Qian
afc56b0645
Enhance Create && Delete button should diabled if not db auth
2018-01-29 21:38:53 +08:00
Qian Deng
02554204e4
Merge pull request #4139 from ninjadq/fix_description_too_long
...
Fix description too long
2018-01-29 21:27:28 +08:00
pfh
63dcb27d08
Modify replication list unsave when modify username or pwd
2018-01-29 17:38:49 +08:00
Wenkai Yin
9022abfc13
Fix code issues found by Gas
2018-01-29 15:17:03 +08:00
Deng, Qian
8f1fa387c2
Fix admin rename tooltip
2018-01-29 10:33:03 +08:00
Deng, Qian
86dac8bbb9
Fix relication description too long to display
2018-01-26 18:10:39 +08:00
pfh
cc894a39bf
Modify create endpoint ping icon undisappear auto about #4102
2018-01-26 15:44:10 +08:00
pfh
1dc6e57ffd
Modify issue about endpoint delection unfreash page
2018-01-26 15:03:29 +08:00
pfh
791004c1b5
Add username adn pwd for target and unselected project name and target first time
2018-01-26 12:11:16 +08:00
Deng, Qian
d536c64566
Update test cases for UI changes
2018-01-25 20:36:03 +08:00
Deng, Qian
a1c850cfdb
Display storage statistic only in filesystem mode
2018-01-25 20:36:03 +08:00
Deng, Qian
4a21f80b86
Add icon to buttons && change button group to buttons
2018-01-25 20:36:03 +08:00
Deng, Qian
bec2780576
Remove Confirmation on some simple batch actions
2018-01-25 20:36:02 +08:00
Deng, Qian
9a87c8b663
Fix bug tag size became exact number after reload data
2018-01-25 20:36:02 +08:00
Deng, Qian
08fd136c3c
Enhance admin rename Logout after admin rename
2018-01-25 20:36:02 +08:00
Daniel Jiang
2519601d9f
Merge pull request #4121 from reasonerjt/add-go-redsync-vendor
...
Include go-redsync v1.0.1 in vendor
2018-01-25 17:58:15 +08:00
Daniel Jiang
5e5c0d4556
Merge pull request #4118 from reasonerjt/master
...
Fix Nil pointer issue in login function
2018-01-24 18:29:41 +08:00
Tan Jiang
ea38b7eefe
Include go-redsync v1.0.1 in vendor
2018-01-24 15:30:20 +08:00
Tan Jiang
e9b656ce79
Fix Nil pointer issue in login function
2018-01-24 14:49:03 +08:00
pfh
5d35bed4d7
set replication list as single selection about #4107
2018-01-23 19:31:53 +08:00
pfh
f34ac6aa2b
Modify package version
2018-01-23 14:47:33 +08:00
pfh
db670a2b09
Merge remote-tracking branch 'upstream/master' into batchDelection
2018-01-23 14:40:48 +08:00
Wenkai Yin
785fc57147
Merge pull request #4097 from ywk253100/180122_config_api
...
Convert struct to json string when storing it to database as a configuration item
2018-01-23 11:03:44 +08:00
Wenkai Yin
0165fcc82b
Convert struct to json string when storing it to database as a configuration item
2018-01-22 20:01:28 +08:00
Qian Deng
bdb9d13590
Merge pull request #4072 from ninjadq/bugx_fix
...
Bugs fix
2018-01-22 17:56:02 +08:00
Tan Jiang
7ab1a2367a
Update testify in vendor folder to v1.2.0
2018-01-21 21:52:46 +08:00
Fuhui Peng (c)
7d7620593d
Modify create multiple replication rules with same name
2018-01-19 17:44:21 +08:00
Deng, Qian
e240290bc7
Merge branch 'master' into bugx_fix
2018-01-19 15:43:14 +08:00
Qian Deng
71baf937ea
Merge pull request #4057 from ninjadq/enhance_uaa_config
...
Fix UAA edit password bug
2018-01-19 15:34:43 +08:00
Wenkai Yin
515cac010a
Merge pull request #4071 from ywk253100/180117_policy_pagination
...
Add pagination support in listing replication policy API
2018-01-19 15:19:45 +08:00
stonezdj
b99a13cfa8
Fix bug 4073
2018-01-19 11:46:24 +08:00
Deng, Qian
86454d3e88
Fix project Name length issue
...
Extend the length of project name to 255
2018-01-18 18:51:16 +08:00
Wenkai Yin
69fa18c881
Merge pull request #4059 from ywk253100/180117_job_status
...
Support multiple status in query string of replication job listing API
2018-01-18 18:05:08 +08:00
Deng, Qian
873d537b17
Fix bug pull command not display regisrty ip or hostname
2018-01-18 17:58:17 +08:00
Deng, Qian
ea6fcd2aa1
Fix UAA edit password bug
...
Fix UAA edit password bug
Fix password edit bug
Remove unused code
Fix some tslint issue
2018-01-18 16:23:49 +08:00
Wenkai Yin
611709a7be
Add pagination support in listing replication policy API
2018-01-18 15:54:12 +08:00
Fuhui Peng (c)
5b921d59aa
Modify package.json
2018-01-18 15:08:45 +08:00
Fuhui Peng (c)
29e53817b9
Merge remote-tracking branch 'upstream/master' into batchDelection
2018-01-18 14:59:32 +08:00
Qian Deng
8f855ffc4e
Merge pull request #4037 from ninjadq/admin_rename_ui
...
add admin rename ui
2018-01-18 14:53:17 +08:00
Daniel Jiang
440f5e6364
Merge pull request #4039 from stonezdj/ldap_migrate_scope
...
Add update ldapScope for migrate
2018-01-18 14:12:06 +08:00
stone
c815dc01dd
Merge pull request #4043 from reasonerjt/uaa-bugfix
...
Read Email from UAA while onboarding user.
2018-01-18 14:04:35 +08:00
Deng, Qian
b884be3e72
Add admin rename ui Add UI Element for rename admin
2018-01-18 13:49:13 +08:00
Qian Deng
b61e0ec867
Merge pull request #3953 from ninjadq/fix_text_bugs
...
Fix bugs about i18n & text
2018-01-18 13:19:02 +08:00
pfh
757a99bc6e
Add add endpoint button in replication rule
...
Modify stop job button privilege
Modify dispay issue about replication rule
2018-01-17 19:46:07 +08:00
Deng, Qian
ac34c2c1da
Fix bugs about i18n & text
2018-01-17 17:24:07 +08:00
Wenkai Yin
9ec8b4d634
Support multiple status in query string of replication job listing API
2018-01-17 17:07:10 +08:00
stonezdj
01ba4e1ea8
Add update ldapScope for migrate
2018-01-17 14:01:57 +08:00
Tan Jiang
d5d913f51d
Read Email from UAA while onboarding user.
...
Will call the userinfo API of UAA to get user info and generage user
model based on the response. Also this commit include a change that
whenever the UAA Client is to be used it will update the configuraiton,
this is needed as we enable user to update the configuration of UAA via
UI.
2018-01-17 10:28:49 +08:00
Wenkai Yin
7ebcc82516
Fix bug: checking whether the status is null when listing replication jobs
2018-01-16 19:25:18 +08:00
Wenkai Yin
8cda2d8d65
Merge pull request #4036 from ywk253100/180116_s3
...
Propagate registry storage driver name to adminserver and return it in /api/systeminfo
2018-01-16 18:41:08 +08:00
pengpengshui
7537d0ff10
Merge pull request #4010 from pengpengshui/batchDelection
...
Modify replication list to batch delection mode
2018-01-16 17:59:20 +08:00
Qian Deng
5017670d00
Merge pull request #4005 from ninjadq/db_migrate_from_1_3_to_1_4
...
Update migration tool for v1.4
2018-01-16 17:04:54 +08:00
Wenkai Yin
53d5a2256a
Propagate registry storage driver name to adminserver and return it in /api/systeminfo
2018-01-16 16:57:28 +08:00
pfh
78dcdc409f
Modify replication list to batch delection mode and add admin privilege to project replication module
...
Modity text about new replication rule
2018-01-16 15:53:11 +08:00
Deng, Qian
b3e65ed71e
Update migration tool for v1.4
...
1. Update database meta file
2. Add migration file for 1.4
2018-01-16 15:38:51 +08:00
Wenkai Yin
e1a5958258
Merge pull request #4013 from ywk253100/180112_property_name
...
Update the value of trigger type and schedule type
2018-01-16 13:26:33 +08:00
Daniel Jiang
a9fe5564df
Merge pull request #4011 from ywk253100/180112_fix_404
...
Handle /harbor/* with IndexController to fix UI 404 Page Not Found error
2018-01-15 17:10:43 +08:00
Wenkai Yin
a1dd8c3bff
Merge pull request #4004 from ywk253100/180111_jobservice
...
Provide a mechanism to stop pending and retrying jobs
2018-01-15 12:55:44 +08:00
Tan Jiang
bc1366c3e5
Enable user to edit UAA settings on UI
2018-01-14 11:47:45 +08:00
Wenkai Yin
af8dbff4ce
Update the value of trigger type and schedule type
2018-01-12 16:19:41 +08:00
Tan Jiang
d6bf0ea11d
Remove data generated by dao_test after the test.
2018-01-12 15:56:30 +08:00
Wenkai Yin
27b4197459
Handle /harbor/* with IndexController to fix UI 404 Page Not Found error
2018-01-12 15:48:42 +08:00
Wenkai Yin
4070ed5152
Provide a mechanism to stop pending and retrying jobs
2018-01-12 15:29:20 +08:00
Daniel Jiang
43afd426bb
Merge pull request #3995 from reasonerjt/admin-rename
...
Provide API to rename admin
2018-01-12 13:59:13 +08:00
stone
ec173305a3
Merge pull request #3974 from stonezdj/ldap_ping_timeout
...
Setting timeout for ldap ping
2018-01-12 11:22:27 +08:00
Tan Jiang
a392a8dc29
Provide API to rename admin
...
This is to provide a workaround for very corner case that in user's
authentication backend (LDAP, UAA) has a user called "admin" and because
Harbor's super user is hard coded to "admin" it's not possible to login
the "admin" with credentials in LDAP or UAA.
To minimize the impact, we'll provide an internal API for user to update
the super user's username from "admin" to "admin@harbor.local", this API
can be called by "admin" only, and is not reversible.
2018-01-11 23:01:06 +08:00
stonezdj
c48c7f7b6a
Setting timeout for ldap ping
2018-01-10 15:14:30 +08:00
pengpengshui
7831a01f26
Merge pull request #3934 from pengpengshui/batchDelection
...
Modify filters' position and modify member module switch members' ap…
2018-01-10 14:50:52 +08:00
Wenkai Yin
e26b442c9c
Merge pull request #3951 from ywk253100/180104_replicate_interval
...
Manual starting replication will be rejected if there are pending/running jobs
2018-01-10 10:56:45 +08:00
pfh
49160e6b13
Modify repository filter's position and inline alert text position
...
Modify issues about pagination and signed display
Modify test case about member
2018-01-09 14:48:25 +08:00
Wenkai Yin
7da89ec39b
Passing tag as a parameter or the value will be overwritten
2018-01-08 15:23:35 +08:00
Daniel Jiang
f8af1f275e
Merge pull request #3911 from stonezdj/ldap_search_level
...
Ambiguous UI and internal values ldap_scope
2018-01-08 14:53:55 +08:00
Daniel Jiang
093e2bead2
Merge pull request #3950 from ywk253100/180105_ut
...
Add unit test for adding description of repository
2018-01-08 14:32:10 +08:00
pfh
93c524f5df
Merge remote-tracking branch 'upstream/master' into batchDelection
2018-01-08 14:31:51 +08:00
pfh
9371bd41e8
Modify filters' position and modify member module switch members' apperence
2018-01-08 14:04:31 +08:00
Wenkai Yin
a9877c3e0a
Merge pull request #3905 from pengpengshui/repEnhance
...
Add new replication rule module
2018-01-05 18:19:11 +08:00
Wenkai Yin
87ce1c84d5
Manual starting replication will be rejected if there are pending/running jobs
2018-01-05 17:05:57 +08:00
Wenkai Yin
487c248227
Add unit test for adding description of repository
2018-01-05 16:52:48 +08:00
stonezdj
26b86984d2
Ambiguous UI and internal values ldap_scope #3764
2018-01-05 15:51:37 +08:00
pfh
162878a95c
Modify test case and merge master
2018-01-05 15:39:52 +08:00
pfh
13308ce9d8
Merge remote-tracking branch 'upstream/master' into repEnhance
2018-01-05 14:09:03 +08:00
Qian Deng
f20103dc0c
Merge pull request #3906 from ninjadq/sidenav_to_verticalnav
...
Replace Navigation bar from Sidenav to Vertical Nav
2018-01-04 18:32:04 +08:00
Wenkai Yin
51297cdfd7
Merge pull request #3887 from ywk253100/171227_ssrf
...
Fix SSRF security issue #3755 in ping target, email server and LDAP server APIs
2018-01-04 18:11:47 +08:00
Deng, Qian
2122503599
Replace Navigation bar from Sidenav to Vertical Nav
...
1. Replace Sidenav to VerticalNav
2. Update related test case
3. Move Endpoint and Repliction to two different label
2018-01-04 17:24:38 +08:00
pengpengshui
a75f347fd4
Merge pull request #3910 from pengpengshui/skinable
...
Modify skinnable json file and modify images path about #3909 #3879
2018-01-04 16:12:59 +08:00
Fuhui Peng (c)
7845405862
Modify skinnable json file and modify image path about #3909 #3879
2018-01-04 14:26:41 +08:00
Daniel Jiang
8e5115c832
Merge pull request #3870 from stonezdj/ldap_syncuser2
...
Sync user email in ldap #3663
2018-01-04 13:28:51 +08:00
Wenkai Yin
3448fd9a2d
Fix SSRF security issue #3755 in ping target, email server and LDAP server APIs
2018-01-04 12:26:17 +08:00
Wenkai Yin
8e4e5e8b54
Add unit test cases for replication codes
2018-01-03 18:39:30 +08:00
Fuhui Peng (c)
bdd0664134
Merge master and modify package version
2018-01-03 17:52:22 +08:00
Daniel Jiang
1a7f6f36e2
Merge pull request #3903 from reasonerjt/uaa-ca-config
...
Enable configuring the CA Certificate for UAA
2018-01-03 17:28:39 +08:00
Tan Jiang
e02de2068a
Enable configuring the CA Certificate for UAA
...
Enable configuring the path of root cert of UAA in harbor.cfg. It only
takes effects if the verify_cert is set to "true" If the file does not
exist, the configuration is skipped.
The intention for this commit is to support integration with nested UAA
in PAS or PKS, we don't expect user to manually configure this value,
though he can do it if he wants.
2018-01-03 16:21:29 +08:00
Deng, Qian
a89678466e
Enhancement of Metadata Descrition
2018-01-03 16:12:17 +08:00
Fuhui Peng (c)
31c3063783
Merge remote-tracking branch 'upstream/replication_enhancement' into repEnhance
2018-01-03 13:41:31 +08:00
Wenkai Yin
96a63c56b1
Merge remote-tracking branch 'upstream/master' into 180103_merge
2018-01-03 10:32:03 +08:00
pengpengshui
c5e434bd14
Merge pull request #3859 from pengpengshui/batch-delection
...
Add batch-delete operation in project module, replication module and user module
2018-01-03 10:27:55 +08:00
Fuhui Peng (c)
d7c0bc5168
Add batch delection operation in project module, replication module and user module
...
Modify privilege about project module
Modify package version about harbor-ui
Fix case failed in new batch delection UI
2018-01-02 19:42:44 +08:00
Daniel Jiang
5289ff8d5a
Merge pull request #3888 from stonezdj/ldap_security2
...
Do not display internal error message to user
2017-12-29 16:49:53 +08:00
Deng, Qian
ef045bb720
Add UI Component for UAA Auth
2017-12-29 12:02:13 +08:00
Tan Jiang
cae581979b
Return UAA settings in configuration API
...
All the UAA settings will be read only as we expect user to modify it
via opsman instead of Harbor UI.
2017-12-28 11:30:18 +08:00
stonezdj
fba68ed000
Do not display internal error message to user
2017-12-27 19:22:17 +08:00
Wenkai Yin
4616153667
Merge pull request #3885 from ywk253100/171227_fix_update
...
Update project ID property if needed when updating replication policy
2017-12-27 15:45:53 +08:00
Wenkai Yin
a9d7403bee
Update project ID property if needed when updating replication policy
2017-12-27 15:04:26 +08:00
Wenkai Yin
d36811ce52
Using the string trimmed the project name at the begining as the input of repository filter
2017-12-26 19:31:53 +08:00
stonezdj
35716dedd3
Sync user email in ldap #3663
2017-12-26 18:53:32 +08:00
stonezdj
9f99d0400c
Call EscapeFilter for filter to avoid security issue
2017-12-26 15:34:14 +08:00
Fuhui Peng (c)
fb83f2433f
Modify replication list datagrid
2017-12-26 14:54:59 +08:00
Fuhui Peng (c)
601c94d976
Merge remote-tracking branch 'upstream/replication_enhancement' into repEnhance
...
Update ui code to the latest
2017-12-26 14:06:55 +08:00
Daniel Jiang
94c78b3bee
Merge pull request #3858 from xuri/master
...
Simple code and typo fixed.
2017-12-26 12:06:27 +08:00
Daniel Jiang
8e53ca07c4
Merge pull request #3850 from reasonerjt/uaa-search
...
Search UAA when adding member to a project.
2017-12-26 09:51:50 +08:00
Tan Jiang
da20e4f11c
Search UAA when adding member to a project.
...
1)Enable UAA client to search UAA by calling '/Users' API.
2)Implement 'SearchUser' in UAA auth helper, register it to auth
package.
2017-12-26 00:25:32 +08:00
Wenkai Yin
3be1d5a7fd
Assign read-only privilege of replication policy to project admin and add stopping replication jobs API.
2017-12-25 23:49:21 +08:00
Fuhui Peng (c)
831f69595a
Add ui code about replication enhancement
2017-12-25 17:02:21 +08:00
Qian Deng
36d4211aa7
Merge pull request #3806 from ninjadq/upgrade_clarity_to_0_10_x
...
Upgrade Clarity to 0.10.x and Angular To 4.3.0
2017-12-25 17:01:48 +08:00
Deng, Qian
3187dcb5ae
Upgrade Clarity to 0.10.x and Angular To 4.3.0
2017-12-25 16:10:51 +08:00
pengpengshui
583ce589f1
Merge pull request #3815 from pengpengshui/uaa
...
Add ui control in uaa_auth #3803
2017-12-25 13:20:19 +08:00
Ri Xu
9adccd3723
Simple code and typo fixed.
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
2017-12-23 20:55:07 +08:00
yixingjia
7c510fa2c8
Merge pull request #3844 from yixingjia/addTest
...
Add test case for Clair DB configuration
2017-12-21 16:39:46 +08:00
Daniel Jiang
01ec0c7c17
Merge pull request #3841 from reasonerjt/dep-vendor
...
Switch to dep to manage the dependencies of source code
2017-12-21 13:20:39 +08:00
Tan Jiang
1bd7d5b719
Switch to golang/dep to manage the dependencies of source code
...
Used golang/dep to regenerate the code in /vendor directory.
Also edited `CONTRIBUTING.md` to explain the process for dependency
management.
2017-12-21 12:18:13 +08:00
yixingj
08a1b45b72
Add test case for Clair DB configuration
...
Add test case for validate Clair DB config
2017-12-21 11:39:53 +08:00
yixingjia
fa67e11680
Merge pull request #3831 from yixingjia/HA_Clair
...
Make Clair DB configurable
2017-12-21 11:31:26 +08:00
Daniel Jiang
60d2204f33
Merge pull request #3840 from ywk253100/171220_desc
...
Allow project developer to edit repository description
2017-12-21 02:17:58 +08:00
Tan Jiang
12cd733678
Remove useless code from UI router and API
...
Some URLs are not used on UI, so they are removed. And the validation
code of API is removed as we use the security context approach.
fix test issue
2017-12-20 23:10:38 +08:00
yixingj
f63588855f
Make Clair DB configurable
...
Make the HOST,PORT,USERNAME,DB configurable for
Clair
2017-12-20 18:29:50 +08:00
Wenkai Yin
73babbf1ab
Modify unique constraint of table harbor_label
...
Add unique constraint to column name, scope and project_id of table harbor_label to make creating same name labels under different projects valid
2017-12-19 22:15:56 +08:00
Steven Zou
2dd5b01fc4
Merge pull request #4773 from steven-zou/fix_js_restarting_issue
...
Fix the issue of intermittent restarting of job service
2018-04-26 15:05:32 +08:00
Steven Zou
e1b509e3f3
Fix the issue of intermittent restarting of job service
...
github issue: #4712
ping redis server before pool starting
Let worker pool to restart the message server if message server exits with error (controlled by max retries)
2018-04-25 17:02:16 +08:00
Wenkai Yin
8d62d989a5
Fix bug #4791
...
Remove the table join when querying repositories with project name
2017-12-19 21:47:39 +08:00
Daniel Jiang
052521b92c
Merge pull request #3821 from reasonerjt/uaa-restriction
...
Refactor the configuraiton of UAA
2017-12-19 19:36:09 +08:00
Daniel Jiang
c0c262cb53
Merge pull request #3790 from ywk253100/171214_author
...
Read image author from label 'maintainer' if author is null
2017-12-19 18:40:25 +08:00
Tan Jiang
2ffc58a5d4
Refactor the configuraiton of UAA
...
Remove the attribute "uaa_ca_root" from harbor.cfg and introduce
"uaa_verify_cert". Similar to LDAP settings, this allow user to
explicitly turn of the cert verification against UAA server, such that
the code will work with self-signed certificate.
2017-12-19 14:42:07 +08:00
Daniel Jiang
62cebbdb5d
Merge pull request #3797 from reasonerjt/uaa-restriction
...
Disable user management features when auth mode is UAA.
2017-12-18 22:47:08 +08:00
Fuhui Peng (c)
fb794dac26
Add code about uaa_auth #3803
2017-12-18 18:52:18 +08:00
Daniel Jiang
cdadc94d0f
Merge pull request #3804 from ywk253100/171215_jobservice
...
Print stack trace when recover from panic and print warning message rather than returning an error when updating 0 records
2017-12-18 16:36:20 +08:00
Tan Jiang
224f75b9a6
Refactor /users API, add more restircation in password reset
...
Simplified the code when checking if a user is modiable in different
auth modes.
Also add restriction in password, such that when the auth mode is not DB
auth, only the super user can choose to reset his password.
2017-12-18 14:32:29 +08:00
Wenkai Yin
260ef561c4
Update the HTTP client for easy use by add more util functions
2017-12-16 06:45:59 +08:00
Wenkai Yin
42c9c439f9
Allow project developer to edit repository description
2017-12-15 20:30:39 +08:00
Daniel Jiang
7946b07fce
Merge pull request #3796 from stonezdj/ldap_3653
...
Fix ldap ping issue #3653
2017-12-15 16:12:36 +08:00
Qian Deng
40f766b29a
Merge pull request #3742 from ninjadq/metadata_description
...
Add UI for metadata description
2017-12-15 15:44:50 +08:00
stonezdj
9393d26fdc
Fix ldap ping issue #3653
2017-12-15 14:47:54 +08:00
Wenkai Yin
d9b0f54c5e
Split populating author as a method and add unit test
2017-12-15 10:40:24 +08:00
Wenkai Yin
a736cb7b09
Update the HTTP client according to the comments
2017-12-15 09:40:31 +08:00
Wenkai Yin
c4dc95f4f9
Add implement for supporting replicatie the existing images now
2017-12-15 09:40:31 +08:00
Wenkai Yin
b5e7de331e
Delete enabled and start_time properties of replication rule
2017-12-15 09:40:31 +08:00
Wenkai Yin
055ab0ba15
Refine replication schedule trigger API
2017-12-15 09:40:31 +08:00
Wenkai Yin
1d2e206ce4
Refactor replication filter chain
2017-12-15 09:40:31 +08:00
Wenkai Yin
76c88d8d49
Fix bugs of replicaton
2017-12-15 09:40:31 +08:00
Wenkai Yin
fe10c2e7f5
Create replicator to submit replication job to jobservice
2017-12-15 09:40:31 +08:00
Wenkai Yin
8b4fdfc2cc
Add unit tests for replication related methods
2017-12-15 09:40:31 +08:00
Wenkai Yin
c5ccb7e53c
Enable filter chain in replication
2017-12-15 09:40:30 +08:00
Wenkai Yin
a384325a1e
Publish replication notification for manual, scheduel and immediate trigger
2017-12-15 09:40:30 +08:00
Wenkai Yin
a54b7dd4c0
Merge remote-tracking branch 'upstream/master' into 171219_merge
2017-12-15 08:48:57 +08:00
Wenkai Yin
43489c2b67
Print stack trace when recover from panic and print warning message rather than returning an error when updating 0 records
2017-12-14 13:48:45 +08:00
Wenkai Yin
745d83e393
Read image author from label 'maintainer' if author is null
2017-12-13 23:28:01 +08:00
Tan Jiang
5da894bcf2
Small refactory.
2017-12-13 20:58:27 +08:00
stone
cbd1431333
Merge pull request #3726 from stonezdj/ldap_refactor2
...
Refactor LDAP code
Changes include:
1. Use session to manage the lifecycle of LDAP connections
2. Abstract common AuthenticateHelper interface for db_auth, ldap_auth, uaa_auth
2017-12-13 16:21:20 +08:00
Deng, Qian
a4bd27c7b0
Bump UI Lib version
2017-12-13 15:37:56 +08:00
Deng, Qian
ccfd206ae2
Merge branch 'master' into metadata_description
2017-12-13 15:21:57 +08:00
stonezdj
ec67974104
Refactor ldap
...
Changes include:
1. Use Session to manage the lifecycle of ldap connections
2. Abstract common AuthenticateHelper interface for db_auth, ldap_auth,
uaa_auth mode
2017-12-13 14:57:04 +08:00
Wenkai Yin
665a54edc3
Merge remote-tracking branch 'upstream/master' into 171213_merge
2017-12-13 13:40:24 +08:00
Fuhui Peng (c)
f179e09cd0
Fix Replication Rule Ping target issue about #3770
2017-12-12 18:05:03 +08:00
yixingjia
f4d0fd4d23
Merge pull request #3640 from yixingjia/moveconftoDB
...
Add database driver for Harbor configurations
2017-12-11 10:42:05 +08:00
Deng, Qian
b15acdf151
Add UI for metadata description
2017-12-08 15:05:52 +08:00
yixingj
9b03c93afd
Add database driver for Harbor configurations
...
1>Add a new database driver for configurations
2> change the current default driver from json
to database
2017-12-06 13:06:54 +08:00
Qian Deng
5de872486c
Merge pull request #3692 from ywk253100/171127_repo_desc
...
Add update repository API to support description of repository
2017-12-04 17:25:38 +08:00
Wenkai Yin
594d213630
Publish replication notification for manual, scheduel and immediate trigger
2017-12-04 15:07:30 +08:00
Deng, Qian
092c19c666
Bump UI lib version to 0.5.16
2017-11-29 17:41:19 +08:00
Wenkai Yin
7ccdce33a0
Refactor ping target API
...
Merge ping target API by ID into ping target API
2017-11-29 17:15:03 +08:00
Wenkai Yin
34f70ff3b6
Merge pull request #3693 from ywk253100/171127_schedual_trigger
...
Implement schedual trigger for replication
2017-11-28 13:43:01 +08:00
Wenkai Yin
fa85ad6d28
Merge pull request #3687 from ywk253100/171123_trigger_api
...
Add replication manual trigger API & update replication/policy API docs
2017-11-28 13:38:53 +08:00
Daniel Jiang
d13321f2b5
Support getting user info via token in UAA Client ( #3686 )
2017-11-27 18:13:36 +08:00
Wenkai Yin
4902fdf2ef
Implement schedual trigger for replication
2017-11-27 16:50:35 +08:00
Wenkai Yin
6b0ee138e5
Implement immediate trigger and the methods of WatchList
2017-11-27 14:23:21 +08:00
Wenkai Yin
8d9af50bbc
Add update repository API to support description of repository
2017-11-27 14:18:57 +08:00
stonezdj
1179769e31
Update with PR review comment
2017-11-24 14:53:34 +08:00
stonezdj
16243cfbbc
Add LDAP remote certifcate validation
...
push test
Add unit test for ldap verify cert
remove common.VerifyRemoteCert
Update code with PR review comments
Add change ldaps config and add UT testcase for TLS feature
add ldap verfiy cert checkbox about #3513
Draft harbor ova install guide
Search and import ldap user when add project members
Add unit test case for SearchAndImportUser
ova guide
Add ova install guide
Add ova install guide 2
Add ova install guide 3
Call ValidateLdapConf before search ldap
trim space in username
Remove leading space in openLdap username
Remove doc change in this branch
Update unit test for ldap search and import user
Add test case about ldap verify cert checkbox
Modify ldap testcase
2017-11-24 12:41:51 +08:00
Wenkai Yin
1c338ed30b
Add replication manual trigger API & update replication/policy API docs
2017-11-24 10:50:10 +08:00
Deng, Qian
6b6cff0174
fix Chinese text of public policy
2017-11-22 20:15:08 +08:00
Tan Jiang
b3e0af2382
Fix permission issue in job_log directory
2017-11-21 19:31:15 +08:00
Wenkai Yin
59c1160edd
Setup/Unset trigger when CURD policies
2017-11-20 17:09:46 +08:00
Fuhui Peng (c)
61cbab8ffe
Delete verify remote cert in VIC mode about #3626
2017-11-17 17:01:23 +08:00
Fuhui Peng (c)
6fb9068034
Merge branch 'master' of https://github.com/vmware/harbor
2017-11-17 16:34:15 +08:00
Fuhui Peng (c)
2ff41664b2
Add setting.json about skinnable #3241
2017-11-16 15:36:46 +08:00
Wenkai Yin
31cf6c078e
Implement replication policy manager
2017-11-16 10:55:03 +08:00
Deng, Qian
01390e2180
present config item based on installation of clair & notary
2017-11-14 15:11:37 +08:00
pengpengshui
91faac070f
Merge pull request #3598 from pengpengshui/master
...
Modiy test connection without verify cert value
2017-11-14 14:37:01 +08:00
Fuhui Peng (c)
f03a1b0f3e
modiy test connection without verify cert value
2017-11-13 13:56:57 +08:00
Daniel Jiang
a2f20801c0
Merge pull request #3597 from ywk253100/171110_bug_fix
...
Add content-type header to the request when creating project during replication
2017-11-12 22:54:15 -06:00
Wenkai Yin
9889896e8a
Add content-type header to the request when creating project during replication
2017-11-10 16:08:13 +08:00
Steven Zou
c2e0c8d1f2
Define the related interfaces for triggers and core controllers of replication service
2017-11-10 15:06:24 +08:00
Wenkai Yin
41c0ff66ce
Merge pull request #3534 from ywk253100/171101_poilicy
...
Update replication policy API to support trigger and filter
2017-11-10 14:00:17 +08:00
Wenkai Yin
ef0556d3f8
Merge pull request #3541 from ywk253100/171102_filter_chain
...
Implement filter chain
2017-11-10 10:42:25 +08:00
reasonerjt
19a13e8575
Deprivilege harbor-ui harbor-jobservice harbor-adminserver
...
Use non-root user to run the service within these docker images, and provide HEALTHCHECK
mechanism.
2017-11-09 03:09:09 -08:00
Wenkai Yin
149b628292
update
2017-11-09 16:20:56 +08:00
Wenkai Yin
3e3baa03f4
Merge remote-tracking branch 'upstream/replication_enhancement' into 171101_poilicy
...
Conflicts:
src/replication/consts.go
2017-11-08 18:51:56 +08:00
Wenkai Yin
5cef58baa1
update according to the comments
2017-11-08 17:53:41 +08:00
Wenkai Yin
049642e894
Implement filter chain
2017-11-08 16:51:11 +08:00
Daniel Jiang
8dfe5f0bfc
Merge pull request #3536 from ywk253100/171102_fail_earlier
...
Fail earlier when found database schema dismatch
2017-11-07 15:01:14 +08:00
Wenkai Yin
f86a4be84d
Implement Convert interface
2017-11-07 14:34:12 +08:00
Wenkai Yin
5293a9287b
Fail earlier when found database schema dismatch
2017-11-07 13:07:56 +08:00
Tan Jiang
512384722a
Make the internal URL of UI and JobService configurable
2017-11-03 20:43:25 +08:00
Daniel Jiang
795d33a45a
Add filter on API endpoints to mitigate XSRF ( #3542 )
...
Add filter for all API endpoints to allow the POST requests which have
application/json header.
Make update to UI code to make sure all requests contain the header.
2017-11-03 14:43:27 +08:00
Steven Zou
abe3d37a33
Add registry adaptor interface and sourcer definitions
2017-11-02 17:10:15 +08:00
Wenkai Yin
51d5df0849
Update replication policy API to support trigger and filter
2017-11-02 14:59:26 +08:00
Steven Zou
87d966e369
Merge pull request #3510 from steven-zou/master
...
Update the alternate policy and corresponding task to support byweekly
2017-11-01 21:51:04 -05:00
Fuhui Peng (c)
48cbdcbb08
change package version
2017-11-01 18:45:11 +08:00
Fuhui Peng (c)
30a60e6115
Merge branch 'master' of https://github.com/vmware/harbor
2017-11-01 18:36:37 +08:00
Deng, Qian
bd2bb0a697
fix project admin can view project config
2017-11-01 16:40:01 +08:00
Wenkai Yin
82b400c049
Add replication filter implement
2017-11-01 14:59:44 +08:00
Deng, Qian
091f68e5b0
fix tag vulnerability text to uppercase
2017-11-01 14:39:25 +08:00
Steven Zou
cee0bcec22
Update the alternate policy and corresponding task to support by weekly besides daily
2017-11-01 13:55:56 +08:00
Deng, Qian
0045b269db
fix bug when save policies
2017-11-01 10:31:21 +08:00
Fuhui Peng (c)
29cf632de8
modify the remote cert checkbox value
2017-10-31 19:39:07 +08:00
Wenkai Yin
094a4f48ab
Merge pull request #3490 from ywk253100/171030_meta_id
...
Add column id to table project_metadagta as the primary key
2017-10-31 00:42:04 -05:00
pengpengshui
26cf27f327
Merge pull request #3475 from pengpengshui/master
...
add checkbox on config-email page and test code, modify project access level label
2017-10-31 10:42:07 +08:00
Wenkai Yin
0ddca31355
Add column id to table project_metadagta as the primary key
2017-10-30 17:37:25 +08:00
Deng, Qian
1840aefea9
Merge pull request #3461 from ninjadq/fix_scanning_bar_title
...
fix text of bar chart title
2017-10-30 00:02:08 -05:00
Steven Zou
3565f60f5b
Merge pull request #3473 from steven-zou/master
...
Define filter interfaces for replication service
2017-10-29 23:37:30 -05:00
Fuhui Peng (c)
ad38106642
modify label about project access level
2017-10-30 10:39:19 +08:00
Fuhui Peng (c)
a0172bc0c4
"add insecure checkbox to configure #3363 "
2017-10-30 10:29:47 +08:00
Deng, Qian
fe4f611e73
fix text of bar chart title
2017-10-27 19:19:40 +08:00
Steven Zou
410908d863
Merge branch 'master' of https://github.com/steven-zou/harbor into fork_master
2017-10-27 18:19:39 +08:00
Wenkai Yin
5b2ececae8
Merge pull request #3436 from ywk253100/171020_meta_api
...
Add project metadata API
2017-10-27 05:16:50 -05:00
Steven Zou
e2242cffd2
define filter interfaces for replication service including:interface Filter,Converter and FilterChain and other supporting models
2017-10-27 18:16:16 +08:00
Wenkai Yin
c355034c14
Add project metadata API
...
Project metadata API can be used to integrated with project management
service which can not provide all metadatas needed by Harbor.
2017-10-27 17:05:15 +08:00
Deng, Qian
69ffd7117c
add ui for project level policy
2017-10-27 15:18:00 +08:00
Daniel Jiang
d8634290e8
Merge pull request #3420 from reasonerjt/master
...
Add Unit test cases for Clair Client.
2017-10-23 12:18:05 +08:00
Tan Jiang
b925569767
Add Unit test cases for Clair Client.
2017-10-22 21:54:04 +08:00
Wenkai Yin
2156750b04
Move certificate verification to target level
...
The certificate verification is on system level before this commit. Moving it
to target level makes the configuration more flexible for different targets.
2017-10-20 15:36:56 +08:00
Wenkai Yin
66b2d0d3f3
Apply project level policies to standalone Harbor
...
The following features are only enabled in integration mode, this commit moves
these to standalone Harbor:
- Content trust policy: only signed images can be pulled
- Vulnerability policy: only images whose severity is below the threshold can be pulled
- Automatic scan policy: automatic scan pushed images
2017-10-19 17:33:28 +08:00
Steven Zou
a5ca531819
Merge pull request #3338 from pengpengshui/master
...
fix issue about pull command in repository #3275
2017-10-18 21:28:53 -05:00