Commit Graph
100 Commits
Author SHA1 Message Date
klmp200 5d0fc38107 Make social icons links pretty 2025-01-04 23:08:09 +01:00
klmp200 65df55a635 Use signals to update internal ics 2025-01-04 23:08:09 +01:00
klmp200 a60e1f1fdc Create dedicated class to manage ics calendar files 2025-01-04 23:08:09 +01:00
klmp200 0a0f44607e Return calendars as real files 2025-01-04 23:08:09 +01:00
klmp200 007080ee48 Extract send_file response creation logic to a dedicated function 2025-01-04 23:08:09 +01:00
klmp200 a13e3e95b7 Harmonize titles on front page 2025-01-04 23:08:09 +01:00
klmp200 169938e1da Replace old agenda of event with links to services and change permission to see birthdays 2025-01-04 23:08:09 +01:00
klmp200 e5fb875968 Add support for event location and more detail link 2025-01-04 22:52:17 +01:00
klmp200 9bd14f1b4e Refactor popup creation 2025-01-04 22:51:45 +01:00
klmp200 fd2295119d nice looking popup with well aligned icon 2025-01-04 22:51:45 +01:00
klmp200 eac2709e86 Create basic (ugly) event detail popup 2025-01-04 22:51:45 +01:00
klmp200 48f6d134bf Fix news page layout 2025-01-04 22:51:45 +01:00
klmp200 6d7467e746 Make new calendar look like the iframe one 2025-01-04 22:51:44 +01:00
klmp200 0d1629495b Refactor com scss and add basic unified event calendar 2025-01-04 22:51:44 +01:00
klmp200 63839dc22b Fix poster edition and display bug 2025-01-04 22:51:44 +01:00
klmp200 43f47e2087 Improve product card display on counter click 2024-12-27 01:59:54 +01:00
klmp200 43768f1691 Refactor counter-click css 2024-12-26 11:52:30 +01:00
klmp200 280d27343d Put error popup inside the basket 2024-12-25 20:44:52 +01:00
klmp200 138e1662c7 Add popup css class and display basket error messages with it on counter click 2024-12-24 00:29:23 +01:00
klmp200 c80fe094a2 Remove useless form elements in counters and improve alignment 2024-12-23 20:44:49 +01:00
klmp200 139221dd22 Apply review comments 2024-12-23 15:15:24 +01:00
klmp200 6f003ffa53 Add translations 2024-12-23 02:41:41 +01:00
klmp200 7f6fd7dc47 Fix wrong tests/permissions 2024-12-23 02:37:41 +01:00
klmp200 ccf5118c9d Add invalid form tests 2024-12-23 02:26:39 +01:00
klmp200 022c19c020 Fix counter permissions issues 2024-12-23 02:17:28 +01:00
klmp200 2e5e217842 Disable eboutic in counter click/main 2024-12-23 01:35:44 +01:00
klmp200 9c93c004ec Add more counter click tests 2024-12-23 01:18:01 +01:00
klmp200 472800eff6 Add nice snackbar message on counter interface and fix not enough money protection on frontend 2024-12-23 00:56:57 +01:00
klmp200 b8d43a629b Increase selling label size and add more counter click tests 2024-12-23 00:00:40 +01:00
klmp200 f6693e12cf Basic counter click tests 2024-12-22 19:24:07 +01:00
klmp200 38f491cf57 Properly test annotations in counter click 2024-12-22 16:43:07 +01:00
klmp200 3464d5d860 Add proper tests for refilling view 2024-12-22 16:16:28 +01:00
klmp200 5079938a5b Fix get_operator on non bar counters and better display of counter with no products 2024-12-22 13:36:50 +01:00
klmp200 b8430adc50 Split counter-click-index.ts 2024-12-22 13:01:37 +01:00
klmp200 eed434aeb2 Improve age management for getting products and make get_product a part of counter model 2024-12-22 12:27:58 +01:00
klmp200 372470b44b Improve empty basket and tray price management 2024-12-22 12:06:15 +01:00
klmp200 7071553c3b Optimize product id validation on counter click 2024-12-22 12:06:15 +01:00
klmp200 eea237b813 Pre-filter allowed products in backend for counter click 2024-12-22 12:06:15 +01:00
klmp200 c37288c285 Display nice product cards on counter click interface 2024-12-22 12:06:15 +01:00
klmp200 ccf5767a01 Fix customerBalance not init and submit/cancel buttons visuals 2024-12-22 12:06:15 +01:00
klmp200 ffe6fc8c2a Redirect when cancelling instead of submitting a form 2024-12-22 12:06:15 +01:00
klmp200 5f0b4d2050 Properly display form errors in counter 2024-12-22 12:06:15 +01:00
klmp200 f9d7dc7d3a Restore form when form submit fails due to error 2024-12-22 12:06:15 +01:00
klmp200 8ebea00896 Fix crash during validation 2024-12-22 12:06:15 +01:00
klmp200 a548f4744e Fix counter main
* Fix crash when submitting nothing
* Fix code field not being autofocus
2024-12-22 12:06:15 +01:00
klmp200 a383f3e717 Don't use codes as a primary key in counter click 2024-12-22 12:06:15 +01:00
klmp200 60f18669c8 Make counter click client side first 2024-12-22 12:06:14 +01:00
klmp200 a36946529b Fix error when submitting group form without any group checked 2024-12-22 12:04:51 +01:00
klmp200 4ac09ac08b Use tomselect instead of jquery autoselect for counter clicks 2024-12-21 15:56:18 +01:00
klmp200 87b619794d Fix groups displayed on user profile group edition 2024-12-19 18:57:50 +01:00
klmp200 ad44fd52a4 Apply review comments 2024-12-17 10:54:41 +01:00
klmp200 03c27b10e5 Fix refill permissions
* Remove ability to refill from counters
* Fix bug where you could refill without any board member on a BAR
* Add a warning message explaining why refilling are disabled
2024-12-17 02:42:07 +01:00
klmp200 fc0ef29738 Remove GetCustomer API endpoint 2024-12-17 01:42:10 +01:00
klmp200 a0eb53a607 Apply review comments 2024-12-17 01:41:45 +01:00
klmp200 66e5ef64fd Don't use API to update amount after a refilling query 2024-12-17 00:47:43 +01:00
klmp200 4c65939bbe Fix crash when admin gets to preferences of an user subscribed to a trombinoscope 2024-12-16 09:31:43 +01:00
klmp200 379527cd58 Add a nice animation on successful refilling 2024-12-16 00:58:23 +01:00
klmp200 f63fb59cbf Allow filtering of refilling options
* Move settings.SITH_COUNTER_PAYMENT_METHOD to counter.apps.PAYMENT_METHOD
* Move student cards to an accordion on counter click
* Make cash default refilling option
* Disable bank selection option in refilling if CHECK are not allowed
* Disable refilling with CHECK from the frontend
2024-12-16 00:15:21 +01:00
klmp200 cde864fdc7 Apply review comments 2024-12-15 22:47:59 +01:00
klmp200 e9361697f7 Convert customer refill to a fragment view 2024-12-15 21:33:19 +01:00
klmp200 6bdc1b73ae Enable sentry workflow again 2024-12-15 17:31:41 +01:00
klmp200 0631c77a1c Apply review comments 2024-12-15 17:02:44 +01:00
klmp200 2cc4308a58 Fix tooltip shadow and position and improve unittests 2024-12-15 16:49:24 +01:00
klmp200 4975475e85 Add tooltip on current registered card, allow barmen to delete cards and make card deletion a fragment 2024-12-15 16:49:24 +01:00
klmp200 fa60ecb25a Upgrade dependencies 2024-12-15 00:59:55 +01:00
klmp200 29a5425259 Add spinner to student card form 2024-12-08 13:17:56 +01:00
klmp200 de7aa6f6a6 Create a generic form fragment renderer 2024-12-08 11:45:16 +01:00
klmp200 66d2dc74e7 Pre-fetch forms for student card 2024-12-08 00:32:28 +01:00
klmp200 2f613607af Update number of queries in test_num_queries 2024-12-07 23:35:35 +01:00
klmp200 d4b9c3afb1 Make StudentCardFormView fragment only 2024-12-07 22:36:15 +01:00
klmp200 b81cf49d0a Remove student card creation from CounterClick view and use fragment instead
Intercept htmx on submit requests, this allows auto submit from nfc fields

Fix super call with parameters

Add loading wheel on student card form for counter_click.jinja
2024-12-07 12:57:10 +01:00
klmp200 0739ce2fb4 Improve readability and usability 2024-11-21 00:33:40 +01:00
klmp200 8fc1a754de Integrates vite manifests to django 2024-11-20 18:24:28 +01:00
klmp200andBartuccio Antoine ca8c1c9d92 Mirror -index.css generation with their import location in -index.js/ts files 2024-11-19 21:22:14 +01:00
klmp200andBartuccio Antoine 0485ab1120 Remove defer from script where type=module is used 2024-11-19 21:22:14 +01:00
klmp200andBartuccio Antoine 8a8851847c Passage de webpack à vite.dev 2024-11-19 21:22:14 +01:00
klmp200andBartuccio Antoine 7b41051d0d Go for a more generic js bundling architecture
* Don't tie the output name to webpack itself
* Don't call js bundling webpack in python code
* Make the doc more generic about js bundling
2024-11-19 21:22:14 +01:00
klmp200andBartuccio Antoine 9991f5dc64 Create nice animation when scanning nfc cards 2024-11-15 14:51:45 +01:00
klmp200andBartuccio Antoine fce6c3d29c Convert nfc input to a web component 2024-11-15 14:51:45 +01:00
klmp200 5e8d8b8d5d Revert back curl install of poetry in pipelines 2024-11-15 14:41:25 +01:00
klmp200 dc1e1fc897 Fix typos 2024-11-12 21:38:38 +01:00
klmp200 37abde04d7 Improve fragment doc 2024-11-11 13:56:34 +01:00
klmp200 40f2f7033e Add test for AllowFragment mixin 2024-11-11 13:49:38 +01:00
klmp200 aebf909dc6 Apply review comments 2024-11-11 13:49:38 +01:00
klmp200 ec7d45fd91 Add documentation for htmx 2024-11-11 13:49:38 +01:00
klmp200 3af5d96bf5 Introduce htmx in sith files
* Convert FileModerationView into ListView and add pagination with htmx
* Don't allow sas moderation in file moderation view
* Split up base.jinja and introduce base_fragment.jinja
* Improve FileModerationView performances and make it root only
* Add permissions tests for file modération
2024-11-11 13:49:38 +01:00
klmp200 5e954bae6a Fix some doc typos 2024-11-11 00:32:04 +01:00
klmp200 0610794dbe Fix ajax-select visual 2024-10-28 18:18:56 +01:00
klmp200 a6b32fcad1 Fix readability and avoid instantiating too many TypeAdapter 2024-10-28 18:08:13 +01:00
klmp200 e583e78a4e Convert the whole request to json at once on select widget 2024-10-21 17:11:07 +02:00
klmp200 3eb3feea49 Fix deprecated usage of schema json method and avoid multiple inheritance on select widgets 2024-10-21 16:14:00 +02:00
klmp200 935914428b Remove ajax_select completely 2024-10-21 13:30:12 +02:00
klmp200 ab63ba1c54 Remove ajax_select from accounting 2024-10-21 13:26:11 +02:00
klmp200 afdc6b69df Remove ajax_select from sas 2024-10-21 10:30:35 +02:00
klmp200 8b419dcee6 Remove ajax_select from core 2024-10-20 23:25:56 +02:00
klmp200 e7181257e3 Remove ajax_select from core/views/forms.py 2024-10-20 23:04:54 +02:00
klmp200 8e7c09332f Remove ajax_select from core/views/group.py 2024-10-20 22:58:39 +02:00
klmp200 d9ea5e5538 Remove ajax_select from trombi 2024-10-20 22:41:35 +02:00
klmp200 a21460a1b8 Remove ajax_select from subscriptions 2024-10-20 22:36:55 +02:00
klmp200 b6a480ff61 Remove ajax_select from forum 2024-10-20 22:29:07 +02:00