Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app @ 5083fc47

# Date Author Comment
5083fc47 11/15/2013 02:13 pm Christos Stavrakakis

Rename 'cpu' and 'ram' resources

Rename CPU and RAM relative resources to avoid data migrations.
Specifically, the resources that are renamed are the following:

  • cpu -> total_cpu
  • ram -> total_ram
  • active_cpu -> cpu
  • active_ram -> ram
67ef560b 11/14/2013 02:05 pm Giorgos Korfiatis

astakos: Speed up POST /tokens

Prefetch endpoint entries to avoid multiple queries.

a1dae38d 11/12/2013 01:34 pm Christos Stavrakakis

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...

bd49a6df 11/11/2013 04:07 pm Giorgos Korfiatis

astakos: Fix user status in project test

Set users as moderated, so that they have proper quota.

80a548e3 11/11/2013 12:59 pm Christos Stavrakakis

Merge branch 'master' into develop

Conflicts:
Changelog
astakosclient/astakosclient/keypath.py
ci/utils.py
docs/admin-guide.rst
snf-astakos-app/astakos/im/cookie.py
snf-astakos-app/astakos/im/functions.py
snf-astakos-app/astakos/im/quotas.py
snf-astakos-app/astakos/im/views/projects.py...

d59f5608 11/11/2013 11:42 am Sofia Papagiannaki

astakos: Fix logging issues

ccc5048f 11/08/2013 12:25 pm Giorgos Korfiatis

astakos: Relax checks in resource registration

Allow registering a resource for a different service, if it originates
from the same component.

0b315fc9 11/08/2013 12:25 pm Giorgos Korfiatis

astakos: Update resource definitions in script

447475de 11/01/2013 12:22 pm Giorgos Korfiatis

astakos: Add presentational data for new resources

Define how resources cyclades.active_ram, cyclades.active_cpu, and
cyclades.floating_ip will be viewed on Usage and project creation pages.

4f21f4a6 11/01/2013 12:22 pm Giorgos Korfiatis

astakos: Fix resource_catalog cleanup

Do not use list index for deleting list elements; it is unstable.

b4b82ec4 10/29/2013 04:15 pm Giorgos Korfiatis

astakos: Remove call GET /authenticate

Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()
and replace its uses by AstakosClient.authenticate().

81e604c5 10/29/2013 03:37 pm Ilias Tsitsimpis

astakos: Move astakos_services from astakosclient

Move astakos_services from astakosclient to astakos.api.services.

6f8a3e6a 10/18/2013 05:14 pm Giorgos Korfiatis

astakos: Consider no base url in service register

Check whether component's base_url is None before assuming a string.

b8985188 10/18/2013 03:46 pm Giorgos Korfiatis

astakos: Fix system setup in stress test

fb4ef6eb 10/16/2013 09:21 pm Kostas Papadimitriou

astakos: Activation view improvements

Reject empty activation code requests

5bc77346 10/15/2013 06:03 pm Giorgos Korfiatis

astakos: pep8 fixes

4ed19ae2 10/15/2013 03:34 pm Giorgos Korfiatis

astakos: Add missing save in reject_user

3848b521 10/15/2013 03:34 pm Giorgos Korfiatis

astakos: Handle quota for accepted users

A user is accepted if moderated=True and is_rejected=False. Only
accepted users have entries in the quotaholder.

44aa52fd 10/11/2013 04:00 pm Giorgos Korfiatis

astakos: Update project-list help text

Cleanup project status description in management command project-list.

bb528b2e 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: pep8 fix

c7e03d20 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: Remove custom ForUpdateManager

Remove custom manager that implemented select_for_update(), since this
is already implemented in Django 1.4.

1b25228f 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: Use bulk_create in migrations

a3e3917f 10/09/2013 04:52 pm Giorgos Korfiatis

astakos: Remove custom commit_on_success decorator

Prior to 1.3, django wouldn't set the transaction dirty upon a DB
exception and thus wouldn't trigger a rollback, resulting in a dangling
aborted DB exception. See https://code.djangoproject.com/ticket/9964...

45a4e443 10/09/2013 02:40 pm Kostas Papadimitriou

astakos: Separate templates in project creation

instead of including application form summary template in the application form
view, render it from scratch. This resolves a bug caused when using django>1.2
since block tags within the included templates are not supported....

3407774b 10/08/2013 01:58 pm Kostas Papadimitriou

astakos: Additional login form test

test empty POST dict form submition

b8633f0c 10/08/2013 01:58 pm Kostas Papadimitriou

astakos: Cache cleanup for recaptcha tests to work

9eb2c9a6 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: user-modify command enhancements

New option ``--delete`` to permanently delete a user entry.
New option ``--set-email`` to change user's email address.

a661dfb2 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: Test ratelimit/recaptcha functionality

c1f65a1e 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: Set initial signup values if available

prefill third party signup form with initial values (first name, last name,
email) if available in the third party provider response.

6a80a0ae 10/07/2013 05:52 pm Kostas Papadimitriou

astakos: Shibboleth EPPN migration functionality

Prior to this commit astakos used the mod_shib2 EPPN header value as the
unique identifier for associating shibboleth idp users to astakos user entries.

This commit alters this behaviour and from now on astakos resloves unique...

63c07fdd 10/07/2013 04:00 pm Kostas Papadimitriou

astakos: Separate templates in project creation

instead of including application form summary template in the application form
view, render it from scratch. This resolves a bug caused when using django>1.2
since block tags within the included templates are not supported.

ed355f9a 10/07/2013 03:26 pm Kostas Papadimitriou

astakos: Store arbitrary shibboleth headers

additionally to common shibboleth headers, append any arbitrary shibboleth
headers (SHIB_*) set from the IdP.

64cfc21e 10/07/2013 02:58 pm Kostas Papadimitriou

astakos: Correctly set user password in user-add

password field contains the user password in hashed format. The proper way
to populate the field is by using the set_password method of the user object.

1b27f8a2 10/04/2013 01:55 pm Giorgos Korfiatis

astakos: Handle quota for moderated users only

At some points, verified users where mistakenly assumed.

6b256427 10/01/2013 06:56 pm Christos Stavrakakis

Request Django=>1.4, <1.5

Drop support for Django 1.2. Remove compatibility code that were used in
order to support Django 1.2 and 1.4. Finally update django documentation
link in the docs.

b694875c 10/01/2013 06:56 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

From django docs:
"""
HttpRequest.raw_post_data renamed to HttpRequest.body

This attribute was confusingly named HttpRequest.raw_post_data, but it
actually provided the body of the HTTP request. It’s been renamed to...

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

f98e9f6f 10/01/2013 04:58 pm Giorgos Korfiatis

astakos: Avoid spaces in field names

Rename fields in component-list management command so that they do not
contain spaces.

51356707 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Fix service update

When registering a service that already exists, update its attributes.

5bbc6340 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Remove trailing slash from example URLs

Since endpoint URLs do not end with slash any more, adapt base and ui URL
examples for uniformity.

eb765213 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Store base URL in component

Deployer should provide it when adding a new component. Service endpoints
originating from a component are expected to match its base URL; otherwise,
a warning is issued during service registration. Re-registration with...

6ef1e2eb 10/01/2013 02:56 pm Giorgos Korfiatis

astakos: Show component details

Introduce management command `component-show', which lists component
attributes, including a list with the related registered services.

8299ef23 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: Rename depricated HttpRequest attribute"

This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

cfc4b87c 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

From django docs:
"""
HttpRequest.raw_post_data renamed to HttpRequest.body

This attribute was confusingly named HttpRequest.raw_post_data, but it
actually provided the body of the HTTP request. It’s been renamed to...

0eb1f53a 09/27/2013 02:13 pm Ilias Tsitsimpis

Fix a python syntax error

In python 2 we cannot have keyword-only arguments (PEP 3102).
And even if we could, this was not the right way to
declare a python function.

554ef175 09/27/2013 10:49 am Christos Stavrakakis

astakos: Replace commit_manually decorator

Replace commit_manually decorator with commit_on_success, since the
functions that were using this decorator did not really needed it.

60b59fed 09/26/2013 02:47 pm Ilias Tsitsimpis

astakos: Fix `save() got unexpected argument'

From Django documentation:
"""
It’s also important that you pass through the arguments that can be
passed to the model method – that’s what the *args, **kwargs bit does.
Django will, from time to time, extend the capabilities of built-in...

b2b32926 09/26/2013 01:04 pm Ilias Tsitsimpis

astakos: Don't use `user.__dict__'

In Django 1.4 the `request.user' returns a SimpleLazyObject instead
of a LazyUser. The equivalent of `user.__dict__' is now
`user._wrapped.__dict__'. In order to be backward compatible
we are requesting explicitely the attributes we want and not...

0e553052 09/25/2013 12:11 pm Giorgos Korfiatis

astakos: Fix project identification in test

Test was mistakenly using application id rather than project id in
some occasions.

bbefd4d7 09/25/2013 12:09 pm Giorgos Korfiatis

astakos: Fix quota API test

Sort list before comparing, since ordering in the response data is
not specified. Triggered when run with postgres.

90e8267c 09/25/2013 10:26 am Christos Stavrakakis

Add messages context processor to default settings

a6b17d33 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: urls module doesn't export defaults

f82ed034 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: Update Django dependency to <=1.4.5

d915cf3c 09/24/2013 02:11 pm Giorgos Korfiatis

astakos: Remove duplicate project query

Enrolling a user in a project now returns 409 if the project does
not exist, rather than 404.

dfc9d184 09/24/2013 11:17 am Christos Stavrakakis

Update South dependency to >=0.7.3

a6020daf 09/20/2013 03:49 pm Giorgos Korfiatis

astakos: Remove 0.14-specific migration script

ed2064f8 09/18/2013 05:17 pm Christos Stavrakakis

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...

9ab3c6a3 09/16/2013 10:18 am Olga Brani

branding: new setting FOOTER_EXTRA_MESSAGE

FOOTER_EXTRA_MESSAGE setting appears above Copyright message at the
Compute templates and the Dashboard UI. Accepts html tags.

5718706f 09/12/2013 06:26 pm Giorgos Korfiatis

astakos: Add missing cyclades service in script

759b8a43 09/12/2013 06:26 pm Giorgos Korfiatis

pithos: Clear pithos_public endpoint's versionId

pithos_public service is not an API and should not be versioned; the
public URLs operated by pithos do not include a version segment, anyway.

Also make its type more specific, since type `public' is too generic.

347b2ba1 09/12/2013 06:26 pm Giorgos Korfiatis

common: Strip trailing slash from endpoints

Remove trailing slash from the endpoints' publicURL field in service
definitions. These values end up in the response of POST /tokens, and,
according to the keystone API, should not end in slash. A trailing slash...

fbc82ad1 09/10/2013 04:05 pm Constantinos Venetsanopoulos

astakos: fix verification message

The new registration process of Astakos allows to verify the new
user's email before actually activating the user:

1. User signs up providing an email
2. A verification email is sent to the user (with verification link)...

3d08cdca 09/04/2013 07:48 pm Sofia Papagiannaki

astakos: Fix approval_terms view

Fix crash when request user is not logged in.
Add tests

beb2b785 08/30/2013 12:01 pm Christos Stavrakakis

Move middlewares from snf-common to snf-webproject

49044e69 08/30/2013 12:01 pm Christos Stavrakakis

Move context_processors from common to middleware

e98239db 08/28/2013 04:36 pm Giorgos Korfiatis

astakos: Force a members limit in project applications

a23ac2f7 08/28/2013 03:22 pm Giorgos Korfiatis

astakos: Restrict project naming in API call

Use the same regex as in the UI, which matches domain-name-like strings.

59fa4893 08/27/2013 05:16 pm Olga Brani

astakos: Style for resource:ip (Dashboard->Usage)

98ea47ae 08/27/2013 03:44 pm Olga Brani

astakos: Correct padding auth methods headers

7ec9df5b 08/20/2013 03:15 pm Giorgos Korfiatis

astakos: Remove unneeded .settings directory

82a53261 08/09/2013 11:54 am Giorgos Korfiatis

astakos: Disable pagination and ordering in project tables

Prepare the tables for client-side ordering.

bb74d166 08/09/2013 11:54 am Olga Brani

astakos: project table client-side sorting

Client-side sorting and pagination for project-list tables

a5aa11ee 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix enroll when already requested

Enrolling a user sets its membership state directly to ACCEPTED, also
in case of REQUESTED.

2556cf45 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Describe and implement API for projects

0656aaa7 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: pep8 fix

6d583e07 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Simplify project schema

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.

c4028837 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Remove precursor_application field

Submit a project modification by specifying a project id rather than
an application

1a14083b 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Change project membership schema

Replace ProjectMembershipHistory with ProjectMembershipLog, which
records every state transition. Never delete any ProjectMembership
entry; set it instead to an appropriate state.

f243d667 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Adapt UI to new project schema

Base tables on projects rather than applications; update templates.

dc946891 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Omit project_id in membership operations

Identify a membership by its id only.

6335ad6f 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Lock project rather than chain

866e5768 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Cleanup checks for membership actions

b2369828 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Set project-wise resource limit in new app

e1723ca1 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Return membership when joining project

9024ed2e 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Catch exceptions in submit app views

Ignore exceptions in custom _create_object and _update_object;
let the views handle exceptions and specify commit strategy.

f12bcb3d 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Raise project-specific exceptions on failure

Replace IOError and PermissionDenied with project-specific exceptions.

c5b0bbb7 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Define permission levels for project actions

71c741dc 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Refactor membership checks for conciseness

da4ac460 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Add log info in membership actions

Record user who performed the action and optional reason.

50f74340 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Adapt tests to the new project schema

5cdbe7cc 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix sqlite-related migration issues

As per 63bcab0, do not attempt to delete index when run on sqlite.

88beea39 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Improve logging for Projects and Applications

Introduce model ProjectLog as well as fields in ProjectApplication
in order to record all actions.

1b52192e 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Lock globally when approving application

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.

e872c133 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Allow re-activation of terminated projects

Define function `reinstate' to re-activate a terminated project. If its
name is taken by another active project, it fails.

5192a608 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Remove unused ExtendedManager

3e87075a 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Use units common code in the UI

51db2da2 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Fix some issues pointed out by pyflakes

9096ffbb 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Update the project stress test

b10ceccd 08/07/2013 12:01 pm Giorgos Korfiatis

astakos: Enhance project tables rendering

Prefetch data in bulk queries in order to avoid continuously querying
the database.

d758784b 08/05/2013 02:39 pm Christos Stavrakakis

Fix stale import statements

Commit 7cfc0ce moved code from webproject to snf_django. This commit
fixes some stale imports that skipped renaming.