kpsul/kfet
Aurélien Delobelle f585247224 Refactor Account Operations stats
K-Fêt - Statistics

New base class - StatScale
- create scale, given chunk size (timedelta), start and end times
- get labels of
- get start and end datetimes of chunks

DayStatScale: Scale whose chunks interval is 1 day
WeekStatScale: same with 1 week
MonthStatScale: same with 1 month

AccountStatOperationList: manifest of operations stats of an account
- renamed from AccountStatLastAll
- updated according to SingleResumeStat

AccountStatOperation:
- renamed from AccountStatLast
- remove scale logic with use of StatScale objects
- used scale is given by `scale` and `scale_args` GET params
- add filter on operations types with `types` GET param

AccountStatLast(Day,Week,Month) are deleted ("merged" in
AccountStatOperation)
2017-04-03 00:40:52 +02:00
..
fixtures create checkout dynamically 2017-02-08 15:26:56 -02:00
management/commands Always randomize supplier articles 2017-03-29 23:22:18 -03:00
migrations Merge both 0048 migrations 2017-04-01 17:37:29 -03:00
static/kfet set height canvas graph & fix graph display 2017-04-02 23:38:42 +02:00
templates/kfet set height canvas graph & fix graph display 2017-04-02 23:38:42 +02:00
templatetags Merge branch 'master' into 'Aufinal/merge_k-fet' 2017-03-24 20:23:32 +01:00
__init__.py Ajout message pour proposer connexion standard 2016-09-10 22:49:07 +02:00
admin.py initial 2016-08-02 10:40:46 +02:00
apps.py Ajout message pour proposer connexion standard 2016-09-10 22:49:07 +02:00
autocomplete.py exclude empty strings from ldap results 2017-04-01 22:07:32 +01:00
backends.py Ajout account pour compte générique 2016-09-29 21:36:17 +02:00
consumers.py Revert "WS : quand la K-Fêt est ouverte ?" 2017-02-08 12:42:07 +01:00
context_processors.py Py2 compatible 2016-09-01 00:45:44 +02:00
decorators.py Remove lambda operators 2017-03-20 20:24:44 -03:00
forms.py Merge branch 'k-fet' into qwann/k-fet/home 2017-03-10 16:58:10 +01:00
middleware.py Message 2016-09-02 14:50:09 +02:00
models.py Add str to Transfer model 2017-04-02 16:49:41 +02:00
routing.py Fix WebSocket failure on K-Psul 2017-01-05 14:27:25 +01:00
signals.py Ajout message pour proposer connexion standard 2016-09-10 22:49:07 +02:00
statistic.py Refactor Account Operations stats 2017-04-03 00:40:52 +02:00
tests.py some cleaning 2017-02-15 14:21:00 +01:00
urls.py Refactor Account Operations stats 2017-04-03 00:40:52 +02:00
views.py Refactor Account Operations stats 2017-04-03 00:40:52 +02:00