Commit Graph

5064 Commits

Author SHA1 Message Date
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
Daniel Jiang
02db415aa7
Merge pull request #5142 from reasonerjt/fix-prepare-python3
Fix failure of running prepare with python3
2018-06-13 19:09:43 +08:00
Daniel Jiang
cfc95c69e6 Fix failure of running prepare with python3
This commit fixes #5053.
It removes the usage of `string.strip` which will fail in python3.
2018-06-13 18:17:00 +08:00
Daniel Jiang
05c5cbc227
Merge pull request #5121 from stonezdj/fix_5096
If group already exist return 409 when adding a LDAP user group
2018-06-13 17:57:58 +08:00
stonezdj
f025f28d12 If the LDAP user group already exist return 409 when onboarding an LDAP group
Do not adding the LDAP user group again.
2018-06-12 19:17:02 +08:00
Wenkai Yin
9c1d3c259a
Merge pull request #5120 from ywk253100/180611_partners
Update partners and users of Harbor
2018-06-12 17:58:18 +08:00
Daniel Jiang
255a6d6f95
Merge pull request #5070 from ywk253100/180601_label_fuzzy_match
Fix #4742: fuzzy match label name
2018-06-12 14:39:35 +08:00
Daniel Jiang
bb847ce745
Merge pull request #5112 from wy65701436/migrate-clair
Add clair data migration in DB migrator
2018-06-12 14:33:13 +08:00
Wenkai Yin 79628
0b10ed3164 Update partners and users of Harbor 2018-06-12 10:09:00 +08:00
Qian Deng
a72e7cb611
Merge pull request #5118 from pengpengshui/replicaton
Set default border when add label without color
2018-06-11 05:54:36 -04:00
pfh
6f8ad44d5c set default border when add label without color 2018-06-11 16:58:32 +08:00
Qian Deng
9b5cd7d046
Merge pull request #5115 from pengpengshui/replicaton
Add name validation when creat new replication rule #5050
2018-06-11 04:03:44 -04:00
Qian Deng
7cbd3a4a96
Merge pull request #5110 from pengpengshui/leftNav
Hidden pwd button if auth_mode is not db_auth
2018-06-11 03:09:42 -04:00
wangyan
2379123ff7 fix up clair issue and typo 2018-06-10 23:33:37 -07: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
pfh
2366f6a39f Add name validate when creat new replication rule 2018-06-11 11:34:17 +08:00
wangyan
8d4d1582a3 add checking for clair DB migration 2018-06-10 20:15:55 -07:00
Daniel Jiang
c13f2f6948
Merge pull request #5111 from reasonerjt/fix-adminserver-key-perm
Change owner of the file secretkey in prepare.
2018-06-08 07:40:48 -07:00
wangyan
c7a54e115c Add clair data migration in DB migrator 2018-06-08 01:49:28 -07:00
Daniel Jiang
ccbd23d14e Change owner of the secret file in prepare script
The secretkey file will be loaded by adminserver which is run by non-root
user (uid:10000) previously the entrypoint script will run `chown` to a
lot files, and there's a breakage in upgrade when we skip running
`chown` inside container.
This commit will fix the issue during upgrade by changing the owner of
the secretkey file.
2018-06-08 16:43:16 +08:00
Daniel Jiang
7254b438ca
Merge pull request #5109 from ywk253100/180607_label
Soft delete label
2018-06-07 22:56:43 -07:00
Qian Deng
19e9fbf446
Merge pull request #5026 from pengpengshui/spelling
Modify spelling about 'serverity' to severity #4983
2018-06-08 01:47:30 -04: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
pfh
2c2211dcfb Hidden pwd button if auth_mode is not db_auth 2018-06-07 14:20:12 +08:00
Jonas Rosland
845f6709d9 Adding correct links, and minor edits for spelling (#5080) 2018-06-07 13:17:07 +08:00
Daniel Jiang
b7451e291c
Merge pull request #5052 from vmware/code-of-conduct
Create code-of-conduct.md
2018-06-06 09:39:26 -07:00
James
067361ffe1
Update to code-of-conduct.md
Updating email address for complaints to harbor@vmware.com.
2018-06-06 11:13:38 -04:00
Qian Deng
e9158f2fb8
Merge pull request #4981 from ninjadq/change_admin_rename_style
Change the admin rename UX
2018-06-06 03:24:30 -04:00
Daniel Jiang
813e688e29
Merge pull request #4921 from int32bit/patch-1
Add missing HARBOR_PROJECT option to harbor alias
2018-06-05 16:56:22 -07:00
Deng, Qian
e1814597d8 Change the admin rename UX
Change the rename operation from double click icon to click button
2018-06-05 22:52:45 +08:00
sigsbee
a6f14c6d89
Update test case to increase passrate (#5083)
Update test case order to avoid scan on push fail
Add sleep time to avoid view scan results fail
Change keyword to wait unitl avoid delete operation fail
Change delete rule and repicate manual confirm to mouse down and up
2018-06-05 18:51:11 +08:00
Qian Deng
bf6192f32b
Merge pull request #5082 from pengpengshui/leftNav
Modify admin can't reset pwd to exist pwd
2018-06-04 06:10:42 -04:00
pfh
81271c8e31 Mofify admin can't change existing pwd 2018-06-04 16:08:46 +08:00
sigsbee
0d4aaccd13
Add get version to LDAP and replication test group(#5076)
Add get harbor version test case to LDAP and replication test group
2018-06-04 14:24:47 +08:00
sigsbee
a0bf7196e6 Fix label test case and replicate case (#5075)
Fix label test case fail for new UI change
Fix replicate manual keyword to avoid case fail
2018-06-02 01:34:33 +08:00
pengpengshui
d7a4c8aece
Merge pull request #5065 from pengpengshui/createlabel
Add func about after create one label success close create panel #4655
2018-06-01 17:28:26 +08:00
pfh
4cca83ee9a Merge upstream master 2018-06-01 16:57:41 +08:00
Yan
6d800cabbd
enable migrator to support 1.5.0 migration from mysql to pgsql (#5029)
This commit is to enable data migrator to support migrates data
from mysql to pgsql, this is a specific step for user to upgrade
harbor across v1.5.0, as we have move harbor DB to pgsql from
1.5.0. It supports both harbor and notary db data migration,
and be split into two steps with dependency.

It also fix issue #4847, add build DB migrator in make process.
2018-06-01 14:58:43 +08:00
sigsbee
a07a0d09f8
Add get harbor version case (#5039)
Add get harbor version case
2018-06-01 14:38:10 +08:00
Qian Deng
d87c9c3c38
Merge pull request #5064 from pengpengshui/tagdetail
Modify tag detail alert when without clarity about #4999
2018-06-01 01:30:53 -04:00
Jesse Hu
adc08b53b7
Add new contributer for Helm Chart (#5068) 2018-06-01 10:45:20 +08:00
Wenkai Yin 79628
07c092c9be Fix #4742
This commit provides the support of fuzzy matching for label name when listing labels
2018-06-01 07:38:21 +08:00
SangJun Yun
615671e660 Add nodeSelector, tolerations, affinity configuration to helm chart (#5059) 2018-05-31 18:50:31 +08:00
pfh
8b2b3b1594 Add func about after create label close create panel 2018-05-31 15:07:48 +08:00
pfh
76cbe3b5d2 Modify tag detail alert when without clarity 2018-05-31 14:30:57 +08:00
Qian Deng
82b57971c0
Merge pull request #5057 from pengpengshui/projectcheck
Fix create project name doesn't have tooltip #5000
2018-05-30 23:25:27 -04:00
Qian Deng
aec9fabefb
Merge pull request #5051 from pengpengshui/colorpanel
Add dropdown for label color panel and modify color disappear on Mac
2018-05-30 23:23:14 -04:00
Qian Deng
b461e98fde
Merge pull request #5056 from pengpengshui/leftNav
Add function about admin reset user's password
2018-05-30 22:35:36 -04:00
stonezdj(Daojun Zhang)
b308c6e4fc
Merge pull request #5024 from stonezdj/add_testcase
Add testcase for assign role to LDAP group.
2018-05-31 01:17:33 +08:00
pfh
56e438b9c3 Fix create project name doesn't tooltip 2018-05-30 18:32:02 +08:00