aboutsummaryrefslogtreecommitdiff
path: root/budget/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-06-28Make all imports relative (#229)Alexis Metaireau1-3/+3
* Make all imports relative * Change the way the application runs in the Makefile * Import the default settings relatively * Fix manage.py imports
2017-06-27Use a hashed password for ADMIN_PASSWORD (#236)0livd1-1/+2
* Use a hashed password for ADMIN_PASSWORD A generate_password_hash manage.py command is provided Fixes #233 * Print a console warning for users using a clear text ADMIN_PASSWORD * Reword ADMIN_PASSWORD doc * Update changelog * Update CHANGELOG.rst - say it out loud - bump to 2.0 (that's the logic of semantic versioning while introducing breaking changes) * Bump to 2.0 (breaking change) * Update hashed password warning message * Mention the generate password hash in the Changelog
2017-05-18Public project creation and admin permissions (#210)0livd1-0/+21
* 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-17Add ACTIVATE_DEMO_PROJECT setting (#209)0livd1-0/+7
When set to False (True by default), it deactivates the demo project
2017-04-23Externalize the settings (#193)0livd3-2/+54
Default settings from app's root path are loaded first Settings are then overriden by /etc/ihatemoney/ihatemoney.cfg or by another file which path is set in an env var Fixes #187
2017-04-22Move tests to budget.tests (#205)0livd2-0/+1114
* Move tests to budget.tests Update tox.ini to call the unittest dicovery module Closes #196 * Fix typo in Readme