Commit graph

61 commits

Author SHA1 Message Date
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 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 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
Martin Bydzovsky 81be538dfc fixed deleting repositories doenst always work 2015-07-01 10:56:00 +02:00
Konrad Kleine ff69f40ce6 Fix fork link 2015-06-08 15:13:20 +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
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
Pier Fumagalli 8aad820d83 Fix open DIV from kwk/docker-registry-frontend#41 2015-05-20 14:31:34 +09:00
Konrad Kleine 97c9ca0446 Work on #32 - Allow deletion of multiple tags/images at the same time
I did some cleanup and unified the deletion of items (e.g. tags or repos) a bit.
Now, you can select multiple repositories or tags and delete them at once.
Confirmation is done using a modal popup.

Success and error messages will still be prompted for each operation using
toastr notification.

One thing that is still missing is the selection of multiple items using some
automation like a stupid "select all" button.

Also, any selected item remains selected even if it does not show up any longer
due to filtering. That's why the delete buttons explicitly tell the number of
items to be deleted. This can cause issues when paging (not implemented yet) or
filtering.
2015-05-19 14:52:44 +02:00
Konrad Kleine c384684326 Re-added glyphicons and git revision in footer
They were removed by previous modifications by momiael.
2015-05-18 12:49:49 +02:00
Maël Lavault 4bb4fd9c01 Make footer smaller and always sticked to bottom of the window
Signed-off-by: Maël Lavault <mael.lavault@mailz.org>
2015-05-07 17:35:36 +02:00
Konrad Kleine 7bd02170a8 Revert "Animate repository group list items"
This reverts commit f3ecdb8b74.

We had some strange issues with filtering the repository list.
2015-02-17 15:38:21 +01:00
Konrad Kleine f3ecdb8b74 Animate repository group list items 2015-02-04 15:38:43 +01:00
Konrad Kleine 13e23e796f Don't cache app mode 2015-02-04 12:00:32 +01:00
Konrad Kleine 03988213f4 Fix typo: Delete tag -> Delete repository 2015-02-04 11:48:57 +01:00
Konrad Kleine 7afb9d397c Preselect repo (if any) when creating tag 2015-02-04 10:52:09 +01:00
Konrad Kleine f740662ffb Group repositories by username
The repository list now groups all repositories by username.

Due to the grouping sorting becomes an issue and that's why I've removed the
sort button.
2015-02-04 10:25:31 +01:00
Konrad Kleine ab7a9cb5d9 Add missing contoller parameters to controllers used in views. 2015-02-03 12:58:54 +01:00
rinrinne b5717cdb59 Apply browseOnly for create-tag/delete-tag/delete-repository views 2015-02-03 12:58:53 +01:00
rinrinne f206109003 Change attribute name from "browse" to "browseOnly" 2015-02-03 12:58:53 +01:00
rinrinne dbf022534f Adjust documentation and remove unnecessary code 2015-02-03 12:58:53 +01:00
rinrinne fc45482c0f Add browse mode
This patch adds browse mode to hide any administration feature e.g.
delete repository/tag, create tag.
If you run container with "-e ENV_BROWSE_MODE=true", this feature will
be enabled.
2015-02-03 12:58:53 +01:00
Stuart Warren dca48a3977 override host/port for docker pull advice 2015-01-02 10:16:44 +00:00
Konrad Kleine d7220e1d70 Removing obsolete "create tag" view. 2014-12-16 11:21:17 +01:00
Konrad Kleine d9ef280c08 See #5 Sorting based on image time 2014-10-23 16:19:42 +02:00
Konrad Kleine 0861441c37 Added version information to bottom of screen
At the bottom of the screen the docker-registry-frontend will now render the
commit upon the running version is built. The commit is linked to the github
commit page.
2014-10-23 09:54:13 +02:00
Konrad Kleine 6c05b4ff7f Change briefcase symbol to book in create-tag-view 2014-10-22 11:48:50 +02:00
Konrad Kleine 89759290c5 Fix #4 Time Since Image Created 2014-10-22 10:57:29 +02:00
Konrad Kleine 0b13138eb4 Remove additional comma 2014-10-22 09:46:16 +02:00
Konrad Kleine 001afbeb6d Additional cleanups in Dockerfile according to tip from here: http://jonathan.bergknoff.com/journal/building-good-docker-images 2014-10-22 09:31:36 +02:00
Konrad Kleine 12a69c7371 Fix #3 Show total size of all layers for an image 2014-10-22 09:29:50 +02:00
Konrad Kleine 8ec6295636 Human readable image size 2014-10-21 16:29:57 +02:00
Konrad Kleine 48f74695ce Order repositories by name in "create tag" drop-down selection button 2014-10-10 10:00:50 +02:00
Konrad Kleine 90f73d7d5a Cleanup overall HTML and make footer less wide 2014-10-09 10:13:53 +02:00
Konrad Kleine 2e50bd58b4 Add sort capability for repositories and tags.
Also improved the rendering of the filtered and total amount of repositories and
tags
2014-10-07 14:40:25 +02:00
Konrad Kleine 26c41a7839 Transform "Fork me" button to less dominant link
Resolves #2
2014-10-02 09:03:02 +02:00
Konrad Kleine eb36da1526 Better HTML title rendering
Previously the HTML title would render and showed the actual angular expression
for a while.

Thanks to Ralf.
2014-09-30 12:31:19 +02:00
Konrad Kleine ac23633e19 Replaced NGINX with Apache for Kerberos auth. SSL is working. 2014-09-29 14:05:02 +02:00
Konrad Kleine 26b714e9c6 Add angular-bootstrap for tabset directive. Add loading bar for all XHR requests. 2014-09-29 12:28:07 +02:00
Konrad Kleine c5185d6f18 Fix "created" column in image details. 2014-09-22 12:21:10 +02:00
Konrad Kleine 3d6505f233 Fix pull note for a tag. Previously the tag wasn't separated with a colon but a slash. 2014-09-22 12:16:57 +02:00
Konrad Kleine f98598e4bd Using book as repo symbol 2014-09-18 16:36:58 +02:00
Konrad Kleine d70c0a90cc Better rendering of tags as clickable list items, just like repos 2014-09-18 15:27:51 +02:00
Konrad Kleine d2b34b79c6 Don't strip trailing slashes from the resource URL by escaping the slash.
This change required an update to AngularJS ~1.3.0 which currently resolves 1.3.0-rc.2.

This is the thing we needed: https://github.com/angular/angular.js/pull/5560

The feature is documented in the AngularJS API reference: https://docs.angularjs.org/api/ngResource/service/$resource
2014-09-18 14:46:45 +02:00
Konrad Kleine 600457ac85 bower uninstall angular-bootstrap --save 2014-09-18 14:23:22 +02:00
Konrad Kleine b855bca5a3 Removed default params from resource actions. Added trailing slash to Repository.delete resource URL 2014-09-18 14:10:51 +02:00
Konrad Kleine 64b104c54b Fixed typo in repository deletion toastr message. 2014-09-18 10:25:51 +02:00
Konrad Kleine 09783be1bc Simplified Create tag dialog. Moved "form me" logo to left 2014-09-17 15:41:45 +02:00