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 |
||
|---|---|---|
| .. | ||
| 001_invoices.rb | ||
| 002_invoice_ltc.rb | ||
| 003_invoice_crypto.rb | ||
| 004_bingo.rb | ||
| 005_bingo_photo_variants.rb | ||
| 006_bingo_mw_type.rb | ||
| 007_users.rb | ||
| 008_user_tokens_audit.rb | ||
| 009_invoice_cancel_hide.rb | ||
| 010_payout_addresses.rb | ||