Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / management @ 38aff106

# Date Author Comment
38aff106 05/13/2013 05:40 pm Sofia Papagiannaki

astakos: remove obsolete code

91eca048 05/13/2013 04:00 pm Giorgos Korfiatis

astakos: List quotas in user-show with `--quotas'

Refs #3530

Use the same utility function as astakos-quota. Update the latter
to a SynnefoCommand.

b095201e 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: remove astakos.im.api module

Replace all AstakosCallpoint references

415c4a56 05/08/2013 06:24 pm Giorgos Korfiatis

astakos: Visually separate apps in project-show

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

astakos: Remove unneeded import of a constant

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.

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

astakos: Reconcile resources

Sync number of pending applications to quotaholder.

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

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

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

astakos: Define and export local resources

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

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.

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

21fabaad 04/08/2013 06:51 pm Sofia Papagiannaki

Minor changes in astakos commands

92359537 04/08/2013 06:40 pm Sofia Papagiannaki

Update astakos user-modify command

Permit also to lookup user using the UUID

ffb5cca1 04/08/2013 06:37 pm Sofia Papagiannaki

Update astakos listing commands

Refs: #3346

  • Change `synnefo.webproject.management.commands.ListCommand`
    to permit post database selection filtering
    and pass the command options to the
    handle_db_objects()
  • Change project-list command to inherit
    `synnefo.webproject.management.commands.ListCommand`...
cdd30404 04/08/2013 05:53 pm Giorgos Korfiatis

Make pending project options more descriptive

fc5138f0 04/05/2013 07:18 pm Sofia Papagiannaki

Change astakos listing commands

Listing commands extend
`synnefo.webproject.management.commands.ListCommand`

bce87d43 04/05/2013 07:15 pm Sofia Papagiannaki

Delete service-token-renew command

This command is equivalent to
`service-modiy --renew-token`

d35dcdb8 04/05/2013 07:14 pm Sofia Papagiannaki

Change service-modify command option names

Change `--renew-auth-token` option to
`--renew-token` and `--auth-token` to
`--token` to conform the respective options
of user-modify command

a0699ee4 04/05/2013 06:55 pm Sofia Papagiannaki

Change astakos show commands

  • rename `invitation-details` command to
    `invitation-show` to conform with the rest
    synnefo show commands
  • Enable the --output-format option (by changing
    them to inherit by `synnefo.webproject.management.commands.SynnefoCommand`...
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

71b37f75 04/05/2013 06:44 pm Sofia Papagiannaki

Rename astakos modification commands

Rename to conform with the rest synnefo
modification commands

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