Commit Graph

325 Commits

Author SHA1 Message Date
Alexis Lahouze cfd52305f7 Use #/ annotation instead of HTML5 base. 2016-02-08 22:27:29 +01:00
Alexis Lahouze 41d8a202fa Use ngBootbox. 2016-02-08 22:25:47 +01:00
Alexis Lahouze 7f4f4b3724 Fix controller aliases. 2016-02-08 21:42:14 +01:00
Alexis Lahouze d95d735ace Fix app name. 2016-02-08 00:28:47 +01:00
Alexis Lahouze 071e9c96f4 Fix authorization. 2016-02-08 00:27:15 +01:00
Alexis Lahouze dcce124a4d Use angular.module instead of variable. 2016-02-08 00:20:36 +01:00
Alexis Lahouze 60386abea4 Add missing var. 2016-02-08 00:17:37 +01:00
Alexis Lahouze fad4b6403c Remove unused function parameters. 2016-02-08 00:16:53 +01:00
Alexis Lahouze 921713de90 Add vim tagline 2016-02-08 00:15:26 +01:00
Alexis Lahouze 27fad84f66 Change double quotes into single quotes. 2016-02-07 23:51:57 +01:00
Alexis Lahouze ebaf33845a Add 'use strict'. 2016-02-07 23:40:39 +01:00
Alexis Lahouze 60b00b7774 Change index into attribute. 2016-02-07 23:34:03 +01:00
Alexis Lahouze f5e914510c Change double quotes into single quotes. 2016-02-07 23:30:28 +01:00
Alexis Lahouze f97a4a7655 Update configuration. 2016-02-07 23:07:40 +01:00
Alexis Lahouze 1dbc037122 Improve HTML lint. 2016-02-01 22:42:31 +01:00
Alexis Lahouze 3c39056544 Remove unused flask-bower from project. 2016-01-29 14:01:57 +01:00
Alexis Lahouze e1ed92180d Improve Grunt integration. Wiredep. 2016-01-29 13:43:50 +01:00
Alexis Lahouze 4a866e7dd1 Fix JS and CSS imports. Fix notify. 2016-01-27 22:53:35 +01:00
Alexis Lahouze b70b070d5c Use angular-ui-notification instead of angular-pnotify. 2016-01-27 21:33:23 +01:00
Alexis Lahouze 2fd235bb5f Fix trailing slashes. 2016-01-22 21:46:57 +01:00
Alexis Lahouze c8383fcbad Remove small. 2016-01-22 21:46:33 +01:00
Alexis Lahouze 56a037ac7d Fix timezone. 2016-01-22 21:45:38 +01:00
Alexis Lahouze 919f5efc97 Fix buggy parser. 2016-01-19 08:40:46 +01:00
Alexis Lahouze bb708e81b3 Convert to flask-restplus and document for swagger. 2016-01-19 08:29:25 +01:00
Alexis Lahouze 4b1313e65c Share account_id argument between parsers. 2016-01-16 18:38:10 +01:00
Alexis Lahouze abcdfcf48c Add missing model. 2016-01-16 18:23:57 +01:00
Alexis Lahouze 507c69d0b2 Move view models in a different module. 2016-01-16 17:27:06 +01:00
Alexis Lahouze 53b961491b Move parsers to another module. 2016-01-14 10:26:00 +01:00
Alexis Lahouze cbd1ad0e49 Strip trailing slashes in angular resources. 2016-01-14 10:25:37 +01:00
Alexis Lahouze 9498e3e89e Fix trailing / to avoid redirects during posts. 2016-01-14 09:46:06 +01:00
Alexis Lahouze dae994abe9 Style. 2016-01-13 18:45:30 +01:00
Alexis Lahouze 92d3cc1c7d Change get query for scheduled operation. 2016-01-13 18:36:22 +01:00
Alexis Lahouze f961eba9bf Rename parameter account to account_id. 2016-01-13 18:33:21 +01:00
Alexis Lahouze e4c0752a2c Separate solds and balance from account model. 2016-01-13 18:15:30 +01:00
Alexis Lahouze 21c98a1dcf Change filtering on begin and end dates. 2016-01-13 17:39:16 +01:00
Alexis Lahouze 30efb9312a Add curency filter. 2016-01-13 17:20:47 +01:00
Alexis Lahouze 1bff86b31c Fix path and arguments. 2016-01-13 14:14:52 +01:00
Alexis Lahouze 5864d4700d Rename *_resource_fields to *_model. 2016-01-13 13:49:28 +01:00
Alexis Lahouze 3fd746916c Change authentication algorithm. 2016-01-13 13:48:12 +01:00
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