Commit Graph

192 Commits

Author SHA1 Message Date
Wenkai Yin
51d5df0849 Update replication policy API to support trigger and filter 2017-11-02 14:59:26 +08:00
Wenkai Yin
5b2ececae8 Merge pull request #3436 from ywk253100/171020_meta_api
Add project metadata API
2017-10-27 05:16:50 -05:00
Wenkai Yin
c355034c14 Add project metadata API
Project metadata API can be used to integrated with project management
service which can not provide all metadatas needed by Harbor.
2017-10-27 17:05:15 +08:00
Wenkai Yin
2156750b04 Move certificate verification to target level
The certificate verification is on system level before this commit. Moving it
to target level makes the configuration more flexible for different targets.
2017-10-20 15:36:56 +08:00
Wenkai Yin
66b2d0d3f3 Apply project level policies to standalone Harbor
The following features are only enabled in integration mode, this commit moves
these to standalone Harbor:
 - Content trust policy: only signed images can be pulled
 - Vulnerability policy: only images whose severity is below the threshold can be pulled
 - Automatic scan policy: automatic scan pushed images
2017-10-19 17:33:28 +08:00
huzhengchuan
3569d62b83 fix type error in swagger.yaml
fix #3310
2017-09-27 11:18:16 +08:00
Wenkai Yin
82dc758064 Merge pull request #3213 from ywk253100/170914_image_size
Return image size when getting detail information of tag
2017-09-19 17:09:49 +08:00
Wenkai Yin
2ebcc454ba support image size 2017-09-15 13:34:23 +08:00
Wenkai Yin
74dfeed7df update swagger 2017-09-04 15:12:54 +08:00
Tan Jiang
d1852e08e3 update swagger for 1.2 API. 2017-08-30 17:03:03 +08:00
Daniel Jiang
2a50559ff7 update swagger doc (#2822)
* update swagger doc

* remove unused definitions
2017-07-20 03:47:46 -07:00
wemeya
ddee1ca7e8 Update swagger.yaml 2017-06-30 15:27:32 +08:00
Wenkai Yin
6e9ec3f22c refactor statistics API 2017-06-26 14:15:01 +08:00
Wenkai Yin
bdd49e51d5 call ui API to get project 2017-06-22 14:01:17 +08:00
Tan Jiang
a8a00a425f update swagger YAML 2017-06-21 00:15:01 +08:00
Wenkai Yin
65f466d7da add get tag api 2017-06-20 16:56:40 +08:00
Tan Jiang
15384317e0 add with_clair flag in systeminfo 2017-06-15 16:15:46 +08:00
Wenkai Yin
7d595c10c5 Merge pull request #2485 from ywk253100/170608_project
Refactor GET /projects API
2017-06-14 21:03:28 +08:00
Wenkai Yin
802a2fbcce update 2017-06-14 20:23:29 +08:00
Wenkai Yin
539c0375a1 support pagination 2017-06-12 18:36:10 +08:00
Wenkai Yin
20cf8de0f7 Merge remote-tracking branch 'upstream/master' into 170608_project 2017-06-09 16:41:13 +08:00
Wenkai Yin
e97d7dab85 refactor GET /projects 2017-06-09 16:41:02 +08:00
Wenkai Yin
f700b1bfc6 Merge pull request #2461 from ywk253100/170607_log_api
Support query logs according to different conditions
2017-06-09 11:08:08 +08:00
Wenkai Yin
b2380818fd support query logs according to conditions 2017-06-08 14:44:08 +08:00
Daniel Jiang
2e5a4003a8 Merge pull request #2401 from wemeya/master
modify swagger.yaml
2017-06-08 11:16:52 +08:00
wemeya
1b995e1736 modify swagger.yaml 2017-06-01 15:21:40 +08:00
wemeya
4463540995 modify swagger.yaml 2017-06-01 14:22:19 +08:00
Wenkai Yin
1b83c0b076 support pagination in GET recent logs API 2017-05-26 17:51:20 +08:00
Wenkai Yin
30316a2b94 return signatures in GET tags API 2017-05-24 10:15:39 +08:00
Wenkai Yin
0cf2ef8a2b update 2017-05-11 17:34:08 +08:00
Wenkai Yin
06ba7e0de0 update 2017-05-11 12:34:14 +08:00
Wenkai Yin
6cf545f304 update swagger 2017-05-04 12:01:46 +08:00
Wenkai Yin
ac77ee3bc4 modify ping targat and put target api 2017-04-10 13:45:24 +08:00
Wenkai Yin
5c4808bf93 update frontend codes 2017-03-24 18:38:33 +08:00
Wenkai Yin
9e12274309 Merge remote-tracking branch 'upstream/dev' into 170321_url
Conflicts:
	src/ui/router.go
2017-03-23 11:19:34 +08:00
Wenkai Yin
b461ba54a8 refactor api. 2017-03-22 14:30:49 +08:00
wy65701436
8268cf66bd update swagger 2017-03-21 18:56:42 -07:00
Tan Jiang
5e229f7d96 systeminfo returns flag for ca root 2017-03-17 14:06:33 +08:00
Wenkai Yin
c5917eddf3 modify swagger 2017-03-16 15:19:47 +08:00
Wenkai Yin
c3626edd42 reset config 2017-03-16 11:27:45 +08:00
Daniel Jiang
58a05c0aaf Merge pull request #1563 from ywk253100/170310_top_repo
Refactor getting top repo API to return more info
2017-03-13 10:45:36 +08:00
Tan Jiang
ef906c96d0 provide systeminfo API for UI 2017-03-10 18:53:11 +08:00
Wenkai Yin
62963eb3a8 update swagger 2017-03-10 15:31:05 +08:00
Wenkai Yin
3cb53011eb refactor get tags API to return more info 2017-03-09 17:30:00 +08:00
Tan Jiang
42bc430cfd update swagger, fix minor issues in test 2017-03-08 13:57:34 +08:00
Wenkai Yin
f7fe063436 fix conflict 2017-03-08 10:57:17 +08:00
Wenkai Yin
b4f8fdf563 fix bug in swagger 2017-03-07 20:34:43 +08:00
Daniel Jiang
c1d9d68232 Merge pull request #1518 from ywk253100/170306_search
Refactor search API to return more info
2017-03-07 13:12:53 +08:00
Wenkai Yin
dfae869dce add test cases 2017-03-06 18:03:31 +08:00
Wenkai Yin
d6a6f67596 refactor search API to return more info 2017-03-06 17:47:05 +08:00
yhua
c48d908515 add new ldap auth and import user feature 2017-02-27 15:13:49 +08:00
Wenkai Yin
1fbb28ad8c update 2017-02-09 15:25:52 +08:00
yhua
c7a05e0571 fix typo 2017-01-20 16:25:03 +08:00
yhua
e21787e68a update swagger.yaml 2017-01-20 16:15:56 +08:00
yhua
7fbe811394 add ldap ping feature 2017-01-11 15:08:41 +08:00
kunw
e3f5e9e501 Updates Swagger YAML for new added API. 2016-11-22 19:19:17 +08:00
kun wang
4671f4a02f Merge pull request #1124 from yhua123/dev
LGTM
2016-11-21 15:18:11 +08:00
yhua
a0fc5a132e add api/users/current to swagger.yaml 2016-11-18 17:10:53 +08:00
xuxinkun
758d063514 fix responses for /repositories/tags.
Signed-off-by: xuxinkun <xuxinkun@gmail.com>
2016-11-07 17:29:01 +08:00
Daniel Jiang
5dafb3d684 Merge pull request #760 from wy65701436/dev
update API doc for sync registry.
2016-10-17 15:47:31 +08:00
wemeya
a75165adc5 Update swagger.yml 2016-09-22 13:20:10 +08:00
zgdxiaoxiao
bfb5db7c97 swagger bugfix 2016-09-21 10:43:04 +08:00
Wenkai Yin
2a2a9feee2 fix #761 2016-09-19 17:58:29 +08:00
wy65701436
052d44a218 update API doc for sync registry. 2016-09-04 22:13:54 -07:00
zgdxiaoxiao
198149599d update api test and swagger.yaml(updated) 2016-09-02 16:05:55 +08:00
Wenkai Yin
531f36810c add pagination and repository details 2016-08-26 14:32:20 +08:00
yhua123
fbd0c03b93 Update swagger.yaml
update repo_id
2016-08-12 15:12:35 +08:00
yhua123
b8eafdc74c Update swagger.yaml
add 0.3.0 new features' API
2016-08-11 17:39:36 +08:00
jinpengcheng
3d324a0e3b Fixed Project describe "name" field error in swagger.yaml
The "name" field of Project's properties in swagger.yaml,
but "POST" Project API use parameter "project_name".
2016-08-03 20:14:00 -07:00
yhua
b2beef9454 fix swagger.yml online check issue: op_time definition & no use definitions 'repository' 2016-07-19 15:40:35 +08:00
Wenkai Yin
d77a78e4d1 Merge pull request #342 from wemeya/develop
change swagger.yml
2016-06-15 11:53:38 +08:00
wemeya
a2c073e8f9 change url error 2016-06-14 18:03:20 +08:00
wemeya
5205bd2367 change url for toggle project 2016-06-13 18:51:14 +08:00
Wenkai Yin
14e71f0052 Merge branch 'master' into sync_image
Conflicts:
	.travis.yml
	models/accesslog.go
	models/project.go
	models/user.go
2016-06-13 18:14:41 +08:00
wemeya
6f188e5620 modify swagger.yml 2016-06-08 17:00:25 +08:00
wemeya
97c8c785bd modify swagger.yml 2016-06-08 15:14:41 +08:00
wemeya
a481a01035 modify swagger.yml 2016-06-08 11:20:41 +08:00
wemeya
e34162bcb5 modify syntax error 2016-06-07 20:38:56 +08:00
Tan Jiang
2a79a577e9 update swagger 2016-06-03 18:50:42 +08:00
wemeya
97b5d16e26 change dao_test file 2016-05-30 17:22:38 +08:00
wemeya
b29a41034c modify code according to review 2016-05-27 17:54:25 +08:00
wemeya
4314c244e5 add instructions for new added api 2016-05-26 16:48:49 +08:00
Wenkai Yin
43fb697484 fix error in swagger.yaml 2016-05-12 13:58:07 +08:00
wy65701436
b68f2e1d22 pass on the swagger parser check. 2016-05-03 23:43:37 -07:00
wy65701436
f4f716ad31 pass on the swagger editor check. 2016-05-03 18:39:37 -07:00
wy65701436
c7da848dd5 pass on the swagger editor check. 2016-05-03 18:27:07 -07:00
wy65701436
73fe2a30d6 remove duplicate parameters lines. 2016-05-02 22:43:50 -07:00
wy65701436
ff42923401 update API for creating user, updating password and comment post return. 2016-05-02 21:05:06 -07:00
wy65701436
2a461ee53e update API for creating user, updating password and comment post return. 2016-05-02 20:58:50 -07:00
Wenkai Yin
ba69666509 add delete API to swagger 2016-04-20 13:31:47 +08:00
Zhao Peng
e4a7fa0435 Update swagger.yaml
yaml key "/projects/{project_id}/members/" duplicated.
move get and post block in same "/projects/{project_id}/members/" key
2016-04-12 13:37:08 +08:00
wknet123
c2353f9c2d added configure_swagger.md and shell script. 2016-03-10 18:05:12 +08:00