Commit Graph

50 Commits

Author SHA1 Message Date
0cf9a0c877 Removed DOCKER_INDEX_URL
Upstream-commit: 33d97e81ebc4d25ecc7366aeef625e51aa69478c
Component: engine
2013-07-09 08:10:43 -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
2eb55531d3 Style fixes for fmt + err usage.
fmt.Printf and friends will automatically format using the error
interface (.Error()) preferentially; no need to do err.Error().
Upstream-commit: 1277dca3358874d0701685f7ebb52ce66be1b385
Component: engine
2013-07-04 14:33:17 -07: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
d6ca59c4cd fix tests
Upstream-commit: 639833aaf53d741176e0b4f817cbbf5a5da24037
Component: engine
2013-06-21 09:20:57 +00:00
32f89c6b42 Merge branch 'master' into fix-auth
Upstream-commit: 8f2a80804ce6f3ab77057a25180a27e3b346778b
Component: engine
2013-06-21 09:18:03 +00:00
1c0d014a0f Merge pull request #941 from dotcloud/makefile_test_subpackages
gofmt and test sub directories in makefile
Upstream-commit: 930e1d883046c819a5b28d2ccef43fe4f7d0ebfc
Component: engine
2013-06-20 11:18:37 -07:00
e55048dc4d gofmt and test sub directories in makefile
Upstream-commit: 5dcab2d361956e75d00d5bee18371395f17a663f
Component: engine
2013-06-19 14:50:58 +00:00
dc08f9942c remove offline mode from auth unit tests
Upstream-commit: 6dccdd657f715c164f2fe6fc786c8274a2425f1b
Component: engine
2013-06-18 17:09:47 -07:00
74040db600 Fix the auth tests and add the offline mode
Upstream-commit: 13e03a691145921ffc17c56db24f06eacca99a77
Component: engine
2013-06-17 11:29:02 -07:00
2a4a4027de update docs, remove config file on 401
Upstream-commit: 90f6bdd6e41ec352009ffbd073c1f45983abb74b
Component: engine
2013-06-14 13:38:51 +00:00
83d9b24a84 bump to master
Upstream-commit: c906239220c7ba06b8615f001fab2f42fb063aeb
Component: engine
2013-06-05 10:23:45 +00:00
4747c5b99f linted names
Upstream-commit: fd224ee590dc9f003f6507b529a9f47cceb02c44
Component: engine
2013-06-04 18:00:22 +00:00
9c0086fb7d drop/omit
Upstream-commit: 86ada2fa5d00820288df8a59eca3deef83f4aeb6
Component: engine
2013-06-04 13:51:12 +00:00
f6d51d4fe0 added docs and moved to api version 1.2
Upstream-commit: 3dd1e4d58c9d676d49f41db450c3d42901526edc
Component: engine
2013-06-03 12:09:16 +00: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
f9738020b7 Update tests with new cookies for registry
Upstream-commit: b76d6120ac66a853d177f7e53318ab1ee75dca92
Component: engine
2013-05-28 17:35:10 -07:00
f90a47c969 Merge pull request #618 from titanous/cleanup
Misc. cleanup
Upstream-commit: fef816163cf9713b7943025a8739717c971b269c
Component: engine
2013-05-15 18:05:31 -07:00
78f17c9e49 Remove broken, redundant struct tag
Upstream-commit: aa0d40747caa8cd9c5cee56046cac011bc3d1065
Component: engine
2013-05-15 16:02:24 -04:00
cfa86c4776 gofmt pass
Upstream-commit: 17ad00a35e3cafc7e9386eb4c6522630a886c29f
Component: engine
2013-05-14 22:00:24 +00:00
679935b8f2 Added login/account creation tests
Upstream-commit: 20a57f15b91ec9aae74fffb897035a7665a3dcf6
Component: engine
2013-05-14 22:00:24 +00:00
76f4659754 Allow index server address to vary during execution
Upstream-commit: 2b620efffd53fab63bc7b874c96da0693e604278
Component: engine
2013-05-14 22:00:24 +00:00
7c7dc4a8d7 Find docker index URL in ENV before using default value. Unit tests for docker pull
Upstream-commit: fc1d1d871b2f952ce83a6b7cedcdf4a86f0c953b
Component: engine
2013-05-14 22:00:24 +00:00
c1a0fe8c7f Switching to prod index server
Upstream-commit: a372f982c1383a3b4d742ef4f4de1a645cd7434d
Component: engine
2013-05-06 10:57:38 -07:00
54c93226ae Handled wrong user credentials by re-init the auth file (it was impossible to login after having wrong crendentials)
Upstream-commit: 0f68042053ac652de13cd68086d0188ac0ecf9b6
Component: engine
2013-05-06 10:57:03 -07:00
1a3f29f52a Fixed some login quirks
Upstream-commit: 18796d55a66f2f072349c54085516fe038bd8283
Component: engine
2013-05-06 10:57:00 -07:00
d624761cb2 Fixed typo in 'username or email already exists'
Upstream-commit: 594827d41640eb6a6a878c29aca87f7a4ce6249c
Component: engine
2013-05-06 10:56:59 -07:00
a0dca19377 Fixed docker login
Upstream-commit: 84be35dce10682266b9a35d4156997c84485c769
Component: engine
2013-05-06 10:54:48 -07:00
4217889874 Style changes in auth.Login
Upstream-commit: 23953e7d67c83bad8514a262acec5ed20bbbfa94
Component: engine
2013-05-06 10:54:46 -07:00
5d62c79e81 Support for the new registry/index API (wip)
Upstream-commit: 2421838b0ac6a496503bc896da0e60d195132576
Component: engine
2013-05-06 10:51:04 -07:00
3421949564 Fix for #307
Upstream-commit: 8fed600077d5b8d976adec27dfb822166ca7baa5
Component: engine
2013-04-02 03:00:21 -07:00
c5d25049cd A few spelling/grammar corrections.
Upstream-commit: 13d2b086386196e9f4f03e4a18d508a65f6fc5ff
Component: engine
2013-04-01 12:56:50 -07:00
1ceba2a123 Don't convert []byte to string unnecessarily.
Upstream-commit: 15b30881570369564bde3f7d8faf4491b2ebfaab
Component: engine
2013-04-01 11:15:40 -07:00
70d73b8c8b Don't use a strings.Reader where a bytes.Reader will do.
There are several places where a []byte is converted to a string
and then fed into strings.NewReader().
Upstream-commit: 7830cf91663f071315c3d0406bc3de0f8a58c2b6
Component: engine
2013-04-01 11:15:10 -07:00
3e91a54abc Camelize some snake_case variable names
Upstream-commit: a6da7f138c0b260d560c63e234c87db0f5c72bb1
Component: engine
2013-03-28 20:12:23 -04:00
1631f2fd5f Fix the rootPath for auth
Upstream-commit: e726bdcce2606acef136a4d5ba47e367d9e461df
Component: engine
2013-03-22 05:52:13 -07:00
209c0fcc0f Put back the "official" repo
Upstream-commit: fc0eac37e47f220e83eacde51519de092b17e426
Component: engine
2013-03-22 04:37:18 -07:00
977b51bc15 Integrate Auth in runtime and make the config file relative to runtime root
Upstream-commit: c72ff318d3fb6ab887af21cf4410e1bc8104663a
Component: engine
2013-03-22 02:19:39 -07:00
38ddc6133f Handle push/pull of repositories
Upstream-commit: 11c4294846b55914ec5c5b475012a2234be9a9ff
Component: engine
2013-03-22 01:25:27 -07:00
a3b5b5979f change registry address to https from http
Upstream-commit: 8be58d3a7f6020fe34281dbe27375005e248f0f5
Component: engine
2013-03-19 16:03:17 -07:00
b985acb966 added better error message
Upstream-commit: c4640689affc84c5a975059c5fca27a8b22bd1d0
Component: engine
2013-03-15 15:04:36 -07:00
2eb625d9e0 fixed missing varible, error:
Upstream-commit: 27ad71e025538b903a3eac8ac1e4eea654346b4d
Component: engine
2013-03-15 14:48:42 -07:00
a818fa1a95 added more debugging/ error catching
Upstream-commit: 0a35db8fd061247b1db20fde92237f02a4e6882c
Component: engine
2013-03-15 14:41:55 -07:00
1adb1f0ecb Removed the extra newline char from the messages
Upstream-commit: 7ec6a311f81289dac6305d5c91be37a97b2499a5
Component: engine
2013-03-14 20:23:45 -07:00
53bd354957 added more message changes
Upstream-commit: 9b94d89b066d23d6fbadc10eebd52584e93309e4
Component: engine
2013-03-14 19:43:42 -07:00
54b14dcadb cleaned up the code a little
Upstream-commit: f1cf5074f568c4b853d6ac91c358babdbb12a544
Component: engine
2013-03-14 18:43:02 -07:00
c24c054d47 added ability to login/register to the docker registry, via the docker login command
Upstream-commit: be20f3c518cb1587a2c731a1d6d91bdedcbf1dc9
Component: engine
2013-03-14 17:43:59 -07:00