Commit graph

29 commits

Author SHA1 Message Date
bronku
022619246e logout button 2025-04-05 11:40:42 +02:00
bronku
e204255691 fixed tests 2025-03-31 21:09:38 +02:00
bronku
fea05c928c minor changes 2025-03-31 20:34:31 +02:00
bronku
732c2cb084 changed queries to not use returning id 2025-03-31 20:20:08 +02:00
bronku
5661ac4594 extracted UpdateOrderContents 2025-03-31 07:42:31 +02:00
bronku
3136739f4e labels 2025-03-31 07:32:17 +02:00
bronku
c32ecbff8f FIX: warnings 2025-03-31 01:22:14 +02:00
bronku
67807992bc date filtering, and squashed migrations 2025-03-31 01:13:33 +02:00
bronku
7b21ee837d Refactor: Add time range to order queries 2025-03-30 19:47:31 +02:00
bronku
4e55e880b4 show todays order by default 2025-03-30 15:24:06 +02:00
bronku
a30a2fdab3 Refactor order retrieval logic 2025-03-30 14:55:35 +02:00
bronku
2588f2c54e Implement FTS5 for order search 2025-03-30 14:46:01 +02:00
bronku
81b442fcc4 Extract order parsing logic into reusable function 2025-03-29 09:26:01 +01:00
bronku
e11c5b1d52 Rename GetOrders method to GetTopOrders 2025-03-29 09:18:07 +01:00
bronku
1dd0332bc1 Add password hashing with argon2 2025-03-28 21:53:04 +01:00
bronku
323d574374 create table user, and fix table session 2025-03-28 15:01:28 +01:00
bronku
93afc14386 Move Order struct to data models package 2025-03-28 14:56:16 +01:00
bronku
7ee564f6b2 Move Cake struct to separate models package 2025-03-28 14:54:17 +01:00
bronku
b7072a5865 Add persistent session storage with SQLite 2025-03-28 14:44:46 +01:00
bronku
47a1ec95b8 Add error logging and fix cake templates 2025-03-27 08:22:04 +01:00
bronku
d9bcdfe186 Implement SQL queries for cake updates and inserts 2025-03-27 08:08:45 +01:00
bronku
01732b97fc Add single cake endpoint handler 2025-03-26 14:33:07 +01:00
bronku
72ed1ae61b Fix SQL casing and improve error handling 2025-03-26 13:26:26 +01:00
bronku
066295bbe5 Cache cakes in memory and update SQL logic 2025-03-26 12:12:33 +01:00
bronku
4b2fcbc58a Simplify error handling during startup 2025-03-23 21:58:34 +01:00
bronku
969dbfb1aa Extract database migration logic to migrations.go 2025-03-23 21:45:24 +01:00
bronku
e5c5603ebd Return error if cake not found in GetCake 2025-03-23 21:36:10 +01:00
bronku
922710a2cd Refactor store: use migrations and split logic 2025-03-23 19:54:01 +01:00
bronku
e2dda0ade7 Reorganize project structure and fix SQLite usage 2025-03-23 10:45:42 +01:00