asxpio/test
Sergei Poljanski 26e862ff04
bingo: ping IndexNow when the card changes
A newly recorded incident only showed up in search once a crawler
happened to come back. IndexNow lets Bing, Yandex and the other
participating engines know about changed URLs right away.

Bingo::IndexNow posts the card URLs plus the affected datacenter pages
to api.indexnow.org, in a background thread so admin saves don't wait.
Incidents ping their datacenter. Edits ping the datacenter, or every
page when positions move (create, delete, reorder, sort). A deleted
datacenter's pages are included so the engines see the 404. BingoWeb
serves the key at /<key>.txt.

The key comes from the INDEXNOW Forgejo secret, written to .env as
INDEXNOW_KEY. With no key set this does nothing.

Assisted-by: Claude:opus-5
2026-10-10 09:42:46 +04:00
..
admin_acl_test.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
admin_auth_test.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
app_test.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
bingo_test.rb bingo: ping IndexNow when the card changes 2026-10-10 09:42:46 +04:00
crypto_test.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
fmt_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
invoice_cancel_test.rb invoices: fix 500 on the admin invoice page 2026-10-10 08:47:23 +04:00
invoice_stats_test.rb invoices: statistics page 2026-10-10 09:12:21 +04:00
invoice_test.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
payout_address_test.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
rate_limit_test.rb tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
templates_test.rb invoices: fix 500 on the admin invoice page 2026-10-10 08:47:23 +04:00
test_helper.rb admin: user accounts and session login 2026-10-10 08:25:46 +04:00
users_admin_test.rb admin: fix the new-user username placeholder 2026-10-10 09:17:39 +04:00