Commit Graph
100 Commits
Author SHA1 Message Date
esilva 4cdbdaf5d8 Updated documentation, a thing here and there and bumped the version 2025-09-25 18:23:42 +01:00
esilva 22d34a4b0b Changes to the configuration. Will help with setting up DB with sockets 2025-09-22 18:39:38 +01:00
esilva 84601cfef0 mainPage refactoring 2025-09-22 13:54:09 +01:00
esilva da6dd28529 Added some filters 2025-09-22 13:36:16 +01:00
esilva aa99137057 Renamed the server command to http 2025-09-22 13:15:57 +01:00
esilva 2e8580d5a6 A pretty dumb approach for getting plot data. Will make it better later
This serves my currenr necessity, will add features later
2025-09-20 23:21:51 +01:00
esilva 6b782aa08d Added a filter for the expenses get all function, reduced code with that 2025-09-18 18:56:14 +01:00
esilva 09296d989b Just renamed some stuff 2025-09-16 14:16:25 +01:00
esilva 27d409ed96 Cleaning some warnings 2025-09-15 19:12:14 +01:00
esilva 3514adbea9 Moved the README 2025-09-12 19:08:58 +01:00
esilva 81a6eaa5e4 Changed the cookie store options to work locally 2025-09-12 19:03:20 +01:00
esilva a0a1599e17 Removed some leftover logs and updated the README 2025-09-12 18:50:16 +01:00
esilva 54ea4c1c98 We got some auth going 2025-09-12 18:18:17 +01:00
esilva dc72c5414e very basic auth
- user is requested to login when trying to access content
2025-09-10 21:02:19 +01:00
esilva 167f138647 Updates to the README 2025-09-09 23:56:40 +01:00
esilva ad639524d5 Just updated the Makefiles and whatnot 2025-09-09 13:56:26 +01:00
esilva fa1f74e2ff commiting the changes did yesterday about the qr data insertion 2025-09-09 12:09:36 +01:00
esilva 2216801e89 migrations weren't working 2025-09-09 12:07:47 +01:00
esilva 7b4a098b99 Updated the README 2025-09-08 19:14:39 +01:00
esilva 1e8cd044b4 debt settling with transaction 2025-09-08 14:23:24 +01:00
esilva 4c44252a5f Rome wasn't built in a day my guys 2025-09-07 23:58:37 +01:00
esilva 763d19ec54 Finished the PgRepo pattern thingy 2025-09-07 15:39:19 +01:00
esilva 693f5a46a9 A bit of Makefile improvements 2025-09-05 23:43:46 +01:00
esilva 6b719cb0ef Migrated to PG succesfully, I hope, haven't ran all the tests 2025-09-03 14:51:29 +01:00
esilva 4552b8c969 Still migrating to postgres, have to check that everything works and fix stuff 2025-09-02 23:50:19 +01:00
esilva 6c5922bb5e Added a script to migrate the dumped CSV data from the sqlite3 DB to PG 2025-08-31 23:48:53 +01:00
esilva 22b3d810cb Starting the move to PGSQL 2025-08-31 23:47:19 +01:00
esilva 9bf5916938 Revert "Added the currency_affinity field to the configuration"
This reverts commit 8319b33c00.
2025-08-31 19:35:31 +01:00
esilva 05047af0c3 Revert "Changed the code to use the currency_affinity value"
This reverts commit a67c103ccd.
2025-08-31 19:35:30 +01:00
esilva a67c103ccd Changed the code to use the currency_affinity value 2025-08-31 19:13:04 +01:00
esilva 8319b33c00 Added the currency_affinity field to the configuration 2025-08-31 19:12:53 +01:00
esilva 5c2ad330b3 Updated and pushed the docker image 2025-08-30 15:27:42 +01:00
esilva 587312cc95 quick debt settlement in the overview page 2025-08-30 15:19:53 +01:00
esilva 689e371b40 Added a button to quickly pay off a debt 2025-08-30 14:40:41 +01:00
esilva b283f34c4d Updated the overview page to use the new debts 2025-08-30 14:23:53 +01:00
esilva 617f92e326 Fixed debts to use the shares.Calculated field 2025-08-30 13:33:58 +01:00
esilva e542574108 Added a lua migration helper script, hope it works correctly all the time! 2025-08-29 18:32:01 +01:00
esilva 23082c017d Working on the lua migration script, mistyped some names : / 2025-08-28 01:58:54 +01:00
esilva 404b41ae75 Some decisions regarding the lua env
it will be in the app environment because it serves the app, will think
about it later
2025-08-28 01:46:39 +01:00
esilva 7320b61df7 Working on the Calculated thing
Did some work towards the lua interface, but its kinda shit tbh
2025-08-26 19:29:33 +01:00
esilva b6d0d98d41 still adding the 'Calculated' column 2025-08-26 18:28:59 +01:00
esilva b5d918a873 Moving in another direction regarding debts 2025-08-25 22:04:35 +01:00
esilva 49a1978736 Working on the debts
Also started adding support for lua scripts, still working on that
part tho;
2025-08-25 18:22:07 +01:00
esilva 7c3a203dd2 Basic debt calculation, still have to some testing
Did this yesterday forgot to commit it
2025-08-21 12:48:19 +01:00
esilva a7cc916805 Updated the FilterExpenseParticipants methods 2025-08-17 23:48:08 +01:00
esilva 7ed6c89666 Added the SharesEven column logic 2025-08-17 23:16:55 +01:00
esilva 06aafa4ee1 Adding the PaidOff column to the Apps logic
Also had to readd a schema.sql file because sqlc was failing
at parsing the migrations directory correctly
2025-08-13 23:49:03 +01:00
esilva 5f0ec19e1f Some extra verbosity on the migrations files - will add even more later 2025-08-13 19:14:30 +01:00
esilva 300ee481e3 Added the paidOff the sharesEven columns to the database 2025-08-13 14:14:06 +01:00
esilva d451bc6e70 Fixed bath path for migrations location 2025-08-12 18:36:59 +01:00
esilva ceea5344ce Fixed the delete button on the shares table of the expenses page 2025-08-12 12:19:19 +01:00
esilva a977f98586 Update the Makefile 2025-08-11 19:09:03 +01:00
esilva 955177cac6 Fixed the ownership of the app in the container 2025-08-11 19:07:34 +01:00
esilva 5c03ef8e7b Update the docker image to use the newer version with migrations 2025-08-10 23:07:20 +01:00
esilva fe568481ff Reduce font and favicon size 2025-08-10 22:57:09 +01:00
esilva bab5ffaae3 Some places weren't using the correct pattern for the models 2025-08-10 15:14:52 +01:00
esilva ba00980217 Use decimal.Decimal to represent floats more easily 2025-08-10 14:00:20 +01:00
esilva 528540a723 Dunno, just trying to get this thing going : ( 2025-08-10 00:16:50 +01:00
esilva 65c112abfa Added the names of the initial migrations 2025-08-09 23:32:37 +01:00
esilva 1416ce1c33 Added some CLI commands 2025-08-09 23:21:09 +01:00
esilva 2f3d397eaa Added migrations, yo 2025-08-09 21:51:08 +01:00
esilva 89679d6bb6 Model layer is "complete"
I don't really like how it is for now but I will learn about it later
2025-08-09 12:02:16 +01:00
esilva e76261d5d5 Proper model layer 2025-08-08 12:54:42 +01:00
esilva f0ca0051b6 Moving the domain models to a models package in expenses 2025-08-07 18:02:28 +01:00
esilva 86db133640 sqlc migration done 2025-08-07 13:47:34 +01:00
esilva 31f596a150 Whatever I'm doing here I think I will regret it, sqlc migration 2025-08-05 13:57:37 +01:00
esilva b194818c93 Migrating to sqlc 2025-08-04 22:31:29 +01:00
esilva f6152188e5 Bumped the image version 2025-08-03 22:17:23 +01:00
esilva eca7487096 Containarization achieved 2025-08-03 22:13:21 +01:00
esilva 2d592e24f7 Some visual updates 2025-08-01 14:07:39 +01:00
esilva 93ba9d1e07 Update to the local config file and some rules
Forgot to send this inside the last commit
2025-07-30 17:18:10 +01:00
esilva a313faf1ae Some visual upgrades
Removed the up and down arrows from number input boxes
2025-07-30 14:03:12 +01:00
esilva 8e2246cd5c Configurations for the Database 2025-07-30 14:02:55 +01:00
esilva 37d7e2f656 Some new TODOs 2025-07-30 14:01:56 +01:00
esilva bf4e68d14f Updated the TODO
a small thing but I think I can focus on new developments now or rework
the DB
2025-07-28 23:11:30 +01:00
esilva 4f463b5941 Same behaviour for stores 2025-07-28 23:10:30 +01:00
esilva ef21189d6c Moving the behaviour to types too 2025-07-28 22:59:34 +01:00
esilva 5261ba3ea3 Making the behaviour consistent across the multiple pages 2025-07-28 22:32:23 +01:00
esilva 8b257a3e13 Made all the templating work with gin instead 2025-07-28 13:50:10 +01:00
esilva 0d373d1990 Getting rid of the templating subpackage, complete unecessary 2025-07-28 03:34:26 +01:00
esilva af9265575b Delete confirmation modal
Still only on the expense page
2025-07-28 02:41:36 +01:00
esilva 9c76b93fcd Better looking form
Still need to apply these to the other pages
2025-07-28 02:23:34 +01:00
esilva 97726971d2 Some visual sugar and added a new diagram 2025-07-27 00:13:04 +01:00
esilva 4925aad963 Reworked the overview page and some qol stuff, going to merge now 2025-07-25 22:58:49 +01:00
esilva 9ba5106c2d Simple debt aggregator 2025-07-25 22:05:10 +01:00
esilva 944fc1c905 Also created the debts files, but still need to plan ahead first 2025-07-23 23:51:47 +01:00
esilva 3f7a0dee96 Created the auxiliary debts functions and am testing it 2025-07-23 23:51:26 +01:00
esilva 7ca63c202f Added a simple overview page for my current needs
also did a small change for the JS because the input handling was not
gud
2025-07-22 18:49:20 +01:00
esilva 519e87888d More fixes to how dates are handled 2025-07-21 23:34:45 +01:00
esilva 54732c9b38 Little fix to the date to timestamp conversion 2025-07-21 23:29:29 +01:00
esilva c66cb76d59 makes it a bit prettier 2025-07-21 22:43:07 +01:00
esilva 9db370d391 small fixes - but it works 2025-07-21 21:01:18 +01:00
esilva a679b7334c MVP 2025-07-21 18:31:28 +01:00
esilva 4e50ad653f Its not pretty but expenses can be added with shares and payments, kinda 2025-07-21 00:09:42 +01:00
esilva 43f603d478 Little Summary of what was payed on a given expense 2025-07-18 19:34:21 +01:00
esilva c684be16ff Reusing templates and saving me from some troubles 2025-07-16 22:42:23 +01:00
esilva 2a247fea01 Page to edit an expense 2025-07-16 22:25:48 +01:00
esilva c1e3a68ac1 Editable type 2025-07-16 18:25:55 +01:00
esilva b2eca1899b Fix the type by id page 2025-07-16 11:23:51 +01:00
esilva 9167688e1e The data stuff is here, now I have to refine it 2025-07-15 16:23:48 +01:00