Statistics
| Branch: | Tag: | Revision:

root / ui @ 4e6f9904

# Date Author Comment
4e6f9904 03/23/2011 06:25 pm Markos Gogoulos

remove description fields for VM, Image

  • remove description from VirtualMachine model, handlers and tests
  • return images metadata (as on servers). for now return image.description as image.metadata.meta.key.description

Ref #185

f7fc695f 03/23/2011 03:54 pm Markos Gogoulos

Merge branch 'master' of https://code.grnet.gr/git/synnefo

0e1531b4 03/23/2011 03:51 pm Markos Gogoulos

fix GET /servers

check if server.status is "DELETED" rather than attribute server.deleted
Refs #293

1c7978ce 03/23/2011 03:15 pm Dimitris Moraitis

abort pending ajax requests on view switching - Fixes #309

0317c509 03/22/2011 05:22 pm Dimitris Moraitis

dont display error if XHR status equals 0 - Refs #293

d725fb12 03/19/2011 08:16 pm Christos Psaltis

Add and style confirmation box in list & standard view.

This refers to the confirmation box for multiple machine actions
in standard view and all machine actions in list view. The box
appears at the bottom of the page. You can only view it
by removing display: none from div.confirmation....

c2464ef2 03/19/2011 07:04 pm Christos Psaltis

Add and style confirmation box in standard view

This refers to the confirmation box for single machine actions.
At this point you can only view it by removing display: none
from div.confirmation.

Refs #209

31343277 03/18/2011 07:46 pm Christos Psaltis

Add initial html for new style confirmations

5b147126 03/18/2011 07:02 pm Christos Psaltis

#machines.separator appears in standard and list view

984af1e1 03/18/2011 05:11 pm Christos Psaltis

On hover actions turn to orange.

ab5282e4 03/18/2011 03:00 am Dimitris Moraitis

rename changes_since to changes-since & slider fix - Refs #291 #147

1a49199e 03/18/2011 01:46 am Dimitris Moraitis

auto-update vm list using changes_since

ec425eb2 03/17/2011 09:38 pm Markos Gogoulos

Merge branch 'master' of https://code.grnet.gr/git/synnefo

d19719cd 03/17/2011 09:34 pm Markos Gogoulos

support partial GET data for the virtual machines

use changes_since GET variable to specify a datetime. If ServerHandler
sees a datetime, it will return virtual machines that were updated after
that datetime, and nothing more

01864f44 03/17/2011 08:43 pm Dimitris Moraitis

comment out jquery tools source includes

146b6003 03/17/2011 03:51 am Dimitris Moraitis

improve auto-refresh and error handling

b335768e 03/15/2011 09:33 pm Markos Gogoulos

changes related to Openstack naming

  • change imageId to imageRef
  • change flavorId to flavorRef
  • add updated+created attributes on serverhandlerss response for servers
a5093da5 03/15/2011 09:06 pm Markos Gogoulos

fix previous broken commit

there was an error on home.html of the ui introduced with the
previous commit :(

7d311ba1 03/15/2011 09:00 pm Markos Gogoulos

fix create wizzard error handling

show 2 different translatable messages, when no images or flavors
are found

e5b0ba20 03/12/2011 03:06 am Vangelis Koukis

Remove unneeded GUI refreshes, fix spelling

Now that partial refreshes are working, there is no need to refresh
whole page after submitting an AJAX request. This eliminates unecessary
flicker.

Make the GUI page update every 5s instead of 60s.

Modify spelling of "seperator" to read "separator".

5f99a59d 03/11/2011 08:39 pm Markos Gogoulos

change error message on the ui

change translatable error message (default case) on home.html

7b7e768e 03/11/2011 04:41 pm Christos Psaltis

Change the order of includes for more clarity

48ce8b68 03/10/2011 07:54 pm Christos Psaltis

Initial support for auto updating list view

150eb972 03/10/2011 07:54 pm Christos Psaltis

Fix minor readability issues

748139ba 03/10/2011 01:55 pm Christos Psaltis

Do not pass serverID in ajax_error()

f15025bc 03/10/2011 11:35 am Christos Psaltis

Destroy action has an empty request body

583932c4 03/10/2011 11:29 am Christos Psaltis

Similar error handling for all actions

38b1f387 03/10/2011 11:24 am Christos Psaltis

fix destroy action for multiple machines

5e5683f1 03/09/2011 07:30 pm Christos Psaltis

Upgrade DataTables version to 1.7.6

81d48bff 03/09/2011 07:29 pm Christos Psaltis

Improve code readability in standard view template

a739ce48 03/09/2011 05:43 pm Christos Psaltis

Do not reload view after no in confirmation dialog

9b1b6f3a 03/09/2011 05:28 pm Christos Psaltis

improve code readability

c58db69b 03/09/2011 05:28 pm Christos Psaltis

Fix mini seperator fadeIn rule.

4c846a95 03/09/2011 05:04 pm Markos Gogoulos

fix wrong 'delete action' URL

935bb83f 03/09/2011 01:38 am Markos Gogoulos

translatable message in case no machine exists

Show the following translatable message in div id emptymachineslist when the
api call returns no servers (user has not created any server, or all of their
servers are deleted)

{% trans "You have no virtual machines! Press Create New to create some!" %}</div>

a3e418b1 03/08/2011 09:02 pm Markos Gogoulos

not launch create machine wizard on some cases

When there are no images, or no flavors, don't launch the create
machine wizzard, but show an error popup instead

2ed4ced5 03/08/2011 05:12 pm Markos Gogoulos

do not ask confirmation on start server(s) action

eae0a59a 03/08/2011 04:25 am Dimitris Moraitis

partial auto-refresh

0ad5737e 03/08/2011 04:19 am Dimitris Moraitis

update functional tests

e32c2a5d 03/06/2011 08:39 pm Dimitris Moraitis

improve look and browser compatibitily of list table scroll

aa819ce8 03/06/2011 06:46 pm Dimitris Moraitis

add try-catch for js console logging, fixes breakage when firebug is not present

d36493ce 03/06/2011 06:45 pm Dimitris Moraitis

move timeout to home template to fix breakage

520430b7 03/06/2011 06:43 pm Dimitris Moraitis

add listing table scrollbar, at least for Gecko browsers

f974b570 03/06/2011 07:58 am Dimitris Moraitis

remove extra comma

42f67a2a 03/06/2011 07:40 am Dimitris Moraitis

major js restructuring & refactoring

Most javascript functions have been moved to a seperate file.
The standard view is also now seperate from the machines view. This solves a
couple of issues with Webkit browsers and the code becomes cleaner.
All actions from both the list and the standard view now have unified...

eb8deaef 03/06/2011 07:38 am Dimitris Moraitis

minor css rewrite

12d7e95e 03/05/2011 06:05 pm Dimitris Moraitis

update rangeinput values directly when moving the sliders

20fae095 03/05/2011 05:16 pm Christos Psaltis

post imageId on create

d62113a0 03/02/2011 10:59 pm Markos Gogoulos

add translatable strings

on machines.html

dddb9274 03/02/2011 09:49 pm Markos Gogoulos

make errors translatable

error messages (404, 400, 503, 501 or others) are translatable
The greek translation has been added

c0124a81 02/28/2011 10:42 am Dimitris Moraitis

add functional test for the wizard

3a150bbe 02/28/2011 10:41 am Dimitris Moraitis

restore slider progress

217b2431 02/27/2011 10:27 pm Dimitris Moraitis

fix list view actions, add javascript console logging

68a49035 02/27/2011 08:35 pm Dimitris Moraitis

consolidate jquery event handlers for rangeinputs in the wizard

a37690bd 02/27/2011 05:15 pm Markos Gogoulos

fix list machines view

  • use JSON.stringify, as in standard view
  • add start action
71642965 02/26/2011 09:29 pm Dimitris Moraitis

create vm action selects requested flavor

and display the right values in the wizard confirmation step

52bc1c74 02/26/2011 05:22 pm Markos Gogoulos

update ajax calls for actions

Use JSON.stringify for actions (reboot,shutdown,start,destroy)

285a1fa8 02/26/2011 12:20 am Dimitris Moraitis

improve API compliance of the create instance handler

93a10af1 02/25/2011 08:50 pm Markos Gogoulos

add size field to Images listing

1cea389e 02/24/2011 08:20 pm Markos Gogoulos

improved virtual servers filtering . also made a small change regarding /servers

the first change adds field deleted as the filter, while the second one is related with the address tag

e336bde6 02/24/2011 01:47 pm Markos Gogoulos

addresses and metadata fields on GET /servers/detail

3a49d1da 02/23/2011 07:50 pm Christos Psaltis

add boilerplate code for GET flavors

008b3ae8 02/22/2011 08:18 pm Christos Psaltis

Remove table of terminated machines in list view

There is only one table in list view now, which
contains both running and terminated machines.

b8bbd09f 02/22/2011 01:51 pm Christos Psaltis

fix reloading after confirmation

dc7c6742 02/22/2011 01:46 pm Christos Psaltis

reload standard view after confirmation

74bb9785 02/22/2011 01:39 pm Christos Psaltis

Correct apearance of actions in standard view

The actions shown for running machines are:

  • reboot
  • shut down
  • more

The actions shown for terminated machines are:

  • start
  • more
5d13042c 02/22/2011 01:32 pm Christos Psaltis

removed focus for actions in standard view

3d6e97af 02/22/2011 01:21 pm Christos Psaltis

change mini seperator order of appearance

e764ccfd 02/22/2011 01:16 pm Christos Psaltis

change color and margin in list view actions

6a94c3c4 02/22/2011 01:05 pm Christos Psaltis

renamed fixtures file so it can be called automatically

c18611c8 02/21/2011 04:04 pm Markos Gogoulos

improvements regarding error handling.

  • added exceptions checking for Ganeti Api Errors and Django ORM
  • vm.start_action(action) is called before any action (reboot, shutdown, start, destroy)
  • code cleanout for the ServerActionHandler
9eef701d 02/21/2011 12:31 am Markos Gogoulos

destroy action sets VM._operstate as 'DESTROYED' and does not call rapi.DeleteInstance to destroy the machine

debeeec9 02/20/2011 01:16 pm Markos Gogoulos

create machine wizzard pass foo data to the serverhandler

e98852ba 02/19/2011 08:11 pm Markos Gogoulos

start Machine action, for the standard view - initial commit

bd96a56b 02/14/2011 06:08 pm Christos Psaltis

tables working as before, but with datatables plugin

a30a43a7 02/14/2011 12:44 pm Markos Gogoulos

added switch to ajax_error, for custom messaging

f58ec963 02/13/2011 06:56 pm Christos Psaltis

replace all alerts in standard view with themed pop ups

b6270d15 02/13/2011 05:04 pm Christos Psaltis

minor code formatting and comment editing

facad27f 02/13/2011 04:57 pm Christos Psaltis

working generic confirmation actions in standard view

ba4c763b 02/13/2011 02:53 pm Christos Psaltis

less arguments for ajax_error, ajax_success

4b90b177 02/13/2011 02:51 pm Christos Psaltis

get error and success codes from ajax calls

06e9bee7 02/13/2011 02:20 pm Christos Psaltis

remove redundant } breaking javascript execution

213fdf95 02/13/2011 02:17 pm Christos Psaltis

testing version of global ajax error-success functions

9c8bae13 02/13/2011 01:53 pm Christos Psaltis

smaller serach bars in list view

962733ad 02/13/2011 01:39 pm Christos Psaltis

initial version of notification function

4e5d5e70 02/13/2011 01:23 pm Christos Psaltis

initial version of confirmation function

bd528b3b 02/13/2011 12:21 pm Christos Psaltis

Apply DRY in machines template

This includes:

  • initial code for reusable ajax error and success functions
  • more descriptive names for confirmation and notification overlays
  • break update() in update_vms() and update_images() for less calls
a4531705 02/13/2011 12:12 am Christos Psaltis

replace tablesorter with datatables, work in progress

941b00d4 02/12/2011 10:08 pm Markos Gogoulos

added error codes for reboot action.

if the action can't happen, the user gets informed. There are three cases:

  • user sends the reboot request but timeout happens. He gets informed to check his network connection
  • the request can't be made. The user gets informed that the reboot action couldn't happen. We can further parse the error message to discover why this...
fcb969cc 02/12/2011 07:01 pm Christos Psaltis

experiment with verification of reboot action in standard view

95ac62ec 02/11/2011 08:02 pm Christos Psaltis

remove transparency from selection menu in list view and add hover color

abf90954 02/11/2011 07:59 pm Markos Gogoulos

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 there
are network issues (a better message might ask the user to refresh)

a9d8ed3a 02/11/2011 07:50 pm Christos Psaltis

correct delete state and transitions in list view

9ea8125a 02/11/2011 07:35 pm Christos Psaltis

update status for machines according to rsapi

c5e38339 02/11/2011 06:55 pm Markos Gogoulos

added error handling when rapi can't login to the backend. the ui user gets informed

d165dbb4 02/11/2011 04:49 pm Christos Psaltis

prepare action notifications

b9e0f667 02/10/2011 04:33 pm Dimitris Moraitis

update status names in js handlers

12827073 02/09/2011 07:20 pm Markos Gogoulos

a few changes on the handlers/machines.html in order for the servers to appear

f124656b 02/08/2011 08:41 pm Christos Psaltis

change misc id to creation-note

164d6386 02/08/2011 07:11 pm Christos Psaltis

first version of sliding selection menu in list view