- 03 Jun, 2013 2 commits
-
-
Georgios D. Tsoukalas authored
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded |_________________________________________________| SERVICE_BASE_URL - Introduce <SERVICE>_BASE_URL setting, and <API>_PREFIX constants for all services. Extract BASE_HOST, BASE_PATH from the setting. - Use settings and constants to construct top-level patterns (base-path/api-prefix) in services' urls.py - Refactor/extend proxy() to be compatible with the above. - Change URLs passed around (ui, e-mails) to be compatible. (needs more work) Notes: This configuration REQUIRES that any rewriting and proxying on the front-end must eventually result in the application server (gunicorn) getting the original path of the request, otherwise the view-generated URLs will be different. Changes: - set top-level urlpatterns from <SERVICE>_BASE_URL - rename setting: APP_INSTALL_URL to CYCLADES_BASE_URL - rename setting: ASTAKOS_URL to ASTAKOS_BASE_URL everywhere - introduce setting: PITHOS_BASE_URL - update shipped .confs, quick install admin guide, upgrade guide - fix urls/views/reverse()/other that were broken - (more not listed)
-
Georgios D. Tsoukalas authored
The csrf middleware is not to be installed with cyclades, therefore there is no need to use csrf_exempt.
-
- 31 May, 2013 6 commits
-
-
Christos Stavrakakis authored
Extend Network model with the 'drained' attribute, to indicate whether a network should be used in public IP allocation when creating servers. This option is only useful for public networks.
-
Kostas Papadimitriou authored
avoid redirecting user to the single view of the build vm
-
Kostas Papadimitriou authored
not so often, but providers do seem to change urls
-
Christos Stavrakakis authored
Wrap all calls to astakosclient for commissions to raise 500, if any error other than QuotaLimit(413) occurs.
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
removed the hardcoded mapping between cloudbar and dashboard elements
-
- 30 May, 2013 2 commits
-
-
Giorgos Korfiatis authored
-
Kostas Papadimitriou authored
-
- 29 May, 2013 24 commits
-
-
Kostas Papadimitriou authored
when project approval fails chain_id is set to None causing reverse to fail. Resolved by redirecting admin user to the projects list.
-
Kostas Papadimitriou authored
early initialiaztion of variables that used only when project is available
-
-
Olga Brani authored
Capitilize 'synnefo' in footer and remove space between v and version number in footer
-
Constantinos Venetsanopoulos authored
-
Kostas Papadimitriou authored
redirect browser back to tha page the action called from
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
used to redirect user back to the referer page if it's safe and possible
-
Olga Brani authored
Show reject/approve button in 'project pending members' page. Remove confirm dialog when user clicks outside dialog area. Minor style changes.
-
Constantinos Venetsanopoulos authored
The "Plankton" name is obsolete and should not appear in the API guides. We replace it with "Cyclades/Image" or just "Image" wherever it appears. Also wrap the API guide to 80 chars.
-
Ilias Tsitsimpis authored
This function uses the keystone alike authentication API of Astakos
-
Sofia Papagiannaki authored
* tenantName is optional in the request * check whether the token holder is active and the token has not been expired * update and fix the tests * update the docs
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
https://code.grnet.gr/git/synnefoKostas Papadimitriou authored
Conflicts: snf-astakos-app/astakos/im/views/projects.py
-
Kostas Papadimitriou authored
udpated project members template to properly post selected membership ids to the appropriate urls.
-
Kostas Papadimitriou authored
added new view to handle multiple project members actions. View accepts multiple `members` parameters containing project membership ids. /<chain_id>/members/remove/ -> removes project membership ids /<chain_id>/members/accept/ -> approves posted membership ids /<chain_id>/members/reject/ -> rejects posted membership ids
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
Conflicts: snf-astakos-app/astakos/im/templates/im/projects/intro.html snf-astakos-app/astakos/im/templatetags/astakos_tags.py snf-astakos-app/astakos/im/urls.py snf-astakos-app/astakos/im/views.py
-
- 28 May, 2013 6 commits
-
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
The ``X-Forwarded-Host`` header should not be forwared to the target because django appends its value to the Host header and results in validate_host() failure.
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Constantinos Venetsanopoulos authored
Since the Image Service is not going to be decoupled from Cyclades we will stop calling it with a different name because it is frustrating for people who are trying to understand the Synnefo architecture and the interaction between different services. We will keep all references to "plankton" inside the code, but we remove all references inside the documentation. From now on "Plankton" will be just called "The Image Service" and we will note that it is a part of Cyclades. The same already happens with "The Network Service", which doesn't have a special name since it's part of Cyclades too. This patch removes all Plankton references inside the documentation, except from those inside `docs/plankton-api-guide.rst' which will be removed with a separate patch.
-