Statistics
| Branch: | Tag: | Revision:

root / ui @ 0ad5737e

# Date Author Comment
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

9918dde8 02/08/2011 03:54 pm Christos Psaltis

tables in list view are not showing when there are no machines to show

fac6fbbe 02/07/2011 10:17 pm Dimitris Moraitis

prevent invoking actions and populating images list more than once

201d192a 02/07/2011 04:37 pm Dimitris Moraitis

add jquery.cookie

fb66080c 02/07/2011 02:09 pm Dimitris Moraitis

save selected view (standard/list) in cookie

1e03328c 02/05/2011 09:21 pm Christos Psaltis

initial version of drop down selection menui in list view

291a7f0d 02/05/2011 07:25 pm Christos Psaltis

remove 1234 from shutdown call in list view

8fd5c3a5 02/05/2011 07:20 pm Christos Psaltis

use server ids in all views for reboot, shutdown and destroy calls

4da3085a 02/05/2011 07:10 pm Dimitris Moraitis

select all/none

bd8b1d60 02/05/2011 06:54 pm Christos Psaltis

rearrange code in standard machine view and add calls for reboot, shutdown actions

35b8688f 02/04/2011 08:29 pm Christos Psaltis

select-deselect all widget in list view

2292441b 02/04/2011 06:54 pm Christos Psaltis

remove redundant css entries

5c908a0f 02/04/2011 06:45 pm Christos Psaltis

Same font colors in terminated and active machines

efc2c28a 02/04/2011 06:10 pm Christos Psaltis

move spinner in the middle of the loading pane

26655d67 02/04/2011 06:05 pm Christos Psaltis

more light grey actions in list view

e9e9bc61 02/04/2011 05:57 pm Christos Psaltis

less width in blue seperator at list view

b8d16d68 02/01/2011 10:17 pm Markos Gogoulos

added flavors on the RS API and replaced MOCK Flavors

  • also added 2 flavors on the sqlite database
  • plus added Image.description on the Wizard (create new)
e2d89a17 02/01/2011 03:37 pm Dimitris Moraitis

remove alerts

ae0aea6d 02/01/2011 03:34 pm Dimitris Moraitis

send POST/DELETE calls on reboot, shutdown & destroy actions in list view

af215361 02/01/2011 03:10 pm Dimitris Moraitis

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

Conflicts:
ui/templates/machines.html

0604f74f 02/01/2011 03:08 pm Dimitris Moraitis

toggle actions in list view

84479440 02/01/2011 01:49 pm Christos Psaltis

hide horizontal scroll bar in list view

14739cd6 02/01/2011 01:39 pm Christos Psaltis

add mock post create function in last step of wizard

379a34cf 01/30/2011 11:12 pm Dimitris Moraitis

list view improvements

d7c4ab32 01/30/2011 09:47 pm Dimitris Moraitis

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

Conflicts:
ui/templates/list.html
ui/templates/machines.html

c3b3043d 01/30/2011 09:38 pm Dimitris Moraitis

fix table sort & scroll in list view

8400e1a5 01/30/2011 09:29 pm Markos Gogoulos

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

  • it has to be integrated with the wizard form...
d66446ce 01/30/2011 08:38 pm Markos Gogoulos

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

63816e18 01/30/2011 07:23 pm Markos Gogoulos

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

5006d438 01/29/2011 10:21 pm Christos Psaltis

add onclick events for reboot and destroy in standard view

912bf2a1 01/29/2011 10:14 pm Dimitris Moraitis

improve cross browser compatibility for the menu animation

e1fca99a 01/29/2011 10:01 pm Dimitris Moraitis

improve cross browser compatibility for menu animation

37554ef1 01/29/2011 09:51 pm Dimitris Moraitis

improve menu animation

ccbd9f9b 01/28/2011 11:07 pm Markos Gogoulos

Initial attempt to implement the ui-->RS API-->rapi architecture

main changes are:

  • handlers.py: added function VirtualMachineName that returns the VirtualMachine, given it's id. added some ORM for the server list
    (commented at the moment, uncomment and add the db on settings.py to try it). added delete() on ServerHandler that calls rapi to destroy a machine...
1daaa0d7 01/27/2011 02:47 pm Christos Psaltis

prepare list view template for dynamic actions menu

35737d00 01/26/2011 08:18 pm Christos Psaltis

set variables for accessing primary and secondary tab elements

d932286d 01/26/2011 07:12 pm Christos Psaltis

initial version of animation for main tabs

2ed31bce 01/26/2011 04:48 pm Markos Gogoulos

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

892cfabe 01/26/2011 02:08 pm Christos Psaltis

correct list view alignment of table elements