aboutsummaryrefslogtreecommitdiff
path: root/budget
AgeCommit message (Collapse)AuthorFilesLines
2016-06-28Convert readthedocs links for their .org -> .io migration for hosted projectsAdam Chainz1-1/+1
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
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-16Update translationJocelyn Delande2-1/+4
2016-06-16Add migration to initialize Person weightsJocelyn Delande1-0/+39
That's for Persons that existed before the weights were added to model.
2016-06-16Hide the member weights in members list if all weights are "1".Jocelyn Delande4-1/+31
2016-06-16Added member edit formJocelyn Delande6-6/+60
2016-06-15display an edit button on members listJocelyn Delande2-1/+9
2016-06-15Ask for confirmation only for deleting usersJocelyn Delande1-1/+5
2016-06-15Added a template filter not to show zero decimals on user weightsJocelyn Delande3-1/+20
2016-06-15UI for showing user weights in user listJocelyn Delande2-1/+5
2016-06-15Added member weights support to APIJocelyn Delande2-8/+68
2016-06-15Add members weight in models and budget backend refs #94Jocelyn Delande4-3/+64
2016-05-31Add a manage.py CLI (flask_script)Jocelyn Delande1-0/+16
As it's the Flask-Migrate way to expose its commands (./manage.py db command). In our case, it's specially useful for creating new migrations.
2016-05-31Handle migrations through alembic/flask-MigrationsJocelyn Delande7-1/+230
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 Delande4-7/+16
Loading not versioned settings.py during tests make them less predictable. That's inspired from django behaviour with DJANGO_SETTING_MODULE environment variable.
2015-11-09Merge pull request #122 from JocelynDelalande/configurable-prefixAlexis Metaireau4-13/+68
Made an URL prefix configurable in settings
2015-09-25Prevent comma to be included in URLMathieu Leplatre1-1/+1
2015-09-25Prevent comma to be included in URLMathieu Leplatre1-1/+1
2015-08-20Merge pull request #130 from JocelynDelalande/trailing-whitespacesQuentin Roy9-16/+16
Remove trailing whitespaces
2015-08-20Remove trailing whitespacesJocelyn Delande9-16/+16
2015-08-19Made an URL prefix configurable in settings, includes tests.Jocelyn Delande4-1/+49
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-07-05Bugfix rounding settle algorithmAlexandre Avenel1-1/+1
In some cases, settle algorithm failed to deliver optimal solution due to a rounding bug.
2015-05-20Merge pull request #121 from JocelynDelalande/deprecated-default-mail-senderAlexis Metaireau3-2/+16
nicely deprecates DEFAULT_MAIL_SENDER
2015-05-01specified sizes for string columns for MySQLJocelyn Delande1-5/+5
2015-04-30nicely deprecates DEFAULT_MAIL_SENDER as it changed upstream for flask-mail>=0.8Jocelyn Delande3-2/+16
2015-04-15Merge pull request #119 from aavenel/fix-118Alexis Metaireau1-1/+1
Fix 118
2015-04-12Fix #118 : Create a new project with the name "dashboard" should raise an ↵Alexandre Avenel1-1/+1
exception
2014-07-22Format numbers in templatesAlexandre Avenel3-4/+4
2014-07-21Fix rounding error in balancesAlexandre Avenel1-1/+1
2013-10-17Merge pull request #106 from aavenel/bugfix105Alexis Metaireau2-1/+13
Bugfix #105 : TypeError: object of type 'NoneType' has no len()
2013-10-17Merge pull request #114 from aavenel/bugfix104Alexis Metaireau1-1/+4
bugfix #104 : ZeroDivisionError
2013-10-13Fix translation for password tooltipA.Avenel4-13/+13
- Javascript don't like non-escaped character - fix typo
2013-10-13Fix translation for password tooltipA.Avenel4-13/+13
- Javascript don't like non-escaped character - fix typo
2013-10-12bugfix #104 : ZeroDivisionErrorA.Avenel1-1/+4
- test if self.owers is null before returning value
2013-10-12Add unit-test for bug #105.A.Avenel2-4/+11
Small code refactoring for better readability
2013-08-23ihatemoney does not start anymore with flask-wtf 0.9: limit flask-wtf to ↵Quentin1-1/+1
version 0.8 in requirements.txt
2013-06-23Bugfix : error when you access /authenticate url without a project identifierA.Avenel1-1/+6
2013-05-09Merge pull request #96 from aavenel/masterAlexis Metaireau9-224/+460
New feature : Settle the bill
2013-05-09OptimizationA.Avenel1-4/+6
2013-05-09correct french translationA.Avenel3-243/+237
2013-04-08Bugfix#92 : error when deleting an userA.Avenel3-6/+16
2013-04-08one more fix to french translation ...A.Avenel2-10/+1
2013-04-07Forget to translate some sentences ...A.Avenel2-4/+6
2013-04-07update french translationA.Avenel3-254/+350
2013-04-07bugfix : "Settle" link was not active on navbar.A.Avenel2-5/+4
2013-04-07More code cleanup for "settle bills"A.Avenel4-9/+9
2013-04-07use "member.id" instead of "member"A.Avenel5-31/+29
2013-02-19Merge branch 'flask0.9' of github.com:aavenel/ihatemoneyA.Avenel10-29/+35
2013-02-19Update tests to work with flask 0.9A.Avenel1-3/+5