Commit Graph

1020 Commits

Author SHA1 Message Date
Daniel Jiang
e4a78ba039 API test for project level CVE whitelist
This commit update test case to cover project level CVE whitelist.
It also fixes the swagger doc to add missing attributes

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-15 11:37:22 +08:00
Daniel Jiang
a545b460ed
Merge pull request #8642 from reasonerjt/swagger-doc-update
Fix issue in API swagger doc
2019-08-14 14:23:59 +08:00
stonezdj(Daojun Zhang)
1bfba278f2
Merge pull request #8565 from reasonerjt/update-gc-api-doc
Update the swagger doc for GC API
2019-08-13 10:34:38 +08:00
Daniel Jiang
50875593ba Fix issue in API swagger doc
This commit add `reuse_sys_cve_whitelist` to project metadata, and fixes
a few issues in APIs related webhook.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-13 01:05:24 +08:00
cd1989
da370bb331 List simple tags when detail set to false
Signed-off-by: cd1989 <chende@caicloud.io>
2019-08-12 15:16:19 +08:00
Quentin Gliech
817587741f
Fix the swagger API definition
Signed-off-by: Quentin Gliech <quentingliech@gmail.com>
2019-08-12 08:55:25 +02:00
He Weiwei
c1cea42089 feat(quota,middleware): enable or disable quota per project by config
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-08-12 00:02:26 +00:00
DQ
131d26c0f8 Docker compose check function need updated to 1.23.0+
Signed-off-by: DQ <dengq@vmware.com>
2019-08-08 14:22:03 +08:00
guanxiatao
e7fafd1941 webhook policy, job, event support
Signed-off-by: guanxiatao <guanxiatao@corp.netease.com>
2019-08-07 20:30:26 +08:00
Qian Deng
70303bcf89
Merge pull request #8470 from dzzg:patch-2
fix some log typos in migration_guide.md
2019-08-07 15:26:57 +08:00
Daniel Jiang
6554bf4241 Update the swagger doc for GC API
This commit update the swagger doc to document how to trigger an "admin
job" such as "GC" to make it execute right away.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-06 00:36:05 +08:00
stonezdj
35a49568ce Merge user roles and group roles
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-08-05 15:10:06 +08:00
Anthony Bouvier
b3a24fd7fa Fixes small typo in manage_role_by_ldap_group docs
Signed-off-by: Anthony Bouvier <thebouv@gmail.com>
2019-07-31 15:31:47 -04:00
Jesse Hu
fb13d4e080 Remove unneccessary certificate options for Helm CLI
The --cert-file and --key-file options for Helm CLI
are used to identify HTTPS client, i.e. the helm CLI.
It's not mandantory and usually not needed. Most of
the users don't know how to get these two files.

Signed-off-by: Jesse Hu <huh@vmware.com>
2019-07-30 13:16:35 +08:00
dzzg
6726454060 fix some log typos in migration_guide.md
Signed-off-by: zhengguang zhu <zhengguang.zhu@daocloud.io>
2019-07-29 12:50:42 +00:00
He Weiwei
e625f2aa11 feat(quota,api): APIs for quotas
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-07-25 13:40:26 +08:00
Alex Lloyd
3be997d301 fix typo in https configuration docs
Signed-off-by: Alex Lloyd <axl639@student.bham.ac.uk>
2019-07-24 16:56:25 +01:00
He Weiwei
ce58c58c01 feat(quota,api): quota support for create project API
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-07-24 01:02:51 +08:00
Daniel Jiang
4f00c0e227 Fix error in swagger doc for ping OIDC API
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-22 12:52:28 +08:00
Daniel Jiang
96e2e0b145 Add API to ping OIDC endpoint
This commit adds an API to help admin verify the OIDC endpoint is a
valid one.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-07-18 19:32:12 +08:00
Wenkai Yin(尹文开)
a64e089773
Merge pull request #8210 from stonezdj/http_group_dao2
Add HTTP group support
2019-07-17 15:22:36 +08:00
stonezdj
bb2ae7c093 Add HTTP group feature
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-07-16 15:38:46 +08:00
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
yongping
0041fae4d1 rename harbor.cfg to harbor.yml
Signed-off-by: yongping <zyp2010sjtu@hotmail.com>
2019-05-28 13:17:03 +08:00
yongping
54bc595968 fix small typo
Signed-off-by: yongping <zyp2010sjtu@hotmail.com>
2019-05-28 11:52:29 +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
Wenkai Yin
49cf50adb1 Merge remote-tracking branch 'upstream/master' into 190324_sync
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-22 15:55:52 +08:00
Meina Zhou
130e132f86 Merge branch 'master' into replication_ng
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-03-21 14:16:33 +08:00
Wenkai Yin
c65d5e6669 Update listing/getting replication adapter API
This commit updates the listing/getting replication adapter API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-20 05:30:15 +08:00
wang yan
73d68903d6 update robot account return attribute
Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-14 13:57:50 +08:00
De Chen
41e290a17f
Merge pull request #6877 from yeya24/patch/fixtypo
fix some typos
2019-03-12 20:07:15 +08:00
Wenkai Yin
772367498f Merge remote-tracking branch 'upstream/master' into 190311_sync 2019-03-11 20:34:49 +08:00
wang yan
8be3129f11 Add document for robot account
Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-11 17:13:14 +08:00
Wenkai Yin
d1f4c20e64 Implement replication policy management API
This commit implements the replication policy management API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-09 01:32:51 +08:00
Wenkai Yin
ec2a7f9239 Implement replication operation API
This commit implements the replication operation related APIs

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-08 10:06:33 +08:00
Wenkai Yin
db7a709aad
Merge pull request #7063 from heww/users-search
Add users search API
2019-03-07 15:58:26 +08:00
He Weiwei
20556aebd2 Add users search API
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-03-07 12:47:26 +08:00
Wenkai Yin
7f49151115 Implement replication adapter API
This commit implements the replication adapter API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-03-06 15:01:33 +08:00
wang yan
e373167546 update gc api to support raw cron string
Signed-off-by: wang yan <wangyan@vmware.com>
2019-03-05 16:31:35 +08:00
cd1989
b00098d492 Add unit tests and fix CI
Signed-off-by: cd1989 <chende@caicloud.io>
2019-03-05 15:37:36 +08:00
zhoulin xie
33b7c41f8b Fix some misspells in file
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-03-01 15:13:30 +08:00
wang yan
91aa67a541 Update expiration variable name to expiresat/tokenduration
Signed-off-by: wang yan <wangyan@vmware.com>
2019-02-25 11:55:42 +08:00
wang yan
47a09b5891 add expiration of robot account
This commit is to make the expiration of robot account configurable

1, The expiration could be set by system admin in the configuation page or
by /api/config with robot_token_expiration=60, the default value is 30 days.
2, The expiration could be shown in the robot account infor both on UI and API.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-02-22 18:42:34 +08:00
stonezdj
0cba36d79f Remove everything of adminserver
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-02-22 16:34:39 +08:00
Xiang Dai
fc4c9887bd docs/README.md: update old url
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-22 10:30:52 +08:00
Qian Deng
db05024755
Merge pull request #6919 from heww/permissions-doc
Add doc for permissions
2019-02-20 13:54:07 +08:00
stonezdj
1ae5126bb4 Refactor adminserver stage 3: replace config api and change ut settings
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-02-18 14:06:19 +08:00
danfengliu
eaedd89c25 add api test case for robot user, and modify swagger.yaml for wrong type of return value. (#6900)
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-02-18 13:47:16 +08:00
He Weiwei
4e2afe3a03 Add doc for permissions
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-02-14 10:23:41 +08:00
Yan
e9556a4cec
Add post response for robot account API (#6906)
This commit is to do:
1, Add post response on creating robot account
2, Lower-case the attribute of response

Signed-off-by: wang yan <wangyan@vmware.com>
2019-02-13 14:40:04 +08:00
Wenkai Yin
9c8c96ad4f
Merge pull request #6721 from SDBrett/clair-import-doc
Updated clair db import for Harbor 1.6+
2019-02-12 19:54:55 +08:00
yeya24
628b94db19 fix some typos
Signed-off-by: yeya24 <ben.ye@daocloud.io>
2019-02-05 12:03:52 +08:00
Yan
a77684bf1d
add API doc of robot account (#6846)
Signed-off-by: wang yan <wangyan@vmware.com>
2019-01-30 14:10:26 +08:00
Brett Johnson
4c9b98a463 Updated clair db import for Harbor 1.6+
Signed-off-by: Brett Johnson <brett@sdbrett.com>
2019-01-29 09:14:23 +11:00
He Weiwei
8b5e68073d Implement api for get current user permissions
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-01-28 18:06:52 +08:00
He Weiwei
3f8e06a8bc Support master role for project member create and update apis (#6780)
* Support master role for project member create and update apis

Signed-off-by: He Weiwei <hweiwei@vmware.com>

* Fix description for role_id in swagger.yaml

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-01-23 14:56:23 +08:00
Dan Norris
fa4280887d
Fix Swagger client generation for a few chartrepo endpoints
It looks like the Swagger for `ChartVersions` and `ChartVersionDetails`
were missing fields to properly generate a client.

This fixes the problem by adding the correct `refs` so that the client
produces an output when making an API call.

In Go, this generates something like:

```Go
/*GetChartrepoRepoChartsNameVersionOK handles this case with default header values.

Successfully retrieved the chart version
*/
type GetChartrepoRepoChartsNameVersionOK struct {
	Payload *models.ChartVersionDetails
}

...

/*GetChartrepoRepoChartsNameOK handles this case with default header values.

Retrieved all versions of the specified chart
*/
type GetChartrepoRepoChartsNameOK struct {
	Payload models.ChartVersions
}
```

Signed-off-by: Dan Norris <dan.norris@netapp.com>
2019-01-22 08:59:06 -08:00
Wenkai Yin
f8d9653419
Merge pull request #6737 from ywk253100/190109_health_check
Implement the unified health check API
2019-01-16 18:14:14 +08:00
Wenkai Yin
be4455ec1b Implement the unified health check API
The commit implements an unified health check API for all Harbor services

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-01-16 17:21:04 +08:00
Daniel Jiang
a1d4bfd332
Merge pull request #6344 from reasonerjt/bump-up-golang
Bump up golang to 1.11.2
2019-01-11 16:15:59 +08:00
Daniel Jiang
5d59d6fab8 Bump up golang to 1.11.2
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-01-11 14:44:32 +08:00
FangyuanCheng
0fb141e4ee add get_study document
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2019-01-11 14:01:21 +08:00
FangyuanCheng
eb6e3504d8 Modify the developer center version number to 1.7.0
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-12-19 17:18:54 +08:00
Steven Zou
007a37443e
Merge pull request #6495 from kofj/doc_for_build_history
update user_guide about the build history.
2018-12-19 10:58:07 +08:00
Frank Kung
aa1c1ce489 update user_guide about the build history.
Signed-off-by: Frank Kung <kfanjian@gmail.com>
2018-12-18 15:50:01 +08:00
Niklas Wik
86f4d11839 Update required docker as multi build with FROM as used which is introduced in Docker 17.05 (#6530)
Signed-off-by: Niklas Wik <niklas.wik@nokia.com>
2018-12-14 12:50:41 +08:00
Mario Weigel
187fccae6f Minor corrections to swagger spec
Signed-off-by: Mario Weigel <mario.weigel@gmail.com>
2018-12-12 21:58:24 +13:00
Steven Zou
60f0ec594d
Merge pull request #6437 from cd1989/update-retag-user-guide
Update user guide for retag function
2018-12-06 22:34:13 -08:00
Daniel Jiang
29d5b5da72 Return 409 when there is a scan all job running (#6460)
* Return 409 when user trigger another "scan all"

This commit fixes #6418, that when multiple "scan all" jobs are
triggered, the API should not return 500.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>

* Update swagger to add 409 to scanAll API

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-12-06 11:46:38 +08:00
陈德
7e9a12fb22 Update user guide for retag function
Signed-off-by: 陈德 <chende@caicloud.io>
2018-12-06 09:23:40 +08:00
Daniel Jiang
c9d51f2a75 Refine migration guide for 1.7
Fixes #6449

1. Simplify the steps for backing up database.
2. Add the missing command to pull migrator image.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-12-05 11:03:09 -08:00
Wenkai Yin
538082ceb6 Remove the permission checking for getcert API (#6436)
The Harbor root cert can be downloaded by all users now, so the permission checking is not needed anymore

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-12-05 12:15:23 +08:00
danfengliu
b4c7663f5f
Add API test case scan all images and test case API test case list helm charts. (#6388)
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-12-03 17:05:06 +08:00
Daniel Jiang
ec32603917
Merge pull request #6242 from ninjadq/update_user_guide
Update user guide screenshot
2018-12-02 22:48:03 -08:00
Daniel Jiang
566f2e4841 Update the data migration guide (#6389)
* Update the data migration guide

Update the migration guide to reflect the change in data migration
process after v1.6.0

For simplification, removed the various steps to migrate from previous
versions to latest.  User will need to refer to guide in previous
releases.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>

* Update according to review

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-12-02 15:45:51 +08:00
Nathan Lowe
00fab5be7b Fix link to Online GC in user guide (#6404)
Signed-off-by: Nathan Lowe <public@nlowe.me>
2018-12-02 15:37:54 +08:00
Daniel Jiang
6a127ba201
Merge pull request #6312 from wy65701436/update-gc-document
add document for gc
2018-11-30 18:18:27 +08:00
wang yan
1f947cf3c8 Remote delete repositories description and point it to gc
Signed-off-by: wang yan <wangyan@vmware.com>
2018-11-30 17:02:32 +08:00
Steven Zou
ec2ad4d0b8
Merge pull request #6093 from cd1989/replication-record-id
Add op uuid to image replication
2018-11-30 14:54:43 +08:00
Daniel Jiang
b953dfe74f
Merge pull request #6342 from heww/update-installation-guide-doc
update installation guide doc
2018-11-30 10:37:14 +08:00
He Weiwei
417e49fae7 update parameters for registry storage
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2018-11-28 18:35:32 +08:00
Steven Zou
bba81cfc93 Restore the missing picture of CONTRIBUTING.md file
Signed-off-by: Steven Zou <szou@vmware.com>
2018-11-28 17:40:51 +08:00
danfengliu
c4bf65162c
add api test case for garbage collection (#6366)
Add API test case for garbage collection, and add swagger.yaml, GC and chart feature were updated in swagger.yaml.
Signed-off-by: danfengliu <danfengl@vmware.com>
2018-11-27 19:17:41 +08:00
Qian Deng
7724d1fd5a Update user guide screenshot
update the screenshots in user guide
update document in user guide

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-11-27 15:43:17 +08:00
wang yan
65a28c044d Updates words per comments
Signed-off-by: wang yan <wangyan@vmware.com>
2018-11-26 13:56:49 +08:00
He Weiwei
8a1c9e8bd3 rename UI to Portal
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2018-11-26 13:02:12 +08:00
He Weiwei
a7ee340d2b update installation guide doc
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2018-11-26 12:42:00 +08:00
wang yan
d138587478 add document for gc
This commit is to update user guide to introduce the handbook of GC

Signed-off-by: wang yan <wangyan@vmware.com>
2018-11-20 18:38:12 +08:00
Dan Kohn
4be4618705
Use updated Harbor logo
Signed-off-by: Dan Kohn <dan@dankohn.com>

Logo is from https://github.com/cncf/artwork
2018-11-18 15:56:53 -05:00
Dan Kohn
963a104380
Delete harbor_logo.png
Signed-off-by: Dan Kohn <dan@dankohn.com>
2018-11-18 15:54:44 -05:00
James Zabala
a5c0e09759
Merge pull request #6206 from jeffweilee/master
Refine Configure_https.md
2018-11-06 08:55:11 -05:00
Jeff Lee Wei Che
464fa3736c Update configure_https.md
Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

1. There is no need to have Getting Client Certificate Section. All we need is CA and Server Certificate.
2. Modify subtitle in Configuration and Installation:
1) Configure Server Certificate and Key for Harbor
2) Configure Server Certificate, Key and CA for Docker
3) Configure Harbor
3. Use yourdomain.com instead of reg.yourdomain.com throughout the article for better understanding.

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

Update configure_https.md

1. There is no need to have Getting Client Certificate Section. All we need is CA and Server Certificate.
2. Modify subtitle in Configuration and Installation:
1) Configure Server Certificate and Key for Harbor
2) Configure Server Certificate, Key and CA for Docker
3) Configure Harbor
3. Use yourdomain.com instead of reg.yourdomain.com throughout the article for better understanding.

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

rebase PR of Refine Configure_https.md

Signed-off-by: jeffweilee <jeffweilee@gmail.com>

signoff

Signed-off-by: jeffweilee <jeffweilee@gmail.com>
2018-11-06 21:10:56 +08:00
wang yan
9105bb6641 Fix issues on swagger file
1, Add the delete of replication policy.
2, Fix Semantic error at paths./repositories/{repo_name}/tags

Signed-off-by: wang yan <wangyan@vmware.com>
2018-11-06 13:38:59 +08:00
FangyuanCheng
8515276f98 Modify the permission image path of the developer and project manager in the user guide.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-25 17:08:22 +08:00
Yan
130235386d
Update swaggger documents found by api test development (#6102)
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-24 13:23:09 +08:00
Daniel Jiang
2920ec5f9b
Merge pull request #6077 from clouderati/update-copyright
Updating copyright notices
2018-10-23 18:38:15 +08:00
Qian Deng
64d83101f5
Merge pull request #6017 from steven-zou/update_swagger_chart_labels_API
Update swagger document to reflect the changes of Chart API for supporting labels
2018-10-22 10:15:19 +08:00
陈德
1ffd9d8fba Add op uuid to image replication
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-21 23:55:57 +08:00
Steven Zou
db24cbe25a
Merge pull request #5779 from cd1989/images-retag
Merge Images retag
2018-10-19 11:04:48 +08:00
clouderati
9d401e553d Updating demo_server.md
Updating list of avenues users can leverage to ping us if demo server
environment is malfunctioning.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-18 20:04:14 +00:00
FangyuanCheng
6d257de6b1 Change the rights of developers and project admin in user guide.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-18 09:27:23 +08:00
Henry Zhang
f9edb5fa38 add in adopters
Signed-off-by: Henry Zhang <haininghenryzh@vmware.com>
2018-10-15 15:50:20 +08:00
Steven Zou
c0aa8f293a Update swagger document to reflect the changes of Chart API for supporting labels
Signed-off-by: Steven Zou <szou@vmware.com>
2018-10-11 16:10:59 +08:00
Steven Zou
95d48436b8 Add README doc for job service (#6010)
Signed-off-by: Steven Zou <szou@vmware.com>
2018-10-10 19:08:20 +08:00
陈德
b648084d95 Improve code styles and fix after Harbor refactoring
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-09 10:49:03 +08:00
陈德
03d5157eaf Updae retag api spec
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-08 19:07:23 +08:00
陈德
75f1cdb449 Update swagger file to add retag API
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-08 19:07:22 +08:00
Brett Johnson
18e76c963d Documentation typo correction
Signed-off-by: Brett Johnson <brett@sdbrett.com>

Date:      Mon Oct 8 08:41:37 2018 +1100

On branch docs
Changes to be committed:
	modified:   docs/compile_guide.md
	modified:   docs/installation_guide.md
	modified:   docs/kubernetes_deployment.md
	modified:   docs/manage_role_by_ldap_group.md
	modified:   docs/migration_guide.md
	modified:   docs/upgradetest.md
	modified:   docs/use_notary.md
	modified:   docs/user_guide.md
2018-10-08 08:45:10 +11:00
James Zabala
4dc9840365
Merge pull request #5928 from shaneutt/master
Minor improvements to Helm charts documentation
2018-10-02 15:43:45 -04:00
James Zabala
e2dd283f03
Merge pull request #5972 from steven-zou/update_readme_for_conf_call
Add community meeting reference in the README of Harbor repo
2018-10-02 15:27:52 -04:00
James Zabala
d05cd6b714
Delete harbor_email.png
Removing @vmware address image
2018-10-02 10:14:16 -04:00
Steven Zou
5fd9d0c59b Add community meeting reference in the README of harbor repo
Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-28 16:21:26 +08:00
Steven Zou
8b538cbc0a Return the total count of charts under the project in project API
- add new interface method to get total count of charts under namespaces by calling get index
- add new field 'chart_count' in project model
- append chart count to the project model in project API

Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-25 17:56:11 +08:00
Shane Utt
5d0788ee93 Minor improvements to Helm charts documentation
Signed-off-by: Shane Utt <shaneutt@linux.com>
2018-09-19 07:20:59 -04:00
Qian Deng
7873a0312a Rename harbor-ui to harbor-core
1. Update the nginx.conf
2. Update Makefile
3. Update docker-compose
4. Update image name
5. Rename folder ui to core
6. Change the harbor-ui's package name to core
7. Remove unused static file on harbor-core
8. Remove unused code for harbor-portal

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-19 16:35:13 +08:00
Daniel Jiang
e7b56f6002 Update swagger.yaml for API to update password
The swagger was a little misleading about the API to update user's
password.  This commit clarifies the usage of 'old_password' and 403
status code.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-09-12 19:57:40 +08:00
Mia ZHOU
62cdccc5dd
Merge pull request #5848 from ninjadq/angular6
Frontend upgrade to angular6 and harbor portal refactor to a single container.
2018-09-10 11:00:22 +08:00
Qian Deng
ac6c9d79ba Remove nodeclarity
Remove the nodeclarity container related code and ui_builder parameter no longer needed when build clarity

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-08 20:33:21 +08:00
stonezdj
0906fbfabe Add document for manange role by LDAP group
Signed-off-by: stonezdj <stonezdj@gmail.com>
2018-09-07 18:39:30 +08:00
Qian Deng
d797c50438 Fix trivial issues about rename ui_ng to portal
Update ui_ng to portal

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-09-07 13:25:41 +08:00
Steven Zou
a9f2ff2c91 Enhance the global search API to include chart searching result
- add chart search interface method in utility handler
- update the search API handler
- update the search API UT case

Signed-off-by: Steven Zou <szou@vmware.com>
2018-09-05 20:13:27 +08:00
James Zabala
62fe0cdef9
Merge pull request #5682 from silenceshell/patch-2 2018-08-30 15:50:28 -04:00
Steven Zou
7752595313
Merge pull request #5759 from steven-zou/support_delete_chart
Delete all the versions of the specified chart
2018-08-30 17:03:08 +08:00
Steven Zou
34f19f437d Delete all the versions of the specified chart
- add API route
- add DELETE chart method in utility handler of chart controller
- add UT case for the newly added methods
- update swagger.yaml to refelct the new change

Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-30 16:31:05 +08:00
陈德
666bd692fe Support repo list sorting
Signed-off-by: 陈德 <chende@caicloud.io>
2018-08-30 10:56:50 +08:00
Wenkai Yin
4e7c0d74ff
Merge pull request #5728 from arkadiyk/patch-1
fix broken link to Helm Chart
2018-08-28 17:22:25 +08:00
arkadiy kraportov
0b290e22e2 fix broken link to Helm Chart
Probably it's better to update the https://github.com/goharbor/harbor/blob/master/docs/installation_guide.md to point to the https://github.com/goharbor/harbor-helm rather than this deprecated guide

Signed-off-by: arkadiy kraportov <arkadiyk@gmail.com>
2018-08-28 17:23:45 +09:00
Daniel Jiang
e1153eec0a Remove reference of docker-compsoe based HA
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-28 14:04:44 +08:00
wang yan
aacbf229d6 deprecate ova for harbor repository
This commit is to remove the document/tests of ova from harbor repository as decide to deprecate
ova installer in the future release.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-08-24 13:05:01 +08:00
silenceshell
9342b78fc0 fix typo
Signed-off-by: silenceshell <me@ieevee.com>
2018-08-22 19:30:14 +08:00
wangyan
16e1115e65 Update migratrion guide for harbor.cfg migration
Signed-off-by: wangyan <wangyan@vmware.com>
2018-08-21 00:52:18 -07:00
Daniel Jiang
b6a614ed01 Update the screenshots in user guide
This commit updates the screenshots in the user guide to reflect the
latest UI.
It also removes the links of video demos as they are based on earlier
builds.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-08-20 17:48:01 +08:00
wang yan
f2b31b871a Add gc api of regsistryctl to swagger file
The api includes to trigger gc and add/update/delete gc schedule

Signed-off-by: Wang Yan <wangyan@vmware.com>
2018-08-17 16:44:47 +08:00
Steven Zou
8503bc7dec Update the swagger.yaml file to contain the chart repo service APIs
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-16 10:30:24 +08:00
Steven Zou
34973f96ac Append chart repo service related sections to the agenda of user guide doc
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-15 13:36:09 +08:00
Steven Zou
e67fa4af9b Update the installation guide doc to append chart repo server related content
Signed-off-by: Steven Zou <szou@vmware.com>

Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-15 11:46:27 +08:00
Steven Zou
880521518f
Merge pull request #5590 from steven-zou/add_chart_doc
Append chart repository server related guideline into the user guide document
2018-08-15 11:31:30 +08:00
wangyan
81c349a150 Signed-off-by: wangyan <wangyan@vmware.com>
Update the reference of docker images to goharbor

This commit is to update the reference of harbor migrator and ui builder to goharbor
2018-08-14 03:47:39 -07:00
Steven Zou
24549213ca Append chart repository server related guideline into the user guide document
Signed-off-by: Steven Zou <szou@vmware.com>
2018-08-13 14:05:28 +08:00
stonezdj
d9b4b18943 Fix LDAP group related issues
User groups should not have same DN
Should not import an LDAP group if there is a user group with same DN
2018-08-07 12:02:38 +08:00
Daniel Jiang
0a07f0e039
Merge pull request #5402 from stonezdj/api_test
Add harbor API test
2018-08-06 17:30:07 +08:00
miaoshixuan
7649cc5f1b update db migrator images name (#5204) 2018-08-03 12:29:02 +08:00
wangyan
d6a75d5224 Update migration guide for v1.6.0 2018-08-01 22:04:36 -07:00
Deng, Qian
8feb49c64e Feature of helm chart UI
1. Add Charts list view
2. Add Charts card view
3. Add Chart version list view
4. Add chart version card view
5. Add Chart Detail Summary
6. Add Chart Detail Value
6. Add Chart Detail Deps
7. Update nodeclarity Dockerfile
8. Add markdown support
9. Add package-lock file to src
2018-08-01 13:20:06 +08:00
stonezdj
edcb2fbf05 Add Harbor API Test based on python API
Correct swagger.yaml format
Add make task swagger_client to gen and install python client.
Add LDAP related Test
2018-08-01 10:43:23 +08:00
Wenkai Yin
4ee6f6abdf Update the user guide
This commit updates the user guide according to the comments from Louis
2018-07-25 13:04:19 +08:00
Wenkai Yin
be25d15fcc Update the user guide
Add repllication label filter to the user guide and replace a few images used in the doc
2018-07-16 18:03:31 +08:00
James
65ffdbf3af Tweaking partners.md
- Removing blank space at EoL
- Adding China Mobile
2018-07-13 12:55:42 -04:00
Daniel Jiang
c3149bee4e
Merge pull request #5241 from vmware/ninjadq-fix-type-on-migration-doc
Fix images name typo on migration doc
2018-07-13 17:46:09 +08:00
Daniel Jiang
ad7a85da51
Merge pull request #5200 from stonezdj/add_group_search_api
Add REST API to search LDAP by Group DN
2018-07-06 15:10:31 +08:00
stonezdj
62acdb14f3 Add settings to define admin with LDAP group DN 2018-07-05 14:46:44 +08:00
stonezdj
2494a7aaab Add REST API to search LDAP by Group DN
Used to verify and search DN when adding group member to project
2018-07-05 12:55:44 +08:00
Wenkai Yin
e1000d5984
Merge pull request #5239 from ywk253100/180703_preview
Update guide of demo server
2018-07-05 10:39:22 +08:00
Qian Deng
9cf9faab1b
Fix images name typo on migration doc
Fix the typo of images name of migrator v 1.2
2018-07-03 21:22:04 +08:00
Wenkai Yin
797fdef8a9 Update the demo server guide
Update the guide of demo server according to the comments
2018-07-03 19:09:41 +08:00
Daniel Jiang
0033f71d29
Merge pull request #5183 from 48763/patch-1
Modify installation_guide.md
2018-07-03 18:37:28 +08:00
yixingj
3b5681258d Harbor perview server user guide
User guide on how to use harbor preview server.
2018-07-03 16:02:57 +08:00
Steven Zou
6dfccc7dea
Merge pull request #5074 from ninjadq/ldap_search_ui
Add LDAP search UI
2018-07-03 15:30:18 +08:00
Deng, Qian
72dfdd552f Add ldap serach
1. Add group management
2. Add rewrite import user to member ui
3. Add import group to member
4. Add new items in configuration page
2018-07-03 14:00:59 +08:00
Daniel Jiang
896139ee5f
Merge pull request #5224 from ywk253100/180629_swagger
Update the swagger file
2018-07-03 11:44:51 +08:00
Wenkai Yin
98c09766f3
Merge pull request #5176 from silenceshell/patch-1
SERVER_ID should be SERVER_IP
2018-06-29 18:55:24 +08:00
Wenkai Yin
2baee7a552 Update the swagger file
Fix #5168 by correcting the types of properties used in ProjectMetadata
2018-06-29 17:32:08 +08:00
Wenkai Yin
5552581c0c
Merge pull request #5199 from ywk253100/180621
Update docs
2018-06-29 12:52:55 +08:00
Daniel Jiang
173c8db295
Merge pull request #4930 from sigsbee/upgradetest
Add upgrade test tips
2018-06-29 11:20:07 +08:00
Wenkai Yin
aaa2cc1591 Update docs
Replace the email address with image to avoid junk emails
2018-06-29 10:08:27 +08:00
James
5d31dd5b57
New architecture diagram
Uploading new architecture diagram for documentation
2018-06-28 15:13:39 -04:00
myufei
c29635b9b0 Add upgrade test tips
Add tips and information before and after upgrade for Harbor
upgrade test
2018-06-28 19:01:15 +08:00
James
88941810ae
Updated registry_landscape.md
Simplified and tweaked registry landscape table.
2018-06-25 15:45:51 -04:00
Yuki
bf0ba46c46
Modify installation_guide.md
Modify HTTS of network port 4443 to HTTPS.
2018-06-25 09:40:14 +08:00
silenceshell
51dba20347
SERVER_ID should be SERVER_IP 2018-06-22 11:28:52 +08:00
James
1f85263b3f Registry Landscape
Creating a high-level overview of different projects and tols available for
platform engineers / architects to leverage when attempting to deploy
a container registry.

If you find any errors please don't hesitate to submit a PR.
2018-06-21 15:01:36 -04:00
stonezdj
d6a4d79a03 Handle Invalid syntax and not found error 2018-06-20 14:27:29 +08:00
Wenkai Yin 79628
3298c05157 Provide an API to return the resources that a label is referenced by
The API returns the resources that the label is referenced by. The resources contain only replication policies for now.
2018-06-14 11:52:19 +08:00
Wenkai Yin 79628
0b10ed3164 Update partners and users of Harbor 2018-06-12 10:09:00 +08:00
Daniel Jiang
01b012afaf
Merge pull request #4950 from yixingjia/hadocs
Update HA docs to point to 1.5 branch
2018-06-11 13:36:46 +08:00
Wenkai Yin 79628
0c56493fb6 Soft delete label
Modify the deletion of label to soft deletion, in this way the names of deleted labels referenced by replication rules can be shown to users
2018-06-07 17:14:12 +08:00
Jonas Rosland
845f6709d9 Adding correct links, and minor edits for spelling (#5080) 2018-06-07 13:17:07 +08:00
sigsbee
8f9e264407 Update compile_guide.md (#5031)
Update compile_guide.md ,change ui builder version to 1.4.1
2018-05-23 22:13:14 -07:00
Wenkai Yin 79628
c421aec08b Update swagger doc
Add inactive property for label object. The property is used to show the status of label in replication label filter.
2018-05-22 16:08:19 +08:00
Wenkai Yin 79628
ad62fffb0e Add label filter in replication policy API
The label filter can be used to filter images when do the replication, this commit provides the filter in replication policy
2018-05-21 15:01:17 +08:00
yixingj
da54b94226 Update HA docs to point to 1.5 branch
Change harbor sql to point to 1.5.0 branch.
change keepalived configuration file and check script to 1.5.0 branch
2018-05-14 14:34:17 +08:00
Wenkai Yin 79628
07ffe425dd Update API doc
Update the parameters used in request and the data of response of projects API in swagger
2018-05-03 14:37:00 +08:00
stonezdj
19c27cd107 Update swagger.yaml to add ldap group config parameters
Parameters include:
ldap_group_attribute_name
ldap_group_base_dn
ldap_group_search_filter
ldap_group_search_scope
2018-05-03 12:36:16 +08:00
stone
68cf63bbef Merge pull request #4798 from stonezdj/release-1.5.0
Return 404 if user is not found
2018-04-27 17:01:17 +08:00
stone
993ad31e6e
Change the order of power off machine and pvscan command in step 2
Run pvscan command before power off the machine.
2018-04-25 11:27:14 +08:00
Daniel Jiang
28aea4d439
Merge pull request #4671 from wy65701436/read-only-doc
Add documemt for read only
2018-04-19 14:45:03 +08:00
wangyan
f0b48575a8 Add documemt for read only 2018-04-17 22:32:37 -07:00
Steven Zou
3804e311a6 Provide guideline about how to customize the look&feel of Harbor UI
support customizing product name
support customizing logo
support customizing login background image
support customizing about text with different languages
2018-04-17 19:21:19 +08:00
Daniel Jiang
62a4bac48e
Merge pull request #4674 from stonezdj/filter_not_work
Add project member search by name
2018-04-17 10:04:06 +08:00
Yan
254bdba687
Update migration document (#4677) 2018-04-16 19:33:42 +08:00
stonezdj
7e57c685ac Add project member search by name
Previous implementation contains the search user by name feature. This implementation can search user and user group by name.
2018-04-16 18:38:10 +08:00
Qian Deng
e12826ef42
Merge pull request #4643 from ninjadq/add_test_case_and_doc
Add testcase and doc for cardview
2018-04-16 10:28:49 +08:00
yixingj
de91098fc5 Update HA docs
real IP -> your VIP
2018-04-13 18:21:37 +08:00
yixingj
221a8b0892 Update HA tempalte
Update the template.
Update the installation guide.
2018-04-13 11:12:48 +08:00
Deng, Qian
ddb5298ae6 Add testcase and doc for cardview 2018-04-12 19:55:46 +08:00
Daniel Jiang
0cc63c0616
Merge pull request #4625 from ywk253100/180411_doc
Update user guide for label management
2018-04-11 18:44:48 +08:00
stonezdj
de49165427 Refactor project member API
1) Remove the previous /api/projects/?:project_id/members/:userid
    2) Move the /api/projects/:project_id/projectmembers/?:pmid to
        /api/projects/:project_id/members/?:pmid
    3) Change the project member maintain ui to call new REST API
2018-04-11 17:49:33 +08:00
Wenkai Yin 79628
6c42959be2 Update user guide
Add labal management description in user guide
2018-04-11 14:04:30 +08:00
Jesse Hu
f0f3cac6ed
Update high_availability_installation_guide.md (#4589)
Fix issue https://github.com/vmware/harbor/issues/4588
2018-04-09 15:27:38 +08:00
Daniel Jiang
53182ab407
Merge pull request #4439 from ronakbanka/master
Fix broken link in user doc
2018-04-08 11:07:01 +08:00
stone
df63a73fd4
Merge pull request #4483 from stonezdj/api4assign_role_to_group4
Add REST API for assign role to group
2018-04-04 16:19:37 +08:00
stonezdj
9bcfaedc0e Add REST API for assign role to group 2018-04-04 13:39:42 +08:00
Daniel Jiang
722edc9c60
Merge pull request #3552 from Evalle/3462
[Skip CI] Add link to official docker documentation
2018-04-03 19:21:54 +08:00
Ronak Banka
22a9bbc97d Fix broken link in user doc 2018-03-31 10:19:05 +08:00
Yan
cbcca015b0
add read only mode to stop docker push (#4433) 2018-03-23 03:16:08 -07:00
Jesse Hu
7cc8aa45b8
Update kubernetes_deployment.md to advocate Harbor Helm Chart 2018-03-22 08:15:11 +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
Tan Jiang
c4414c9472 fix typo in swagger 2018-03-19 09:22:10 +08:00
Wenkai Yin
bcf81224ad Update according to the comments 2018-03-14 13:42:19 +08:00
Wenkai Yin
36b9c4e458 Implement adding/removing labels to/from repositories and images API 2018-03-12 19:30:05 +08:00
Wenkai Yin
379f113452 Implement label management API 2018-03-09 12:17:27 +08:00
yixingjia
dcf16a84a6
Merge pull request #4212 from yixingjia/reorderconfig
Refactor DB configuration in harbor.cfg
2018-02-02 17:59:09 +08:00
yixingj
6c8bb9c73f Refactor DB configuration in harbor.cfg
Put harbor_db, clair_db configuration together
2018-02-02 17:14:52 +08:00
Daniel Jiang
2031f11055
Merge pull request #4193 from ywk253100/180131_user_guide
Update replication part of user guide as some UI pages are changed
2018-02-02 15:41:53 +08:00
Daniel Jiang
e2dd4fcce9
Merge pull request #4154 from ninjadq/update_doc_for_descrption_repo
Update Docs for description repository
2018-02-02 15:38:25 +08:00
Wenkai Yin
6814efc9fc Update replication part of user guide as some UI pages are changed 2018-01-31 13:23:13 +08:00
yixingjia
45c3afbdf2
Merge pull request #4168 from yixingjia/HAdocs
Update HA document.
2018-01-31 12:33:08 +08:00
yixingj
a8dc8d784f Update HA document.
Format the docs
2018-01-30 18:13:35 +08:00
pengpengshui
f4270213ce
Merge pull request #4172 from pengpengshui/batchDelection
Modify replication list unsave when modify username or possword
2018-01-29 19:10:25 +08:00
yixingjia
bb479cbced
Merge pull request #3669 from yixingjia/harborRequiremnt
Harbor resource requirement doc
2018-01-29 17:07:19 +08:00
pfh
dca8459a13 Merge remote-tracking branch 'upstream/master' into batchDelection 2018-01-29 16:41:47 +08:00
Deng, Qian
70ee52edce Update Docs for description repository 2018-01-29 15:14:08 +08:00
Daniel Jiang
c5643f807e
Merge pull request #4150 from reasonerjt/swagger-415
Update swagger doc to include description for status code 415
2018-01-29 14:05:55 +08:00
Tan Jiang
45d2b1923e Update swagger doc to include description for 415 status code 2018-01-29 12:20:55 +08:00
stonezdj
310076597c Add Harbor ova migration guide 2018-01-29 10:28:38 +08:00
pfh
163fba0f21 Modify md file for some batch delection operation and change some pictures 2018-01-26 17:25:38 +08:00
yixingjia
f9272e25ae
Merge pull request #3923 from yixingjia/HAdocs
High availability Deployment installation guide
2018-01-25 18:43:18 +08:00
yixingj
74d98e4c8c High availability Deployment installation guide
HA installation guide for HA
2018-01-24 12:21:28 +08:00
Wenkai Yin
300463fe11
Merge pull request #4075 from ywk253100/180119_user_guide
Update replication part in user guide
2018-01-23 14:13:19 +08:00
Daniel Jiang
d18517c910
Merge pull request #4042 from stonezdj/ldap_doc_3962
Document update for LDAP/OVA
2018-01-22 15:45:37 +08:00
Wenkai Yin
eb7c0d19ad Update replication part in user guide 2018-01-19 15:41:59 +08:00
Wenkai Yin
611709a7be Add pagination support in listing replication policy API 2018-01-18 15:54:12 +08:00
stonezdj
72180e4d44 Document update for LDAP/OVA 2018-01-17 11:27:09 +08:00
stone
83faddcdef
Merge pull request #3965 from stonezdj/ldap_search_level2
Change ldap scope after refactor
2018-01-10 11:31:53 +08:00
Deng, Qian
da2bf64289 Update doc file to avoid issues when rollback from 1.3 to 1.2 2018-01-09 15:18:38 +08:00
stonezdj
aa4e36c61a Change ldap scope after refactor 2018-01-08 16:59:15 +08:00
Wenkai Yin
96a63c56b1 Merge remote-tracking branch 'upstream/master' into 180103_merge 2018-01-03 10:32:03 +08:00
yixingj
3153705731 Harbor resource requirement doc
Add harbor resource requirement for Harbor installation guide
2018-01-02 16:22:45 +08:00
stone
027fa72df7
Merge pull request #3681 from stonezdj/ova_install_doc
Add harbor ova install guide
2017-12-26 13:47:58 +08:00
stonezdj
110ff691ca Add harbor ova install guide 2017-12-26 12:49:37 +08:00
Daniel Jiang
1c2d5e8036
Merge pull request #3638 from CMUH/k8s/bump-to-newer-resource
Bump many resources type to newer ones of Kubernetes
2017-12-26 11:44:29 +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
Wenkai Yin
665a54edc3 Merge remote-tracking branch 'upstream/master' into 171213_merge 2017-12-13 13:40:24 +08:00
Yan
bcb74dde83
Merge pull request #3730 from sigsbee/updateguide
Add link to user guide overview issue#3519
2017-12-10 20:49:24 -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
2ba3758472 Update the replicatoin APIs in swagger.yaml 2017-12-04 15:39:40 +08:00
myufei
4e87152cd5 Add link to user guide overview issue#3519 2017-12-02 02:36:30 +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
8d9af50bbc Add update repository API to support description of repository 2017-11-27 14:18:57 +08:00
A31882(Wu Yi Chung)
0ae6eccde4 Replace Nginx-Proxy with Ingress 2017-11-27 09:25:24 +08:00
A31882(Wu Yi Chung)
ae2b702ea5 Replace ReplicationController with Deployment 2017-11-24 16:50:09 +08:00
Wenkai Yin
1c338ed30b Add replication manual trigger API & update replication/policy API docs 2017-11-24 10:50:10 +08:00
JJ Asghar
b38ebd6b29 Update installation_guide.md (#3558)
It's technically OpenStack not Openstack.
2017-11-19 22:39:34 -06:00
JJ Asghar
64431610ec Update kubernetes_deployment.md (#3565)
Some formatting to make it look prettier.
2017-11-19 22:39:00 -06:00
Wenkai Yin
249fd61dce Update installation guide for release 1.3 2017-11-17 16:21:07 +08:00
Evgeny Shmarnev
17c61b6ef7 Add link to official docker documentation 2017-11-15 09:14:00 +01:00
Wenkai Yin
e4f2711f4f Update user guide for release 1.3 2017-11-13 12:40:24 +08:00
Wenkai Yin
5cef58baa1 update according to the comments 2017-11-08 17:53:41 +08:00
Daniel Jiang
7cd44e4eb6
Merge pull request #3540 from cmingxu/patch-1
Update kubernetes_deployment.md
2017-11-07 15:17:18 +08:00
kevin.xu
047e5e9d05
Update kubernetes_deployment.md 2017-11-02 05:12:28 -05:00
Wenkai Yin
51d5df0849 Update replication policy API to support trigger and filter 2017-11-02 14:59:26 +08:00
Evgeny Shmarnev
af88cc11a9 ISSUE-3463: fix docker-compose command 2017-10-30 12:17:45 +01: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
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
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
46814206bb Merge branch 'master' into master 2017-10-11 02:10:50 -05:00
Wenkai Yin
5333cdc5e3 Merge pull request #3311 from huzhengchuan/patch-1
fix type error in swagger.yaml
2017-10-10 21:33:32 -05:00
Daniel Jiang
503cbb5c10 Merge pull request #3345 from vmware/reasonerjt-patch-1-1
Update user_guide.md to include instructions to pull image via k8s.
2017-09-29 17:22:41 +08:00
Daniel Jiang
57a913a42b Fix typo 2017-09-29 16:41:40 +08:00
Daniel Jiang
9a7660596d Add instructions pulling image via kubernetes 2017-09-29 16:20:34 +08:00
Tan Jiang
72b9c5f39e Refine document to add limitation and clarify loading the image, also update the name of prepare script to k8s-prepare, to differentiate the default one. 2017-09-28 16:28:59 +08:00
Steven Zou
708a8b04a2 add sceenshots for the demo references added in user guide document 2017-09-28 10:17:59 +08:00
Steven Zou
07b6934c9d add video demo references (both youtube and v.qq)to the readme.md and the user guide 2017-09-27 12:53:59 +08:00
huzhengchuan
3569d62b83 fix type error in swagger.yaml
fix #3310
2017-09-27 11:18:16 +08:00
Tan Jiang
0615f7ba9b Refine k8s deployment scripts and document 2017-09-26 13:57:44 +08:00
Wenkai Yin
82dc758064 Merge pull request #3213 from ywk253100/170914_image_size
Return image size when getting detail information of tag
2017-09-19 17:09:49 +08:00
Wenkai Yin
8d7644b8b5 Merge pull request #3151 from ywk253100/170830_email_insecure
Expose the insecure flag for email configuration
2017-09-15 15:01:30 +08:00
Wenkai Yin
2ebcc454ba support image size 2017-09-15 13:34:23 +08:00
Daniel Jiang
6efa2d5414 Merge pull request #2308 from m-masataka-ns/modify_userguide_in_notary
Add the discription of notary in User Guide
2017-09-13 17:46:31 +08:00
Wenkai Yin
99c1168e29 update description of new feature for different roles 2017-09-11 12:48:45 +08:00
Wenkai Yin
74dfeed7df update swagger 2017-09-04 15:12:54 +08:00
Tan Jiang
d1852e08e3 update swagger for 1.2 API. 2017-08-30 17:03:03 +08:00
Steven Zou
489b89dc13 recapture screenshots for vul scanning and content trust 2017-08-21 14:16:34 +08:00
yixingj
5864434a28 Fix commond issue 2017-08-18 14:26:26 +08:00
Daniel Jiang
987ad06ed7 Merge pull request #3024 from reasonerjt/master
fix issue in use_notary document
2017-08-10 15:27:35 +08:00
Tan Jiang
f21c266d50 fix issue in use_notary 2017-08-10 14:22:26 +08:00
Haining Henry Zhang
c53c5f65a9 Vulnerability data import (#2981)
* update offline data import for vul scan

* update vul scan data import guide

* update vul data guide
2017-08-07 18:34:13 +08:00
Haining Henry Zhang
43b2bce6b1 update docs for 1.2 (#2974)
* update change log

* update documents

* update documents

* update AUTHORS

* update README

* update harbor.cfg

* remove unused files

* updated TOC of docs

* update REAME

* update README

* udpate docs for 1.2

* udpate authors

* updated installation guide

* updated migration guide

* updated migration guide
2017-08-07 14:38:10 +08:00
Daniel Jiang
a6dc3e549d Merge pull request #2941 from wy65701436/update-migration-guide
update migration guide
2017-08-04 19:18:13 +08:00
Yan
957bd1722a update installation guide (#2930)
* update installation guide

* add perf turning.

* update per comments

* update per comments
2017-08-04 18:04:14 +08:00
Daniel Jiang
ef909b4e0c Merge pull request #2318 from timchenxiaoyu/timchenxiaoyu-patch-1
docs error
2017-08-04 17:01:34 +08:00
sigsbee
4632926266 update userguide (#2933)
* update user guide

* update user guide

* update user guide

* update user guide

* update user guide

* fix refer

* update user guide gc

* update user guide

* update user guide

* update user guide

* update user guide

* update user guide

* update userguide

* update user guide

* update user guide
2017-08-03 15:26:44 +08:00
Daniel Jiang
8a92724198 Merge pull request #2931 from wy65701436/update-compile-guide
Update compile guide
2017-08-03 13:18:44 +08:00
Steven Zou
c05f843704 update document for Clair user guide 2017-08-02 18:47:32 +08:00
wangyan
7aff623997 update migration guide 2017-08-02 15:36:14 +08:00
wangyan
8331fe20d4 update compile guite 2017-08-01 14:42:56 +08:00
wangyan
6871a080b8 update compile guite 2017-08-01 14:35:08 +08:00
Daniel Jiang
9582637651 fixes #2539 (#2877) 2017-07-26 18:37:57 -07:00
yixingjia
69adddd866 Merge pull request #2786 from yixingjia/docs
Clair offline data update guide
2017-07-25 17:11:43 +08:00
Daniel Jiang
2a50559ff7 update swagger doc (#2822)
* update swagger doc

* remove unused definitions
2017-07-20 03:47:46 -07:00