- ForestDisplay update method update the container without re-rendering
from scratch the object. This allows persistance of properties set by
other components.
- Fix unselect on basket updates from keyboard.
K-Psul
- Improve article autocompletion.
ArticleManager
- "selected" property becomes a reference to an article in the data properties.
ForestDisplay
- Add data property "object" linked to object being represented
- Use class to identify objects instead of id. Allow multiple displays of same ModelForest.
- New get_class method returns the class selector to find an object container in the DOM.
- New get_dom method returns the DOM element from an object in the ModelForest.
Cancellation view
- Fix 500 on cancel with already canceled opes/transfers
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.
- Non-K-Fêt group membership is no longer erased by the account edit
form.
- Add some tests to ensure proposed choices in this form corresponds to
K-Fêt groups + test case for #161.
Fixes#161