Wenkai Yin
02690d1d04
Suport filtering registries by type in listing registry API
...
Suport filtering registries by type in listing registry API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-07-07 10:30:46 +08:00
chlins
37a00912b7
feat: add p2p preheat swagger yaml and implement preheat api policy handler
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-07-06 21:05:22 +08:00
fanjiankong
a0c2d0ac9e
feat(preheat):add preheat api, controller and manager
...
- define instance's api
- define extension models for api
- implement preheat controller
- implement preheat manager
- most code are picked up from the original P2P feat branch
Signed-off-by: fanjiankong <fanjiankong@tencent.com>
2020-07-03 11:25:42 +08:00
AllForNothing
fff6f7529a
Replace all whitelist with allowlist
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-06-24 16:17:17 +08:00
Wenkai Yin
a79bb127b3
Update creating project API to support proxy cache project
...
Update creating project API to support proxy cache project
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-06-10 17:14:12 +08:00
He Weiwei
8458f980d0
fix(swagger): enable security in swagger.yaml
...
1. Enable `security` in the swagger.yaml.
2. Include `basic` auth in `security` to make the generated python
client by `swagger-codegen-cli` work with basic authorization.
3. Include `anonymous` auth in `security` to make APIs of v2.0 generated
by `goswagger` work with `security` middleware.
Closes #11771
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-04-28 02:34:34 +00:00
Ziming Zhang
6dfe504325
fix(retention) add extras field to retention swagger
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-04-26 14:29:11 +08:00
Wenkai Yin
208c6f6223
Add version API to swagger
...
1. Add version API to swagger
2. Update the description for query
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-04-09 11:03:42 +08:00
Wenkai Yin
7188e01569
Update APIs to only accept encoded repository name that contains slash
...
Update APIs to only accept encoded repository name that contains slash
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-04-07 20:57:50 +08:00
Wenkai Yin(尹文开)
88ae9c458c
Update tags related APIs ( #11435 )
...
* Update tags related APIs
1. Remove API for listing tags of repository
2. Add API for listing tags of artifact
3. Support filter artifact by tag name
Signed-off-by: Wenkai Yin <yinw@vmware.com>
* [OCI] modify artifact tag name check
1. switch api get tag list
2. modify artifact tag name check
Signed-off-by: Yogi_Wang <yawang@vmware.com>
Co-authored-by: Yogi_Wang <yawang@vmware.com>
2020-04-07 16:28:51 +08:00
Wenkai Yin(尹文开)
5d55bd1d0c
Merge pull request #11463 from ywk253100/200407_copy
...
Update the logic of copy artifact
2020-04-07 14:36:27 +08:00
Wenkai Yin
9bfabff4d2
Update the logic of copy artifact
...
1. Copy artifact will not return 409 anymore.
2. Make sure the tags of source artifact exist in the target artifact
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-04-07 10:55:55 +08:00
He Weiwei
69ca7a0dae
refactor: cleanup unused code about scan
...
1. Cleanup unused code about clair.
2. Cleanup unused definitions in legacy_swagger.yaml about scan.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-04-06 17:34:25 +00:00
He Weiwei
80027c3b86
Merge pull request #11397 from ywk253100/200402_chart_api
...
Add a seperated swagger file for chart API
2020-04-07 00:05:49 +08:00
Wenkai Yin
8f8b4d5e8d
Add a seperated swagger file for chart API
...
Add a seperated swagger file for chart API as these APIs have no version
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-04-06 16:30:26 +08:00
He Weiwei
0a1730edb8
fix(swagger): make json as default response
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-04-06 05:13:21 +00:00
Wenkai Yin(尹文开)
98759642b7
Add API to list tags under the specific repository ( #11336 )
...
Add API to list tags under the specific repository
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-29 12:19:54 +08:00
Wenkai Yin
dca06b6ede
Add "_self" suffix for repository API to avoid conflict
...
Add "_self" suffix for repository API to avoid conflict
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-20 17:08:08 +08:00
Wenkai Yin(尹文开)
32f226901f
Move the webhook event API definition to legacy_swagger.yaml ( #11127 )
...
The API definition is put on the wrong swagger file introduced by PR #11029 by mistake
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-19 14:24:29 +08:00
Wenkai Yin
b8b36d4eb3
Remove the useless definitions in lagacy swagger.yaml
...
Remove the useless definitions in lagacy swagger.yaml
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-18 21:04:39 +08:00
Wenkai Yin(尹文开)
c505c82d57
Merge pull request #11126 from ywk253100/200318_label_resource
...
Remove the API to listing the resources that added with the specific label
2020-03-18 20:58:28 +08:00
jwangyangls
1d435bc246
Merge pull request #11086 from danfengliu/add-api-test-of-add-addition
...
Modify api test for test step of add addition
2020-03-18 20:12:46 +08:00
Wenkai Yin
c92d9e4034
Remove the API to listing the resources that added with the specific label
...
As we introduce a new table to record the relationship between the artifacts and labels, the current way to list label's resources doesn't work anymore, and the API isn't needed by any features, remove it in 2.0
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-18 18:47:44 +08:00
Wenkai Yin(尹文开)
1f0c559a0f
Update the swagger ( #11040 )
...
Remove the other query string for listing repositories/artifacts and add some new TODO items
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-18 18:02:17 +08:00
danfengliu
77e9fc38c7
Modify api test for test step of add addition
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-03-18 17:32:10 +08:00
Wang Yan
050967f95f
Use new query model to get audit logs ( #11113 )
...
* Use new query model to get audit logs
leverage the query builder to build query, remove the old style query string
Signed-off-by: wang yan <wangyan@vmware.com>
* Switch to new API for project log page
Signed-off-by: AllForNothing <sshijun@vmware.com>
Co-authored-by: AllForNothing <sshijun@vmware.com>
2020-03-18 13:46:49 +08:00
Wang Yan
ce2257dc22
update project logs api to v2.0 ( #11097 )
...
use audit log api to get project logs
Signed-off-by: wang yan <wangyan@vmware.com>
2020-03-17 11:58:43 +08:00
Wenkai Yin(尹文开)
89eeeb29ca
Change tag count to artifact count in search result ( #11068 )
...
Change tag count to artifact count in search result
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-16 14:28:59 +08:00
He Weiwei
12f16c8cec
feat(scan): support to scan image index ( #11001 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-03-12 19:30:12 +08:00
Wenkai Yin
4ccc3da99b
Remove the "x-go-type" for artifact definition in swagger
...
Using "x-go-type" may cause the inconsistence between the swagger definition and the real data model
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-12 10:06:22 +08:00
Ted Guan
4ac31c6d46
Add API for query supported event types and notify types; Return policy name in last trigger info; Remove project_id unique constraint in table notification_policy ( #11029 )
...
Signed-off-by: guanxiatao <guanxiatao@corp.netease.com>
2020-03-11 18:06:58 +08:00
Wang Yan
f49994d81d
enable garbage colloection api test case ( #11000 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2020-03-11 11:19:29 +08:00
Wenkai Yin(尹文开)
307dbc6fba
Accept the pagination information in the separated query string ( #10991 )
...
Accept the pagination information in the separated query string
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-09 22:19:42 +08:00
Wenkai Yin
b14762ee17
Add support for querying artifact by labels and tags
...
Add support for querying artifact by labels and tags
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-07 11:32:15 +08:00
Wenkai Yin(尹文开)
63cf1041f7
Merge pull request #10941 from ywk253100/200304_query_label
...
Implement query string builder
2020-03-06 13:18:10 +08:00
Wenkai Yin
8abb630b4c
Implement query string builder
...
This commit defines the API query string format and provides the builders to build query string to query model
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-03-05 17:46:11 +08:00
wang yan
df237a5b17
add audit logs API
...
1, add API entry for get audit logs
2. add audit log manager to hanlder CRUD
Use the new format of audit log to cover differernt resource, artifact/tag/repostory/project
Signed-off-by: wang yan <wangyan@vmware.com>
2020-03-05 11:40:51 +08:00
Wenkai Yin
e3bbcb66d1
Set the "Link" and "location" header
...
Set the "Link" and "location" header
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-28 17:09:18 +08:00
Wenkai Yin
4deb7dc239
Fix bug of swagger for repository API
...
Fix bug of swagger for repository API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-25 16:23:20 +08:00
Wenkai Yin(尹文开)
5f9c976e95
Merge pull request #10837 from heww/scan-api
...
feat(scan): add scan API in v2.0
2020-02-25 14:45:19 +08:00
He Weiwei
55a21cd444
feat(scan): add scan API in v2.0
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-25 06:01:37 +00:00
Wenkai Yin
bb3ff0d752
Implement the API to get the specified repository
...
Implement the API to get the specified repository
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-25 12:02:50 +08:00
Wang Yan
948d45604c
Revise the GC job flow,
...
1, set harbor to readonly
2, select the candidate artifacts from Harbor DB.
3, call registry API(--delete-untagged=false) to delete manifest bases on the results of #2
4, clean keys of redis DB of registry, clean artifact trash and untagged from DB.
5, roll back readonly.
Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-24 18:29:55 +08:00
Wenkai Yin
bd204464f3
Remove dead code
...
Remove dead code
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-23 17:11:46 +08:00
He Weiwei
f36152a560
feat(vulnerability): assemble vulnerabilities info for artifact ( #10800 )
...
1. Assemble scan overview to artifact when scanner enabled in the
project of the artifact.
2. Set addition link for vulnerabilities to artifact when scanner
enabled in the project of the artifact.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-02-22 13:29:58 +08:00
Wenkai Yin
c4d4850845
Implement copy artifact API
...
Copy artifact into the repository from the specified artifact
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-20 16:59:35 +08:00
Wenkai Yin
1db0077096
Implement delete/update repository API
...
Implement delete/update repository API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-20 08:39:26 +08:00
Wang Yan
384086c5ad
update the enum value for chart on api get the addition ( #10752 )
...
Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-19 00:28:39 +08:00
Wenkai Yin
c8c944c6e8
Move the scan overview populating logic to API handler
...
Move the scan overview populating logic to API handler to avoid importing cycle
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-18 13:34:08 +08:00
Wenkai Yin(尹文开)
560dd8ce7b
Merge pull request #10745 from reasonerjt/artifact-signature-populate-v2
...
Artifact signature populate
2020-02-18 13:24:55 +08:00
Wenkai Yin(尹文开)
341cb88cba
Merge pull request #10727 from ywk253100/200214_bump_up_legacy_api_version
...
Bump up legacy api version to v2.0
2020-02-18 10:37:25 +08:00
Daniel Jiang
5a6e9331fd
Artifact signature populate ( #7 )
...
* Populate signature status in artifact API
This Commit add signature status into response of list artifact API.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-02-18 01:42:56 +08:00
Wenkai Yin(尹文开)
d7903fcf1b
Merge pull request #10682 from ywk253100/200126_label
...
Support add/remove label to/from artifact
2020-02-17 11:33:45 +08:00
Wenkai Yin
94787ea60d
Bump up the version of legacy APIs to v2.0
...
Bump up the version of legacy APIs to v2.0
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-14 13:16:30 +08:00
AllForNothing
036ae18b25
Improve swagger.yaml
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-02-14 11:43:15 +08:00
Wenkai Yin
93731eeb2e
Support add/remove label to/from artifact
...
This commit add supporting for adding/removing label to/from artifacts and populates labels when listing artifacts
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-13 10:46:23 +08:00
Wang Yan
e68b474dbc
Merge pull request #10581 from ywk253100/100123_list_artifact
...
Add query string to listing artifact API to support specify only show the tagged artifacts
2020-02-10 18:12:06 +08:00
Wang Yan
65dc54b059
Merge pull request #10626 from ywk253100/200125_handle_error
...
Unify the method/style to handle error in handler/middleware
2020-02-10 17:47:12 +08:00
Wenkai Yin
0373e08e58
Add query string to listing artifact API to support specify only show the tagged artifacts
...
Specify the query string "tags=NOT_NULL" to the listing artifact API to only return the tagged artifacts
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-10 14:53:51 +08:00
Wenkai Yin
af4dd142bc
Unify the method/style to handle error in handler/middleware
...
This commit provides a "SendError" method to unify the way to handle error in handlers/middlewares
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-08 07:37:00 +08:00
Wenkai Yin
0f6057a22c
Implement get addition API for image
...
This commit implements the API to get build history of image with manifest version 2 and populates the addition links when listing/getting the artifact
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-07 20:21:38 +08:00
Wang Yan
6bad9f62ba
Merge pull request #10662 from ywk253100/200206_delete_repo
...
Implement repository deletion API
2020-02-07 17:51:03 +08:00
Wang Yan
5679c174c6
Merge pull request #10643 from ywk253100/200204_auth
...
Add permission check for artifact related APIs
2020-02-07 11:25:37 +08:00
Wenkai Yin
c267aaa474
Implement repository deletion API
...
Implement repository deletion API based on the new design
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-07 09:36:35 +08:00
Wang Yan
72f9e02dd9
Merge pull request #10628 from wy65701436/af-immu
...
set the immutable status on getting/listting tag
2020-02-05 21:03:29 +08:00
wang yan
596a6261ca
set the immutable status on getting/listting tag
...
Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-05 16:24:13 +08:00
Wenkai Yin
6087647895
Add permission check for artifact related APIs
...
Add permission check for artifact related APIs
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-05 15:58:39 +08:00
Wenkai Yin
7930e4f38a
Add child artifact digest in reference model
...
As we only provide the API to get artifact information via project name, repository name and digest, the digest of child artifact must be returned
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-04 15:59:06 +08:00
Wenkai Yin
793b23a444
Implement artifact/tag related API
...
Implement APIs:
1. Get artifact
2. Delete artifact
3. Create tag
4. Delete tag
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-02-04 13:46:55 +08:00
Wenkai Yin
19f4bad042
Implement the listing artifact API
...
Implement the listing artifact API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-01-22 07:35:29 +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
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
Wenkai Yin(尹文开)
c1522d3c36
Merge pull request #10261 from stonezdj/20191211_ldap_group_admin_dn
...
Fix admin permission not revoked when removed from LDAP admin group(Do Not Merge)
2019-12-24 14:37:28 +08:00
stonezdj
6313a55219
Fix admin permission not revoked when removed from LDAP admin group
...
Seperate the HasAdminRole(In DB) with the privileges from external auth, and use user.HasAdminPrivilege to check
Signed-off-by: stonezdj <stonezdj@gmail.com>
2019-12-20 13:12:22 +08:00
Daniel Jiang
65ee14bb78
Fix syntax error in swagger.yaml
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-12-16 16:17:19 +08:00
Steven Zou
0cf3793297
doc[compatibility]:add doc ref in the README
...
- refer the harbor compatibility doc in the README
- add .md suffix to the README file under api/harbor
Signed-off-by: Steven Zou <szou@vmware.com>
2019-12-12 18:43:49 +08:00
Steven Zou
7bf9372f32
chore[api]:rename API folder to api
...
- update swagger yaml file reference in `Makefile`
- update swagger yaml file reference in `README`
- update swagger yaml file reference in `docs/configure_swagger.md`
- update swagger yaml file reference in `make/photon/portal/Dockerfile`
- update swagger yaml file reference in `tests/swaggerchecker.sh`
Signed-off-by: Steven Zou <szou@vmware.com>
2019-12-11 17:41:27 +08:00
Steven Zou
32b12181e2
doc[api spec]:rename folder name to
...
Signed-off-by: Steven Zou <szou@vmware.com>
2019-12-09 18:48:10 +08:00
yhua
311cf8da07
change code 20161019
2016-10-21 18:39:10 +08:00
yhua123
ac496e0991
Merge pull request #889 from wemeya/dev
...
modify log_test.go
2016-10-19 11:58:02 +08:00
Daniel Jiang
3b02134a5c
Merge pull request #872 from ywk253100/161012_sync_repo
...
Do not show repo which has no tag in it
2016-10-17 15:40:27 +08:00
wemeya
95994cd392
modify log_test.go
2016-10-17 13:57:46 +08:00
kunw
9bf08f368c
Extend password validation length.
2016-10-14 18:02:13 +08:00
Tan Jiang
7a8912d216
merge with master
2016-10-14 14:23:27 +08:00
Wenkai Yin
44ecac0b4a
do not show repo which has no tag in it
2016-10-12 17:35:50 +08:00
Wenkai Yin
769c9c63f1
fix #856
2016-10-11 15:26:03 +08:00
Wenkai Yin
59559561d8
add sqlite support
2016-10-11 13:13:28 +08:00
Penghao Cen
3542c1b66c
minor fix log print
2016-10-08 15:37:40 +08:00
wemeya
2a0951e2ea
fix test case
2016-09-22 16:57:57 +08:00
wemeya
c0f3d7d749
add test case for user
2016-09-22 16:28:12 +08:00
yhua123
f11e9e8cd0
Merge pull request #813 from zgdxiaoxiao/api-test
...
add policy api test
2016-09-21 15:29:45 +08:00
Wenkai Yin
2a2a9feee2
fix #761
2016-09-19 17:58:29 +08:00
zgdxiaoxiao
8893f9121d
add policy api test
...
update const data
2016-09-19 16:37:18 +08:00
Daniel Jiang
1c216d902a
Merge pull request #804 from reasonerjt/dev
...
fix #801 , add permission check before filtering access log of a project.
2016-09-14 16:05:10 +08:00
Daniel Jiang
e6b3638f9c
Merge pull request #803 from ywk253100/buf_fix_filter_repo
...
bug fix: handle error when checking the existence of repos whose project does not exist in Harbor
2016-09-14 16:04:56 +08:00
Tan Jiang
e5c464f205
fix #801
2016-09-14 15:25:16 +08:00
Wenkai Yin
3f169e113d
bug fix: handle error when checking the existence of repos whose project does not exist in Harbor
2016-09-14 15:12:16 +08:00
yhua123
6f5e82f915
Merge pull request #796 from zgdxiaoxiao/api-test
...
add target api test
2016-09-14 10:11:46 +08:00
Daniel Jiang
bbdf576962
Merge pull request #797 from reasonerjt/dev
...
Read from DB to refresh catalog cache
2016-09-13 18:51:10 +08:00
Wenkai Yin
343cc4f719
bug fix: delete multiple tags should not return error even though they reference the same image
2016-09-13 18:15:59 +08:00
Tan Jiang
f550fe6a56
Read from DB to refresh catalog cache
2016-09-13 16:13:07 +08:00
zgdxiaoxiao
f340b051d1
add target api test
2016-09-13 16:09:13 +08:00
zgdxiaoxiao
253c242535
add member delete test
...
add member delete API test
add member and repos test
2016-09-12 17:05:53 +08:00
Wenkai Yin
ce3c3fe8f1
1.search refactor due to storing repositories in database 2.bug fix: filter repositories in project view
2016-09-06 16:25:23 +08:00
Wenkai Yin
0fe8209ae1
the name can be same with others when creating and updating policies
2016-09-05 11:22:12 +08:00
Wenkai Yin
bcdec42346
Improve the performance of database when paginating large records for access logs, jobs and getting the top repositories
2016-09-02 18:35:31 +08:00
yhua123
3a3b4ccecb
Merge pull request #750 from zgdxiaoxiao/api-dev
...
Update api test and swagger.yaml(updated version)
2016-09-02 17:19:53 +08:00
Wenkai Yin
bea2a034af
1.fix bugs in implements of storing repositories in DB 2.Complete project deletion 3.Refactor logic of listing the most favorate repositories 4.Refactor statistics
2016-09-02 16:24:25 +08:00
zgdxiaoxiao
198149599d
update api test and swagger.yaml(updated)
2016-09-02 16:05:55 +08:00
Wenkai Yin
569e3aa32f
Merge pull request #731 from wy65701436/dev
...
Add repo into DB, update code per comments
2016-09-01 10:33:50 +08:00
wemeya
44d3875a3f
add test code for log and statistic api
2016-08-31 17:01:12 +08:00
zgdxiaoxiao
02d5281f0c
project api test and bugfix
...
1.add project api test
2.bugfix:the type of public in project.go is fixed to int32
2016-08-30 18:26:41 +08:00
yhua
c69fffcca6
merge code 20160830
2016-08-30 13:59:30 +08:00
wy65701436
aba1a33f46
Add repo into DB, update code per comments
2016-08-29 06:21:49 -07:00
Wenkai Yin
c98a7ebd9d
Merge branch 'project_deletion' into m_t
2016-08-29 15:26:41 +08:00
Wenkai Yin
a592ed1204
add pagination support for listing projects
2016-08-26 13:51:39 +08:00
Tan Jiang
78c807545d
sync master
2016-08-24 13:54:31 +08:00
Wenkai Yin
c546c3a48b
support project deletion
2016-08-23 15:56:30 +08:00
Daniel Jiang
2cb2175940
Merge pull request #682 from ywk253100/policy_deletion
...
Support policy deletion
2016-08-17 16:54:15 +08:00
Daniel Jiang
055a1438d4
Merge pull request #683 from yhua123/master
...
add new structs from swagger auto gen code
2016-08-15 16:43:17 +08:00
yhua
60cae7357f
add new structs from swagger auto gen code
2016-08-15 14:36:42 +08:00
Wenkai Yin
4ef5c1f98a
Merge master into dev
...
Conflicts:
.travis.yml
Dockerfile.job
vendor/vendor.json
2016-08-15 11:30:06 +08:00
Wenkai Yin
ff348be048
1. support policy deletion 2. bug fix: missing semicolon in js
2016-08-12 17:59:25 +08:00
Daniel Jiang
361f6bd393
Merge pull request #679 from ywk253100/master_d
...
bug fix: check whether project is nil befere reading its properties
2016-08-12 14:39:27 +08:00
Daniel Jiang
13b859f58b
Merge pull request #673 from ywk253100/dev_ut
...
add UT for package utils
2016-08-12 14:38:42 +08:00
Daniel Jiang
71716ef06d
fixes #658
2016-08-11 21:38:15 +08:00
Wenkai Yin
3d909bd0bd
add UT for package utils
2016-08-11 17:58:17 +08:00
Wenkai Yin
98e399c8fe
bug fix: check whether project is nil befere reading its properties
2016-08-11 14:11:45 +08:00
Tan Jiang
c683be1c64
merge with master
2016-08-10 15:34:23 +08:00
yhua
74702a0be7
add api testing framework
2016-08-10 14:34:56 +08:00
Wenkai Yin
5079a8d20c
sys admin can not delete himself
2016-08-08 12:42:30 +08:00
Daniel Jiang
4fc9373fec
Merge pull request #618 from ywk253100/security_check_on_jobservice
...
add security check on job service
2016-08-05 14:53:38 +08:00
Wenkai Yin
c4081f9aa3
add security check on job service
...
update
2016-08-05 13:00:24 +08:00
Tan Jiang
318d10186e
Use AES to encrypt password for target
2016-08-04 11:35:52 +08:00
Tan Jiang
fa18ab3a75
merge with master
2016-08-03 17:15:00 +08:00
Wenkai Yin
cf953f74fe
return more information when calling get mannifest API
...
Conflicts:
api/repository.go
2016-08-02 10:53:53 +08:00
Wenkai Yin
3b827e36f5
support pagination for listing repositories, jobs and access logs
...
update
2016-08-01 17:54:12 +08:00
Wenkai Yin
82af69d9f6
fix #591
2016-07-31 20:21:19 +08:00
yhua
d746bfc9f2
add *_empty_test.go for actual go test coverage
2016-07-29 18:39:29 +08:00
Daniel Jiang
cf23b067a6
Merge pull request #565 from reasonerjt/master
...
handle DB error to return 409 when creating project
2016-07-19 15:14:08 +08:00
Tan Jiang
236a54f9bd
handle DB error to return 409 when creating project
2016-07-19 13:35:39 +08:00
Wenkai Yin
befc22f3f7
fix #561
2016-07-18 20:37:52 +08:00
Wenkai Yin
3d558b54b4
close connection immediately when it is not used anymore
2016-07-14 18:15:24 +08:00
Wenkai Yin
5011e2de20
Merge pull request #534 from ywk253100/bug_fix
...
fix #520 #521 #522
2016-07-13 18:11:31 +08:00
Wenkai Yin
f685702475
do not trigger replication if the policy is disabled
2016-07-13 17:19:23 +08:00
Wenkai Yin
67a8c8631a
fix #520 #521 #522
2016-07-13 15:51:57 +08:00
Wenkai Yin
37fc63aacc
add parameter 'num' to list jobs
2016-07-06 14:12:16 +08:00
Wenkai Yin
2dab2137db
add auth check as registry does not distinguish 401 and 403
2016-07-05 12:05:01 +08:00
Daniel Jiang
34a93348a7
Merge pull request #446 from ywk253100/insecure_env
...
pass insecure env to ui
2016-06-29 19:39:08 +08:00
Wenkai Yin
92193f3456
update
2016-06-29 18:52:24 +08:00