ihatemoney/budget
0livd ea8eda35a7 Public project creation and admin permissions (#210)
* Add a @requires_admin decorator

It can be used to protect specific endpoints with ADMIN_PASSWORD
(a password that is stored unencrypted in the settings)
The decorator has no effect if ADMIN_PASSWORD is an empty string (default value)

* Require admin permissions to access create project endpoint

When ADMIN_PASSWORD is not empty, project creation form on the
home page will be replaced by a link to the create project endpoint
so one is able to enter the admin password before filling the form
2017-05-18 11:48:09 +02:00
..
migrations Convert readthedocs links for their .org -> .io migration for hosted projects 2016-06-28 07:46:50 +01:00
static Prevent "Add new bill" button flickering 2017-02-09 16:49:01 +01:00
templates Public project creation and admin permissions (#210) 2017-05-18 11:48:09 +02:00
tests Public project creation and admin permissions (#210) 2017-05-18 11:48:09 +02:00
translations/fr/LC_MESSAGES Public project creation and admin permissions (#210) 2017-05-18 11:48:09 +02:00
__init__.py I HAZ TO RUN TESTS BEFORE COMMITING 2011-10-14 15:48:31 +02:00
api.py Use non-deprecated way to disable CSRF for API 2017-03-29 14:32:43 +02:00
babel.cfg Translate the application using Flask-babel. 2011-10-15 01:19:19 +02:00
default_settings.py Public project creation and admin permissions (#210) 2017-05-18 11:48:09 +02:00
forms.py Public project creation and admin permissions (#210) 2017-05-18 11:48:09 +02:00
manage.py Remove ExtDeprecationWarning from manage.py 2017-03-29 15:15:47 +02:00
messages.pot Remove unused archive feature 2017-03-19 20:16:06 +01:00
models.py Fix tab indentation 2017-03-12 22:23:24 +01:00
run.py Externalize the settings (#193) 2017-04-23 18:32:37 +02:00
utils.py Use propper base64 encoding version for py3 2017-03-29 15:31:28 +02:00
web.py Public project creation and admin permissions (#210) 2017-05-18 11:48:09 +02:00