Commit Graph
100 Commits
Author SHA1 Message Date
ai-bot da86b173ad Name the lot price column Bitcoin pris 2026-11-14 18:21:35 +00:00
ai-bot 8719ed2d46 Render the price cell and leave Konto empty without an account 2026-11-14 18:21:21 +00:00
ai-bot 645fe4e558 Show the price column and sats amounts in the list 2026-11-14 18:21:17 +00:00
ai-bot 840c7b5cb4 Add the Pris column between Til konto and Inn 2026-11-14 18:21:13 +00:00
ai-bot 2bc257004d Take sats as whole numbers in the browser too 2026-11-14 18:20:51 +00:00
ai-bot d12df91acc Print kroner whole and sats as whole numbers 2026-11-14 18:20:47 +00:00
ai-bot 2244a69ffc Accept every thousands separator the server accepts 2026-11-14 18:20:43 +00:00
ai-bot f62a90951c Show sats and whole kroner in the shared formatters 2026-11-14 18:20:39 +00:00
ai-bot 03547c2916 Cover the admin cost totals and the bitcoin price 2026-11-14 18:19:27 +00:00
ai-bot 4bd4e155bc Cover the lot price field and that admin_cost touches no lots 2026-11-14 18:19:02 +00:00
ai-bot 0d50f61fad Reject lot picks for admin_cost, which touches no lots 2026-11-14 18:03:32 +00:00
ai-bot 597b6abc77 List transactions without an account too, with their price 2026-11-14 18:03:28 +00:00
ai-bot b59cc286af Keep transactions without an account and add their bitcoin price 2026-11-14 18:03:24 +00:00
ai-bot 6b79452e95 Export sats and whole kroner, and add the price column 2026-11-14 18:03:10 +00:00
ai-bot 4b28cd100a Report the admin cost in sats next to the kroner figure 2026-11-14 18:02:33 +00:00
ai-bot 2c6237b862 Convert the admin cost sats to kroner only when the deduction is on 2026-11-14 18:02:29 +00:00
ai-bot 79aafdf607 Count admin_cost from its own flag and in sats 2026-11-14 18:02:25 +00:00
ai-bot 9cbd528bdb Add tax.btc_price_ore for the transaction price of section 7.3 2026-11-14 18:02:21 +00:00
ai-bot 350d37fe92 Name the lot price field btc_price_ore 2026-11-14 18:01:48 +00:00
ai-bot 835505e1e7 admin_cost consumes no lots, so it is not a consuming type 2026-11-14 18:01:44 +00:00
ai-bot 7b66bc1650 Run the admin_cost check before the shared type rules 2026-11-14 18:01:29 +00:00
ai-bot fbfbbd168e Let admin_cost have no account and check the type rules in order 2026-11-14 18:01:26 +00:00
ai-bot e6b07afd2a Require the sats leg of an admin_cost and reject a kroner leg 2026-11-14 18:01:22 +00:00
ai-bot 041e36de49 admin_cost takes sats only, never kroner 2026-11-14 18:01:18 +00:00
ai-bot d85e348737 Make admin_cost a sats-only type with its own required field 2026-11-14 18:01:15 +00:00
ai-bot d89b474eda Take sats as whole numbers in validate_sats 2026-11-14 18:01:12 +00:00
ai-bot a016d31cc5 Take sats as whole numbers and drop sats_to_btc 2026-11-14 17:55:44 +00:00
ai-bot b044b0b5ad Rename ore_to_nok to kroner_whole and print whole kroner 2026-11-14 17:55:40 +00:00
ai-bot accc235022 Strip every accepted thousands separator 2026-11-14 17:55:37 +00:00
ai-bot 4743353d40 Replace parse_btc_to_sats and ore_to_nok with whole-number variants 2026-11-14 17:55:34 +00:00
ai-bot dd7d669a6c Add the admin_cost and no-fee CHECK constraints 2026-11-14 17:51:04 +00:00
ai-bot c875be4a51 Let market_id be null for admin_cost and add the two CHECK constraints 2026-11-14 17:51:01 +00:00
ai-bot 54184c6a5f docs: add the coder prompt for the correction phase 2026-11-14 17:46:41 +00:00
ai-bot d972896e1a docs: mark phases A and B done, add correction phase before the packaging 2026-11-14 17:46:33 +00:00
ai-bot fb1a219984 Patch docs/spec.md 2026-11-14 17:45:34 +00:00
ai-bot 6993f9b0b7 Patch docs/spec.md 2026-11-14 17:45:31 +00:00
ai-bot a17e3c3225 Patch docs/spec.md 2026-11-14 17:45:27 +00:00
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