Commit graph

61 commits

Author SHA1 Message Date
284b4be6bd Convert the rest of the codebase from Kotlin to Java 2020-05-31 22:06:21 -07:00
0b729bb34e WIP: Convert user permissions to Java
Signed-off-by: William Brawner <me@wbrawner.com>
2020-05-31 13:23:28 -07:00
fbf9ea68a7 WIP: Convert budget package to Java 2020-05-31 13:23:28 -07:00
3d19155836 Add gitignore for api module 2020-05-31 13:23:28 -07:00
981163b9bb Convert gradle build scripts to groovy 2020-05-31 13:23:28 -07:00
287a101962 Update to Gradle 6.4 2020-05-31 13:23:28 -07:00
5889d0b59b Move source into api module 2020-05-31 13:23:28 -07:00
661ea1764c Add Angular app to dev docker-compose.yml CORS exceptions
Signed-off-by: William Brawner <me@wbrawner.com>
2020-05-26 18:48:47 -07:00
33a33a74cc Add sample docker-compose for dev/testing
Signed-off-by: William Brawner <me@wbrawner.com>
2020-05-25 18:24:26 -07:00
0e7db87e16 Fix category deletion
Signed-off-by: William Brawner <me@wbrawner.com>
2020-03-02 17:12:18 +00:00
94d2111ca6 Allow basic auth
Signed-off-by: William Brawner <me@wbrawner.com>
2020-03-02 01:42:51 +00:00
cc5c8b3da1 Set database updates to none 2020-02-21 20:17:02 -07:00
b381cf20d6 Fix transaction filtering by budgets 2020-02-19 21:25:23 -07:00
5182c85e96 Remove HTTP Basic auth 2020-02-18 21:02:32 -07:00
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