Commit Graph

592 Commits (76f5ad13222b22f96815dc0fbff5ad9a5cd5548e)

Author SHA1 Message Date
William Grant a65f02a807 feat: use checkForExpireUpdateInContentMessage on sync messages 2 years ago
William Grant b88842b687 feat: tested v2 releas
made some updates to expire update generation and handling, one final fix required
2 years ago
William Grant bb6eb3e84e feat: fixed 1-1s and added more logging 2 years ago
William Grant e8c927f580 feat: setExpirationStartTimestamp uses DisappearingMessageConversationType
easier to manage starting a legacy disappearing message and always pass expiration type and timer
2 years ago
William Grant 9d8cca1970 feat: convert between conversation and message model disappearing modes in key locations
remove disappearing messages from convo header context menu
2 years ago
William Grant deceae4119 feat: disappearing messages setting now sync correctly in user config
we also load the visible control message, added back a lot of WIP logging while we are testing
2 years ago
William Grant ff19c95a92 fix: remove using legacy as a string for disappearing messages except in the UI
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
William Grant bfc073ef70 fix: eslint warning in syncutils 2 years ago
William Grant 37676e5666 fix: making progress with group migration
still getting overriden on render
2 years ago
William Grant da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 22e9e6bb44 feat: started working on disappearing messages migration 34
note to self and private conversations are mvp, still some initial cleanup todo
2 years ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann e3b6be7318 chore: fix typos
this comes from mdplusplus https://github.com/mdPlusPlus/session-desktop/tree/codespell

duplicated to fix conflicts
2 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 2 years ago
William Grant a25d94fa6c fix: moved disappearing messages migration to a separate file
updated note to self function calls in the user config wrapper
2 years ago
William Grant ff27913b66 fix: migration started and working for note to self for user config
updated libsession to use setExpiry and getExpiry since we can't add new arguments to the getUserInfo and setUserInfo
2 years ago
William Grant d794b0a0d4 fix: comment out user config disappearing messages stuff for now 2 years ago
William Grant 5762342e03 fix: spaces on fixme comments 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 953897cc1c
Merge pull request #2840 from Bilb/replace-tslint-with-eslint
Replace tslint with eslint
2 years ago
William Grant 10561e4e3c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann b7d444e5d5
Merge pull request #2820 from Bilb/chore/remove-unblock-group-string
chore: remove the unblockGroupToSend string as we cannot block a group.
2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 77acd1396b feat: add support for blinded25 receipt of messages for later impl 2 years ago
Audric Ackermann 0e5ca3f731 chore: remove the unblockGroupToSend string as we cannot block a group. 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann de41988215 fix: typo on no audio output on speaker toggle 2 years ago
Audric Ackermann 83a8adf033 fix: decrease retry timer of confsyncjob to 15s
- we need a rather long duration so we don't add a new job while was is
already planned to be runned, and they end up both running at the same
time.
- we also need a not too long duration for integration tests and UX
  experience, as a change could take the retry timeout to happen+polling
timer to happen, which used to be 40s total.

This brings that time to worse time change from 40 to 25s
2 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 2 years ago
Audric Ackermann adf5574318 fix: add libsession nodejs with expiretimer and resolve issues 2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 524debb307 fix: improve delete messages perfs and search logic 2 years ago
Audric Ackermann 4280d83ba8 fix: bump libsession to allow createdAt to be given during migration 2 years ago
Audric Ackermann 0e18bf4640 fix: disable expire timer tracking for all libsession logic
this will need to be turned on when the disappearing branch is merged
2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 5a5f069cca fix: add tracking of expiration timer for nts through libsession 2 years ago
Audric Ackermann db9fa14213 fix: don't update state on updates already included in our syncmessage 2 years ago
William Grant d706ecdead fix: show authorName in reply ui 2 years ago
Audric Ackermann 2068737cdd fix: break down deleteContact based on convo type 2 years ago
Audric Ackermann 7b42c64cf3 fix: make sure to include the associatedWith to handle 421 2 years ago
Audric Ackermann 0cbcecb508 fix: make avatar download job only take conversationId
and not the profileKey+url too as we need the db entry to be in sync
with the config wrapper data (otherwise the next commit would be made
with data out of date from the wrapper side)
2 years ago
Audric Ackermann 50459d8da8 chore: remove completely commented test files related to groupv3 2 years ago
Audric Ackermann 6676bf77f9 chore: fix unit tests for userconfig changes 2 years ago
Audric Ackermann 4d0e79f195 fix: legacy group with wrapper and disable right click while searching 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 760ce5caa5 fix: add the maxSizeMap to have priority per retrieve namespaces 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
Audric Ackermann bac2887c28 fix: update with latest libsession util 2 years ago
Audric Ackermann 318a77be4b fix: mark messages sent before our lastreadts from the wrapper as read 2 years ago
Audric Ackermann 328c131d8b chore: cleanup commented caching code of some wrappers 2 years ago
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 2 years ago
Audric Ackermann 8edb1275c2 fix: keep updating dumps even if user config feature is off 2 years ago
Audric Ackermann 051c4bb262 fix: merge the confSyncDumpJob into the confSyncJob 2 years ago
Audric Ackermann 6fe6544d6c fix: split up migration of initial user config dumps into two 2 years ago
Audric Ackermann ce186517a3 chore: lint code 2 years ago
Audric Ackermann e263b701b0 chore: fetch latest archive from libsession nodejs git repo 2 years ago
William Grant cfcf400ecf fix: cleaned up WIP logging and used the window log debug function where appropriate 2 years ago
Audric Ackermann 9d87ca2546 fix: test with libsession compiled with node-api 2 years ago
William Grant afaaedac3e feat: added proper note to self support
note to self is always delete after send
2 years ago
William Grant b6c3edbac4 fix: pass yarn ready 2 years ago
William Grant e5ecff7ec3 fix: fixed legacy disappearing messages on call notifications and others 2 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
2 years ago
William Grant 349b513051 fix: only log errors when syncing an expire timer message and not all sync messages 2 years ago
William Grant d698f66d50 feat: updated clients can send ExpirationTimerUpdateMessages to older clients
fixed syncing of ExpirationTimerUpdateMessages
2 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
2 years ago
William Grant 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
2 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
2 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 2 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
2 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 2 years ago
Audric Ackermann c2e3f1b587 chore: update libsession-util name & dependency 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann dc329668fa chore: fix unit tests 2 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
2 years ago
Audric Ackermann faeb95fefd feat: add block/decline logic to msg request & wrapper 2 years ago
Audric Ackermann ef6d9f1d51 feat: add empty states for each types of convo 2 years ago
Audric Ackermann 760642e149 feat: use the lastJoinedAt and createdAt from the wrapper 2 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2 years ago
Audric Ackermann 51e4f1dd48 feat: UI, use group info from wrapper if we have them or from DB 2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2 years ago
Audric Ackermann fe5eea4c8d chore: fix critical yarn audit issues 2 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2 years ago
Audric Ackermann 8a0074d2bd feat: add convo volatile info during migrations for each convo tracked 2 years ago
Audric Ackermann 1dcee5bc93 feat: wait for confSyncJob to be done before deleting account 2 years ago
Audric Ackermann c623e2e49e fix: make the ConfSyncJob fetch be per destination 2 years ago
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 2 years ago
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 2 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann 2a5dc5f2a5 feat: add more compilation errors if forgetting to handle a wrapper type 2 years ago
Audric Ackermann 21d8151b8b feat: add convo volatile info mgmt 2 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 2 years ago
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann 37e335097e chore: remove unused bdecode logic as it is now in libsession util 2 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2 years ago
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 2 years ago
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2 years ago