Statistics
| Branch: | Tag: | Revision:

root / snf-quotaholder-app / quotaholder_django / quotaholder_app @ 8acd9708

Name Size
  fixtures
__init__.py 1 Byte
callpoint.py 37.7 kB
managers.py 3.5 kB
models.py 7.8 kB
urls.py 2.3 kB
views.py 2.9 kB

Latest revisions

# Date Author Comment
8acd9708 02/27/2013 05:08 pm Giorgos Korfiatis

Optimize get_entity and get_quota calls

6e4e100b 02/26/2013 04:28 pm Giorgos Korfiatis

Fix an issue_commission calculation

The check for available capacity in the target entity
wouldn't account property for the initial quantity.

Make also the unit tests that failed to detect the problem
more robust.

91ac2adc 02/22/2013 03:24 pm Georgios D. Tsoukalas

quotaholder: log all exceptions, fix token crash

784dcbdb 02/15/2013 01:41 pm Georgios D. Tsoukalas

fix quotaholder nested exception JSON failure

also, log http 500 on server side

1d734153 02/15/2013 01:16 pm Giorgos Korfiatis

pep8 fixes

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

View revisions

Also available in: Atom