Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / management @ cb14cc6c

# Date Author Comment
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

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

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

Store service access url in database

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

Move transaction.py to snf_django package

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.

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.

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

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

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

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

astakos: update service-add and service-list

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

Make astakos-quota robust on missing base quotas

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

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

Merge branch 'release-0.13' into develop

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

cdd30404 04/08/2013 05:53 pm Giorgos Korfiatis

Make pending project options more descriptive

e496f888 04/05/2013 06:49 pm Giorgos Korfiatis

Adjust astakos to new holding design

Simplifications due to removal of quantity and merging capacity into holding.
Also make sure that holders and resources are represented as strings in
quotaholder calls.

0da5e49a 04/05/2013 06:49 pm Giorgos Korfiatis

Compute and show quotas by source

Adjust astakos code to the new nested dict structure of quotas.

aa27f246 04/05/2013 06:49 pm Giorgos Korfiatis

Move quota-related code out of models.py

Intention is to collect all quota-related code to a single file.

f77363c2 04/05/2013 06:48 pm Giorgos Korfiatis

wip Update astakos.im to use local quotaholder

Import directly quotaholder.callpoint in endpoint/qh.py
instead of an HTTP client.
Remove code related to entities, such as registering users and services.
Remove sync_projects logic.

14a58548 04/05/2013 06:48 pm Giorgos Korfiatis

wip Update astakos.im to simplified quotaholder policy

39b2cb50 04/05/2013 06:48 pm Giorgos Korfiatis

wip Restructure astakos views

Replace custom transaction context with:

- decorator `commit_on_success_strict', which uses
transaction.commit_manually and ensures that
the transaction rolls back on any exception

- context ExceptionHandler, which logs and...

200b37fb 04/05/2013 06:48 pm Giorgos Korfiatis

Execute astakos-init and user-update in a transaction

f770d29f 04/02/2013 12:56 pm Kostas Papadimitriou

Merge branch 'release-0.13' into develop

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

878d9cf3 04/02/2013 08:49 am Kostas Papadimitriou

Merge branch 'tmp-common-email-recipients' into develop

00b501fc 03/27/2013 06:51 pm Sofia Papagiannaki

Fix user-set-initial-quota command

Do not display unnecessary message:
"Please use either `--from-file' or `--set-capacity' options"
while importing quotas from file.

42732c26 03/26/2013 06:42 pm Giorgos Korfiatis

Preserve owner info when modifying project

An admin can modify a project, i.e. create an application based on
a previous application. We distinguish the initial applicant, called
the `owner', from the user who submitted the current application,
called the `applicant'....

6f25ec42 03/26/2013 03:50 pm Kostas Papadimitriou

Merge branch 'release-0.13' into feature-astakos-authpolicies

2b745492 03/26/2013 01:30 pm Giorgos Korfiatis

Specify reason when denying project application

Add field `response' in ProjectApplication model.
Add option `-m' in project-control command.

Refs #3493

2c7c0756 03/26/2013 11:26 am Giorgos Korfiatis

Change helper function to allow multiple arguments

2ef1e2d7 03/22/2013 12:35 pm Giorgos Korfiatis

Change output of astakos-quota --sync

Inform specifically which users, if any, have been synced, instead of
listing the whole diff. The latter can be recovered by giving the
option --verify.

9d20fe23 03/15/2013 07:49 pm Kostas Papadimitriou

Authentication providers improvements

Major authentication provider refactoring to support

- Modular and easily configurable messages with common context
- Fine grained provider policies to support appling specific policies to
users and/or groups

Key points:...

e0a81f2e 03/08/2013 12:51 pm Giorgos Korfiatis

Inform user we are working in the background

Print a message about astakos-quota calculating all user quotas,
which on a big system takes some time.

cb0c401a 03/07/2013 04:52 pm Giorgos Korfiatis

astakos-quota: allow syncing with --user

88f4d3b3 03/07/2013 03:14 pm Georgios D. Tsoukalas

Add 'default' capacity to user-set-initial-quota

7856a37a 03/07/2013 02:03 pm Stratos Psomadakis

pep8 fixes

db8cfc97 03/06/2013 04:20 pm Giorgos Korfiatis

List quotas for a specified user

Refs #3389

ad977592 03/06/2013 02:26 pm Giorgos Korfiatis

Rename option --force to --no-confirm for clarity

8d1636b5 03/05/2013 06:06 pm Giorgos Korfiatis

Set initial user quota from the command line

Refs #3373

Add option --set-capacity in user-set-initial-quota that sets
initial quota for a specified user/resource pair.

Importing from a file requires option --from-file.

56b9989a 03/05/2013 03:41 pm Giorgos Korfiatis

Add display options in user-list

Refs #3374

Add options --uuid, --displayname, --active, and --filter-by.
filter_results() is copied locally to avoid importing from cyclades.

2a6fc999 03/05/2013 01:47 pm Giorgos Korfiatis

Improve performance of user-list

Refs #3374

Prefetch auth providers for all users and store them
in a per-user dictionary.

4dcfe1c4 02/28/2013 07:01 pm Georgios D. Tsoukalas

fix and better document quota export/import

84a1d7dd 02/27/2013 03:45 pm Georgios D. Tsoukalas

Fix some messages

c7c0ec58 02/27/2013 03:45 pm Giorgos Korfiatis

Add per-user limit on pending applications

Add UserSettings model for storing integer-valued settings.
If an entry is missing, a default synnefo setting is consulted.

The limit can be set/unset with snf-manage user-update.

882ade00 02/19/2013 01:55 pm Giorgos Korfiatis

Display name of terminated projects

f557d10a 02/14/2013 04:27 pm Giorgos Korfiatis

Unify and rename project management commands

a3c6203c 02/14/2013 04:27 pm Giorgos Korfiatis

Reorder fields in user-show

865849d7 02/14/2013 04:27 pm Giorgos Korfiatis

pep8 improvements

b6eaca30 02/14/2013 04:27 pm Giorgos Korfiatis

Encode unicode strings in str

5ed5f9e6 02/14/2013 04:27 pm Giorgos Korfiatis

Improve project command help messages

cd1915aa 02/14/2013 04:26 pm Giorgos Korfiatis

Show project applicant info

321384f9 02/14/2013 04:26 pm Giorgos Korfiatis

cmd version of project context

9d5cf81c 02/14/2013 04:26 pm Georgios D. Tsoukalas

Edit project management command help messages

5aaed703 02/14/2013 04:26 pm Giorgos Korfiatis

Fix formatting of projects

e47b76a5 02/14/2013 04:26 pm Georgios D. Tsoukalas

fix syntax errors

1cf6e716 02/14/2013 04:26 pm Giorgos Korfiatis

Refix project list formatting

c370d0f7 02/14/2013 04:26 pm Sofia Papagiannaki

Fix user-add management command

set-password & active options

cb261eef 02/14/2013 04:26 pm Sofia Papagiannaki

Unify astakos management command formatting

7eabbd72 01/31/2013 05:36 pm Giorgos Korfiatis

Changes in project management commands
to better expose a pending application

a7752e95 01/30/2013 09:42 pm Sofia Papagiannaki

Fix superusers (created by syncdb) command

6cee26a0 01/30/2013 05:20 pm Giorgos Korfiatis

Restrict argument of approve_application() to application id

c69462a4 01/29/2013 12:06 pm Giorgos Korfiatis

Change option to --check-expired

720ddb7a 01/28/2013 05:52 pm Giorgos Korfiatis

Remove call to uenc

e0a30018 01/28/2013 05:52 pm Giorgos Korfiatis

Show `unlimited' max members

09f54ceb 01/28/2013 05:52 pm Giorgos Korfiatis

Reintroduce --app in project-show

47fbfc1c 01/28/2013 05:18 pm Giorgos Korfiatis

Chain-based project management commands

06d7c286 01/28/2013 05:08 pm Sofia Papagiannaki

Fix encoding handling in astakos commands

094c0768 01/28/2013 03:59 pm Sofia Papagiannaki

Change astakos user list & show commands.

Include uuid in user-list & search user also by uuid in user-show.

62944f83 01/28/2013 12:10 pm Giorgos Korfiatis

Rename management commands for clarity

Rename project-approve and project-deny to application-approve and
application-deny, respectively, to make it clear that the commands
expect an application ID.

f2c27eb6 01/28/2013 11:39 am Georgios D. Tsoukalas

typo fix

437c0052 01/27/2013 04:15 pm Sofia Papagiannaki

Display resource quota in user-show command

04e05445 01/25/2013 03:22 pm Sofia Papagiannaki

Fix user-add --active command

Call activate function to send also the user quota limits.

720e6adf 01/24/2013 07:11 pm Sofia Papagiannaki

Handle project-show invalid input

Raise CommandError there is no such project

6e212c04 01/24/2013 07:06 pm root

Fix syntax error
x

2a2c6876 01/24/2013 03:05 pm Giorgos Korfiatis

Use admin version of state display

cb6b8c79 01/24/2013 02:32 pm Giorgos Korfiatis

Enhanced project-show

8cf9b2dd 01/23/2013 06:59 pm Giorgos Korfiatis

Use custom project_transaction_context in project views

f6b041c0 01/23/2013 06:56 pm Giorgos Korfiatis

Change status in project_list

93c4dc6b 01/22/2013 10:57 am Giorgos Korfiatis

Output log for project-sync

c2837d72 01/21/2013 09:11 pm Sofia Papagiannaki

Provide project show command

3c049f6d 01/21/2013 02:16 pm Giorgos Korfiatis

Better log printing

62fda315 01/21/2013 01:18 pm Giorgos Korfiatis

Print log in astakos-quota-verify

140da2d1 01/18/2013 06:05 pm Giorgos Korfiatis

Split management command into astakos-quota-verify and project-sync

1951cf27 01/18/2013 05:02 pm Giorgos Korfiatis

Remove obsolete management command

84a3f701 01/18/2013 04:59 pm Giorgos Korfiatis

Advances in syncing quotaholder with astakos

Factor out trigger_sync() as lock_sync() to be used for other
sync processes in addition to sync_projects().
Implement sync_users(), which registers users and their quotas.
Use both sync processes in astakos-qh-sync management command.

115fc1d6 01/18/2013 03:58 pm Georgios D. Tsoukalas

Merge 'develop' into feature-projects

Needed for building devflow packages from feature-projects.

a9fda195 01/17/2013 07:07 pm Giorgos Korfiatis

Fix messages

7eadc230 01/17/2013 06:52 pm Giorgos Korfiatis

Management command to check and perform project expiration

6ebe72f8 01/17/2013 04:12 pm Giorgos Korfiatis

Optimize project-list query

Note that select_related() does not automatically bring
`related_name's, such as ProjectApplication.project.
Need to specify select_related('project'), which brings
`project' (but not `owner', or other related field).

611a1398 01/17/2013 01:42 pm Sofia Papagiannaki

Fix typo

db0d5f6b 01/15/2013 03:23 pm Sofia Papagiannaki

Fix bug in user-set-initial-quota command

e84332a3 01/15/2013 03:09 pm Sofia Papagiannaki

Fix AttributeError: 'AstakosUser' object has no attribute 'quota'

99494f57 01/15/2013 03:09 pm Sofia Papagiannaki

Include uuid in user-details command output

db99f198 01/15/2013 02:56 pm Giorgos Korfiatis

Implement project suspension and resumption

Merge membership's SUSPENDED and TERMINATED states into PROJECT_DEACTIVATED.

0514bcc7 01/14/2013 05:50 pm Giorgos Korfiatis

Changes in registering to quotaholder

Add an 'uplimit' (default) field in Resource;
change AstakosUserQuota fields to IntDecimalField;
pass all four limits of initial quotas to the quotaholder;
register services and resources explicitly upon creation;
a wrapper for get_quota.

19eb3ee6 01/11/2013 04:33 pm Giorgos Korfiatis

Implement application denial