Commit graph

170 commits

Author SHA1 Message Date
7237e12363 Switch to string-based identifiers for all objects
This is needed to begin using UUIDs so that objects can be created client-side with unique identifiers that are less likely to collide with objects created from other clients simultaneously
2020-12-29 11:55:46 -07:00
377f2b61f7 Reduce duplication of logic in BudgetController 2020-12-29 06:26:38 -07:00
e160fd372e Add README 2020-12-27 14:28:13 -07:00
05f203a56f Implement category archiving
Archiving is a step below deleting. It represents categories that may no
longer be relevant to your current budget, but are still useful to keep
around for historical reasons.
2020-06-30 03:18:24 +00:00
fd517cb2f8 Allow credentials for CORS requests
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-30 03:17:50 +00:00
b8a4a7f9f7 Revert "WIP: Allow different amounts per month for categories"
This reverts commit 65c25f9db9.
2020-06-30 02:18:12 +00:00
745cf38815 Fix erroneous annotation on Category mapping
Signed-off-by: William Brawner <me@wbrawner.com>
2020-06-27 22:59:11 +00:00
65c25f9db9 WIP: Allow different amounts per month for categories 2020-06-04 15:10:28 -07:00
7b8939a349 Update Dockerfile to use JDK 14 2020-06-01 08:03:35 -07:00
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