Commit Graph

495 Commits

Author SHA1 Message Date
Alexis Lahouze
16979bfc0b Fix data.get with default. 2017-07-07 17:39:21 +02:00
Alexis Lahouze
892470bdad Add argument for account creation on command line. 2017-07-07 17:38:53 +02:00
Alexis Lahouze
26e7d578c7 Fix subquery. 2017-07-07 17:38:35 +02:00
Alexis Lahouze
a0a8aee818 Uncomment jwt_required. 2017-05-25 23:31:12 +02:00
Alexis Lahouze
d5142bf3a6 Fix account.daily_balances invokation. 2017-05-25 23:25:42 +02:00
Alexis Lahouze
a8532dd987 Fixmes. 2017-05-25 23:18:59 +02:00
Alexis Lahouze
5d9cc0a953 Move account daily balances into Account model. 2017-05-25 23:18:46 +02:00
Alexis Lahouze
e7b3f02f60 Move account category incomes into Account model class. 2017-05-25 23:08:38 +02:00
Alexis Lahouze
4620459b8e Rename query function. 2017-05-25 22:56:42 +02:00
Alexis Lahouze
82a08b133e Fix return of account income. 2017-05-25 22:49:01 +02:00
Alexis Lahouze
d59d3649f5 Rename balance to income. 2017-05-25 22:48:19 +02:00
Alexis Lahouze
d9e28fb5a9 Add coelesce in income query. 2017-05-25 22:46:35 +02:00
Alexis Lahouze
554a531f57 Add authorization check. 2017-05-25 22:11:42 +02:00
Alexis Lahouze
e921dbeb5f Add fixmes. 2017-05-25 22:11:19 +02:00
Alexis Lahouze
ac611b09b2 Change date types. 2017-05-25 22:11:04 +02:00
Alexis Lahouze
5fd9c81451 Rewrote category endpoint. 2017-05-25 22:10:14 +02:00
Alexis Lahouze
b336b38518 Remove unused attribute. 2017-05-25 22:09:13 +02:00
Alexis Lahouze
d2c08c2fb3 Rewrote operations with cumulated balance. 2017-05-25 22:07:56 +02:00
Alexis Lahouze
69d5f57b90 Rewrote OHLC into daily balances. 2017-05-25 22:04:12 +02:00
Alexis Lahouze
5d498adf32 Fix balances_model name. 2017-05-25 21:51:34 +02:00
Alexis Lahouze
a664c661ed Fix balances returning. 2017-05-25 21:46:34 +02:00
Alexis Lahouze
61e9f036c1 API version 2.0. 2017-05-25 21:34:12 +02:00
Alexis Lahouze
7b9302cee2 Rename solds, into balances. 2017-05-25 21:32:42 +02:00
Alexis Lahouze
5b87a27667 improve balances query. 2017-05-25 21:23:56 +02:00
Alexis Lahouze
d9e9e3f2a0 Cleanup old functions. 2017-05-25 21:22:00 +02:00
Alexis Lahouze
b436e0aa06 Cleanup __init__ and add functions to convert SQLAchemy results into dict. 2017-05-25 21:18:30 +02:00
Alexis Lahouze
01a509d348 Pylint. 2017-05-19 16:58:20 +02:00
Alexis Lahouze
6c3f73cd75 User __dict__.get to avoid long lines. 2017-05-19 16:48:47 +02:00
Alexis Lahouze
a8672a8656 Cleanup user model. 2017-05-19 16:45:55 +02:00
Alexis Lahouze
4dfbe5dba2 Fix k, v names. 2017-05-19 14:16:32 +02:00
Alexis Lahouze
af05a3d6ba Rewrite abort messages. 2017-05-19 14:16:05 +02:00
Alexis Lahouze
de5e0482cd Pylint. 2017-05-19 13:47:55 +02:00
Alexis Lahouze
1cf053bc39 Rename command to remove a name conflict. 2017-05-19 11:50:36 +02:00
Alexis Lahouze
a27f33aabf Rename id parameters, improve doc for some resources. 2017-05-19 11:49:54 +02:00
Alexis Lahouze
bbe4fd7f39 Improve mako template for additionnal imports. 2017-05-19 09:08:15 +02:00
Alexis Lahouze
f5415c3d66 Update migration script for linting. 2017-05-19 08:58:12 +02:00
Alexis Lahouze
4b6c52dce6 Improve mako template for migrations. 2017-05-19 08:57:47 +02:00
Alexis Lahouze
ea83ca3610 Configure testing. 2017-05-19 08:40:05 +02:00
Alexis Lahouze
280ddf699a Add dependency to pyscopg2. 2017-05-19 08:38:42 +02:00
Alexis Lahouze
c2dc92bfe1 Setup.py format. 2017-05-19 08:38:29 +02:00
Alexis Lahouze
c31cb42993 Fix license. 2017-05-19 08:38:08 +02:00
Alexis Lahouze
bd19b67c7d Fix migrations. 2017-05-19 08:36:51 +02:00
Alexis Lahouze
b317249918 Remove unused functions. 2017-05-19 00:10:01 +02:00
Alexis Lahouze
5b1e3873e3 Remove unused requirements.txt. 2017-05-19 00:08:28 +02:00
Alexis Lahouze
82b1d671e6 Change dependency versioning. 2017-05-19 00:08:04 +02:00
Alexis Lahouze
b794b2a6c1 Use Flask-JWT-extended. 2017-05-19 00:07:30 +02:00
Alexis Lahouze
e64ea7b3d1 Move licence in setup.py, fix modelines, module and package doctrings. 2017-05-19 00:05:23 +02:00
Alexis Lahouze
e1190c872d Simplify marshalling. 2017-05-18 21:37:57 +02:00
Alexis Lahouze
de59dc3bb0 Use basic HTTP authentication for user Login. 2017-05-18 10:29:36 +02:00
Alexis Lahouze
d013e4cda8 Rename parameter. 2017-05-13 11:17:41 +02:00