Files
fizzy/app/controllers
Jankees van Woezik 78fc80cf35 API: Allow updates to last_active_at (#2076)
* Allow Card#last_updated_at to be set

This is useful when doing an import from another system. I'm currently
working on a script to import our Github issues into Fizzy.

This is discussed in
https://github.com/basecamp/fizzy/pull/2056#discussion_r2609560246

* Add nil fallback and expand test coverage for last_active_at

Adds a safety fallback to Time.current if created_at is unexpectedly nil
during card creation.

Test coverage to verify:
* last_active_at defaults to created_at when not provided
* last_active_at can be updated via API on existing cards
* import workflow where last_active_at is restored after comments
* publishing doesn't overwrite explicit last_active_at values

---------

Co-authored-by: Jeremy Daer <jeremy@37signals.com>
2025-12-11 19:06:03 -08:00
..
2025-12-02 11:18:46 -05:00
2025-12-10 15:05:13 +01:00
2025-09-22 12:55:19 +02:00
2025-12-10 15:13:35 +01:00
2025-11-03 15:27:12 +01:00
2025-12-03 12:18:22 -06:00
2025-11-29 11:46:09 +01:00
2025-12-10 09:23:52 +01:00
2025-11-18 15:48:40 +01:00
2025-12-11 11:20:43 +00:00