Commit Graph

696 Commits

Author SHA1 Message Date
Daniel Jiang
8f5f0031c7 Enable project level CVE whitelist
This commit update the project API to support "reuse_sys_cve_whitelist"
setting in project metadata and "cve_whitelist" in project request.
Also modify the interceptor to support project level CVE whitelist if
the reuse flag is false.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-08 18:55:54 +08:00
Wenkai Yin(尹文开)
a5b03fdf52
Merge pull request #8156 from markpeek/markpeek-compile-docs-goversion
Reflect change to golang:1.12.5 in the docs
2019-07-03 10:30:18 +08:00
stonezdj(Daojun Zhang)
07b358eff9
Merge pull request #8120 from stonezdj/update_ldap_config_doc
Update LDAP group documents
2019-07-02 13:07:40 +08:00
Mark Peek
765785fd7f Reflect change to golang:1.12.5 in the docs
Signed-off-by: Mark Peek <markpeek@vmware.com>
2019-06-26 14:40:21 -07:00
Daniel Jiang
4aca812ff2 API for system level vulnerability whitelist
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-06-26 23:35:40 +08:00
Qian Deng
b55f403679
Merge pull request #7894 from ninjadq/update_doc_4_https
Update doc for configure https
2019-06-24 14:52:12 +08:00
stonezdj
898cc6c66b Update LDAP group documents
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-06-21 18:41:43 +08:00
Steven Zou
9324849027
Merge pull request #7927 from maxfunke/patch-2
format h2
2019-06-17 11:01:43 +08:00
Steven Zou
3ce271dad0
Merge pull request #8001 from hainingzhang/adopter
Update readme
2019-06-12 12:26:34 +08:00
Steven Zou
aa439b8101
Merge pull request #6783 from protochron/fix_swagger_chartrepo
Fix Swagger client generation for a few chartrepo endpoints
2019-06-11 16:32:13 +08:00
Daniel Jiang
a88212fa21 Update version in swagger yaml
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-06-11 14:41:09 +08:00
Henry Zhang
e619d686b6 Update readme
Signed-off-by: Henry Zhang <haininghenryzh@vmware.com>
2019-06-10 17:35:28 +08:00
Wang Yan
905cb4ff31
Merge pull request #7656 from tariq1890/docs
Minor documentation improvements for harbor
2019-05-31 11:31:55 +08:00
Max Funke
3adee45e7e format h2
Signed-off-by: Maximilian Funke <maximilian.funke@paessler.com>
2019-05-27 15:17:00 +02:00
Qian Deng
7a0f570e70 Update doc for configure https
update configs for https

Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-24 16:30:18 +08:00
zhihui wu
cc92af0d3d [Docs] Update the parameters in log section
I update two parameters in log section according to harbor.yml.

Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2019-05-23 16:47:33 +08:00
Qian Deng
48151f6d46 Update doc caused by refactor prepare
Signed-off-by: Qian Deng <dengq@vmware.com>
2019-05-16 23:01:12 +08:00
Daniel Jiang
db0afeedef Update user guide for OIDC authentication
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-05-16 03:50:34 +08:00
Wenkai Yin
0582e6763d Update the replication part in user guide (#7746)
Update the replication part in user guide. Fixes #7133, fixes #7601

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-05-10 18:26:27 +08:00
Wenkai Yin
a2e7692f10 Document how to use the external database in installation guide (#7761)
Document how to use the external database in installation guide. Fixes #7189

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-05-10 17:16:58 +08:00
Wenkai Yin
8348c1fa4b
Merge pull request #7635 from heww/validation-failed-status-code
Return 400 status code for validation failed
2019-05-10 14:22:05 +08:00
stonezdj(Daojun Zhang)
978c7027a1 Add document for admin server refactor (#7479)
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-05-10 13:25:36 +08:00
Daniel Jiang
bae6f17ad3 Update migration guide for v1.8.0 (#7752)
Make necessary updates to reflect the new command to migrate
configuration file from harbor.cfg to harbor.yml

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-05-10 13:03:01 +08:00
He Weiwei
58cbaaace8 Return 400 status code for validation failed
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-05-10 10:35:25 +08:00
Wenkai Yin
ae3b75d33b
Merge pull request #7657 from zhoumeina/swagger_guide
add swagger user guide
2019-05-10 10:30:05 +08:00
Wang Yan
7e674ec389
bump up required docker compose version to 1.18 (#7737)
Signed-off-by: wang yan <wangyan@vmware.com>
2019-05-09 15:35:42 +08:00
Meina Zhou
3869c6ca56 add swagger user guide
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-05-09 13:50:33 +08:00
Wang Yan
c028b281ea
Update required docker and docker-compose version (#7733)
Signed-off-by: wang yan <wangyan@vmware.com>
2019-05-09 13:29:07 +08:00
Haining Henry Zhang
b5412b9476 update documents (#7727)
Signed-off-by: Henry Zhang <haininghenryzh@vmware.com>
2019-05-09 09:49:30 +08:00
Tariq Ibrahim
20b328daab
Minor documentation improvements for harbor
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
2019-05-06 10:52:43 -07:00
Daniel Jiang
2ca5e04904
Merge pull request #7053 from JoeWrightss/patch-2
Fix some misspells in file
2019-04-29 18:40:00 +08:00
Daniel Jiang
02cf75c142 Add Ext URL to response of systeminfo API
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-04-29 13:31:52 +08:00
Daniel Jiang
1fdc2e6ba9 Provide API to generate CLI secret
This commit provide an API to allow a user that is onboarded via OIDC
authn update his CLI secret.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-04-22 13:34:12 +08:00
wang yan
e017294f71 merge with master latest
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-17 17:52:39 +08:00
Wenkai Yin
bf43c39026 Update swagger
Remove the "source namespace" property of replication policy

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-16 18:30:22 +08:00
Wang Yan
fd353a8f7f
Fix swagger typo for updating robot account status (#7398)
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-16 17:18:17 +08:00
Wenkai Yin
1f574e7d10
Merge pull request #7354 from wy65701436/replication_ng_namespace
Add api to get namespaces of registry
2019-04-11 23:44:24 +08:00
wang yan
117c36d52c Add api to get namespaces of registry
To query the namespace of the registry according to its ID.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-11 23:17:33 +08:00
Wenkai Yin
a2fcb41b31 Fix bug in ping registry API
Fix bug in ping registry API: accept both ID and other properties

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-11 18:00:44 +08:00
stonezdj(Daojun Zhang)
0d3865c0e8
Merge pull request #7111 from wy65701436/robot-account-doc
Add document for robot account
2019-04-10 17:39:11 +08:00
wang yan
57e7305104 Update doc for Robot Accounts per review comments
Signed-off-by: wang yan <wangyan@vmware.com>
2019-04-09 17:09:20 +08:00
cd1989
f71a110bec Add registry ping API
Signed-off-by: cd1989 <chende@caicloud.io>
2019-04-06 17:00:52 +08:00
Wenkai Yin
4116433de8
Merge pull request #7306 from ywk253100/190404_cleanup
Remove the useless replication code
2019-04-04 21:18:04 +08:00
Wenkai Yin
c2f702be2a Remove the useless replication code
This commit removes the useless replication code

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-04-04 20:56:25 +08:00
Wenkai Yin
b66b1f341e Merge remote-tracking branch 'upstream/master' into 190404_sync 2019-04-04 14:55:09 +08:00
cd1989
8968e82675 Allow edit registry description
Signed-off-by: cd1989 <chende@caicloud.io>
2019-04-03 19:47:14 +08:00
Daniel Jiang
76ea48d47b
Merge pull request #6997 from daixiang0/update-doc
docs/README.md: update old url
2019-04-02 10:08:10 +08:00
Wenkai Yin
71b706e60a Update the replication API
1. Add getting execution by ID API
2. Return registry detail info in listing policies API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-30 20:46:02 +08:00
Wenkai Yin
b37f4018a6 Update the registry adapter interface
This commit adds the Info() method to the registry adapter interface

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-23 07:49:59 +08:00
Yan
8d3946a0e2
Refactor scan all api (#7120)
* Refactor scan all api

This commit is to let scan all api using admin job to handle schedule
management. After the PR, GC and scan all share unified code path.

Signed-off-by: wang yan <wangyan@vmware.com>

* update admin job api code according to review comments

Signed-off-by: wang yan <wangyan@vmware.com>

* Update test code and comments per review

Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-22 17:52:21 +08:00