Commit Graph

3995 Commits

Author SHA1 Message Date
Wenkai Yin
8e4e5e8b54 Add unit test cases for replication codes 2018-01-03 18:39:30 +08:00
Wenkai Yin
ce8a102af1
Merge pull request #3898 from ywk253100/180103_merge
Sync with master branch
2018-01-03 11:55:45 +08:00
Wenkai Yin
96a63c56b1 Merge remote-tracking branch 'upstream/master' into 180103_merge 2018-01-03 10:32:03 +08:00
pengpengshui
c5e434bd14
Merge pull request #3859 from pengpengshui/batch-delection
Add batch-delete operation in project module, replication module and user module
2018-01-03 10:27:55 +08:00
Fuhui Peng (c)
d7c0bc5168 Add batch delection operation in project module, replication module and user module
Modify privilege about project module

Modify package version about harbor-ui

Fix case failed in new batch delection UI
2018-01-02 19:42:44 +08:00
Daniel Jiang
cb468bce46
Merge pull request #3863 from stonezdj/ldap_add_member_test
Add ldap user to project member test
2018-01-02 14:38:48 +08:00
Daniel Jiang
5289ff8d5a
Merge pull request #3888 from stonezdj/ldap_security2
Do not display internal error message to user
2017-12-29 16:49:53 +08:00
Qian Deng
7a0dbafad6
Merge pull request #3890 from ninjadq/uaa_ui
Add UI Component for UAA Auth
2017-12-29 15:25:47 +08:00
Deng, Qian
ef045bb720 Add UI Component for UAA Auth 2017-12-29 12:02:13 +08:00
Daniel Jiang
3199668443
Merge pull request #3889 from reasonerjt/uaa-config-api
return UAA settings in configuration API
2017-12-28 12:35:57 +08:00
Tan Jiang
cae581979b Return UAA settings in configuration API
All the UAA settings will be read only as we expect user to modify it
via opsman instead of Harbor UI.
2017-12-28 11:30:18 +08:00
stonezdj
fba68ed000 Do not display internal error message to user 2017-12-27 19:22:17 +08:00
stonezdj
b7670a39b3 Add ldap user to project member test 2017-12-27 16:44:40 +08:00
Wenkai Yin
4616153667
Merge pull request #3885 from ywk253100/171227_fix_update
Update project ID property if needed when updating replication policy
2017-12-27 15:45:53 +08:00
Wenkai Yin
da65d46e76
Merge pull request #3882 from ywk253100/171226_fix
Using the string trimmed the project name at the begining as the input of repository filter
2017-12-27 15:45:21 +08:00
stone
944fd1d97a
Merge pull request #3884 from stonezdj/ldapverifycert_config
Add configure parameter ldap_verify_cert to harbor.cfg
2017-12-27 15:42:20 +08:00
Wenkai Yin
a9d7403bee Update project ID property if needed when updating replication policy 2017-12-27 15:04:26 +08:00
stonezdj
b065f19f51 Add configure parameter ldap_verify_cert to harbor.cfg 2017-12-27 10:21:58 +08:00
Wenkai Yin
d36811ce52 Using the string trimmed the project name at the begining as the input of repository filter 2017-12-26 19:31:53 +08:00
Daniel Jiang
923a1457e5
Merge pull request #3872 from stonezdj/ldap_security
Call EscapeFilter for filter  to avoid security issue
2017-12-26 17:04:20 +08:00
Wenkai Yin
95339d5488
Merge pull request #3871 from ywk253100/171225_policy_rbac
Assign read-only privilege of replication policy to project admin and  add stopping replication jobs API.
2017-12-26 15:54:42 +08:00
stonezdj
9f99d0400c Call EscapeFilter for filter to avoid security issue 2017-12-26 15:34:14 +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
94c78b3bee
Merge pull request #3858 from xuri/master
Simple code and typo fixed.
2017-12-26 12:06:27 +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
Daniel Jiang
8e53ca07c4
Merge pull request #3850 from reasonerjt/uaa-search
Search UAA when adding member to a project.
2017-12-26 09:51:50 +08:00
Tan Jiang
da20e4f11c Search UAA when adding member to a project.
1)Enable UAA client to search UAA by calling '/Users' API.
2)Implement 'SearchUser' in UAA auth helper, register it to auth
package.
2017-12-26 00:25:32 +08:00
Wenkai Yin
3be1d5a7fd Assign read-only privilege of replication policy to project admin and add stopping replication jobs API. 2017-12-25 23:49:21 +08:00
Qian Deng
36d4211aa7
Merge pull request #3806 from ninjadq/upgrade_clarity_to_0_10_x
Upgrade Clarity to 0.10.x and Angular To 4.3.0
2017-12-25 17:01:48 +08:00
Deng, Qian
3187dcb5ae Upgrade Clarity to 0.10.x and Angular To 4.3.0 2017-12-25 16:10:51 +08:00
Daniel Jiang
98c5705695
Merge pull request #3862 from wy65701436/update-build-structure
Re-structure build path for master branch
2017-12-25 15:32:47 +08:00
wangyan
eb3f7ab081 Re-structure build path for master branch 2017-12-24 22:14:20 -08:00
pengpengshui
583ce589f1
Merge pull request #3815 from pengpengshui/uaa
Add ui control in uaa_auth #3803
2017-12-25 13:20:19 +08:00
Wenkai Yin
fa472823e8
Merge pull request #3783 from ywk253100/171206_replicator
Replication enhancement
2017-12-25 10:37:19 +08:00
Ri Xu
9adccd3723
Simple code and typo fixed.
Signed-off-by: Ri Xu <xuri.me@gmail.com>
2017-12-23 20:55:07 +08:00
yixingjia
7c510fa2c8
Merge pull request #3844 from yixingjia/addTest
Add test case for Clair DB configuration
2017-12-21 16:39:46 +08:00
Daniel Jiang
01ec0c7c17
Merge pull request #3841 from reasonerjt/dep-vendor
Switch to dep to manage the dependencies of source code
2017-12-21 13:20:39 +08:00
Daniel Jiang
f44b761fd4
Merge pull request #3839 from wy65701436/update-golang-1.9
Upgrade complie base golang image from 1.7.3 to 1.9.2
2017-12-21 12:29:28 +08:00
Tan Jiang
1bd7d5b719 Switch to golang/dep to manage the dependencies of source code
Used golang/dep to regenerate the code in /vendor directory.
Also edited `CONTRIBUTING.md` to explain the process for dependency
management.
2017-12-21 12:18:13 +08:00
yixingj
08a1b45b72 Add test case for Clair DB configuration
Add test case for validate Clair DB config
2017-12-21 11:39:53 +08:00
yixingjia
fa67e11680
Merge pull request #3831 from yixingjia/HA_Clair
Make Clair DB configurable
2017-12-21 11:31:26 +08:00
wangyan
11a8cfe6a3 Upgrade complie base golang image from 1.7.3 to 1.9.2 2017-12-20 19:28:56 -08:00
Daniel Jiang
60d2204f33
Merge pull request #3840 from ywk253100/171220_desc
Allow project developer to edit repository description
2017-12-21 02:17:58 +08:00
Daniel Jiang
ea607393d5
Merge pull request #3837 from reasonerjt/remove-code
Remove useless code from UI router and API
2017-12-21 01:19:27 +08:00
Tan Jiang
12cd733678 Remove useless code from UI router and API
Some URLs are not used on UI, so they are removed.  And the validation
code of API is removed as we use the security context approach.

fix test issue
2017-12-20 23:10:38 +08:00
yixingj
f63588855f Make Clair DB configurable
Make the HOST,PORT,USERNAME,DB configurable for
Clair
2017-12-20 18:29:50 +08:00
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