Commit Graph

7780 Commits

Author SHA1 Message Date
Wenkai Yin
089eb4c449 Add the port 8080 to the default URL of portal to avoid the health check API failure
We changed the listenning port of portal from 80 to 8080 to run the process as non-root user, but the change didn't update the default URL of portal in source code, this causes the health check API fail.

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-09-11 10:45:55 +08:00
Will Sun
c179f4f695
Merge pull request #9038 from AllForNothing/button
change button text from "ADD SYSTEM" to "COPY FROM SYSTEM"
2019-09-11 09:26:14 +08:00
sshijun
026f3f4782 change button text from "ADD SYSTEM" to "COPY FROM SYSTEM" in project config page
Signed-off-by: sshijun <sshijun@vmware.com>
2019-09-10 16:11:10 +08:00
Wenkai Yin(尹文开)
f3af35f07a
Merge pull request #9021 from ywk253100/190909_scan_cron
Check the status behind error when trying to update the scan schedule
2019-09-10 13:15:27 +08:00
Wenkai Yin(尹文开)
52d0828718
Merge pull request #8981 from cd1989/replication-jobs-timezone
[Cherry-Pick] Replication jobs timezone
2019-09-10 09:59:33 +08:00
lxShaDoWxl
6937731744 feat(Registries): added gitlab adapter
Signed-off-by: lxShaDoWxl <lxshadowxkingxl@gmail.com>
2019-09-09 21:21:21 +06:00
jwangyangls
e669e142df
Merge pull request #9015 from danfengliu/replace-cve-image-sample-by-an-old-version
Replace CVE sample image from other to redis in union
2019-09-09 22:01:00 +08:00
DQ
ea5c27fcd5 Enhance: Upgrade encrypt alg to sha256
previous sha1 will still used for old password

Signed-off-by: DQ <dengq@vmware.com>
2019-09-09 21:48:21 +08:00
jwangyangls
82eed2fb2b
Merge pull request #9019 from jwangyangls/fix-member-permission-router-bug
Add page routing permission to prevent refresh from entering the error page
2019-09-09 18:38:30 +08:00
Danfeng Liu (c)
ca8590c878 Replace CVE sample image from other to redis in union, redis is stable in relative, so test result will be stable relatively
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-09 18:36:07 +08:00
stonezdj(Daojun Zhang)
ca97c85279
Merge pull request #8927 from ninjadq/fix_config_with_components
Add logic to read clair and notary config
2019-09-09 15:50:09 +08:00
Yogi_Wang
537a501b49 Add page routing permission to prevent refresh from entering the error page
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-09-09 14:57:56 +08:00
Wenkai Yin
3b07be5a72 Check the status behind error when trying to update the scan schedule
Check the status behind error when trying to update the scan schedule

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-09-09 13:31:10 +08:00
jwangyangls
f200125abb
Merge pull request #8980 from danfengliu/replace-image-for-ECR-test
Replace image from tomcat to alpine for small size
2019-09-06 21:02:45 +08:00
Stuart Clements
703224f30e Documented that Robo accounts can push/pull helm charts 2019-09-06 13:32:24 +02:00
Steven Zou
799416d7b4
Merge pull request #8936 from bitsf/tag_retention_swagger
add swagger for tag retention
2019-09-06 19:23:43 +08:00
Stuart Clements
ddc602b036 Another screencap 2019-09-06 12:45:24 +02:00
Stuart Clements
ef1a22d55d Took better screenshot 2019-09-06 12:42:59 +02:00
Stuart Clements
f9015abbc4 Added new registry providers as replication endpoints 2019-09-06 12:39:48 +02:00
cd1989
08f15cee26 Handle zero time in UI
Signed-off-by: cd1989 <chende@caicloud.io>
2019-09-06 17:48:54 +08:00
cd1989
8990a621d6 Not use time pointer in model fields
Signed-off-by: cd1989 <chende@caicloud.io>
2019-09-06 17:48:08 +08:00
Ziming Zhang
722e45b20b add swagger for tag retention
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I0f3ed8085e231868de74c273ba85946826181d5b
2019-09-06 17:27:20 +08:00
Danfeng Liu (c)
13af86dd85 Replace image from tomcat to alpine for small size, then it will not take a long time for replication.
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-09-06 17:26:47 +08:00
DQ
4ac145b45b Fix: Add authenticate to projects head
Project head only allow authenticated user to call.

Signed-off-by: DQ <dengq@vmware.com>
2019-09-06 14:50:47 +08:00
danfengliu
a031e86dba
Merge pull request #8961 from danfengliu/add-cve-project-level-apt-test-back-1
Add CVE whitelist project level API test into travis tests.
2019-09-06 10:24:57 +08:00
Daniel Jiang
a42ffd1b30
Merge pull request #8821 from stuclem/minor-doc-fixes
Minor doc fixes
2019-09-05 18:59:08 +08:00
danfengliu
8539ce7b77 Add CVE whitelist project level API test into travis tests.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-05 18:02:53 +08:00
Stuart Clements
ac4d280988 Removed that passwords cannot begin with #
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-05 09:16:38 +02:00
Stuart Clements
6da5abbc43 Minor doc corrections
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-05 09:16:38 +02:00
DQ
495a257ab5 Add logic to read clair and notary config
Signed-off-by: DQ <dengq@vmware.com>
2019-09-05 12:49:32 +08:00
stonezdj(Daojun Zhang)
09bb364b68
Merge pull request #8948 from reasonerjt/empty-project-cve-item-list
The default item list should be empty list,not null
2019-09-04 18:49:45 +08:00
Daniel Jiang
76a79869df The default item list should be empty list,not null
This commit make sure that the "items" in response of project level
CVE_whitelist is not null, even when it's null in the DB the API will
return an empty list

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-09-04 17:59:56 +08:00
Daniel Jiang
250a53cad7
Merge pull request #8908 from xaleeks/xaleeks-master-role-to-user-guide
Xaleeks master role to user guide
2019-09-04 16:41:50 +08:00
He Weiwei
e6ea40c04c
docs(swagger): add Products tag for quota APIs (#8937)
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-09-04 16:34:34 +08:00
danfengliu
ed67e44d34
Merge pull request #8944 from danfengliu/projectname-conflict-in-case-wl-add-system-and-prepare-case-sensitive
Add CVE white list API test into API_DB.robot and some other modification
2019-09-04 16:31:00 +08:00
danfengliu
8503957eac 1.Add CVE white list API test into API_DB.robot;2.Random data for prject name should use lower case %m%s;3.Replace from harbor to self.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-04 15:50:09 +08:00
Will Sun
697ec2a52f
Merge pull request #7952 from qiqizjl/log_bugs
Fix some bugs in the Log page
2019-09-04 10:10:28 +08:00
gklp
dee3defeff refactored
Signed-off-by: gklp <gokalpkuscu@gmail.com>
2019-09-03 21:46:52 +03:00
gklp
44a9e5d127 All redirect operations should have content-type as json
Signed-off-by: gklp <gokalpkuscu@gmail.com>
2019-09-03 21:46:52 +03:00
danfengliu
5ab626963d
Merge pull request #8928 from danfengliu/add-sha256-to-case-Project-Level-Image-Serverity-Policy-and-replace-image-for-wl-add-system
Replace image from httpd to haproxy:1.5 for CVE whitelist test
2019-09-03 18:21:11 +08:00
Wang Yan
b844443509
Merge pull request #8929 from wy65701436/read-only-sync
add read only for quota switcher
2019-09-03 15:58:13 +08:00
Wang Yan
ea3c9aa70e
Merge pull request #8931 from wy65701436/doc-update
add harbor components version and gosec checking in drone ci
2019-09-03 15:37:39 +08:00
wang yan
8e3d4cdc90 add harbor components version and gosec checking in drone ci
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-03 14:46:25 +08:00
wang yan
d8e17b122e add read only for quota switcher
Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-03 14:08:39 +08:00
danfengliu
5c8890bc6d Replace image from httpd to haproxy:1.5 to make sure serverity is stable for test.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-09-03 14:04:59 +08:00
Wang Yan
4d5e549731
Merge pull request #8904 from danfengliu/Add-ECR-And-GCR-registry-to-nightly-replication-tests
Add AWS-ECR and Google-GCR replication test into nighly tests.
2019-09-03 13:38:57 +08:00
Daniel Jiang
b75cbe1a7e
Merge pull request #8912 from ninjadq/no_cache_index_html
Add no-cache to index.html
2019-09-03 13:01:55 +08:00
Will Sun
cf1b7cbc41
Merge pull request #8916 from AllForNothing/nightly
fix add-member nightly case failure
2019-09-03 11:27:05 +08:00
Qian Deng
97c40df40f
Merge pull request #8593 from ninjadq/fix_wording_in_doc
Update config file names
2019-09-03 10:53:23 +08:00
jwangyangls
1165bd6d0c
Merge branch 'master' into log_bugs 2019-09-03 10:45:58 +08:00