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
Rodolphe Breard
634eeac715
Display context logs with a lighter way
2018-06-10 22:42:52 +02:00
Rodolphe Breard
49c0cbf16e
Allow admins to see more days from sources
2018-06-09 19:02:47 +02:00
Rodolphe Breard
9f490febdf
Disable empty log sources
2018-06-09 19:02:13 +02:00
Rodolphe Breard
7fe6c91bed
Add a command that clean logs
2018-06-09 19:01:36 +02:00
Rodolphe Breard
0c29381351
Urlize logs
2018-06-09 17:31:14 +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
6ba0834175
Fix the navbar main logo
2018-06-02 20:29:58 +02:00
Rodolphe Breard
bfe37bedea
Allow pages to be marked as NSFW
2018-06-02 16:03:13 +02:00
Rodolphe Breard
b444fe8c49
Fix the navbar icons path
2018-06-02 14:48:21 +02:00
Rodolphe Breard
e9c325b41f
Chain queryset filters to avoid strange query generation syntax bug
2018-06-02 14:29:46 +02:00
Rodolphe Breard
aa691e7d2e
Move the global static files to a dedicated subdirectory
2018-06-02 13:38:47 +02:00
Rodolphe Breard
dafb3e20dd
Move the navbar icons to a dedicated subdirectory
2018-06-02 12:23:12 +02:00
Rodolphe Breard
1f7c9d511f
Improve the readme with update and deployment tips
2018-06-02 10:54:49 +02:00
Rodolphe Breard
8e253993e7
Untrack the Pipfile.lock
2018-05-28 00:26:46 +02:00
Rodolphe Breard
5b6609a46f
Add the NSFW mode
2018-05-27 18:45:52 +02:00
Rodolphe Breard
f0a3ce06fa
Enforce coding style
2018-05-27 11:48:14 +02:00
Rodolphe Breard
1558b0e6fd
Improve the readme file
2018-05-27 11:28:13 +02:00
Rodolphe Breard
4da85ac991
Improve the way the login url is handled
2018-03-03 11:30:29 +01:00
Rodolphe Breard
9f012885b4
Add gunicorn to dev-packages
2018-03-03 11:18:59 +01:00
Rodolphe Breard
6b84383dfd
Upgrading django-npb
2018-03-03 11:16:21 +01:00
Rodolphe Breard
65300d9ce8
Add Django neo-pastebin
2018-03-02 19:38:14 +01:00
Rodolphe Breard
98947a358e
Use view_name instead of func
...
Using func does not work when using application with namespace url.
2018-03-02 19:32:56 +01:00
Rodolphe Breard
01c9651131
Add markdown support for flat pages
2018-02-25 20:46:41 +01:00
Rodolphe Breard
884fd4579a
Improve the admin panel for navbar elements
...
Elements are now ordered by parent and weight.
The parent, link and weight are now displayed in the list.
fix issue #1
2018-02-25 16:16:47 +01:00
Rodolphe Breard
8862f67777
Allow to override a navbar link for each language
...
ref issue #1
2018-02-25 16:15:29 +01:00
Rodolphe Breard
bd0c8ea904
Change the widget used by the navbar element description
...
ref issue #1
2018-02-25 14:36:38 +01:00
Rodolphe Breard
aa6e3bcc04
Correctly display and translate the account menu
2018-02-17 19:12:11 +01:00
Rodolphe Breard
a09ff2edc1
Allow to export the navbar in several formats
2018-02-17 19:03:37 +01:00