Rodolphe Breard
b3fd805d40
Remove the last parts of django-bulma
2020-02-28 19:06:37 +01:00
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
fc5ed99a5e
Merge branch 'master' of ssh://git.khaganat.net:3543/Tycho/khaganat-web
2019-09-21 12:29:59 +02:00
Rodolphe Breard
68c42ac7c2
Add the Korean and Russian languages
2019-09-21 12:29:49 +02:00
029f6379b4
suppression d'un fichier de config qui a été integré dans le SASS
...
mise à jour du SASS
2019-07-31 16:53:30 +02:00
Rodolphe Breard
7979085213
Merge branch 'master' of ssh://git.khaganat.net:3543/Tycho/khaganat-web
2019-07-27 17:17:32 +02:00
Rodolphe Breard
d7af4cd80c
Add a simple pawword sharing module
2019-07-27 17:17:21 +02:00
e3723962dd
changement du pastebin (detail)
...
mise à jour du SASS
2019-07-26 14:22:45 +02:00
Rodolphe Breard
c15512e799
Format code using black
2019-07-24 19:07:41 +02:00
5e4d0ce64a
changement dans le footer
2019-07-23 16:13:23 +02:00
7538d622dc
Correction du SASS
...
-ajout du footer en bas de page
-icone au milieu
-correction du design
Ajout des logos Khaganat et Khanat
2019-07-23 15:36:33 +02:00
Rodolphe Breard
5e7b176e39
Add a webchat
2019-07-23 15:16:03 +02:00
Rodolphe Breard
79c134a4be
Remove font-awesome
...
Font-awesome is no longer packaged as a part of django-bulma. If
required, it will be added back, but in a different way.
2019-07-23 00:30:08 +02:00
Rodolphe Breard
7ea58907e6
Auto-indent the base template
2019-07-22 23:15:22 +02:00
9581ca16ab
implantation CSS
...
navbar, footer, tile, column
couleur de Khaganat et Khanat
2019-07-18 12:47:30 +02:00
Rodolphe Breard
741d36dad6
Set a minimalist theme
2019-01-27 13:27:51 +01:00
Rodolphe Breard
1d039d2aae
In debug mode, use the normal CSS file instead of the minified one
...
When working with Sass, the watch mode does not build the minified CSS
file. Hence, it is useful to use the normal one in development (debug
mode activated) and keep the minified one for production only (debug
mode deactivated).
2018-11-12 14:36:18 +01: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
2f243139bf
Add a burger manu to the navbar when used on mobiles
2018-06-11 12:13:07 +02:00
Rodolphe Breard
957c884f78
Use the minified css
2018-06-11 12:05:04 +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
2e7c42f61f
Add a footer with a legal page
2018-06-03 11:02:55 +02:00
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