Commit Graph

482 Commits (ad21d198cf1a0e60094df0343cc1ae820d067097)

Author SHA1 Message Date
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 3 years ago
Audric Ackermann 318a77be4b fix: mark messages sent before our lastreadts from the wrapper as read 3 years ago
Audric Ackermann 328c131d8b chore: cleanup commented caching code of some wrappers 3 years ago
Audric Ackermann 051c4bb262 fix: merge the confSyncDumpJob into the confSyncJob 3 years ago
Audric Ackermann 6fe6544d6c fix: split up migration of initial user config dumps into two 3 years ago
Audric Ackermann ce186517a3 chore: lint code 3 years ago
William Grant cfcf400ecf fix: cleaned up WIP logging and used the window log debug function where appropriate 3 years ago
William Grant afaaedac3e feat: added proper note to self support
note to self is always delete after send
3 years ago
William Grant 92282a5d95 feat: verify disappearing messages arent supported in communities 3 years ago
William Grant 2221d81a23 fix: reverted setToExpire timer,
fixed incorrect expirationLength value in getPropsForExpiringMessage
3 years ago
William Grant 6a38e09f4f feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model 3 years ago
William Grant 46ab397a0f fix: read receipt messages now show expireTimer correctly 3 years ago
William Grant 4d0900844b fix: adding shorten and extend to expire rpc endpoint 3 years ago
William Grant b6c3edbac4 fix: pass yarn ready 3 years ago
William Grant 8dc7d48c52 feat: renamed isLegacyMessage to isLegacyDataMessage
all works except modern to modern stage 2
3 years ago
William Grant 89c70760a5 fix: refactor and works for all legacy test cases, modern to modern is broken 3 years ago
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 2338058b3e fix: make sure expirationType and expireTimer are defined after v2 is released 3 years ago
William Grant b8ab952c33 fix: explicitly set expirationType to undefined if sending a legacy message 3 years ago
William Grant 93cb972514 feat: updated hasOutdatedClient to track last user to send a legacy message
this makes the banner work properlly in closed groups
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 d698f66d50 feat: updated clients can send ExpirationTimerUpdateMessages to older clients
fixed syncing of ExpirationTimerUpdateMessages
3 years ago
William Grant bd900128f4 feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
3 years ago
William Grant e81ac0a847 feat: updated NoticeBanner style 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 12087da2be fix: repaired closed group disappearing messages 3 years ago
William Grant 42356b0d60 fix: duplicate timer update 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 ac844af691 feat: updated timer notification design and copy 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 b4fc33c8fa fix: prevent duplicate expire timer updates while keeping backwards compatibility 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 13f091eff3 feat: added function for calculating the expire start time
updated copy for setting change messages
3 years ago
William Grant 8dc7dac55e feat: control available modes depending on the conversation 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 0700ac4813 fix: moved disappearing message types to utils 3 years ago
William Grant 1303707cd7 feat: added expirationType to message model with correct typings
added to migration
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 cbffc29950 fix: run tests for libsession-util integration and fix issue 3 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 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 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 3ff7281b6a chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
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 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 c3a9d19882 chore: cleanup the lastMessage update logic 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 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
Qian Hong bcbeab52c1 fix: Remove createNonBreakingLastSeparator. Fix #2396. 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 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
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
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 6d1b406c85 fix: add namespace to all sending message calls 3 years ago
Audric Ackermann 2a8d764bfb fix tests 3 years ago
Audric Ackermann 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 3 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 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 e3006ae157 fix: do not return updated messages from markAllRead if not needed 3 years ago
Audric Ackermann 24af2dabfb fix: remove usused onReadMessage method 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann 3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
Profile in messageRequest
3 years ago
Audric Ackermann 84f2ce777a fix: include profile in message request response 3 years ago
Audric Ackermann c22d7c2367 Merge branch 'clearnet' into mark-all-as-read-optimization 3 years ago
Audric Ackermann dcf2f96c9f fix: address regression tests UI issues 3 years ago