Commit Graph

7488 Commits

Author SHA1 Message Date
Wang Yan
6b5fd36bb3 add e2e test case for project quota
1. Create a new user(UA);
2. Create a new private project(PA) by user(UA);
3. Add user(UA) as a member of project(PA) with project-admin role;
4. Push an image to project(PA) by user(UA), then check the project quota usage;
5. Check quota change
6. Delete image, the quota should be changed to 0.

Signed-off-by: wang yan <wangyan@vmware.com>
2019-09-15 22:16:11 +08:00
xaleeks
76f1580634
Merge pull request #8994 from stuclem/replication-improvements
Documenting new registry providers as replication endpoints
2019-09-13 19:09:49 +08:00
xaleeks
81a25f2d6e
Merge pull request #9045 from stuclem/upgrade
Updated upgrade and migration guide for 1.9
2019-09-13 19:02:52 +08:00
Stuart Clements
f14411dcab Comments from Alex 2019-09-12 17:06:37 +02:00
Stuart Clements
4a43fd4a09 Comments from Alex 2019-09-12 12:47:14 +02:00
Mia ZHOU
0d11caa1ef
Merge pull request #9073 from AllForNothing/quota-id
change element id in config page
2019-09-12 16:49:38 +08:00
sshijun
30e8e2bbe1 change element id in config page
Signed-off-by: sshijun <sshijun@vmware.com>
2019-09-12 15:55:05 +08:00
Daniel Jiang
753219834e
Merge pull request #8960 from ninjadq/upgrade_hash_alg_for_pswd
Upgrade hash alg for pswd
2019-09-12 11:22:39 +08:00
Stuart Clements
521e0f0f3f minor rewording 2019-09-11 12:13:03 +02:00
Stuart Clements
024642b05c Comment from Ziming about access to non-harbor endpoints 2019-09-11 12:10:05 +02:00
Wang Yan
fcc301368c
Merge pull request #9057 from zhoumeina/try_ci
Run frontend unit test in separate job in travis. Also upgrade the node js version in CI
2019-09-11 17:22:26 +08:00
Daniel Jiang
48ddf4c6b1
Merge pull request #9050 from ywk253100/190911_health
Add the port 8080 to the default URL of portal to avoid the health check API failure
2019-09-11 15:43:52 +08:00
Stuart Clements
22ee82f7b8 Upgrade caveats
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-11 09:14:08 +02:00
Stuart Clements
d7cdb58a09 Updating migration guide for 1.9
Signed-off-by: Stuart Clements <sclements@vmware.com>
2019-09-11 09:14:08 +02:00
Meina Zhou
70961ca02c upgrade node js version in ci and split the job to run frontend ut
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-09-11 14:55:31 +08:00
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
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
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
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
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