Default crypto payout addresses lived in the CRYPTO_ADDRESSES and LTC_ADDRESS Forgejo secrets, so changing one meant editing a secret and redeploying. Keep them in a payout_addresses table edited at /admin/invoices/payout-addresses (read to view, write to change, every change audited), and prefill the new-invoice form from it. The old env values are imported once on the first boot with an empty table, so the current addresses carry over; after that the secrets can be removed. Assisted-by: Claude:opus-5 |
||
|---|---|---|
| .. | ||
| admin_acl_test.rb | ||
| admin_auth_test.rb | ||
| app_test.rb | ||
| bingo_test.rb | ||
| crypto_test.rb | ||
| fmt_test.rb | ||
| invoice_cancel_test.rb | ||
| invoice_test.rb | ||
| payout_address_test.rb | ||
| rate_limit_test.rb | ||
| test_helper.rb | ||
| users_admin_test.rb | ||