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...
Merge branch 'release-0.13' into develop
Conflicts: snf-astakos-app/astakos/im/messages.py
Fix create vm view images filtering in cyclades ui
use the new synnefo.user method `get_username` to populatepersonal/shared images.
Conflicts: snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views.py version
UI auth module typo fix
fix get_username to return user uuid instead of user token. The changefix the resolving of image ownership of the current ui user.
UI create vm errors fix
never forget to pass vm create callback arguments
Delegate cyclades ui feedback calls to astakos
Mimic pithos app/ui feedback handling to avoid duplicating boilerplatecode.
New settings:CYCLADES_USER_FEEDBACK_URL
Deprecated (removed) settings:FEEDBACK_CONTACTSFEEDBACK_EMAIL_FROM
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.
Fix available ram options in vm create view
typo fix that caused unavailable ram options due to user quota limits tostill be shown as selectable values.
UI loading view improvements
Refs #3396Refs #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.
UI. Always extract user info from current cookie contents
Refs #3460
Token value set in api action/request is always retrieved from thecurrent cookie contents. When cookie contents change is detected uiredirects user to log in.
Cookie changes are detected each time the app tries to use the user...
UI create machine improvements
- Display remaining resources- Predefined flavors display fix
Disable flavor options that exceed user quota
respect current user quota in flavor options display
New ui quota helper class
also updated ui views to use the new class
Cyclades UI machine create view improvement
- widen up view- prettier (no scroll) compact flavor list style, when flavor options are too many to display in a single row
Improve memory choices display in vm create view
Apply human readable (MB, GB) conversion
Override get_owner method for glance model object
to properly handle unknown owner entries
Translate image owner uuid -> display name in UI
UI uses the introduced /user_catalog api to translate uuids to displaynames when necessary.
Synnnefo ui fallback route
include a default route to redirect to index to catch arbitrary urlfragments.
Fix string replace in 'weekly stats' js
Fix string replace in 'weekly stats' js to work with both the old stats urls andthe new snf-stats-app urls.
Fix footer positioning javsacript handler
Improve javascript exception handling
Skip 'Script error' exceptions. Those exceptions get raised inFF/Safari/Chrome from scripts which location violates same-origin-policyof the document (e.g cloudbar.js).
Fix public image handling
Periodic update of user usage quotas
Merge branch 'ui-0.13' into devel-0.13
Propen window.open use in ui
window.open method accepts specs in string format instead of objectwhich is not supported by all browsers. This fixes console window todisplay scrollbars using IE in small resolutions.
Border fix for public network view
regression appeared from the grouped public network support.
UI metadata view fix
proper check of existing meta keys
Force confirmation of untrusted image selection
ensure that user notes the untrusted image risks before he continues toflavor selection.
Handle empty images list in vm creation view
Prompt custom image guide reference if no images available
Handle unavailable hostname information in ui
fallback to ip address
SSH personality keys ownership fix
also send mode/owner/group for each user's authorized_keys
Avoid double escaping of image metadata
image model get_meta already takes care of escaping the meta value
Support multiple image users in js models
methods that used to return user specific information modified to returnarrays of objects based on identified image users. Image space delimited`users` metadata key is now the primary point to identify existing image...
VM creation view improvement, Refs #3012
warn user against untrustworthy image owners
Handle suspended VM's in ui
UI now displays notice for vm's flagged as suspended. User may click onsuspended notice to contact support.
Network view actions fixes
- Reset network status after a failed destroy action- Fix multiple network actions (Refs #2298)- Reset button visibility after nic disconnect
Improve ui personal images ui view
include reference to custom image creation guide if available.Reference url can be configured by setting the UI_CUSTOM_IMAGE_HELP_URLsetting.
Dynamically set user quota url in ui
Automatic private networks subnet assignment in ui
Automatically choose a subnet that doesn't already exists in user'sprivate networks if 'Auto' subnet option is selected.
JS networks collection fix
filter out unexisting deleted networks
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 userquota limits. Quota information is used across ui to prevent user from theeffort of trying to allocate additional resources.
Update single menu vm entry on each vm name change
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
Minor js models improvements
Proper image ssh support identification
additionally check osfamily image tag. If tag set to linux enable sshkeys support.
Change grouped public network name setting
UI_GROUPED_NETWORK_NAME -> UI_GROUPED_PUBLIC_NETWORK_NAME
Fix nic add/remove handling
apply nic network state changes only after successful api calls.
Fix nic in network identification
Fix expanded grouped public left border styles
Merge commit '3b7fef3' into ui-0.11
Configurable grouped public network view name
Reset subselections in private network creation view
Do reset network subnet selection each time user toggles dhcp choice.
Expand empty private networks
to make connect to vm button that appears at the bottom of the privatenetwork nics list be accessible even on empty networks.
Optionally group public nics in one network view in ui
Configurable changes since attribute alignment
Introduce a new setting (UI_CHANGES_SINCE_ALIGMENT) to allow aligment ofchanges-since attribute of consiquent API calls.
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
Merge branch 'progress-monitor-new' into ui-0.11
Conflicts: snf-cyclades-app/synnefo/ui/static/snf/js/models.js
Conflicts: snf-common/synnefo/lib/astakos.py snf-cyclades-app/synnefo/ui/static/snf/js/models.js
Support multiple public networks in UI
Encapsulate in nic dict a public flag (network.public) andremove twisted oldstyle identification way (network_id == 'public')for retrieving public interfaces.All network references are done via their network_id....
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...
Merge branch 'ui-0.11' into progress-monitor-new
Merge branch 'devel-0.11' into progress-monitor-new
Propagate NIC change event to the associated vm
so that nic changed attributes get propagated to the vm views (e.g. nic ipchange).
Catch error caused by duplicate NIC removal in ui
NICs get removed once their associated vm or network trigger theircorresponding remove signal. Synchronous removal of vm/network willcause duplicate NIC removes to be called.
JS view base object now triggers show event
Image details view improvements
- Display extra metadata- Display user custom metadata
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
Glance js model improvements
- Case insensitive get_meta method- Additional dislay_* methods for size and users metadata- Additional metadata labels
Merge branch 'ui-helpdesk' into progress-monitor-new
Merge branch 'devel-0.11' into ui-helpdesk
Truncate vm status message in icon view
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.
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....
Update cyclades ui jquery lib to 1.7.2
Helpdesk improvements (VM connected to network)
Fix create view image selection, Refs #2487
Only reset image selection on create view initialization to be able tokeep image selection between subviews transitions.
Console popup window fix for safari, Refs #2463
It seems that Safari allows popup windows only if the window.open callis made from within an html element click event context. Otherwise itsbehaviour is based on "Block Pop-Up Windows" setting, which when enabled...
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
Display stats period selection in ui
taking advantage of the urls for weekly graphs that stats service provide.Refs #1791
Fix multiple connect actions sent to the server
Refs #2358
Fix nonexistent image metadata handling
Fix browser history handling, Refs #2299
Reset flavor on image selection change
Update js unittest suite
Proper image gui metadata identification
Removed uneeded debug statement
Proper gui/os image metadata handling
Proper display of vms associated with deleted images
Fix suggested flavors sorting
do not use disk_template in sorting algorithm
Fix create vm wizard image deselect
when image list is empty
Skip timeouts for stats api calls
using the skip_timeouts mechanism
Fix handling of invalid image responses
handle invalid image responses while updating unknown image id
Do not fallback to old images api
old compute/images api is removed, no need to fallback to this api formissing images
Proper redirect if no auth cookie found
Astakos js client fix
Astakos and cloudbar integration in ui
Merge branch 'master' into ui-astakos-integration