Commit Graph

5006 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Daniel Jiang
81c443c8c2
Merge pull request #5438 from pescerosso/patch-1
Update README.md
2018-08-01 09:56:30 +08:00
Wenkai Yin
9f34bd5b17 Remove the rewrite ingress rule
This commit removes the rewrite ingrss rule in Harbor chart and redirect the requests sent to registry to UI direclty
2018-07-31 16:48:34 +08:00
Mia ZHOU
67beabb364 Add ldap admin DN
Problem description:
currently, harbor does not support config ldap admin DN

Enhancement:
Add ldap admin dn in configuration as a optional config.
2018-07-31 16:20:26 +08:00
Qian Deng
3c0bd20d7e
Merge pull request #5439 from zhoumeina/pr/fix_new_group_disable
New group button should disabled when login without ldap
2018-07-31 03:30:23 -04:00
wangyan
e89f72e081 Add default value for creation time and update time trigger
These chanes are introduced by PR 5430, please refer to the PR for details
2018-07-30 23:48:46 -07:00
Mia ZHOU
caa98896ae New group button should disabled when login without ldap
Disable "New group" button when user does not login with ldap
2018-07-31 14:19:00 +08:00
Wenkai Yin
3739a96d30
Merge pull request #5436 from reasonerjt/creation-time-sql
Set default creation_time and update_time at model
2018-07-31 13:51:44 +08:00
Daniel Jiang
fd8ccc45b2
Merge pull request #5428 from ywk253100/180730_chart_icon
Update the icon used in Harbor chart
2018-07-31 13:50:21 +08:00
Daniel Jiang
bda0a92ea9
Merge pull request #5427 from ywk253100/180730_redirect
Remove the URL rewrite for docker registry request
2018-07-31 13:34:15 +08:00
Daniel Jiang
49894457ca
Merge pull request #5403 from ywk253100/180726_chart_cert
Remove the hardcoded certificate and private key in value.yaml
2018-07-31 13:09:09 +08:00
Daniel Jiang
6062bf279b Set default creation_time and update_time at model
This commit set the default value of creation_time and update_time to
data objects by adding `orm:add_now` annotations.
2018-07-31 12:56:14 +08:00
Mia ZHOU
2d9d6202d1
Merge pull request #5437 from zhoumeina/pr/fix_cardview_title
Fix Repositories card view title displayed wrong
2018-07-31 12:32:51 +08:00
simone morellato
451a51174e
Update README.md
when you checkout harbor, it checks it out to the harbor directory.
2018-07-30 20:46:38 -07:00
Mia ZHOU
1af3bcd93d Fix Repositories card view title displayed wrong
Problem Description:

In the card view of repositories, if the title is long, it can not show all the text.

Fix:

Add css

    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap:break-word;
    white-space: nowrap

in mixin files, and tooltip to show all the text.
2018-07-31 10:51:42 +08:00
Daniel Jiang
4dadff070b
Merge pull request #5430 from wy65701436/fix-pgsql-creation-time
Fix pgsql creation column bug
2018-07-30 21:13:31 +08:00
wangyan
22411cf6b2 Fix pgsql creation column bug
Root cause: Use default 'now'::timestamp will not generate timestamp for each transaction,
PG will convert now to a timestamp as soon as the constant is parsed. To fix it, update it
to defult CURRENT_TIMESTAMP, thie setting is the same as default now(), which returns the
start time of current transaction because ther are fuction calls, hey will give the desired
behavior of defaulting to the time of row insertion.

Reference: https://www.postgresql.org/docs/9.6/static/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT
PG version: 9.6.9
2018-07-30 04:58:44 -07:00
wangyan
5edd408d07 Add scripts to verify Harbor DB migration 2018-07-30 04:54:33 -07:00
Qian Deng
43774df6f3
Merge pull request #5426 from zhoumeina/pr/fix_remove_button_not_clickable
Fix remove button not clickable
2018-07-30 05:27:04 -04:00