Statistics
| Branch: | Tag: | Revision:

root / snf-quotaholder-app / quotaholder_django @ ea1e5d9f

Name Size
  quotaholder_app
  test
__init__.py 2 Bytes
quotaholder-manage 462 Bytes
settings.py 2.1 kB
synnefo_settings.py 1.6 kB
urls.py 1.6 kB

Latest revisions

# Date Author Comment
5d395f07 02/14/2013 04:28 pm Giorgos Korfiatis

Import quotaholder exceptions from kamaki in unittests

ea1e5d9f 02/14/2013 04:28 pm Giorgos Korfiatis

Make ForUpdateManager thread-safe

The manager held a global flag `_for_update' on a single manager object,
which could be read or set by multiple threads.

select_for_update() is now provided by a subclass of QuerySet.
It must be used as the last modifier of a query set,...

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

improve pep8 compliance

d551c841 01/11/2013 01:29 pm Georgios D. Tsoukalas

fix+test for issue_commission release logic

issue_commission() with negative quantity is considered
to be a 'release' instead of an 'allocation'.
The limit checks for the conditions or the release were
somewhat incomplete and inconsistent.

The new logic also fixes the bug found by kpap where...

ea818d33 01/10/2013 04:12 pm Georgios D. Tsoukalas

allow overlimit entities to release resources

When a resource holding is found with quantity exceeding its capacity,
it cannot allocate any more quantities,
but it should be able to release quantities.
However, if even after the release the quantity remained...

c11dc0ce 01/07/2013 05:20 pm Giorgos Korfiatis

Redefine IntDecimalField to allow support for south migration;
apply the new field to astakos.im.ProjectResourceGrant

08ce0e6f 01/07/2013 01:52 pm Giorgos Korfiatis

wip Use decimals to store quota values; infinite quotas no more supported

39462ae0 01/07/2013 01:52 pm Giorgos Korfiatis

Define custom integer field that is stored in the DB as decimal

b34e1044 01/07/2013 01:52 pm Giorgos Korfiatis

Set default quota values in _increase_resource

16c63ca4 01/07/2013 01:52 pm Giorgos Korfiatis

Import QH_PRACTICALLY_INFINITE in tests

View revisions

Also available in: Atom