Commit graph

47 commits

Author SHA1 Message Date
59baf03e22 Add OPTIONS to list of allowed CORS methods 2020-02-18 20:44:24 -07:00
5efc9b2b3b Apply updated category expense value 2020-02-18 19:51:48 -07:00
3ed5d700bd Fix CORS settings 2020-02-18 19:51:35 -07:00
882108c006 Implement concept of user permissions for a budget 2020-02-18 18:48:02 -07:00
d2bd1ac301 Allow runtime configuration of acceptable domains for CORS 2020-02-15 11:51:58 -07:00
0321af50ce Fix missing empty constructors for entity classes 2020-02-15 11:21:10 -07:00
37b45e0c22 Fix missing empty constructors for entity classes 2020-02-15 11:12:24 -07:00
bb160448be Fix CORS 2020-02-14 23:11:38 -07:00
d8faa66a1c Fix CORS 2020-02-14 22:35:10 -07:00
57b388da05 Fix CORS 2020-02-14 21:51:01 -07:00
71d4daf6a6 Revert "Remove CORS"
This reverts commit 10f3a98c
2020-02-14 21:43:34 -07:00
98ca7bccca Fix CORS 2020-02-14 21:29:40 -07:00
9523dd5908 Fix CORS 2020-02-14 21:11:33 -07:00
e4b2466f40 Fix CORS 2020-02-14 20:51:11 -07:00
10f3a98cba Remove CORS 2020-02-14 20:46:13 -07:00
a0f854f298 Cleanup unneeded files 2020-02-12 20:17:48 -07:00
066d22813f Cleanup unneeded files and fix Dockerfile 2020-02-12 20:15:43 -07:00
cb8c2282c3 Add missing gradle files
Signed-off-by: William Brawner <me@wbrawner.com>
2020-02-12 20:06:05 -07:00
8aa54d7029 Migrate from JDK 8 -> 11 and use Gradle instead of Maven 2020-02-10 17:57:53 -07:00
412c4b5edf Add expense/income filtering to categories
Signed-off-by: William Brawner <me@wbrawner.com>
2019-12-22 17:19:44 -06:00
d80ade5ef6 Attempt to reduce memory usage in Docker
Signed-off-by: William Brawner <me@wbrawner.com>
2019-12-22 17:19:21 -06:00
Billy Brawner
16e2a6a895 Prevent MySQL connection from getting killed
After long periods of inactivity, the MySQL server will kill the connection [1]. The newly added configuration properties perform a validation query once per minute while idle to avoid the connection from being killed.

[1] https://blog.netgloo.com/2015/07/09/spring-boot-communications-link-failure-with-mysql-and-hibernate/
2019-11-06 15:52:11 -06:00
Billy Brawner
2215694ef6 Sort budgets by name 2019-11-06 15:50:40 -06:00
Billy Brawner
08ecc1ce26 Allow login with username or email 2019-10-29 12:15:31 -06:00
Billy Brawner
6191ed9fe4 Use Sets instead of Lists for collections and correct capitalization in naming 2019-10-29 12:15:13 -06:00
Billy Brawner
4755b30a11 Implement persistent session storage
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-10-19 15:14:06 -07:00
Billy Brawner
5d7470a006 Revert "Return full transaction object for individual transactions"
This reverts commit 17ad169fe1.
2019-10-12 17:51:42 -07:00
Billy Brawner
17ad169fe1 Return full transaction object for individual transactions
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-10-12 16:50:36 -07:00
Billy Brawner
93be762dad Add paging and sorting to getCategories
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-10-07 20:34:10 -07:00
Billy Brawner
5a41cacd67 Rework authentication 2019-10-03 18:32:24 -07:00
Billy Brawner
898bc38d44 Add license
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-10-03 15:24:43 -07:00
Billy Brawner
15d71ff846 Build out transaction sorting and filtering a bit more 2019-10-02 18:35:28 -07:00
Billy Brawner
e8fd71d219 Various fixes to improve date range of retrieved transactions and balances
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-09-24 18:45:46 -07:00
Billy Brawner
c99ef28a2a Remove need to authenticate for /users/login
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-09-24 17:25:37 -07:00
Billy Brawner
8f1cb25966 Fix Dockerfile deployments
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-09-24 09:33:21 -07:00
Billy Brawner
591cf9d4fe Update Dockerfile
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-09-24 09:28:30 -07:00
Billy Brawner
ac7d7d6e3d Rename Account to Budget and make various API fixes for clients:
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-09-24 09:13:10 -07:00
Billy Brawner
89ba569873 Fix transaction sum queries 2019-06-02 07:07:32 -07:00
Billy Brawner
f5c6857d71 Fix transaction sum query 2019-06-01 20:54:13 -07:00
Billy Brawner
017cec7d3d Add expense to Category 2019-06-01 20:38:27 -07:00
Billy Brawner
23af0efb0f Rename Transaction.isExpense to Transaction.expense 2019-06-01 20:38:13 -07:00
Billy Brawner
0bb80d1162 Add account balance endpoint 2019-06-01 14:46:04 -07:00
Billy Brawner
81cb8cd680 Fix Docker builds to be faster for container restarts 2019-05-22 22:39:50 -07:00
Billy Brawner
f27a441b93 Fix access to allow new user registration 2019-05-22 22:39:27 -07:00
Billy Brawner
badb3a7476 Configure caprover deployments 2019-05-22 21:54:15 -07:00
Billy Brawner
b63874167a Add some more Swagger annotations 2019-05-22 21:53:58 -07:00
Billy Brawner
e2a35ec249 Initial commit with basic working API
Signed-off-by: Billy Brawner <billy@wbrawner.com>
2019-04-22 18:56:49 -07:00