Steven Zou
76a2a9864c
upload the diagram of the Harbor architecture
...
No code contained
2019-10-18 17:50:50 +08:00
Stuart Clements
c20244b97f
Reordering topics
2019-10-17 19:22:38 +02:00
Stuart Clements
24aef6dda3
Changed heading
2019-10-17 19:18:30 +02:00
Stuart Clements
24c48af305
Lots more reorg
2019-10-17 19:00:00 +02:00
Stuart Clements
7d642c3d60
More reorg in Admin section
2019-10-17 17:40:06 +02:00
Stuart Clements
6645d02a45
More doc reorg
2019-10-17 16:59:01 +02:00
Stuart Clements
cb7d6eca93
First wave of doc reorg
2019-10-17 15:47:25 +02:00
Wenkai Yin(尹文开)
97ddff2ac8
Merge pull request #9434 from heww/clair-adapter
...
build(clair): internal clair adapter when install with clair
2019-10-17 16:06:10 +08:00
He Weiwei
8964a8697a
build(clair): internal clair adapter when install with clair
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-17 12:00:51 +08:00
Michael Michael
7556428fd9
Update demo_server.md
2019-10-16 21:00:23 -07:00
Michael Michael
347e96e3b8
Update demo_server.md
2019-10-16 20:58:03 -07:00
Arvan Pritchard
91bef09aab
Document offline migration
...
Add instructions for migration using offline installer.
Requested by Wang Yan in issue #7831
Signed-off-by: Arvan Pritchard <apritchard@pulsesecure.net>
2019-10-14 17:30:53 +01:00
Stuart Clements
ed70e37c05
Fixed typo per pr 9372
2019-10-14 10:44:45 +02:00
xaleeks
21a0dd1d28
Merge pull request #9372 from stuclem/fix-typo
...
Fixed typo
2019-10-12 11:28:38 +08:00
Stuart Clements
67dfc5b35c
Fixed typo
2019-10-11 09:16:22 +02:00
Daniel Jiang
53a13e165d
API for user to set the CLI secret
...
This commit replace the API to generate CLI secret with a new API to
update the secret
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-10-11 14:15:08 +08:00
jwangyangls
f5af75cc8a
Merge pull request #9332 from jwangyangls/fix-setting-golobal-harbor
...
Fix setting.json bug
2019-10-09 13:19:02 +08:00
Yogi_Wang
4347d2e06d
Fix setting.json bug
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-10-09 11:50:45 +08:00
Wenkai Yin
ac7364fd11
Update the adopters documentation
...
Update the adopters documentation
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-09-26 14:26:48 +08:00
Stuart Clements
36b7310824
Documenting tag retention issue ( #9215 ) ( #9255 )
...
* Documenting tag retention issue
* Comments from Alex
* Typo
2019-09-25 15:41:30 +02:00
stonezdj(Daojun Zhang)
ce824a6eb9
Merge pull request #9141 from stonezdj/immutable_tag_api
...
Immutable tag api
2019-09-25 19:01:14 +08:00
stonezdj
cc22a175b9
Add immutable tag API
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-09-25 15:53:56 +08:00
Wenkai Yin
83e7213d18
Make the username required when searching user
...
Make the username required when searching user and remove the support for query email
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-09-25 13:32:29 +08:00
Wang Yan
e7450a6d33
Merge pull request #9197 from ninjadq/update_migration_doc_for_1.9
...
Update the doc of migration
2019-09-24 16:55:03 +08:00
DQ
8be51f9bfa
Update the doc of migration
...
add the migration method after 1.8.x
Signed-off-by: DQ <dengq@vmware.com>
2019-09-23 11:53:39 +08:00
Michael Michael
daec26a5f9
moving the doc to the top of the repo
2019-09-19 10:37:40 -07:00
xaleeks
9b4e3fa5c4
security disclosure process
...
Signed-off-by: xaleeks <xalex@vmware.com>
2019-09-20 00:02:34 +08:00
wang yan
cab07f71cd
Merge branch 'master' of https://github.com/goharbor/harbor into immutable-selector
2019-09-19 17:55:29 +08:00
xaleeks
8ae4c78214
fixed cve whitelist permissions
...
Signed-off-by: xaleeks <xalex@vmware.com>
2019-09-18 00:47:30 +08:00
xaleeks
bf3416cbf7
added permissions for 1.9 features
...
Signed-off-by: xaleeks <xalex@vmware.com>
2019-09-17 22:55:24 +08:00
wang yan
b603f8ab62
Add quota switcher swagger doc
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-17 14:48:54 +08:00
Stuart Clements
0470b334c6
Adding docs about webhooks, tag retention, CVE whitelists and project quotas ( #8869 )
...
* Adding docs about webhooks
* Fixed title
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comments from Alex
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Adding placeholder for tag retentionl correct # of endpoints
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Added doc for tag retention
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Added JSON example for webhooks
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Added global webhook setting and error handling
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comments from mmpei
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comment from Alex
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comment about concurrency from Alex
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comment from steven about ** wildcard
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comments from Steven on examples
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Added screen cap to edit retention rule
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Fixing indentation
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Clarified quotas
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Added doc for quotas
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Removing fullstops
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Fixed image links
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Documenting CVE whitelists
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Fix cut n paste error
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Adding images `
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Another cut n paste error
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Typos
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Tidied the language somewhat
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comments from Wang Yan
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Completed unfinished sentence.
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comments from Alex
Signed-off-by: Stuart Clements <sclements@vmware.com>
* Comment from Alex on artifact counts
* Replaced "artifact" with "tag" as appropriate
* Updated CVE whitelist button label
* Comments from He Weiwei
* Review comments
2019-09-16 14:54:40 +02:00
Stuart Clements
0f4cf89253
Documented how to configure Syslog and DB connection pool in harbor.yml ( #9005 )
...
* Documented how to configure Syslog connection in harbor.yml
* Documenting DB connection pool
* Removed extraneous character
* Comments from Qian.
* Comment from Weiwei
* Another comment from Weiwei
* Added max_open_conns and max_idle_conns to the external DB
* Corrected defaults for max_open_conns and max_idle_conns
2019-09-16 11:53:16 +02:00
Daniel Jiang
89b8dfc508
Merge pull request #9004 from stuclem/robot-helm
...
Documented that Robo accounts can push/pull helm charts
2019-09-16 11:34:16 +08:00
Wang Yan
6b5fd36bb3
add e2e test case for project quota
...
1. Create a new user(UA);
2. Create a new private project(PA) by user(UA);
3. Add user(UA) as a member of project(PA) with project-admin role;
4. Push an image to project(PA) by user(UA), then check the project quota usage;
5. Check quota change
6. Delete image, the quota should be changed to 0.
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-15 22:16:11 +08:00
xaleeks
76f1580634
Merge pull request #8994 from stuclem/replication-improvements
...
Documenting new registry providers as replication endpoints
2019-09-13 19:09:49 +08:00
Stuart Clements
f14411dcab
Comments from Alex
2019-09-12 17:06:37 +02:00
Stuart Clements
5490bf395b
Comment from Daniel
2019-09-12 13:45:38 +02:00
Stuart Clements
4a43fd4a09
Comments from Alex
2019-09-12 12:47:14 +02:00
Stuart Clements
521e0f0f3f
minor rewording
2019-09-11 12:13:03 +02:00
Stuart Clements
024642b05c
Comment from Ziming about access to non-harbor endpoints
2019-09-11 12:10:05 +02:00
Stuart Clements
22ee82f7b8
Upgrade caveats
...
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-11 09:14:08 +02:00
Stuart Clements
d7cdb58a09
Updating migration guide for 1.9
...
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-11 09:14:08 +02:00
Stuart Clements
703224f30e
Documented that Robo accounts can push/pull helm charts
2019-09-06 13:32:24 +02:00
Stuart Clements
ddc602b036
Another screencap
2019-09-06 12:45:24 +02:00
Stuart Clements
ef1a22d55d
Took better screenshot
2019-09-06 12:42:59 +02:00
Stuart Clements
f9015abbc4
Added new registry providers as replication endpoints
2019-09-06 12:39:48 +02:00
Ziming Zhang
722e45b20b
add swagger for tag retention
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I0f3ed8085e231868de74c273ba85946826181d5b
2019-09-06 17:27:20 +08:00
Daniel Jiang
a42ffd1b30
Merge pull request #8821 from stuclem/minor-doc-fixes
...
Minor doc fixes
2019-09-05 18:59:08 +08:00
Stuart Clements
ac4d280988
Removed that passwords cannot begin with #
...
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-05 09:16:38 +02:00
Stuart Clements
6da5abbc43
Minor doc corrections
...
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-05 09:16:38 +02:00
Daniel Jiang
250a53cad7
Merge pull request #8908 from xaleeks/xaleeks-master-role-to-user-guide
...
Xaleeks master role to user guide
2019-09-04 16:41:50 +08:00
He Weiwei
e6ea40c04c
docs(swagger): add Products tag for quota APIs ( #8937 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-09-04 16:34:34 +08:00
wang yan
8e3d4cdc90
add harbor components version and gosec checking in drone ci
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-03 14:46:25 +08:00
DQ
aef93af21f
Fix docker-compose version to 1.18.0
...
Signed-off-by: DQ <dengq@vmware.com>
2019-09-02 18:37:42 +08:00
DQ
377739204b
Update config file names
...
Signed-off-by: DQ <dengq@vmware.com>
2019-09-02 18:19:06 +08:00
Daniel Jiang
6f0b376d07
Merge pull request #7913 from torubylist/master
...
fix small typo
2019-09-01 17:24:09 +08:00
xaleeks
20383611f9
added description of master role
...
Signed-off-by: xaleeks <xalex@vmware.com>
2019-08-31 01:30:39 +08:00
xaleeks
010096c897
changed user_guide.md
...
Signed-off-by: xaleeks <xalex@vmware.com>
2019-08-29 18:47:37 +08:00
Daniel Jiang
6098460b68
Merge pull request #8850 from ninjadq/update_migration_doc
...
Update migration doc
2019-08-28 12:53:31 +08:00
Qian Deng
8e5ea7bdc5
Merge pull request #8395 from alexander-lloyd/master
...
Fix typo in https configuration docs
2019-08-27 18:29:26 +08:00
Qian Deng
ea33561d95
Merge pull request #8747 from 928234269/patch1
...
fixt typo "an user" to "a user"
2019-08-27 18:26:11 +08:00
DQ
098f3e6da6
Update migration doc
...
in version 1.9, the input file should be yaml format
Signed-off-by: DQ <dengq@vmware.com>
2019-08-27 15:36:11 +08:00
wang yan
f343b2ec45
Revise quota errors to make it more readable
...
1, fix #8802 , update the error formet
2, fix #8807 , raise the real retag error to UI
3, fix #8832 , raise the real chart error to chart client & ut
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-26 17:00:31 +08:00
Wenkai Yin(尹文开)
a9d77f5c2c
Merge pull request #8589 from ninjadq/upgrade_docker-compose_checker
...
Update docker-compose checker
2019-08-22 20:00:42 +08:00
Daniel Jiang
7f7e2a8106
Remove 401 error for HEAD /projects
...
Fixes #7544
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-08-21 15:59:25 +08:00
stonezdj(Daojun Zhang)
962d480d79
Merge pull request #8516 from thebouv/patch-1
...
Fixes small typo in manage_role_by_ldap_group docs
2019-08-21 15:18:55 +08:00
Wang Yan
6d663a88e3
Merge pull request #8634 from sandhose/fix-swagger-spec
...
Fix the swagger API definition
2019-08-21 13:28:05 +08:00
928234269
7a4fde5ec9
fixt typo "an user" to "a user"
...
Signed-off-by: 928234269 <longfei.shang@daocloud.io>
2019-08-21 10:20:35 +08:00
Daniel Jiang
747bf849d2
Merge pull request #8670 from reasonerjt/proj-cve-wl-apitest
...
API test for project level CVE whitelist
2019-08-16 18:17:26 +08:00
wang yan
6e11ecc6fc
Update codes per review comments
...
Signed-off-by: wang yan <wangyan@vmware.com>
2019-08-16 14:58:52 +08:00
Daniel Jiang
022d4e6ae8
Merge pull request #7462 from cd1989/enable-tags-detail-param
...
List simple tags when detail set to false
2019-08-16 14:25:29 +08:00
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