Commit Graph

8575 Commits

Author SHA1 Message Date
Wenkai Yin(尹文开)
4f3024191b
Merge pull request #10458 from ywk253100/20013_middleware
Provide a util function to apply middlewares to handler
2020-01-14 17:11:59 +08:00
Wenkai Yin
ff1a03cccc Get the ormer from context instead of creating a new one
This commit updates the dao methods with the ormer got from context

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-14 16:35:36 +08:00
Ziming Zhang
a8e99ef7be fix(cicd) Use fixed golang version 1.13.4 and fail early
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: Ic6a5930c879e3d344ce8a747e226514b4500324c
2020-01-14 16:35:26 +08:00
Will Sun
88e6b0a743
Merge pull request #10443 from AllForNothing/express
Add express module
2020-01-14 15:22:23 +08:00
sshijun
679a6e0b05 Add ng-swagger-gen to automatically generate models and services with
swagger.yaml

Signed-off-by: sshijun <sshijun@vmware.com>
2020-01-14 15:18:32 +08:00
Will Sun
a3e84380fa
Merge pull request #10436 from AllForNothing/nightly
Improve tag-retention and project search function
2020-01-14 13:54:40 +08:00
Wenkai Yin(尹文开)
7e8bc0173d
Merge pull request #10390 from heww/gen-apis
feat(swagger): generate apis v2.0 from swagger.yaml
2020-01-14 13:39:59 +08:00
sshijun
95287db4b5 Improve tag-retention and project search function
Signed-off-by: sshijun <sshijun@vmware.com>

Improve tag-retention and project search function

Signed-off-by: sshijun <sshijun@vmware.com>
2020-01-14 13:26:30 +08:00
He Weiwei
c729e3b9e0 feat(swagger): generate apis v2.0 from swagger.yaml
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-01-14 02:20:18 +00:00
Stuart Clements
d61bcc3c55 More linking 2020-01-13 17:45:05 +01:00
Stuart Clements
724efac8f6 Reorganizing project docs 2020-01-13 16:45:55 +01:00
Stuart Clements
f4310b470c Adding TOC links to projects topics 2020-01-13 16:18:01 +01:00
Stuart Clements
4899d89660 More upgrade updates 2020-01-13 16:09:20 +01:00
Stuart Clements
bc25f28b2c Updated upgrade doc 2020-01-13 16:05:58 +01:00
Stuart Clements
62673be6da Linking and rewrites 2020-01-13 14:48:49 +01:00
Stuart Clements
fe7cf8dddb Added TOC links in vulnerability section 2020-01-13 14:33:26 +01:00
Stuart Clements
c31d8bd21b Added linking in replication section 2020-01-13 14:25:02 +01:00
Stuart Clements
8d7e1bc205 Adding top-level readme 2020-01-13 14:20:42 +01:00
Stuart Clements
52edbdcf33 Fixed links 2020-01-13 13:05:44 +01:00
Stuart Clements
36c8a6c1e9 More content reorg 2020-01-13 13:02:39 +01:00
Stuart Clements
cd88ed6edf Adding files 2020-01-13 12:49:21 +01:00
Stuart Clements
0f686c6db6 Links and rewrites 2020-01-13 12:48:37 +01:00
Stuart Clements
cae265503c TOC links 2020-01-13 12:38:29 +01:00
Stuart Clements
68f3dc824c Formatting 2020-01-13 12:29:59 +01:00
Wenkai Yin
c5cc7cf49e Provide a util function to apply middlewares to handler
Provide a util function to apply middlewares to handler

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-13 19:27:00 +08:00
Stuart Clements
7b176d6ae8 Link checking and topic rewrites 2020-01-13 12:25:55 +01:00
Stuart Clements
67a58cbe72 Specified version in index page 2020-01-13 11:29:47 +01:00
Stuart Clements
869528a67c Added Harbor to redirect blurb 2020-01-13 11:28:25 +01:00
Stuart Clements
6332c4aea8 Removed headers 2020-01-13 11:25:54 +01:00
Stuart Clements
74d68b6bd5 Replaced old doc content with links to new docs 2020-01-13 11:19:50 +01:00
danfengliu
75ad5c796a
Merge pull request #10450 from danfengliu/add-retry-for-project-display
Add retry for prject list display
2020-01-13 16:56:16 +08:00
Danfeng Liu (c)
d02f15fb0f Add retry for prject list display
Signed-off-by: Danfeng Liu (c) <danfengl@vmware.com>
2020-01-13 15:44:31 +08:00
Wenkai Yin(尹文开)
3b35392c1c
Merge pull request #10452 from bitsf/ecr_delete_image_master
(cherry-pick)Ecr delete image master
2020-01-13 13:11:21 +08:00
Ziming Zhang
ed3bf041e2 fix(replication): aws ecr delete image
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I5e38b813c2840e0270973c38680cb8f815e5ece9
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-01-13 10:58:13 +08:00
Wenkai Yin(尹文开)
3fe7517432
Merge pull request #10379 from ywk253100/191230_abstractor_pr
Implement the artifact abstractor and resolver
2020-01-13 10:23:41 +08:00
Wenkai Yin
e91dbea76d Implement the manifest v1 image resolver
The manifest v1 image resolver populates the architecture info into the artifact

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-11 16:33:02 +08:00
Wenkai Yin
40d5043d5c Implement the index/manifest list image resolver
The index/manifest list image resolver populates the references of the artifact

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-11 16:02:16 +08:00
Wenkai Yin
df551e1310 Implement the artifact abstractor and resolver
1. Define the interface for artifact abstractor and resolver
2. Implement the artifact abstractor
3. Implement the resolver for image with manifest v2

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-11 15:09:08 +08:00
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