lain
ca0e6e702b
ChatMessageReference -> Chat.MessageReference
il y a 4 ans
lain
137adef6e0
ChatMessageReference: Use FlakeId.Ecto.Type
No need for compat because this is brand new.
il y a 4 ans
lain
239d03499e
Chat: creation_cng -> changeset
Make our usage of this more uniform.
il y a 4 ans
lain
c5e3f2454c
Docs: Unify parameters in examples.
il y a 4 ans
lain
4e8c0eecd5
WebPush: Don't break on contentless chat messages.
il y a 4 ans
lain
f24d2f714f
Credo fixes
il y a 4 ans
lain
a8ca030d85
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
il y a 4 ans
Haelwenn
657e1583f8
Merge branch 'features/put_if_present' into 'develop'
Create Pleroma.Maps.put_if_present(map, key, value, value_function // &{:ok, &1}) :: map
See merge request pleroma/pleroma!2436
il y a 4 ans
Haelwenn
54bae06b4f
Create Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1})
Unifies all the similar functions to one and simplify some blocks with it.
il y a 4 ans
lain
115d08a754
Pipeline: Add a side effects step after the transaction finishes
This is to run things like streaming notifications out, which will
sometimes need data that is created by the transaction, but is
streamed out asynchronously.
il y a 4 ans
lain
65689ba9bd
If Credo fixes is so good, why is there no Credo fixes 2?
il y a 4 ans
lain
f3ea6ee2c8
Credo fixes.
il y a 4 ans
lain
0efa8aa0b9
Transmogrifier: For follows, create notifications last.
As the notification type changes depending on the follow state,
the notification should not be created and streamed out before the
state settles. For this reason, the notification creation has been
delayed until it's clear if the user has been followed or not.
This is a bit hacky but it will be properly rewritten using the
pipeline soon.
il y a 4 ans
lain
cc8a7dc205
SideEffects / ChatView: Add an unread cache.
This is to prevent wrong values in the stream.
il y a 4 ans
lain
aa2ac76510
Notification: Don't break on figuring out the type of old EmojiReactions
il y a 4 ans
lain
d44da91bbf
SubscriptionOperation: Let chat mentions through.
il y a 4 ans
lain
74edd4f391
Merge branch 'remake-remodel-dms' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
il y a 4 ans
lain
56dfa0e0fb
Transmogrifier: Update notification after accepting.
il y a 4 ans
lain
9a53f619e0
Apply suggestion to test/chat_message_reference_test.exs
il y a 4 ans
lain
41503b1673
Apply suggestion to test/web/activity_pub/transmogrifier/chat_message_test.exs
il y a 4 ans
lain
00748e9650
ChatMessageReferences: Change seen -> unread
il y a 4 ans
lain
f5cb1f3616
Merge branch 'openapi/admin/config' into 'develop'
Add OpenAPI spec to AdminAPI.ConfigController
See merge request pleroma/pleroma!2606
il y a 4 ans
lain
6e103a18af
Docs: Document WebPush changes.
il y a 4 ans
lain
b952f3f379
WebPush: Push out chat message notications.
il y a 4 ans
lain
5d7dda883e
SideEffectsTest: More tests.
il y a 4 ans
Egor Kislitsyn
a8132690bd
Fix credo
il y a 4 ans
Egor Kislitsyn
b4d5bdd6f1
Merge branch 'develop' into openapi/admin/config
il y a 4 ans
lain
e46aecda55
Notification: Fix notifications backfill for compacted activities
il y a 4 ans
lain
e213e31577
Changelog: Add chats to changelog.
il y a 4 ans
lain
286bd8eb83
Docs: Add `mark_message_as_read` to docs
il y a 4 ans
lain
b3407344d3
ChatController: Add function to mark single message as read.
il y a 4 ans
lain
d6693a9102
Merge branch 'openapi/admin/reports' into 'develop'
Add OpenAPI spec for AdminAPI.ReportController
See merge request pleroma/pleroma!2628
il y a 4 ans
lain
c020fd4352
ChatMessageReferenceView: Return read status as `unread`.
il y a 4 ans
Egor Kislitsyn
c16315d055
Add OpenAPI spec for AdminAPI.ReportController
il y a 4 ans
Egor Kislitsyn
9d572f2f66
Move report actions to AdminAPI.ReportController
il y a 4 ans
lain
fb4ae9c720
Streamer, SideEffects: Stream out ChatMessageReferences
Saves us a few calles to fetch things from the DB that we already
have.
il y a 4 ans
Haelwenn
18b050dfd1
Merge branch 'openapi/update-admin-api/status' into 'develop'
Update OpenAPI spec for AdminAPI.StatusController
See merge request pleroma/pleroma!2624
il y a 4 ans
lain
903955b189
FollowingRelationship: Remove meaningless change
il y a 4 ans
lain
7b79871e97
Migrations: Add chat_id, seen index to ChatMessageReferences
This ensures fast count of unseen messages
il y a 4 ans
lain
1e9efcf7c3
Migrations: Fix migration module name
il y a 4 ans
lain
7f5c5b11a5
Chats: Remove `unread` from the db, calculate from unseen messages.
il y a 4 ans
lain
d28d88766b
Merge branch 'admin-api/account-view' into 'develop'
Use AdminAPI.StatusView in api/admin/users
Closes #1836
See merge request pleroma/pleroma!2627
il y a 4 ans
lain
8edead7c1d
Migration: Remove superfluous imports
il y a 4 ans
lain
73127cff75
Credo fixes.
il y a 4 ans
lain
6413e06a86
Migrations: Add unique index to ChatMessageReferences.
il y a 4 ans
lain
2591745fc2
ChatMessageReferences: Move tests
il y a 4 ans
Egor Kislitsyn
8a43611e01
Use AdminAPI.StatusView in api/admin/users
il y a 4 ans
lain
f3ccd50a33
ChatMessageReferences: Adjust views
il y a 4 ans
lain
aa22fce8f4
ChatMessageReference: Introduce and switch in chat controller.
il y a 4 ans
lain
12c2b3b831
Merge branch 'patch-3' into 'develop'
docs: clients.md: Add Husky
See merge request pleroma/pleroma!2626
il y a 4 ans