Commit Graph

52 Commits

Author SHA1 Message Date
975937c08c Hardened repos name validation
Upstream-commit: 316c8328aab8f9d518574b4bef9e537fed4185f6
Component: engine
2013-07-09 16:46:55 -07:00
916139ebc6 Fixed potential security issue (never try http on official index when polling the endpoint). Also fixed local repos name when pulling index.docker.io/foo/bar
Upstream-commit: f44eac49fae1b33e6ff4c6f42c5e7305caf22252
Component: engine
2013-07-09 11:30:12 -07:00
76ecb3f5a4 fmt.Errorf instead of errors.New
Upstream-commit: 283ebf3ff92ef552ae9cdf23a17c1a375dac99bd
Component: engine
2013-07-05 14:56:56 -07:00
fba3efb6e1 Fixed ping URL
Upstream-commit: 4c174e0bfb4c6e6333f39fff3c70058eaed37e3a
Component: engine
2013-07-05 14:55:48 -07:00
44c8a27b06 Allowing namespaces in standalone registry
Upstream-commit: 57a6c83547ba4671940c3134a3f68586db603048
Component: engine
2013-07-05 14:30:43 -07:00
5ee43e9d28 Restoring old changeset lost by previous merge
Upstream-commit: cfc7684b7de542cfed9d8b90b654fe59c8aa4098
Component: engine
2013-07-05 12:37:07 -07:00
bf4fc24d05 Merging from master
Upstream-commit: be49f0a1182164d0d279484ec35931c1e3ef6d3c
Component: engine
2013-07-05 12:27:10 -07:00
057f0a4b6f Adding support for nicer URLs to support standalone registry (+ some registry code cleaning)
Upstream-commit: 66a9d06d9fa7a382c6852cf047e1448e0d3e1782
Component: engine
2013-07-05 12:20:58 -07:00
1c71d0a65e Implement several golint suggestions, including:
* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names
Upstream-commit: 19121c16d9514b391ce8f15aeff3c47c1ea5a841
Component: engine
2013-07-03 14:36:04 -07:00
cad00c9d8a fix two obvious bugs???
Upstream-commit: 9632cf09bfd7b4a8513799bf19070ecabd55c446
Component: engine
2013-07-02 22:11:03 +00:00
2be0a9146e Resolve conflict
Upstream-commit: 893c974b08b8859a4d6d3d7d38d9c21c9b6472c3
Component: engine
2013-06-28 12:32:41 -07:00
8c9ba170e1 Fixed issue in registry.GetRemoteTags
Upstream-commit: 72befeef24b3fb0c77f56e3ac2bbfdb4744cbd7a
Component: engine
2013-06-28 18:42:37 +02:00
01a345c7fb Remove https prefix from registry
Upstream-commit: 57d751c3770194ff867ebace36eb1be7d72d2fe9
Component: engine
2013-06-28 18:19:58 +02:00
3635092ee9 Rolled back of previous commit (skip cert verification)
Upstream-commit: 50075106b658ab4dc82d5361e4786f7d28cc570a
Component: engine
2013-06-28 18:19:58 +02:00
6af1e08d14 Skip certificate check (don't error out on self-signed certs)
Upstream-commit: 1c817913eee7d87badc2a2748447729619d8aaf0
Component: engine
2013-06-28 18:19:58 +02:00
1f3a1ee5ca Tentative support for independent registries
Upstream-commit: de0a48bd6ff2acfb2ab546a1e718185872eea2c3
Component: engine
2013-06-28 18:19:58 +02:00
5063918d95 URL schemes of both Registry and Index are now consistent
Upstream-commit: 3175e56ad03cbe0118c0982606c5eba9e34c1b07
Component: engine
2013-06-27 17:55:17 -07:00
a4e9bba7a3 Merge branch 'master' into simpler-build-upload
Conflicts:
	api.go
	builder_client.go
	commands.go
Upstream-commit: e43323221b15d90956a200754bbf3e1d92d7bb1c
Component: engine
2013-06-20 14:19:09 -07:00
b90fb28665 rebase master
Upstream-commit: 5f93aa0ecf26699d0e905811d9125081811093b7
Component: engine
2013-06-20 13:56:36 +00:00
c4347cd657 Use opaque requests when we need to preserve urlencoding in registry requests
Upstream-commit: 0312bbc535de01cade67299dd41a69935c7241ba
Component: engine
2013-06-19 13:49:45 -07:00
e35a6b3cf9 hotfix: nil pointer uppon some registry error
Upstream-commit: a7e14a3065ccd97fcd77b4038abdf30bee78a2b4
Component: engine
2013-06-19 11:08:19 -07:00
5daee8b0f6 use go 1.1 cookiejar and revome ResetClient
Upstream-commit: fde82f448f6b1508e03f419a3ce4c9b80311d466
Component: engine
2013-06-17 18:13:40 +00:00
539c6ff974 Merge branch 'master' into improve_progressbar_pull
Upstream-commit: 60fd7d686dea6645ab61c27d0132d38c07a89e80
Component: engine
2013-06-14 12:01:40 -07:00
600eb1d103 Merge branch 'master' into postupload-endpoints-header
Conflicts:
	server.go
Upstream-commit: 78e4a385f77c33933afc47c8b3f4436ce648eb54
Component: engine
2013-06-14 11:50:58 -07:00
398ed3eba0 Send X-Docker-Endpoints header when validating the images upload with the index at the end of a push
Upstream-commit: db3242e4bb1c31a7319e6273235a9ba6b29a61d4
Component: engine
2013-06-10 11:21:56 -07:00
2aea6ddf00 Make the progressbar take the image size into consideration
Upstream-commit: f355d33b5fe37ce7c0c25373255ea8afd931f4e7
Component: engine
2013-06-06 18:16:16 -07:00
83d9b24a84 bump to master
Upstream-commit: c906239220c7ba06b8615f001fab2f42fb063aeb
Component: engine
2013-06-05 10:23:45 +00:00
2dea62a6a6 Merge pull request #808 from dotcloud/795-lintify
Cleanup source
Upstream-commit: c1ee9bf8817980c4577f914c0bc7b532f4b3000c
Component: engine
2013-06-04 14:20:38 -07:00
4747c5b99f linted names
Upstream-commit: fd224ee590dc9f003f6507b529a9f47cceb02c44
Component: engine
2013-06-04 18:00:22 +00:00
ae659077aa fix proxy
Upstream-commit: 06b585ce8a397fffcc9051e2faa6f968e51fccd5
Component: engine
2013-06-04 15:44:27 +00:00
f1e23ad555 bump to master
Upstream-commit: b6825f98c04f5d42efa4d7c177d66466ad404f4f
Component: engine
2013-06-04 14:00:18 +00:00
9c0086fb7d drop/omit
Upstream-commit: 86ada2fa5d00820288df8a59eca3deef83f4aeb6
Component: engine
2013-06-04 13:51:12 +00:00
306e5f4f64 Disabled HTTP keep-alive in the default HTTP client for Registry calls
Upstream-commit: cff3b37a61b8da883437eec799b7b852d22538f0
Component: engine
2013-06-03 14:42:21 -07:00
717b10789e Minor changes in registry.go
Upstream-commit: 82dd963e08778f8c563e058f1b19ccc358965615
Component: engine
2013-06-03 12:20:52 -07:00
a771e69314 Fixed missing Body.Close when doing some HTTP requests. It should improve some request issues.
Upstream-commit: 830c458fe761aca5ad2facec33b3d0798caab116
Component: engine
2013-06-03 12:14:57 -07:00
e8420b7464 move auth to the client WIP
Upstream-commit: 49e656839fb3d846dc65fec544f2984a9c72a2cf
Component: engine
2013-05-30 15:39:43 +00:00
f8799691fc Merge pull request #739 from dotcloud/push_issue-1
- Registry: Cereate a new registry object for each request (~session)
Upstream-commit: 08e5f1295487f2c06639bc8ac97be35f30359534
Component: engine
2013-05-29 09:22:12 -07:00
52887551f6 Documented who decides what and how.
Upstream-commit: 24ddfe3f25f99db5a23f62d411c949b2236288a1
Component: engine
2013-05-28 19:39:09 -07:00
cbc5080648 Cereate a new registry object for each request (~session)
Upstream-commit: cd0de83917e775fcdcd3ce4e592b627b7eeeac64
Component: engine
2013-05-28 17:12:24 -07:00
bad97e351a fix docker login when same username
Upstream-commit: 1f23b4caae6cd60a2bc1911c17fcebcadc539497
Component: engine
2013-05-24 14:23:43 +00:00
e3fcf806f8 Update Push to reflect the correct API
Upstream-commit: 08121c8f6b435779027d837c1e7fc8046bc1e165
Component: engine
2013-05-16 14:33:29 -07:00
3152a917ce Remove hijack from api when not necessary
Upstream-commit: f29e5dc8a15d0ab8e9c6084e41ee373376051659
Component: engine
2013-05-16 12:09:06 -07:00
358a94f322 Disable registry unit tests
Upstream-commit: 1b04ccf62cbda927949708e530ec00a6470418fb
Component: engine
2013-05-15 17:57:53 -07:00
4f2b2696d3 Update tests to reflect new AuthConfig
Upstream-commit: 10e19e4b97dba71b603d652d5a046ef792d9d704
Component: engine
2013-05-15 17:31:11 -07:00
2d208e56c7 Move authConfig from runtime to registry
Upstream-commit: 95dd6d31a4c11618836f9a55fc3dbbde48450b09
Component: engine
2013-05-15 17:17:33 -07:00
d6276e6ddf Allow to change login
Upstream-commit: bb85ce9aff118bed4e53e8ef70df4f1ec1cb903b
Component: engine
2013-05-15 13:39:24 -07:00
6d65ac4800 Upload images only when necessary
Upstream-commit: dc9d6c1c1f52eefba95920059f0607d3d57b2d07
Component: engine
2013-05-15 13:22:57 -07:00
1fca87b8d9 Move httpClient within registry object
Upstream-commit: 97880a223e8d6e1ff4d6e40e46f6a006b24a66cc
Component: engine
2013-05-15 19:22:08 +00:00
abd1f66a7d Remove stdout from registry
Upstream-commit: 398a6317a09679b65a59d529e78f5e7480e8de0b
Component: engine
2013-05-15 18:50:52 +00:00
7a9bb0ff86 Refactor registry Push
Upstream-commit: 49b61af1f8139f48c0f2ce6b8afa25c1716f7379
Component: engine
2013-05-15 18:30:40 +00:00