Commit Graph

393 Commits (28fc5793a70dc5d2a848ba485b75c6bb5d942e9d)

Author SHA1 Message Date
Beaudan 28fc5793a7 More explicit function names, shifted friend request sent logic to more sensible place
Beaudan 91a8a82e39 More PR suggestions, now recover from early exit before friend request is sent
Beaudan 2de01d0343 Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption
Beaudan 051e4dd22c XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable
Mikunj c8db0e200d Fixed incorrect await.
Mikunj d60f147659 replaced jdenticon with identicon.js.
Cleanup any unused images.
Mikunj 961eb53915 Auto-generate profile images on conversations.
sachaaaaa f900fc496d
Merge pull request from Mikunj/feature/profile-nickname
Added profile sharing and setting nicknames.
Beaudan fa63ce5ade Review changes
Beaudan 35c89ea4d9 Big refactor, prekeybundle moved back to a content message
Mikunj b929b11f07 Override unused signal code.
minor fix.
Mikunj 14ee7fec65 Moved and nicknames into conversations.
Mikunj 98c4b5d77b Added editing own nickname.
Fix dark theme support.
Fix notification titles.
Mikunj cf24e42a0e Added storing nicknames.
Mikunj aa57693fce Update profile if we get it through a message.
Mikunj 774c52a407 Added dynamic profile fetching in conversation.
Added setting profile when sending DataMessage.
sachaaaaa 5c128e9d91 remove `isFriend` from conversation default
Beaudan f67c71bda1 Fixed comment typo
Beaudan b65d6a6d2c Refactor friend request status to use a state enum variable
sachaaaaa dbdd52b4eb
Merge pull request from Mikunj/fix/friend-request
Friend request fixes
Mikunj f29a515fdf Fix up typos.
Mikunj 4fd709be35 Removed unused state.
Mikunj 50e8f65a7e updated doc.
Mikunj fb8b0e1d40 Auto accept friend request if we have both incoming and outgoing friend requests.
Mikunj 8a0b8e1f00 Store the state of the friend request inside the conversation.
Mikunj 484efd34a3 Added friend request message expiration.
Mikunj bd103e2ad2 Minor fixes.
Mikunj 7d8719f250 Fix incoming friend request messages being deleted.
Set pending outgoing friend requests to declined if we receive an incoming friend request.
Fix text input not blocking.
Mikunj dba6a36e83 removed old unused code.
Mikunj 110387508f UI fixes.
Mikunj 4ebdfab633 Update handling of new message logic.
Mikunj cf3e9716ed Update new conditions for friend accepted and key exchange complete in conversations model.
Mikunj a3a7f4a621 Merge commit 'ef44a123ed4ada70489d78fde16a86c60ced34a8' into feature/blocking
Beaudan ff3cc7a315 Review changes
Beaudan 489ec8fc65 Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way
Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after

Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error

create unique index for contact prekeys (to allow using REPLACE)

Fixed lint stuff that merge brought back
Mikunj ba390e354b Added unblocking.
Added styling.

Trigger changes on both conversation and messages when we block/unblock.
Mikunj ae2e2fa2ae Updated UI in conversation to support user blocking behaviour.
sachaaaaa 78d39ac177
Merge pull request from Mikunj/fix/friend-notification
Friend Notifications
Mikunj 17e5c861a1 Fixed review issues.
Fixed lint error.
Mikunj c77f996709 Forgot a ;
Mikunj 3943cbbc6e Fix linting error.
Mikunj 4f4ebf3ddd Added an info log on graceful conversation fallback,
Mikunj ece266fffd Added showing pow icon.
Mikunj 676fe8b5c5 Fixed new messages not showing when another message in the conversation is calculating its PoW
Mikunj 745d0e82d4 Added unread count badge .
Mikunj 061b8ab2cb Added function to help friend request notifications
Mikunj dfae580ffa Added notification when receiving a friend request and when a friend request was accepted.
Mikunj 688f275262 pass in source, sourceDevice, timestamp and receivedAt when adding a friend request.
Mikunj f2dbdff548 code cleanup.
Mikunj 1150f0f915 Allow fetching conversation messages by a specific type.