History | View | Annotate | Download (25.7 kB)
destroy action sets VM._operstate as 'DESTROYED' and does not call rapi.DeleteInstance to destroy the machine
create machine wizzard pass foo data to the serverhandler
start Machine action, for the standard view - initial commit
tables working as before, but with datatables plugin
added switch to ajax_error, for custom messaging
replace all alerts in standard view with themed pop ups
minor code formatting and comment editing
working generic confirmation actions in standard view
less arguments for ajax_error, ajax_success
get error and success codes from ajax calls
remove redundant } breaking javascript execution
testing version of global ajax error-success functions
initial version of notification function
initial version of confirmation function
Apply DRY in machines template
This includes:
replace tablesorter with datatables, work in progress
added error codes for reboot action.
if the action can't happen, the user gets informed. There are three cases:
experiment with verification of reboot action in standard view
added TIMEOUT variable on settings.py.dist. You'll have to cp to your settings.py
initial value is 10 seconds. after this time passes, if the ui hasn't received any data, the user is informed (with js alert window at the moment) that thereare network issues (a better message might ask the user to refresh)
correct delete state and transitions in list view
update status for machines according to rsapi
added error handling when rapi can't login to the backend. the ui user gets informed
prepare action notifications
update status names in js handlers
a few changes on the handlers/machines.html in order for the servers to appear
change misc id to creation-note
tables in list view are not showing when there are no machines to show
prevent invoking actions and populating images list more than once
save selected view (standard/list) in cookie
initial version of drop down selection menui in list view
use server ids in all views for reboot, shutdown and destroy calls
rearrange code in standard machine view and add calls for reboot, shutdown actions
Same font colors in terminated and active machines
added flavors on the RS API and replaced MOCK Flavors
add mock post create function in last step of wizard
list view improvements
Merge branch 'master' of https://code.grnet.gr/git/synnefo
Conflicts: ui/templates/list.html ui/templates/machines.html
fix table sort & scroll in list view
added create machine .post-create class on the ui
this is a static link that once pressed sends a HTTP POST request to the ganeti cluster (through api.handlers.ServerHandler.create)and creates a virtual server. This is sort of a mockup behavior, since
reboot and shutdown actions for a machine added on the list machines view
they are connected with the api.handlers.ServerActionHandler.create function that understands the data they send
send a HTTP DELETE method with the server_id once destroy is called, for a machine
api.handlers.ServerHandler.delete receives the DELETE call and id and proceeds the request through the rapi
add onclick events for reboot and destroy in standard view
Initial attempt to implement the ui-->RS API-->rapi architecture
main changes are:
a few minor changes regarding the naming of metadata, Server Label has become Server_Label (xml naming does not like spaces), also changed vocabs.py and machines.html according to the STATES tuple of vocabs.py
change Hostname to Name in standard machinie view
last grey delimeter in standard view is now hidden and states in list view are correctly read
renamed instance to machine on css etc. also added a few strings for the translation
added multisorting capability in list view, using the CTRL key
added, but not linked, tablesorter plugin and removed sorting from selection and OS column in list view
placed grey delimeter again and set minimum height for standard view to be the same as for list view
fixed appearance of spinner in list view, transformed it to table and added sorting
added spinner when loading machines and server sleep, to emulate a real life use case
removed grey delimiter between instances, instead added more spacing
renamed instances to machines and also files/urls