History | View | Annotate | Download (12.1 kB)
helpdesk: Exempt csrf check from helpdesk action views
custom csrf handling is already applied in those views.
Fixes action errors when cyclades are installed along with astakos app whichenables csrf protection middleware.
helpdesk: Handle vm action errors
helpdesk: Use api.logic.servers methods to in vm start/stop views
helpdesk: Change logging level
Change logging level of messages about unauthorized access to helpdesk.Info level should be enough.
helpdesk: Support quering history of public IPs
Add basic support for quering a public IP address. All uses of this IPaddress are returned which are currently rendered to a dummy template.
helpdesk: Order IPs by allocation time
Merge branch 'feature-cyclades-networks' into develop
Conflicts: snf-cyclades-app/synnefo/api/management/commands/server-inspect.py snf-cyclades-app/synnefo/app_settings/urls.py snf-cyclades-app/synnefo/logic/backend.py snf-cyclades-app/synnefo/logic/backend_allocator.py...
astakos: Remove call GET /authenticate
Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()and replace its uses by AstakosClient.authenticate().
snf-cyclades-app: Use the new AstakosClient
Change AstakosClient to use ASTAKOS_AUTH_URL as entry point to theAstakos service, instead of ASTAKOS_BASE_URL it was using until now.
Remove ASTAKOS_BASE_URL from Cyclades settings, replace it withASTAKOS_AUTH_URL. Modify Cyclades to determine ASTAKOS_ACCOUNT_URL and...
cyclades: Fix helpdesk code and tests for new nets
Merge branch 'master' into develop
Conflicts: Changelog version
helpdesk: Fix network interface queryset
Merge branch 'hotfix-0.14.6' into develop
Conflicts: Changelog docs/admin-guide.rst snf-cyclades-app/synnefo/api/management/commands/network-remove.py snf-cyclades-app/synnefo/api/servers.py snf-cyclades-app/synnefo/api/tests/servers.py snf-cyclades-app/synnefo/logic/backend.py...
helpdesk: Exclude nics of deleted vms
when helpdesk users search using ip address
cyclades: Major refactor to api and logic apps
Major refactor to cyclades api and logic apps that removes most codefrom the api views and moves it to logic app, so that the same logiccode can be used by different apps (e.g. EC2 API). Code is moved into...
helpdesk: Typo fix
helpdesk: Include UI_MEDIA_URL in template context
variable used as prefix for vm os icon urls
helpdesk: Detect existing accounts with no active vms
make synnefo URLs consistent and configurable
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded...
helpdesk: Configurable media url
helpdesk: Fix helpdesk tests
snf-cyclades-app: Use astakosclient
Move astakos lib from snf-common to snf-django-lib
Allow helpdesk users to shutdown/start vms
Include an additional action to helpdesk view. Based on the currentstatus of the virtual machine helpdesk user is allowed to start it orshut it down.
This comes handy since in most cases vm suspension needs to be...
Typo fix
Helpdesk logging improvements
Refs #3454
Allow user to search by vm id in helpdesk app
Refs #3453
VM lookup is triggered when search query matches the following patterns
- vm<id>- vm-<id>
Helpdesk app fixes
- Do not use autocomplete feature (usernames are now stored in astakos db)- Translate provided username to retrieve user uuid- UI: Display network operstate in as badge. Hide deleted vms in nics lists.
Helpdesk suspend actions
Helpdesk application improvements
- Additional setting HELPDESK_ENABLED to be able to enable/disable helpdesk views.- Fix fixtures to play along with new network models- Include helpdesk default settings module
Support ip to account lookup
as an alternative method to helpdesk details view. If network interfaceexists with the passed ip, the details of the owner of the machine linked tothe network interface will be displayed.
Helpdesk improvements
- Display vm os- DIsplay network connected vms- Short view of user info- Other minor styling improvements
Helpdesk api fix
handle prefix that contains text after "@".
- New json view to return a list of existing users with a prefix ending with "@" to be used for autocompletion in helpdesk account name input.- Proper non existing account handling. If no vms or private networks exist for the specified account notify helpdesk user that the account...
Helpdesk authentication view wrapper fix
- avoid AttributeError when checking for request.user attribute to be present- deny access if no groups defined in user dict
Helpdesk permissions and filters
- deny access to users that don't belong to 'helpdesk' group- filter results based on account provided
Order results by state
Initial commit of helpdesk app