Commit graph catcrafts.net/shared/interfaces/Catcrafts.Shared-Model.cppm
Author SHA1 Message Date
dead3ed0cc
bank: the order page offers a payto link and quotes one reference
The bank-transfer block on the order page now gives two ways to pay.
First a payto link (RFC 8905) that hands the IBAN, the amount, the
account-holder name and the order code to a payment app in one go, then
"Or do a manual transfer" with the same details as before.

The manual details list the order code as the Description and nothing
else. The page used to print the structured RF reference as well, with
a paragraph on which code goes in which field, and that read as two
codes for one payment. Matching never needed the RF form: the matcher
finds the CC- code anywhere in the remittance text, the RF form
included. OrderCryptoPay::structuredReference, which only fed that row,
is gone; CreditorReferenceFromToken stays, with its unit test.

The link is built in the view from the very values the manual details
print, so the two cannot disagree. Url() now lets payto: through, like
ethereum:, and the name is percent-encoded because Url() strips spaces.
ShouldSettleBankTransfers asserts the whole link, including that its
message is the reference the matcher looks for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 15:33:50 +01:00
25805a093a removed fp6 from shop
All checks were successful
Deploy / build-deploy (push) Successful in 9m28s
2026-09-05 18:38:39 +02:00
df91762271 Replaced mollie
All checks were successful
Deploy / build-deploy (push) Successful in 3m47s
2026-08-20 20:15:47 +02:00
1a38cfe5d7 crypto payment message
All checks were successful
Deploy / build-deploy (push) Successful in 3m13s
2026-08-20 02:50:28 +02:00
593bdb17d4 112 tested
All checks were successful
Deploy / build-deploy (push) Successful in 3m21s
2026-08-18 14:52:49 +02:00
abbd616b40 donation item, shop soft open
All checks were successful
Deploy / build-deploy (push) Successful in 4m11s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 11:04:03 +02:00
749f525f83 tests and eurc
All checks were successful
Deploy / build-deploy (push) Successful in 4m19s
2026-08-15 00:54:05 +02:00
33c68c2f44 financial page with bank data
All checks were successful
Deploy / build-deploy (push) Successful in 1m48s
2026-08-14 04:14:13 +02:00
e68d2c245c finacial page
All checks were successful
Deploy / build-deploy (push) Successful in 2m20s
2026-08-14 02:50:58 +02:00
70668af8f5 coingate
All checks were successful
Deploy / build-deploy (push) Successful in 3m10s
2026-08-13 23:34:19 +02:00
6841623e23 posts and avif
Some checks failed
Deploy / build-deploy (push) Failing after 5m49s
2026-08-10 01:37:26 +02:00
a625176c7d media: H.264 fallback beside every AV1, and the post links the H.264
All checks were successful
Deploy / build-deploy (push) Successful in 7m30s
The AV1-only publish lasted four hours in the wild: the first viewer on
mobile Safari got "bad media error" from the raw file, because a post's
link is fetched raw — Lemmy apps and browsers play that exact URL, with
no <source> negotiation in front of it. The previous commit's note
("--raw ... if that audience matters") had it backwards: the audience
that cannot play AV1 is not a per-post judgement call, it is whoever
happens to open the thread on an iPhone.

So publish-media.sh now emits two encodings and points the post at the
compatible one:

  * Every video transcode also produces <hash>.h264.mp4 (x264 crf 23,
    same denoise, same frames), uploaded beside the AV1 under the AV1's
    hash — the poster's sibling-naming trick, reused, so fetch-media.sh
    finds it by name with nothing to look up.
  * The printed URL to paste into the post is the H.264 one. pict-rs
    can thumbnail it too, so instance thumbnails come back as a bonus.

fetch-media.sh adopting an own-origin .h264.mp4 URL swaps the AV1 back
in as the page's primary when it is on the mount, and records the H.264
as `fallback` in posts.json. The renderer turns a non-empty fallback
into a <source> pair: the AV1 first with an explicit codecs parameter —
both files are video/mp4, so the parameter is the only thing that lets
a non-AV1 browser skip to the file it can play — and the H.264 second.
Browsers with AV1 keep downloading the small file; Safari before 17
gets one that plays instead of an element that will not.

e2e gains the matching conditional gate: a page offering an av01
<source> must offer an .h264.mp4 one, so an AV1 video can never again
ship without its fallback.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 03:14:51 +02:00
fca089c20d SEO
Some checks failed
Deploy / build-deploy (push) Failing after 7m0s
2026-08-06 23:42:25 +02:00
b49042a626 new logo
All checks were successful
Deploy / build-deploy (push) Successful in 5m32s
2026-08-05 23:52:40 +02:00
cc02023625 about page
All checks were successful
Deploy / build-deploy (push) Successful in 4m46s
2026-08-05 07:05:00 +02:00
934c94cb5c rewrite
Some checks failed
Deploy / build-deploy (push) Failing after 4m56s
2026-08-05 04:18:37 +02:00