Commit Graph

24 Commits (137adef6e061a1d7d7fc704feac27ebf5319a768)

Author SHA1 Message Date
lain 00748e9650 ChatMessageReferences: Change seen -> unread
4 years ago
lain b3407344d3 ChatController: Add function to mark single message as read.
4 years ago
lain 7f5c5b11a5 Chats: Remove `unread` from the db, calculate from unseen messages.
4 years ago
lain aa22fce8f4 ChatMessageReference: Introduce and switch in chat controller.
4 years ago
lain 0f0acc740d Chat: Allow posting without content if an attachment is present.
4 years ago
lain c0ea5c60e4 ChatController: Don't return chats for user you've blocked.
4 years ago
lain e44166b510 Credo fixes.
4 years ago
lain ec72cba43e Chat Controller: Add basic error handling.
4 years ago
lain b5aa204eb8 ChatController: Support deletion of chat messages.
4 years ago
lain 8d5597ff68 ChatController: Add GET /chats/:id
4 years ago
lain fc9d0b6eec Credo fixes.
4 years ago
lain 20baa2eaf0 ChatMessages: Add attachments.
4 years ago
lain b04328c3de ChatController: Add mark_as_read
4 years ago
lain ad82a216ff Chat API: Align more to Pleroma/Mastodon API.
4 years ago
lain d2bbea1a80 ChatControllerTest: Use new schema testing functions.
4 years ago
lain 6c8390fa4d ChatControllerTest: Credo fixes.
4 years ago
lain 66c2eb670b ChatController: Validate parameters.
4 years ago
lain 97ad0c4597 Chats: Add API specs.
4 years ago
lain d45ae64858 ChatController: Use OAuth scopes.
4 years ago
lain f8c3ae7a62 ChatController: Handle pagination.
4 years ago
lain 6ace22b56a Chat: Add views, don't return them in timeline queries.
4 years ago
lain 2cc6841424 ChatController: Basic message posting.
5 years ago
lain e8fd0dd689 ChatController: Basic support for returning messages.
5 years ago
lain 68abea313d ChatController: Add creation and return of chats.
5 years ago