cyclades ui: IP addresses overlay improvements
- Wording improvements- Icon for the connect to machine action
cyclades: Networking step in machine create view
Introduce an additional `machine network setup` step in machine createoverlay. Through this step user can select ip addresses/private networksthe machine will be assigned/connected to.
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.
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...
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....
cyclades: Fix VMs console incorrect background
cyclades ui: In sync with latest API changes
Handle updated servers/detail response format.
cyclades ui: Allow developers to disable logout redirects
using UI_AUTH_SKIP_REDIRECTS. Useful for developers coping with 401 cycladesapi responses.
cyclades ui: Remove debug statement
cyclades ui: Move connect/console urls under ui
cyclades ui: Show password view minor improvement
avoid redirecting user to the single view of the build vm
cyclades ui: In sync with the updated compute api
Update javascript libraries to keep up with the latest changes in compute api.
ui: Rename flavor 'cpu' to 'vcpus'
cyclades ui: Revert glance response parsing
Refs: #3768
cyclades ui: Update metadata post/delete url
the updated api uses /metadata/ instead of /meta/
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)
cyclades ui: Always send network type in create request
type parameter is mandatory in private network creation requests.
cyclades ui: Handle no missing image ids case
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.
cyclades ui: Configurable userdata api url
PublicKey collections used hardcoded urls to access the ssh public keysapi. A new dummy view added (to serve '/ui/userdata/') to be able to usedjango reverse mechanism for the base url of userdata api.
cyclades ui: Avoid setting group in personality metadata
Synnefo branding: Documentation correction & minor fixes
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...
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 remote-tracking branch 'origin/develop' into feature-branding
Conflicts: snf-astakos-app/astakos/im/templates/im/footer.html snf-cyclades-app/setup.py
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/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...
Conflicts: snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views.py version
Merge branch 'tmp-common-email-recipients' into develop
Merge branch 'feature-astakos-authpolicies' into develop
Conflicts: snf-cyclades-app/synnefo/api/management/commands/flavor-create.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
Configurable unknown os identifier
Branding: change default icon for vms
Changing "os" to "unknown" for all VMs that don't have a prefefined os.Applies to Compute interface.
Initial branding for service and company
New synnefo_branding app.Service name defaults to "Synnefo" and company name defaults to "grnet".Branding is applicable to texts containing Service or Company name/url and toimages such as favicon, compute, dashboard and console logos.
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...
Remove alpha from logo & copyright period correction
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
VM create view styles fix
fix max height and spacing of public keys list view
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
Additional user notification in vm connect view
notify users that although connection information appears, vm may not beavailable to connect to if it was just restarted/created.
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
Console view IE fixes
VM console view style fix
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