Commit graph

24 commits

Author SHA1 Message Date
krek0
f5ccb40e16 Add can_resolve_censorship permission and uncensor feature
- Add custom permission to Photo model
- Add PhotoUncensorView POST endpoint to restore private photos
- Show private photos to users with can_resolve_censorship
- Add restore button in lightgallery toolbar for censored photos
2026-04-22 10:04:47 +02:00
krek0
a875c2707b Add public shareable link for galleries 2026-04-22 08:21:52 +02:00
loulous27
50921c82ab Add a message when downloading to make people think more about mentionning LENS and photographer 2026-03-05 16:15:33 +01:00
loulous27
71066e5507 Revert "Add some admin useful informations and SQL optimisation"
This reverts commit 9020074df8.
2025-12-07 23:16:15 +01:00
loulous27
9020074df8 Add some admin useful informations and SQL optimisation 2025-12-07 23:15:32 +01:00
loulous27
e644778673 Revert "Correction on cache"
This reverts commit 37220efe96
2025-12-04 16:49:53 +01:00
loulous27
37220efe96 Correction on cache 2025-12-04 16:47:23 +01:00
loulous27
1492c803a8 flake8 formating 2025-11-28 20:59:42 +01:00
loulous27
f1673da45f Caches é SQL optimisations 2025-11-23 14:43:49 +01:00
Alexandre Iooss
effb56ef1d Format using black 2023-08-05 13:35:53 +02:00
Alexandre Iooss
35251c9e0a random.sample on list rather than set 2023-08-05 12:37:15 +02:00
Alexandre Iooss
3b1056b3ae random.sample don't take sets anymore 2023-08-05 12:34:59 +02:00
Alexandre Iooss
69529e103e Fix error on partial upload 2022-10-12 11:12:58 +02:00
Alexandre Iooss
59136050fb Format code using black 2022-03-02 21:23:40 +01:00
Alexandre Iooss
ced85c7b44 Show photo by pk 2022-03-02 13:11:24 +01:00
Alexandre Iooss
7d6d965191 Show private photos count for admins 2022-03-01 21:56:04 +01:00
Alexandre Iooss
7e912b225c Order photos by title 2022-02-28 15:47:56 +01:00
Alexandre Iooss
970db0dc05 Fix AttributeError on EXIF load 2022-02-25 07:47:34 +01:00
Alexandre Iooss
4b3cf83181 Make all galleries public 2022-01-30 13:14:22 +01:00
Alexandre Iooss
696bc4d5c1 Staff members can inspect private pictures 2022-01-30 12:29:27 +01:00
Alexandre Iooss
2ef6dd2a44 Remove date_added field in Gallery 2022-01-30 11:21:03 +01:00
Alexandre Iooss
8beedb3626 Remove extended models 2022-01-30 10:53:58 +01:00
Alexandre Iooss
27b1590a10 Add extended fields to the Photo and Gallery 2022-01-30 10:20:32 +01:00
Alexandre Iooss
5368a51a76 Bundle trimed down alternative to photologue 2022-01-30 08:20:03 +01:00