Commit graph

341 commits

Author SHA1 Message Date
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
Alexandre Iooss
7d700bea36 Add tags to galleries 2021-09-23 10:35:37 +02:00
Alexandre Iooss
d74e6e39f9 Update translations 2021-09-23 10:19:24 +02:00
Alexandre Iooss
fa53379a51 Move lightgallery statics to photologue_custom app 2021-09-23 10:19:10 +02:00
Alexandre Iooss
59b95898f8 Move custom photologue to seperate app 2021-09-23 10:17:01 +02:00
Alexandre Iooss
0edbc79023 Add lightgallery viewer in photologue 2021-09-23 09:59:12 +02:00
Alexandre Iooss
bf455989d3 Show recent galleries on home page 2021-09-23 09:58:49 +02:00
Alexandre Iooss
13f5a446dd Add favicon 2021-09-23 09:58:19 +02:00
Alexandre Iooss
80dc92ce26 Add title to home page 2021-09-22 22:14:03 +02:00
Alexandre Iooss
c136bf7df4 Add text content to index and login 2021-09-22 22:12:03 +02:00
Alexandre Iooss
6a6892b560 Use non fluid container for navbar 2021-09-22 21:40:49 +02:00
Alexandre Iooss
2ab4224330 Init french locale 2021-09-22 21:40:12 +02:00
Alexandre Iooss
2c38856a58 Add COPYING 2021-09-22 21:33:46 +02:00
Alexandre Iooss
acda0e9fe1 Add README.md 2021-09-22 21:32:32 +02:00
Alexandre Iooss
afcfc71e85 Lint source code 2021-09-22 21:24:44 +02:00
Alexandre Iooss
45986cb0e8 Add admin button to navbar 2021-09-22 19:32:24 +02:00
Alexandre Iooss
5610ade1fe Base templates 2021-09-22 19:32:04 +02:00
Alexandre Iooss
76ed93ff33 Initial commit 2021-09-22 17:52:19 +02:00