Commit Graph

5749 Commits

Author SHA1 Message Date
陈德
4bf5962e35 Allow retag in portal only for developer or above role
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-29 19:43:43 +08:00
Steven Zou
1b1ab60802
Merge pull request #6152 from mmpei/5178-jibSupporting
5178 jib supporting
2018-10-29 16:34:13 +08:00
Wenkai Yin
af17c2c3fd
Merge pull request #6154 from wy65701436/fix-gc-redis
Fix gc jobs issues
2018-10-29 16:29:57 +08:00
Steven Zou
dde6c39e80
Merge pull request #6169 from steven-zou/fix_issue_of_periodic_conflicts
Return 409 conflict error in liue of 200 with ID of existing one
2018-10-29 16:18:40 +08:00
peimingming
59f777d82c Adjust length of UserName to 255
Signed-off-by: peimingming <peimingming@corp.netease.com>
2018-10-29 16:03:43 +08:00
peimingming
d3a617efd6 Support longer UserName
Signed-off-by: peimingming <peimingming@corp.netease.com>
2018-10-29 15:59:17 +08:00
Daniel Jiang
4dc89f57f2
Merge pull request #6167 from steven-zou/fix_issue_of_duplicated_schedule
Fix the issue of duplicated periodic job scheduling
2018-10-29 15:56:03 +08:00
Steven Zou
408b751ae6 Return 409 conflict error in liue of 200 with ID of existing one when submmiting periodic job
Signed-off-by: Steven Zou <szou@vmware.com>
2018-10-29 15:40:31 +08:00
wang yan
903d3906ab Fix per comments by wk
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-29 15:29:14 +08:00
Wenkai Yin
b2b411ce1c
Merge pull request #6165 from wy65701436/fix-gc-tc
Fix failure on GC test case
2018-10-29 15:06:45 +08:00
Steven Zou
d32e51052e Fix the issue of duplicated periodic job scheduling
Signed-off-by: Steven Zou <szou@vmware.com>

Signed-off-by: Steven Zou <szou@vmware.com>
2018-10-29 14:52:45 +08:00
wang yan
2ef11c396a Fix failure on GC test case
As the changes on scan all, the default schedule was removed from source code,
hence the gc job should be the first admin job, to change to job id to 1.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-29 14:15:06 +08:00
Mia ZHOU
36ef25bd19
Merge pull request #6164 from ninjadq/fix_chart_label_bugs
Fix chart label bugs
2018-10-29 13:58:29 +08:00
Qian Deng
4aa625e1a6 Fix: Centering Label in the dropdown item
Label in drop down should position in ther vertical center

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-29 10:54:09 +08:00
Qian Deng
0c756d8df9 Fix: Icon is not at the center of button
Icon in the action bar button need be a certer position

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-29 10:54:09 +08:00
Mia ZHOU
a745922b77
Merge pull request #6153 from zhoumeina/fix_robot_for_replication
modify test case since replication log change to popup a new page
2018-10-29 08:43:35 +08:00
wang yan
566169f59a Fix gc jobs issues.
This commit is to fix two problems in the gc job,
1, in order to support redis cluseter, gc job should delete the keys only
for docker reigstry instead of all keys. It because that in the redis cluster,
only db 0 is supported.
2, to restore the real status of read only not just to set it to false.

Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-26 18:37:20 +08:00
Meina Zhou
b68dd47a20 modify test case since replication log change to popup a new page
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-10-26 16:20:00 +08:00
mmpei
a209519b0e add support jib
Signed-off-by: mmpei <peimingming1986@126.com>
Signed-off-by: peimingming <peimingming@corp.netease.com>
2018-10-26 15:32:10 +08:00
mmpei
99c70ceab9 issue 5851 support jib client
Signed-off-by: mmpei <peimingming1986@126.com>
2018-10-26 15:27:28 +08:00
Steven Zou
08d363fc8e
Merge pull request #6151 from steven-zou/fix_missing_webhook_issue
Fix the web hook mising issue for the periodic job executions
2018-10-26 14:51:27 +08:00
Steven Zou
a2f0da0d7d Fix the web hook mising issue for the periodic job executions
Signed-off-by: Steven Zou <szou@vmware.com>
2018-10-26 14:28:04 +08:00
Mia ZHOU
079059ef0c
Merge pull request #6140 from ninjadq/extend_username_length
Extend username length
2018-10-26 13:03:01 +08:00
Steven Zou
9bbc9233f1
Merge pull request #6147 from clouderati/fix-misspelling
Fix mispelling
2018-10-26 12:47:31 +08:00
Wenkai Yin
591e3df9c5
Merge pull request #6126 from reasonerjt/no-scanall-bootstrap
Not submit scan all job when core container starts
2018-10-26 12:45:01 +08:00
Qian Deng
571384cdb2 Enhance: Extend username length to 255
Backend username is extend to 255, UI should update eithera #6086

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-26 12:28:18 +08:00
Daniel Jiang
13b40e6074
Merge pull request #6146 from clouderati/fix-header
Adding copyright header
2018-10-26 09:57:02 +08:00
Mia ZHOU
2a483f2bf9
Merge pull request #6136 from ninjadq/fix_uaa_cannot_edit_after_save
Fix: UAA can not edit after save
2018-10-26 09:00:53 +08:00
James Zabala
3cb2afae8b
Merge pull request #6142 from pureshine/user_guide
Modify the  image path of download the harbor certs in the user guide.
2018-10-25 19:10:40 -04:00
clouderati
5c47e83bd6 Fix mispelling
* s/convertor/converter
* s/Convertor/Converter

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-25 21:29:46 +00:00
clouderati
b0d523841e Adding copyright header
Adding header to replication/models/policy.go file as it was previously
missing.

Signed-off-by: clouderati <35942204+clouderati@users.noreply.github.com>
2018-10-25 20:54:05 +00:00
Daniel Jiang
39b4d011c7 Not submit scan all job when core container starts
Fixes #6115

As for the change in migration sql file, in 1.7 we'll switch to
jobservice for scheduling "scan all" job.  To avoid inconsistency,
this item will be reset and user will need to configure the policy again.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2018-10-25 19:01:52 +08:00
FangyuanCheng
8515276f98 Modify the permission image path of the developer and project manager in the user guide.
Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
2018-10-25 17:08:22 +08:00
Qian Deng
4b1e94d419 Fix: UAA can not edit after save
UAA should editable if no uaa users in db

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-25 15:33:44 +08:00
Qian Deng
a48ae01e4b
Merge pull request #6131 from ninjadq/ui_enhancement_of_chart_label
Enhancement: Harbor Helmchart UI Label
2018-10-25 14:14:07 +08:00
Qian Deng
7164856239 Enhancement: Harbor Helmchart UI Label
1. Add Filter to helmchart datagrid
2. Fix UI misc issues

Signed-off-by: Qian Deng <dengq@vmware.com>
2018-10-24 19:03:18 +08:00
Wenkai Yin
6c033574fa Update automation test case "Delete Multi Project" (#6116)
Add "Wait Until xxx" to wait the expected page appear before the next step to avoid the case failure

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2018-10-24 15:37:36 +08:00
Yan
130235386d
Update swaggger documents found by api test development (#6102)
Signed-off-by: wang yan <wangyan@vmware.com>
2018-10-24 13:23:09 +08:00
Mia ZHOU
bc85ef2cb3
Merge pull request #6125 from zhoumeina/add_login_image
add login page image
2018-10-24 11:07:19 +08:00
Steven Zou
3b76a960e1
Merge pull request #6039 from stonezdj/refact_5996
Refactor capacity
2018-10-24 10:50:11 +08:00
Meina Zhou
1aef241d77 add login page image
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2018-10-24 10:47:11 +08:00
Mia ZHOU
caa9a4173e
Merge pull request #5995 from cd1989/image-retag-in-portal
Add image retag function in portal
2018-10-24 10:15:08 +08:00
陈德
5063f57a1f Fix validation in image name input form
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-24 09:49:57 +08:00
陈德
ea8fe8a2c5 Add image retag function in portal
Signed-off-by: 陈德 <chende@caicloud.io>
2018-10-24 09:49:57 +08:00
Steven Zou
04e9190870
Merge pull request #5371 from kofj/master
Build history
2018-10-24 09:39:03 +08:00
James Zabala
4e73921f9a
Merge pull request #6122 from sheeprine/fix_nginx_http_redirect
Send 308 status on redirect from http to https
2018-10-23 20:37:16 -04:00
Stéphane Albert
0d44e4f535 Send 308 status on redirect from http to https
Modify nginx configuration to use 308 instead of 301 on the http to
https redirect.
Fix problems with some clients on POST requests that are transformed to
GET on 301 redirect (per HTTP 1.1 standard).
See [RFC7538](https://tools.ietf.org/html/rfc7538).

Signed-off-by: Stéphane Albert <sheeprine@oh.its.fake.nullplace.com>
2018-10-23 20:25:35 +02:00
James Zabala
39721662a2
Update README.md
Quick typo fix
2018-10-23 14:13:31 -04:00
James Zabala
0cacd54023
Merge pull request #6021 from wy65701436/add-nightly-badge
Add nightly badge into goharbor repo
2018-10-23 14:05:03 -04:00
James Zabala
6556d782bf
Merge pull request #6034 from estaleiro/harbor-ptBR
Adds support for Brazilian Portuguese
2018-10-23 14:03:12 -04:00