Commit graph

133 commits

Author SHA1 Message Date
73bfc793c8 Add gradle-managed frontend
It still uses NPM (via gradle tasks) but drops the old Angular-based UI in favor of a Lit-based UI from https://github.com/pwa-builder/pwa-starter. I'll have to rebuild from scratch, but I think it'll be better in the long run

Signed-off-by: William Brawner <me@wbrawner.com>
2022-12-15 21:39:22 -06:00
1d15b116c2 Bump gradle wrapper to 7.6
Signed-off-by: William Brawner <me@wbrawner.com>
2022-12-11 20:27:29 -06:00
747aec51ef Remove caprover-related code
Signed-off-by: William Brawner <me@wbrawner.com>
2022-12-11 20:27:17 -06:00
225bfc6b00
Allow CORS requests from localhost 2022-11-07 20:57:28 -07:00
b170d632e4 Update Ktor to 2.0.2
Signed-off-by: Billy Brawner <me@wbrawner.com>
2022-06-22 13:42:01 -05:00
698051fab1 Update README with environment variable configuration options
Signed-off-by: Billy Brawner <me@wbrawner.com>
2022-06-03 22:50:13 -06:00
909b667c62 Implement password reset
Signed-off-by: Billy Brawner <me@wbrawner.com>
2022-06-03 22:46:02 -06:00
58c6508d0a Use gradle version catalogs 2022-06-02 20:28:44 -06:00
cee28c0e1e Fix RecurringTransactionsResponse sending "null" in finish field 2022-05-28 21:38:01 -06:00
3d7a4d9772 Exclude null values from json encoding 2022-05-28 20:33:53 -06:00
c3df8a252e Fix cross-platform docker builds 2022-05-18 18:38:18 -06:00
1ba8565909 Add docker builds for arm 2022-05-18 18:35:15 -06:00
2a7d674204 Fix monthly recurring transactions not being created when the year changes
The previous implementation only checked that at least one month had passed between the last run date and now by subtracting the ordinal values. If it were February (month 2) and the previous run date were in January (month 1), then 2 - 1 would equal 1, so it would have been one month since the previous run and we would create the recurring transaction. If it were December however (month 12), the following month would be January (month 1), and 1 - 12 would be -11, so it would appear that we had already created a transaction 11 months in the future. The new implementation also takes the year into account to avoid this situation.
2022-02-02 21:21:20 -07:00
f8c970eb68
Fix links to other projects in README 2021-12-21 21:13:16 -07:00
97a6807b84 Fix CORS setup
AnyHost * is not allowed in combination with Allow-Credentials, see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
2021-12-18 09:10:22 -07:00
d3de43dcd9 Fix CORS setup
AnyHost * is not allowed in combination with Allow-Credentials, see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
2021-12-18 08:56:40 -07:00
04842b6dba Fix CORS setup
AnyHost * is not allowed in combination with Allow-Credentials, see https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
2021-12-18 08:56:15 -07:00
b6ccae2abe Run twigs as user instead of root in docker image 2021-12-18 07:44:01 -07:00
6b606b86a9 Bump all dependencies 2021-12-18 07:18:52 -07:00
ab8d213431 Bump logback version 2021-12-18 07:14:17 -07:00
8969a7f2d2 Fix recurring transactions query 2021-12-06 21:41:44 -07:00
82939020f7 Fix: only create recurring transactions that haven't already ended 2021-11-27 21:52:36 -07:00
1fe62dc410 Automatically deploy changes on pushes to main 2021-11-24 16:25:13 -07:00
4bdcc90746 Add support for CORS 2021-11-24 16:14:40 -07:00
58f1b1d373 Fix Dockerfile to not rely on local builds 2021-11-19 10:23:35 -07:00
3ab7d28741 Fix URL to Android repo in README 2021-10-02 14:39:38 -06:00
f85f2057c6 Update README 2021-10-02 14:38:13 -06:00
6bea66e7a5 Fix recurring transactions being created multiple times 2021-09-20 19:48:43 -06:00
fe65921ac0 Add missing SQL migration files 2021-09-19 21:50:51 -06:00
7754bfaae5 Run jobs every hour instead of every day 2021-09-19 20:29:12 -06:00
62eb6b0976 Add test for looping hourly instead of daily 2021-09-19 20:25:55 -06:00
722805f732 fixup! Exclude milliseconds from transaction dates 2021-09-19 20:25:35 -06:00
9446b52e3d Run jobs before delay 2021-09-19 20:21:03 -06:00
a9611eee23 Implement recurring transactions 2021-09-19 20:21:03 -06:00
1ab9af9d17 WIP: Implement recurring transactions 2021-09-19 20:21:02 -06:00
5d26ee9af3 Exclude milliseconds from transaction dates 2021-09-14 19:22:53 -06:00
ca28d32aa9 Minor fixes for web and mobile 2021-08-16 15:25:32 -06:00
f2700f7148 Add frontend web target 2021-08-15 21:10:39 -06:00
ff70db9280 Fix issues with transaction and category routes 2021-08-13 16:09:05 -06:00
2900915842 Fix userRoutes 2021-08-13 10:59:53 -06:00
4ef2fed502 WIP: Finish ktor migration 2021-08-12 15:22:06 -06:00
9fc3d1ac1c Add Transaction routes 2021-08-05 21:00:23 -06:00
f6e0157560 Add user routes 2021-08-05 19:35:42 -06:00
4de09a8f1c Add category routes 2021-08-03 19:55:03 -06:00
ed1dde49bf WIP: Migrate to Ktor 2021-07-29 10:40:22 -06:00
b882d8b089 fixup! Rename api module to app 2021-07-28 18:50:26 -06:00
c38cdb2621 Rename api module to app 2021-07-28 18:49:48 -06:00
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