Commit graph

123 commits

Author SHA1 Message Date
Rodolphe Breard
591c151e85 Use Django's force_bytes() instead of bytes()
Unlike bytes() which accepts only a string, force_bytes() accept all
sort of input type. This is required since SECRET_KEY may be either a
string or bytes.
2019-07-27 19:25:25 +02:00
Rodolphe Breard
e9817df97e Use Django's internal secret key generation 2019-07-27 19:25:11 +02:00
Rodolphe Breard
0e03f327b1 Add an admin command that re-encrypts passwords after a key rollover 2019-07-27 18:29:18 +02:00
Rodolphe Breard
d358eb8aef Display description line breaks 2019-07-27 18:01:39 +02:00
Rodolphe Breard
c07f2f11a9 Use the main login page instead of the admin one 2019-07-27 17:35:49 +02:00
Rodolphe Breard
57fda2f5e1 Add a link to the shared passwords 2019-07-27 17:31:10 +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
5cf9d6d1f2 correction du logo de la navbar 2019-07-26 18:06:37 +02:00
f6da312196 changement d'un logo plus net 2019-07-26 17:58:27 +02:00
e3723962dd changement du pastebin (detail)
mise à jour du SASS
2019-07-26 14:22:45 +02:00
Rodolphe Breard
8c601c23a2 Update the README 2019-07-24 21:23:37 +02:00
Rodolphe Breard
e044d955d8 Set the required Django version to 2.2.X
https://www.python.org/dev/peps/pep-0440/#compatible-release
2019-07-24 20:48:33 +02:00
Rodolphe Breard
c15512e799 Format code using black 2019-07-24 19:07:41 +02:00
Rodolphe Breard
7f1e07503a Add user management 2019-07-24 18:45:09 +02:00
Rodolphe Breard
073dc542ff Fix a bug caused by a change in Django 2.2 2019-07-24 18:34:56 +02:00
5e4d0ce64a changement dans le footer 2019-07-23 16:13:23 +02:00
Rodolphe Breard
160becba92 Indent code 2019-07-23 16:08:10 +02:00
1996bb0eb5 ajout du logo au milieu de la navbar 2019-07-23 16:03:51 +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
b3154265c1 Update the README 2019-07-23 00:45:19 +02:00
Rodolphe Breard
e09c239806 Upgrade Bulma 2019-07-23 00:37:57 +02:00
Rodolphe Breard
f535766039 Prevent the Bulma computed style files to be tracked 2019-07-23 00:37:30 +02:00
Rodolphe Breard
77d3147553 Remove the computed styles
Those files have to be generated using the following command:
pipenv run ./manage.py bulma build
2019-07-23 00:35:47 +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
f8a0487f20 Fix invalid link 2019-01-27 13:25:53 +01:00
Rodolphe Breard
1d315dd947 Fix a typo in the README 2019-01-26 21:11:20 +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
a397d766a0 Fix the NSFW setting
In the user settings, the temporary NSFW allowance was not detected.
This was due to use of a database lookup instead of the correct
function.
2018-11-09 20:09:04 +03:00
Rodolphe Breard
c2867dcde6 Stop using a hard-coded value for the NSFW cookie
If the value of KHAGANAT_NSFW_OK does not include the hard-coded value,
the NSFW cookie fails to work.
2018-11-09 20:04:33 +03:00
Rodolphe Breard
1e894853c8 Add the NSFW filter parameter within the user settings 2018-11-08 21:09:17 +01:00
Rodolphe Breard
428bd941e2 Enforce coding style 2018-11-08 20:11:14 +01:00
Rodolphe Breard
e1719f4773 Add the possibility for users to delete their account 2018-11-08 15:29:59 +01:00
Rodolphe Breard
a0e80623cf Add the possibility for users to change their own password
This functionality required to add a settings panel.
2018-11-08 14:18:24 +01:00
Rodolphe Breard
571a70162c Update the README 2018-11-07 17:02:15 +01:00
Rodolphe Breard
81caa19562 Update the README 2018-11-07 16:58:11 +01:00
Rodolphe Breard
a13bba420f Remove debug stuff 2018-06-11 16:21:08 +02:00
Rodolphe Breard
1b7152930d Improve log display for small displays 2018-06-11 13:51:37 +02:00
Rodolphe Breard
7dc976e347 Fix the navbar on the top for small displays 2018-06-11 13:33:20 +02: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
f249af08b7 Recomment the --clear and --noinput options for collectstatic 2018-06-11 12:32:59 +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