Commit Graph

32 Commits

Author SHA1 Message Date
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
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
b30ee0a27a
[FIX] Correction de bugs (#617)
* Fix #600

* Fix #602

* Fixes & améliorations du nouveau CSS (#616)

* Fix #604

* should fix #605

* Fix #608

* Update core/views/site.py

Co-Authored-By: thomas girod <56346771+imperosol@users.noreply.github.com>

* Added back the permission denied

* Should fix #609

* Fix failing test when 2 user are merged

* Should fix #610

* Should fix #627

* Should fix #109

Block les URLs suivantes lorsque le fichier se trouve dans le dir `profiles` ou `SAS` :
- `/file/<id>/`
- `/file/<id>/[delete|prop|edit]`

> Les urls du SAS restent accessiblent pour les roots & les admins SAS
> Les urls de profiles sont uniquement accessiblent aux roots

* Fix root dir of SAS being unnaccessible for sas admins

⚠️ need to edit the SAS directory & save it (no changes required in sas directory properties)

* Remove overwritten code

* Should fix duplicated albums in user profile (wtf)

* Fix typo

* Extended profiles picture access to board members

* Should fix #607

* Fix keyboard navigation not working properly

* Fix user tagged pictures section inside python rather than in the template

* Update utils.py

* Apply suggested changes

* Fix #604

* Fix #608

* Added back the permission denied

* Should fix duplicated albums in user profile (wtf)

* Fix user tagged pictures section inside python rather than in the template

* Apply suggested changes

---------

Co-authored-by: thomas girod <56346771+imperosol@users.noreply.github.com>
2023-05-02 13:07:36 +02:00
thomas girod
b5a40cfda9
Mise à jour de Black vers la version 23.3 (#629) 2023-04-22 15:32:31 +02:00
Sli
98bfc308a7 Minimal working version
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
fb8faacddc
trombi: raw tool for trombi admins to add a club membership to a trombi member 2020-03-22 16:14:37 +01:00
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
5151fc3792
trombi: permissions fixs 2019-10-02 14:56:04 +02:00
35d9c05abf
trombi: fix trombi tools if user has a trombi profile but no trombi linked 2019-09-29 12:19:22 +02:00
fcb3035b67
trombi: fix some 500 errors when accessing page without being in a trombi 2019-09-29 12:09:03 +02:00
cb58b00b6e
All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
Skia
3eea8ed4e3 trombi: make the export page
Signed-off-by: Skia <skia@libskia.so>
2017-08-01 13:54:35 +02:00
Skia
8bf72daa31 trombi: prevent double comment using "Precedent" browser button
Signed-off-by: Skia <skia@libskia.so>
2017-07-30 11:52:10 +02:00
Skia
8a95f71596 trombi: add missing quick notif
Signed-off-by: Skia <skia@libskia.so>
2017-07-05 21:54:32 +02:00
Skia
de96c07ba8 trombi: allow admins to manually add users
Signed-off-by: Skia <skia@libskia.so>
2017-07-05 21:41:33 +02:00
e08a8c4927 Fix import in trombi views 2017-06-13 11:45:17 +02:00
Skia
fbcf525378 Merge branch 'pep8' into 'master'
Pep8

See merge request !81
2017-06-13 11:39:38 +02:00
890943ea48 Fix trombi creation 2017-06-13 10:55:12 +02:00
9447de4468 fix merging 2017-06-13 10:49:11 +02:00
69c95cfd37 Format trombi 2017-06-13 10:22:41 +02:00
Skia
38026025af trombi: add safeguard on user deletion
Signed-off-by: Skia <skia@libskia.so>
2017-06-13 00:35:49 +02:00
Skia
f85ce96225 trombi: Many UI/UX improvements
Signed-off-by: Skia <skia@libskia.so>
2017-06-13 00:23:56 +02:00
Skia
f26f2f4229 trombi: add custom club memberships
Signed-off-by: Skia <skia@libskia.so>
2017-06-12 23:52:59 +02:00
Skia
88d81df23d Fix Trombi edit comment view
Signed-off-by: Skia <skia@libskia.so>
2017-06-11 23:16:35 +02:00
Skia
231cb236dc Add moderation tool to Trombi 2017-05-12 18:42:52 +02:00
Skia
adeda41b52 Add profiles to Trombi 2017-05-12 10:25:26 +02:00
Skia
a0bd5ee8ff Some more trombi pimping 2017-05-11 18:34:05 +02:00
Skia
d913b8b64f Some more pimp in Trombi + translations 2017-05-10 23:30:20 +02:00
Skia
35f983131f Improve Trombi again with pictures, notifs, and style! 2017-05-10 23:05:05 +02:00
Skia
f2b2ff533d Rename Matmat to Trombi 2017-05-10 22:17:05 +02:00