Commit Graph

1249 Commits (b1bbcd1a38c9f4abfad84cfdf1eb4534fb344402)

Author SHA1 Message Date
William Grant 6dd340ca6c feat: handle legacy disappearing messages more gracefully due to protobuf issues
added utility function for checking for undefined properties on a protobuf, renamed expireTimer to expirationTimer in some places
3 years ago
William Grant 4c4bc045d7 fix: renamed ExpirationType enum value LEGACY to UNKNOWN 3 years ago
William Grant df40ff8855 feat: added legacy to the ExpirationType enum in the protobuf and updated support
the desktop protobuf implementation doesnt support undefined for optional enum values this is a known bug.
3 years ago
William Grant b8ab952c33 fix: explicitly set expirationType to undefined if sending a legacy message 3 years ago
William Grant 6de7c5c405 fix: legacy message checks must look for the ExpirationTimerUpdate flag explicitly
use correct model for a message in a closed group
3 years ago
William Grant 854742c0b1 fix: improved logic for turning off disappearing messages 3 years ago
William Grant a3a0c3f9de feat: fixed closed groups legacy mode 3 years ago
William Grant 8117e631d0 feat: legacy mode now works for 1-1 chats 3 years ago
William Grant 349b513051 fix: only log errors when syncing an expire timer message and not all sync messages 3 years ago
William Grant d698f66d50 feat: updated clients can send ExpirationTimerUpdateMessages to older clients
fixed syncing of ExpirationTimerUpdateMessages
3 years ago
William Grant 255b6225c9 feat: block sending disappearing messages of the wrong type in different conversations,
improved disappear after send or read logic, disable legacy sending for now
3 years ago
William Grant 7d0673f7f2 wip: added new legacy mode to panel, improved backwards compatibility
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
3 years ago
William Grant 190357b006 fix: cleanup 3 years ago
William Grant 12087da2be fix: repaired closed group disappearing messages 3 years ago
William Grant 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
3 years ago
William Grant 446752cf54 feat: DataExtractionNotifications now expire
MessageRequestResponses should not expire, pass yarn ready
3 years ago
William Grant 5c697572a7 feat: Call Notifications now expire properlly
include the direction in the expiration props, setting the start timer doesnt directly update the model
3 years ago
William Grant 307fefcedc feat: improved sender disappear after reading time 3 years ago
William Grant 4ef3537a53 feat: timer notifications expire correctly when disappearing after sending 3 years ago
William Grant f36bbb9c7c feat: group invitiations now disappear 3 years ago
William Grant e34e3d4a4b fix: resolved some yarn ready issues 3 years ago
William Grant f825b74895 feat: disappearing messages are now correctly deleted from the swarm after they expire 3 years ago
William Grant d358ab2fb1 feat: fixed closed groups
improved setExpirationStartTimestamp logic
3 years ago
William Grant 996d204dc8 feat: improved syncing of timers for disappear after send 3 years ago
William Grant 6febf2859e feat: disappear after reading now works 3 years ago
William Grant 4ee440304c feat: attempted to improve the accuracy of the start timer for disappear after send 3 years ago
William Grant ee4aa333fc feat: disappearing after send is not working correctly 3 years ago
William Grant 22e02633a9 feat: started consolidating send and receive dm logic.
updated in parts but haven't test what happens
3 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 3 years ago
William Grant ee6607b96a feat: added expirationType and expireTimer to content message and updated message pipeline
this includes sync messages and updating the protobuf, haven't tested closed groups
3 years ago
William Grant b12d086b22 feat: DisappearingMessageType -> DisappearingMessageConversationType
this is more explicit and allows use to use DisappearingMessageType in the message model
3 years ago
William Grant 30196a131a feat: added basic support for different disappearing message modes
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
3 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 3 years ago
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 3 years ago
Audric Ackermann c2e3f1b587 chore: update libsession-util name & dependency 3 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 3 years ago
Audric Ackermann dc329668fa chore: fix unit tests 3 years ago
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
3 years ago
Audric Ackermann faeb95fefd feat: add block/decline logic to msg request & wrapper 3 years ago
Audric Ackermann ef6d9f1d51 feat: add empty states for each types of convo 3 years ago
Audric Ackermann da57379762 fix: update certificate of seed nodes expiring soon 3 years ago
Audric Ackermann 760642e149 feat: use the lastJoinedAt and createdAt from the wrapper 3 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 3 years ago
Audric Ackermann 51e4f1dd48 feat: UI, use group info from wrapper if we have them or from DB 3 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 3 years ago
Audric Ackermann fe5eea4c8d chore: fix critical yarn audit issues 3 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 3 years ago
Audric Ackermann 8a0074d2bd feat: add convo volatile info during migrations for each convo tracked 3 years ago
Audric Ackermann 1dcee5bc93 feat: wait for confSyncJob to be done before deleting account 3 years ago
Audric Ackermann c623e2e49e fix: make the ConfSyncJob fetch be per destination 3 years ago
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 3 years ago
Audric Ackermann 0050352470 chore: move selected convo selectors to another file 3 years ago
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 3 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 3 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 3 years ago
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
3 years ago
Audric Ackermann 2a5dc5f2a5 feat: add more compilation errors if forgetting to handle a wrapper type 3 years ago
Audric Ackermann 21d8151b8b feat: add convo volatile info mgmt 3 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 3 years ago
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
3 years ago
Audric Ackermann 37e335097e chore: remove unused bdecode logic as it is now in libsession util 3 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 3 years ago
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 3 years ago
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 3 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 3 years ago
Audric Ackermann b2237efe51 feat: insert all contacts into wrapper before syncing it 3 years ago
Audric Ackermann 22329bc745 chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
we use timestamp instead of sig_timestamp for store requests
3 years ago
Audric Ackermann f870eff45b fix: make syncJob throttled every 3s and start right away if possible
also enable sig_timestamp on mainnet use as every node should have
upgraded now
3 years ago
Audric Ackermann f215535f75 fix: set and get profile picture from libsession 3 years ago
Audric Ackermann 6bbb16b46d feat: track and delete configMessageHashes 3 years ago
Audric Ackermann 7c56310e69 feat: addConfSyncJob start 3 years ago
Audric Ackermann d512a1a131 fix: various UI margins and dedup official sogs join 3 years ago
Audric Ackermann bb0112c6c5 feat: increase max upload size to 10MB 3 years ago
William Grant 5b59b3eef2 fix: extract max unread count to a constant 3 years ago
Audric Ackermann 4bfcf91193 fix: add return types for libsession wrapper functions 3 years ago
Audric Ackermann 90804491d6 feat: add job result enum with success, retry and permanent fail 3 years ago
Audric Ackermann 08a15b210a feat: move avatar downloading to JobRunner 3 years ago
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 3 years ago
Audric Ackermann d1cefd4729 feat: add contacts & user profile handling of incoming messages 3 years ago
Audric Ackermann 141c22ed43 tesat: add tests for the JobRunner class 3 years ago
Audric Ackermann b3995c117b feat: add a PersistedJobRunner which can handle SyncConfJobs 3 years ago
Audric Ackermann 2da2c95272 chore: cleanedup the stubbing logic 3 years ago
William Grant 504f60cb97 fix: resolved missing reactions in open groups, fixed mutation cache logic 3 years ago
Audric Ackermann 68852a9e63 chore: move syncUtils to its own folder 3 years ago
Audric Ackermann c8e76b17de chore: refactor db instance to outside its sql.ts file 3 years ago
Audric Ackermann 58edbf44ee add SharedConfig message and signing it when sending them 3 years ago
Audric Ackermann 6d1b406c85 fix: add namespace to all sending message calls 3 years ago
Audric Ackermann 0f58e11a17 chore: update with latest libsession wrapper 3 years ago
Audric Ackermann 1a65b7a7f2 feat: working calls to node module from renderer through worker 3 years ago
Audric Ackermann bace70c6bc chore: move util worker to its own folder 3 years ago
Audric Ackermann 65df3157bd chore: lint 3 years ago
Audric Ackermann 2a8d764bfb fix tests 3 years ago
Audric Ackermann fddfc8c501 fix: hide v3 closed group protobuf messages for now 3 years ago
Audric Ackermann 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 3 years ago
Audric Ackermann 4b97f14edf fix: added batch requests for snode but signature fails 3 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 3 years ago
Audric Ackermann 0e4920cb0d feat: add bencoded/decoded + tests 3 years ago
Audric Ackermann 16d14043b8 fix: use token from first room info to build conversationId for sogs 3 years ago
Audric Ackermann 32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
To merge once theming is done: handle deleted messages & deleted reacts all at once
3 years ago
Audric Ackermann 984dbf777d fix: do not lowercase roomId before joining sogs room 3 years ago
Audric Ackermann 37cedaf24a fix: make allowOneAtATime take a generic 3 years ago
Audric Ackermann ae51b0cd96 fix: include auth sogs headers everywhere 3 years ago
Audric Ackermann 07dfdb3350 fix: remove spinner of first poll of sogs even when not selected 3 years ago
William Grant 367c0c94d0 Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 26290ffd8b fix: mark attachment as failure if we get a 404 3 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
William Grant 177e2df768 feat: consolidated theme switching code 3 years ago
William Grant 2f0e993af3 feat: moved constants into a constants folder 3 years ago
Audric Ackermann 1ce8fd5979 fix: make circular buffer not recreate an array on each overflow 3 years ago
Audric Ackermann c617976be0 test: added tests for RingBuffer & sogsRollingDeletions 3 years ago
Audric Ackermann ad03fbd497 fix: skip recent deleted message empty react changes 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann ad22482274 fix: add toast on rate limit hit for reactions 3 years ago
Audric Ackermann 4e913f1439 fix: displayName allowed length based on bytes rather than char 3 years ago
Audric Ackermann e2c3ccef84
Merge pull request #2539 from Bilb/add-toast-react-rate-limit
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann 135b9cf34d fix: add toast on rate limit hit for reactions 3 years ago
Audric Ackermann 51e03cf4e5 fix: rerender loop of react list modal
update redux related libraries
and update imports to use the RTK ones
3 years ago
William Grant 0f3a23779a Merge branch 'clearnet' into theming 3 years ago
William Grant adf370997e feat: added theming to the about page 3 years ago
Audric Ackermann 3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
Profile in messageRequest
3 years ago
William Grant b3885bf9d9 Merge branch 'clearnet' into theming
Link previews are broken for now
3 years ago
Audric Ackermann 4ed837e57e fix: add test for MessageRequestResponse outgoing message 3 years ago
Audric Ackermann 84f2ce777a fix: include profile in message request response 3 years ago
William Grant c6af1a7468 feat: upgraded emoji-mart and added theme support 3 years ago
Audric Ackermann e62c1599a5 Merge branch 'clearnet' into feat-move-attachments-outside-messagebox 3 years ago
Audric Ackermann dcf2f96c9f fix: address regression tests UI issues 3 years ago
William Grant e575bed6ea feat: added sun icon for light color mode
renamed SectionType Moon to ColorMode
3 years ago
William Grant edefa21a2b feat: we can now toggle to the classic dark theme
fixed ocean dark colors and updating theme setting logic
3 years ago
William Grant 3c4fc8d919 Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann c6e3116b06 fix integration tests 3 years ago
William Grant 39a710afad Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann c2e3e3ca3f Merge remote-tracking branch 'upstream/clearnet' into ui-redesigns 3 years ago
Audric Ackermann afe573fd06
Merge pull request #2482 from Bilb/crypto-magic-swallow-exception
fix: swallow exception while doing tryMatchBlindWithStandardKey
3 years ago
Audric Ackermann d2472007b8 fix: swallow exception while doing tryMatchBlindWithStandardKey 3 years ago
William Grant 6cd81e06f2 Merge branch 'ui-redesigns' into theming 3 years ago
Audric Ackermann 1d45aa6f45 fix: show loading spinner while sogs is fetching initial messages 3 years ago
Audric Ackermann e464d6c573 Merge branch 'settings-redesign' into feature-menu-redesign 3 years ago
Audric Ackermann d9621f79c3 fix: allow any sogs to be awaited until messages are fetched 3 years ago
Audric Ackermann 38d85a653a fix: do not wait for sogs messages on join of unofficial sogs 3 years ago
Audric Ackermann 0eac74dd07 Merge branch 'dev' into menu-redesign 3 years ago
Audric Ackermann ad04faca6f fix: increment bad snode if we timeout of guard node 3 years ago
Audric Ackermann e8fe564a08 fix: show sogs without display name in convo list
also use the pollinfo to update whatever the displayname if needed
3 years ago
William Grant e298f6820c Merge branch 'settings-redesign' into theming 3 years ago
Audric Ackermann 3915e946b4 Merge branch 'clearnet' into settings-redesign 3 years ago
Audric Ackermann 2e2dac6c08
Merge pull request #2458 from Bilb/fix-add-voice-message-flag
fix: set flags to VOICE_MESSAGE when sending attachment with voice msg
3 years ago
Audric Ackermann bb72833e60
Merge pull request #2462 from Bilb/fix-send-attachment-width-height
fix: make sure we include width and height when sending attachments
3 years ago
Audric Ackermann 2bd6c01ee3
Merge pull request #2473 from Bilb/fix-remove-admin-remove-mod-topo
Fix remove admin remove mod permission too
3 years ago
Audric Ackermann aa0c15c8c1 fix: drop messages from a room left since start of current poll 3 years ago
Audric Ackermann e14ff787d4 chore: update strings of moderator to admins until we have mods support 3 years ago
Audric Ackermann f1358c4049 fix: make sure that removing an admin also removes the mod permission
because we cannot currently choose in the app what type of admin/mod we
want, it makes sense that adding/removing changes both permissions
3 years ago