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...
cyclades ui: Update OS images names
use libguestfs naming convention
redhat -> rhelsuse -> opensuse (also cloned as sles)
cyclades: Fix VMs console incorrect background
cyclades ui: In sync with latest API changes
Handle updated servers/detail response format.
cyclades: Remove "help" url in empty vms page
cyclades ui: Invalid statement fix
cyclades ui: Fix endpoint urls
remove trailing slashes
Cyclades UI: minor textual change in networks
cyclades ui: Improvements in ui url settings
- Use get_public_endpoint to resolve each service url- Depend on cyclades_settings for services objects
cyclades: add version 'v1' in plankton/image URLs
cyclades ui: Clean up ui url settings
- Removed most url's from ui conf file. Default values are dynamically set based on other settings (CYCLADES_BASE_URL, ASTAKOS_BASE_URL etc.). We still do service lookups to be able to change urls in extraordinary deployments....
cyclades ui: Handle non empty base urls better
BASE_PATH is not slash prefixed causing js to make requests to relative urls.
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: Handle empty EXTRA_RDP_CONTENT setting
cyclades: Remove userdata api from ui prefix
- Individualize userdata api by placing module under synnefo namespace and urs under it's own USERDATA_PREFIX
make synnefo URLs consistent and configurable
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded...
cyclades ui: Show password view minor improvement
avoid redirecting user to the single view of the build vm
Merge branch 'develop' of https://code.grnet.gr/git/synnefo into develop
branding: Improve footer appearance
Capitilize 'synnefo' in footer and remove space between v and versionnumber in footer
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.
branding: Renaming SYNNEFO_JS_LIB_VERSION to SYNNEFO_VERSION
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.
branding: Use branding util to render email templates
Use synnefo_branding.util.render_to_string accross synnefo apps to be able touse branding variables within the templates.
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
cyclades ui: Include missing index view setting
UNKNOWN_OS setting was missing from the index view context, causing javascripterrors.
Synnefo branding: Documentation correction & minor fixes
Correct merging error
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...
Synnefo branding: Remove greek text & verbal fixes
Emails sent to Astakos Users do not contain greek translations any more.Minor verbal corrections are made and title attribute are added to logoslinks.
astakos: WIP move all api calls under ``/astakos/api``
Refs: #3340
Further improvents to branding settings
cyclades ui: Remove deprecated setting
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...
cyclades: Remove obsolete code for static quotas
Remove the following obsolete settings, since their usage is coveredby Quotaholder:- MAX_VMS_PER_USER- MAX_NETWORKS_PER_USER- VMS_USER_QUOTA- NETWORKS_USER_QUOTA
Also remove 'cyclades-export-quota' management command.
snf-cyclades-app: Use astakosclient
PEP8 style fixes
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 'feature-snf-django' into develop
Conflicts: docs/older/Changelog.pithos-app snf-astakos-app/astakos/im/api/__init__.py snf-pithos-app/pithos/api/util.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.
Move astakos lib from snf-common to snf-django-lib
Merge branch 'feature-branding' of https://code.grnet.gr/git/synnefo 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...
Conflicts: snf-astakos-app/astakos/im/messages.py snf-astakos-app/astakos/im/views.py version
Remove ui debug statement
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
Branding footer improvements (Astakos+ Cyclades)
Setting that allows copyright message to footer.Setting that allows about, feedback and support links to footer.
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.
Branding cleanup & overview page
Removing unnecessary code ( branding tags). Generic overview page.
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 auth client fix
Fix early check for existing cookie contents
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
Improve ui userquota response
include all available information as retrieved from astakos response
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
Cyclades feedback email fixes
- Include user uuid and email as user info
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.
userquota to handle null request.user
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
Handle astakos usage response in ui
override the hardcoded quotas if astakos response includes user usageinformation.
Variable name typo
Periodic update of user usage quotas
JS fix
call positionFooter after its definition
Introduce network flavors to replace network types
Add tags and mode to network db model. Replace existing type withflavor. Introduce 4 different flavors. Each flavor has mode, link,mac_prefix, tags. Supported flavors are CUSTOM, IP_LESS_ROUTED,MAC_FILTERED, PHYSICAL_VLAN and are hardcoded in db models....
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