Commit graph

327 commits

Author SHA1 Message Date
Alexandre Iooss
a268d3db1e Remove Bootstrap5 JS source map 2022-03-11 18:31:59 +01:00
Alexandre Iooss
f9cf8f6f31 Remove bootstrap5 source map 2022-03-11 18:22:56 +01:00
Alexandre Iooss
3a0e08f3f5 Move inline CSS to layout.css 2022-03-11 18:22:29 +01:00
Alexandre Iooss
5973612776 Add python3-django-allauth to gitlab-ci 2022-03-11 17:41:17 +01:00
Alexandre Iooss
06d8966393 Fix manager mailing settings 2022-03-11 17:34:48 +01:00
Alexandre Iooss
4fedc48e7f No virtualenv in production 2022-03-11 17:32:00 +01:00
Alexandre Iooss
032c9086f8 Fix module import order 2022-03-11 17:18:14 +01:00
Alexandre Iooss
8d44182af8 Unifomize license headers 2022-03-11 17:16:11 +01:00
Alexandre Iooss
9dc40279fa close gallery on action 2022-03-09 17:33:05 +01:00
Alexandre Iooss
b2c3ec5d3f do not show gallery name in viewer 2022-03-09 17:22:11 +01:00
Alexandre Iooss
c20ad43758 lg-admin: do not check res value 2022-03-09 17:21:58 +01:00
Alexandre Iooss
2447735aec Harden CSP and Referrer-Policy in HTML header 2022-03-09 11:35:48 +01:00
Alexandre Iooss
f48f9b00e9 Build an absolute URL for abuse reports 2022-03-02 21:45:58 +01:00
Alexandre Iooss
350ab12fc4 Do not load gallery on API access 2022-03-02 21:45:42 +01:00
erdnaxe
de9c37e617 Merge branch 'moderation_ux' into 'master'
Moderation ux

See merge request bde/photo21!25
2022-03-02 21:27:54 +01:00
Alexandre Iooss
59136050fb Format code using black 2022-03-02 21:23:40 +01:00
Alexandre Iooss
2ad0c8dbc7 Enable users to report without sending a mail 2022-03-02 21:22:44 +01:00
Alexandre Iooss
f9c33e2cad Add delete photo view 2022-03-02 13:13:59 +01:00
Alexandre Iooss
f17adbb2ed Show private photos count in gallery 2022-03-02 13:11:57 +01:00
Alexandre Iooss
ced85c7b44 Show photo by pk 2022-03-02 13:11:24 +01:00
Alexandre Iooss
7f425eacb7 Fix initial fixtures 2022-03-02 11:23:44 +01:00
Alexandre Iooss
7d6d965191 Show private photos count for admins 2022-03-01 21:56:04 +01:00
erdnaxe
aa45386976 Merge branch 'gallery_ui' into 'master'
Better moderation UX

See merge request bde/photo21!24
2022-03-01 21:43:33 +01:00
Alexandre Iooss
407a73cc89 Add titles to viewer action buttons 2022-03-01 21:41:31 +01:00
Alexandre Iooss
d2506a587d Link delete and report icons 2022-03-01 21:38:58 +01:00
Alexandre Iooss
84e96e2497 Align viewer icons 2022-03-01 21:32:02 +01:00
Alexandre Iooss
1e98c51729 Add report and delete icons 2022-03-01 21:21:02 +01:00
Alexandre Iooss
695ec94d7c Always load lg-admin plugin 2022-03-01 21:06:58 +01:00
Alexandre Iooss
6376e3b550 Show become photograph button only when needed 2022-03-01 11:39:48 +01:00
Alexandre Iooss
7e912b225c Order photos by title 2022-02-28 15:47:56 +01:00
erdnaxe
c84a4e1a22 Merge branch 'moderation_tools' into 'master'
Moderation tools

See merge request bde/photo21!23
2022-02-25 07:53:25 +01:00
Alexandre Iooss
8855a4003d Set secret key for CI 2022-02-25 07:51:07 +01:00
Alexandre Iooss
95243c4d06 Hide photos field in Gallery admin 2022-02-25 07:48:20 +01:00
Alexandre Iooss
970db0dc05 Fix AttributeError on EXIF load 2022-02-25 07:47:34 +01:00
Alexandre Iooss
167c9cb45b Update NGINX example 2022-01-30 20:13:05 +01:00
Alexandre Iooss
a719203ee0 Include subdomains and preload in HSTS 2022-01-30 20:00:04 +01:00
Alexandre Iooss
df7f46425e Enable HSTS 2022-01-30 19:55:46 +01:00
Alexandre Iooss
13f5111d7a Mark CSRF cookies as secure 2022-01-30 19:51:58 +01:00
Alexandre Iooss
648cae81d5 Use secure cookies 2022-01-30 19:13:42 +01:00
Alexandre Iooss
b7a78cea12 Simplify photo display 2022-01-30 14:53:19 +01:00
Alexandre Iooss
e94436c79c Add tags support in admin 2022-01-30 13:51:18 +01:00
Alexandre Iooss
3a24fbdc28 Autocomplete slug for tag 2022-01-30 13:45:55 +01:00
Alexandre Iooss
3c8e34db92 Hide empty galleries 2022-01-30 13:23:57 +01:00
Alexandre Iooss
4b3cf83181 Make all galleries public 2022-01-30 13:14:22 +01:00
Alexandre Iooss
8b768108d2 Red border for private pricture 2022-01-30 12:36:11 +01:00
Alexandre Iooss
696bc4d5c1 Staff members can inspect private pictures 2022-01-30 12:29:27 +01:00
erdnaxe
d7a39a0334 Merge branch 'simplify_models' into 'master'
Simplify models

See merge request bde/photo21!22
2022-01-30 11:26:08 +01:00
Alexandre Iooss
a4faa7e04e Fix Django Admin docs 2022-01-30 11:23:34 +01:00
Alexandre Iooss
2ef6dd2a44 Remove date_added field in Gallery 2022-01-30 11:21:03 +01:00
Alexandre Iooss
80085edeeb Reset migrations 2022-01-30 11:15:41 +01:00