Commit Graph
100 Commits
Author SHA1 Message Date
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
Alexis Lahouze 08bc80aa82 Pylint. 2017-05-13 11:17:25 +02:00
Alexis Lahouze 0cda88693f Use self.api i resources. 2017-05-13 11:17:12 +02:00
Alexis Lahouze 3a980262a0 Improve docstrings. 2017-05-13 11:13:38 +02:00
Alexis Lahouze 3804523de4 Fix import order. 2017-05-13 10:42:33 +02:00
Alexis Lahouze 64b9935f99 Fix db import in views. 2017-05-13 10:41:48 +02:00
Alexis Lahouze d9da95aaa0 Move user management commands in runner. 2017-05-13 10:41:03 +02:00
Alexis Lahouze 666ef171d8 Use factory strategy. 2017-05-13 10:33:46 +02:00
Alexis Lahouze 49197e61ef Rewrote database initialization and clear commands. 2017-05-13 10:23:59 +02:00
Alexis Lahouze a5eeede95e Move API in views, use Namespace from flask-retplus. 2017-05-13 10:12:37 +02:00
Alexis Lahouze 86d1f942b0 Move models and handlers in each view. 2017-05-13 09:38:09 +02:00
Alexis Lahouze a9a12086f9 Remove unused parameters. 2017-05-07 22:41:06 +02:00
Alexis Lahouze f51f238be7 Fix quoting in docstring. 2017-05-07 22:40:06 +02:00
Alexis Lahouze 0a6f7e3c2e Fix quoting in docstring. 2017-05-07 22:39:16 +02:00
Alexis Lahouze 4dbb50301c Del unused parameter. 2017-05-07 22:37:59 +02:00
Alexis Lahouze 911a5925b7 Rename balance to flow. 2017-05-07 22:37:45 +02:00
Alexis Lahouze 545de91d46 Rename solds to balances. 2017-05-07 22:37:31 +02:00
Alexis Lahouze 16684a4938 Fix quoting in docstring, linting. 2017-05-07 22:35:00 +02:00
Alexis Lahouze b1d7e04a26 Linting. 2017-05-07 22:23:47 +02:00
Alexis Lahouze 0d61377280 Docstring, pylint. 2017-05-07 22:23:36 +02:00
Alexis Lahouze 85468abe58 Format. 2017-05-04 14:45:18 +02:00
Alexis Lahouze 36af37d611 Docstring, pylint. 2017-05-04 14:44:22 +02:00
Alexis Lahouze f77843b2bb QA 2017-05-04 14:42:38 +02:00
Alexis Lahouze 3df0af2714 Cleanup imports. 2017-05-04 14:42:09 +02:00
Alexis Lahouze c5147feee8 Move db in model. 2017-05-04 14:39:17 +02:00
Alexis Lahouze 7822550b79 Docstring. 2017-05-04 14:32:34 +02:00
Alexis Lahouze eb64b9b78d Add dev requires. 2017-05-04 14:31:44 +02:00
Alexis Lahouze ed4567eac7 Add setuptools file. 2017-04-29 11:30:14 +02:00
Alexis Lahouze 0a22f2bdda update .gitignore. 2017-04-29 11:29:53 +02:00
Alexis Lahouze a4d73234f2 Manage modelines. 2016-10-15 13:03:28 +02:00
Alexis Lahouze 658ac455d2 Add jsonlint dependency. 2016-10-14 18:18:48 +02:00
Alexis Lahouze 0c54e12445 Use eslint and be compliant. (mostly) 2016-10-12 19:57:19 +02:00
Alexis Lahouze 3bc428b2a7 Update .gitignore. 2016-06-19 22:18:28 +02:00
Alexis Lahouze 8ec99a2cec Move back user group into views. 2016-06-19 22:10:48 +02:00
Alexis Lahouze a0fa75a26d Move user management in model. 2016-06-17 10:52:14 +02:00
Alexis Lahouze 2a689f5c07 Fix style in migrations. 2016-06-17 10:48:00 +02:00
Alexis Lahouze 5fa806f29b Remove old SQL stuff. 2016-06-17 10:18:24 +02:00
Alexis Lahouze 06fd86d337 Move remaining stuff in manage.py to application. 2016-06-17 10:17:44 +02:00
Alexis Lahouze 7947ebd81f Fix migration. 2016-06-17 09:56:19 +02:00
Alexis Lahouze 12e646134e Cleanup migrations directory. 2016-06-17 09:54:53 +02:00
Alexis Lahouze e03c9e7d8b Move migrations in application. 2016-06-17 09:52:08 +02:00
Alexis Lahouze c042a3647e Update make template for revision making. 2016-06-17 09:51:23 +02:00
Alexis Lahouze d5d71455b4 Fix requirements. 2016-06-17 09:47:34 +02:00
Alexis Lahouze 13080ad348 Add SQLAlchemy configuration to avoid warning. 2016-06-16 23:52:43 +02:00
Alexis Lahouze c5a73623cf Fix API prefix. 2016-06-16 23:22:20 +02:00
Alexis Lahouze 17709f8f47 Fix imports for new Flask version. 2016-06-16 23:21:57 +02:00
Alexis Lahouze 6fe5085c9f Remove obsolete api blueprint. 2016-06-16 23:04:43 +02:00
Alexis Lahouze 0ea35808f3 Remove blueprint. 2016-06-16 23:03:45 +02:00
Alexis Lahouze 000fa7fcd2 Fix model inheritance. 2016-05-24 08:42:01 +02:00
Alexis Lahouze 1187730b85 Rename README. 2016-05-23 23:58:58 +02:00
Alexis Lahouze 0b01cf04aa Cleanup old frontend. 2016-04-12 11:00:04 +02:00
Alexis Lahouze 1917fe909d Move frontend in separate directory. 2016-04-12 10:55:08 +02:00
Alexis Lahouze 8357d4befa Fix message. 2016-04-12 10:46:52 +02:00
Alexis Lahouze 94f5b53206 Fix account save. 2016-04-12 10:46:35 +02:00
Alexis Lahouze 729a061d02 Comment. 2016-04-12 10:45:04 +02:00
Alexis Lahouze 12fda9d41c Fix model. 2016-04-12 10:44:21 +02:00
Alexis Lahouze 24bd0ddecc Disable frontend in flask app, redirect to swagger doc instead of frontend index. 2016-04-12 10:43:25 +02:00