Commit Graph

66 Commits

Author SHA1 Message Date
Tan Jiang
c683be1c64 merge with master 2016-08-10 15:34:23 +08:00
Wenkai Yin
fe34a6a110 make token expiratioin configurable 2016-08-08 11:21:48 +08:00
Wenkai Yin
3b827e36f5 support pagination for listing repositories, jobs and access logs
update
2016-08-01 17:54:12 +08:00
yhua
d746bfc9f2 add *_empty_test.go for actual go test coverage 2016-07-29 18:39:29 +08:00
Wenkai Yin
41b155dd12 add debug log for notificaions 2016-07-22 16:03:09 +08:00
Wenkai Yin
aba7b6c48d add debug log for notificaions 2016-07-20 15:49:45 +08:00
Daniel Jiang
3f1fc90b39 Merge pull request #443 from ywk253100/dev
add access logs when deleting repositories
2016-06-29 18:46:42 +08:00
Wenkai Yin
23b026655c handle repository deletion event in API 2016-06-29 17:10:17 +08:00
Wenkai Yin
ac17546d38 remove useless log 2016-06-28 21:47:52 +08:00
Wenkai Yin
1018991312 print log if error occurs 2016-06-28 21:39:38 +08:00
Tan Jiang
523eacef86 merge with master 2016-06-28 18:40:12 +08:00
Tan Jiang
949d10f299 do not scan for tags while refreshing cache 2016-06-28 18:08:39 +08:00
Wenkai Yin
a2b6355fb5 audit deleting repository 2016-06-28 17:33:39 +08:00
Wenkai Yin
841018e2d8 create a new registry client when refreshing cache 2016-06-23 15:18:32 +08:00
Wenkai Yin
a8cbcfbfe6 create a new registry client if it is nil in cache 2016-06-23 15:07:05 +08:00
Wenkai Yin
5fbe2c1a72 token request posted to token service directly 2016-06-23 12:14:26 +08:00
Wenkai Yin
7862bd8033 insecure config 2016-06-22 12:03:50 +08:00
Wenkai Yin
c1a8846a68 1. modify registry client 2. add https support 2016-06-21 16:39:03 +08:00
Wenkai Yin
ba08c24369 bug fix: there's access log generated each time when view the manifest of a repository. 2016-06-20 22:55:36 +08:00
Wenkai Yin
396889280f bug fix: the username in token is null when using basic auth 2016-06-02 17:32:04 +08:00
Wenkai Yin
f7897b53f3 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-31 15:08:59 +08:00
Wenkai Yin
7dad92d607 remove restriction for id in router because the .../current api/ 2016-05-31 15:03:45 +08:00
Tan Jiang
05069eeed1 clean up code, update API url of job service 2016-05-30 14:44:03 +08:00
Wenkai Yin
1e09cf899b fix 2016-05-27 15:04:20 +08:00
Wenkai Yin
cdac114955 support tag transfer and deletion 2016-05-27 10:45:21 +08:00
Wenkai Yin
d42359c679 Merge branch 'master' into sync_image 2016-05-26 14:05:14 +08:00
Wenkai Yin
535bea1b6b fix #268 2016-05-25 17:22:33 +08:00
Wenkai Yin
84cfafaeb0 Merge remote-tracking branch 'upstream/job-service' into sync_image 2016-05-25 15:41:11 +08:00
Tan Jiang
b80e727b7f Merge remote-tracking branch 'upstream/job-service' into job-service 2016-05-25 15:26:24 +08:00
Wenkai Yin
0b57345a4d 1.add API for getting logs of job 2.trigger replication by creating policy or enabling policy 3.trigger replication by webhook 2016-05-25 15:25:16 +08:00
Tan Jiang
86112c942b enable secret validation on UI and let job service use this secret to communicate with uI 2016-05-25 15:24:44 +08:00
Wenkai Yin
4d1d7799fd add user agent to registry client 2016-05-20 13:16:58 +08:00
Wenkai Yin
0f0bc86ade add logs 2016-04-29 17:22:17 +08:00
Wenkai Yin
bf53ca9a47 handler from=repo 2016-04-29 16:59:54 +08:00
Wenkai Yin
0a873bc046 Merge remote-tracking branch 'upstream/master' into registry_api_util_update
Conflicts:
	api/repository.go
2016-04-29 15:18:22 +08:00
Wenkai Yin
545ca4135c token expires 2016-04-29 14:59:00 +08:00
Wenkai Yin
994b4e290b registry v2 API util 2016-04-27 17:59:43 +08:00
hmwenchen
b4cc422a97 Remove debug info 2016-04-26 21:00:29 +08:00
hmwenchen
53bb0c1e6d Remove unused packages 2016-04-26 20:43:03 +08:00
hmwenchen
87b213c3ae Use registry 2.4 toget tag info from events 2016-04-26 20:06:21 +08:00
hmwenchen
957df50958 Minor change to comply with CI requirements 2016-04-22 20:26:28 +08:00
hmwenchen
dc96ded36a Merge with origin master 2016-04-22 09:18:51 +08:00
hmwenchen
ab6bb58c36 Add tag to accesslog 2016-04-22 00:28:59 +08:00
Wenkai Yin
4dc81927d3 remove useless code 2016-04-17 22:39:10 +08:00
Wenkai Yin
85869f1b81 repo tag delete 2016-04-15 13:17:32 +08:00
Tan Jiang
3a3262d1e1 fix error in go vet 2016-04-05 20:04:29 +08:00
Tan Jiang
0532735d21 handle the case when docker request token for multiple scopes 2016-04-05 19:48:13 +08:00
Ben Ji
0d7f109e42 Fix bug: Failed to get repository tags
Listing repository tags will fail if the repository name contains string
'service'

Fixed in registryutils.go. Use regrexp instead of splitting strings by
'service'.
2016-03-31 10:20:13 +08:00
Tan Jiang
93803ac3aa fix potential index out of range error 2016-03-29 19:37:04 +08:00
Jack Liu
cea9cca52a Update to use placeholder 2016-03-27 00:18:11 +08:00