Commit graph

136 commits

Author SHA1 Message Date
7020cc15a5 fixup! fixup! Add ktor dependencies and basic server 2021-07-06 09:48:48 -06:00
6f94dedbe3 fixup! Add ktor dependencies and basic server 2021-07-06 09:18:48 -06:00
3e33f84416 fixup! Move com.wbrawner.budgetserver to com.wbrawner.twigs.server 2021-07-06 09:18:23 -06:00
bcb58d47d7 Add ktor dependencies and basic server 2021-07-05 19:08:09 -06:00
00ffbbe303 Move com.wbrawner.budgetserver to com.wbrawner.twigs.server 2021-07-05 19:07:19 -06:00
ab73dfcc76 Update gradle and kotlin versions 2021-07-05 19:05:25 -06:00
d7a3398655 Fix Docker builds 2021-06-20 13:30:46 -06:00
8e6454cb72 Convert code to Kotlin
Convert ErrorResponse to Kotlin

Convert TwigsServerApplication to Kotlin

Convert BudgetController to Kotlin

Convert CategoryController to Kotlin

Convert UserController to Kotlin

Convert TransactionController to Kotlin

Convert Budget models to Kotlin

Convert Category models to Kotlin

Convert PasswordResetRequest models to Kotlin

Convert Transaction models to Kotlin

Convert user models to Kotlin

Convert permission models to Kotlin

Conver session models to Kotlin

Finish Kotlin conversions

Fix more Kotlin conversion issues

Remove swagger

Use Kotlin DSL for Gradle scripts

Signed-off-by: William Brawner <me@wbrawner.com>

Resolve some warnings

Move source to src/main/kotlin

Move source to src/main/kotlin
2021-06-20 13:23:37 -06:00
9b3b4fac17 Switch to OpenJ9 for container 2021-06-15 08:07:09 -06:00
36ee1bccfa Remove swagger 2021-03-31 20:21:16 -07:00
ddbc377093 Add GitHub Action workflow to publish docker image 2021-02-25 17:28:51 -07:00
19681b99a7 Fix query parameter handling for budget balance 2021-02-07 15:43:18 -07:00
847a122e74 Include transactions without categories 2021-02-05 18:53:31 -07:00
c30e445024 Fix java executable path in Dockerfile 2021-01-26 20:57:03 -07:00
b98682b37b Automatically update session whenever the user makes a connection 2021-01-26 08:54:56 -07:00
5a9c845b3f Implement token-based authentication 2021-01-26 08:54:56 -07:00
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