WIP: Refactor K-Psul basket #535
No reviewers
Labels
No labels
devtype -- backend
devtype -- docs
devtype -- frontend
devtype -- user interface
difficulty -- easy
difficulty -- hard
difficulty -- normal
Doing
domain -- bda
domain -- bds
domain -- cof
domain -- core
domain -- kfet
Good first issue
priority -- high
priority -- low
priority -- medium
priority -- staff-wanted
status -- development
status -- discussion
status -- need review
status -- production
status -- ready to merge
status -- todo
To Do
type -- bug
type -- hygiene
type -- improvement
type -- new feature
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/gestioCOF#535
Loading…
Reference in a new issue
No description provided.
Delete branch "aureplop/js_basket"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
K-Psul - Basket refactor
K-Psul - ArticleManager
ModelForest
argument. String representation of model still works.
ModelForest -> ForestDisplay
listening ForestDisplay(s).
Config
K-Psul
Eg basket amounts and summary are updated thanks to these events if the
selected account is changed.
Formatters
History
than the last day history).
@lstephan Il reste des choses à faire/nettoyer, mais tu peux commencer à "t'amuser" 😉
Dans tous les autres cas, on mettait les modèles dans
kfet.api.js
; il faudrait voir un peu comment on unifie tout ça (limite mettre les modèles dans un fichier à part ?)Je serais plus pour mettre le
-
dansadd_withdraw
plutôtJe bouge juste les modèles pour le moment. On verra sur une autre MR pour nettoyer ça.
added 1 commit
86a3ae3c
- cleanCompare with previous version
added 5 commits
aureplop/kpsul_js_refactor
8a9d6712
- Merge branch 'aureplop/kpsul_js_refactor' into aureplop/js_basketCompare with previous version
added 4 commits
aureplop/kpsul_js_refactor
51083f91
- Merge branch 'aureplop/kpsul_js_refactor' into aureplop/js_basketeff1b7ff
- Cleaning - Article autocomplete, ForestDisplay and moreCompare with previous version
unmarked as a Work In Progress
Remarques générales :
added 2 commits
5ab7519c
- ForestDisplay update node.ba1eabe2
- "Fix" inconsistents amounts/balancesCompare with previous version
Il s'agit d'une méthode pour réduire les "incohérences", il en existe d'autres mais y'a alors d'autres problèmes. Si vous avez d'autres idées qui vous semblent mieux, faites signe
Tiens, j'avais remarqué un problème sur la production (mais j'ai pas créé d'issue) : si tu comptes un truc, que tu le supprimes du panier, puis que tu le rajoutes à nouveau, l'affichage du panier est faux.
Autres remarques :
le récapitulatif du panier a des espaces bizarres tant sur les petits que sur les grands écrans.
Je suppose que laisser la première ligne blanche était pour la cohérence avec le
previous_op
, mais je trouve ça plus perturbant qu'autre chose.Quand on passe un item en stock bas en modifiant le nombre dans le panier (par exemple, s'il reste 7 1664 et qu'on rentre 1 puis 1 dans le panier), le warning ne s'affiche pas
added 213 commits
4808650f
- kfet_open is updatablef87f1cef
- kfetOpen bullet workinga828ecbc
- Merge branch 'qwann/k-fet/home' into qwann/k-fet/kfet_open15b8900d
- fixes dumb merge62470757
- Merge branch 'qwann/k-fet/home' into qwann/k-fet/kfet_open964dd716
- Merge branch 'qwann/k-fet/home' into qwann/k-fet/kfet_open8e462134
- home base htmlb7040d58
- adding KFET_FORCE_CLOSE in cache392338ed
- indent0f96d3bc
- moving kfet_open urlf8e09cf2
- unknow status updated every 30sce96bc4b
- Status added on home page5694e4b9
- migrations merged8e7b9e2f
- force close workingf18bb9f3
- permission addedcd31c552
- permission working52dda7be
- Merge branch 'qwann/k-fet/home' into qwann/k-fet/kfet_openb0643c09
- typoc3d740ad
- Handle incomplete values from the LDAPf6d43dff
- exclude empty strings from ldap resultsa5671fdf
- Merge branch 'master' into qwann/k-fet/kfet_openef8fec89
- migration renamed6f66fbbf
- Merge branch 'master' into Production387edd2f
- Merge branch 'master' into Production531a4611
- Merge branch 'master' into qwann/k-fet/kfet_opendeb0d4de
- moving migration againe18c2c69
- new migration15873085
- small fixes5c6a73c5
- kfet_open uses moment.jscb9ba76a
- small fixese0b0a531
- stupidness removedbe8d249e
- remove useless code2c408389
- Add real cache supportab31c206
- missing CACHES value...36771c2c
- Use redis for cache.2a3c892d
- Merge branch 'master' into aureplop/fix_cache0a21858b
- Use css for scroll positionningea81ab7b
- Few display improvements.ce23eece
- Fix display on small screen devices.e772d127
- Merge branch 'master' into aureplop/fix_cachedbf5844f
- Clean settings redis6de0844d
- Merge branch 'master' into aureplop/clean_scroll739990cd
- Add total boxes to new inventory view + fix/clean673dc029
- Merge branch 'master' into aureplop/fix_cachee7266e7a
- use new settings for redis5776c817
- Clean navbar + content_center only1a661c1f
- reverte9073e22
- Improve multiple select inputsae270656
- Group permissions select multiple -> checkboxes51dca32d
- shorter transitionsecce2fda
- Merge branch 'master' into aureplop/clean_scroll0995f712
- clean hover/focus/disabled btn4344b7d5
- chrome supportc11c3f84
- clean big tables formsc0b8430a
- Better scale management for order creation109a692c
- Order creation improvements.1845ce82
- jppe60e347a
- Add base templates to extend17b140fb
- Upgrade apt packages while provisioning76dcaf7d
- drop py2 compatdba8a0a8
- Remove the num field in CofProfile3762b38a
- Remove useless pip upgrade in bootstrap.sha36d002b
- Merge branch 'Kerl/apt_upgrade' into 'master'f0f15856
- Registration: remove success var, fix message3c8f1c58
- Use transaction.atomic instead of lock_tablecd5a2e05
- Move K-Fêt global permissions.1d269ef4
- Update migration to keep perms.92c946a2
- Merge branch 'aureplop/clean_perms' into 'master'74135f88
- enhance User.str with get_full_name3a69c337
- Simple test: we can query the account-read page0815c96c
- Merge branch 'Kerl/postgres' into 'master'b13e992a
- Merge branch 'aureplop/clean_scroll' into 'master'ea21b076
- Add an announcement banner8c6d56b2
- Add Wagtail CMS for kfet app.5bed02c3
- Merge branch 'Kerl/banner' into 'master'6e82a2cf
- minor fix0e03fc85
- The BdA receives the reminder emails2a361454
- minor PEP8 changes31c034a9
- send_rappel: use django messages + css tweaksfbdfdeef
- Add a link to the reminder emails sending page76c75d5c
- Move bda-participant template -> bda/ folderffb777a4
- Test the "participants" views4fce1e8a
- typo5c118930
- Add a link to the "bda-rappel" mail edition page1499c0bc
- Improvements for K-Fêt CMS.d0042879
- Merge branch 'master' into aureplop/kfet_cmsec59bc2e
- Merge branch 'master' into aureplop/kfet_open69aee6b8
- Move bda.get_generic_user + optimize send_rappels80f6a808
- Simplify the mails-rappel view539c32db
- Merge branch 'aureplop/fix_cache' into 'master'398893b9
- Merge branch 'Kerl/mail2bda' into 'master'2381af92
- Merge branch 'master' into aureplop/kfet_openb8110c11
- kfet.open782e1056
- typo98f5f0c3
- update refresh/unknown interval19847ac9
- add token check to raw_open edit view5673fabe
- Better status management.815ba506
- fix for small devicesb49d96d1
- Merge branch 'aureplop/kfet_open' into 'master'455b730c
- Merge branch 'master' into aureplop/kfet_cmsd30b3626
- Merge branch 'aureplop/kfet_cms' into 'master'68c1b453
- Add missing migrations878c617c
- fix PermConsumerMixine13d68a1
- Ignore PyCharm's files88597e62
- More verbose secret error reporting784513b3
- Use utf8 encoding for the mysql database062f5473
- Use the right python interpreter in the cron tasks81f3d6ab
- Move STATIC_ROOT in productiona6b0c51d
- Add SERVER_EMAIL to the secretscb1d2535
- Local development settingsad15c452
- Switch to nginx + postgres in vagrantc9aac8a4
- [WIP] Tests for kfet viewsbd1dace8
- Fix symlink for secret.py4075fcaa
- typo73296ea2
- Setup django before launching daphne + Djangodae418af
- Handle websockets in nginx.conf522acafb
- Add python dependency for Debian9853fa57c
- In README.md: typo env -> venv59231661
- Specify the full path of the sqlite database4d026407
- Quicker setup for local development4c08962e
- Hide more stuff in secret.py2a519bfe
- Add SCRIPT_NAME to the production-like server1d931023
- Merge branch 'Kerl/setup' into 'master'343b52f9
- Merge branch 'master' into test/views_kfet2cfce1c9
- Add tests for kfet views.a3bb9852
- Merge branch 'master' into test/views414b0eb4
- Add missing perms to view/edit kfet configb4b15ab3
- Tests of kfet config views pass22d8317d
- Fix kfet.open.testsb4338ce8
- View 'search account' should be restricted.6e140e54
- Merge branch 'aureplop/fix_perms_settings' into 'test/views_kfet'afda1ba2
- Merge branch 'test/views_fix_msg' into 'test/views'0afbd577
- Merge branch 'aureplop/fix_view_account_search' into 'test/views_kfet'be1e6762
- Most data of suppliers should be optionnal.b7502e51
- Merge branch 'aureplop/amend_supplier_model' into 'test/views_kfet'd8391e54
- Add docs to kfet TestCases5220bb75
- Merge branch 'test/views_kfet' of git.eleves.ens.fr:cof-geek/gestioCOF into test/views_kfet7d490f02
- Merge branch 'test/views' into test/views_kfet997b63d6
- More docs for kfet.tests.utilsaf97c0cd
- Improve users management on kfet TestCase, and Py34 compatfb5ba5fb
- Fix kfet navbar on small devices51f4bf3f
- Clipper logins may be > 8 characters50432d96
- Update available promos for account creation35b352ac
- Fix mistake introduced in51f4bf3fb5
439f49c3
- We ♥ hardcoding stuff…937a4857
- Merge branch 'master' into Productionf5812798
- Merge branch 'aureplop/fix-kfet-navbar' into 'master'faed7bff
- fix ?next=… on K-Fêt logout9e618878
- K-Fêt' groups edits don't remove non-kfet app permissions.368ee319
- Update CI: use postgres1921f05e
- Move STATIC_ROOT in production7d16001e
- Merge branch 'aureplop/fix_kfet_perms' into 'master'bf61e41b
- Move auth-related from 'kfet' app to 'kfet.auth'.4091185a
- import LDAP_SERVER_URL in settingsd89ba1ef
- Fix catalogue behaviour if id=06f2652c4
- Prod quick hack for Mega export1d19d179
- Clean setup/retrieve of kfet generic accounte5d19811
- Clean code related to kfet password3fa7754f
- KFet Backends inherit from BaseKFetBackenddb512a97
- In /admin: displays "given" when it's relevant11e8cb1b
- Merge branch 'bdaAdminHotfix' into 'master'b4245208
- Mass cleaning of kfet' authentication machineryd18fb86a
- Fix attribution inlines of participant in admin22413d86
- Merge branch 'aureplop/fix-attributions-admin' into 'master'b73faa3b
- Merge branch 'master' into Production596868f5
- plop435e211b
- Add a "PEI" status + "Gratis" subscription fees57a143e0
- Merge branch 'PEI' into 'master'4d1cb3c2
- Set password for redis in CI528532cc
- Merge branch 'aureplop/fix-ci'3d22a1b0
- Merge branch 'master' into test/views503b3052
- djangorestframework 3.7 breaks with Django 1.829ef297b
- try to set the redis password…116b4da1
- Merge branch 'test/views_kfet' into test/viewse0ab7f5f
- Fix migration conflict3f6c5be7
- Upgrade python packages before testingf8bb5b08
- Merge branch 'Kerl/fix-JSONField-exn' into test/views3b1d8487
- Merge branch 'aureplop/kfet-auth_backends'03deb54d
- Merge branch 'Kerl/fix-JSONField-exn' into 'master'f4a7e9db
- Verbosity should stay calm.c59bc487
- Merge branch 'test/views__' into test/views85657591
- Fix fields cleaning with unreachable items when…47e48e36
- Merge branch 'aureplop/fix-unreachable-objects-form-creation' into 'test/views'b9aaea0f
- Merge branch 'master' into Productionfccad5ed
- rename root -> kfet_genericteam in fixtures46187659
- Fix tirage pk conflicts with postgrescb820e14
- Merge branch 'aureplop/fix-tirage-pk-conflict' into 'test/views'8cdb4c62
- Merge branch 'master' into test/views8b1f174b
- manage.py is executable8673da18
- Fix migration conflict1cc51f17
- Prevent connection to LDAP when settings is Noneaf3a7cf6
- Reapply fix to kfetauth (…) and fix tests53ef8b51
- Merge branch 'test/views'8e8e9aa0
- Fix migration historya07b5308
- PetitCoursAttributionCounter defaults to 040abe27e
- EMAIL_HOST needs to be set but as a secret1a136088
- Add missing type in custommail (dev only)364648fb
- Merge branch 'Kerl/cours' into 'master'1c90d067
- Make cof.settings a module895f7e06
- Delete GlobalPermissions model (migrations)19e6ddc8
- Merge branch 'aureplop/delete-kfet-globalperms' into 'master'93fa7912
- order table striped273e6374
- Pluralization in bda -> participant list36ce0380
- Merge branch 'Qwann/legibility_kfet' into 'master'b0b05424
- Upgrade to Django 1.11241c77e3
- bda -- Set winner's email as Reply-to of the email…433b3f47
- Merge branch 'aureplop/1.11' into 'master'771b642a
- Merge branch 'aureplop/revente-reply_to' into 'master'f58f120e
- py34 compat44eee9be
- Merge branch 'aureplop/py34-compat' into 'master'b62f0293
- Merge branch 'master' into aureplop/kpsul_js_refactorf03ce351
- Merge branch 'master' into aureplop/kpsul_js_refactorf93cadc1
- Merge branch 'aureplop/kpsul_js_refactor' into aureplop/js_basketCompare with previous version
marked as a Work In Progress from
c9aac8a49d
added 3 commits
5ef219c8
- 1 commit from branchaureplop/kpsul_js_refactor
367b5899
- Merge branch 'aureplop/kpsul_js_refactor' into aureplop/js_basket5aa2d3cb
- kfet.kpsul -- Make the low-stock indicator appear…Compare with previous version
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.