f78b968075
Move markdown input and select widgets to a widget folder
2024-10-20 01:05:34 +02:00
thomas girod
d16a207a83
Add more Ruff rules ( #891 )
...
* ruff: apply rule F
* ruff: apply rule E
* ruff: apply rule SIM
* ruff: apply rule TCH
* ruff: apply rule ERA
* ruff: apply rule PLW
* ruff: apply rule FLY
* ruff: apply rule PERF
* ruff: apply rules FURB & RUF
2024-10-15 11:36:26 +02:00
7405241b82
Apply all biomejs fixes
2024-10-08 17:14:22 +02:00
imperosol
20bea62542
use spaces for indentation
2024-10-08 13:54:44 +02:00
d0c18d4538
Format with biome instead of standard
2024-10-08 01:49:15 +02:00
c57d2ece9c
Apply standard formater and linter on js files
2024-10-07 00:04:48 +02:00
thomas girod
f6be360eab
Merge pull request #857 from ae-utbm/fix-slideshow
...
Fix slideshow
2024-10-03 22:51:25 +02:00
thomas girod
a4fe4996aa
Merge pull request #834 from ae-utbm/real-name
...
Restore real name
2024-10-03 10:12:23 +02:00
fbcacb24f8
Fix broken screen slideshow
2024-10-03 01:05:56 +02:00
thomas girod
0eaa20e09d
fix localdate issues
2024-10-03 00:25:22 +02:00
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
9c93162741
Add missing files
2024-09-23 10:25:27 +02:00
6068c6048a
Use real name of the website once again
2024-09-23 01:37:25 +02:00
thomas girod
cf46c3800f
remove sith version from the footer
2024-09-01 23:47:25 +02:00
thomas girod
ff088009d9
move static files in their respective application
2024-08-26 22:34:31 +02:00
thomas girod
eef15e05f4
use autocomplete_fields in admin
2024-08-01 11:27:54 +02:00
thomas girod
b25805e0a1
introduce djhtml as jinja+scss formater
2024-07-25 16:46:45 +02:00
thomas girod
04e7f65e8e
Merge pull request #725 from ae-utbm/drop-jquery-calendar
...
Remove jquery datetimepicker
2024-07-25 01:20:41 +02:00
fee7ade1a5
Harmonize test names
2024-07-24 00:50:48 +02:00
thomas girod
9295325d21
remove jquery datetime picker
2024-07-23 23:26:48 +02:00
thomas girod
8c69a94488
use google convention for docstrings
2024-07-21 00:57:04 +02:00
thomas girod
2ac578c3ad
ruff rule DJ
...
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2024-07-08 15:37:10 +02:00
thomas girod
cfc19434d0
ruff rules UP008 and UP009
2024-07-08 15:37:09 +02:00
thomas girod
d97602e60b
Use pytest for tests ( #681 )
...
* use pytest for tests
Eh ouais, il y a que la config qui change. Pytest est implémentable par étapes. Et ça c'est beau.
* rework tests with pytest
* remove unittest custom TestRunner
* Edit doc and CI
2024-06-26 19:10:24 +02:00
thomas girod
3143d3d91a
reorganize imports with ruff
2024-06-26 12:35:38 +02:00
Julien Constant
d16bf12611
Links update & translations typos fixes ( #671 )
...
* Remove BDF link (as BDF is now part of AE)
* Remove unused pages
* Fix typos
* Fix typo again
2023-10-10 15:29:02 +02:00
thomas girod
aaf30ab965
Add missing method on AnonymousUser ( #649 )
2023-09-07 23:53:42 +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
thomas girod
96dede5077
Speed up tests ( #638 )
2023-05-02 11:00:23 +02:00
thomas girod
b5a40cfda9
Mise à jour de Black vers la version 23.3 ( #629 )
2023-04-22 15:32:31 +02:00
Julien Constant
8e7c025e47
[FIX] Broken link in readme and license fix (& update) ( #591 )
2023-04-04 18:39:45 +02:00
Julien Constant
1f10a284f2
Added GA/Clubs Google Calendar to main page ( #585 )
...
* Added GA/Clubs google calendar to main page
* Made tables full width
2023-04-03 15:54:12 +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
thomas girod
99827e005b
upgrade re_path to path ( #533 )
2023-01-09 22:07:03 +01:00
Thomas Girod
ceb2888f82
enhance admin pages
2022-12-19 20:55:33 +01:00
thomas girod
639197f4c8
update some dependencies ( #523 )
2022-12-15 23:57:31 +01:00
lsacienne
c206b965ad
Return to classical weekmail banner
2022-09-25 21:44:56 +02:00
lsacienne
feef855f01
💄 Modification of banner
2022-09-21 22:12:35 +02:00
lsacienne
2901bd919f
💄 Modification of banner
2022-09-11 23:17:29 +02:00
98bfc308a7
Minimal working version
...
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
dee24fbc9c
Fix deprecation warnings
2022-08-03 21:48:37 +02:00
lsacienne
a2b35e5bba
💄 Change banner to invitation banner
2022-07-04 14:03:50 +02:00
lsacienne
ac3d668655
💄 CHange the invitation banner in weekmail
...
We now have the weekmail banner and not the invitation banner
2022-06-08 22:05:24 +02:00
lsacienne
66efb8012e
♻️ Fix black pipeline
2022-06-01 22:46:12 +02:00
lsacienne
cad0c0dadb
💄 Modification of the banner and footer
...
for the special invitation
2022-06-01 22:40:52 +02:00
Skia
89979dbf61
com: news list: fix UI for admins
2021-10-03 19:08:14 +02:00
Skia
39bb490257
com: fix weekmail for the case of non-existing email addresses
...
If an email address is set as destination for the Weekmail, the SMTP may
refuse it, and `smtplib` will throw a `SMTPRecipientsRefused` error,
containing the list of refused addresses. This commit provides an
interface for the weekmail sender to quickly unsubscribe the faulty
users, so that the next try sending the weekmail can be performed
successfully.
2021-10-03 18:16:51 +02:00
Skia
1b688a8aa5
Add a first version of a mobile friendly UI
...
Although not perfect and with many flaws, this should still allow far
easier navigation on mobile devices.
2021-10-01 18:44:14 +02:00
Cyl
61a40c47d2
[com]: add helper_text for resolution and format of poster
2021-09-29 16:09:05 +02:00
tleb
49a0ade315
core: create TzAwareDateTimeField to replace forms.DateTimeField
2021-09-29 15:24:06 +02:00