Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / quotaholder_app @ c5b0bbb7

Name Size
  management
  migrations
__init__.py 0 Bytes
callpoint.py 10.1 kB
commission.py 5 kB
exception.py 2.5 kB
models.py 3.6 kB
tests.py 10.4 kB

Latest revisions

# Date Author Comment
d758784b 08/05/2013 02:39 pm Christos Stavrakakis

Fix stale import statements

Commit 7cfc0ce moved code from webproject to snf_django. This commit
fixes some stale imports that skipped renaming.

7cfc0cef 08/05/2013 12:45 pm Christos Stavrakakis

snf-django: Move ListCommand to snf-django

snf-webproject contained the generic ListCommand, and because of this it
had a dependency from snf-django-lib. This commit moves this command from
snf-webproject to snf-django-lib and removes this dependency. Also,...

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

2e7924de 05/20/2013 03:14 pm Giorgos Korfiatis

astakos: Remove some unused imports

Also add a missing import in quotas.py

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.

aba462a2 05/16/2013 02:55 pm Giorgos Korfiatis

astakos: Adapt tests to 2.6-style unittest

Define assertGreater, assertIn, assertRaises in snf_django.utils.testing

View revisions

Also available in: Atom