summaryrefslogtreecommitdiff
path: root/src/conversation/history.rs
Commit message (Collapse)AuthorAge
* Store `Conversation` instances using their events.Owen Jacobson2025-08-26
| | | | This replaces the approach of having the repo type know about conversation lifecycle in detail. Instead, the repo type accepts events and applies them to the DB blindly. The SQL written to implement each event does, however, embed assumptions about what order events will happen in.
* Allow callers to pass `Instant`s to `Sequence` predicate constructors.Owen Jacobson2025-08-26
|
* Collapse redundant "deleted_at" timestaps and "deleted" event instants.Owen Jacobson2025-08-24
| | | | These were separated as there wasn't an obvious way to serialize two fields with the same _type_ with different _prefixes_. Turns out this is a common problem, and someone's written a crate for it that remaps the names for you.
* Rename "channel" to "conversation" within the server.Owen Jacobson2025-07-03
I've split this from the schema and API changes because, frankly, it's huge. Annoyingly so. There are no semantic changes in this, it's all symbol changes, but there are a _lot_ of them because the term "channel" leaks all over everything in a service whose primary role is managing messages sent to channels (now, conversations). I found a buggy test while working on this! It's not fixed in this commit, because it felt mean to hide a real change in the middle of this much chaff.