Commit graph

196 commits

Author SHA1 Message Date
Konrad Kleine d87a59910b Merge pull request #76 from majinjing3/v2
Update docker registry v2 api url
2015-12-09 09:36:37 +01:00
majinjing3 021f0284b4 Update docker registry api url 2015-12-09 13:37:49 +08:00
Konrad Kleine 75a622020c Update year in license 2015-12-02 16:03:45 +01:00
Konrad Kleine 0faadabab2 bump up registry from 2.1.0 to 2.2.0 2015-12-01 12:59:01 +01:00
Konrad Kleine 5b29b557ec Fix spelling 2015-12-01 12:46:57 +01:00
Konrad Kleine 7a464f7f08 Fix minor errors in text of README.md 2015-12-01 11:41:59 +01:00
Konrad Kleine 9a1d6e0c67 Add note about wiki being for v1 currently 2015-11-28 21:23:22 +01:00
Konrad Kleine b75e348ddb Update README.md 2015-11-27 16:12:26 +01:00
Konrad Wilhelm Kleine bdbe5cb02c Fix documentation in docker-compose.yml 2015-11-18 12:19:43 +01:00
Konrad Wilhelm Kleine 223cc8f1a7 Fix path to example-setup/README.md 2015-11-18 12:18:01 +01:00
Konrad Wilhelm Kleine b4990f6a56 Fix README.md filename 2015-11-18 12:17:04 +01:00
Konrad Wilhelm Kleine ad39f23a0b Example setup 2015-11-18 12:14:56 +01:00
Konrad Wilhelm Kleine 83669c97cb Output Apache errors to stdout as well 2015-11-18 11:20:11 +01:00
Konrad Kleine 4fe173efb1 Fix listing of tags
Previously a lot of useless AJAX request have been made for each tag.
Those requests where necessary in v1 but not in v2 where they don't do
anything.

The tag listing is cleaned up a log.
2015-11-17 13:37:40 +01:00
Konrad Kleine d6fcb56216 Fix path to about view 2015-11-17 13:09:14 +01:00
Konrad Kleine 81325dcf30 Fix #24 redirect apache logs to docker stdout/stderr 2015-11-17 09:52:46 +01:00
Konrad Kleine 18077ef6a4 Make ENV_MODE_BROWSE_ONLY=true for now 2015-11-17 08:58:40 +01:00
Konrad Kleine 3379eb0f0e Make ENV_MODE_BROWSE_ONLY=true for now
only rough browsing capabilities are implemented right now.
2015-11-17 08:55:12 +01:00
Konrad Kleine ef9db0d332 Add imagelayers.io label 2015-10-21 15:42:46 +02:00
Konrad Kleine 2010da2a34 Make default number of repositories per page configurable 2015-09-24 10:19:40 +02:00
Konrad Kleine 179467b6f4 Try to shrink size of docker image by writing more compact Dockerfile 2015-09-17 13:32:58 +02:00
Konrad Kleine c199f3a893 Change texts referring to v1 to v2 in develop/ folder 2015-09-17 13:19:16 +02:00
Konrad Kleine d447896d5a Apache config should handle v2 rather than v2 2015-09-16 10:37:48 +02:00
Konrad Kleine ef70220d0b Show simple list of tags in v2 registry's repository
The current implementation is basic only. Basically all columns have
been removed just to show the tag name and that's it.

This will be adjusted further in the near future.
2015-09-03 17:04:56 +02:00
Konrad Kleine 339c8a797f Updated README to reflect v2 branch details. 2015-09-03 13:18:03 +02:00
Konrad Kleine 6db5b073eb List repos in v2 registry with paging (#47 and #7)
We can now navigate forward through all images inside a v2 registry. The
default page size is 10 but it can be changed to some other numbers as
well.

The unused repository selector files have been removed.

The repository list directive was moved to the repository list html
template for simplicity.

The repository list no longer says that it searches for repos but
filters repos on the current page.

The bottom delete repos button has been removed in favor of more space
for the pagination controls.

The pagination works as described here:
https://github.com/docker/distribution/blob/master/docs/spec/api.md#pagination
We take the "Link:" header parameter from the response and extract
portions of it to formulate the next request. As usual, each page is
addressible via the URL.

Note that when changing the number of repositories per page we have no
other way but to go to page 1 and show at max the number of repositories
selected.

There's no way to find out how many repos are there so we cannot provide
page links. Only forward navigation is possible.
2015-09-03 10:44:24 +02:00
Konrad Kleine 3f988e7309 Restructure code
Now all files dealing with repositories reside in app/repository and all
dealing with tag reside in app/tag. That's far more easy to maintain
than having tag files spread across multiple folders.
2015-08-31 15:32:38 +02:00
Konrad Kleine 9a4ba3c4bb Don't forward to index.html on /v2/ and jpg 2015-08-31 12:57:29 +02:00
Konrad Kleine e5d8b3d9ab Add woff, woff2, ttf, and jpg to auto-route files 2015-08-31 11:05:56 +02:00
Konrad Kleine d20042e955 Revert "Add apiVersion flag and ENV_DOCKER_REGISTRY_API_VERSION var"
This reverts commit 2fe27a2902.
2015-08-31 10:55:14 +02:00
Konrad Kleine 5e15c62e80 Enable Angular's HTML5 mode in Grunt
As explained here:
http://stackoverflow.com/questions/17080494/using-grunt-server-how-can-i-redirect-all-requests-to-root-url

The server needs to rewrite all URLs (e.g. /home or /repositories) to
index.html for HTML5 URLs to work.
2015-08-31 10:53:11 +02:00
Konrad Kleine 9e071425a0 Fix #53 by going to bootstrap 3.3.4 2015-07-24 10:14:47 +02:00
Konrad Kleine 2fe27a2902 Add apiVersion flag and ENV_DOCKER_REGISTRY_API_VERSION var 2015-07-23 16:34:56 +02:00
Konrad Kleine 3c3a6f6f08 Revert "fixed deleting repositories doenst always work"
This reverts commit 81be538dfc.

The loop was ignored. See PR #54
2015-07-01 14:07:00 +02:00
Konrad Kleine b787a58fc7 Fix instruction to spawn development containers
It is better to directly go into the `develop` folder and start `docker-compose` from there. Otherwise it might try to copy everything within the current directory into the docker build context.
2015-07-01 14:02:57 +02:00
Konrad Kleine 6c0b2c5174 Merge pull request #54 from bydga/deletefix
fixed deleting repositories doenst always work
2015-07-01 11:14:36 +02:00
Martin Bydzovsky 81be538dfc fixed deleting repositories doenst always work 2015-07-01 10:56:00 +02:00
Konrad Kleine cb3c6505d7 Attempt to fix #53
Somehow grunt-wiredep kicks out bootstrap from the app/index.html file.
This is not nice and we need to find a better way than to simply commen
it out in the build step but for now it fixes the issue of missing
Bootstrap CSS.
2015-06-25 13:26:32 +02:00
Konrad Kleine ff69f40ce6 Fix fork link 2015-06-08 15:13:20 +02:00
Konrad Kleine 224d5d82ee Fix reload issue with HTML5 mode URLs 2015-06-08 15:11:48 +02:00
Konrad Kleine 3807ecf1b8 Migrated from hashbang URL to HTML5 mode
This should greatly simplify how to write and read URLs. Additionally this
should improve SEO compatibility as each site is now recognized as its own
entity. To read more about HTML5 URL mode, see these pages:

* https://docs.angularjs.org/api/ng/provider/$locationProvider
* https://docs.angularjs.org/error/$location/nobase
2015-06-08 14:20:18 +02:00
Konrad Kleine eade681a8e Merge pull request #44 from chengweiv5/fix-trailing-space
Remove trailing space in README.md
2015-06-06 13:24:13 +02:00
Chengwei Yang 8f02d2feca Remove trailing space in README.md
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2015-06-03 22:08:13 +08:00
Konrad Kleine b0743af8d5 Update README.md 2015-05-20 12:37:08 +02:00
Konrad Kleine 4ad08d658b Ignore "develop" dir in Docker image 2015-05-20 12:31:19 +02:00
Konrad Kleine 3688141879 Added section on how to connect a development setup to your own registry. 2015-05-20 12:28:24 +02:00
Konrad Kleine b6f67ceed7 Added development documentation 2015-05-20 12:08:14 +02:00
Konrad Kleine d0d0e1b0dd Merge pull request #42 from pfumagalli/master
Little fixes
2015-05-20 08:17:05 +02:00
Pier Fumagalli 53efbaf2cc Inject registryHost value in main scope. 2015-05-20 14:32:37 +09:00
Pier Fumagalli 390c97baad Fix location of JQuery (for Bootstrap). 2015-05-20 14:32:09 +09:00