0livd
59a050e020
Make ihatemoney Py2/3 compatible
...
Flask-wtf>=0.13 is now required and Form is replaced by FlaskForm
Py2/3 compatibility is assured by six
2017-03-17 19:37:57 +01:00
0livd
10a16a3b5c
Fix broken authentication test
2017-03-12 22:47:54 +01:00
0livd
108970eb50
Fix tab indentation
2017-03-12 22:23:24 +01:00
0livd
e35480d6b7
Add export feature
...
Bills and transactions can now be exported to json or csv
ref #28
2017-03-09 23:24:18 +01:00
Jocelyn Delalande
8c412b391f
Add non-regression test for member name XSS
...
ref #173
2017-02-22 00:31:52 +01:00
Alexandre Avenel
58aebf1069
Fix unit test rounding :
...
Test was Ok but failed due to some floating point errors.
2017-01-21 14:12:49 +01:00
963fcf0af1
Merge pull request #166 from JocelynDelalande/jd-fix-prefixed-test
...
Fix ServerTestCase.test_unprefixed test
2017-01-17 09:34:47 +01:00
Jocelyn Delalande
376a0b37e3
Fix ServerTestCase.test_unprefixed test
...
The test was always failing, actual reason is the `app.run.configure()` fails
to reset the `APPLICATION_ROOT` setting which `ServerTestCase.test_prefixed`
overloads (side effect).
This patch *do not* fix app.run.configure as it seems uneasy, but takes a
different approach which has the advantage of making the test more explicit.
Would still be a good thing to investigate more on configure().
Fix #163
2017-01-09 10:11:50 +01:00
Baptiste Jonglez
543df7c1d4
Add a test to catch zero-amount transfers in the settle page
2017-01-03 21:37:19 +01:00
fredericsureau
c9b2d17f60
Update negative amounts test
2016-09-12 16:30:01 +02:00
Jocelyn Delande
7a630b78ea
Hide the member weights in members list if all weights are "1".
2016-06-16 15:52:24 +02:00
Jocelyn Delande
06f10d0508
Added member weights support to API
2016-06-15 10:20:37 +02:00
Jocelyn Delande
2b071a1a3b
Add members weight in models and budget backend refs #94
2016-06-15 10:20:37 +02:00
Jocelyn Delande
b685fa74d6
Do not load user-overriden settings in unit tests.
...
Loading not versioned settings.py during tests make them less predictable.
That's inspired from django behaviour with DJANGO_SETTING_MODULE environment variable.
2016-04-03 22:31:32 +02:00
a8841f9d3f
Merge pull request #122 from JocelynDelalande/configurable-prefix
...
Made an URL prefix configurable in settings
2015-11-09 09:26:11 +01:00
Jocelyn Delande
d9313ba40e
Remove trailing whitespaces
2015-08-20 12:02:04 +02:00
Jocelyn Delande
15091e28c0
Made an URL prefix configurable in settings, includes tests.
2015-08-19 22:56:45 +02:00
A.Avenel
74e6f9f11d
Add unit-test for bug #105 .
...
Small code refactoring for better readability
2013-10-12 16:56:25 +02:00
a71d249e6c
Merge pull request #96 from aavenel/master
...
New feature : Settle the bill
2013-05-09 18:32:55 -07:00
A.Avenel
4d329a76ae
Bugfix#92 : error when deleting an user
2013-04-08 11:29:31 +02:00
A.Avenel
0d7c82b122
More code cleanup for "settle bills"
2013-04-07 22:14:32 +02:00
A.Avenel
1fa0cff180
use "member.id" instead of "member"
2013-04-07 20:25:25 +02:00
A.Avenel
b410e48851
Merge branch 'flask0.9' of github.com:aavenel/ihatemoney
2013-02-19 15:36:37 +01:00
A.Avenel
a4b8283fba
Update tests to work with flask 0.9
2013-02-19 15:27:51 +01:00
A.Avenel
79bd22c25c
Add unit tests for settle_bill
2012-11-03 20:53:51 +01:00
6a544855d7
Fix project deletion. fix #87
2012-09-02 13:53:01 +02:00
e75809dddf
Enhance the test suite
2012-09-02 13:26:56 +02:00
90acad67f9
make tests run on python 2.7 also
2012-04-01 19:39:26 +02:00
Frédéric Sureau
192ca41b0a
Adds test for the has_bills() method of Person model
2012-03-29 01:13:00 +02:00
Frédéric Sureau
a59465c9a5
Changed delete feature to only support POST method. Fix #21 .
2012-01-28 01:35:04 +01:00
A.Avenel
0633b153f6
Small commit to add more informations in dashboard view.
2011-12-03 17:40:50 +01:00
A.Avenel
6df3bcdf13
Oops, forgot to commit tests
2011-11-02 15:26:35 +01:00
6f4f04b117
Document the API. Fix #46
2011-10-18 23:26:13 +02:00
b88b317faa
Bills can't be negative. Fix #45
2011-10-18 18:13:54 +02:00
7d9fde0460
Round the balance. Fix #1
2011-10-08 16:43:46 +02:00
75209aeed0
Add a password recovery feature. Fix #32
2011-10-08 15:52:12 +02:00
19ae3ab3b2
merge with master
2011-10-08 13:45:05 +02:00
48bc551853
Complete the REST API + Tests. Fix #27
2011-10-08 13:27:30 +02:00
Arnaud Bos
681f22f3e4
Merge branch 'master' into auth-forms-usability
2011-09-18 23:39:10 +02:00
20ab40690d
Provide a way to edit a project. Fix #17
2011-09-14 22:03:18 +02:00
1b8258a521
Add a test for #23
2011-09-14 14:50:54 +02:00
Arnaud Bos
89e1bbe134
Make the identifier clearer to the end-user.
...
- Send an email to the user with the summary of the created project
containing a reminder of the identifier, password and a link.
- Add flash message with the identifier in the /invite page/
- Add a small note containing the identifier in the upper right corner
of the project main page.
2011-09-14 01:16:25 +02:00
ef353d643c
Refactor the application to use blueprints.
...
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.
2011-09-09 21:21:37 +02:00
5550e18cfd
Add missing tests. Fixes #14 and #22 .
2011-08-22 23:19:00 +02:00
35ea308a26
Fix a weird behavior with tests and databases.
...
Now all the database during the tests is in memory, created for each test and cleared at the end of the test.
2011-08-21 20:54:20 +02:00
822058b251
Add some more tests about membership. ( #14 )
...
Fixes #15 as invalid: deactivated users are not listed on the bill form or on the balance.
2011-08-10 17:49:35 +02:00
683c7ee0b8
Add tests about project creation and member add.
...
See #14
2011-08-10 17:07:23 +02:00
cdc6f2e1c4
Add tests to make test that invitations are sent.
...
Fixes #7
2011-08-09 23:49:44 +02:00
78914962ed
Add tests about sending notifications. #7
2011-08-09 23:49:44 +02:00