danfengliu
a4331f6b60
add-notary-resign-test-in-upgade-pipeline
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-08-10 20:41:12 +08:00
孙世军
f6801cea57
Improve event service ( #15353 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-07-26 12:16:49 +08:00
Daniel Jiang
5984175a1f
Merge pull request #15288 from malacoss/patch-1
...
Fix OIDC connect button string - [French]
2021-07-26 11:31:00 +08:00
danfengliu
8a80f82bb5
Merge pull request #15328 from danfengliu/fix-nightly-ca-header-issue
...
Fix nightly ca header issue
2021-07-23 15:35:04 +08:00
Vadim Bauer
13d5e4a7de
fixes the broken pipe connection error with postgres. Similar as PR: #4719 ( #15211 )
...
Signed-off-by: Vadim Bauer <vb@container-registry.com>
Co-authored-by: Vadim Bauer <vb@container-registry.com>
2021-07-23 14:56:54 +08:00
Wang Yan
e5a614967d
drop gc api of registryctl ( #15325 )
...
The API is desiged for read-only gc job, as the read only gc has already deprecated, remove this api accordingly.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-23 14:15:02 +08:00
Shengwen Yu
766e953325
fix: update adapter ut (mock http requests)
...
Closes : #15318
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2021-07-22 19:45:36 +08:00
Wang Yan
dd6fb049f5
drop adminjob router ( #15326 )
...
As the admin job has already droped from v2.3, remove the request handling from router.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-19 17:12:31 +08:00
malacoss
f11a6f21e8
Fix OIDC connect button string - [French]
...
Signed-off-by: Mathieu Alorent <mathieu.alorent-externe@acoss.fr>
2021-07-19 10:53:14 +02:00
孙世军
8da8acde19
Fix style issue for oidc-onbord component ( #15333 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-07-19 12:26:47 +08:00
孙世军
43da6467c0
Add a case of deleting an OIDC user ( #15309 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-07-19 10:56:06 +08:00
danfengliu
32ea961f9f
Fix nightly ca header issue
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-18 10:44:40 +08:00
Qian Deng
2fbd8e443f
Merge pull request #15320 from ninjadq/fix_ip_regex_in_test
...
Fix regex parsing IP issue in test scirpt
2021-07-16 16:41:56 +08:00
Daniel Jiang
e46e9631fa
Merge pull request #15303 from reasonerjt/fix-15241
...
Remediate the empty subiss problem
2021-07-16 13:34:40 +08:00
Daniel Jiang
3e983b1747
Merge pull request #15242 from kschu91/bugfix/15241
...
Fix refreshing oidc access token breaks users subiss in database
2021-07-16 10:58:31 +08:00
danfengliu
a60bc14178
Merge pull request #15260 from danfengliu/add-dummy-file-as-controller-for-build-base
...
Add trigger file for building base
2021-07-16 09:40:22 +08:00
Daniel Jiang
422894a0f5
Remediate the empty subiss problem
...
This commit include 2 changes to mitigate and remediate the problem
described in #15241
1. When the token is to be updated in the "oidc_user" table, make sure
only the column "token" will be udpated.
2. Restore the subiss column for the record that has this column cleared
by mistake, by decoding the persisted token.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-07-16 00:07:47 +08:00
danfengliu
14ff3b2ca4
Add trigger file for building base
...
If build base images is needed in a unexpected situation, build base images action will be triggered by making a modification of .buildbaselog.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-15 17:22:37 +08:00
DQ
b7128a6afa
Fix regex parsing IP issue in test scirpt
...
add `^` to constraint IP addr matching only when the pattern start from the begining
Signed-off-by: DQ <dengq@vmware.com>
2021-07-15 16:12:03 +08:00
danfengliu
5d11d61154
Merge pull request #15302 from danfengliu/fix-replication-test-issue-in-nightly
...
Fix replication test issue in nightly
2021-07-15 10:37:05 +08:00
stonezdj(Daojun Zhang)
2fa530eefa
Merge pull request #15247 from stonezdj/21jun30_remove_auth_user
...
Delete users under auth_mode other than db_auth
2021-07-14 13:25:43 +08:00
xaleeks
bbebaef90d
Merge pull request #15311 from reasonerjt/update-support-matrix
...
Update RELEASES doc
2021-07-14 00:32:43 -04:00
Daniel Jiang
8d31c97811
Update RELEASES doc
...
This updates support matrix to make it up to date.
It also update the upgrade path section to use 2.x as examples.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-07-14 11:17:52 +08:00
孙世军
8fb76689ab
Update UI to support deleting OIDC users ( #15305 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-07-13 15:28:53 +08:00
Wang Yan
f7a4401dcb
deprecate version 1 robot account ( #15296 )
...
1, deprecate support for version 1 robot support, the robotv1 cannot be used anymore.
2, reserve the /project/{id_or_name}/robots api.
After the PR, user cannot use the robotv1 to login, and do any interaction with Harbor,
but still can view & delete them with UI or API.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-13 13:39:44 +08:00
Daniel Jiang
3e502ec9a4
Merge pull request #15196 from sixeIa/fix-basedn-empty
...
Add SearchDN error, mark field as required in UI
2021-07-12 12:32:52 +08:00
stonezdj
c163bc8317
Delete users under auth_mode other than db_auth
...
The following information should cleanup before delete user:
Delete project member of this user.
Delete oidc_user when auth_mode is oidc_auth.
Fixes #8424
It also removes the deleted user from project member and the deleted condition in the project member query for consistency
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-07-12 11:31:40 +08:00
stonezdj(Daojun Zhang)
7b84f4e137
Merge pull request #15270 from stonezdj/21jun05_fix_rest_int_parse_fail
...
Fix invalid syntax errors when int value is convert to scientific notation
2021-07-11 21:00:06 +08:00
danfengliu
8947a62dc4
Fix replication test issue in nightly
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-11 17:54:55 +08:00
Alexis L
2ce814329b
Merge branch 'goharbor:master' into fix-basedn-empty
2021-07-09 22:32:35 +02:00
Alexis
d6283ee913
Add SearchDN error, mark field as required in UI
...
Signed-off-by: Alexis <60alexis@gmail.com>
2021-07-09 22:30:52 +02:00
ChenYu Zhang
304aff33db
Merge pull request #15280 from chlins/fix/p2p-task-time-format
...
fix(p2p): adjust task time format
2021-07-09 16:29:09 +08:00
Wang Yan
248be37c3e
clean code of common util ( #15287 )
...
Remove the useless code from the common util
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-09 15:35:05 +08:00
Wang Yan
494d74d32d
bump up go version to 1.16 ( #15286 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-08 16:25:15 +08:00
Wang Yan
cdb7f4514e
fix cross mount conformance test ( #15274 )
...
fixes #15273
set the cross mount namespace for conformance test, the default vaule cannot pass the reponame validation.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-08 15:11:01 +08:00
chlins
f93fc2aa0b
fix(p2p): adjust task time format
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2021-07-07 21:39:46 +08:00
Wang Yan
b158086642
fix conformance failure ( #15261 )
...
fixes #15252
Give 404 for invalid digest when to get/head manifest
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-06 15:11:13 +08:00
stonezdj
41968091a2
Fix invalid syntax errors when int value is convert to scientific notation
...
Add parseInt function to parse the scientific notation
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-07-05 22:20:00 +08:00
Jiaolin Yang
ddb6619769
Merge pull request #15245 from ilyee/typo
...
Fix commentline typos in src/pkg/repository/model/model.go
2021-07-05 16:38:11 +08:00
Steven Zou
4ddaecdc3f
Merge pull request #15238 from chlins/fix/create-p2p-policy-permission
...
fix(p2p): fix p2p create policy permission
2021-07-05 11:04:28 +08:00
danfengliu
646ca80187
Fix nightly test failures broken by UI change ( #15233 )
...
1. Fix break of byte statistic unit changing;
2. Fix OIDC login UI changing.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-02 10:19:43 +08:00
elihe
426f7bc7bc
Fix commentline typos in src/pkg/repository/model/model.go
...
Signed-off-by: elihe <elihe@tencent.com>
2021-07-02 10:12:15 +08:00
孙世军
bb57264f11
Improve login page for OIDC ( #15214 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-07-02 09:42:04 +08:00
Kevin Schu
4147fbeba0
subiss needs to be part of selected fields, otherwise this attribute would be empty and will cause issues when working with the user object later on.
...
Signed-off-by: Kevin Schu <kevin.schu@aoe.com>
2021-07-01 15:12:28 +02:00
Wang Yan
29ccdff766
add retry for blob & manifest deletion in GC ( #15235 )
...
Fixes #15197
To handle the blob & manifest deletion error, add 1 minute retry.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-01 18:49:40 +08:00
chlins
f1456558db
fix(p2p): fix p2p create policy permission
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2021-07-01 16:14:26 +08:00
stonezdj(Daojun Zhang)
4e1f6633af
Merge pull request #15229 from stonezdj/21jun28_update_swagger_search_group
...
Add ldap_group_dn parameter to search group with ldap group dn
2021-06-30 14:04:21 +08:00
Daniel Jiang
f6f9d714a2
Merge pull request #15230 from stonezdj/21jun29_ldap_verify_cert
...
Change XXXConfigItem cannot be omitted when empty
2021-06-30 11:40:42 +08:00
孙世军
91f4d412f0
Improve i18n service ( #15215 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-06-30 10:22:48 +08:00
孙世军
f902db9d85
Change quota unit to Mebibyte ( #15220 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-06-30 10:22:32 +08:00