Commit Graph

4722 Commits

Author SHA1 Message Date
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
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
pfh
1ec0ea01dc Add func about admin reset user`s pwd 2018-05-30 16:29:43 +08:00
pfh
73c23dbe45 add dropdown for color panel and delete type=button 2018-05-30 11:05:01 +08:00
Daniel Jiang
2f4950b80c
Merge pull request #5034 from ywk253100/180524_relativeurl
Fix replication issue when the remote registry enables relativeurls
2018-05-25 19:33:29 +08:00
Daniel Jiang
4eec586425
Merge pull request #5030 from ywk253100/180522_change_password
Update change password API
2018-05-25 11:05:12 +08:00
sigsbee
8d12960494
Fix robot keywords align with UI changes (#5036)
Fix robot keywords align with UI changes
fix replication case for new delete progress
2018-05-24 19:53:23 +08:00
Wenkai Yin 79628
29a4a3335e Fix replication issue when the remote registry enables relativeurls
The location header returned by the remote registry contains no scheme and host parts if "relativeurls" is enabled,
this commit fix it by adding them at the beginning of location.
2018-05-24 15:34:31 +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
sigsbee
8b6963f397
Update testcase for task progress (#4987)
update multi delete testcase for new delete progress
2018-05-24 13:07:19 +08:00
Steven Zou
9943c0cd07
Merge pull request #5021 from pengpengshui/asynctask
Add async task progress and delete dialog task progress #4371
2018-05-23 15:20:13 +08:00
Steven Zou
6e94be0ff9
Merge pull request #5028 from ywk253100/180522_swagger
Update swagger doc
2018-05-23 13:22:32 +08:00
stonezdj
ab20642f0d Add testcase for assign role to LDAP group.
Including
1. LDAP group configure settings
2. Assign role to LDAP user group.
3. Manage user group
2018-05-22 19:17:45 +08:00
Wenkai Yin 79628
76274dbf84 Update change password API
Modify the changing password API to support that admin user can change the password of normal users without old password
2018-05-22 19:02:20 +08:00
pengpengshui
9989a67d09
Merge pull request #5022 from pengpengshui/hightlights
Modify leftnav and tab have no hightLight about #4996
2018-05-22 18:12:00 +08:00
Daniel Jiang
a74bd67cab
Merge pull request #5025 from ywk253100/180522_log
Cherry-pick: Log error message in server side
2018-05-22 17:32:02 +08: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
pfh
1121c8a76b Add async task progress and delete dialog task progress #4371
norm code
2018-05-22 14:42:06 +08:00
Wenkai Yin 79628
ab41977dcf Log error message in server side
Record the errors which are only returned to frontend in the server side for easy debugging.
2018-05-22 11:36:08 +08:00
stonezdj(Daojun Zhang)
2844d137d3
Merge pull request #5020 from stonezdj/fix_login_500
Fix error 500 with error username
2018-05-21 21:14:30 +08:00
sigsbee
b72209fb08
Add sleep to avoid test fail (#5005)
Add sleep to avoid test fail in delete replication rule case
2018-05-21 19:04:02 +08:00
pfh
a51af4a1c5 Modify leftnav and tab have no hightLight 2018-05-21 18:57:36 +08:00
Steven Zou
fb33f83b9a
Merge pull request #5003 from ywk253100/180517_label_filter_api
Add label filter in replication policy API
2018-05-21 18:55:02 +08:00
stonezdj
a1b668921b Fix error 500 with error username 2018-05-21 18:23:10 +08:00
pengpengshui
d16cddda04
Merge pull request #4986 from pengpengshui/leftNav
Filter out existimg members when add a new member #4364
2018-05-21 18:19:39 +08:00
pfh
14614b3572 Filter out existimg members when add a new member #4364 2018-05-21 17:27:20 +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
Daniel Jiang
c2c667c6d6
Merge pull request #4976 from ywk253100/180514_parallel_pull_tag
Request repository and tag list in parallel
2018-05-21 15:00:44 +08:00
Steven Zou
2703ba17b3
Merge pull request #4979 from ninjadq/deploy_button_optimize
Deploy button send event based on latest tag
2018-05-21 13:20:26 +08:00
Daniel Jiang
27a06a1e74
Merge pull request #4985 from reasonerjt/helm-chart-1.5
Make Helm Chart support Harbor 1.5.0
2018-05-21 13:17:01 +08:00
Tan Jiang
065fbfa1a1 Make Helm Chart support Harbor 1.5.0
Update the helm chart of Harbor to use 1.5 image.  Specifically
`1.5.0-chart-patch` to include the fix to #4496 (for integration reason
this fix will not be merge to release branch).
Verified against kubenetes v1.10.0
2018-05-21 00:06:17 +08:00
Deng, Qian
b3749bd4a4 Deploy button send event based on latest tag
If latest tag exist sent provision event. Otherwise send Add additional info event.
2018-05-17 17:07:27 +08:00
stone
d3930ae17c Put user info into session (#4885)
Fix the following issues.
1) GroupList is not found in SecurityContext user info
2) Retrieve multiple memberof information from LDAP.
3) If user is in two groups with guest, administrator role separately, display the max privilege role.
2018-05-17 16:23:51 +08:00
Steven Zou
6a7ba4609f
Merge pull request #4977 from ninjadq/fix_observable_issues
Fix 'xxx' is not a function err
2018-05-17 14:07:19 +08:00
Daniel Jiang
9f13453d5f
chown only to the folder to store the config.json (#4978)
Narrow down the scope of `chown` in adminserver because the
/etc/adminserver/config/ is the location to store the config.json file.
And /etc/adminserver/key should be readonly.
2018-05-16 15:36:22 +08:00
Deng, Qian
a8025d2b32 Fix 'xxx' is not a function err
Because new version of rxjs you need import function manually, update code to avoid related errors.
Issues #4923 #4904 are caused by this problem.
2018-05-16 14:00:19 +08:00
Steven Zou
3917512d3e
Merge pull request #4962 from ywk253100/180509_label_filter
Add label filter to filter chain
2018-05-15 20:12:34 +08:00
Wenkai Yin 79628
c1ebf0ba1e Add label filter to filter chain
Label filters are used to filter the resources according to the labels, adding the filters to the chain to enable the function.
2018-05-15 19:19:01 +08:00
Steven Zou
1f7a4f18e5
Merge pull request #4963 from ninjadq/fix_tslint_warning
Fix tslint warning
2018-05-15 18:41:15 +08:00