sshijun
8afc524adb
Add express module
...
Signed-off-by: sshijun <sshijun@vmware.com>
2020-01-10 16:21:16 +08:00
Steven Zou
e2bab855ac
Merge pull request #10341 from dosec-cn/master
...
doc[compatibility]:add new scanner to compatibility list
2020-01-09 17:19:25 +08:00
Steven Zou
e899d659f3
fix[jobservice]:job status is hung after restart
...
- improve the status hook sending/resending approach
- improve the status compare and set approach
- simplify the relevant flow
- add reaper to fix the out of sync jobs
- fix #10244 , fix #9963
Signed-off-by: Steven Zou <szou@vmware.com>
2020-01-09 17:10:35 +08:00
jwangyangls
fb82cd6bd1
Merge pull request #10412 from jwangyangls/refactor-styles.css
...
Refactor styles.css
2020-01-09 17:06:48 +08:00
Qian Deng
ceb4bbf849
Merge pull request #10394 from heww/cherry-pick-pr-10393
...
[Cherry pick]fix(scanner): use new created ormer for transaction
2020-01-09 14:29:47 +08:00
danfengliu
89a8bb2c34
Merge pull request #10428 from danfengliu/abandon_replication_filter
...
Add retry when fail to find replication
2020-01-09 14:14:18 +08:00
Wenkai Yin(尹文开)
1ea9e68178
Merge pull request #10366 from ywk253100/191219_manager
...
Implement tag/artifact manager and artifact controller
2020-01-08 21:24:52 +08:00
Wenkai Yin
400a47a5c5
Implement tag/artifact manager and artifact controller
...
1. Implement tag/artifact manager
2. Implement artifact controller
3. Onboard the artifact when pushing artifacts
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-08 20:19:48 +08:00
Danfeng Liu (c)
ea01a236a5
Add retry when fail to find replication
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2020-01-08 17:08:42 +08:00
Michael Michael
891724efb4
Merge pull request #10421 from stuclem/doc-reorg
...
Doc reorg for Harbor 1.10
2020-01-07 17:57:53 -08:00
Will Sun
593b99d1c1
Merge pull request #10408 from AllForNothing/modify-project-tab1
...
Add more UT
2020-01-07 18:05:54 +08:00
Yogi_Wang
2308519596
Refactor styles.css
...
1.refactor styles.css
2.modify theme mode
3.fix bug #9939
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-01-07 14:37:26 +08:00
danfengliu
7edac6d8e8
Merge pull request #10403 from danfengliu/add-test-case-tag-immutability
...
Add nightly test case for tag immutability
2020-01-07 14:04:19 +08:00
sshijun
fc78aeacc9
Add more UT
...
Signed-off-by: sshijun <sshijun@vmware.com>
2020-01-07 09:23:33 +08:00
Daniel Jiang
a5f8111fd0
Merge pull request #10329 from wy65701436/expir-robot
...
add expiration data time when to create a robot account
2020-01-06 17:30:48 +08:00
Danfeng Liu (c)
9d651128d6
Add nightly test case for tag immutability
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2020-01-06 15:54:08 +08:00
danfengliu
cbed810f02
Merge pull request #10395 from danfengliu/add-confirm-for-add-memeber-btn-click
...
add checkpoint and retry for click add member button
2020-01-03 17:47:47 +08:00
Danfeng Liu (c)
07b005bcda
add checkpoint and retry for click add member button
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2020-01-03 15:40:46 +08:00
wang yan
a0f3709b3c
add expiration data time when to create a robot account
...
Update API of creating robot accout, user can specify expiration time per account.
Signed-off-by: wang yan <wangyan@vmware.com>
2020-01-03 13:47:06 +08:00
He Weiwei
b90ac468c5
fix(scanner): use new created ormer for transaction
...
Use new created ormer for transaction in SetDefaultRegistration
Closes #10284
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-01-03 05:25:32 +00:00
danfengliu
595505c95e
Merge pull request #10381 from danfengliu/retry-for-pull-image
...
Repull image when error
2020-01-03 10:23:29 +08:00
Will Sun
76dcedb4f3
Merge pull request #10375 from AllForNothing/more-ut-v2
...
Add more UT for project-quota-component
2020-01-02 13:43:56 +08:00
Will Sun
061b37764a
Merge pull request #10384 from AllForNothing/modify-project-tab1
...
Improve tabs UI for project detail page
2020-01-02 13:40:25 +08:00
Yogi_Wang
ad67e45932
Refine the tabs in ellipsis code
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2020-01-02 10:43:09 +08:00
He Weiwei
7a4cb17450
feat(orm): add orm support with context ( #10337 )
...
1. Get and set orm from context.
2. Add WithTransaction decorator make func run in transaction.
3. Support nested transaction by Savepoint.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-12-31 18:30:52 +08:00
Wenkai Yin(尹文开)
803e676ee7
Merge pull request #10385 from ywk253100/191231_replication
...
Remove the workaround for blocking manifest list in replication
2019-12-31 18:01:30 +08:00
Daniel Jiang
99e052aeb0
Merge pull request #10369 from reasonerjt/registry-basic-auth
...
Populate basic auth information for registry
2019-12-31 17:56:57 +08:00
Wenkai Yin
0c776076bd
Remove the workaround for blocking manifest list in replication
...
Remove the workaround for blocking manifest list in replication
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-12-31 17:13:58 +08:00
Wenkai Yin(尹文开)
6571135cbf
Merge pull request #10367 from ywk253100/191227_list
...
Remove the manifest list middleware
2019-12-31 14:53:21 +08:00
Daniel Jiang
a087ba02e3
Populate basic auth information for registry
...
This commit updates `prepare` and templates to populate the credential
for registry for basic authentication.
A temporary flag `registry_use_basic_auth` was added to avoid breakage.
It MUST be removed before the release.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-12-31 14:50:46 +08:00
Danfeng Liu (c)
1cdf7253cd
Repull image when error
...
Docker pull command was enclosed to one keyword, in this keyword,
there're retry and log record.
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-12-31 14:30:26 +08:00
danfengliu
bbe40a551e
Merge pull request #10374 from danfengliu/refresh-project-quotas-list
...
Refresh project quotas list at regular time
2019-12-30 17:03:53 +08:00
AllForNothing
a8521fb62f
Add more UT for project-quota-component
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2019-12-30 15:34:40 +08:00
danfengliu
79f93af471
Merge pull request #10333 from danfengliu/add-time-waiting-for-tag-switch
...
Replace keyword without waiting to one which had waiting
2019-12-30 14:45:24 +08:00
Danfeng Liu (c)
9dbb04925c
Refresh project quotas list at regular time
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-12-30 14:11:19 +08:00
danfengliu
69740fc396
Merge pull request #10361 from danfengliu/modify-notary-scritp
...
Notary test failed in Helm Pipeline
2019-12-27 18:02:58 +08:00
stonezdj(Daojun Zhang)
8ceb0e5eff
Merge pull request #10350 from reasonerjt/tokenreview-onboard
...
Onboard user when doing token review
2019-12-27 17:18:47 +08:00
danfengliu
de2ec7d063
Replace keyword without waiting to one which had waiting
...
1. Replace all keywords without using waiting;
2. Add a debug line in Go Into Repo for UI hung trouble shooting.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-12-27 17:13:25 +08:00
danfengliu
933dc91ba5
Notary test failed in Helm Pipeline
...
In Helm pipeline, harbor access address is by domain name instead of IP, so cert directory should be created by domain name.
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-12-27 17:02:28 +08:00
Wenkai Yin(尹文开)
82adac43b0
Merge pull request #10362 from reasonerjt/disable-token-service-xsrf
...
Disable XSRF check for /service/token
2019-12-27 16:10:25 +08:00
Wenkai Yin
190a5f2ee6
Remove the manifest list middleware
...
We'll support manifest list, so this commit removes the manifest list middleware who blocks the manifest list pushing
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-12-27 16:04:04 +08:00
Daniel Jiang
cc63fa7b7a
Disable XSRF check for /service/token
...
This commit disables XSRF check for "service/token" so that when
containerd sends `POST` it will not return 403 and containerd can
fallback to `GET` to complete the workflow.
Fixes #10305
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-12-27 14:01:40 +08:00
danfengliu
fe7fdeb723
Merge pull request #10356 from danfengliu/remove-verification-unready
...
Remove whitelist verifcation since it's not ready
2019-12-27 11:26:28 +08:00
danfengliu
d46b663778
Remove whitelist verifcation since it's not ready
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2019-12-27 10:24:45 +08:00
danfengliu
0db8b9cc95
Merge pull request #10345 from danfengliu/nightly-upgrade-refector-2
...
Nightly upgrade test refector
2019-12-26 17:56:17 +08:00
jwangyangls
d01c852698
Merge pull request #10344 from jwangyangls/fix-css-load-1
...
Add theme of dark
2019-12-26 17:19:26 +08:00
Yogi_Wang
ecef852407
Add theme of dark
...
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-12-26 16:34:08 +08:00
Danfeng Liu (c)
76cbcfcbb9
Refect upgrade script, population will be distinguished by harbor version.
...
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2019-12-26 14:08:47 +08:00
Daniel Jiang
f3fcc37244
Onboard user when doing token review
...
This commit will make the "tokenreview" security filter onboard
user if the request carries a valid token. If the "skipsearch" flag in
http_auth setting is set to false the onboard will fail.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-12-25 19:32:41 +08:00
jwangyangls
3f53aa9476
Merge pull request #10340 from jwangyangls/modify-adminrole
...
Modify system admin role from has_admin_role to admin_role_in_auth and sysadmin_flag
2019-12-25 18:26:43 +08:00