kpsul/kfet
Aurélien Delobelle a0503d0c53 Refactor K-Psul basket (big part)
K-Psul - Basket refactor
- Almost done.

ModelForest
- Add create method (based on previous get_or_create). Direction defaults to 0.
- Add delete method.
- Methods find, traverse, update, delete can also take a model (class) as first
  argument. String representation of model still works.
- Fix child linking to parent in create method.

ModelForest -> ForestDisplay
- (One-way data binding) Changes on a ModelForest are directly reflected on
  listening ForestDisplay(s).
- ArticleManager and KHistory become simpler.

Config
- Add addcost key, shorthand for double addcost keys check.

K-Psul
- Improve display for basket summary and previous operation.
- Clean js code / duplicates.
- Some components gains chance to trigger/handle events. They are really happy.
  Eg basket amounts and summary are updated thanks to these events if the
  selected account is changed.

Formatters
- Fixes addcost and amount display.

History
- Fix options management (api_options were overrided and K-Psul displayed more
  than the last day history).
- Fix data display, thanks to formatters fixes and modelforest fixes.
2017-05-18 02:13:42 +02:00
..
fixtures create checkout dynamically 2017-02-08 15:26:56 -02:00
management/commands createopes use only bulk_create 2017-04-06 13:33:40 +02:00
migrations Subvention -> Réduction + units for kfet_config 2017-04-10 11:36:06 +02:00
static/kfet Refactor K-Psul basket (big part) 2017-05-18 02:13:42 +02:00
templates/kfet Refactor K-Psul basket (big part) 2017-05-18 02:13:42 +02:00
templatetags Use django-djconfig for kfet app. 2017-04-03 20:32:16 +02:00
tests more robust tests 2017-05-14 22:19:25 +02: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 Use django-djconfig for kfet app. 2017-04-03 20:32:16 +02:00
autocomplete.py exclude empty strings from ldap results 2017-04-01 22:07:32 +01:00
backends.py fix typo + pep8 + del future imports 2017-05-10 12:49:14 +02:00
config.py Subvention -> Réduction + units for kfet_config 2017-04-10 11:36:06 +02:00
consumers.py Enable authentication on KPsul websocket. 2017-04-09 16:10:27 +02:00
context_processors.py Use django-djconfig for kfet app. 2017-04-03 20:32:16 +02:00
decorators.py Remove lambda operators 2017-03-20 20:24:44 -03:00
forms.py Merge branch 'aureplop/fix_perms' into 'master' 2017-05-15 11:29:33 +02:00
middleware.py initial checkout selected 2017-04-06 16:45:44 +02:00
models.py Merge branch 'master' into aureplop/fewer_requests 2017-04-17 20:45:01 +02:00
routing.py Revert "WS : quand la K-Fêt est ouverte ?" 2017-02-08 12:42:07 +01:00
signals.py Ajout message pour proposer connexion standard 2016-09-10 22:49:07 +02:00
statistic.py Order create use Scale. 2017-04-13 14:11:44 +02:00
urls.py Merge remote-tracking branch 'origin/aureplop/kpsul_js_refactor' into Aufinal/refactor_history 2017-04-24 11:30:01 -03:00
views.py Refactor K-Psul basket (big part) 2017-05-18 02:13:42 +02:00