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
imperosol
5348a451e9
feat: picture moderation requests
2024-10-14 00:45:52 +02:00
imperosol
83ae21140d
move SAS forms to their own file
2024-10-14 00:45:52 +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
bc40b92744
completely ajaxify the picture page
2024-09-17 12:23:13 +02:00
thomas girod
48f605dbe0
Use select2 for user picture identification
2024-09-17 12:17:17 +02:00
thomas girod
e2b42145e1
Merge pull request #819 from ae-utbm/fix-delete-picture
...
fix undeletable SAS pictures
2024-09-10 23:12:59 +02:00
thomas girod
55ad1f99fd
fix undeletable SAS pictures
2024-09-10 21:38:13 +02:00
thomas girod
d148d6b3a5
unify album name length
2024-09-08 13:30:23 +02:00
thomas girod
3ef38fabdb
fix picture navigation
2024-08-09 17:34:35 +02:00
thomas girod
20c015c312
improved UX
2024-08-09 11:58:26 +02:00
thomas girod
00dc03a235
fix rights on albums and next/previous pictures
2024-08-08 13:35:48 +02:00
thomas girod
4506440a62
add PictureQuerySet.viewable_by(user)
method
2024-08-08 11:50:45 +02:00
thomas girod
da6bd84cdf
restify album view
2024-08-08 11:50:45 +02:00
thomas girod
215fdce411
Fix button to remove a user from picture
2024-07-25 23:29:12 +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
e1bf7caa9a
Fix CVE-2023-31047
2024-06-24 13:27:22 +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
8e7c025e47
[FIX] Broken link in readme and license fix (& update) ( #591 )
2023-04-04 18:39:45 +02:00
98bfc308a7
Minimal working version
...
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
4a1bfc366d
sas: fix 500 error when tagging the same user twice or adding a non existing user
2019-12-17 11:25:17 +01:00
d7075eb762
django2.2: fix breaking change for getting uploaded files size
2019-10-08 22:46:38 +02:00
97c316b62e
django2.2: replace removed is_anonymous() and is_authenticated to their now used counterparts
2019-10-08 22:46:03 +02:00
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls
2019-10-08 22:46:01 +02:00
b8ad2d4835
sas: add pagination on AlbumView
2019-09-16 01:26:20 +02:00
cb58b00b6e
All: Apply Black coding rules
2018-10-05 21:52:55 +02:00
Skia
874dfa6cc3
sas/views: change categories ordering
2018-04-18 22:58:03 +02:00
Skia
43f51813e0
sas: fix album preview
...
Signed-off-by: Skia <skia@libskia.so>
2017-10-06 17:57:54 +02:00
Skia
49b77480e6
sas: clean up old notif trigger
...
Signed-off-by: Skia <skia@libskia.so>
2017-09-25 12:50:02 +02:00
Skia
e085556def
sas: allow ancient subscriber to add people on pictures
...
Signed-off-by: Skia <skia@libskia.so>
2017-07-26 16:55:00 +02:00
9447de4468
fix merging
2017-06-13 10:49:11 +02:00
e2311dcb71
Format sas
2017-06-13 10:04:13 +02:00
Skia
83deae5964
Apply GPLv3 to Sith, and add header to every concerned file
2017-04-24 17:51:12 +02:00
Skia
b28ce200e6
Fix some translations
2017-03-27 14:31:58 +02:00
Skia
59dfcbd567
Merge branch 'forum' into 'master'
...
Forum
See merge request !49
2017-02-24 03:08:07 +01:00
Skia
dea234f98a
Change is_subscriber and was_subscriber to cached_properties
2017-02-24 02:59:59 +01:00
Skia
aa93211025
Add support for editing album date
2017-02-21 14:29:58 +01:00
Skia
494062fbbe
Fix thumbnail generation for album upload view
2017-02-02 23:07:45 +01:00
Skia
5a305354cb
Add recursive option to file props form
2017-01-12 20:55:47 +01:00
Skia
881afd9e0a
Improve SAS main view, and make some translations
2017-01-10 23:32:17 +01:00
Skia
a90a553939
Some fixes on SAS upload form
2017-01-05 10:05:27 +01:00
Skia
352b8f0b4f
Add recursive option to apply rights in the SAS
2016-12-18 19:08:25 +01:00
Skia
dd2be2a31e
Auto generate album thumbnails
2016-12-18 18:34:48 +01:00
Skia
57d8926a3f
Improve SAS moderation interface
2016-12-15 13:10:05 +01:00
Skia
642249e7fb
Notification fix
2016-12-14 09:11:26 +01:00
Skia
bf9aa29a54
Add clipboard to SAS
2016-12-13 17:17:58 +01:00
Skia
0d4b697079
Refactor group settings
2016-12-10 01:29:56 +01:00