Commit graph

253 commits

Author SHA1 Message Date
Alexandre Iooss
732b33539a Change upload path 2021-12-15 20:01:22 +01:00
erdnaxe
f5ce880fe2 Merge branch 'rename_media' into 'master'
Add rename_media management command

See merge request bde/photo21!18
2021-12-15 13:26:42 +01:00
Alexandre Iooss
211549de7e Test Django 2.2 and 3.2 2021-12-15 13:22:34 +01:00
Alexandre Iooss
712bf6ad85 rename_media: do not depend on tqdm 2021-12-15 13:22:16 +01:00
Alexandre Iooss
19eb5a420e Add rename_media management command 2021-12-05 15:16:08 +01:00
Alexandre Iooss
4fa1f2f2df Use localhost as default SMTP 2021-12-05 13:39:30 +01:00
Alexandre Iooss
3350dd2f8d duplicate: close file context after read 2021-12-05 13:38:57 +01:00
Alexandre Iooss
989c1803fd Add lazy loading on thumbnails 2021-12-05 13:37:54 +01:00
Alexandre Iooss
093ddf8cfd Bump django-taggit version for Django 3 support 2021-12-05 13:37:05 +01:00
Alexandre Iooss
e53892e53f Relax Django version 2021-12-05 13:36:48 +01:00
Alexandre Iooss
0b0eb49459 Output duplicates on the same line 2021-11-14 09:14:56 +01:00
Alexandre Iooss
af798e3fcc Simplify filtering gallery by slug 2021-11-14 09:08:37 +01:00
Alexandre Iooss
0d52cdca9e Import Gallery from photologue directly 2021-11-14 09:07:43 +01:00
erdnaxe
b99e8755e3 Merge branch 'duplicate' into 'master'
merge duplicate deletion command into master

See merge request bde/photo21!17
2021-11-14 08:57:45 +01:00
aeltheos
2df1bc4d50 Added deletion of duplicate if --delete is specified 2021-11-14 01:06:03 +01:00
aeltheos
ff50845a13 Added output of found duplicate
Fixed find_duplicate
2021-11-14 00:45:44 +01:00
aeltheos
dbb71d088a Added logic to find galleries based on user input
Cleaned up comment in find duplicate
2021-11-14 00:17:02 +01:00
aeltheos
02426942d0 Added argument to argparse 2021-11-12 21:40:29 +01:00
aeltheos
b347ac76c1 finished find duplicate function 2021-11-12 21:40:00 +01:00
Alexandre Iooss
94a7737541 Fix settings.py identations 2021-11-11 11:38:02 +01:00
Alexandre Iooss
0cf1b6f6f7 Add git to GitLab CI 2021-11-11 11:32:57 +01:00
Alexandre Iooss
600367a4a3 Expire session after 2 weeks 2021-11-11 11:16:39 +01:00
Alexandre Iooss
49fad0da39 Remove useless template context processor 2021-11-11 11:16:25 +01:00
Alexandre Iooss
ef53009c38 Add login using NoteKfet21 2021-11-11 11:16:03 +01:00
Alexandre Iooss
097f4f5093 Fix tag saving during upload 2021-10-23 17:59:19 +02:00
erdnaxe
40365ccc39 Merge branch 'upload_form_rework' into 'master'
Add tags to upload form

Closes #18

See merge request bde/photo21!16
2021-10-23 17:51:24 +02:00
Alexandre Iooss
3d36aded1f Show message during upload 2021-10-23 17:48:30 +02:00
Alexandre Iooss
18d64c4fe9 Disable fields when choosing existing gallery 2021-10-23 17:43:21 +02:00
Alexandre Iooss
a2e06185ad Add tags to upload form 2021-10-23 17:31:40 +02:00
erdnaxe
04951b2ee4 Merge branch 'simpler_router' into 'master'
Cleanup routing and remove middleware

See merge request bde/photo21!15
2021-10-23 15:37:21 +02:00
Alexandre Iooss
de6088ca5f Cleanup routing and remove middleware 2021-10-23 15:33:14 +02:00
erdnaxe
4514d7e020 Merge branch 'license' into 'master'
License

Closes #23

See merge request bde/photo21!14
2021-10-22 18:11:59 +02:00
Alexandre Iooss
1d3a5a30d2 Show license in gallery view 2021-10-22 18:09:00 +02:00
Alexandre Iooss
55e1b71f3a Add license field on photos 2021-10-22 18:06:31 +02:00
erdnaxe
fb43ac14b7 Merge branch 'force_auth' into 'master'
Use NGINX X-Accel-Redirect to protect media

Closes #22

See merge request bde/photo21!13
2021-10-22 17:56:15 +02:00
Alexandre Iooss
eb03db2dff Use NGINX X-Accel-Redirect to protect media 2021-10-22 17:52:27 +02:00
erdnaxe
29e9dba141 Merge branch 'photograph_upload' into 'master'
Photograph interface

See merge request bde/photo21!11
2021-10-17 20:33:47 +02:00
Alexandre Iooss
0b59d42b41 Check permission on upload page 2021-10-15 18:02:48 +02:00
Alexandre Iooss
ead7a0b71e Do not show description in sample 2021-10-15 17:57:45 +02:00
Alexandre Iooss
59ac6535af Test image using Pillow 2021-10-15 14:59:18 +02:00
Alexandre Iooss
baf70d396c Handle database integrity error during upload 2021-10-15 14:45:26 +02:00
Alexandre Iooss
2334017abf Update translations 2021-10-15 14:16:41 +02:00
Alexandre Iooss
05ff9ca3d3 Upload images in galleries 2021-10-15 14:14:09 +02:00
Alexandre Iooss
0d0f72a9eb Fix duplicate email on account creation 2021-10-15 13:37:15 +02:00
Alexandre Iooss
d2fa5ce02f Check upload form 2021-10-15 12:43:17 +02:00
Alexandre Iooss
727387566d Add upload page 2021-10-15 10:55:07 +02:00
Alexandre Iooss
583a1ffce8 Simplify logic on index page 2021-10-15 10:51:20 +02:00
Alexandre Iooss
2bd96a4380 Define server admins and moderators 2021-10-15 10:50:57 +02:00
Alexandre Iooss
fb99407d1f Add license header in templates 2021-10-15 09:53:21 +02:00
Alexandre Iooss
920f07339a Remove trailing spaces 2021-10-15 09:52:48 +02:00