Commit Graph
192 Commits
Author SHA1 Message Date
ai-bot 36a6d13e20 Read the NOK paid for a buy from leg_out_ore, as the schema requires 2026-11-14 16:10:58 +00:00
ai-bot 643aa151aa Record steps 15 and 16 in the progress list 2026-11-14 14:30:35 +00:00
ai-bot 05dd8cbbc8 Use the returned market id for the dependant account 2026-11-14 14:30:31 +00:00
ai-bot 0fecd5250c Add tests/test_tax.py for the year report of spec section 6 2026-11-14 14:30:24 +00:00
ai-bot 88b60de2bd Add tests/test_ledger.py for the lot ledger of spec section 5 2026-11-14 14:30:13 +00:00
ai-bot 83ed331018 Add the tests package marker 2026-11-14 14:30:02 +00:00
ai-bot 1e5c9f199d Mark steps 15 and 16 as next, not done 2026-11-14 12:23:04 +00:00
ai-bot b17d0b03e9 Record steps 8 to 14 in the progress list 2026-11-14 12:23:01 +00:00
ai-bot 7c8b6b78ed Parse the already-read body in _json_body 2026-11-14 12:22:43 +00:00
ai-bot 6315c49a4e Read the request body once so keep-alive stays in step 2026-11-14 12:22:41 +00:00
ai-bot 2eb385b97f Add the year report and CSV export handlers 2026-11-14 12:22:31 +00:00
ai-bot c222c1bd02 Skip the JSON reply when a handler already sent one 2026-11-14 12:22:28 +00:00
ai-bot e10e76cf4e Mark the response as sent in _send_bytes 2026-11-14 12:22:26 +00:00
ai-bot ae69171f05 Let a handler answer with a file instead of JSON 2026-11-14 12:22:23 +00:00
ai-bot 02d2e7494e Add the report routes to the route table 2026-11-14 12:22:20 +00:00
ai-bot c7bcc54154 Add the handlers for markets, transactions, lots, prices and settings 2026-11-14 12:22:14 +00:00
ai-bot 2b77512ff0 Add the shared query helpers for the data routes 2026-11-14 12:22:04 +00:00
ai-bot a2d615245c Add the data routes to the route table 2026-11-14 12:21:58 +00:00
ai-bot 6648fe6cde Add the data routes: markets, transactions, lots, prices and settings 2026-11-14 12:21:55 +00:00
ai-bot 8aa5798cb2 Add ledger.sats_on_hand for the current balance per account 2026-11-14 12:21:52 +00:00
ai-bot 165c600529 Add app.py server core with static pages, sessions and the auth routes 2026-11-14 12:21:14 +00:00
ai-bot 5d8b89446c Add maintenance.py with set-admin-password and delete-all-data 2026-11-14 12:17:00 +00:00
ai-bot e3575ea4c6 Add auth.reset_password for the StartOS set-admin-password action 2026-11-14 12:16:56 +00:00
ai-bot cb3c2d7379 Add export.py with the semicolon CSV report and transaction blocks 2026-11-14 12:16:41 +00:00
ai-bot 0ee6161440 Only count informational realizations in the per-account figures 2026-11-14 12:16:17 +00:00
ai-bot 15ca6c3bf0 Fix the taxable and informational split in the year report 2026-11-14 12:16:15 +00:00
ai-bot dd2052e43b Add tax.py with the year report of spec section 6 2026-11-14 12:16:08 +00:00
ai-bot ea25da1d63 Add ledger.py with lots, consumption, holdings and rebuild 2026-11-14 12:15:23 +00:00
ai-bot 961edec209 Use group_int in ore_to_nok 2026-11-14 12:15:09 +00:00
ai-bot 9902d38b1e Expose rates.group_int for space-grouped integers 2026-11-14 12:15:06 +00:00
ai-bot f7106e8132 Make connect() apply the schema and seed the defaults for a fresh database 2026-11-14 12:05:20 +00:00
ai-bot ceec94c1fc Record the finished Phase A steps in docs/TODO.md 2026-11-14 12:04:58 +00:00
ai-bot 2458cc0116 Add validation.py with Nynorsk field rules for every transaction type 2026-11-14 12:04:45 +00:00
ai-bot 256d200135 Add auth.py with PBKDF2 admin account and hashed sessions 2026-11-14 12:03:54 +00:00
ai-bot ba7e47768e Add rates.py with year-end rates and money conversion helpers 2026-11-14 12:03:37 +00:00
ai-bot 3d06beb53a Add database.py with connection, schema application and default seeding 2026-11-14 12:03:26 +00:00
ai-bot 8ad8cc506c Add schema.sql with the DDL from docs/spec.md section 4 2026-11-14 12:03:15 +00:00
ai-bot 60c5669915 Add .gitignore for Python, database and packaging artefacts 2026-11-14 12:03:08 +00:00
ai-bot 851ac27e60 Add GPL-3.0 license text with the owner's copyright line 2026-11-14 11:57:38 +00:00
ai-bot 42dfeb1b8b docs: add coding agent prompt 2026-11-14 11:53:46 +00:00
ai-bot 7ddf732952 docs: add Skuld work plan 2026-11-14 11:53:36 +00:00
ai-bot 56a613eaba docs: add Skuld specification and handover 2026-11-14 11:52:48 +00:00