klmp200
29e875bcde
Fix election display on mobile and add missing signal for news deletion
2025-01-08 09:32:24 +01:00
klmp200
672bc91e36
Quick fix for election display
2025-01-08 03:17:18 +01:00
klmp200
edafc06c3f
Fix install documentation
2025-01-06 22:26:46 +01:00
klmp200
771cbdbd77
More explicit uv install steps
2025-01-06 21:59:36 +01:00
klmp200
a491baddb9
Apply review comments
2025-01-06 20:13:41 +01:00
klmp200
8d10a5e0ab
Update deploy scripts to uv
2025-01-06 16:17:56 +01:00
klmp200
cbe42d3a60
Add caching for virtualenv
2025-01-06 16:17:56 +01:00
klmp200
0c4d72e17a
Switch from poetry to uv
2025-01-06 16:17:54 +01:00
klmp200
2db3290bed
Remove some jquery
2025-01-05 20:17:30 +01:00
klmp200
bb24516474
Make code matching rank first in counter click
2025-01-05 18:54:54 +01:00
klmp200
25298518bc
fix: wrong link for ae dev discord
2025-01-05 17:25:23 +01:00
klmp200
a8702d4f5e
Improve welcome page
...
* Improve code readability of calendar details
* Add link to AE Dev discord in useful links
* Add link to github at the bottom
2025-01-05 16:42:26 +01:00
klmp200
2749a88704
Basic test for internal calendar
2025-01-05 01:36:41 +01:00
klmp200
eb3db134f8
Test external calendar caching
2025-01-05 01:32:54 +01:00
klmp200
fa7f5d24b0
Test external calendar api
2025-01-05 01:04:11 +01:00
klmp200
ba76015c71
Use a newer ical library
2025-01-04 23:12:34 +01:00
klmp200
1887a2790f
Move IcsCalendar to it's own file
2025-01-04 23:08:09 +01:00
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
klmp200 and Bartuccio Antoine
ca8c1c9d92
Mirror -index.css generation with their import location in -index.js/ts files
2024-11-19 21:22:14 +01:00
klmp200 and Bartuccio Antoine
0485ab1120
Remove defer from script where type=module is used
2024-11-19 21:22:14 +01:00
klmp200 and Bartuccio Antoine
8a8851847c
Passage de webpack à vite.dev
2024-11-19 21:22:14 +01:00
klmp200 and Bartuccio 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
klmp200 and Bartuccio Antoine
9991f5dc64
Create nice animation when scanning nfc cards
2024-11-15 14:51:45 +01:00
klmp200 and Bartuccio 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