asxpio/lib
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.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
admin_auth.rb admin: user management, invites, password reset, audit log 2026-10-10 08:31:42 +04:00
audit.rb admin: user management, invites, password reset, audit log 2026-10-10 08:31:42 +04:00
bingo.rb bingo: ping IndexNow when the card changes 2026-10-10 09:42:46 +04:00
bingo_admin.rb bingo: ping IndexNow when the card changes 2026-10-10 09:42:46 +04:00
crypto_asset.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
crypto_qr.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
crypto_rate.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
db.rb admin: user management, invites, password reset, audit log 2026-10-10 08:31:42 +04:00
fmt.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
gel_rate.rb nbg and auto fill GEL exchange rate 2026-06-08 19:29:25 +03:00
invoice.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
invoice_pdf.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
invoice_stats.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
mailer.rb mailer: send account emails as "asxp.io admin" 2026-10-10 08:50:30 +04:00
payout_address.rb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
rate_limit.rb rate limit: prune stale keys so @hits cannot grow unbounded 2026-07-02 17:31:19 +04:00
s3.rb bingo: fix photo rebuild on UTF-8 tagged S3 bodies 2026-10-10 06:32:06 +04:00
user.rb admin: user management, invites, password reset, audit log 2026-10-10 08:31:42 +04:00
users_admin.rb admin: invite links without a username 2026-10-10 09:12:21 +04:00