- 25 Nov, 2013 1 commit
-
-
Giorgos Korfiatis authored
Allow project enrollment and ownership only for users that are accepted, not just email_verified. Also change base quota only for accepted users.
-
- 22 Nov, 2013 1 commit
-
-
Giorgos Korfiatis authored
Make available in the API only resources with api_visible=True.
-
- 11 Nov, 2013 1 commit
-
-
Sofia Papagiannaki authored
-
- 09 Oct, 2013 1 commit
-
-
Giorgos Korfiatis authored
Remove custom manager that implemented select_for_update(), since this is already implemented in Django 1.4.
-
- 24 Sep, 2013 1 commit
-
-
Giorgos Korfiatis authored
Enrolling a user in a project now returns 409 if the project does not exist, rather than 404.
-
- 07 Aug, 2013 20 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Enrolling a user sets its membership state directly to ACCEPTED, also in case of REQUESTED.
-
Giorgos Korfiatis authored
Prefetch data in bulk queries in order to avoid continuously querying the database.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Define function `reinstate' to re-activate a terminated project. If its name is taken by another active project, it fails.
-
Giorgos Korfiatis authored
We need to make sure that the name to be approved is unique among all non-terminated projects. We thus acquire a global lock before approving.
-
Giorgos Korfiatis authored
Introduce model ProjectLog as well as fields in ProjectApplication in order to record all actions.
-
Giorgos Korfiatis authored
Record user who performed the action and optional reason.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Replace IOError and PermissionDenied with project-specific exceptions.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Identify a membership by its id only.
-
Giorgos Korfiatis authored
Replace ProjectMembershipHistory with ProjectMembershipLog, which records every state transition. Never delete any ProjectMembership entry; set it instead to an appropriate state.
-
Giorgos Korfiatis authored
Submit a project modification by specifying a project id rather than an application
-
Giorgos Korfiatis authored
Applications now point to a project (rather than an extra model Chain). A Project is created upon submitting an application; it always points to a single `reference' application. Model Chain is kept as a sequence to generate project ids.
-
- 16 Jul, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 12 Jul, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 28 Jun, 2013 2 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
- 17 Jun, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 04 Jun, 2013 1 commit
-
-
Kostas Papadimitriou authored
BASE_URL contains the prefix which is also included in paths returned from django's reverse utility. Thereby joining BASE_URL with a reverse result generates urls with duplicate BASE_PREFIX. Replaced BASE_URL with BASE_HOST in such cases.
-
- 03 Jun, 2013 2 commits
-
-
Georgios D. Tsoukalas authored
-
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)
-
- 28 May, 2013 1 commit
-
-
Giorgos Korfiatis authored
Email subjects are parameterized by site name and application- specific data. Other than that they should be constants rather than settings. Remove unused GROUP_CREATION_SUBJECT.
-
- 21 May, 2013 2 commits
-
-
Sofia Papagiannaki authored
Import astakos settings module instead of importing specific settings
-
Sofia Papagiannaki authored
-
- 20 May, 2013 4 commits
-
-
Giorgos Korfiatis authored
Keep UserSetting model; to be removed in a future version.
-
Giorgos Korfiatis authored
Lock project's chain for every operation affecting either a project or an application. Subsequently, lock user when needing to sync or to issue commission to update pending_app quota. In views, replace locking qh_add_pending_app with check_pending_app_quota, which will only query quota, so that to respect the above mentioned order. Order by id when locking multiple users.
-
Giorgos Korfiatis authored
Also add a missing import in quotas.py
-
Kostas Papadimitriou authored
Use synnefo_branding.util.render_to_string accross synnefo apps to be able to use branding variables within the templates.
-