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
Skia
d92a706920
Refactor notifications
2016-12-10 00:06:17 +01:00
Skia
a02d5a65cb
Improve a bit SAS moderation
2016-12-09 15:46:47 +01:00
Skia
80fa99d2ac
Add notification
2016-12-08 19:47:28 +01:00
Skia
d2c580dd81
Close issue #26 : improve SAS ergonomy
2016-12-06 13:53:16 +01:00
Skia
7453b857fb
Add thumbnails to albums
2016-11-30 09:28:54 +01:00
Skia
cfbb6f4e1f
Lot of small improvement in SAS
2016-11-25 13:47:09 +01:00
Skia
da35292cd5
Add is_in_sas field, to perform queries on it
2016-11-23 11:46:45 +01:00
Skia
0e788dd876
Small refactoring
2016-11-23 11:46:45 +01:00
Skia
0e0e57458f
Improve SAS UX
2016-11-23 11:46:45 +01:00
Skia
815ef03860
Better handle rotations
2016-11-23 11:46:45 +01:00
Skia
869634d6e1
Add thumbnail generation
2016-11-23 11:46:45 +01:00
Skia
22ab21e4e1
Add picture-people relation and ask for removal thing
2016-11-23 11:46:45 +01:00
Skia
b619619b85
Improve moderation tool in SAS
2016-11-23 11:46:45 +01:00
Skia
e681cc65fe
Add SAS moderation tool
2016-11-23 11:46:45 +01:00
Skia
5ea41de91d
WIP SAS
2016-11-23 11:46:45 +01:00
Skia
585ba55e5e
Continue SAS
2016-11-23 11:46:40 +01:00