Commit Graph

1450 Commits (0a4e3041dea0a97217d915e3ca1f6a83d6328430)

Author SHA1 Message Date
Audric Ackermann 543c80bbe3 fix: add most of new designs (own setting) for disappear v2 messages 2 years ago
Audric Ackermann 46bd4c218d fix: drop support for argon2 based ons 2 years ago
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
2 years ago
Audric Ackermann d1068983bb fix: broken state adding lastDisappearingMessage to chatmsg 2 years ago
Audric Ackermann e5c76d3b70 feat: group message requests kind of working
still need to have them visible in the msg request only
2 years ago
Audric Ackermann 23998065ea fix: address PR reviews 2 years ago
Audric Ackermann b259d18443 fix: add still broken promote handling with set_sig_keys 2 years ago
Audric Ackermann bbb376fc2a fix: mark SharedConfigMessage as reserved 2 years ago
Audric Ackermann 08c5f76a15 fix: store envelopetimestamp in cache, and make sure we use network one
everywhere
2 years ago
Audric Ackermann 93d87d82ae chore: renamed getnowwithnetworkoffset to now() 2 years ago
Audric Ackermann 9595f09085 fix: add setadmin on promote accepts
also sign/verify group update messages
2 years ago
Audric Ackermann 328493ace6 feat: filter out sub 60s options for expiretimer when packaged app 2 years ago
Audric Ackermann f10a20a2ea fix: legacy group invite do not expire 2 years ago
Audric Ackermann 16e7ee1cd6 feat: make groupv2 messages skip cache
also add group members change
2 years ago
Audric Ackermann 5adfe2e52b feat: add revoke/unrevoke subrequests
unused currently
2 years ago
Audric Ackermann f9502b4bbe fix: remove titles from toasts
as they have been removed from the guideline
2 years ago
Audric Ackermann 5fc234ee16 fix: expiration update to off expire with previous expiration settings 2 years ago
Audric Ackermann 00f93a2754 fix: send sync message with the expireUpdate if provided 2 years ago
Audric Ackermann 99c231c698 fix: allow answered&missed call notification to disappear after read 2 years ago
Audric Ackermann 1dbcd157a0 feat: add invite failed toast debounced
also make the toast replace pubkeys with nicknames/names or shortened
pks
2 years ago
Audric Ackermann f17beaf852 feat: add GroupInviteJob 2 years ago
Audric Ackermann b8876ebbfe feat: add subaccount auth 2 years ago
Audric Ackermann 45e118ae1b feat: use multi value to know if disappear_v2 is live or nah 2 years ago
Audric Ackermann d7608c42b6 feat: add building and sending of invite messages 2 years ago
Audric Ackermann 6ed74c9807 feat: move profile details of group invite to use the one in dataMsg 2 years ago
Audric Ackermann 42ec717851 fix: send extraction notification even if read receipts is off 2 years ago
Audric Ackermann 9cc37cc0e7 fix: outgoing start call notification timer start on after read 2 years ago
William Grant b731774ac7 fix: use correct values for legacy mode
fix datatestid on generic message
2 years ago
Audric Ackermann dbe94f2293 feat: added strings for groupv2 control message and components for them 2 years ago
Audric Ackermann c9b2d69a73 fix: remove all of the ConfiguratioMessage (legacy) logic 2 years ago
William Grant 0f05b24c86 chore: bump libsession_util_nodejs to v0.3.0 2 years ago
Audric Ackermann 0fbb0cc852 chore: merge ReceiptMessage and readReceiptMessage into one 2 years ago
William Grant a37c8eaf13 fix: merge now returns good hashes
we calc the latestEnvelopeTimestamp and use for disappearAfterRead
2 years ago
Audric Ackermann df3a188074 fix: address PR reviews 2 years ago
Audric Ackermann 28d99a0f52 chore: lint 2 years ago
William Grant 04c3f69398 refactor: export functions from an object for stubbing
for disappearing messages index file
2 years ago
William Grant bb6e09de0a feat: cleaned up wip logs 2 years ago
Audric Ackermann b0e38670ab chore: rename all groupv3 to groupv2 2 years ago
William Grant 8d36442dbf refactor: rename ttl_max to content_message
this is more explicit
2 years ago
William Grant f5a9e9c366 fix: comment cleanup 2 years ago
William Grant 50680bba7d fix: throw error in getMessageReadyToDisappear
for community messages
2 years ago
William Grant 3feb8cddf2 refactor: move checkShouldDisappearButIsntMessage
to legacy file
2 years ago
William Grant a2908cf24b fix: use switch instead of chained ifs
in setExpirationStartTimestamp
2 years ago
William Grant 730641a14d feat: added todo to section duck
we want to move it into a redux slice in future
2 years ago
William Grant be8c3b042f feat: added checkForExpiringOutgoingMessage
triggers timer for all outgoing messages. includes unit tests
2 years ago
Audric Ackermann 84451399e3 Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk1 2 years ago
William Grant bd9d56d381 fix: foundMessage has the ttl updated by reference
no need to explicitly assign it
2 years ago
William Grant 40014544d1 fix: closed group groupId is now PubKey only 2 years ago
William Grant 01d04bd4d3 refactor: existingexpration to existingexpirationt
in createClosedGroups.ts. Cleaned up some comments
2 years ago
William Grant 8838477e34 refactor: ttl_config to config_message
inside of TTL_DEFAULT. This is more readable and explicit
2 years ago
William Grant d4aacd3159 fix: move isDelete into inbox poll if statement
fixed some comments
2 years ago
William Grant aad55025ba fix: more comment cleanup 2 years ago
William Grant 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
2 years ago
Audric Ackermann ae67215a7e test: finished tests for userSyncJob 2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
William Grant cafa9d80ec fix: remove all unneeded tslint comments
fixed some eslint errors
2 years ago
Audric Ackermann 9492fdc51e fix: first working test ios to desktop
still have some tests to fix
2 years ago
William Grant a2890925a5 test: fix groups wrapper values test 2 years ago
William Grant 6694f5a86f refactor: fixed comment typo
returned for testing purposes only
2 years ago
William Grant 4b93c5779a test: started libsession LegacyGroups tests
specifically insertGroupsFromDBIntoWrapperAndRefresh
2 years ago
William Grant bb95aef2d0 test: finished libsession_wrapper_user_profile tests 2 years ago
William Grant edfcbe2d67 fix: dont use ourNumber in contacts tests 2 years ago
Audric Ackermann ceffa1e13b test: add tests for pendingchangesforus 2 years ago
William Grant 3330c64761 test: started insertContactFromDBIntoWrapperAndRefresh 2 years ago
Audric Ackermann d134da3421 chore: renamed ConfigurationSyncJob to UserSyncJob 2 years ago
Audric Ackermann eb77c50fa9 chore: renamed GroupConfigurationJob to GroupSyncJob 2 years ago
William Grant 3f843aa72c test: finished processGetExpiriesRequestResponse 2 years ago
William Grant a00b016233 test: wip getExpiriesRequest Started 2 years ago
Audric Ackermann c14276200e chore: merged what can be between user and group sync job 2 years ago
William Grant 16aad0c748 test: started processExpireRequestResponse 2 years ago
William Grant 1ce1924389 test: finished verifyExpireMsgsResponseSignature 2 years ago
William Grant f28bb66742 test: started expireRequest
added tests for buildExpireRequest
2 years ago
Audric Ackermann d9300e67a0 fix: remove the whole kind logic and use namespace instead
this is because session doesn't care about the config it receives
anymore and just forwards them to libsession
2 years ago
Audric Ackermann 0ef2df801e test: speedup onion tests by stubbing retries timeout 2 years ago
Audric Ackermann 51205424d6 test: add tests for GroupSyncJob 2 years ago
William Grant 6379226410 feat: added isValidUnixTimestamp 2 years ago
William Grant de2a15a691 fix: dont load container if there are no reactions
now message elements are the correct height from what we see visually
2 years ago
William Grant 101762918c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 6b3adff972 test: added a (still broken) test for key conflicts 2 years ago
William Grant 61eccb8d0f refactor: replaced get expirationStartTimestamp calls
with getExpirationStartTimestamp
2 years ago
William Grant 777584945d refactor: replaced get expireTimer calls
with getExpireTimer
2 years ago
William Grant ebaedb2e4c feat: created getters in message model
replaced all expirationType calls with getExpirationType
2 years ago
William Grant f31e157c12 refactor: replaced get expireTimer calls
with getExpireTimer
2 years ago
William Grant 3ed041c4a5 feat: created getters on convo model
replaced all expirationMode calls
2 years ago
William Grant c4cc18ad2e feat: dont expire messages that fail to send 2 years ago
William Grant a484011acb refactor: changetodisappearingmessageconversationtype to changetodisappearingconversationmode 2 years ago
William Grant 250e3d0238 refactor: rename expirationType on convo to expirationMode
this means convo has expirationMode and messages have expirationType
2 years ago
William Grant c7f8f4f635 fix: get_expiries retry and error handing
nested pRetry Abort errors can break our retry logic so we need to catch them
2 years ago
William Grant 0e67e2a0b7 feat: improved expiry retry and error handing
nested pRetry Abort errors can break our retry logic so we need to catch them
2 years ago
William Grant 5b6ebcad07 fix: add temp fix for single msg get_expiries 2 years ago
William Grant e6257f3cbc fix: commented out some logs 2 years ago
Audric Ackermann 7c16ce9da4 fix: do not try to store contacts not matching pubkey regex in wrapper
also remove existing convo with spaces and 05 on start
2 years ago
Audric Ackermann cc7e6f03db test: add tests for swarmPolling of new groups 03 2 years ago
Audric Ackermann e69c5c4b35 chore: fixed unit tests 2 years ago
William Grant 93b450ce56 feat: hit expire endpoint for read messages
for now it will hit the expire endpoint twice
2 years ago
Audric Ackermann d12071f3c8 chore: big rename of convocontroller to convohub 2 years ago
William Grant c1dc2e5a6c fix: hit expire endpoint when send is successful
we need the returned messageHash from the swarm
2 years ago
William Grant 958f64e27f feat: get_expiries implementation done
now just need to make sure to call both endpoints in the correct places
2 years ago
William Grant a4bd3f59bb feat: improved expire swarm result logic
better logging and handle errors more smoothly
2 years ago
William Grant beb04d1b31 feat: improved logging for start expiry timestamp 2 years ago