Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app @ 9a94c0f1

# Date Author Comment
9a94c0f1 02/26/2014 05:53 pm Giorgos Korfiatis

astakos: Remove unused lazy_string

5a6cee09 02/21/2014 04:05 pm Christos Stavrakakis

snf_django: Handle unicode errors in JSON bodies

Catch unicode errors when JSON deserializing the body of a request.
Also, rename 'get_request_dict' function to 'get_json_body', as it is a
more represenative name for what the function is doing.

dd759d76 02/20/2014 04:41 pm Giorgos Korfiatis

astakos: Fix states in project migration

Denying an application does not set the project deleted. It must still be
visible until the application is dismissed.

c2a78208 02/20/2014 04:41 pm Giorgos Korfiatis

astakos: Omit base projects by default in listing

Add option `--base-projects' to include base projects in the output of
project-list management command.

9c6d629f 02/19/2014 06:19 pm Giorgos Korfiatis

Remove keypath, use common dict operations instead

Replace get_path with dict indexing. Remove unused setting
`CYCLADES_CUSTOMIZE_SERVICES' that used set_path. Remove the util/keypath.py
module.

dfc7aab7 02/19/2014 06:19 pm Giorgos Korfiatis

Replace set_path with defaultdict in quota handling

2a811e37 02/19/2014 06:19 pm Giorgos Korfiatis

Revert "common: Do not encode key paths as string"

This reverts commit b10f66b9a20fb9dca0a56c88d5d224f1e3fa25ea.

d9fca80b 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Do a PUT to modify project, not POST

Replace POST with PUT in the API call the modifies a project.

9efd0075 02/13/2014 04:20 pm Kostas Papadimitriou

astakos: A bit of refactoring of projects views

- Update project views to work with the updated projects logic
- Use api.projects methods when applicable
- Common project view decorator
- Common view for app/project details

8735e44e 02/13/2014 04:20 pm Kostas Papadimitriou

astakos: Filter out not associated sources from user quota api response

return only resources that are related to projects the user has active
membership to.

4df9dfc9 02/13/2014 04:20 pm Kostas Papadimitriou

astakos: Display both summed up and per project quota in usage view

0de7c5a7 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Make project-list a ListCommand

Use --filter-by to filter by owner and name.

Refs #5014

f8cac8c7 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Adapt resource reconciliation

Assume base project when reconciling astakos resources.

9202a57d 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Fix project notification recipients

Notify applicant on an application action; notify project owner on project
actions if owner exists.

6debe235 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Disallow base project termination

Base projects accompany users and should not be arbitrarily terminated.

edc51a21 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Add member mode in GET projects

Get only active projects where request user is an active member if mode is
set to `member'.

a1ff970b 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Filter with GET params in project API

Pass GET options in project API calls as GET parameters rather than a json
body.

2070c5f8 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Update tests

5dc97d69 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Add command project-modify

Add a management command that directly modifies an initialized project.

fe4000a3 02/13/2014 04:20 pm Giorgos Korfiatis

quotaholder: Do not check provision integrity

The API is responsible to provide valid data to the backend.

daa780fa 02/13/2014 04:20 pm Giorgos Korfiatis

quotaholder: Merge similar provisions

Make sure that issue_commission handles a single provision per (holder,
source, resource) tuple by merging similar provisions.

bf644f91 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Refactor resource-modify

Remove interactive operations, rename default-quota to base-default.

ba8c50e5 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Modify resource project default

Add support in resource-modify for changing the project_default.

dccd7fa0 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Get service related project quota

Add API call for a service to request the project quota for its own
resources.

a53ec93b 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Sync project-based quota

Update quota code to take into account the differentiated sources.
There is no more need to lock the user when updating quota; locking
the project is now adequate.

Update quota listing in management commands; introduce option --quota in...

44d950c6 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Improve printing in quota-verify

Also add option to delete project and user holdings that do not correspond
to actual astakos entities.

64a43a9a 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Disable setting user base quota

Remove functionality from management commands `quota' and `user-modify'
for setting base quota. They will now be handled through projects.

362dadaa 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Adapt to new project/app scheme

c3763b39 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Make ProjectResourceGrant fields non null

Field project_capacity now requires a value; field project_application
was mistakenly set nullable.

2c1a5a15 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Introduce base projects

Every user is associated with a special-purpose `base' project. Its
mission is to manage the user's base quota.

2c960473 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Make base project when creating user

Make base project along with the user with the same uuid. Enable the
project upon user acceptance.

d1c95ad9 02/13/2014 03:19 pm Giorgos Korfiatis

astakos: Mark project membership as initialized

Add flag `initialized' on ProjectMembership. It is set to true once a user
is accepted. It is used to distinguish users that have registered
project quota (but may have been removed since then).

508e13e3 02/13/2014 03:19 pm Giorgos Korfiatis

quotaholder: Migrate holdings for pool projects

Recreate quota holdings for all initialized projects and memberships.

552df4cd 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Fill grants' project_capacity

Each resource grant that a project provides is now also associated with
a project-level limit. This is set by consulting the existing user-level
limit and the max members allowed. If the latter limit is not set, we
consider the project's current number of active members.

5e3c112a 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Add project default in resources

Add field `project_default' in resources. This will serve as a skeleton to
fill project quota (both project-level and member-level limits) for
resources not specified by the application.

The field is initialized by consulting the default base quota (field...

8af74daf 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Make limit_on_members_number a bigint

We need bigint in order to represent infinite as 2**63-1.

11922155 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Replace application None values

None will from now on denote a missing field of the application. Use empty
string for missing string and the conventional max int (2**63-1) for a
missing limit.

2ffe077d 02/12/2014 06:48 pm Giorgos Korfiatis

astakos: Store all project info on the project model

A project entry will contain all information needed to operate a project.
An application will store just the information provided by the applicant.

88f5242e 02/12/2014 06:47 pm Giorgos Korfiatis

astakos: Identify projects with a uuid

Introduce field `uuid'; use it to refer to projects in the API and the
management commands.

9255938e 02/10/2014 02:40 pm Kostas Papadimitriou

astakos: Typo fix

7f3bbafa 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Reduce import clutter in functions.py

84498bca 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Refactor notification code

Introduce generic notify functions that consult a dict for a given action.

74c9dfca 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Remove unneeded argument

62d30634 02/10/2014 02:40 pm Giorgos Korfiatis

astakos: Introduce private projects

A private project can only be accessed by its owner and its members.
No user can join the project; but the owner can enroll members.

b10f66b9 02/10/2014 01:36 pm Giorgos Korfiatis

common: Do not encode key paths as string

Handle explicitly key paths as lists of keys. This allows the key
to be any python object, as is the case in python dicts.

Provide utility unpack() to convert from a string representation to
a list of keys. It assumes that a key is either a string or an integer...

27e51b28 01/30/2014 04:48 pm Olga Brani

astakos: Change contact form textarea size

9dd66900 01/23/2014 02:28 pm Kostas Papadimitriou

astakos: Display auth provider identifier in user-show command

68122bae 01/22/2014 06:41 pm Sofia Papagiannaki

astakos oa2: Fix request authorisation code failures due to unicode issue

If the object to be urlencoded has its own urlencode() method,
use this instead.

Refs: #4971

db34e6ad 01/22/2014 03:33 pm Kostas Papadimitriou

astakos: Prevent erroneus race conditions in simultaneous signups

Refs: #4966

3d6d8464 01/22/2014 12:11 pm Christos Stavrakakis

cyclades: Improvements to Astakos stats

Improve the exposed stats from the Astakos API and the way they are
displayed in 'stats-astakos' management command.

28456640 01/20/2014 04:07 pm Kostas Papadimitriou

astakos: Handle pending third party provider validation issues

skip validation errors and reset invalid field values for received user
metadata.

f9d665e4 01/20/2014 01:39 pm Christos Stavrakakis

astakos: Fix bug in Astakos stats view

'ASTAKOS_AUTH_URL' setting is not present in Astakos node.

d56fa78c 01/17/2014 04:59 pm Giorgos Korfiatis

Catch EOF in astakos/quota commands

Abort operation when raw_input raises an EOFError.

d9a7f0bb 01/17/2014 04:57 pm Giorgos Korfiatis

Fix stdout/stderr write in astakos/quota commands

Write actual command output and user prompts to stdout; error and progress
messages to stderr.

c985de5c 01/15/2014 12:13 pm Sofia Papagiannaki

astakos oa2: Improve tests

cb618cc0 01/14/2014 05:46 pm Sofia Papagiannaki

astakos oa2: Restrict redirect URI length during client registration.

Apply the check in the oauth2-client-add snf-manage command.

Refs: #4804

b806a15a 01/09/2014 01:09 pm Sofia Papagiannaki

astakos oa2: Set a redirect URI length limit.

This limit is configurable and is applied in the api level.

Refs: #4804

8a217fa2 01/08/2014 06:05 pm Olga Brani

astakos: Filter for project-list table

36dacb92 01/08/2014 06:05 pm Olga Brani

astakos: Table manipulation using DataTables.js

Pagination, filtering and sorting of tables in projects-list
and members-list view is done client-side using DataTables.js

fb9d96e9 01/08/2014 06:05 pm Olga Brani

astakos: Table manipulation style improvments

bd47df34 01/08/2014 06:05 pm Olga Brani

astakos: Fix members list table checkbox bug

99ec73ba 01/08/2014 06:05 pm Olga Brani

astakos: Extend form.innerlabels cookie bug fix

bdd13ca7 01/08/2014 05:46 pm Kostas Papadimitriou

astakos: Typo fix

6d9f2d63 01/08/2014 05:46 pm Kostas Papadimitriou

astakos: Django 1.4.1 compatibility

3f40ce16 01/08/2014 05:46 pm Kostas Papadimitriou

astakos: Handle invalid provider ids

9e900cc5 01/08/2014 05:46 pm Kostas Papadimitriou

astakos: Update tests

43b4d5e8 01/08/2014 05:46 pm Kostas Papadimitriou

astakos: Fix add members url in project details view

e508cd2b 01/08/2014 05:03 pm Giorgos Korfiatis

quotaholder: Delete holdings of non-accepted users

Delete all holdings with a holder that does not correspond to an accepted
user uuid. This is expected to affect only holdings with zero usage, because
an astakos migration has previously accepted users with non-zero usage for...

84f6149c 01/08/2014 05:03 pm Giorgos Korfiatis

astakos: Disallow deletion of accepted users

1e3612ac 01/08/2014 05:02 pm Giorgos Korfiatis

astakos: Accept users with non-zero quota usage

Due to a non-handled case during the introduction of the user moderation
framework, there can exist non-accepted users with non-zero quota usage.
This can have happened if a user was set inactive before that migration....

d8e3cf57 01/08/2014 04:35 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.

07239400 01/08/2014 04:35 pm Giorgos Korfiatis

quotaholder: Revert holding deletion

Revert deletion of holdings for non accepted users, introduced in cfc934f.

e6ec1867 12/29/2013 07:08 pm Kostas Papadimitriou

astakos: Fix initial resource usage ordering

ed9223c7 12/20/2013 07:17 pm Sofia Papagiannaki

astakos oa2: Handle failures due to too long redirect urls

Change database field to TextField in order to avoid restrictions on the
redirect url lengths
Update tests

This fix introduces a database migration of the oa2 app

Refs: #4804

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

f77fa71d 12/20/2013 01:05 pm Sofia Papagiannaki

astakos: Update snf-manage oauth2-client-list command

Remove the name field

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

698016f7 12/18/2013 05:24 pm Sofia Papagiannaki

astakos: Fix view requests for objects whose name contains /

Astakos erroneously made assumptions about the requested redirect_uri format.
This is not anyway desirable and it was also responsible for view failures
under certain circumstances.
This fix implements a clearer check for the requested redirect_uri without...

cfc934ff 12/17/2013 04:12 pm Giorgos Korfiatis

quotaholder: Delete holdings of non-accepted users

Users would previously acquire quotas on email verification; this is now
done on user acceptance. We delete holdings for non-moderated and for
rejected users.

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

astakos: style fix for sortable tables thead

0452c7c9 12/10/2013 06:08 pm Sofia Papagiannaki

astakos: More logging fixes

6c966fb7 12/10/2013 05:48 pm Sofia Papagiannaki

astakos: Fix logging issue

ae73cdc0 12/10/2013 04:22 pm Sofia Papagiannaki

pithos: Fix view issue with unicode paths

03ce7d7d 12/05/2013 02:58 pm Sofia Papagiannaki

astakos: Fix POST /tokens (authenticate) api call

The call should return a string value for the user role id.

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

astakos: Hide empty project list in view

0d9523c3 12/05/2013 01:01 pm Giorgos Korfiatis

astakos oa2: Use common test code to make a user

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

dfdd413b 12/04/2013 07:02 pm Sofia Papagiannaki

snf_ci: Add oa2 app tests

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

astakos: Fix test

64a45988 12/03/2013 09:49 pm Sofia Papagiannaki

astakos oa2: Add copyright notes

72bb411a 12/03/2013 09:49 pm Sofia Papagiannaki

astakos: Fix oauth2-client-delete command

Delete related authorization codes and tokens before deleting the client