Commit Graph

3895 Commits

Author SHA1 Message Date
yixingj
f63588855f Make Clair DB configurable
Make the HOST,PORT,USERNAME,DB configurable for
Clair
2017-12-20 18:29:50 +08:00
Daniel Jiang
068d6a35df
Merge pull request #3832 from wy65701436/master
Remove the workaroud for avoiding photon distro-sync error
2017-12-20 15:06:43 +08:00
Daniel Jiang
8b5be1c904
Merge pull request #3695 from aladjadj/patch-1
Fix Swagger (semantic error) :  add slash in the value of $refs in the swagger for
2017-12-20 13:59:24 +08:00
wangyan
b560f6c061 Remove the workaroud for avoiding photon distro-sync error 2017-12-19 21:10:32 -08:00
Daniel Jiang
052521b92c
Merge pull request #3821 from reasonerjt/uaa-restriction
Refactor the configuraiton of UAA
2017-12-19 19:36:09 +08:00
Daniel Jiang
c0c262cb53
Merge pull request #3790 from ywk253100/171214_author
Read image author from label 'maintainer' if author is null
2017-12-19 18:40:25 +08:00
Daniel Jiang
783234eb14
Merge pull request #3812 from wy65701436/fix-offline-ha
[Specific CI=Group0-Distro-Harbor] Fix offline ha
2017-12-19 16:34:02 +08:00
Tan Jiang
7c264f6201 reduce build log of travis 2017-12-19 16:25:07 +08:00
wangyan
cfce2ca4e9 Refine image tag name and script path when to build offline bundle 2017-12-18 23:50:48 -08:00
Daniel Jiang
9979de55d4
Merge pull request #3818 from wy65701436/temp-photon
Temporary workaround for photon distro-sync error
2017-12-19 15:32:30 +08:00
Tan Jiang
2ffc58a5d4 Refactor the configuraiton of UAA
Remove the attribute "uaa_ca_root" from harbor.cfg and introduce
"uaa_verify_cert".  Similar to LDAP settings, this allow user to
explicitly turn of the cert verification against UAA server, such that
the code will work with self-signed certificate.
2017-12-19 14:42:07 +08:00
wangyan
6b7df3636c Temporary workaround for photon distro-sync error 2017-12-18 22:18:21 -08:00
Daniel Jiang
62cebbdb5d
Merge pull request #3797 from reasonerjt/uaa-restriction
Disable user management features when auth mode is UAA.
2017-12-18 22:47:08 +08:00
Daniel Jiang
cdadc94d0f
Merge pull request #3804 from ywk253100/171215_jobservice
Print stack trace when recover from panic and print warning message rather than returning an error when updating 0 records
2017-12-18 16:36:20 +08:00
Tan Jiang
224f75b9a6 Refactor /users API, add more restircation in password reset
Simplified the code when checking if a user is modiable in different
auth modes.
Also add restriction in password, such that when the auth mode is not DB
auth, only the super user can choose to reset his password.
2017-12-18 14:32:29 +08:00
Daniel Jiang
1b1741801e
Merge pull request #3768 from wy65701436/unify-build-images
Unify images tags and build process
2017-12-18 13:22:57 +08:00
Daniel Jiang
cd46ee2f77
Merge pull request #3805 from vmware/add_test_suite_for_ldap
[Skip CI] add api testing suite for ldap scenario: no user creation and user de…
2017-12-18 12:36:59 +08:00
Steven Zou
bdb26139d7 change the hostname placeholder for the ldap concourse environment to 30.0.0.3 2017-12-17 15:15:05 +08:00
Steven Zou
d7f99d5604 add api testing suite for ldap scenario: no user creation and user deleting cases comparing to the general scenario 2017-12-15 18:56:20 +08:00
Daniel Jiang
7946b07fce
Merge pull request #3796 from stonezdj/ldap_3653
Fix ldap ping issue #3653
2017-12-15 16:12:36 +08:00
wangyan
1e750a1ed4 Unify images tags and build process 2017-12-14 23:52:18 -08:00
Qian Deng
40f766b29a
Merge pull request #3742 from ninjadq/metadata_description
Add UI for metadata description
2017-12-15 15:44:50 +08:00
Steven Zou
5b522fcd40
Merge pull request #3800 from vmware/add_proxy_settings
[SKIP CI] add proxy settings to the API client for the api-testing part
2017-12-15 15:39:54 +08:00
stonezdj
9393d26fdc Fix ldap ping issue #3653 2017-12-15 14:47:54 +08:00
Steven Zou
42fb5c9f8e add proxy settings to the API client for the api-testing part 2017-12-15 13:19:03 +08:00
Wenkai Yin
d9b0f54c5e Split populating author as a method and add unit test 2017-12-15 10:40:24 +08:00
Daniel Jiang
d1bcb6f853
Merge pull request #3794 from stonezdj/ldap_try
Retry when test ldap server load data fail
2017-12-15 10:21:08 +08:00
stonezdj
2c2f97a3be Retry when test ldap server load data fail 2017-12-14 22:36:27 +08:00
Daniel Jiang
0abd30f9f4
Merge pull request #3785 from reasonerjt/auth-refactor
Small refactory.
2017-12-14 14:51:40 +08:00
Wenkai Yin
43489c2b67 Print stack trace when recover from panic and print warning message rather than returning an error when updating 0 records 2017-12-14 13:48:45 +08:00
sigsbee
5caf31c57d
add vulnerability case (#3206)
* Add vulnerability manual case
2017-12-14 10:53:42 +08:00
Wenkai Yin
745d83e393 Read image author from label 'maintainer' if author is null 2017-12-13 23:28:01 +08:00
Tan Jiang
5da894bcf2 Small refactory. 2017-12-13 20:58:27 +08:00
stone
cbd1431333
Merge pull request #3726 from stonezdj/ldap_refactor2
Refactor LDAP code

Changes include:
1. Use session to manage the lifecycle of LDAP connections
2. Abstract common AuthenticateHelper interface for db_auth, ldap_auth, uaa_auth
2017-12-13 16:21:20 +08:00
Deng, Qian
a4bd27c7b0 Bump UI Lib version 2017-12-13 15:37:56 +08:00
Deng, Qian
ccfd206ae2 Merge branch 'master' into metadata_description 2017-12-13 15:21:57 +08:00
stonezdj
ec67974104 Refactor ldap
Changes include:

1. Use Session to manage the lifecycle of ldap connections
2. Abstract common AuthenticateHelper interface for db_auth, ldap_auth,
uaa_auth mode
2017-12-13 14:57:04 +08:00
Daniel Jiang
90acafaea2
Merge pull request #3776 from wy65701436/pks-release
Add pks build bundle process
2017-12-13 13:13:36 +08:00
wangyan
a4490f1709 Add pks build bundle process 2017-12-12 19:36:06 -08:00
Wenkai Yin
62c652ede0
Merge pull request #3775 from pengpengshui/ping_replicationRule
Fix Replication Rule Ping target issue about #3770
2017-12-13 10:38:48 +08:00
Fuhui Peng (c)
f179e09cd0 Fix Replication Rule Ping target issue about #3770 2017-12-12 18:05:03 +08:00
yixingjia
ec269047c7
Merge pull request #3736 from yixingjia/HA
HA installation script
2017-12-12 16:27:28 +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
yixingjia
f4d0fd4d23
Merge pull request #3640 from yixingjia/moveconftoDB
Add database driver for Harbor configurations
2017-12-11 10:42:05 +08:00
Yan
f54ce1a1f6
Merge pull request #3765 from reasonerjt/fix-license-1.3
Fix the error License for 1.3 release
2017-12-08 02:47:15 -08:00
Tan Jiang
bf95d19798 Fix the error License for 1.3 release 2017-12-08 17:22:59 +08:00
Daniel Jiang
9193161f25
Merge pull request #3761 from vmware/add_api_testing
[Skip CI]add api testing for harbor including image pull and push
2017-12-08 17:11:59 +08:00
Steven Zou
61eefbaf6c add api testing for harbor including image pull and push 2017-12-08 16:16:50 +08:00
Deng, Qian
b15acdf151 Add UI for metadata description 2017-12-08 15:05:52 +08:00
yixingj
d328e2586e HA installation script
Add --ha options when install Harbor.

Currently it does nothing.
2017-12-07 22:56:57 +08:00