Commit Graph

35 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
tleb
28bd6b8708 uv: make autofill available on edit page 2019-10-21 17:10:16 +02:00
tleb
eeb791c460 Initial autofill on UV 2019-10-18 01:28:59 +02:00
df531198c9
django2.2: fix urls and adapt them to new format 2019-10-08 22:46:02 +02:00
a69f7b12b1
pedagogy: add script to remove all previous doubled comments 2019-09-04 20:49:17 +02:00
a5d5c41dd6
pedagogy: fix a bug when updating an UV from a different author 2019-08-27 22:46:41 +02:00
d844bccb04
pedagogy: improve performances on json mode for UVListView 2019-07-10 12:26:37 +02:00
Sli
49f928e754 Apply suggestion to pedagogy/views.py 2019-07-10 12:12:56 +02:00
30ccbdc32d
pedagogy: fix search api when searching one letter (case sensitivity) 2019-07-07 18:55:23 +02:00
3e3c576ad7
pedagogy: live uv update on guide 2019-07-05 20:11:33 +02:00
3376f4dfb4
pedagogy: fix typo for AUTUMN_AND_SPRING 2019-07-05 16:40:02 +02:00
6e7d351e8e
pedagogy: send notification to pedagogy admins at comment report 2019-07-04 15:32:00 +02:00
171d9a4381
pedagogy: tests and fixs for uv moderation form 2019-06-20 14:22:06 +02:00
806084e707
pedagogy: allow to deny removal request for comment in moderation 2019-06-20 13:19:35 +02:00
04009a6a5b
pedagogy: moderation interface 2019-06-20 12:15:12 +02:00
3d0f5c0a15
pedagogy: base for uv comment moderation 2019-06-20 01:29:12 +02:00
e21821ace5
pedagogy: handle one letter search 2019-06-19 02:00:00 +02:00
22c028af11
pedagogy: rename query to search in search API 2019-06-19 01:53:02 +02:00
502ae09523
pedagogy: add filters to search api 2019-06-19 01:26:11 +02:00
2cbef2babc
pedagogy: support json response from search API 2019-06-19 00:58:20 +02:00
061320a5df
pedagogy: search index for uvs and search api 2019-06-19 00:57:55 +02:00
358a625cc4
pedagogy: simplify and implement department system according to old database model 2019-06-18 10:56:05 +02:00
c467165bf3
pedagogy: fix error with author change on comment when edited by an admin 2019-06-16 18:34:11 +02:00
5003e57338
pedagogy: functional but basic uv comment system 2019-06-16 17:02:45 +02:00
1172402166
pedagogy: basic uv detail view 2019-06-16 02:19:56 +02:00
ab344ba02f
pedagogy: complete CRUD for UV model 2019-06-16 00:29:46 +02:00
ec33311715
pedagogy: basic display list of UV 2019-06-15 23:31:31 +02:00
5bf5d0277c
pedagogy: create view and form for UV
WARNING: A new group has been created, to be set by the infra team at deployment !!!
2019-06-15 17:01:25 +02:00
57f2a5c260
pedagogy: rename Study into StudyField 2019-06-15 12:49:13 +02:00
36831b4f4a
pedagogy: rename TeachingDepartment into EducationDepartment 2019-06-15 12:49:13 +02:00
17a375f89c
pedagogy: structure of the app 2019-06-15 12:49:13 +02:00