Commit Graph

334 Commits

Author SHA1 Message Date
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
Alexis Lahouze
d7fd74fb17 Added balance summary. 2013-12-03 20:23:37 +01:00
Alexis Lahouze
a290c07f61 Fixed month order. 2013-11-10 20:41:14 +01:00
Alexis Lahouze
39db433854 Added configuration file support. 2013-11-10 20:20:01 +01:00
Alexis Lahouze
1f9e9ee650 Moved bottom navbar from layout to index. 2013-08-07 17:49:15 +02:00
Alexis Lahouze
7f2e4b6634 Changed error notification width. 2013-07-31 01:22:28 +02:00
Alexis Lahouze
eeec0db3fa Fixed typo in layout. 2013-07-30 22:31:11 +02:00
Alexis Lahouze
6aa3e0e77c Removed print. 2013-07-30 22:21:21 +02:00
Alexis Lahouze
3ddd63701e Added default error handler. 2013-07-30 21:29:47 +02:00
Alexis Lahouze
2a9f5b2500 Changed menu. 2013-07-30 09:07:27 +02:00
Alexis Lahouze
f969d5dc3e Fixed substitution in templates. 2013-07-29 14:36:27 +02:00
Alexis Lahouze
56f1635c64 Use of pines notify instead of custom function to notify success and/or errors. 2013-07-29 14:31:29 +02:00
Alexis Lahouze
51ee97f020 Reviewed layout. 2013-07-29 01:01:49 +02:00
Alexis Lahouze
25bdf9dbb8 Removed swap file. 2013-07-28 23:26:36 +02:00
Alexis Lahouze
c4d7bb3f28 Removed third parties to use CloudFlare CDN.
Added scheduling (missing database update)
Using Jinja2 templates.
Updated layout.
2013-07-28 23:25:51 +02:00
Alexis Lahouze
7148754648 moved index.html into templates. 2013-07-28 20:33:59 +02:00
Alexis Lahouze
33c0a950db Upgraded bootstrap. 2013-07-03 15:09:01 +02:00
Alexis Lahouze
72b69ebf71 Fixed month selection. 2013-03-20 17:04:42 +01:00
Alexis Lahouze
f50f553817 Renamed html to static, phase #2. 2013-03-20 17:03:25 +01:00
Alexis Lahouze
1cd4d02701 Renamed html into static. 2013-03-20 16:37:23 +01:00
Alexis Lahouze
1d790fa9d9 Removed unused jqplot library. 2013-03-08 14:32:15 +01:00
Alexis Lahouze
7b9eae28e5 Switched from jqplot to nv.d3. 2013-03-08 14:31:35 +01:00
Alexis Lahouze
a52e79b930 Updated Boostrap. 2013-03-08 14:25:27 +01:00