Commit Graph

5174 Commits

Author SHA1 Message Date
Steven Zou
a7b5bcb6af
Merge pull request #5535 from steven-zou/support_chart_status
Add 'Deprecated' info for the chart
2018-08-06 18:30:45 +08:00
Mia ZHOU
ccd5ddf307 If user upload a not valid helm chart file, UI need to show the error from backend.
Fix:
Modify the error handler to use the backend error instead of frontend hardcode.
2018-08-06 17:39:09 +08:00
Daniel Jiang
0a07f0e039
Merge pull request #5402 from stonezdj/api_test
Add harbor API test
2018-08-06 17:30:07 +08:00
Mia ZHOU
8d66f057cd Fix helm chart getImageLink was deleted by accident
add back getImageLink function
2018-08-06 17:00:08 +08:00
Steven Zou
ecd8cc712d Add 'Deprecated' info for the chart
info returned by getting /charts include 'Deprecated' field
amend error message in the access checking logic
2018-08-06 16:31:41 +08:00
Steven Zou
bc6d7b69e7
Merge pull request #5524 from steven-zou/pro_deletable_enable
Enhance the project deletable checking logic to include helm charts checking
2018-08-06 16:00:38 +08:00
Steven Zou
b501199033 Enhance the project deletable checking logic to include helm charts checking
add utility handler in chart controller to support getting charts by ns
add ut case for utility handler
update deletable checking logic in project controller

refactor project deletable test case
2018-08-06 15:23:50 +08:00
Mia ZHOU
d1304585d3
Merge pull request #5527 from zhoumeina/pr/fix_cert_verify_show_in_not_ldap
Fix ldap cert verify has to align with ldap mode. should not show in …
2018-08-06 11:03:51 +08:00
Mia ZHOU
04261687cd Fix ldap cert verify has to align with ldap mode. should not show in other mode.
Fix edit group sccess message.
This pr will focus on 2 issues:
1  In configuration,
LDAP verify cert should only show in ldap mode. It should not show in database mode.
2 When user using ldap mode to login harbor. And edit a group sccessfully, the popup message shows wrong. It should show "Edit group sccess".
2018-08-06 09:43:04 +08:00
Mia ZHOU
034367f202
Merge pull request #5523 from zhoumeina/pr/error_log_fix
Add onError for some logo return 404
2018-08-06 09:18:06 +08:00
Yan
6ed80a370d
Fix go gas issue for chartserver (#5522)
Add the error handling to fix go gas issue "Error unhandled"
2018-08-03 19:25:39 +08:00
Mia ZHOU
4c8976da71 Add onError for some logo return 404
We need to set a default logo for some logo may not exsit
2018-08-03 17:51:57 +08:00
Qian Deng
0f519c9dc9
Merge pull request #5513 from ninjadq/hidden_chart_lib_without_chartmeseum
Hide the helmcharts tab when chart museum is not installed.
2018-08-03 05:41:06 -04:00
Wenkai Yin
5faf41e4a7
Merge pull request #5521 from wy65701436/cherry-pick-gas
Cherry-pick -- Fix security issue found by gas
2018-08-03 16:50:58 +08:00
wangyan
9a95f14918 Cherry-pick -- Fix security issue found by gas 2018-08-03 01:16:53 -07:00
Daniel Jiang
4e4a08d0a4
Merge pull request #5517 from reasonerjt/license-1.6
Check in license files for 1.6.0
2018-08-03 16:07:38 +08:00
Mia ZHOU
c6665934cd
Merge pull request #5516 from ninjadq/fix_ldap_parameter
Fix bug of repository can not delete on card view
2018-08-03 14:17:21 +08:00
Mia ZHOU
8319cbdc29
Merge pull request #5514 from zhoumeina/pr/fix_tooltip_content
Modify configuration tooltip
2018-08-03 13:54:34 +08:00
Daniel Jiang
d62ed175f7 Check in license files for 1.6.0 2018-08-03 13:37:05 +08:00
Deng, Qian
6a71188ecf Fix bug of repository can not delete on card view
Fix argument types of repo delete function
2018-08-03 13:34:31 +08:00
Mia ZHOU
8e66d90904 Modify cofiguration tooltip
Refine the tooltip content in configuration tooltips
2018-08-03 12:55:35 +08:00
miaoshixuan
7649cc5f1b update db migrator images name (#5204) 2018-08-03 12:29:02 +08:00
Daniel Jiang
4e71a1af4d Remove BAT from travis.yml (#5511)
We used to trigger make install and try to access Harbor in travis.
This is unnecessary as it's run in Drone.  So this commit removes that
chunk from .travis.yml

Conflicts:
	.travis.yml
2018-08-03 11:27:31 +08:00
Qian Deng
4cb0a3ee52
Merge pull request #5456 from zhoumeina/pr/fix_access_level_sort
Fix access level can not sort
2018-08-02 22:56:56 -04:00
Deng, Qian
66d85a12b4 Hide the helmcharts tab when chart museum is not installed.
Add parameter for receving chartmuseum installation state.
Using that to decide the presentation of helmchart tab in project.
2018-08-03 10:56:06 +08:00
Daniel Jiang
a7fc977bc3
Merge pull request #5510 from wy65701436/fix-nightly-member
Update member locater according to UI changes
2018-08-03 09:58:19 +08:00
Wenkai Yin
5f64bc8548
Merge pull request #5450 from ywk253100/180801_job_status
Update job status when failed to submit it
2018-08-03 09:33:39 +08:00
wangyan
b57a9db22a Update member locater according to UI changes 2018-08-02 18:24:05 -07:00
Chris Aniszczyk
81f7f9777e Add mention of CNCF in README
https://www.cncf.io/blog/2018/07/31/cncf-to-host-harbor-in-the-sandbox/

Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
2018-08-02 10:48:21 -05:00
Wenkai Yin
3031e851ea
Merge pull request #5466 from steven-zou/fix_wrong_status_of_prov
Fix issues described in #5464 and #5465
2018-08-02 18:49:45 +08:00
Daniel Jiang
6e86468e4c
Merge pull request #5452 from wy65701436/update-migrator-doc
Update migration guide for v1.6.0
2018-08-02 18:35:56 +08:00
Qian Deng
b0b5d775f5
Merge pull request #5483 from zhoumeina/pr/fix_remove_button_css
Fix remove button not clickable
2018-08-02 06:30:28 -04:00
Mia ZHOU
aaf4b49564 Fix remove button not clickable
Remove comment
2018-08-02 16:22:53 +08:00
Steven Zou
ce52f54e29 Fix issues described in #5464 and #5465
return unified error format by the chart repo API
update the prov file status at anytime
2018-08-02 14:07:04 +08:00
System Administrator
54f9b60ea4 Fix access level can not sort
Issue description:
In project list page. User click sort according access level, it does not work.

Fix:

Remodify the compare method.
2018-08-02 13:21:45 +08:00
wangyan
d6a75d5224 Update migration guide for v1.6.0 2018-08-01 22:04:36 -07:00
Daniel Jiang
c5a79fb55b Add UAA e2e test cases (#5460)
This commit adds basic test cases to perform when Harbor is configured as
uaa_auth.  It has dependency on an internal UAA server.
2018-08-01 21:30:05 +08:00
Wenkai Yin
369297e040
Merge pull request #5398 from ywk253100/180725_chartmuseum
Add chartmuseum to Harbor chart
2018-08-01 19:53:45 +08:00
Wenkai Yin
1b0c55fb2d Add chartmuseum to Harbor chart
This commit integrates the chartmuseum to Harbor chart to enable the feature for storing chart in Harbor
2018-08-01 19:21:10 +08:00
Wenkai Yin
010d1ad339 Update the readme of Harbor chart
This commit updates the guide of how to install Harbor with Helm chart
2018-08-01 18:06:51 +08:00
Wenkai Yin
0de5dde6a1
Merge pull request #5453 from steven-zou/fix_issue_of_prov
Enable chart/prov files overwriting option
2018-08-01 17:37:46 +08:00
Daniel Jiang
babca86f15
Merge pull request #5442 from ywk253100/180731_ingress
Remove the rewrite ingress rule
2018-08-01 17:05:27 +08:00
Steven Zou
e0ed44cc13 Enable chart/prov files overwriting option
change 'ALLOW_OVERWRITE' from 'false' to 'true'
2018-08-01 15:20:38 +08:00
Steven Zou
8b7706d191
Merge pull request #5423 from ninjadq/integrate_chart_view
Feature of helm chart UI
2018-08-01 14:26:33 +08:00
Deng, Qian
8feb49c64e Feature of helm chart UI
1. Add Charts list view
2. Add Charts card view
3. Add Chart version list view
4. Add chart version card view
5. Add Chart Detail Summary
6. Add Chart Detail Value
6. Add Chart Detail Deps
7. Update nodeclarity Dockerfile
8. Add markdown support
9. Add package-lock file to src
2018-08-01 13:20:06 +08:00
Mia ZHOU
7a24dcdb05
Merge pull request #5441 from zhoumeina/pr/ui_support_input_admin_dn
Add ldap admin DN
2018-08-01 12:43:13 +08:00
stonezdj
edcb2fbf05 Add Harbor API Test based on python API
Correct swagger.yaml format
Add make task swagger_client to gen and install python client.
Add LDAP related Test
2018-08-01 10:43:23 +08:00
Wenkai Yin
4ecbf3c0f5 Update job status when failed to submit it
Set the status of replication job to "error" when the submitting to jobservice fails
2018-08-01 10:35:01 +08:00
Daniel Jiang
d557ec89d7
Merge pull request #5435 from wy65701436/update-script
Add scripts to verify Harbor DB migration
2018-08-01 10:05:48 +08:00
Daniel Jiang
b37763c0bd
Merge pull request #5440 from wy65701436/fix-migration-scheme
Add default value for creation time and update time trigger
2018-08-01 09:57:15 +08:00