Commit graph

217 commits

Author SHA1 Message Date
Alexandre Iooss
971b112dec Hide PhotoEffect, PhotoSize and Watermark from admin 2021-10-12 09:05:16 +02:00
Alexandre Iooss
1af83a8630 Allow access from localhost 2021-10-12 08:58:39 +02:00
Alexandre Iooss
211b23d339 Define thumbnail sizes in initial data 2021-10-12 08:58:01 +02:00
Alexandre Iooss
65692901b8 Add python3-docutils as a requirement 2021-10-12 08:57:39 +02:00
Alexandre Iooss
3655d957ca Add initial fixture 2021-10-12 08:49:01 +02:00
Alexandre Iooss
f60592d37b Add migration for start and end date 2021-10-12 08:34:53 +02:00
Alexandre Iooss
60389ae1b0 Update instructions for production deployment 2021-10-11 21:55:15 +02:00
Alexandre Iooss
293bc48eae Update migrations 2021-10-11 21:54:47 +02:00
aeltheos
f271069563 Merge branch 'add_dates_gallery' into 'master'
Add start and end dates on gallery

See merge request bde/photo21!8
2021-10-11 21:53:07 +02:00
aeltheos
9b95b68a27 Add start and end dates on gallery 2021-10-11 21:49:36 +02:00
erdnaxe
59d60ccf70 Merge branch 'photograph' into 'master'
extended photologue photo to add an owner field

See merge request bde/photo21!7
2021-10-11 20:45:47 +02:00
aeltheos
7c0ba18824 extended photologue photo to add an owner field 2021-10-11 20:40:48 +02:00
aeltheos
e91e79ad85 Merge branch 'allauth' into 'master'
Allauth

See merge request bde/photo21!6
2021-10-11 19:09:40 +02:00
Alexandre Iooss
f992c88152 Check email address domain when signing up 2021-10-11 19:06:29 +02:00
Alexandre Iooss
5728b9a18e Account button 2021-10-11 18:34:20 +02:00
Alexandre Iooss
49bf9465d7 Show Django messages 2021-10-11 18:34:20 +02:00
Alexandre Iooss
0c9aae7e66 Authorize login by email 2021-10-11 18:34:20 +02:00
Alexandre Iooss
21e1a361b8 Update translations 2021-10-11 18:34:20 +02:00
Alexandre Iooss
bef8bf0ee7 Configure email server 2021-10-11 18:34:20 +02:00
Alexandre Iooss
403002812e Update AllAuth templates 2021-10-11 18:34:20 +02:00
Alexandre Iooss
dac078f7db Add Django-AllAuth app 2021-10-11 18:34:20 +02:00
aeltheos
ff5f5dd2e4 Merge branch 'prepare_prod' into 'master'
Document production installation

See merge request bde/photo21!5
2021-10-11 18:33:16 +02:00
aeltheos
0b3ef51e2b Merge branch 'tox_gitlab' into 'master'
Configure GitLab CI

See merge request bde/photo21!4
2021-10-11 18:23:07 +02:00
aeltheos
d62895d91f Merge branch 'zip_gallery' into 'master'
Add download gallery as zip

See merge request bde/photo21!3
2021-10-11 18:18:43 +02:00
Alexandre Iooss
c8e450f377 Document installation in production 2021-10-11 10:37:20 +02:00
Alexandre Iooss
fd9618790a Relax django-taggit version 2021-10-11 10:24:51 +02:00
Alexandre Iooss
26e7f12141 Define static target directory 2021-10-11 10:24:36 +02:00
Alexandre Iooss
935d59a3b4 Add GitLab CI configuration 2021-10-10 10:57:59 +02:00
Alexandre Iooss
4d2c402de4 Ignore shell.nix in git tree 2021-10-10 10:54:55 +02:00
Alexandre Iooss
52d63128fc Add download gallery as zip 2021-10-08 20:41:20 +02:00
erdnaxe
e2c826ec1d Merge branch 'no_ip_whitelist' into 'master'
Rework account forms

See merge request bde/photo21!2
2021-10-08 20:14:21 +02:00
Alexandre Iooss
1853ca96bb Check trusted email domains 2021-10-08 20:13:15 +02:00
Alexandre Iooss
0391639bed Update translations 2021-10-08 13:03:49 +02:00
Alexandre Iooss
122794a49d Rework account.forms.RegistrationForm 2021-10-08 11:49:07 +02:00
Alexandre Iooss
b9013c4eb3 Use Django Crispy forms 2021-10-08 11:37:48 +02:00
Alexandre Iooss
3e64f02dea Add sign up button 2021-10-08 11:37:48 +02:00
Alexandre Iooss
22104d3565 Do not whitelist access by IP range 2021-10-08 11:37:40 +02:00
Alexandre Iooss
22e0b7dc27 Use accounts/ prefix for accounts router 2021-10-08 11:10:08 +02:00
erdnaxe
61eadc9d60 Merge branch 'signup' into 'master'
Signup

See merge request bde/photo21!1
2021-10-07 18:25:29 +02:00
aeltheos
f8f017d1f8 fixed name in url patterns 2021-10-07 16:59:16 +02:00
aeltheos
6030bd5949 fixed template path and deleted settings.py as it was no longer need
changed accounts/signup.html to accounts/registration.html
2021-10-07 16:59:16 +02:00
aeltheos
d8853cee1c changed signup to accounts
finished fixing linting
2021-10-07 16:59:16 +02:00
aeltheos
4ab42bf3de fixed linting errors 2021-10-07 16:59:16 +02:00
aeltheos
ecc80b939d extended UserCreationForm to RegistrationForm, adding fields for email/firstname/lastname 2021-10-07 16:59:16 +02:00
aeltheos
aeb9cafd40 changed form to form.as_p in template for better formating 2021-10-07 16:59:16 +02:00
aeltheos
2db323f74d inital commit for signup
added a basic app using the UserCreationForm to create new user at /accounts/signup/
change outside of the app are:
-added signup to INSTALLED_APPS in /photo21/settings.py
-added accounts/signup/ to path in /photo21/urls.py

should extend UserCreationForm to have field for email and maybe first/last names, except if we want the user to add that themselves later
2021-10-07 16:59:16 +02:00
Alexandre Iooss
5848b83e1e Fix shebang in manage.py 2021-10-01 09:08:23 +02:00
Alexandre Iooss
b62b8af1cd Fix missing ipaddress 2021-09-23 11:42:19 +02:00
Alexandre Iooss
6f67b855ac Require login if not in authorized IP range 2021-09-23 11:41:35 +02:00
Alexandre Iooss
d59fb154b6 Add detail page for tags 2021-09-23 11:05:04 +02:00