Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app @ 6da04174

# Date Author Comment
6da04174 05/02/2013 11:54 am Giorgos Korfiatis

astakos: Make submit_application arguments explicit

5a6420ec 05/01/2013 11:35 pm Giorgos Korfiatis

astakos: Remove unneeded import of a constant

eee9ec4d 05/01/2013 05:28 pm Giorgos Korfiatis

astakos: Cleanup input of submit_application

Form passes only a tuple (name, limit) for each selected resource,
omitting presentational data.

3966d268 05/01/2013 04:43 pm Giorgos Korfiatis

astakos: Handle pair of exceptions properly

6be5bb34 05/01/2013 03:54 pm Giorgos Korfiatis

astakos: Remove unused project_error_view

52346a89 04/30/2013 08:17 pm Kostas Papadimitriou

Merge branch 'tmp-allow-in-projects' into feature-quotas

37d59b27 04/30/2013 08:09 pm Kostas Papadimitriou

astakos: Resources metadata improvements

- Allow admin to overwrite default resources presentation data using
ASTAKOS_RESROUCES_META setting. dict_merge is used to accomodate admin
from declaring all available metadata parameters.
- Enforce allow_in_projects resource policy in project application...

7585a768 04/30/2013 06:06 pm Giorgos Korfiatis

quotaholder: Allow resolving empty commissions

When resolving a pending commission, handle the case where the commission
has been issued with no provisions.

21a9ae81 04/30/2013 05:00 pm Christos Stavrakakis

Merge branch 'develop' into feature-quotas

c8618788 04/30/2013 03:45 pm Giorgos Korfiatis

astakos: Control exposing resources in projects

Add attribute `allow_in_projects' in Resource model (True by default).
Set this flag for astakos.pending_app to False in the description
of astakos resources.

1f5565c3 04/30/2013 02:12 pm Giorgos Korfiatis

astakos: Migrate user settings for pendings_app limit

Provide console script astakos-migrate-0.14.
Also update related upgrade notes.

3f5851eb 04/29/2013 05:11 pm Giorgos Korfiatis

astakos: Reconcile resources

Sync number of pending applications to quotaholder.

9e3af524 04/29/2013 05:11 pm Giorgos Korfiatis

astakos: accept commission immediately after issue

Unify these operations when registering a pending application,
in order to make sure no commission can be left pending.

69c1afae 04/29/2013 01:36 pm Giorgos Korfiatis

quotaholder: Add migrations

Migration 0001 should be faked on an existing database.
Migration 0002 adds new fields.
Migration 0003 populates the new fields based on the old ones.
Migration 0004 deletes unneeded fields and tables.

ec5e00aa 04/29/2013 12:13 pm Giorgos Korfiatis

Revert quotaholder's name to quotaholder_app

In order to facilitate migrations.

68b991bc 04/29/2013 12:12 pm Giorgos Korfiatis

quotaholder: Rename counters to usage_min, usage_max

3679f852 04/29/2013 11:17 am Giorgos Korfiatis

quotaholder: Explicitly set commission's issue_time

Avoid function call as a default value in model.

f6e7a826 04/29/2013 11:14 am Giorgos Korfiatis

quotaholder: Impose non-null commission name

Default to empty string

0644dc92 04/26/2013 08:41 pm Sofia Papagiannaki

astakos: remove unwanted logging

29576723 04/26/2013 07:13 pm Sofia Papagiannaki

astakos: Fix twitter access token request failure

The oauth_verifier received from the executed callback has to be passed
to the access_token request (it is no more optional)
https://dev.twitter.com/discussions/16443#comment-36666

Updated twitter oath service urls

20f68e60 04/26/2013 04:41 pm Giorgos Korfiatis

astakos: Migrate service and resource names

- Rename 'pithos+' to 'pithos'
- Prepend resource names with 'service_name.'

bd7fe7c1 04/26/2013 12:47 pm Sofia Papagiannaki

Merge branch 'feature-change-astakos-commands' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/management/commands/resource-list.py
snf-astakos-app/astakos/im/management/commands/service-list.py
snf-astakos-app/astakos/im/management/commands/service-modify.py...

3a1bed03 04/25/2013 05:49 pm Giorgos Korfiatis

astakos: Set and return commission names in API calls

Support issue_commission's `name' parameter for an optional description
of the commission. Include this field in the dict returned by
get_commission.

Change astakosclient accordingly.

65fb5cf6 04/25/2013 04:22 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
astakosclient/astakosclient/__init__.py
astakosclient/astakosclient/errors.py
astakosclient/astakosclient/tests.py
docs/index.rst

3a527b3a 04/25/2013 04:01 pm Giorgos Korfiatis

astakos: Separate importing resources from setting limits

`snf-manage resource-import' does not provide a way to change the
default base quota any more. When importing a resource for the first
time, it sets the limit to zero.

Use `snf-manage resource-modify' to change limits. It supports both...

3f7b6f6f 04/25/2013 12:43 pm Giorgos Korfiatis

astakos: Correct qh call to auto accept commissions

d521eb8e 04/24/2013 01:33 pm Giorgos Korfiatis

quotaholder: Delete unused helper functions

3a195d2e 04/24/2013 01:31 pm Giorgos Korfiatis

quotaholder: Remove unused Holding flags

643b3d82 04/24/2013 01:17 pm Giorgos Korfiatis

quotaholder: Remove default values in required args

Also remove unused `context' argument and replace empty list default
values with None.

4df49ee7 04/24/2013 01:15 pm Giorgos Korfiatis

astakos: Further validate input in quota API calls

4cb56223 04/24/2013 12:25 pm Giorgos Korfiatis

quotaholder: Remove unused utils and api.py

7bed22fb 04/24/2013 11:39 am Giorgos Korfiatis

quotaholder: Integrate unit tests in django tests

ba886e03 04/23/2013 06:27 pm Kostas Papadimitriou

astakos: Update projects tests

e4a6c11d 04/23/2013 06:19 pm Giorgos Korfiatis

astakos: Define and export local resources

0a7a4104 04/23/2013 06:04 pm Kostas Papadimitriou

astakos: Replace some explicit settings imports

importing setting names explicitly makes it hard to write tests that
depend on specific setting values and polutes the module namespace.

In this commit only settings that are currently used in tests where
refactored.

450c7fb0 04/23/2013 05:09 pm Kostas Papadimitriou

astakos: Initial tests for project views

ad730cc5 04/23/2013 04:12 pm Giorgos Korfiatis

astakos: Validate input of quota-related API calls

271d2c4c 04/23/2013 03:40 pm Giorgos Korfiatis

astakos: Rename get_service_quotas to service_get_quotas

So that it follows the naming scheme of other astakosclient calls.

9770ba6c 04/23/2013 02:50 pm Giorgos Korfiatis

Handle max pending applications as a quotable resource

Assume a resource `astakos.pending_app' related to service `astakos'.
On submitting an application, issue a commission that will update the
related counter if possible, and accept the commission on success....

0ee59d55 04/23/2013 02:48 pm Giorgos Korfiatis

quotaholder: Update unit tests

bbf79074 04/23/2013 11:48 am Giorgos Korfiatis

quotaholder: Change provisions argument to list

It is the API code's task to transform the input dict to list.

15e727f1 04/22/2013 06:54 pm Giorgos Korfiatis

quotaholder: pep8 fixes

948e15bc 04/22/2013 06:47 pm Giorgos Korfiatis

Turn callpoint into a module of functions

Class structure is no more needed; there is no need for initialization,
since the code is used internally.

a0b34382 04/22/2013 06:33 pm Giorgos Korfiatis

astakos: Reintroduce foreign key from Resource to Service

Also merge all migrations from 0026 to 0032.

9b126f13 04/22/2013 05:50 pm Giorgos Korfiatis

astakos: Move helper function from qh to quotas.py

abdf6d92 04/22/2013 05:29 pm Giorgos Korfiatis

astakos: Use `with' to open file in management command

5cf5eb56 04/22/2013 05:23 pm Giorgos Korfiatis

astakos: Sync users when importing base quotas from file

d07ce657 04/22/2013 04:18 pm Giorgos Korfiatis

astakos: Standardize arguments of project calls

All calls take a request_user (of type AstakosUser) argument.

7a08e179 04/22/2013 04:18 pm Giorgos Korfiatis

pep8 and style changes

e05c541e 04/22/2013 04:17 pm Giorgos Korfiatis

astakos: Enroll in project even if request is pending

08043775 04/22/2013 04:14 pm Giorgos Korfiatis

astakos: Move get_resources in resources.py

cb14cc6c 04/22/2013 04:07 pm Giorgos Korfiatis

Rename users_quotas to astakos_users_quotas

44104cd3 04/22/2013 04:02 pm Giorgos Korfiatis

astakos: Move quota syncing code in quotas.py

3adbd562 04/22/2013 03:51 pm Giorgos Korfiatis

astakos: Decouple listing from syncing quotas code

a6459f32 04/22/2013 03:23 pm Giorgos Korfiatis

Sync user after changing base quota

ae16bcad 04/22/2013 02:18 pm Giorgos Korfiatis

Respect user-specific quota when changing resource default

Do not update holding limit if there exist user-specific base quota
for the particular resource.

51286d7a 04/19/2013 07:00 pm Giorgos Korfiatis

quotaholder: Do no side effect on failed commissions

Make sure that no Commission or Provision entry is created when
issue_commission fails, even if the transaction is committed.

a93f2d64 04/19/2013 06:43 pm Kostas Papadimitriou

astakos: remove js debug statement

e03ccd07 04/19/2013 06:32 pm Giorgos Korfiatis

quotaholder: Fix printing of holding key

e311d555 04/19/2013 06:32 pm Giorgos Korfiatis

quotaholder: Improve data of NoCapacityError

Replace `available' by two fields: `limit' and `usage'.

480974e6 04/19/2013 06:32 pm Giorgos Korfiatis

astakos: Change response for API call `quotas'

The following indicators are returned for each holding:
"limit": the quota limit (as before)
"usage": the current usage (pessimistically, includes any pending
allocations)
"pending": the difference of max and min allocation, indicates...

34a61fff 04/19/2013 06:29 pm Kostas Papadimitriou

Service catalog fix

also include services for which no existing presentation data exist.
Admin can use ASTAKOS_SERVICE_META setting to customize the service
presentation metadata.

362ff471 04/19/2013 06:28 pm Kostas Papadimitriou

Store service access url in database

1571edb0 04/19/2013 05:55 pm Olga Brani

Astakos: ui minor fixes

Refs: #3573
Correct onclick functionality in project create page.
Discover missing div tag in project details page.

4e03ba30 04/19/2013 05:37 pm Kostas Papadimitriou

Update astakos usage view

Update view to use the introduced astakos quotas api.

5afce44d 04/19/2013 01:28 pm Giorgos Korfiatis

astakos: Add user parameter in service_quotas API call

Using this parameter, the service can query the quotas of a specific
user.

b830f774 04/19/2013 12:29 pm Giorgos Korfiatis

Move transaction.py to snf_django package

b052f360 04/19/2013 12:23 pm Giorgos Korfiatis

Move intdecimalfield.py to snf_django package

Rename it to fields.py and update all migrations that reference the field.

222a4f6a 04/19/2013 11:09 am Giorgos Korfiatis

Move managers.py to snf_django package

0cdc5cc5 04/18/2013 06:50 pm Giorgos Korfiatis

astakos: Remove obsolete ProjectResourceGrant fields

003909e3 04/18/2013 06:45 pm Giorgos Korfiatis

astakos: Handle source correctly in initial_quotas

2ec5a35c 04/18/2013 06:23 pm Giorgos Korfiatis

astakos: Remove obsolete fields of AstakosUserQuota

Remove quantity, import_limit, export_limit.
Update user-set-initial-quota management command.

673f8f42 04/18/2013 05:56 pm Giorgos Korfiatis

astakos: Remove obsolete project-related model fields

Several fields of models Project and ProjectMembership were related
to the external syncing to quotaholder and have become obsolete since
the inclusion of quotaholder in astakos.

4161cb70 04/18/2013 12:20 pm Giorgos Korfiatis

Move resource data away from astakos settings

UI-related presentation data go to presentation.py.
Remove load_service_resources call and related astakos-init
management command.

34d3883a 04/18/2013 12:20 pm Giorgos Korfiatis

Make resource name independent of service name

Also remove unused ResourceMetadata model.

b1ea24f3 04/18/2013 12:20 pm Giorgos Korfiatis

Import resources from definition and config files

Register a service's resources giving option --json <file>.
The json file is expected to represent a dictionary with keys
"service" and "resources".

Currently the default base quota (uplimit) for each resource is read...

9747707e 04/18/2013 12:20 pm Giorgos Korfiatis

Sync quotas efficiently when importing resources

When changing the default base quota (uplimit) for a preexisting resource,
do a bulk update of the related holdings.
When importing a new resource, create the new related holdings.

Prompt the admin for the uplimit in the management command, if a config...

143d8a9d 04/18/2013 12:20 pm Kostas Papadimitriou

Cleanup CLRF's

26551b92 04/18/2013 12:20 pm Kostas Papadimitriou

Remove resource/service model dependencies

- Remove foreign key dependency between Service/Resource model. Replace
it with a service CharField to keep track of the service identifier
that the resource was registered from.
- Remove all references to resource service name in resource lookups

75380308 04/18/2013 12:20 pm Kostas Papadimitriou

Use updated resource models in projects views

b75a7e53 04/18/2013 12:20 pm Giorgos Korfiatis

Update resource-list management command

720955ff 04/18/2013 12:20 pm Giorgos Korfiatis

Modify resource limit from the command line

0156e40c 04/18/2013 12:20 pm Kostas Papadimitriou

Services api/presentation logic cleanup

- Remove presentation information from Service model (order, icon)
- To access the list of services filled with both presentation and api
data use Service.catalog(). The method fills a dict with service
identifiers and service metadata through the following steps...

54bac253 04/18/2013 12:20 pm Kostas Papadimitriou

Astakos missing Service model migrations

bb005bc2 04/18/2013 12:20 pm Giorgos Korfiatis

New call astakos/api/service_quotas

Returns quotas for all resources associated with the service that makes
the call.

42f0a495 04/18/2013 12:20 pm Giorgos Korfiatis

astakos: update service-add and service-list

71460e84 04/18/2013 12:20 pm Giorgos Korfiatis

astakos: fix default empty dict setting

7125062f 04/17/2013 02:09 pm Giorgos Korfiatis

Make astakos-quota robust on missing base quotas

6c0f4562 04/12/2013 06:18 pm Giorgos Korfiatis

quotaholder: Unify accept and reject commission code

Incorporate accept/reject functions in resolve_pending_commissions,
in order to enforce a total ordering on locking holdings.
Add a wrapper (resolve_pending_commission) that operates on a single
serial.

61660c26 04/12/2013 11:14 am Giorgos Korfiatis

Remove quotaholder views and urls files

No more needed, since quotaholder is integrated in astakos.

6bd4129b 04/11/2013 06:30 pm Kostas Papadimitriou

Move astakos webproject hooks

move astakos.im.synnefo_settings to astakos.synnefo_settings and make
the appropriate changes in setup.py

befa5997 04/11/2013 02:07 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
snf-astakos-app/astakos/im/api/service.py
snf-quotaholder-app/quotaholder_django/quotaholder_app/callpoint.py

6cc50d6a 04/11/2013 01:21 pm Giorgos Korfiatis

Cleanup obsolete quota code

4b355d71 04/11/2013 11:49 am Christos Stavrakakis

Add 'snf-django-lib' to dependencies

f0001470 04/11/2013 11:34 am Christos Stavrakakis

Merge branch 'feature-snf-django' into develop

Conflicts:
docs/older/Changelog.pithos-app
snf-astakos-app/astakos/im/api/__init__.py
snf-pithos-app/pithos/api/util.py

e7f22a2a 04/10/2013 07:05 pm Christos Stavrakakis

Merge branch 'release-0.13' into develop

Conflicts:
snf-astakos-app/astakos/im/messages.py

aee9a389 04/10/2013 03:22 pm Giorgos Korfiatis

Force query to list before passing as argument

An unevaluated query ends up being used as an argument of intended list
type to another query, which fails in the case of an EmptyQuerySet, which
is not iterable.

07168279 04/09/2013 05:53 pm Kostas Papadimitriou

Astakos dashboard url change

landing instead of user profile

32ee6f20 04/09/2013 12:22 pm Kostas Papadimitriou

Fix url typo

5ede2c79 04/08/2013 08:11 pm Constantinos Venetsanopoulos

Make all Changelog files prior to 0.13 obsolete

Since v0.13, all Synnefo components will have the same version and the
same Changelog, NEWS, Upgrade, Copyright file. This patch addresses
old Changelog, NEWS and Upgrade files:

  • Move all separate Changelog files under docs/older/...