Commit Graph

456 Commits

Author SHA1 Message Date
Alexis Lahouze
2619238996 Add missing component in operation module. 2017-07-27 14:13:13 +02:00
Alexis Lahouze
e24d5defb7 Add missinf component in operation module. 2017-07-27 14:12:54 +02:00
Alexis Lahouze
99d0eb6d1c Cleanup. 2017-07-27 14:09:09 +02:00
Alexis Lahouze
6ca4c29e38 Cleanup, indent. 2017-07-27 14:08:11 +02:00
Alexis Lahouze
003b4de822 Upgrade Balance Chart component to Angular2. 2017-07-27 14:03:39 +02:00
Alexis Lahouze
863160881f Initialize Operation module. 2017-07-27 13:57:40 +02:00
Alexis Lahouze
ac0aa056cf Fix DailyBalanceService query return type. 2017-07-27 13:55:30 +02:00
Alexis Lahouze
c0bc7b82b3 Remove unused Balances factory. 2017-07-27 01:07:27 +02:00
Alexis Lahouze
64c53441cb Use Daily Balance service in Balance Chart component. 2017-07-27 01:02:02 +02:00
Alexis Lahouze
d8adfd91c5 Add Daily Balance service. 2017-07-27 01:00:33 +02:00
Alexis Lahouze
c0b236ff6c Use accountIdService to retrieve current Account Id. 2017-07-27 00:41:07 +02:00
Alexis Lahouze
2d50ad8a0b Remove uneeded dependency. 2017-07-27 00:35:11 +02:00
Alexis Lahouze
e73d105420 Move accountId retrieving into account module. 2017-07-27 00:32:38 +02:00
Alexis Lahouze
fab4880389 Add format in date field labels. 2017-07-26 23:12:03 +02:00
Alexis Lahouze
b7c44a39da Style. 2017-07-26 23:10:21 +02:00
Alexis Lahouze
3363cf682a Fix Schedule field types. 2017-07-26 23:09:55 +02:00
Alexis Lahouze
c546cbf833 Add text-mask on date fields. 2017-07-26 23:09:16 +02:00
Alexis Lahouze
931ef38f29 Fix button sizes and styles. 2017-07-25 23:33:29 +02:00
Alexis Lahouze
0e037e664f Begin migration to bootstrap v4. 2017-07-25 22:12:47 +02:00
Alexis Lahouze
b3d274eabf Replace angular-ui-notifications by toastr. 2017-07-25 22:08:18 +02:00
Alexis Lahouze
cd7aba50e5 Cleanup unused title definition. 2017-07-25 17:26:26 +02:00
Alexis Lahouze
fc14efbda1 Fix inverted create and update calls. 2017-07-25 17:26:09 +02:00
Alexis Lahouze
2f64fa1018 Use Schedule Edit Modal component in Schedule List component. 2017-07-25 17:25:50 +02:00
Alexis Lahouze
d1344d57b8 Use Schedule Edit Modal component in Schedule Row component. 2017-07-25 17:21:01 +02:00
Alexis Lahouze
57aa737465 Add Schedule Edit Modal component. 2017-07-25 17:18:04 +02:00
Alexis Lahouze
3c0d3c1a39 Add Schedule Form component. 2017-07-25 17:17:22 +02:00
Alexis Lahouze
3dd347ee8c Remove unused template. 2017-07-25 16:59:48 +02:00
Alexis Lahouze
2cf432ed2c Rename component. 2017-07-25 16:56:57 +02:00
Alexis Lahouze
d83a164cc6 Remove dependency. 2017-07-25 16:14:48 +02:00
Alexis Lahouze
53a29062ea Use Schedule Delete Modal Component in scheduleRow Component. 2017-07-25 15:59:06 +02:00
Alexis Lahouze
46f5f72bd4 Add Schedule Delete Modal component. 2017-07-25 15:45:25 +02:00
Alexis Lahouze
e8247e30ab Upgrade Schedule component to Angular4. 2017-07-25 12:04:45 +02:00
Alexis Lahouze
2166def0f1 Inject $modal and accountIdService in Angular Component. 2017-07-25 11:48:48 +02:00
Alexis Lahouze
3c148e5297 Remove unused dependency. 2017-07-25 10:42:29 +02:00
Alexis Lahouze
434020f7ad Add Restangular module and ScheduleRowComponent. 2017-07-25 10:15:00 +02:00
Alexis Lahouze
3c3741c33f Use accountIdService to retrieve current Account Id in Schedule Component. 2017-07-25 10:06:41 +02:00
Alexis Lahouze
7ea652e23e Add Shecdule Row Component. 2017-07-25 08:55:56 +02:00
Alexis Lahouze
fa9402e25e Add accountIdService to be able to correctly retrieve accountId in UiRouter transition. 2017-07-25 08:53:08 +02:00
Alexis Lahouze
17a363d69d Move up ng1 specific configuration in ng1 app module. 2017-07-24 20:33:30 +02:00
Alexis Lahouze
8fb5f2ff7a Separate hybrid application bootstrap. 2017-07-24 19:55:20 +02:00
Alexis Lahouze
6873b32005 Set name for Angular1 app module. 2017-07-24 19:51:30 +02:00
Alexis Lahouze
a7cee2891c Move states in separate files. 2017-07-24 18:48:57 +02:00
Alexis Lahouze
7b7f72bf1e Inject $modal from router. 2017-07-23 07:58:57 +02:00
Alexis Lahouze
4f090a22df Format. 2017-07-23 07:53:26 +02:00
Alexis Lahouze
1f5d4980e5 Cleanup module. 2017-07-23 07:44:31 +02:00
Alexis Lahouze
40bc4bf1e8 Rename controller to component. 2017-07-23 07:44:03 +02:00
Alexis Lahouze
c4c10f9ab7 Use component in scheduler route, inject accountId into. 2017-07-23 00:12:44 +02:00
Alexis Lahouze
3326dac51a Fix creation and update. 2017-07-22 14:29:29 +02:00
Alexis Lahouze
e927736b45 Remove unused factory. 2017-07-22 11:16:20 +02:00
Alexis Lahouze
d52d382653 Replace schedule factory by schedule service. 2017-07-22 11:16:04 +02:00
Alexis Lahouze
42c0fe6c9b Add schedule module. 2017-07-22 11:14:52 +02:00
Alexis Lahouze
c257069644 Add schedule service. 2017-07-22 11:11:39 +02:00
Alexis Lahouze
c5f3a53347 Add Schedule model. 2017-07-22 10:39:19 +02:00
Alexis Lahouze
d96a66ee3e Remove unneeded . 2017-07-22 09:46:06 +02:00
Alexis Lahouze
d5e00b8fe3 Remove eslint comments. 2017-07-22 09:18:22 +02:00
Alexis Lahouze
801d2ae380 Migrate to toastr. 2017-07-22 09:17:50 +02:00
Alexis Lahouze
68df4e5ce2 Prepare scheduler module for angular2 upgrade. 2017-07-22 09:16:16 +02:00
Alexis Lahouze
aa07ffb125 Remove unused factory. 2017-07-22 08:44:54 +02:00
Alexis Lahouze
adec1f102e Rename dependencies. 2017-07-22 08:42:17 +02:00
Alexis Lahouze
f9c2e7f4bc Cleanup imports. 2017-07-21 23:11:04 +02:00
Alexis Lahouze
fc0c08d58e Fix currency. 2017-07-21 23:07:20 +02:00
Alexis Lahouze
8626c78708 Transform controller function to class. 2017-07-21 23:06:59 +02:00
Alexis Lahouze
a398752c0c Fix export and import. 2017-07-21 23:06:10 +02:00
Alexis Lahouze
cc5b0b1ee1 Fix condition. 2017-07-21 22:42:16 +02:00
Alexis Lahouze
220426e6f8 Separate account row from account list. 2017-07-21 21:50:19 +02:00
Alexis Lahouze
bd484a994e Fix indent. 2017-07-21 00:52:47 +02:00
Alexis Lahouze
f780be6b63 Remove unused template. 2017-07-21 00:51:31 +02:00
Alexis Lahouze
fc75945a76 Fix indent. 2017-07-21 00:45:04 +02:00
Alexis Lahouze
f8fa34f269 Dissociate new account modal from editing account on AccountListComponent. 2017-07-21 00:41:04 +02:00
Alexis Lahouze
79d55bfc44 Upgrade AccountListComponent to Angular. 2017-07-21 00:39:15 +02:00
Alexis Lahouze
88e0599cd7 Remove unneeded script include. 2017-07-21 00:35:45 +02:00
Alexis Lahouze
1c93f528f6 Cleanup licence. 2017-07-21 00:33:55 +02:00
Alexis Lahouze
d522aaad45 Fix promise error handling. 2017-07-21 00:33:27 +02:00
Alexis Lahouze
d91089238d Change import order. 2017-07-21 00:32:51 +02:00
Alexis Lahouze
8b0d3decd4 Change scope of attribute. 2017-07-21 00:32:39 +02:00
Alexis Lahouze
e28500c557 Use ngx-toastr for notifications in account module. 2017-07-21 00:29:03 +02:00
Alexis Lahouze
b95f36f09c Change field parent bind. 2017-07-21 00:06:07 +02:00
Alexis Lahouze
4064848242 Change account form validation for ahtorized overdraft. 2017-07-20 23:34:07 +02:00
Alexis Lahouze
6ff893a08d Rename AccountComponent to AccountListComponent. 2017-07-20 23:00:52 +02:00
Alexis Lahouze
4e9915aab0 Cleanup. 2017-07-20 22:54:57 +02:00
Alexis Lahouze
5100d0fd0c Cleanup. 2017-07-20 22:53:22 +02:00
Alexis Lahouze
60aa6310bb Separate account form from modal. 2017-07-20 22:52:33 +02:00
Alexis Lahouze
4057705e22 Use ng-bootstrap Modal. 2017-07-20 10:32:05 +02:00
Alexis Lahouze
3e6b1ecccc Use new Logger in account module. 2017-07-16 22:25:50 +02:00
Alexis Lahouze
de945cd16c Create service for AccountBalances and use it. 2017-07-16 17:03:50 +02:00
Alexis Lahouze
330ed6b926 Transform account state to component. 2017-07-16 14:23:23 +02:00
Alexis Lahouze
83d7e61875 Switch to uirouter. 2017-07-16 13:56:49 +02:00
Alexis Lahouze
9910c0e0d3 Externalize log level in configuration file. 2017-07-16 10:51:54 +02:00
Alexis Lahouze
877f77babd Configure Logger at app level. 2017-07-16 10:49:02 +02:00
Alexis Lahouze
95fa835496 Remove newline. 2017-07-16 10:45:27 +02:00
Alexis Lahouze
6244b817d8 Use ngx-restangular to handle account API. 2017-07-16 10:44:25 +02:00
Alexis Lahouze
8b62380c52 Fix indent. 2017-07-16 10:30:53 +02:00
Alexis Lahouze
270406ff58 Remove unused AccountFactory. 2017-07-15 08:19:30 +02:00
Alexis Lahouze
716dd94943 Fix resource configuration for trailing slashes. 2017-07-15 08:17:22 +02:00
Alexis Lahouze
cd2e20c744 Import order. 2017-07-14 21:41:27 +02:00
Alexis Lahouze
faa2abfca3 Rename account controller to component. 2017-07-14 21:38:29 +02:00
Alexis Lahouze
4861f5ce49 Fix account change handling in balance chart component. 2017-07-14 10:33:20 +02:00
Alexis Lahouze
5960e9ee77 Rename item to account. 2017-07-14 10:25:33 +02:00
Alexis Lahouze
c6a406272f Use account service. 2017-07-14 10:24:46 +02:00
Alexis Lahouze
79ecb1630b Account account module in app. 2017-07-14 10:19:39 +02:00
Alexis Lahouze
c4baf94d3a Move default value in account constructor. 2017-07-14 10:15:07 +02:00
Alexis Lahouze
c6761e1379 Fix URL in account service. 2017-07-14 10:05:48 +02:00
Alexis Lahouze
3fb442ab5d Fix URL in account service. 2017-07-14 10:05:09 +02:00
Alexis Lahouze
df4d12cfb8 Catch errors in account service. 2017-07-14 10:04:55 +02:00
Alexis Lahouze
1e94109910 Typescript conversion. 2017-07-13 21:37:47 +02:00
Alexis Lahouze
bda2c90e3d Change account controller into class. 2017-07-13 17:14:20 +02:00
Alexis Lahouze
65a322466a Add account module. 2017-07-13 16:57:02 +02:00
Alexis Lahouze
48caa14cd8 Add account service. 2017-07-13 16:55:02 +02:00
Alexis Lahouze
f55efca9fd Add account models. 2017-07-13 16:54:09 +02:00
Alexis Lahouze
f3c3ddfebf Bootstrap Angular app. 2017-07-11 18:51:01 +02:00
Alexis Lahouze
3ff0015690 Fix module resolution. 2017-07-11 08:49:39 +02:00
Alexis Lahouze
2ae971a7ad Typescript conversion. 2017-07-10 15:51:58 +02:00
Alexis Lahouze
d4eaa1454c Separate Account balances in another factory. 2017-07-10 08:17:11 +02:00
Alexis Lahouze
cae86d3014 Separate schedule module into different files. 2017-07-08 12:20:17 +02:00
Alexis Lahouze
e5857bc68e Use angular strap modal instead of angular-ui-bootstrap one. 2017-07-08 12:12:20 +02:00
Alexis Lahouze
319c0adc16 Remove angular-ui-bootstrap dependency. 2017-07-08 09:39:18 +02:00
Alexis Lahouze
28afd8f563 Remove unneeded $q. 2017-07-08 09:34:55 +02:00
Alexis Lahouze
30549dd6d8 Use angular strap modal instead of angular-ui-bootstrap one. 2017-07-08 09:33:52 +02:00
Alexis Lahouze
8194978bcc Add vim tagline. 2017-07-08 09:20:10 +02:00
Alexis Lahouze
1ff7c98f93 Move needed libraries to the right places. 2017-07-08 09:19:35 +02:00
Alexis Lahouze
36e25fc1b7 Separate account module into different files. 2017-07-08 09:19:02 +02:00
Alexis Lahouze
d4400b788d Use angular strap modal instead of angular-ui-bootstrap one. 2017-07-08 09:14:19 +02:00
Alexis Lahouze
0c85266ab2 Separate login module into different files. 2017-07-08 00:51:59 +02:00
Alexis Lahouze
292486f8fd Add event release on . 2017-07-08 00:18:16 +02:00
Alexis Lahouze
0268280a73 Rename factory to service. 2017-07-08 00:17:37 +02:00
Alexis Lahouze
9a7d3938aa Use anonymous function as interceptor. 2017-07-08 00:17:15 +02:00
Alexis Lahouze
d6eb6781c6 Move template imports in controller. 2017-07-07 23:12:48 +02:00
Alexis Lahouze
9386b4a4b9 Import order. 2017-07-07 23:11:27 +02:00
Alexis Lahouze
d4faff7a6c Separate operations module into different files. 2017-07-07 22:52:27 +02:00
Alexis Lahouze
06ca00e627 Move templates in routing. Module import order. 2017-07-07 22:36:04 +02:00
Alexis Lahouze
fbeb3fd362 Separate app.config in another file. 2017-07-07 22:31:49 +02:00
Alexis Lahouze
6556227f88 Remove usage of . 2017-07-07 01:16:33 +02:00
Alexis Lahouze
bebe2aa874 Use modal from Angular-Strap instead of the one in angular-ui-bootstrap. 2017-07-07 01:14:18 +02:00
Alexis Lahouze
0833536d5e Fix dependencies. 2017-07-06 10:39:14 +02:00
Alexis Lahouze
a7f37e88a9 Exports module name instead of module itself. 2017-07-06 10:35:15 +02:00
Alexis Lahouze
d7de013954 Fix category loading. 2017-07-05 23:19:24 +02:00
Alexis Lahouze
facc1c5a0d Add account injection. 2017-07-05 21:58:17 +02:00
Alexis Lahouze
c14d88f421 Fix indent. 2017-07-05 21:48:20 +02:00
Alexis Lahouze
c558994c6d Change chart height. 2017-07-05 21:36:45 +02:00
Alexis Lahouze
2a2738ddeb Initialize account from parent. 2017-07-05 21:36:23 +02:00
Alexis Lahouze
7ace852f43 Fix date timezones to avoid operation saved on the day before the one entered. 2017-07-05 09:35:09 +02:00
Alexis Lahouze
4fed3c9320 Remove unneeded ng-click from submit buttons. 2017-07-04 21:57:54 +02:00
Alexis Lahouze
4fdbb40e92 Fix ng-submit for login form. 2017-07-04 21:57:30 +02:00
Alexis Lahouze
c06dea22f6 Style. 2017-07-04 21:54:31 +02:00
Alexis Lahouze
0fa2f06a0e Fix account form validation and disable submit button is form is invalid. 2017-07-04 21:54:21 +02:00
Alexis Lahouze
fe2355a405 Fix account form submit on enter. 2017-07-04 21:53:32 +02:00
Alexis Lahouze
a3e9ba02ac Fix authorized overdraft input field. 2017-07-04 21:50:34 +02:00
Alexis Lahouze
e90f4d21e8 Fix login form submit on enter. 2017-07-04 21:20:13 +02:00
Alexis Lahouze
4218b741db Add red line for account authorized overdraft. 2017-07-04 21:13:08 +02:00
Alexis Lahouze
2e6bc006f5 Add regions to separate past and future operations. 2017-07-04 20:37:03 +02:00
Alexis Lahouze
003ad498db Cleanup . 2017-07-04 20:36:18 +02:00
Alexis Lahouze
6f477b6d22 Unload chart data before loading new one. 2017-07-04 20:35:53 +02:00
Alexis Lahouze
0f547a532c Rename row 'x' to 'date', swap expenses and revenues. 2017-07-04 20:35:18 +02:00
Alexis Lahouze
ab14ead2dc Cleanup. 2017-07-02 00:13:40 +02:00
Alexis Lahouze
7004b6cf44 Reimplement category chart. 2017-07-02 00:13:04 +02:00
Alexis Lahouze
0cd5dab07c Improve bindings between components. 2017-07-02 00:11:02 +02:00
Alexis Lahouze
08b6643eda Use c3.js instead of chart.js. 2017-07-01 14:50:17 +02:00
Alexis Lahouze
ca64dcd4e2 Use angular-chart.js to draw balance chart. 2017-06-18 00:46:27 +02:00
Alexis Lahouze
86c32772c0 Cleanup unused services. 2017-06-18 00:45:25 +02:00
Alexis Lahouze
1bfd7693dd Cleanup unused events. 2017-06-18 00:44:14 +02:00
Alexis Lahouze
66a19034dd Replace load arguments by controller variables, in order to link them to input controls later. 2017-06-18 00:43:28 +02:00
Alexis Lahouze
a32b344b2c Remove last references to xeditable. 2017-06-17 00:27:24 +02:00
Alexis Lahouze
ddb0b08ef2 Use angular-ui-bootstrap instead of ngBootbox, remove usage of xeditable. 2017-06-17 00:25:01 +02:00
Alexis Lahouze
13320602bf Rename solds to balances. 2017-06-16 23:28:34 +02:00
Alexis Lahouze
396210d924 Add missing dependency. 2017-06-16 23:22:27 +02:00
Alexis Lahouze
50c90b085c Use angular-ui-bootstrap instead of ngBootbox. 2017-06-16 23:22:07 +02:00
Alexis Lahouze
f75e65a3de Fiw operation column name. 2017-06-16 22:27:17 +02:00
Alexis Lahouze
e433aed773 Improve operation workflow. 2017-06-16 22:26:49 +02:00
Alexis Lahouze
4f3c196179 Use angular-ui-bootstrap for Operation deletion confirmation modal. 2017-06-15 17:21:17 +02:00
Alexis Lahouze
69d0e06b57 Remove unused function. 2017-06-15 08:47:15 +02:00
Alexis Lahouze
9acaa4033e Use angular-ui-bootstrap for Operation modal. 2017-06-15 08:46:53 +02:00
Alexis Lahouze
3537470cff Cleanup. 2017-06-14 22:21:25 +02:00
Alexis Lahouze
c6586ad224 Remove unused import. 2017-06-14 22:20:28 +02:00
Alexis Lahouze
e364b1e3ef Remove unused code. 2017-06-14 22:14:40 +02:00
Alexis Lahouze
13766be8cb Fix object field name. 2017-06-14 22:13:25 +02:00
Alexis Lahouze
17d41d7f99 Fix operation order. 2017-06-14 22:12:52 +02:00
Alexis Lahouze
23d1189591 Ignore auth on login API call. 2017-06-11 09:18:19 +02:00
Alexis Lahouze
e494967888 Remove data in login form. 2017-06-11 09:18:00 +02:00
Alexis Lahouze
eba176c000 Add cancelLogin method on LoginService. 2017-06-11 09:17:42 +02:00
Alexis Lahouze
3d5f211824 Style. 2017-06-11 09:17:09 +02:00
Alexis Lahouze
5c4e77d6bb Remove modal config. 2017-06-11 09:17:02 +02:00
Alexis Lahouze
353ca4fef1 Rename module. 2017-06-11 09:16:44 +02:00
Alexis Lahouze
feef3d825c Merge config functions. 2017-06-11 08:07:48 +02:00
Alexis Lahouze
86911c106d Improve login dialog. 2017-06-11 01:14:26 +02:00
Alexis Lahouze
3697ff9f21 Use angular-ui-bootstrap for login modal. 2017-06-11 00:48:03 +02:00
Alexis Lahouze
c907c56c4a Cleanup. 2017-06-10 23:13:08 +02:00
Alexis Lahouze
3f90c33a3a Move up all sources in src directory. 2017-06-10 23:09:57 +02:00
Alexis Lahouze
b5804f5d21 Remove unused style. 2017-06-10 22:55:06 +02:00
Alexis Lahouze
cecfa6db4f Remove unused controller. 2017-06-10 22:54:13 +02:00
Alexis Lahouze
f4d0988fdd Move login handling in a separate module. 2017-06-10 22:50:48 +02:00
Alexis Lahouze
9eed69363f Move templates, improve inclusion. 2017-06-10 22:06:36 +02:00
Alexis Lahouze
12414a9dc7 Move modules in subfolders. 2017-06-10 21:10:52 +02:00
Alexis Lahouze
00dac1dec7 Completely remove charts. 2017-06-10 21:01:39 +02:00
Alexis Lahouze
0965498145 Remove unneeded import. 2017-06-10 21:01:01 +02:00
Alexis Lahouze
65c9262257 Force load of some data. 2017-06-10 20:59:25 +02:00
Alexis Lahouze
23f414b2d5 Fix template URL. 2017-06-10 20:46:41 +02:00
Alexis Lahouze
3e287cb7f4 Fix element finding. 2017-06-10 20:36:36 +02:00
Alexis Lahouze
9fe38b2560 Rename accountant-ui dir to src. 2017-06-10 20:24:51 +02:00
Alexis Lahouze
9b287945b6 Continued refactoring. 2013-12-03 20:47:59 +01:00
Alexis Lahouze
ab4df80963 Began project refactoring. 2013-12-03 20:36:41 +01:00