imperosol
9a311d8cee
fix: pictures download button
...
fix #1225
2025-11-07 14:30:11 +01:00
imperosol
13f417ba30
Use Alpine and the API for SAS picture upload
2025-04-08 15:59:30 +02:00
imperosol
b83fbf91e1
extract album creation form into its own fragment
2025-04-08 15:59:30 +02:00
imperosol
60db7e2516
ajaxify album loading in the SAS
2025-03-12 17:35:22 +01:00
imperosol
650227b6e2
typescriptify album-index.js
2025-03-12 17:35:22 +01:00
klmp200
a87016a23f
Apply some review comments
2025-02-20 18:13:40 +01:00
klmp200
f7ff77b88f
Use real images with lazy loading in sas albums and user pictures
2025-02-19 00:12:30 +01:00
klmp200
e8db68b960
Add missing translations
2025-02-18 20:10:54 +01:00
klmp200
93a5c3a02a
Separate album downloading logic from user display. Allow downloading individual user albums.
2025-02-18 20:10:54 +01:00
klmp200
e46cba7a06
Move all user picture logic to sas
2025-02-18 20:10:51 +01:00
Kenneth SOARES
b1db52d2b6
clean typescript
2025-02-18 14:56:08 +01:00
Kenneth SOARES
2bed89aaba
typescriptification de picture-index et bonne instantiation alpine-data
2025-02-18 14:56:08 +01:00
Kenneth SOARES
86c68eeb32
fix indenting
2025-02-18 14:56:08 +01:00
Kenneth SOARES
8cb53ceba2
download button for user pictures and albums
2025-02-18 14:56:08 +01:00
klmp200
0485ab1120
Remove defer from script where type=module is used
2024-11-19 21:22:14 +01:00
klmp200
8a8851847c
Passage de webpack à vite.dev
2024-11-19 21:22:14 +01:00
klmp200
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
f07a855e7e
Remove history management from script.js and migrate sas albums to webpack
2024-10-12 19:19:23 +02:00
klmp200
7405241b82
Apply all biomejs fixes
2024-10-08 17:14:22 +02:00
klmp200
655d72a2b1
Completely integrate wepack in django
...
* Migrate alpine
* Migrate jquery and jquery-ui
* Migrate shorten
* Add babel for javascript
* Introduce staticfiles django app
* Only bundle -index.js files in static/webpack
* Unify scss and webpack generated files
* Convert scss calls to static
* Add --clear-generated option to collectstatic
* Fix docs warnings
2024-10-02 16:11:02 +02:00
klmp200
a00a85a56a
Fix recursive link history updates for picture viewer
2024-09-30 15:02:11 +02:00
thomas girod
1800785b80
generalize usage of the paginate_jinja macro
2024-09-27 11:21:33 +02:00
thomas girod
ff088009d9
move static files in their respective application
2024-08-26 22:34:31 +02:00
thomas girod
68d0a16d1c
Merge pull request #782 from ae-utbm/ajax-navigation-history
...
Ajax navigation history in uv guide
2024-08-26 22:29:19 +02:00
thomas girod
4036bfd703
Merge pull request #775 from ae-utbm/user-pictures-ajax
...
Render user picture page with ajax to improve performances
2024-08-18 12:40:07 +02:00
klmp200
2a6c1f050d
Create a paginate_alpine macro
2024-08-11 15:11:51 +02:00
klmp200
589119c9ee
Improve update_query_string with enum action
2024-08-10 23:32:50 +02:00
klmp200
b35e1a476e
Fix back function in album pagination
2024-08-10 18:38:04 +02:00
klmp200
0eeaf1ce21
Render user picture page with ajax to improve performances
2024-08-09 18:09:58 +02:00
thomas girod
7ea9a5ca2d
improved feedback when loading ajax content
2024-08-09 11:58:26 +02:00
thomas girod
20c015c312
improved UX
2024-08-09 11:58:26 +02:00
thomas girod
da6bd84cdf
restify album view
2024-08-08 11:50:45 +02:00
thomas girod
b25805e0a1
introduce djhtml as jinja+scss formater
2024-07-25 16:46:45 +02:00
thomas girod
ef968f3673
Better usage of cache for groups and clubs related operations ( #634 )
...
* Better usage of cache for group retrieval
* Cache clearing on object deletion or update
* replace signals by save and delete override
* add is_anonymous check in is_owned_by
Add in many is_owned_by(self, user) methods that user is not anonymous. Since many of those functions do db queries, this should reduce a little bit the load of the db.
* Stricter usage of User.is_in_group
Constrain the parameters that can be passed to the function to make sure only a str or an int can be used. Also force to explicitly specify if the group id or the group name is used.
* write test and correct bugs
* remove forgotten populate commands
* Correct test
2023-05-02 12:36:59 +02:00
Julien Constant
c1022642a2
[FIX] Fixes supplémentaires pour la màj de mars ( #622 )
...
- Les photos de l'onglet de la page utilisateur utilise désormais leur version thumbnail au lieu de leur version HD
- Une des classes du CSS du SAS a été renommée car elle empiétait sur une class de la navbar
- Le profil utilisateur a été revu pour ajouter plus d'espacement entre le tableau des cotisations et le numéro de cotisants
- Les images de forum & blouse sont de nouveau cliquable pour les afficher en grands
- Sur mobile, lorsqu'on cliquait sur le premier élément de la navbar, ce dernier avait un overlay avec des angles arrondis
- Sur mobile, les utilisateurs avec des images de profils non carrées dépassait dans l'onglet Famille
2023-04-08 20:59:43 +02:00
Julien Constant
d83842af27
Fix problème de cache dans le SAS & améliore le CSS du SAS
...
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com >
2023-04-05 14:32:32 +02:00
Julien Constant
28f397574f
Amélioration des pages utilisateurs pour les petits écrans ( #578 , #520 )
...
- Refonte de l'organisation des pages utilisateurs (principalement du front)
- Page des parrains/fillots
- Page d'édition du profil
- Page du profil
- Page des outils
- Page des préférences
- Page des stats utilisateurs
- Refonte du CSS / organisation de la navbar principale (en haut de l'écran)
- Refonte du CSS de la navbar bleu clair (le menu)
- Refonte du CSS du SAS :
- Page de photo
- Page d'albums
2023-03-30 14:38:40 +02:00
klmp200
b8ad2d4835
sas: add pagination on AlbumView
2019-09-16 01:26:20 +02:00
Skia
bf57329bd8
sas/templates: Improve generation time display
2018-04-18 23:49:12 +02:00
Skia
aa93211025
Add support for editing album date
2017-02-21 14:29:58 +01:00
Skia
766d913afe
Change SAS upload pool size
2017-01-09 13:05:50 +01:00
Skia
a90a553939
Some fixes on SAS upload form
2017-01-05 10:05:27 +01:00
Skia
9f35f74082
Huge performance improvement in SAS, miss the album thumbnail in most cases
2016-12-18 12:35:23 +01:00
Skia
4a7df31f5e
Some other performance improvements
2016-12-18 11:55:45 +01:00
Skia
d7a065c4e2
Update SAS rights
2016-12-13 18:36:08 +01:00
Skia
bf9aa29a54
Add clipboard to SAS
2016-12-13 17:17:58 +01:00
Skia
f594a99751
Clean up, fix, and improve templates around clipboard
2016-12-13 01:24:23 +01:00
Skia
9847186b06
Small fixes
2016-12-08 15:16:42 +01:00
Skia
7453b857fb
Add thumbnails to albums
2016-11-30 09:28:54 +01:00
Skia
7f0561234f
SAS fixes
2016-11-29 11:35:31 +01:00