Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / static / snf / js / models.js @ 13925182

History | View | Annotate | Download (82.3 kB)

# Date Author Comment
13925182 11/07/2013 06:43 pm Kostas Papadimitriou

ui: Display resize in vm actions list

31bc4729 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Additional storage_attrs funcionality

allow custom model id resolver

ba7421ce 11/05/2013 04:52 pm Kostas Papadimitriou

ui: VM status typo

365af933 11/05/2013 04:52 pm Kostas Papadimitriou

ui: IP addresses subview in icon vms view

02effd9c 11/05/2013 04:52 pm Kostas Papadimitriou

ui: Port connect/disconnect api calls

95ff92b4 11/04/2013 09:14 am Kostas Papadimitriou

ui: Extra base model helpers

model_actions
-------------
Define available model actions, attribute dependencies and a callback which
result is used to decide whether or not the action can be executed.

proxy_attrs
-----------
Allows us to define extra virtual model attributes which value depends on...

6be6f0b6 11/04/2013 09:14 am Kostas Papadimitriou

ui: Additional base collection option

to handle model removals for collections for which we cannot identify if model
has been removed by checking some of its attributes (e.g. DELETED state).

d7d154c9 11/04/2013 09:14 am Kostas Papadimitriou

ui: Remove NICS, Networks, PublicIPs models

models depricated. Models wil be provided in upcoming neutron module

45b964d3 11/04/2013 09:14 am Kostas Papadimitriou

ui: Models module cleanup and models improvements

828f802d 10/07/2013 05:52 pm Kostas Papadimitriou

ui: Exclude rebooting machines from network connect overlay

bbae3e45 08/28/2013 01:55 pm Christos Stavrakakis

cyclades: Fix bug in handling of reboot type.

'type' attribute of reboot OS API call was directly mapped to the
'reboot_type' option of Ganeti reboot job. However these two are
semantically different. The 'SOFT' and 'HARD' reboot types of OS API are
mapped to 'shutdown_timeout' option of Ganeti jobs. However, setting...

b76769ef 08/06/2013 05:28 pm Kostas Papadimitriou

cyclades ui: Improve available quota handling

handle the case where available resource quota is less than the
corresponding active quota (for cpu, mem and disk resources).

eb17e27a 08/06/2013 10:22 am Kostas Papadimitriou

cyclades ui: Handle empty floating ip pools

prevent user from allocating new ip addresses if no available pools exist

890f3d4c 07/12/2013 01:22 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.2' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/views/target/__init__.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...

a6213c91 07/12/2013 11:51 am Kostas Papadimitriou

cyclades ui: Prefer os meta to identify connection user

How vm connection user gets resolved:

- Use the last user in `users` vm metadata if exists
- Use the last user in `users` vm image metadata if exists
- Use root if vm's image osfamily metadata is Linux...

d632e425 07/08/2013 03:44 pm Kostas Papadimitriou

cyclades ui: Allow destroy action on all vm states

1fc7640d 07/03/2013 01:20 pm Kostas Papadimitriou

cyclades: Public IP's overlay in UI

- Introduce a new overlay for IP addresses management (create, remove, connect,
disconnect).
- The overlay is accessible from the UI's options menu.

a3ac649e 07/03/2013 12:38 pm Kostas Papadimitriou

cyclades: Handle introduced ``SNF:task_state`` field

- Use it to identify if machine is in a transitioning state (a previously
executed task is pending to be completed).
- Disable all actions when field.
- Backwards compatible. If no field is set the UI falls back into predicting...

ab3df8df 07/03/2013 12:29 pm Kostas Papadimitriou

cyclades: Integrate machine resize action in UI

- Action gets triggered from edit links which appear next to the cpu/memory
details icon/single machine views.
- Handle inability to perform resize action based on vm state by displaying a
warning when machine is in running state....

60ba7fc6 06/14/2013 04:06 pm Kostas Papadimitriou

cyclades ui: In sync with latest API changes

Handle updated servers/detail response format.

cb561c2f 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Remove debug statement

0c2166b9 06/03/2013 11:50 am Kostas Papadimitriou

cyclades ui: Move connect/console urls under ui

0dee4086 05/28/2013 01:22 pm Kostas Papadimitriou

cyclades ui: In sync with the updated compute api

Update javascript libraries to keep up with the latest changes in compute api.

29fef7b9 05/28/2013 01:22 pm Christos Stavrakakis

ui: Rename flavor 'cpu' to 'vcpus'

d5fd0d3c 05/28/2013 01:22 pm Kostas Papadimitriou

cyclades ui: Update metadata post/delete url

the updated api uses /metadata/ instead of /meta/

Refs: #3768

1489e9b1 05/28/2013 01:22 pm Kostas Papadimitriou

cyclades ui: Revert server create params names

the new api changed image/flavor keys only in servers response.
imageRef and flavorRef are still required in server create requests
(makes sense)

Refs: #3768

7055982e 05/28/2013 08:14 am Kostas Papadimitriou

cyclades ui: Always send network type in create request

type parameter is mandatory in private network creation requests.

73f9a3d5 05/21/2013 12:41 pm Kostas Papadimitriou

cyclades ui: Handle no missing image ids case

614fb66b 05/20/2013 07:59 pm Kostas Papadimitriou

cyclades ui: Fix resolving of missing image ids

- Start resloving once the images have been loaded.
- Continue loading view progress only once all missing ids have been resolved.

7f16b9b1 05/20/2013 03:08 pm Kostas Papadimitriou

cyclades ui: Configurable userdata api url

PublicKey collections used hardcoded urls to access the ssh public keys
api. A new dummy view added (to serve '/ui/userdata/') to be able to use
django reverse mechanism for the base url of userdata api.

8b14f29d 05/20/2013 08:55 am Kostas Papadimitriou

cyclades ui: Avoid setting group in personality metadata

8b9e871d 05/14/2013 03:14 pm Olga Brani

Merge branch 'develop' into feature-branding

Conflicts:
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js
snf-astakos-app/astakos/im/templates/im/base.html
snf-astakos-app/astakos/im/templates/im/landing.html
snf-astakos-app/astakos/im/views.py...

426e1fb9 05/02/2013 04:36 pm Kostas Papadimitriou

cyclades ui: Expose and use the new astakos quota api

- Removed /userdata/quota view in respect of astakos quotas api delegate
views served in the same urls used by astakos api (/astakos/api/quotas,
/astakos/api/resources). Base url is configurable using the...

c2337e25 04/02/2013 01:15 pm Kostas Papadimitriou

Merge branch 'develop' into feature-branding

Conflicts:
snf-astakos-app/astakos/im/settings.py
snf-astakos-app/astakos/im/templates/im/login_base.html
snf-astakos-app/astakos/im/templatetags/astakos_tags.py
snf-cyclades-app/synnefo/app_settings/default/ui.py...

ee5d26fc 03/28/2013 03:11 pm Kostas Papadimitriou

UI create vm errors fix

never forget to pass vm create callback arguments

8fa1cbc9 03/27/2013 04:03 pm Kostas Papadimitriou

Configurable unknown os identifier

d42817ee 03/27/2013 03:45 pm Olga Brani

Branding: change default icon for vms

Changing "os" to "unknown" for all VMs that don't have a prefefined os.
Applies to Compute interface.

b14e3b9e 03/26/2013 03:27 pm Kostas Papadimitriou

Trigger user quota updates on sepcific ui api calls

- We force user quota information to be updated after the completion of
vm/network create/destroy actions.

2d35cfcd 03/21/2013 03:54 pm Kostas Papadimitriou

Fix available ram options in vm create view

typo fix that caused unavailable ram options due to user quota limits to
still be shown as selectable values.

336ddd59 03/20/2013 10:45 pm Kostas Papadimitriou

UI loading view improvements

Refs #3396
Refs #3397

- Use separate loading messages for each action to avoid confusion
caused due to aynchronous progress
- Enforce resolving of unknown machine image ids before the main view
gets rendered.

afe9ca75 03/20/2013 09:47 pm Kostas Papadimitriou

UI. Always extract user info from current cookie contents

Refs #3460

Token value set in api action/request is always retrieved from the
current cookie contents. When cookie contents change is detected ui
redirects user to log in.

Cookie changes are detected each time the app tries to use the user...

7ac49c2e 03/12/2013 03:31 pm Kostas Papadimitriou

Disable flavor options that exceed user quota

respect current user quota in flavor options display

8f53cfa3 02/14/2013 04:27 pm Kostas Papadimitriou

Translate image owner uuid -> display name in UI

UI uses the introduced /user_catalog api to translate uuids to display
names when necessary.

77baab80 01/11/2013 04:35 pm Kostas Papadimitriou

Fix public image handling

f5e97e7f 11/16/2012 07:41 pm Kostas Papadimitriou

Handle unavailable hostname information in ui

fallback to ip address

5d9ac244 11/16/2012 07:32 pm Kostas Papadimitriou

SSH personality keys ownership fix

also send mode/owner/group for each user's authorized_keys

bdfb089f 11/15/2012 06:16 pm Kostas Papadimitriou

Support multiple image users in js models

methods that used to return user specific information modified to return
arrays of objects based on identified image users. Image space delimited
`users` metadata key is now the primary point to identify existing image...

fc6f43c3 11/15/2012 05:13 pm Kostas Papadimitriou

VM creation view improvement, Refs #3012

warn user against untrustworthy image owners

a429705e 11/08/2012 06:35 pm Kostas Papadimitriou

Network view actions fixes

- Reset network status after a failed destroy action
- Fix multiple network actions (Refs #2298)
- Reset button visibility after nic disconnect

01461689 11/08/2012 01:25 pm Kostas Papadimitriou

JS networks collection fix

filter out unexisting deleted networks

cbf7b384 11/07/2012 07:50 pm Kostas Papadimitriou

UI quota limit handling

ui inititalization process now includes a call to the introduced
`ui.views.userquota` view which returns a json representation of available user
quota limits. Quota information is used across ui to prevent user from the
effort of trying to allocate additional resources.

3796f345 11/07/2012 04:10 pm Kostas Papadimitriou

UI vm connection improvements

- add configurable vm hostname template
- allow override of vm connect messages
- replace ip by hostname in vm connection messages
- configurable ssh message template
- optional setting to append extra content in windows rdp files

cde8cde3 11/07/2012 01:54 pm Kostas Papadimitriou

Minor js models improvements

d3e4bca7 11/07/2012 01:53 pm Kostas Papadimitriou

Proper image ssh support identification

additionally check osfamily image tag. If tag set to linux enable ssh
keys support.

c6f9918c 11/06/2012 04:21 pm Kostas Papadimitriou

Fix nic add/remove handling

apply nic network state changes only after successful api calls.

9555268a 10/29/2012 06:46 pm Kostas Papadimitriou

Optionally group public nics in one network view in ui

6de7fde5 10/23/2012 04:10 pm Kostas Papadimitriou

Configurable changes since attribute alignment

Introduce a new setting (UI_CHANGES_SINCE_ALIGMENT) to allow aligment of
changes-since attribute of consiquent API calls.

b16db49b 10/09/2012 04:27 pm Kostas Papadimitriou

Merge branch 'devel-0.11' into ui-0.11

Conflicts:
snf-cyclades-app/synnefo/db/models.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

630911ee 10/09/2012 04:05 pm Kostas Papadimitriou

Merge branch 'progress-monitor-new' into ui-0.11

Conflicts:
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

11976ee3 09/17/2012 07:24 pm Kostas Papadimitriou

Merge branch 'devel-0.11' into ui-0.11

Conflicts:
snf-common/synnefo/lib/astakos.py
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

47c66641 09/07/2012 05:41 pm Dimitris Aragiorgis

Support multiple public networks in UI

Encapsulate in nic dict a public flag (network.public) and
remove twisted oldstyle identification way (network_id == 'public')
for retrieving public interfaces.
All network references are done via their network_id.
...

4792afbe 08/28/2012 06:12 pm Kostas Papadimitriou

Networks view fixes and improvements

- Do not display vms in building state in connect overlay
- Propose vm reboot after firewall changed (functionality which was broken
after major networks api changes)
- Hide custom subnet input field when dhcp checkbox is not checked...

1dc12b52 08/28/2012 04:43 pm Kostas Papadimitriou

Merge branch 'ui-0.11' into progress-monitor-new

1d734889 08/28/2012 04:43 pm Kostas Papadimitriou

Merge branch 'devel-0.11' into progress-monitor-new

Conflicts:
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

e49565e1 08/27/2012 05:26 pm Kostas Papadimitriou

Propagate NIC change event to the associated vm

so that nic changed attributes get propagated to the vm views (e.g. nic ip
change).

97d3fca1 08/27/2012 12:42 pm Kostas Papadimitriou

Catch error caused by duplicate NIC removal in ui

NICs get removed once their associated vm or network trigger their
corresponding remove signal. Synchronous removal of vm/network will
cause duplicate NIC removes to be called.

88d6d677 08/10/2012 04:32 pm Kostas Papadimitriou

JS models additions, improvements

- get_meta method now returns null if meta key doesn't exist
- check for metatada attribute existance in get_meta_keys
- copy image metadata set on ``synnefo.config.vm_image_common_metadata``
on vm create call

1e882dd7 08/08/2012 08:39 pm Kostas Papadimitriou

Diagnostics implementation in ui app

- Change vm status message update method to include diagnostic messages
if the exist.
- New overlay to display vm diagnostics if vm is in ERROR state.

126a01f2 07/23/2012 11:42 am Kostas Papadimitriou

Cyclades UI integration with the new networks api

- Handles nic connections instead of vms. New NIC model and NICs
collections created to handle the NIC api logic. NIC models get
updated on each vms/networks api call.
- New private network creation form....

738a9b18 06/08/2012 06:15 pm Kostas Papadimitriou

Console popup window fix for safari, Refs #2463

It seems that Safari allows popup windows only if the window.open call
is made from within an html element click event context. Otherwise its
behaviour is based on "Block Pop-Up Windows" setting, which when enabled...

1efe6159 06/08/2012 06:15 pm Kostas Papadimitriou

Public SSH keys improvements

- use 'id_rsa' as the filename for the downloaded private key, Refs #2461
- changed the name of the auto generated public key

6a0915f7 03/26/2012 06:25 pm Kostas Papadimitriou

Proper image gui metadata identification

43ec1206 03/26/2012 03:18 pm Kostas Papadimitriou

Proper gui/os image metadata handling

03639c6d 03/26/2012 02:25 pm Kostas Papadimitriou

Proper display of vms associated with deleted images

0375f6c5 03/23/2012 03:16 pm Kostas Papadimitriou

Skip timeouts for stats api calls

using the skip_timeouts mechanism

f70c8d47 03/23/2012 02:43 pm Kostas Papadimitriou

Fix handling of invalid image responses

handle invalid image responses while updating unknown image id

babfdb9b 02/13/2012 05:05 pm Kostas Papadimitriou

Move display_owner to the base Image model

d7612b6e 02/06/2012 04:06 pm Kostas Papadimitriou

Fallback support to another image service in UI

So that glance image service can fallback to the old compute images api
for missing image references.

9c0ac5af 01/30/2012 06:55 pm Kostas Papadimitriou

Renamed snf-app to snf-cyclades-app