Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / quotaholder_app / callpoint.py @ b32a2c5d

History | View | Annotate | Download (10.3 kB)

# Date Author Comment
28330325 11/27/2013 03:24 pm Giorgos Korfiatis

quotaholder: Reuse holding IDs in set_quota

For efficiency reasons, commit 20c6de3 deletes and recreates holdings
instead of updating them one by one. In order not to exhaust the IDs, we
reuse the deleted ones.

5a0f9d6c 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Enhance quota listing

Enable filtering quota by resource, over limit status, usage and
limit values.

548938f6 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Speed up setting quota for one resource

When registering a new resource or updating base quota for a single
resource, compute and set holdings just for this resource.

20c6de35 11/22/2013 04:44 pm Giorgos Korfiatis

quotaholder: Speed up set_quota with bulk_create

Instead of updating every single holding, delete all after loading them,
then reinsert them updated with bulk_create.

30edd93d 11/22/2013 04:44 pm Giorgos Korfiatis

astakos: Recompute quota when updating a resource

Avoid stateful update of holdings when a resource limit changes; rather
recompute and set all affected users' quota.

c3b42b86 06/10/2013 11:45 am Giorgos Korfiatis

quotaholder: Revert migration of log timestamps

Because migrating the timestamp fields of model ProvisionLog from string
to datetime takes too long, we keep them in string format.

Alter migrations 0005 through 0007 introduced in commit 164e64d.

a4451f59 05/28/2013 06:22 pm Giorgos Korfiatis

quotaholder: Add management commands for commissions

Add commands `commission-list' and `commission-show' to display
pending commissions. The former supports option `--overdue' to
restrict the age of pending commissions.

Refs #3557

164e64d5 05/28/2013 06:21 pm Giorgos Korfiatis

quotaholder: Store timestamps using DateTimeField

Add new fields issue_datetime in Commission and issue_datetime,
log_datetime in ProvisionLog. Migrate away from custom string-based
issue_time and log_time fields.

ea1369dc 05/27/2013 05:27 pm Giorgos Korfiatis

quotaholder: pep8 fixes

f7b7da5d 05/20/2013 05:48 pm Giorgos Korfiatis

quotaholder: Lock holdings in a single query

Order by primary key when selecting multiple holdings for update;
this most probably ensures that locking will happen in that order.

As per commit 2f90645, we select all holdings for the given holders,
rather that specifying all tuples (holder, source, resource), in order...

01b8fb9a 05/16/2013 06:41 pm Giorgos Korfiatis

quotaholder: Ignore force option when releasing

Since negative usage makes no sense, we always check this lower
boundary when issuing a commission.

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.

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

Revert quotaholder's name to quotaholder_app

In order to facilitate migrations.