Commit Graph
92 Commits
Author SHA1 Message Date
ai-bot c420052d80 Patch docs/spec.md 2026-11-14 17:45:23 +00:00
ai-bot cdd5dd308e Patch docs/spec.md 2026-11-14 17:45:19 +00:00
ai-bot ad683e5d88 Patch docs/spec.md 2026-11-14 17:45:16 +00:00
ai-bot f104a71fb5 Patch docs/spec.md 2026-11-14 17:45:13 +00:00
ai-bot b74d9c68d2 Patch docs/spec.md 2026-11-14 17:45:10 +00:00
ai-bot 727e89c42e Patch docs/spec.md 2026-11-14 17:45:08 +00:00
ai-bot 936046ab11 Patch docs/spec.md 2026-11-14 17:45:05 +00:00
ai-bot 0465f9cddc Patch docs/spec.md 2026-11-14 17:45:02 +00:00
ai-bot e984366375 Patch docs/spec.md 2026-11-14 17:45:00 +00:00
ai-bot 2979d082a3 Patch docs/spec.md 2026-11-14 17:44:56 +00:00
ai-bot 97221eab2a Patch docs/spec.md 2026-11-14 17:44:53 +00:00
ai-bot 4bc0b0d01d Give the value and destination fields the group attribute the script needs 2026-11-14 16:30:44 +00:00
ai-bot f25e674977 Record the finished Phase B steps 2026-11-14 16:19:24 +00:00
ai-bot 1b4904151a Serve every page script, not only the shared assets 2026-11-14 16:19:19 +00:00
ai-bot cb8ace5ec6 Add static/settings.js for the settings, rates and password forms 2026-11-14 16:19:12 +00:00
ai-bot 966ccf9e54 Add static/settings.html with the settings, rates and password forms 2026-11-14 16:19:04 +00:00
ai-bot b6b82a54ba Allow a wealth tax threshold of zero 2026-11-14 16:18:55 +00:00
ai-bot 7a0423307a Add static/report.js for the year report 2026-11-14 16:18:35 +00:00
ai-bot 88ed506bef Add static/report.html with the year report 2026-11-14 16:18:28 +00:00
ai-bot 9f83b86389 Add static/markets.js for the account admin 2026-11-14 16:18:15 +00:00
ai-bot 9b2f649103 Add static/markets.html with the account admin 2026-11-14 16:18:08 +00:00
ai-bot ba4176bbcf Add static/transaction.js with the form logic and lot picker 2026-11-14 16:17:58 +00:00
ai-bot 877d06cfdc Add static/transaction.html with the transaction form 2026-11-14 16:17:42 +00:00
ai-bot 3081d67f11 Add static/transactions.js for the filterable list 2026-11-14 16:17:06 +00:00
ai-bot 527c980f18 Add static/transactions.html with the filterable list 2026-11-14 16:17:00 +00:00
ai-bot 8eb63ac194 Export the type labels 2026-11-14 16:16:55 +00:00
ai-bot 6d9434adfd Add the Nynorsk labels for the transaction types 2026-11-14 16:16:52 +00:00
ai-bot fd7db19b65 Add static/index.js for the main sheet 2026-11-14 16:16:39 +00:00
ai-bot 6a0e6a1c4d Export satsOnlyRow from Skuld 2026-11-14 16:16:34 +00:00
ai-bot 62c4d9d63c Bind the logout link and export satsOnlyRow 2026-11-14 16:16:32 +00:00
ai-bot f59311410f Add a shared sats-only row renderer and a global logout binding 2026-11-14 16:16:29 +00:00
ai-bot d727de9414 Add static/index.html with the main sheet 2026-11-14 16:16:25 +00:00
ai-bot 2d2af77286 Add static/login.js for the sign-in and create-admin flow 2026-11-14 16:16:09 +00:00
ai-bot e0af0e1226 Add static/login.html with the sign-in and create-admin forms 2026-11-14 16:16:04 +00:00
ai-bot 02b23a90bb Add static/app.js with the shared API, formatting and page helpers 2026-11-14 16:15:48 +00:00
ai-bot 01e61d7995 Add static/session.js to add the CSRF header and handle 401 2026-11-14 16:15:25 +00:00
ai-bot 7dad6e054d Add static/style.css with the layout, sheet, form and print styles 2026-11-14 16:15:15 +00:00
ai-bot 3304bad670 Record the buy consumption fix 2026-11-14 16:13:57 +00:00
ai-bot 9d55ee40f9 Assert the buy kept its sats, so only the sale consumed 2026-11-14 16:13:54 +00:00
ai-bot 13939d67d3 A buy consumes no sats; only its sats fee lowers what arrives 2026-11-14 16:13:51 +00:00
ai-bot 1779fc470b Record the one-currency-per-leg decision 2026-11-14 16:11:39 +00:00
ai-bot 3e942c16dd Fix the buys in the fee test 2026-11-14 16:11:26 +00:00
ai-bot bd145f8d8a Fix the buys in the custody totals test 2026-11-14 16:11:23 +00:00
ai-bot b9099cb522 Fix the buys in the non-taxable test 2026-11-14 16:11:20 +00:00
ai-bot b364d81c6e Fix the golden example: a buy carries the NOK on leg_out_ore 2026-11-14 16:11:17 +00:00
ai-bot bcacf5c201 Fix the buy in the transfer test 2026-11-14 16:11:13 +00:00
ai-bot b7b3daf9b0 Fix the buys in the shortfall and transfer tests 2026-11-14 16:11:10 +00:00
ai-bot a0714abcf2 Fix the buys in the three-lot and hand-picked tests 2026-11-14 16:11:08 +00:00
ai-bot 731ebde801 Fix the buy in the partial consumption test 2026-11-14 16:11:05 +00:00
ai-bot 533a2af89d Fix the golden example: a buy carries the NOK on leg_out_ore 2026-11-14 16:11:02 +00:00
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