Commit graph

  • 3136739f4e labels bronku 2025-03-31 07:32:17 +02:00
  • c32ecbff8f FIX: warnings bronku 2025-03-31 01:22:14 +02:00
  • 67807992bc date filtering, and squashed migrations bronku 2025-03-31 01:13:33 +02:00
  • 7b21ee837d Refactor: Add time range to order queries bronku 2025-03-30 19:47:31 +02:00
  • 4e55e880b4 show todays order by default bronku 2025-03-30 15:24:06 +02:00
  • a30a2fdab3 Refactor order retrieval logic bronku 2025-03-30 14:55:35 +02:00
  • 2588f2c54e Implement FTS5 for order search bronku 2025-03-30 14:46:01 +02:00
  • 81b442fcc4 Extract order parsing logic into reusable function bronku 2025-03-29 09:26:01 +01:00
  • e11c5b1d52 Rename GetOrders method to GetTopOrders bronku 2025-03-29 09:18:07 +01:00
  • d59c119f75 search frontend bronku 2025-03-29 09:13:40 +01:00
  • 10140231a6 moved route definition to a map bronku 2025-03-29 08:55:54 +01:00
  • 434708b291 loading htmx bronku 2025-03-29 07:40:52 +01:00
  • 08b669fd8f Implement shared template layout system bronku 2025-03-29 07:33:23 +01:00
  • 3be7fb76e7 Rename orders page template and add debug logging bronku 2025-03-29 06:30:56 +01:00
  • fe703a9b1c Add order total calculation and update template display bronku 2025-03-28 23:26:46 +01:00
  • 5af6e871c2 updated TODO.md bronku 2025-03-28 22:35:30 +01:00
  • 1dd0332bc1 Add password hashing with argon2 bronku 2025-03-28 21:53:04 +01:00
  • 01da46b81e Refactor auth session management into separate function bronku 2025-03-28 21:06:12 +01:00
  • bba6e8618a Refactor authentication handlers and middleware bronku 2025-03-28 20:33:34 +01:00
  • 024d63bb16 Merge branch 'dev' into auth bronku 2025-03-28 18:12:20 +01:00
  • f8c03173cb moved error page to logging bronku 2025-03-28 18:12:00 +01:00
  • 323d574374 create table user, and fix table session bronku 2025-03-28 15:01:28 +01:00
  • 93afc14386 Move Order struct to data models package bronku 2025-03-28 14:56:16 +01:00
  • 7ee564f6b2 Move Cake struct to separate models package bronku 2025-03-28 14:54:17 +01:00
  • e749e77a2a updated TODO.md bronku 2025-03-28 14:47:40 +01:00
  • b7072a5865 Add persistent session storage with SQLite bronku 2025-03-28 14:44:46 +01:00
  • 747d9fe3c7 Update TODO.md bronku 2025-03-27 08:29:17 +01:00
  • 06fb132993 Remove bronku 2025-03-27 08:25:01 +01:00
  • 47a1ec95b8 Add error logging and fix cake templates bronku 2025-03-27 08:22:04 +01:00
  • d9bcdfe186 Implement SQL queries for cake updates and inserts bronku 2025-03-27 08:08:45 +01:00
  • d70144c39a Save new cake and fix navigation links bronku 2025-03-26 15:10:33 +01:00
  • 2857507fae Add POST endpoint for creating new cakes bronku 2025-03-26 14:42:48 +01:00
  • 01732b97fc Add single cake endpoint handler bronku 2025-03-26 14:33:07 +01:00
  • f552e87a9d Add cakes management page and routes bronku 2025-03-26 13:38:42 +01:00
  • 72ed1ae61b Fix SQL casing and improve error handling bronku 2025-03-26 13:26:26 +01:00
  • c0227e4e2d Update .gitignore bronku 2025-03-26 12:12:51 +01:00
  • 066295bbe5 Cache cakes in memory and update SQL logic bronku 2025-03-26 12:12:33 +01:00
  • 4b2fcbc58a Simplify error handling during startup bronku 2025-03-23 21:58:34 +01:00
  • 969dbfb1aa Extract database migration logic to migrations.go bronku 2025-03-23 21:45:24 +01:00
  • e5c5603ebd Return error if cake not found in GetCake bronku 2025-03-23 21:36:10 +01:00
  • 922710a2cd Refactor store: use migrations and split logic bronku 2025-03-23 19:54:01 +01:00
  • 376edd7267 Add error handling for token key generation bronku 2025-03-23 10:51:07 +01:00
  • e2dda0ade7 Reorganize project structure and fix SQLite usage bronku 2025-03-23 10:45:42 +01:00
  • 0e762841a3 Refactor postOrder to render confirmation page bronku 2025-03-23 00:25:38 +01:00
  • 47323b32f8 Refactor: Fetch handler to return status code bronku 2025-03-22 23:53:38 +01:00
  • a7bd1478bf Refactor server: use render func for templates bronku 2025-03-22 23:46:33 +01:00
  • ca4e448f82 Refactor handler to server package bronku 2025-03-22 22:35:47 +01:00
  • fb97ba20c0 Refactor routing and middleware architecture bronku 2025-03-22 11:22:45 +01:00
  • 08d41b0348 Refactor router initialization into constructor bronku 2025-03-22 08:57:19 +01:00
  • 4830fbc870 Move handler code to router package and rename types bronku 2025-03-22 08:49:46 +01:00
  • a70d5a8548 moved logger into middleware bronku 2025-03-21 23:39:12 +01:00
  • e75468ce55 Move database code to store package bronku 2025-03-21 23:35:55 +01:00
  • d1c393736a update todo bronku 2025-03-21 23:19:52 +01:00
  • ab662bd4b8 Add session management for user authentication bronku 2025-03-21 23:13:14 +01:00
  • e235e3d8a8 Login form handling bronku 2025-03-21 20:37:25 +01:00
  • 8b5ac8c19f Add login form bronku 2025-03-21 20:34:36 +01:00
  • ab01a459af Replace request counter with basic auth/token system bronku 2025-03-21 20:05:30 +01:00
  • c504f8c597 Add authentication middleware to HTTP handlers bronku 2025-03-21 19:38:10 +01:00
  • 5d6bbdb943 xd? bronku 2025-03-21 18:53:11 +01:00
  • 2f96ca3105 Merge branch 'database' of github.com:Bronku/iroon into database bronku 2025-03-21 18:52:01 +01:00
  • b61bae7cd8 Separate db initialization from store opening bronku 2025-03-21 18:50:26 +01:00
  • 2dad3f1305 Separate db initialization from store opening bronku 2025-03-21 18:50:26 +01:00
  • 646501d609 Update store.go bronku 2025-03-20 12:29:05 +01:00
  • a950df6ceb show order contents properly bronku 2025-03-20 12:27:12 +01:00
  • b85bbe6e55 Handle errors in getOrder bronku 2025-03-20 10:43:19 +01:00
  • 262b586d0a Implement getCake endpoint and update memdb bronku 2025-03-20 10:35:39 +01:00
  • d5c6cd4dc0 Update README.md bronku 2025-03-20 07:47:04 +01:00
  • e0a41a13e9 Update TODO.md bronku 2025-03-20 07:42:42 +01:00
  • 34e2d8c01a Implement order items bronku 2025-03-20 07:41:27 +01:00
  • 605ea31fe1 update tests bronku 2025-03-19 22:10:43 +01:00
  • 23647d74fc Switch from in-memory to SQLite storage bronku 2025-03-19 11:59:08 +01:00
  • e55ca30d20 Add status field to orders bronku 2025-03-18 22:30:16 +01:00
  • d4b76f6307 Create TODO.md bronku 2025-03-18 22:02:22 +01:00
  • 475d79f16e full form parsing bronku 2025-02-07 09:27:20 +01:00
  • 0570e47be9 added store bronku 2025-02-07 08:40:04 +01:00
  • ea6546ec17 adding to basket bronku 2025-02-06 22:14:46 +01:00
  • 56fff533f2 not really working bronku 2025-02-06 21:31:59 +01:00
  • 8081d61f2f parsing metadata bronku 2025-02-06 20:26:34 +01:00
  • bc4c9d62f0 logging, and handler struct bronku 2025-02-06 20:06:42 +01:00
  • 40fc76c7fc why do I always overcomplicate things bronku 2025-02-06 15:14:31 +01:00
  • 9e2861ecba xd bronku 2025-02-06 14:22:09 +01:00
  • 9208e62f1a changed terminology bronku 2025-02-01 19:26:45 +01:00
  • ea81abb718 spellcheck, and refreshing cake list bronku 2025-02-01 19:25:53 +01:00
  • 2c90e19eba rudimentary css Bronku 2025-02-01 08:18:08 +01:00
  • 7515010afd move id to cake struct Bronku 2025-02-01 07:29:24 +01:00
  • cd7c9a9d0c adding cakes 50% working Bronku 2025-01-31 22:56:21 +01:00
  • a09cee09c8 editing cakes by id Bronku 2025-01-31 22:26:31 +01:00
  • 353dffdd82 renamed cake editor Bronku 2025-01-31 20:12:26 +01:00
  • 331f3080f9 new cake form Bronku 2025-01-31 19:39:17 +01:00
  • 36484f874f changed adding cakes to buttons Bronku 2025-01-31 17:49:46 +01:00
  • ed3785af44 co tu się odjebało Bronku 2025-01-31 17:00:45 +01:00
  • ca4e073cf0 Merge branch 'main' of github.com:Bronku/iroon Bronku 2025-01-31 17:00:13 +01:00
  • f7498f4ef1 loading all templates automatically Bronku 2025-01-31 16:56:12 +01:00
  • 9462d98b96 loading all templates automatically Bronku 2025-01-31 16:56:12 +01:00
  • 9f858d50ae renamed confirm page Bronku 2025-01-31 15:13:21 +01:00
  • 074451cec2 removed ignored files Bronku 2025-01-29 19:06:17 +01:00
  • 93ca9d278e complete dropdown Bronku 2025-01-29 19:04:08 +01:00
  • 2fde5056a0 dropdown Bronku 2025-01-29 17:14:23 +01:00
  • 1517b2eaf4 organization Bronku 2025-01-29 11:13:59 +01:00
  • 8c3611e859 controller Bronku 2025-01-29 10:26:36 +01:00