Commit Graph

443 Commits

Author SHA1 Message Date
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
Alexis Lahouze
44086f9659 Upgraded to latest JQuery. Removed obsolete JQuery migrate. 2013-03-08 14:25:07 +01:00
Alexis Lahouze
df34e00c49 Moved third parties to e new third-party directory. 2013-02-08 15:25:11 +01:00
Alexis Lahouze
26e7514925 Added license and a basic README. 2013-02-08 13:07:27 +01:00
Alexis Lahouze
7d2e3b1e27 Fixed typo. 2013-02-07 16:59:18 +01:00
Alexis Lahouze
6281e9357b Fixed row color on sold under 0 but above account authorized overdraft. 2013-02-07 16:46:55 +01:00
Alexis Lahouze
a37a69888d Cleaned up the Javascript link section. 2013-02-07 15:22:05 +01:00
Alexis Lahouze
338e24792c Removed unused custom library. 2013-02-07 15:03:43 +01:00
Alexis Lahouze
fae2ca8fd0 Removed unused knockout framework. 2013-02-07 15:01:06 +01:00
Alexis Lahouze
1e44d67b3f Rewrote frontend with AngularJS framework. 2013-02-07 15:00:31 +01:00
Alexis Lahouze
87a66069ad Fixed chart displaying when no much value. 2013-01-30 13:10:54 +01:00
Alexis Lahouze
43c4e1f61d Fixed bug: not displaying "add new entry" line when account is empty. 2013-01-30 00:32:06 +01:00
Alexis Lahouze
65d1b00127 Added jquery migrate plugin to avoid errors with new version. 2013-01-27 13:04:52 +01:00
Alexis Lahouze
0a20111f20 Fixed knockout mapping plugin. 2013-01-27 12:49:48 +01:00
Alexis Lahouze
86f071a99a Updated some libs. 2013-01-27 12:46:00 +01:00
Alexis Lahouze
ef399c82fc Changed the way the pointed sold is displayed. 2013-01-26 13:50:11 +01:00
Alexis Lahouze
8ca742c2e2 Added SQL update folder and placeholder. 2013-01-26 13:37:26 +01:00
Alexis Lahouze
8062cb4c59 Now select the current month if exists. 2013-01-26 12:47:04 +01:00
Alexis Lahouze
a7c63c270e Fixed fields. Closes #10. 2013-01-26 01:31:31 +01:00
Alexis Lahouze
3cd9304689 Changed the way we point entries. Closes #4. 2013-01-26 01:15:07 +01:00
Alexis Lahouze
e4e74eea9f Fixed new entry cleaning and edit cancel. 2013-01-25 23:40:47 +01:00
Alexis Lahouze
2dd63339f3 Fixed titles. 2013-01-25 23:36:45 +01:00
Alexis Lahouze
4010a7e15b Cleaned up table column headers. 2013-01-25 23:25:15 +01:00
Alexis Lahouze
ed67e0d791 Cleaned a bit the code. 2013-01-25 23:21:44 +01:00
Alexis Lahouze
616d6ca766 Removed cleaning button on operation date field. 2013-01-25 23:19:57 +01:00
Alexis Lahouze
3d91b88971 Cleaned up templates. 2013-01-25 23:06:56 +01:00
Alexis Lahouze
817e3ee549 Fixed bottom margin in editable rows. 2013-01-25 22:40:43 +01:00
Alexis Lahouze
c83b49658a Commented index.html 2013-01-25 22:20:38 +01:00
Alexis Lahouze
688755c542 Fixed session retrieving. 2013-01-25 12:53:49 +01:00
Alexis Lahouze
26cf3610fe Changed entry order to have positive values first in sum. 2013-01-25 01:10:03 +01:00
Alexis Lahouze
c60462018e Fixed coloring of edited rows. 2013-01-25 01:02:00 +01:00
Alexis Lahouze
c7245581e3 Added categories suggestions on editing. Closes #3. 2013-01-25 00:13:03 +01:00
Alexis Lahouze
4dfa6ec279 Fixed date picker on new entry fields. 2013-01-24 21:19:07 +01:00
Alexis Lahouze
9e0a5a2ea1 Added authorized overdraft. Closes #6. 2013-01-24 20:44:09 +01:00
Alexis Lahouze
a576a36d3d Moved sql initialisation script. 2013-01-24 20:42:53 +01:00
Alexis Lahouze
dd38e6036d Reset SQL init script. 2013-01-24 19:39:06 +01:00
Alexis Lahouze
c5e7b8c94b Improve 'add entry' feature. 2013-01-24 19:31:37 +01:00
Alexis Lahouze
cfef22ee65 Fixed (really) the session management. 2013-01-24 15:27:08 +01:00
Alexis Lahouze
f56e06223f Added transaction management in controllers. 2013-01-24 14:58:28 +01:00
Alexis Lahouze
a7e26e7d96 Fixed error when adding a new entry. 2013-01-24 14:58:09 +01:00
Alexis Lahouze
48262fbcc8 Removed unused imports. 2013-01-24 13:31:42 +01:00
Alexis Lahouze
f83f700bd2 Added a comment. 2013-01-24 01:59:42 +01:00
Alexis Lahouze
f862c242c5 Updated the sold evolution graph type. 2013-01-24 01:04:01 +01:00
Alexis Lahouze
2916f58ead Rewrote the application in Python/Flask/SQLAlchemy 2013-01-24 00:01:42 +01:00
Alexis Lahouze
962f69295b Fixed reference issue in PHP 5.3 2013-01-15 15:06:45 +01:00
Alexis Lahouze
7c659f9017 Fixed reference issue in PHP 5.3 2013-01-15 15:05:58 +01:00
Alexis Lahouze
4ad20b9fc6 Fixed pie chart legend display. 2013-01-14 23:42:05 +01:00
Alexis Lahouze
6b6c54a048 Added account management (add, edit, remove). 2013-01-14 00:33:32 +01:00
Alexis Lahouze
afc2ccd0ca Renamed slim directory to avoid error on loading. 2013-01-13 22:33:38 +01:00
Alexis Lahouze
c189e0948b Switched to Slim PHP microframework. 2013-01-13 20:57:48 +01:00
Alexis Lahouze
ba4073f407 Renamed entry.php into index.php. 2013-01-13 20:55:52 +01:00
Alexis Lahouze
2bc65a3f93 Commented, cleaned up... 2013-01-13 13:47:27 +01:00
Alexis Lahouze
b5e8850aa8 Commented, cleaned up some calls. 2013-01-13 13:32:23 +01:00
Alexis Lahouze
1a6fa5de0d Added used objects. Commented. Refactored account and month using ko.mapping. 2013-01-13 12:50:11 +01:00
Alexis Lahouze
f19b6488b0 Cleaned up entry() code. 2013-01-13 12:27:42 +01:00
Alexis Lahouze
36efe79dd1 Fixed chart x limits. 2013-01-13 12:24:33 +01:00
Alexis Lahouze
af30952228 Cleaned up date manipulation code. Updated data mapping to use ko.toJS. 2013-01-13 12:00:44 +01:00
Alexis Lahouze
eac942bfc2 Removed unused file. 2013-01-13 10:50:46 +01:00
Alexis Lahouze
d4756f5ea0 Commented and cleaned up code. 2013-01-13 10:14:43 +01:00
Alexis Lahouze
7e8fd0a410 Fixed today vertical line by setting time to 0:00. 2013-01-13 09:50:15 +01:00
Alexis Lahouze
e712c9fb6a Removed shadows in vertical and horizontal lines. 2013-01-13 01:17:45 +01:00
Alexis Lahouze
b1c83a53aa Fixed horizontal and vertical line drawing. 2013-01-13 01:14:58 +01:00
Alexis Lahouze
ec40240bcc Fixed left margin. 2013-01-13 00:48:09 +01:00
Alexis Lahouze
3c47c838a9 Changed top navbar behaviour, added account menus (not linked yet), added add account button (not linked yet). 2013-01-13 00:30:40 +01:00
Alexis Lahouze
2cada51f02 Some fixes. Cleaned up entry instanciation and ajax call. 2013-01-12 23:02:31 +01:00
Alexis Lahouze
d6e9d0b4cd Fixed null reference on resize. 2013-01-12 22:16:05 +01:00
Alexis Lahouze
b0f12e9616 Fixed chart removing if empty array. 2013-01-12 22:14:42 +01:00
Alexis Lahouze
868cf3138a Added category, added pie chart on categories, removed buggy ba-resize plugin. 2013-01-12 22:11:48 +01:00
Alexis Lahouze
6f36d7970f Added jquery resize plugin to enable the set of the resizing event directly on the element. 2013-01-12 19:16:48 +01:00
Alexis Lahouze
68c487b91d Added resize handler to resize the chart when resizing the window, added global ajax error handler. 2013-01-12 19:10:43 +01:00
Alexis Lahouze
d044300680 Changed chart display, in order to add another chart. Changed remove item confirmation dialog to bootstrap modal. 2013-01-12 16:36:33 +01:00
Alexis Lahouze
631b7f50f5 Cleaned up a bit the javascript source. 2013-01-12 15:51:00 +01:00
Alexis Lahouze
37010cca06 Added chart, organized file tree, fixed add behaviour. 2013-01-12 13:56:52 +01:00
Alexis Lahouze
86cee7faa9 Changed order by clause in select entries query. 2013-01-10 13:16:23 +01:00
Alexis Lahouze
41618f3096 Changed reload behaviour after save or delete. 2013-01-10 13:10:41 +01:00
Alexis Lahouze
a41cf30723 Frenchized label. 2013-01-10 00:00:08 +01:00
Alexis Lahouze
7680c35d66 Frenchized terms :) 2013-01-09 23:58:47 +01:00
Alexis Lahouze
c70e11ebd7 Tuned the top and bottom margins. 2013-01-09 23:47:04 +01:00
Alexis Lahouze
d361e827d4 Improved UI, improved API, improved other things... 2013-01-09 23:39:26 +01:00
Alexis Lahouze
264ce12658 Removed obsolete get_years method. 2013-01-09 11:56:02 +01:00
Alexis Lahouze
9b1c906032 Always select last month after loading them. 2013-01-08 18:53:45 +01:00
Alexis Lahouze
5ccddb0511 Changed month selection behaviour. 2013-01-08 18:50:47 +01:00
Alexis Lahouze
7d54015970 Removed crappy vim swp file. 2013-01-08 18:04:24 +01:00
Alexis Lahouze
318cc58074 Added clear button on operation edit field. 2013-01-08 18:03:25 +01:00
Alexis Lahouze
30bf84480f Initialized project. 2013-01-07 18:42:02 +01:00