mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
* [Chat] Render cockatrice://joingame links in chat as clickable buttons Words starting with cockatrice:// become button-style anchors labelled with the game description, id and server (falling back to id + server for links built without a description). The description is spliced via the multi-arg arg() overloads so a title containing "%…" cannot corrupt the label. Keyboard link access is enabled so the anchors are reachable without a mouse. * [Chat] Fix percent-encoding and scheme gating in game-link chat labels Game descriptions containing '%' were rendered as '%25' in the chat button label because QUrlQuery's default decode leaves %25 untouched. Use QUrl::FullyDecoded for the description item, and restrict the invite-button treatment to cockatrice://joingame links; any other cockatrice:// scheme now falls through to plain text. --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> |
||
|---|---|---|
| .. | ||
| card_picture_loader | ||
| deck_loader | ||
| intents | ||
| layouts | ||
| palette_editor | ||
| widgets | ||
| key_signals.cpp | ||
| key_signals.h | ||
| logger.cpp | ||
| logger.h | ||
| pixel_map_generator.cpp | ||
| pixel_map_generator.h | ||
| theme_config.cpp | ||
| theme_config.h | ||
| theme_manager.cpp | ||
| theme_manager.h | ||
| window_main.cpp | ||
| window_main.h | ||