imperosol
ae7c02a583
Make core.User
inherit from AbstractUser
instead of AbstractBaseUser
2024-11-27 19:33:10 +01:00
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
9991f5dc64
Create nice animation when scanning nfc cards
2024-11-15 14:51:45 +01:00
fce6c3d29c
Convert nfc input to a web component
2024-11-15 14:51:45 +01:00
e7181257e3
Remove ajax_select from core/views/forms.py
2024-10-20 23:04:54 +02:00
f78b968075
Move markdown input and select widgets to a widget folder
2024-10-20 01:05:34 +02:00
ce4f57bd8f
Add ajax user widget and remove ajax_select from elections
2024-10-19 22:06:34 +02:00
8be8328830
Create select widget based on tomselect on django backend
...
Replace make_ajax in elections by the new widget
2024-10-19 21:32:58 +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
dee54c3b41
Use manifest storage and correct webpack conversion on easymde form
2024-10-15 00:28:43 +02:00
a98c924b24
Use auto generated api for markdown input
2024-10-09 16:56:53 +02:00
e5aa7aa866
Move easymde widget to easymde-index.js
2024-10-07 00:04:05 +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
Bartuccio Antoine
f624b7c66d
Graph de famille en frontend ( #820 )
...
* Remove graphviz and use cytoscape.js instead
* Frontend generated graphs
* Make installation easier and faster
* Better user experience
* Family api and improved interface
* Fix url history when using 0, improve button selection and reset reverse with reset button
* Use klay layout
* Add js translations and apply review comments
2024-09-17 12:10:06 +02:00
thomas girod
dd07c374d7
convert uploaded images to webp
2024-09-01 19:05:54 +02:00
cc5df9b171
Better form for user submiting images, fix potential attack vector on bad file being resized and treated as an image
2024-08-27 17:05:37 +02:00
thomas girod
d295cc5223
move vendored files into their own folder
2024-08-26 22:34:32 +02:00
181e74b1d1
Add antispam app
...
* update_spam_database command to update suspicious domains from an
external provider
* Add a AntiSpamEmailField that deny emails from suspicious domains
* Update documentation
2024-08-04 22:34:40 +02:00
thomas girod
2737cae4ab
update django-phonenumber-field
2024-07-26 21:45:18 +02:00
15f51fb03f
Create an NFC button for browser supporting NFC API
2024-07-25 07:18:39 +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
thomas girod
9295325d21
remove jquery datetime picker
2024-07-23 23:26:48 +02:00
thomas girod
3046438cb1
replace drf by django-ninja
2024-07-23 19:57:33 +02:00
thomas girod
8c69a94488
use google convention for docstrings
2024-07-21 00:57:04 +02:00
thomas girod
e15bcfae07
Send an email when creating an account via POST /register
2024-07-10 17:21:07 +02:00
thomas girod
171a1cb876
ruff rule FBT
2024-07-08 15:37:09 +02:00
thomas girod
cfc19434d0
ruff rules UP008 and UP009
2024-07-08 15:37:09 +02:00
thomas girod
3143d3d91a
reorganize imports with ruff
2024-06-26 12:35:38 +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
4f00224f0d
Update dependencies, apply black and fix wrong default SITH_COUNTER_OFFICES values
2022-08-04 18:42:29 +02:00
98bfc308a7
Minimal working version
...
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
Skia
a0e4e9e8e3
Update 'black' version
2022-02-28 10:01:32 +01:00
Ailé
d8b69e9b45
Updated text and translations to be more inclusive
2021-11-18 16:24:14 +01:00
Cyrille Stroesser
5195352975
fixed black pipeline
2021-11-18 15:14:39 +01:00
Cyrille Stroesser
deb8f865df
fix #110
2021-11-18 15:04:25 +01:00
Celeste
677a9da469
Merge branch 'master' into gender_options
2021-10-11 17:13:06 +02:00
Céleste
1f7752d457
Add pronouns to profile ; Update gender settings
...
Add pronouns to option list in profile
Modify "Sex" translation to "Genre"
Added "Other" to sex option list (alongside Man and Woman)
update DB,add default value to Pronouns field
Update views.py
2021-10-06 14:12:34 +02:00
tleb
49a0ade315
core: create TzAwareDateTimeField to replace forms.DateTimeField
2021-09-29 15:24:06 +02:00
f34f5fe693
Upgrade black and format accordingly
2020-08-27 15:59:42 +02:00
tleb
ad3f003fbb
Remove unused multiple-select library
2019-10-16 14:28:53 +02:00
d7075eb762
django2.2: fix breaking change for getting uploaded files size
2019-10-08 22:46:38 +02:00
cf3f5ea60c
django2.2: fix django server crash because of breaking change in widget rendering method
2019-10-08 22:46:37 +02:00
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls
2019-10-08 22:46:01 +02:00
Cyl
ad6f17d309
core: replace simplemde with easymde
2019-05-06 20:42:35 +02:00
19c1361e47
core: fix heading in MarkdownInput
2018-12-19 14:10:39 +01:00
542a2ede32
core: translations for MarkdownInupt
2018-12-19 14:02:45 +01:00
775f456c40
core: introduce new markdown input
...
To fix
* Avoid blinking in preview
* Don't insert stupid space on empty textarea
2018-12-14 16:24:11 +01:00
cb58b00b6e
All: Apply Black coding rules
2018-10-05 21:52:55 +02:00
Grégoire Duvauchelle
afe78ea634
Add captcha to registration form
2018-07-06 11:35:02 +02:00
d49f7858d3
Better ui for group selection on election and wiki
2017-12-10 21:37:50 +01:00