Commit Graph

  • accc235022 Strip every accepted thousands separator ai-bot 2026-11-14 17:55:37 +00:00
  • 4743353d40 Replace parse_btc_to_sats and ore_to_nok with whole-number variants ai-bot 2026-11-14 17:55:34 +00:00
  • dd7d669a6c Add the admin_cost and no-fee CHECK constraints ai-bot 2026-11-14 17:51:04 +00:00
  • c875be4a51 Let market_id be null for admin_cost and add the two CHECK constraints ai-bot 2026-11-14 17:51:01 +00:00
  • 54184c6a5f docs: add the coder prompt for the correction phase ai-bot 2026-11-14 17:46:41 +00:00
  • d972896e1a docs: mark phases A and B done, add correction phase before the packaging ai-bot 2026-11-14 17:46:33 +00:00
  • fb1a219984 Patch docs/spec.md ai-bot 2026-11-14 17:45:34 +00:00
  • 6993f9b0b7 Patch docs/spec.md ai-bot 2026-11-14 17:45:31 +00:00
  • a17e3c3225 Patch docs/spec.md ai-bot 2026-11-14 17:45:27 +00:00
  • c420052d80 Patch docs/spec.md ai-bot 2026-11-14 17:45:23 +00:00
  • cdd5dd308e Patch docs/spec.md ai-bot 2026-11-14 17:45:19 +00:00
  • ad683e5d88 Patch docs/spec.md ai-bot 2026-11-14 17:45:16 +00:00
  • f104a71fb5 Patch docs/spec.md ai-bot 2026-11-14 17:45:13 +00:00
  • b74d9c68d2 Patch docs/spec.md ai-bot 2026-11-14 17:45:10 +00:00
  • 727e89c42e Patch docs/spec.md ai-bot 2026-11-14 17:45:08 +00:00
  • 936046ab11 Patch docs/spec.md ai-bot 2026-11-14 17:45:05 +00:00
  • 0465f9cddc Patch docs/spec.md ai-bot 2026-11-14 17:45:02 +00:00
  • e984366375 Patch docs/spec.md ai-bot 2026-11-14 17:45:00 +00:00
  • 2979d082a3 Patch docs/spec.md ai-bot 2026-11-14 17:44:56 +00:00
  • 97221eab2a Patch docs/spec.md ai-bot 2026-11-14 17:44:53 +00:00
  • 4bc0b0d01d Give the value and destination fields the group attribute the script needs ai-bot 2026-11-14 16:30:44 +00:00
  • f25e674977 Record the finished Phase B steps ai-bot 2026-11-14 16:19:24 +00:00
  • 1b4904151a Serve every page script, not only the shared assets ai-bot 2026-11-14 16:19:19 +00:00
  • cb8ace5ec6 Add static/settings.js for the settings, rates and password forms ai-bot 2026-11-14 16:19:12 +00:00
  • 966ccf9e54 Add static/settings.html with the settings, rates and password forms ai-bot 2026-11-14 16:19:04 +00:00
  • b6b82a54ba Allow a wealth tax threshold of zero ai-bot 2026-11-14 16:18:55 +00:00
  • 7a0423307a Add static/report.js for the year report ai-bot 2026-11-14 16:18:35 +00:00
  • 88ed506bef Add static/report.html with the year report ai-bot 2026-11-14 16:18:28 +00:00
  • 9f83b86389 Add static/markets.js for the account admin ai-bot 2026-11-14 16:18:15 +00:00
  • 9b2f649103 Add static/markets.html with the account admin ai-bot 2026-11-14 16:18:08 +00:00
  • ba4176bbcf Add static/transaction.js with the form logic and lot picker ai-bot 2026-11-14 16:17:58 +00:00
  • 877d06cfdc Add static/transaction.html with the transaction form ai-bot 2026-11-14 16:17:42 +00:00
  • 3081d67f11 Add static/transactions.js for the filterable list ai-bot 2026-11-14 16:17:06 +00:00
  • 527c980f18 Add static/transactions.html with the filterable list ai-bot 2026-11-14 16:17:00 +00:00
  • 8eb63ac194 Export the type labels ai-bot 2026-11-14 16:16:55 +00:00
  • 6d9434adfd Add the Nynorsk labels for the transaction types ai-bot 2026-11-14 16:16:52 +00:00
  • fd7db19b65 Add static/index.js for the main sheet ai-bot 2026-11-14 16:16:39 +00:00
  • 6a0e6a1c4d Export satsOnlyRow from Skuld ai-bot 2026-11-14 16:16:34 +00:00
  • 62c4d9d63c Bind the logout link and export satsOnlyRow ai-bot 2026-11-14 16:16:32 +00:00
  • f59311410f Add a shared sats-only row renderer and a global logout binding ai-bot 2026-11-14 16:16:29 +00:00
  • d727de9414 Add static/index.html with the main sheet ai-bot 2026-11-14 16:16:25 +00:00
  • 2d2af77286 Add static/login.js for the sign-in and create-admin flow ai-bot 2026-11-14 16:16:09 +00:00
  • e0af0e1226 Add static/login.html with the sign-in and create-admin forms ai-bot 2026-11-14 16:16:04 +00:00
  • 02b23a90bb Add static/app.js with the shared API, formatting and page helpers ai-bot 2026-11-14 16:15:48 +00:00
  • 01e61d7995 Add static/session.js to add the CSRF header and handle 401 ai-bot 2026-11-14 16:15:25 +00:00
  • 7dad6e054d Add static/style.css with the layout, sheet, form and print styles ai-bot 2026-11-14 16:15:15 +00:00
  • 3304bad670 Record the buy consumption fix ai-bot 2026-11-14 16:13:57 +00:00
  • 9d55ee40f9 Assert the buy kept its sats, so only the sale consumed ai-bot 2026-11-14 16:13:54 +00:00
  • 13939d67d3 A buy consumes no sats; only its sats fee lowers what arrives ai-bot 2026-11-14 16:13:51 +00:00
  • 1779fc470b Record the one-currency-per-leg decision ai-bot 2026-11-14 16:11:39 +00:00
  • 3e942c16dd Fix the buys in the fee test ai-bot 2026-11-14 16:11:26 +00:00
  • bd145f8d8a Fix the buys in the custody totals test ai-bot 2026-11-14 16:11:23 +00:00
  • b9099cb522 Fix the buys in the non-taxable test ai-bot 2026-11-14 16:11:20 +00:00
  • b364d81c6e Fix the golden example: a buy carries the NOK on leg_out_ore ai-bot 2026-11-14 16:11:17 +00:00
  • bcacf5c201 Fix the buy in the transfer test ai-bot 2026-11-14 16:11:13 +00:00
  • b7b3daf9b0 Fix the buys in the shortfall and transfer tests ai-bot 2026-11-14 16:11:10 +00:00
  • a0714abcf2 Fix the buys in the three-lot and hand-picked tests ai-bot 2026-11-14 16:11:08 +00:00
  • 731ebde801 Fix the buy in the partial consumption test ai-bot 2026-11-14 16:11:05 +00:00
  • 533a2af89d Fix the golden example: a buy carries the NOK on leg_out_ore ai-bot 2026-11-14 16:11:02 +00:00
  • 36a6d13e20 Read the NOK paid for a buy from leg_out_ore, as the schema requires ai-bot 2026-11-14 16:10:58 +00:00
  • 643aa151aa Record steps 15 and 16 in the progress list ai-bot 2026-11-14 14:30:35 +00:00
  • 05dd8cbbc8 Use the returned market id for the dependant account ai-bot 2026-11-14 14:30:31 +00:00
  • 0fecd5250c Add tests/test_tax.py for the year report of spec section 6 ai-bot 2026-11-14 14:30:24 +00:00
  • 88b60de2bd Add tests/test_ledger.py for the lot ledger of spec section 5 ai-bot 2026-11-14 14:30:13 +00:00
  • 83ed331018 Add the tests package marker ai-bot 2026-11-14 14:30:02 +00:00
  • 1e5c9f199d Mark steps 15 and 16 as next, not done ai-bot 2026-11-14 12:23:04 +00:00
  • b17d0b03e9 Record steps 8 to 14 in the progress list ai-bot 2026-11-14 12:23:01 +00:00
  • 7c8b6b78ed Parse the already-read body in _json_body ai-bot 2026-11-14 12:22:43 +00:00
  • 6315c49a4e Read the request body once so keep-alive stays in step ai-bot 2026-11-14 12:22:41 +00:00
  • 2eb385b97f Add the year report and CSV export handlers ai-bot 2026-11-14 12:22:31 +00:00
  • c222c1bd02 Skip the JSON reply when a handler already sent one ai-bot 2026-11-14 12:22:28 +00:00
  • e10e76cf4e Mark the response as sent in _send_bytes ai-bot 2026-11-14 12:22:26 +00:00
  • ae69171f05 Let a handler answer with a file instead of JSON ai-bot 2026-11-14 12:22:23 +00:00
  • 02d2e7494e Add the report routes to the route table ai-bot 2026-11-14 12:22:20 +00:00
  • c7bcc54154 Add the handlers for markets, transactions, lots, prices and settings ai-bot 2026-11-14 12:22:14 +00:00
  • 2b77512ff0 Add the shared query helpers for the data routes ai-bot 2026-11-14 12:22:04 +00:00
  • a2d615245c Add the data routes to the route table ai-bot 2026-11-14 12:21:58 +00:00
  • 6648fe6cde Add the data routes: markets, transactions, lots, prices and settings ai-bot 2026-11-14 12:21:55 +00:00
  • 8aa5798cb2 Add ledger.sats_on_hand for the current balance per account ai-bot 2026-11-14 12:21:52 +00:00
  • 165c600529 Add app.py server core with static pages, sessions and the auth routes ai-bot 2026-11-14 12:21:14 +00:00
  • 5d8b89446c Add maintenance.py with set-admin-password and delete-all-data ai-bot 2026-11-14 12:17:00 +00:00
  • e3575ea4c6 Add auth.reset_password for the StartOS set-admin-password action ai-bot 2026-11-14 12:16:56 +00:00
  • cb3c2d7379 Add export.py with the semicolon CSV report and transaction blocks ai-bot 2026-11-14 12:16:41 +00:00
  • 0ee6161440 Only count informational realizations in the per-account figures ai-bot 2026-11-14 12:16:17 +00:00
  • 15ca6c3bf0 Fix the taxable and informational split in the year report ai-bot 2026-11-14 12:16:15 +00:00
  • dd2052e43b Add tax.py with the year report of spec section 6 ai-bot 2026-11-14 12:16:08 +00:00
  • ea25da1d63 Add ledger.py with lots, consumption, holdings and rebuild ai-bot 2026-11-14 12:15:23 +00:00
  • 961edec209 Use group_int in ore_to_nok ai-bot 2026-11-14 12:15:09 +00:00
  • 9902d38b1e Expose rates.group_int for space-grouped integers ai-bot 2026-11-14 12:15:06 +00:00
  • f7106e8132 Make connect() apply the schema and seed the defaults for a fresh database ai-bot 2026-11-14 12:05:20 +00:00
  • ceec94c1fc Record the finished Phase A steps in docs/TODO.md ai-bot 2026-11-14 12:04:58 +00:00
  • 2458cc0116 Add validation.py with Nynorsk field rules for every transaction type ai-bot 2026-11-14 12:04:45 +00:00
  • 256d200135 Add auth.py with PBKDF2 admin account and hashed sessions ai-bot 2026-11-14 12:03:54 +00:00
  • ba7e47768e Add rates.py with year-end rates and money conversion helpers ai-bot 2026-11-14 12:03:37 +00:00
  • 3d06beb53a Add database.py with connection, schema application and default seeding ai-bot 2026-11-14 12:03:26 +00:00
  • 8ad8cc506c Add schema.sql with the DDL from docs/spec.md section 4 ai-bot 2026-11-14 12:03:15 +00:00
  • 60c5669915 Add .gitignore for Python, database and packaging artefacts ai-bot 2026-11-14 12:03:08 +00:00
  • 851ac27e60 Add GPL-3.0 license text with the owner's copyright line ai-bot 2026-11-14 11:57:38 +00:00
  • 42dfeb1b8b docs: add coding agent prompt ai-bot 2026-11-14 11:53:46 +00:00
  • 7ddf732952 docs: add Skuld work plan ai-bot 2026-11-14 11:53:36 +00:00