Commit Graph

286 Commits

Author SHA1 Message Date
Alexis Lahouze
24ed36cc1b Change session token generation mecanism. 2016-01-13 12:50:57 +01:00
Alexis Lahouze
3927f7e398 Add missing return code. 2016-01-13 12:48:11 +01:00
Alexis Lahouze
2cccb07c3d Typo fix. 2016-01-13 12:36:44 +01:00
Alexis Lahouze
b9c9199c78 Change API paths. 2016-01-13 12:36:14 +01:00
Alexis Lahouze
880a57de96 Rename resource_fields to scheduled_operation_model. Reorganize imports. 2016-01-13 11:55:49 +01:00
Alexis Lahouze
22fcfb3e42 Add missing marshal_with_fields. 2016-01-13 11:52:04 +01:00
Alexis Lahouze
02720a3fb6 Rename resource_fields to operation_with_sold_model. Reorganize imports. 2016-01-13 11:49:10 +01:00
Alexis Lahouze
cc6f7e2a36 Rename resource_fields in model. Rename resource classes. 2016-01-13 11:44:17 +01:00
Alexis Lahouze
6ee46c9136 Change relative import. Add Authentication on scheduled operation views. 2016-01-13 11:27:28 +01:00
Alexis Lahouze
76205812a0 Move assets in frontend. 2016-01-13 00:10:51 +01:00
Alexis Lahouze
1db40c80b6 Add CORS. 2016-01-13 00:08:47 +01:00
Alexis Lahouze
832da874c9 Rename blueprints and api. 2016-01-13 00:02:38 +01:00
Alexis Lahouze
fe525dde46 Rename kwargs to data. 2016-01-12 23:24:46 +01:00
Alexis Lahouze
2e194fe550 Add explicit return codes. 2016-01-12 23:07:51 +01:00
Alexis Lahouze
a1d34c5f4e Cleanup. 2016-01-12 23:04:26 +01:00
Alexis Lahouze
e2c8a41ff6 Order methods. 2016-01-12 22:58:19 +01:00
Alexis Lahouze
1202c8180e Rename operation_id in id. 2016-01-12 22:55:26 +01:00
Alexis Lahouze
11d1c6d679 Rename operation_id to id. 2016-01-12 22:54:17 +01:00
Alexis Lahouze
cb86fc3680 Rename account_id in id. 2016-01-12 22:51:50 +01:00
Alexis Lahouze
7d9b94bc80 Move some resources from operations to account. 2016-01-12 22:36:22 +01:00
Alexis Lahouze
ba665923f6 Improve filtering on date. 2016-01-12 22:21:37 +01:00
Alexis Lahouze
d960ac0852 Add session storage clear before showing authentication dialog. 2016-01-02 10:16:26 +01:00
Alexis Lahouze
c9d1abf3e2 Typo. 2016-01-02 10:15:36 +01:00
Alexis Lahouze
6bcb496215 Fix missing self parameter. 2016-01-02 10:15:22 +01:00
Alexis Lahouze
abea8a4df3 Remove property decorator. 2016-01-02 10:14:54 +01:00
Alexis Lahouze
3152d141e9 Add commit on teardown. 2016-01-02 10:14:12 +01:00
Alexis Lahouze
898ba000bb Change notification system. 2015-12-18 11:20:17 +01:00
Alexis Lahouze
8bcabee6dd Add authentication in frontend. 2015-12-18 10:52:31 +01:00
Alexis Lahouze
d4472925ee Improve HTML5. 2015-12-09 23:15:15 +01:00
Alexis Lahouze
c85cfea154 Removed unneeded LoginManager. 2015-12-09 22:55:28 +01:00
Alexis Lahouze
cfec9b035f Add authentication on view methods. 2015-12-09 22:54:05 +01:00
Alexis Lahouze
a49e00c8af Rewrote REST auth management. 2015-12-09 22:52:50 +01:00
Alexis Lahouze
76f9902f0c Add missing changes in configuration file. 2015-11-27 12:31:07 +01:00
Alexis Lahouze
ddc9d74cf3 Add login manager. 2015-11-27 12:28:44 +01:00
Alexis Lahouze
c4302e9b13 Move SQLALCHEMY_ECHO to right place. 2015-11-27 12:28:21 +01:00
Alexis Lahouze
4d88fef98f Cleanup imports. 2015-11-27 12:25:37 +01:00
Alexis Lahouze
ffcc8843a4 Change config loading. 2015-11-27 12:21:13 +01:00
Alexis Lahouze
50887b49cd Simplify logging. 2015-11-27 12:17:58 +01:00
Alexis Lahouze
a6da594aeb Use db for function instead of importing from sqlalchemy. 2015-11-27 11:53:41 +01:00
Alexis Lahouze
e348c8d21e Change db session handling. 2015-11-27 11:36:42 +01:00
Alexis Lahouze
9d6286314d Rename hash. 2015-11-27 11:36:04 +01:00
Alexis Lahouze
7283836ffa Remove unneeded httpauth. 2015-11-27 11:32:06 +01:00
Alexis Lahouze
add4871527 Cleanup and formatting. 2015-11-27 11:31:23 +01:00
Alexis Lahouze
1ec6383287 Cleanup and formatting. 2015-11-27 11:29:29 +01:00
Alexis Lahouze
2afc7fae92 Style. 2015-11-27 11:26:11 +01:00
Alexis Lahouze
762efc64c8 Simplify session management. 2015-11-24 21:31:24 +01:00
Alexis Lahouze
5b43cd763e Fix default for Operation. 2015-09-26 16:51:16 +02:00
Alexis Lahouze
ba16a512f3 Add user model. 2015-08-31 10:55:05 +02:00
Alexis Lahouze
061787c799 Fix ng-show. 2015-08-21 01:26:07 +02:00
Alexis Lahouze
0cdad8a554 Fix function name. 2015-08-21 01:25:48 +02:00
Alexis Lahouze
50a192dbec Rename. 2015-08-21 01:19:51 +02:00
Alexis Lahouze
41647324ef Cleanup. 2015-08-21 01:12:06 +02:00
Alexis Lahouze
c221dbb97c Fix javascript new name. 2015-08-21 01:07:32 +02:00
Alexis Lahouze
1e28c369d6 Format. 2015-08-21 01:07:14 +02:00
Alexis Lahouze
976a51ef52 Rename entry in operation. 2015-08-21 01:02:14 +02:00
Alexis Lahouze
c986cf5186 Renaming. 2015-08-21 00:57:59 +02:00
Alexis Lahouze
ce3181537d Naming, comments. 2015-08-21 00:25:10 +02:00
Alexis Lahouze
b5a483e8e5 Add support for multiple new scheduled operations. 2015-08-21 00:12:11 +02:00
Alexis Lahouze
8868dd18c2 Implement scheduled operation deletion. 2015-08-21 00:03:18 +02:00
Alexis Lahouze
25885ff3ea Change backrefs. 2015-08-21 00:02:40 +02:00
Alexis Lahouze
fbefe633f2 Fix filtering on date. 2015-08-20 21:14:45 +02:00
Alexis Lahouze
7f97b15532 Fixed rescheduling. 2015-08-20 21:14:18 +02:00
Alexis Lahouze
82f91805f0 Improve button display on scheduled operations. 2015-08-20 12:34:14 +02:00
Alexis Lahouze
f4f62e6e0c Add possibilty to add multiple entries. 2015-08-20 11:43:02 +02:00
Alexis Lahouze
156c9a3be2 Add entry deletion. 2015-08-20 11:42:17 +02:00
Alexis Lahouze
ad60e19617 Refactor setExtremes. 2015-08-20 11:41:43 +02:00
Alexis Lahouze
c819b62246 Add missing semicolon. 2015-08-20 11:41:05 +02:00
Alexis Lahouze
7840cfc4ad Add missing semicolon. 2015-08-20 11:40:30 +02:00
Alexis Lahouze
499fc2c275 Fix return of promise. 2015-08-19 18:12:41 +02:00
Alexis Lahouze
f22af2977e Move add button. 2015-08-19 18:08:02 +02:00
Alexis Lahouze
20d65f50c3 Move sizing in button group. 2015-08-19 18:06:38 +02:00
Alexis Lahouze
c5096ec85c Remove obsolete templates. 2015-08-19 18:05:35 +02:00
Alexis Lahouze
bbe6d20a9b Move sizing in button group. 2015-08-19 18:02:39 +02:00
Alexis Lahouze
ace2e94db4 Move sizing in button group. 2015-08-19 18:00:57 +02:00
Alexis Lahouze
f5d627617b Move add button. 2015-08-19 18:00:38 +02:00
Alexis Lahouze
00e4f7437e Remove obsolete templates. 2015-08-19 17:48:48 +02:00
Alexis Lahouze
efaa9ab2a2 Fix scheduler button display. 2015-08-19 17:47:15 +02:00
Alexis Lahouze
1d8e82afb2 Move save button. 2015-08-19 17:46:59 +02:00
Alexis Lahouze
281eebbd62 Move add button. Reindent. 2015-08-19 17:40:48 +02:00
Alexis Lahouze
2884ce78aa Cleanup, improve addition. 2015-08-19 17:39:03 +02:00
Alexis Lahouze
4bd8bb3819 Cleanup, sort accounts after saving. 2015-08-19 17:13:31 +02:00
Alexis Lahouze
25f43228dd Add account deletion. 2015-08-19 15:51:04 +02:00
Alexis Lahouze
a23cb97721 Add bootbox dependency. 2015-08-19 15:50:08 +02:00
Alexis Lahouze
f602109c53 Cleanup. 2015-08-19 15:03:15 +02:00
Alexis Lahouze
803b2baeab Separate charts in different controllers. 2015-08-19 12:09:03 +02:00
Alexis Lahouze
a23d653738 Refactoring. 2015-08-18 17:15:56 +02:00
Alexis Lahouze
cf657c1ad7 Added session.flush() calls to update scheduled_operation object. 2015-08-18 17:15:36 +02:00
Alexis Lahouze
08e89bec13 Format, change control size. 2015-08-18 16:04:37 +02:00
Alexis Lahouze
4bba9ba595 Change size of control. 2015-08-18 16:03:55 +02:00
Alexis Lahouze
913b39076e Rewrote entry management. 2015-08-16 00:40:51 +02:00
Alexis Lahouze
caa68a7385 Rewrote account management. 2015-08-16 00:39:53 +02:00
Alexis Lahouze
d26f086a43 Use flask-assets. 2015-08-16 00:37:08 +02:00
Alexis Lahouze
51763e0ddf Use get method to retrieve account. 2015-08-16 00:35:20 +02:00
Alexis Lahouze
fe53de1633 Using flask assets. 2015-08-16 00:33:35 +02:00
Alexis Lahouze
642b8c5b98 Fix authorized overdraft validation. 2015-08-13 10:56:17 +02:00
Alexis Lahouze
7d2d21deb8 Use flask-bower. 2015-07-29 15:14:44 +02:00
Alexis Lahouze
fb4214f405 Fix datepicker date-format. 2015-07-29 15:07:52 +02:00
Alexis Lahouze
9df93e1ef1 Use object attribute for editing. 2015-07-20 12:59:26 +02:00
Alexis Lahouze
cf9d15b932 Code cleanup. 2015-07-20 12:59:07 +02:00
Alexis Lahouze
a54da59dc8 Fix a bit initial date range. 2015-07-20 07:53:59 +02:00
Alexis Lahouze
53ab313da3 Improve CSS classes, buttons and entry states handling. 2015-07-20 00:16:56 +02:00
Alexis Lahouze
28ab2fd7f3 Use initial angular interpolation delimiters. 2015-07-19 15:16:31 +02:00
Alexis Lahouze
7d63176e7e Change query for single object queries. 2015-07-19 00:50:28 +02:00
Alexis Lahouze
c7521b67e6 Cleanup. 2015-07-18 11:58:55 +02:00
Alexis Lahouze
744056a58d Add some indexes. 2015-07-18 11:58:45 +02:00
Alexis Lahouze
ee17f7a12f Improve query for operations. 2015-07-18 11:58:32 +02:00
Alexis Lahouze
c4e262e255 Improve operation edition workflow. 2015-07-18 10:03:43 +02:00
Alexis Lahouze
c8b4c54742 Merge scheduling and entries in operation. 2015-07-17 19:22:04 +02:00
Alexis Lahouze
d9c1052f5e Use end of current month as end when not passed. 2015-07-17 14:33:08 +02:00
Alexis Lahouze
edade3cda7 Improve operation query. 2015-07-17 14:32:47 +02:00
Alexis Lahouze
6dbe266bd5 Remove unused methods. 2015-07-17 13:40:42 +02:00
Alexis Lahouze
6441644adc Code factorisation. 2015-07-15 18:38:50 +02:00
Alexis Lahouze
9efade745c Add order_by. 2015-07-15 18:30:15 +02:00
Alexis Lahouze
e18009b0dd Cleanup account frontend. 2015-07-15 18:28:56 +02:00
Alexis Lahouze
0b0ca57042 Code factorisation. 2015-07-15 18:28:28 +02:00
Alexis Lahouze
53cdeabc90 Fix account status queries. 2015-07-15 18:15:38 +02:00
Alexis Lahouze
6a2d796cdb Code cleanup. 2015-07-15 17:01:16 +02:00
Alexis Lahouze
6821d8d0c6 Comments. 2015-07-15 17:00:18 +02:00
Alexis Lahouze
bbc8e051f0 Add newEntry initialization on controller init. 2015-07-15 15:11:25 +02:00
Alexis Lahouze
b8ea699f40 Use ngResource for sheduled operations. 2015-07-15 15:09:00 +02:00
Alexis Lahouze
61ef6b19af Remove obsolete menu entries. 2015-07-15 13:55:43 +02:00
Alexis Lahouze
83df3b2919 Change title. Cleanup. 2015-07-15 13:55:20 +02:00
Alexis Lahouze
0048937250 Fix syntax error in ng-class. 2015-07-15 13:54:59 +02:00
Alexis Lahouze
dad5f10172 Fix PNotify invokation. 2015-07-15 13:54:40 +02:00
Alexis Lahouze
45d585a653 Add button to account scheduler. 2015-07-15 13:46:50 +02:00
Alexis Lahouze
d09d5ace17 Ad sold columns in account list. 2015-07-15 13:46:28 +02:00
Alexis Lahouze
89b8c7925a Fix selected account. 2015-07-15 13:46:08 +02:00
Alexis Lahouze
c66e164c8d Begin to use AngularJS routing mechanisms. 2015-07-14 04:01:28 +02:00
Alexis Lahouze
eaf96c4b34 Rename index into entries. 2015-07-14 02:34:39 +02:00
Alexis Lahouze
8d0fe7990f Use CDN for font awesome to prevent Firefox issues. 2015-07-14 02:20:10 +02:00
Alexis Lahouze
968e8b5976 Add debugging. 2015-07-10 14:59:37 +02:00
Alexis Lahouze
3708fc637a Remove unused function. 2015-07-10 14:55:29 +02:00
Alexis Lahouze
0e32f5f696 Fix account status and balance query when no operation in timerange. 2015-07-10 14:27:07 +02:00
Alexis Lahouze
b31e6528ca Add accounts template. 2015-07-10 11:52:12 +02:00
Alexis Lahouze
5cacb65dbd Add vim tagline. 2015-07-10 11:51:58 +02:00
Alexis Lahouze
6eb135f0b3 Formatting, refactoring… 2015-07-10 11:51:43 +02:00
Alexis Lahouze
b5e78e5389 Formatting, refactoring… 2015-07-10 11:51:32 +02:00
Alexis Lahouze
228f537123 Add ngResource and ngRoute modules in angularjs app. 2015-07-10 11:50:47 +02:00
Alexis Lahouze
9d9d46fbee Improve accounts app using resources and events. 2015-07-10 11:50:13 +02:00
Alexis Lahouze
bc933f77f9 Change 'index' into 'entries'. 2015-07-10 11:49:42 +02:00
Alexis Lahouze
38e5154536 Improve entries app using resources and events. 2015-07-10 11:48:53 +02:00
Alexis Lahouze
714cd28742 Add TODO. 2015-07-10 11:46:59 +02:00
Alexis Lahouze
7c6fde6893 Add comment. 2015-06-17 22:14:40 +02:00
Alexis Lahouze
d1826334d5 Disable live redraw to avoid continuous refresh of entries while changing range. 2015-06-17 22:13:02 +02:00
Alexis Lahouze
568cea855f Fix event for scheduled operation load. 2015-06-17 00:45:44 +02:00
Alexis Lahouze
87276d2762 Fix scheduled operations query. 2015-06-17 00:45:22 +02:00
Alexis Lahouze
ebeb57b15d Remove unused months.js. 2015-06-17 00:32:14 +02:00
Alexis Lahouze
1130fa4a6f Improve label display on pie chart. 2015-06-17 00:31:38 +02:00
Alexis Lahouze
feef6dd880 Remove unused month selection. 2015-06-17 00:30:49 +02:00
Alexis Lahouze
120e22c1fe Improve entry loading on extremes selection. 2015-06-17 00:29:59 +02:00