Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im @ 9b3081a6

# Date Author Comment
9b3081a6 01/07/2014 03:27 pm Giorgos Korfiatis

astakos: List quota for accepted users only

Don't attempt to show quota for non-accepted users, since they don't have
any.

b1697f6b 12/20/2013 03:35 pm Constantinos Venetsanopoulos

astakos: fix tests after verbal message changes

c3d059f5 12/20/2013 02:25 pm Constantinos Venetsanopoulos

astakos: 'activation' -> 'verification'

Change all Astakos messages to reflect the new sign up procedure:

  • first send a verification email
  • user clicks on verification link
  • mark as pending moderation
  • activate
2c6bc262 12/20/2013 02:07 pm Kostas Papadimitriou

astakos: Update astakos tests

d0d3646d 12/20/2013 02:00 pm Kostas Papadimitriou

astakos: Handle third party unverified user change password form submition

bd2c6bc5 12/19/2013 05:09 pm Kostas Papadimitriou

astakos: Improved email validator

Custom EmailValidator class backported from django 1.6

d7030402 12/19/2013 05:09 pm Kostas Papadimitriou

astakos: Existing third party identifier handling in signup

remove both existing third party authentication and unverified user entries
when the third party identifier gets used.

69a6ca1a 12/19/2013 05:09 pm Kostas Papadimitriou

astakos: Prerender password input value in profile form

95b7c3f6 12/19/2013 05:09 pm Kostas Papadimitriou

astakos: Improve invalid activation code handling

display error message instead of returning a 404 response

300ad310 12/19/2013 05:09 pm Kostas Papadimitriou

astakos: Auth provider presentation fix

prevent encoding errors

526dad9e 12/12/2013 02:17 pm Olga Brani

astakos: style fix for sortable tables thead

91a9dbe4 12/05/2013 02:39 pm Giorgos Korfiatis

astakos: Hide empty project list in view

11d5fd8b 12/05/2013 12:13 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.

Conflicts:

snf-astakos-app/astakos/im/views/target/shibboleth.py
b08aadc0 12/05/2013 12:13 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...

412048af 12/05/2013 12:13 pm Kostas Papadimitriou

astakos: Log shibboleth exception and merge fixes

ea05b306 12/04/2013 04:40 pm Sofia Papagiannaki

astakos: Fix test

5764728a 12/03/2013 09:47 pm Sofia Papagiannaki

astakos: Revoke access granted to resource

be67d92e 12/03/2013 09:47 pm Sofia Papagiannaki

astakos: Minor improvements in validate token api call

Add tests for validate access token endpoint

671e4232 12/03/2013 09:47 pm Sofia Papagiannaki

astakos: Additional tests for validating access token

2f8a7c0e 12/03/2013 09:47 pm Sofia Papagiannaki

astakos: Configure oa2 app

e28a4841 12/03/2013 09:43 pm Sofia Papagiannaki

astakos: Extend oa2 app

2aba7764 12/03/2013 02:44 pm Sofia Papagiannaki

snf_django: Change error status code if request method is not valid

Return 405 (NotAllowed) instead of 400 (BadRequest)
Add Allow header in the response containing the list of valid methods

91884d63 11/29/2013 02:26 pm Giorgos Korfiatis

Add some missing Copyright notices

Also add 2013 in package COPYRIGHT files.

af4d8c34 11/28/2013 01:13 pm Giorgos Korfiatis

astakos: Cache endpoints in POST /tokens

Since endpoints are rarely altered, we speed up POST /tokens by caching
them.

56bbece7 11/28/2013 01:13 pm Giorgos Korfiatis

astakos: Cache visible resources in GET /quotas

Speed up GET /quotas by caching the list of API visible resources.
For consistency, apply the cache in GET /resources, too.

733f013d 11/25/2013 04:54 pm Giorgos Korfiatis

astakos: Associate only accepted users with projects

Allow project enrollment and ownership only for users that are accepted,
not just email_verified.

Also change base quota only for accepted users.

1808f7bc 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Refactor user creation

Provide auth.make_user() as the single way to create a new user. This
function is responsible to set all automatically generated fields, such as
username, uuid, and token. Clean up AstakosUser.save(), that used to
update these fields, and remove AstakosUser.__init__(). Remove trigger...

fa1e77f4 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Make user uuid field non-null

Set a uuid to any user missing one and set the field null=False.

f6ff3033 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Lock user in im views

Make sure that views modifying users run in a transaction and lock users
before updating.

ef1fb98b 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Reset user sign flags when adding new terms

When new terms are added, set has_signed_terms=False for all users, forcing
them to accept the new terms. If there are no terms, a new user is created
with has_signed_terms=True.

With this change we can skip querying the terms when authenticating a user,...

fb619437 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Use TestCase instead of TransactionTestCase

We need to be sure that code runs in a transaction (provided by TestCase).
If we need in some case to test the transactional behavior itself,
we could there use TransactionTestCase.

5ae8216a 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Remove unused user creation forms

InvitedLocalUserCreationForm, InvitedThirdPartyUserCreationForm,
ShibbolethUserCreationForm, and InvitedShibbolethUserCreationForm
were not used.

e066eedb 11/25/2013 03:47 pm Giorgos Korfiatis

astakos: Correct realname splitting

If a realname splits in more than two parts, store the whole value
as last_name. Also use the util function rather than initializing
a temporary AstakosUser, where needed.

47ea6978 11/25/2013 11:32 am Sofia Papagiannaki

astakos: Remove stack traceback

c94dcec3 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve visibility flags on register

When re-registering an existing resource, do not override the visibility
flags. They may have been modified by the administrator.

Also fix field naming in resource-list.

5a0f9d6c 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Enhance quota listing

Enable filtering quota by resource, over limit status, usage and
limit values.

45112d5a 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Modify base quota in bulk

Add option `--all' in command user-modify to support setting base quota
for all users. Exceptions can be specified with `--exclude'.

Also select user for update in user-modify.

548938f6 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Speed up setting quota for one resource

When registering a new resource or updating base quota for a single
resource, compute and set holdings just for this resource.

46b6a8b4 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Speed up computing initial_quota

Restructure code to avoid an extra join and dict manipulations.

d5421da4 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Revert moderation of non-verified users

Migration 0031 accepted users to whom activation email had been sent, even
if their email had not been verified. This is an inconsistent state. We
set moderated = False for inactive users. If there are any active users in...

2e46be99 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Make limits possibly infinite

Register new resources with unlimited quota.

d61d6007 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Rename --limit to --default-quota

Use a more descriptive name for this resource-modify option. Also change
resource-list column `limit' to `default_quota'.

f72ba65d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Preserve existing quota on default change

View the resource defaults as a skeleton to be consulted when accepting
a new user. All users keep their quota in AstakosUserQuota.

Operate resource-modify in bulk, in order to avoiding updating the
quotaholder separately for each resource.

2dc27ac1 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Add resource visibility flags

Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'.
The former entails the latter.

85ae5a4c 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Restrict resource access in API

Make available in the API only resources with api_visible=True.

a69ad12b 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Split quota commands

Introduce quota-list and quota-verify.

90e7da53 11/22/2013 04:44 pm Giorgos Korfiatis

Remove resource import/export commands

They have been subsumed by the respective service import/export commands.

b22da62e 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Avoid multiple user lookups in quota sync

Also, remove unneeded param of astakos_users_quotas.

30edd93d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Recompute quota when updating a resource

Avoid stateful update of holdings when a resource limit changes; rather
recompute and set all affected users' quota.

41e92ef2 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Replace decimal field with bigint

Any values that happen to be greater than the new max (2**63-1)
are reduced to this value.

72313b77 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: pep8 fixes

c8a38c0e 11/21/2013 02:10 pm Christos Stavrakakis

cyclades: Export Astakos detailed stats from API

Add new 'astakos_admin' service to export basic statistics about Astakos
service. The stats are exported via the '/admin/stats/detail' API endpoint.
Access to this view is only allowed to the users that belong to specific...

79f67df6 11/21/2013 01:28 pm Christos Stavrakakis

astakos: Command to export Astakos statistics

Add new 'snf-manage stats-astakos' management command to export basic
statistics about Astakos, like number of total, active and verified users per
authentication mechanism, together with resource usage for each resource. The...

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

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.

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.

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.

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.

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.

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

wheezy: urls module doesn't export defaults

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.

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.