Commit Graph

343 Commits

Author SHA1 Message Date
Aaron Lindsay d0a5980b85 First pass at reorganizing go code into sub-packages 2017-10-04 19:35:59 -04:00
Aaron Lindsay d9ddef250a Merge pull request #20 from aclindsa/db_updates
Db updates
2017-10-04 08:08:12 -04:00
Aaron Lindsay 156b9aaf0c Pass DB as a closure instead of a global variable
This is part of an ongoing attempt to restructure the code to make it
more 'testable'.
2017-10-04 08:05:51 -04:00
Aaron Lindsay 9abafa50b2 Update gorp dialect depending on DB type used 2017-10-03 19:37:58 -04:00
Aaron Lindsay c1dc6a21e8 Merge pull request #19 from aclindsa/remove_gorilla
Remove 'gorilla' framework
2017-10-03 11:27:54 -04:00
Aaron Lindsay c783e2c1bb Remove 'gorilla' framework
It was being used for session management, but we weren't using any of
the features that differentiated it from using go's cookies directly so
it is hard to justify the additional dependencies.
2017-10-03 11:26:56 -04:00
Aaron Lindsay 22560dd43a Fix typo for 'base-directory' 2017-10-02 21:01:23 -04:00
Aaron Lindsay c1f6919245 Merge pull request #18 from aclindsa/database_config
Move database configuration into config file
2017-10-02 20:58:40 -04:00
Aaron Lindsay 8ce3ef1bf5 Move database configuration into config file
Also support mysql and postgres (at least in name, they haven't been
fully tested yet)
2017-10-02 20:55:26 -04:00
Aaron Lindsay 319b0b147d Merge pull request #17 from aclindsa/config_file
Move to using config file
2017-10-01 21:18:42 -04:00
Aaron Lindsay f88fed966b Move to using config file 2017-10-01 21:15:40 -04:00
Aaron Lindsay debd221796 Update README 2017-10-01 07:44:20 -04:00
Aaron Lindsay 19848ed991 Mention nodejs version dependency
This is to address https://github.com/aclindsa/moneygo/issues/2, where the older npm/nodejs versions on Ubuntu causes errors when installing cldr-data.
2017-09-27 10:35:09 -04:00
Aaron Lindsay 770e86aee8 Add MIT license 2017-09-25 19:44:25 -04:00
Aaron Lindsay 15b9bc8314 OFX imports: Create sub-accounts for sub-account splits 2017-09-21 21:16:23 -04:00
Aaron Lindsay e38c49a556 Use default currency for top-level 'Trading' account
Also add missing transaction.Rollback() calls on early returns in
GetAccountTransactions()
2017-09-21 21:00:30 -04:00
Aaron Lindsay d0d6ea3a78 OFX imports: Properly import 'trading' transaction splits 2017-09-20 21:30:17 -04:00
Aaron Lindsay 698d74d727 OFX imports: Support a few more investment transaction types 2017-09-20 20:54:58 -04:00
Aaron Lindsay 6b2698d208 ofx.go: Remove outdated comment 2017-09-20 20:39:08 -04:00
Aaron Lindsay fdc2bc85bb README: Require go 1.9 2017-09-20 20:19:24 -04:00
Aaron Lindsay 76fe78b48d AccountsTab: Only update 'OFX Account Type' field if it exists 2017-09-20 20:14:01 -04:00
Aaron Lindsay d979849213 OFX imports: Convert 'GetSecurity' to use existing SQL transaction 2017-09-20 20:13:29 -04:00
Aaron Lindsay 03b79d8c4a imports: Add better error reporting 2017-09-20 20:13:01 -04:00
Aaron Lindsay 89d045a51f OFX: Import the most common investment transactions
This is very preliminary support, and is likely to still fail for many
cases - even those with nominal support. Most transaction splits end up
being filed under 'imbalanced' accounts instead of something that makes
more sense.
2017-09-20 20:09:40 -04:00
Aaron Lindsay 3727f5b767 package.json: Update npm packages
Also update homepage
2017-09-20 19:58:26 -04:00
Aaron Lindsay ec2a9cbdd8 Don't mismatch securities because of pointers
This bug could cause transactions from imports with multiple securities
to end up pointing to the wrong securities.
2017-09-20 14:22:33 -04:00
Aaron Lindsay 93a05576b8 Delete prices when deleting security 2017-07-17 20:25:45 -04:00
Aaron Lindsay 24cf7e3e8e Update README 2017-07-14 08:17:49 -04:00
Aaron Lindsay 8f884f7a69 Add more sample reports
Also switch tabs to spaces in existing sample reports
2017-07-13 21:38:30 -04:00
Aaron Lindsay f213e1061c Add security prices
* Import them from Gnucash's pricedb
* Add support for querying prices from lua for reports
* Add documentation for lua reports
2017-07-13 21:32:25 -04:00
Aaron Lindsay 594555b0c4 Flesh out OFX documentation 2017-07-08 20:59:11 -04:00
Aaron Lindsay 563b049ee3 Add OFX import documentation 2017-07-07 22:09:50 -04:00
Aaron Lindsay 951d56f7fe Add monthly cash flow example report 2017-07-07 20:53:22 -04:00
Aaron Lindsay a69468785b README: Update documentation section 2017-07-07 06:40:07 -04:00
Aaron Lindsay 7f20ca5256 README: Add screenshots 2017-07-07 06:32:01 -04:00
Aaron Lindsay 5047dc6948 Add markdown documentation 2017-07-07 06:18:05 -04:00
Aaron Lindsay aeed78f0b7 ReportReducer: Fix bug creating list 2017-06-23 06:10:35 -04:00
Aaron Lindsay c19644e0c7 s/r/t/ in example report lua code 2017-06-23 06:01:54 -04:00
Aaron Lindsay e49b11f349 UI: Make reports.list contain actual reports 2017-06-23 06:00:10 -04:00
Aaron Lindsay 0cd27fea87 .gitignore: Add static/codemirror 2017-06-22 06:05:13 -04:00
Aaron Lindsay a42e051f74 Ensure default currency isn't modified to be a non-currency 2017-06-21 21:53:01 -04:00
Aaron Lindsay 4e73e8b508 Add per-user default currency 2017-06-21 21:27:41 -04:00
Aaron Lindsay 25b04a4f0f Stop creating lists in containers
Create them only when needed in reducers instead
2017-06-21 21:27:41 -04:00
Aaron Lindsay cd9ad1d4d7 gnucash: Support directly importing gzipped files 2017-06-19 21:08:49 -04:00
Aaron Lindsay 69bbd3db62 Report formatting fixes
This adds a special cursor to indicate reports can be clicked and
ensures full legends are displayed
2017-06-19 20:24:56 -04:00
Aaron Lindsay 6d4fdafc02 reports: Move flattening tabulations into reducer
This removes some circular control dependencies
2017-06-17 14:30:52 -04:00
Aaron Lindsay 9844785b8d Basic Report UI complete! 2017-06-17 10:28:50 -04:00
Aaron Lindsay 5dff27e7f7 TransactionConstants.js: Reorder 2017-06-16 20:56:01 -04:00
Aaron Lindsay 9ce6454997 Add lots of backend and back-frontend report infrastructure 2017-06-16 20:55:22 -04:00
Aaron Lindsay eb5c9cdcd8 README: Add other dependencies, missing features 2017-06-16 20:47:18 -04:00