docker-registry-frontend/app
Marc Abramowitz 3ad864b388 Handle images with no user properly (#147)
* Uncomment test for no repositoryUser

in `app/app.spec.js`, so I can work on getting this case working.

* Add $log to repository-detail-controller

* Set $scope.repository properly even if no user

Check if `$scope.repositoryUser` is defined and if it's not, set
`$scope.repository` simply to `$scope.repositoryName`.

* Add route for repo with no repositoryUser

* Make tagsPerPage dropdown use query string vars

instead of putting `tagsPerPage` in the route part of the URL, which
makes it difficult to distinguish between `repositoryName` and
`tagsPerPage`, because the routes are too similar.

* Make first/next links use query string vars

instead of putting `tagsPerPage` in the route part of the URL, which
makes it difficult to distinguish between `repositoryName` and
`tagsPerPage`, because the routes are too similar.

* Move defaultTagsPerPage

from `RepositoryListController` to `TagController`.

I think it makes more sense to read `defaultTagsPerPage` in
`TagController` than to do it in `RepositoryListController` and have to
pass it in URLs.

* Fix "Details for repository" for repo w/ no user

* Fix breadcrumb when no repositoryUser

* Remove tagsPerPage/tagPage from repo detail routes

* Update unit tests to use tagsPerPage qs param

Updated the unit tests to page `tagsPerPage` as a query string parameter
rather than in the route.

* Uncomment assertions about scope.reposPerPage

an make them work by casting string to an int with `parseInt`.

* Make /tag work for image with no repositoryUser

* repository-detail.html: Fix breadcrumb link

for case when there is no `repositoryUser`.

* tag-detail.html: Fix breadcrumb link

when image has no `repositoryUser`.

* tag-detail.html: Fix shown docker pull command

when image has no `repositoryUser`.

* tag-detail.html: Show docker pull cmd in code font

I think it looks better.
2016-08-04 17:16:32 +02:00
..
home Make default number of repositories per page configurable 2015-09-24 10:19:40 +02:00
image Add image details support with API v2 (#84) 2016-04-11 09:46:40 +02:00
images Simplified Create tag dialog. Moved "form me" logo to left 2014-09-17 15:41:45 +02:00
repository Handle images with no user properly (#147) 2016-08-04 17:16:32 +02:00
services Make "npm test" run Karma tests (#140) 2016-07-19 08:41:24 +02:00
styles Work on #32 - Allow deletion of multiple tags/images at the same time 2015-05-19 14:52:44 +02:00
tag Handle images with no user properly (#147) 2016-08-04 17:16:32 +02:00
.buildignore Initial commit after: yo angular && npm install 2014-09-12 13:51:09 +02:00
.htaccess Initial commit after: yo angular && npm install 2014-09-12 13:51:09 +02:00
404.html Initial commit after: yo angular && npm install 2014-09-12 13:51:09 +02:00
about.html Update docker registry api url 2015-12-09 13:37:49 +08:00
app-mode.json Add image details support with API v2 (#84) 2016-04-11 09:46:40 +02:00
app-version.json Added version information to bottom of screen 2014-10-23 09:54:13 +02:00
app.js Handle images with no user properly (#147) 2016-08-04 17:16:32 +02:00
app.spec.js Handle images with no user properly (#147) 2016-08-04 17:16:32 +02:00
favicon.ico Work on #32 - Allow deletion of multiple tags/images at the same time 2015-05-19 14:52:44 +02:00
home.html Make default number of repositories per page configurable 2015-09-24 10:19:40 +02:00
index.html Add image details support with API v2 (#84) 2016-04-11 09:46:40 +02:00
main-controller.js Make "npm test" run Karma tests (#140) 2016-07-19 08:41:24 +02:00
modalConfirmDeleteItems.html Restructure code 2015-08-31 15:32:38 +02:00
registry-host.json Revert "Add apiVersion flag and ENV_DOCKER_REGISTRY_API_VERSION var" 2015-08-31 10:55:14 +02:00
robots.txt Initial commit after: yo angular && npm install 2014-09-12 13:51:09 +02:00