Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / resources.py @ 1ac3349d

History | View | Annotate | Download (3.1 kB)

# Date Author Comment
73c02f75 05/14/2013 05:04 pm Giorgos Korfiatis

astakos: Return resource object upon creation

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.

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

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.

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

astakos: Move get_resources in resources.py

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

astakos: Move quota syncing code in quotas.py

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.

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

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

Use updated resource models in projects views

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

Modify resource limit from the command line