Files
fizzy/app/models
Rob Zolkos 6a71856b3d Add JSON activities API endpoint (#2783)
* Add JSON events API endpoint

* Add regression test for event particulars defaults

* Move JSON events API to a dedicated ActivitiesController

The events endpoint served both the HTML day timeline and the JSON API
feed, but the two paths shared no data or behavior — the HTML side uses
DayTimelinesScoped while the JSON side built its own query. Splitting
into ActivitiesController gives the API its own home at
GET /:account/activities.json without dragging in the timeline
before_actions.

Also preloads comment creator in Event.preloaded to avoid an N+1 when
rendering comment eventables in the JSON feed.
2026-04-08 08:39:36 -04:00
..
2026-04-06 10:04:24 +01:00
2026-02-17 13:57:24 +01:00
2025-12-11 10:25:34 +01:00
2026-03-18 11:51:10 +01:00
2025-12-09 20:24:09 -05:00
2026-04-06 10:04:24 +01:00
2026-04-06 10:04:24 +01:00
2026-04-06 10:04:24 +01:00
2026-04-06 10:04:24 +01:00
2025-12-16 16:44:20 +01:00
2025-12-16 13:36:40 +01:00
2026-02-02 13:38:34 +01:00
2026-04-06 10:04:24 +01:00
2026-04-06 10:04:24 +01:00
2025-07-21 20:11:03 -05:00
2025-11-17 09:11:36 -05:00
2025-11-17 09:12:40 -05:00
2026-01-15 23:22:21 -05:00