Commit graph

29 commits

Author SHA1 Message Date
Rodolphe Breard
f1cb565b56 Remove django-bulma 2020-02-28 18:46:42 +01:00
Rodolphe Breard
85eb1ff03e Refactor the page edition
Markdown has been removed, pages are now directly edited in HTML. To
ease that process, TinyMCE has been added. Also, the admin dashboard now
provides a file management tool in order to upload stuff.
2020-02-28 13:53:57 +01:00
Rodolphe Breard
789acd71bf Deactivate Russian and Korean translations 2020-02-19 14:07:44 +01:00
Rodolphe Breard
68c42ac7c2 Add the Korean and Russian languages 2019-09-21 12:29:49 +02:00
Rodolphe Breard
d7af4cd80c Add a simple pawword sharing module 2019-07-27 17:17:21 +02:00
Rodolphe Breard
c15512e799 Format code using black 2019-07-24 19:07:41 +02:00
Rodolphe Breard
5e7b176e39 Add a webchat 2019-07-23 15:16:03 +02:00
Rodolphe Breard
52eb58f2a9 Add the KHAGANAT_INTERNAL_IPS setting 2018-11-12 14:35:37 +01:00
Rodolphe Breard
4bb0e083ae Moving the static files config to the specific app 2018-06-11 12:55:17 +02:00
Rodolphe Breard
220333fdbe Remove sass directory from static files 2018-06-11 12:42:00 +02:00
Rodolphe Breard
1fa3ab9ebe Add sass for bulma 2018-06-11 12:04:31 +02:00
Rodolphe Breard
1a9f9ca23b Move the nsfw functions into a real module 2018-06-03 23:48:21 +02:00
Rodolphe Breard
b0b8f30580 Migrate to Bulma
Bulma is simple and free full-CSS framework. Unlike Bootstrap, it fits
within a single small CSS file. It is also well integrated in Django.
https://bulma.io/
2018-06-03 22:16:40 +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
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
e5fcd61105 Add the static pages module 2018-01-13 15:45:54 +01:00
Rodolphe Breard
71d6cee66d first commit 2018-01-13 12:29:33 +01:00