aboutsummaryrefslogtreecommitdiff
path: root/budget/run.py
AgeCommit message (Collapse)AuthorFilesLines
2017-06-27Use a hashed password for ADMIN_PASSWORD (#236)0livd1-0/+11
* 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-04-23Externalize the settings (#193)0livd1-3/+13
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-03-29Use app.root_path instead of __HERE__Alexis Métaireau1-4/+3
2017-03-28Create a Makefile to ease developmentAlexis Métaireau1-1/+3
2017-01-21Fix deprecation issues (ExtDeprecationWarning)Alexandre Avenel1-2/+2
2016-06-18Fix migrations upgrade path for MySQLJocelyn Delande1-1/+15
For some reason, the migration path from unmanaged db (from alembic point-of-view) to managed db, through the initial migration works well with sqlite… But not with mysql where the db system tries to re-create the existing tables. This commit is a way to detect if we are migrating from pre-alembic era and skip the first migration (which would do nothing anyway), marking it as already executed. It's quite hackish but that's the best I found so far to get it working with both MySQL and SQLite.
2016-06-15Added a template filter not to show zero decimals on user weightsJocelyn Delande1-0/+5
2016-05-31Handle migrations through alembic/flask-MigrationsJocelyn Delande1-1/+8
Auto-initialization now applies migrations instead of using db. create_all() fix #83
2016-04-03Do not load user-overriden settings in unit tests.Jocelyn Delande1-1/+3
Loading not versioned settings.py during tests make them less predictable. That's inspired from django behaviour with DJANGO_SETTING_MODULE environment variable.
2015-08-19Made an URL prefix configurable in settings, includes tests.Jocelyn Delande1-1/+2
2015-08-19Adds a way to (re)configure the running app, reloading settings.Jocelyn Delande1-12/+19
Currently, there is no way to reset settings after modifying them, which is anoying for tests.
2015-04-30nicely deprecates DEFAULT_MAIL_SENDER as it changed upstream for flask-mail>=0.8Jocelyn Delande1-0/+14
2013-02-18update for flask 0.9A.Avenel1-1/+1
2012-06-10add sentry supportAlexis Metaireau1-0/+4
2012-03-06remove unused imports and from blah import *Feth AREZKI1-3/+3
2011-10-17Add the ability to change the language explicitely. I'm not sure the UI is ↵Alexis Metaireau1-1/+3
better with this. Any thoughts are welcome. Fix #35
2011-10-16Add a datepicker (with support of i18n). Fix #37Alexis Metaireau1-2/+3
2011-10-15fix a bit the UI (identifier on bill's list)Alexis Metaireau1-2/+3
2011-10-15Translate the application using Flask-babel.Alexis Metaireau1-2/+9
The only translation so far is french, but more can be added. The browser language is used thanks to the HTTP languages headers. There are still some problems with the translation of some strings, I don't know why this is. See #12
2011-10-13Fix some problems related to postgresql and modelsAlexis Metaireau1-0/+2
2011-09-11Add Handlers for members and bills.Alexis Metaireau1-0/+1
2011-09-11API first draft: utils. (related to #27)Alexis Metaireau1-1/+2
Introduces the "rest" module, with reusable utils for flask applications (will be packaged as a flask extension later on).
2011-09-09Refactor the application to use blueprints.Alexis Metaireau1-0/+22
This allows to isolate some behavior in the context of the web application so the API and the web application can behave in different ways.