Commit graph

55 commits

Author SHA1 Message Date
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
Rodolphe Breard
5d367f3f49 Use the Csv helper for the KHAGANAT_HOSTNAMES config 2018-02-09 21:45:26 +01:00
Rodolphe Breard
d5e14a4d99 Add python 3.6 to the requirements 2018-02-09 21:39:08 +01:00
Rodolphe Breard
af1a793965 Use python-decouple instead of custom hack 2018-02-09 18:52:37 +01:00
Rodolphe Breard
d5744c3842 Upgrade to django 2.0.2 2018-02-05 20:09:46 +01:00
Rodolphe Breard
3d32c27d9a Add a migration for the neluser module 2018-02-04 20:41:11 +01:00
Rodolphe Breard
397d0bf62d Allow to set the locale on navbar links 2018-02-04 20:40:41 +01:00
Rodolphe Breard
28e0743b3c Add an inline admin interface to the log module 2018-02-04 20:28:09 +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
9d989f0549 Remove a buggy comma 2018-02-04 12:29:25 +01:00
Rodolphe Breard
195401edb0 Remove an unused context 2018-02-04 11:43:47 +01:00
Rodolphe Breard
acec5d06de Add a link to the admin pannel for superusers 2018-02-04 11:42:48 +01:00
Rodolphe Breard
eb8a3688a5 Return a 404 error for non-existent pages 2018-02-04 11:25:02 +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
e0d26e8a7a Add separators within the navbar
Implement #2
2018-01-29 22:34:05 +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
3d169a8e41 Improve logs display 2018-01-28 14:10:53 +01:00
Rodolphe Breard
22f7f217cf Improve url handling within the navbar 2018-01-28 12:09:15 +01:00
Rodolphe Breard
0b59b4b140 Enforce some pep8 code style 2018-01-27 23:12:09 +01:00
Rodolphe Breard
e986389d25 Add the superuser creation to the quick deployment guide 2018-01-27 21:38:38 +01:00
Rodolphe Breard
c9c2a5cda9 Update the README with the i18n instructions 2018-01-27 21:32:21 +01:00
Rodolphe Breard
044ae4b028 Add .sql files to the ignore list 2018-01-27 21:16:37 +01:00
Rodolphe Breard
d05b9564ba Squash migration files 2018-01-27 21:15:54 +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
fc0ebef9cb Add the AGPL license 2018-01-26 21:49:00 +01:00
Rodolphe Breard
fce04daaaa Add the README 2018-01-26 21:28:45 +01:00
Rodolphe Breard
2953a90c55 Add the shell scripts to git's ignore list 2018-01-26 21:20:46 +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
3a0d5f6be1 Remove the default title on pages 2018-01-20 12:48:47 +01:00
Rodolphe Breard
ddaf8c0027 Improve the default page finding 2018-01-20 11:02:04 +01:00