Commit Graph

8 Commits

Author SHA1 Message Date
Rosa Gutierrez 832e63f99a Keep URLs in webhook events absolute
Follow-up to #2318

These are sent to other apps, so they need to be absolute. I changed
this too eagerly when I was moving calls to `polymorphic_url`.
2026-01-14 21:15:42 +01:00
Rosa Gutierrez 527ffc42b9 Use relative URLs where possible across all the app
Skipping API responses, where we need absolute URLs, and those that are
intended for sharing or external use:

- account/join_codes/show.html.erb - Join code URL for sharing
- boards/edit/_publication.html.erb - Publication URL for sharing
- public/* views - Public page URLs and og:url meta tags
- pwa/manifest.json.erb - PWA manifest needs absolute URLs

For this, we had to replace `url_for` used with Active Storage variants
and previews with the specific path helper (for Active Storage
representations).
2026-01-14 11:01:42 +01:00
Jorge Manrubia c926d7ad6c Extract description object to remove the helper salad
Lots of repetition with the helpers and params
2025-11-06 10:56:07 +01:00
Fernando Olivares de0ae43dcd Use event action sentence text in webhook 2025-11-05 19:58:35 -06:00
Jason Zimdars 79d0babe81 No need for emdash 2025-10-28 15:38:10 -05:00
Jason Zimdars 4fc61a5000 Tighter linking 2025-10-16 19:46:16 -05:00
Stanko K.R. f020d377f3 Use polymorphic_url instead of path 2025-09-17 14:05:43 +02:00
Stanko K.R. 2fc9215b1d Add support for Basecamp, Campfire & Slack webhooks 2025-09-16 20:04:20 +02:00