https://code.grnet.gr/2011-07-20T12:41:21+03:00Greek Research and Technology Network's projectsSynnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=39172011-07-20T12:41:21+03:00Vangelis Koukis
<ul><li><strong>Category</strong> set to <i>Admin</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>Giorgos Verigakis</i></li><li><strong>Priority</strong> changed from <i>Medium</i> to <i>Low</i></li><li><strong>Target version</strong> set to <i>v0.7</i></li></ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=41852011-08-03T18:47:03+03:00Vangelis Koukis
<ul><li><strong>Target version</strong> changed from <i>v0.7</i> to <i>v0.5.5</i></li></ul><p>The web app initially should be en par with the current <code>snf-admin</code> command-line tool.</p>
<p>Whenever new functionality gets implemented in the logic layer, both the command-line and the web-based interface will be updated to support it.</p> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=41872011-08-03T18:47:09+03:00Vangelis Koukis
<ul><li><strong>Priority</strong> changed from <i>Low</i> to <i>High</i></li></ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=41992011-08-03T20:01:22+03:00Vangelis Koukis
<ul></ul><p>Also, both the command-line and the web tool should produce an initial, overall, dashboard-like view with vital system stats.</p>
<p>For the command-line tool, explore the addition of a "stats" category.<br />For the web-based tool, explore the addition of an initial dashboard-like display.</p>
<p>The stats could include total number of VMs, number of users, backend Disk (free/used/total), backend Memory (free/used/total), distribution of VMs per Image, number of users, number of total invitations, perhaps a top-10 of invitation senders, and other links to custom infrastructure. The backend numbers can be retrieved over RAPI.</p> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=42652011-08-31T18:33:20+03:00Giorgos Verigakis
<ul></ul><p>A first implementation has been submitted to the admin branch (visible at /admin). However we need a way to restrict access to everything under /admin in order to be able to go into production.</p> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=42672011-09-01T10:22:50+03:00Giorgos Verigakis
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a href="https://code.grnet.gr/projects/synnefo/repository/revisions/89ea9dbc68674ed8a23403506a3649b76e57a534" class="changeset" title="Add user deletion support Fixes #849">89ea9dbc68674ed8a23403506a3649b76e57a534</a>.</p> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=43272011-09-02T10:17:32+03:00Kostas Papadimitriou
<ul><li><strong>Target version</strong> changed from <i>v0.5.5</i> to <i>v0.6</i></li></ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44132011-09-07T17:09:52+03:00Vangelis Koukis
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Assigned</i></li></ul><p>Looks nice, a few comments:</p>
<ul>
<li>Return HTTP 403 instead of "Unauthorized" string.</li>
<li>Servers tab is unaligned, "Updated" field is wrapped incorrectly, Image field is empty.</li>
<li>snf-admin should report the types of users supported in the help text for snf-admin user modify --type</li>
<li>Please update README.admin and README.upgrade with documentation on the admin interface</li>
<li>Need to log meticulously throughout the admin webif</li>
</ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44152011-09-07T17:16:46+03:00Vangelis Koukis
<ul></ul><p>A few more things:</p>
<ul>
<li><strong>VERY IMPORTANT</strong>: Make sure to verify <strong>every</strong> deletion, since this can be disastrous with Django's cascading deletes. I accidentally a flavor, and all the VMs went away with it too.</li>
<li>This also applies to the snf-admin command line tool, the warning for deleting a user should apply almost everywhere [<code>--force</code>, etc].</li>
<li>it would be great if whenever a foreign key value is needed a combobox or some form of autocompletion was used, so the user may only input valid values.</li>
</ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44172011-09-07T17:27:18+03:00Vangelis Koukis
<ul></ul><p>Also:</p>
<ul>
<li>there should be a way to see all Servers, deleted=True or not.</li>
<li>there should be a way to filter Servers [later, when we have custom Images, on Images too], initially based on the owner.</li>
<li>How many Servers may be displayed? Support for pagination?</li>
</ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44192011-09-07T17:39:51+03:00Vangelis Koukis
<ul></ul><p>Also:</p>
<ul>
<li>image register operations should have a mandatory type argument, "dump", "ntfsclone" or otherwise. When the administrator registers a new image, he/she needs to specify its type. This applies both to the command-line and web admin tool.</li>
</ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44212011-09-07T18:08:39+03:00Giorgos Verigakis
<ul></ul><p>For future reference, Django 1.3 allows finer control of what happens when you delete rows that have foreign keys:</p>
<p><a class="external" href="https://docs.djangoproject.com/en/1.3/ref/models/fields/#django.db.models.ForeignKey.on_delete">https://docs.djangoproject.com/en/1.3/ref/models/fields/#django.db.models.ForeignKey.on_delete</a></p> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44372011-09-08T17:19:15+03:00Giorgos Verigakis
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>Applied in changeset <a href="https://code.grnet.gr/projects/synnefo/repository/revisions/5f75e534b62df9b9cfb4ab8f2ad69bab021abeda" class="changeset" title="Add user deletion support Fixes #849">5f75e534b62df9b9cfb4ab8f2ad69bab021abeda</a>.</p> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44392011-09-08T17:21:53+03:00Giorgos Verigakis
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Assigned</i></li></ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=44672011-09-12T11:09:42+03:00Vangelis Koukis
<ul><li><strong>Target version</strong> changed from <i>v0.6</i> to <i>v0.6.1</i></li></ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=45052011-09-13T13:50:45+03:00Vangelis Koukis
<ul><li><strong>Target version</strong> changed from <i>v0.6.1</i> to <i>v0.6.2</i></li></ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=46112011-09-15T14:01:20+03:00Vangelis Koukis
<ul><li><strong>Target version</strong> changed from <i>v0.6.2</i> to <i>67</i></li></ul> Synnefo - Feature #849: snf-admin should be made as a simple web interfacehttps://code.grnet.gr/issues/849?journal_id=46332011-09-15T16:14:35+03:00Vangelis Koukis
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>Target version</strong> changed from <i>67</i> to <i>v0.6.2</i></li></ul><p>The functionality has been implemented and merged into master, closing ticket.</p>