Commit Graph

22 Commits

Author SHA1 Message Date
Aaron Lindsay c452984f23 Lay groundwork and move sessions to 'store' 2017-12-07 05:25:35 -05:00
Aaron Lindsay 147a00e429 Only serve over HTTPS, optionally auto-generating certificates
Because MoneyGo requires sending passwords and session cookies, we
should never serve over HTTP. While we're at it, make it more convenient
for folks to test this out by adding a config option to auto-generate
self-signed certificates.
2017-12-05 21:02:49 -05:00
Aaron Lindsay 507868b7a5 Begin move away from using http.ServeMux 2017-11-12 20:17:27 -05:00
Aaron Lindsay 5056b2b2ec Fixup build error from typo
This was introduced in 3869f3a3b2
2017-10-30 21:06:27 -04:00
Aaron Lindsay 3869f3a3b2 Get all current tests to pass with MySQL
This is done by requiring 'parseTime=true' in the MySQL DSN's (required
by github.com/go-sql-driver/mysql when Scan()ing to time.Time's), and
not forcing update counts to match if rows were updated to what they
already were.
2017-10-24 20:57:55 -04:00
Aaron Lindsay e0ce1576cd Add first test
This tests only querying security templates, and not very exhaustively,
but it's a test!
2017-10-05 08:06:08 -04:00
Aaron Lindsay d0a5980b85 First pass at reorganizing go code into sub-packages 2017-10-04 19:35:59 -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 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 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 f88fed966b Move to using config file 2017-10-01 21:15:40 -04:00
Aaron Lindsay 806ceb2f5c reports: Add basic lua infrastructure
Of course, it doesn't do anything other than print "Hello World", but
that's okay.
2017-01-23 20:40:39 -05:00
Aaron Lindsay a61e460c2f Add user-editable securities, strip hard-coded ones from securities.go 2016-10-16 20:33:23 -04:00
Aaron Lindsay 9be12a3c7e Update logging format to include source file/line 2016-02-19 20:01:25 -05:00
Aaron Lindsay 9e26b30bdc Add Initial Gnucash importing
There are still a number of bugs, but the basic functionality is there
2016-02-19 20:01:24 -05:00
Aaron Lindsay 443356caec Have `go generate` make JavaScript 2016-02-13 17:13:58 -05:00
Aaron Lindsay 58c7c17727 Initial pass at OFX imports
Still needs some fixups:
 * UI is incomplete
 * Investment transactions are unbalanced initially
 * OFX imports don't detect if one of the description fields for a
   transaction is empty (to fall back on another)
 * I'm sure plenty of other issues I haven't discovered yet
2016-02-02 21:46:27 -05:00
Aaron Lindsay 55a6e9a489 Add initial implementation of transactions 2015-06-28 23:03:34 -04:00
Aaron Lindsay 3367106e41 Add initial implementation of accounts 2015-06-27 17:46:06 -04:00
Aaron Lindsay 5b71c181fc Add basic implementation of securities 2015-06-27 08:32:51 -04:00
Aaron Lindsay 0f393d2fbb Initial commit 2015-06-25 22:36:58 -04:00