Commit graph

25 commits

Author SHA1 Message Date
Rodolphe Breard
4bdfe2d05c Flag allowed NSFW content 2018-06-02 21:43:23 +02:00
Rodolphe Breard
aa691e7d2e Move the global static files to a dedicated subdirectory 2018-06-02 13:38:47 +02:00
Rodolphe Breard
5b6609a46f Add the NSFW mode 2018-05-27 18:45:52 +02:00
Rodolphe Breard
4da85ac991 Improve the way the login url is handled 2018-03-03 11:30:29 +01:00
Rodolphe Breard
65300d9ce8 Add Django neo-pastebin 2018-03-02 19:38:14 +01:00
Rodolphe Breard
5d367f3f49 Use the Csv helper for the KHAGANAT_HOSTNAMES config 2018-02-09 21:45:26 +01:00
Rodolphe Breard
af1a793965 Use python-decouple instead of custom hack 2018-02-09 18:52:37 +01:00
Rodolphe Breard
fdf879a6b3 Allow to set the SECURE_PROXY_SSL_HEADER django setting
Sometimes the django application is deployed behind a reverse-proxy
which manage HTTPS. In such case, django think the connection is plain
HTTP unless SECURE_PROXY_SSL_HEADER is set and the reverse-proxy sets
the appropriate header/value.
2018-02-04 17:12:22 +01:00
Rodolphe Breard
291f9f0910 Fix various problems with emails for account/password 2018-02-04 16:11:07 +01:00
Rodolphe Breard
71e7433040 Parse environment variables with boolean values
Simply using bool() on the string returns True for every non-empty
string. Hence, the only way to set a value to False is to set it the an
empty string, which is counter-intuitive.
This commit will instead compare the string to well-known values for
True and return accordingly. Every other non-empty string is evaluated
to False. Empty string are evaluated to the default value.
2018-02-04 11:15:02 +01:00
Rodolphe Breard
ab4eb7414c Add basic user functionalities
Users need to register, login, logout and reset their password.
2018-02-04 01:36:39 +01:00
Rodolphe Breard
a12014e2f1 Add the language to the admin tool 2018-01-28 15:47:39 +01:00
Rodolphe Breard
df2032ef05 Improve the log style 2018-01-28 14:27:02 +01:00
Rodolphe Breard
0b59b4b140 Enforce some pep8 code style 2018-01-27 23:12:09 +01:00
Rodolphe Breard
72c432dd18 Add the new user model 2018-01-27 21:06:40 +01:00
Rodolphe Breard
2d40a57613 Add the log app 2018-01-27 18:58:36 +01:00
Rodolphe Breard
f075438bbe Add the STATIC_ROOT env setting 2018-01-26 19:39:28 +01:00
Rodolphe Breard
89a10d3b6a Add the navbar 2018-01-21 13:44:00 +01:00
Rodolphe Breard
c9c8228e22 Adjust the opacity 2018-01-20 15:20:28 +01:00
Rodolphe Breard
adeb8a501f Add the favicon 2018-01-20 15:07:26 +01:00
Rodolphe Breard
73d0952eeb Add the base theme 2018-01-20 13:36:42 +01:00
Rodolphe Breard
ddaf8c0027 Improve the default page finding 2018-01-20 11:02:04 +01:00
Rodolphe Breard
e5fcd61105 Add the static pages module 2018-01-13 15:45:54 +01:00
Rodolphe Breard
ace88af9f9 Add bootstrap 2018-01-13 15:45:20 +01:00
Rodolphe Breard
71d6cee66d first commit 2018-01-13 12:29:33 +01:00