William Grant
|
4b93c5779a
|
test: started libsession LegacyGroups tests
specifically insertGroupsFromDBIntoWrapperAndRefresh
|
2 years ago |
William Grant
|
bf690868f1
|
test: stub libsession workers in all places
instead of stub the set function
|
2 years ago |
William Grant
|
cc01da5a8a
|
fix: use generated pubkeys
in disappearing message tests
|
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 |
William Grant
|
3330c64761
|
test: started insertContactFromDBIntoWrapperAndRefresh
|
2 years ago |
William Grant
|
36e114a662
|
test: throw when we want a defined result
this fixings the typings with test when look for props on objects
|
2 years ago |
William Grant
|
8d87779554
|
chore: remove unneeded stubWindowLog calls
|
2 years ago |
William Grant
|
95852d8002
|
refactor: remove duplicate test
libsession_wrapper_test.ts
|
2 years ago |
William Grant
|
3f843aa72c
|
test: finished processGetExpiriesRequestResponse
|
2 years ago |
William Grant
|
2cd51cc187
|
test: finished buildGetExpiriesRequest
added TypedStub type
|
2 years ago |
William Grant
|
a00b016233
|
test: wip getExpiriesRequest Started
|
2 years ago |
William Grant
|
b9f1378133
|
test: finished processExpireRequestResponse
|
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 |
William Grant
|
c4a9555ba8
|
test: added false case for isExpirationTimerUpdate
|
2 years ago |
William Grant
|
bde674cbac
|
test: finished isExpirationTimerUpdate
added generateFakeExpirationTimerUpdate for testing
|
2 years ago |
William Grant
|
bf5bcae4ac
|
refactor: rename generateDisappearingMessage
to generateDisappearingVisibleMessage
|
2 years ago |
William Grant
|
6941682173
|
test: started updateExpireTimer
|
2 years ago |
William Grant
|
12a29f718a
|
feat: updateExpireTimer arg shouldCommitMessage
when testing we dont want to commit the timer update message
|
2 years ago |
William Grant
|
4971267c69
|
test: finished checkForExpireUpdateInContentMessage
|
2 years ago |
William Grant
|
5fbed0a5f6
|
test: function for generating disappearing messages
|
2 years ago |
William Grant
|
02f1645226
|
fix: resolved lint errors for hasDefinedProperty
part of the protobuf utils
|
2 years ago |
William Grant
|
6f78de0ed3
|
feat: made ExpirationTimerUpdate type
|
2 years ago |
William Grant
|
a1797e73d4
|
fix: remove unneeded comment
|
2 years ago |
William Grant
|
b280358081
|
test: finished changeToDisappearingMessageType tests
the last commit was actually for changeToDisappearingConversationMode
|
2 years ago |
William Grant
|
769808bd5c
|
test: finished changeToDisappearingMessageType tests
|
2 years ago |
William Grant
|
a9d1abbfff
|
test: finished setExpirationStartTimestamp tests
|
2 years ago |
William Grant
|
3a930eb323
|
test: start setExpirationStartTimestamp
tested different modes
|
2 years ago |
William Grant
|
6379226410
|
feat: added isValidUnixTimestamp
|
2 years ago |
William Grant
|
cc0ef3502f
|
feat: setup test outline for disappearing messages
|
2 years ago |
William Grant
|
34940adda9
|
feat: backported user_profile test
|
2 years ago |
William Grant
|
9603a64f43
|
fix: messages are now vertically spaced correctly
|
2 years ago |
William Grant
|
dacac64b11
|
fix: messages are now the right way up
I have broken the reverse flexbox
|
2 years ago |
William Grant
|
ca7983caac
|
fix: align expire timers with the member avatars
in groups
|
2 years ago |
William Grant
|
d3fb2d9546
|
fix: removed public-chat-message-wrapper padding
|
2 years ago |
William Grant
|
9cd85a47af
|
feat: move padding globally to the messages list
we dont want individual padding on each message type
|
2 years ago |
William Grant
|
851cd2bd59
|
fix: timer alignment for group update
|
2 years ago |
William Grant
|
b74b0c2cf9
|
fix: timer alignment for data extraction notifications
|
2 years ago |
William Grant
|
ca97420c86
|
fix: timer alignment for timer notifications
|
2 years ago |
William Grant
|
f105c39461
|
fix: timer alignment for call notifications
|
2 years ago |
William Grant
|
29b2f713f1
|
fix: timer alignement for group invitation
|
2 years ago |
William Grant
|
31c0b9ec70
|
fix: timer position for GenericReadableMessages
still need to do other messages
|
2 years ago |
William Grant
|
d7e296841e
|
fix: remove alignment from ExpirableReadableMessage
improved alignment of timer by moving into the MessageContentWithStatus
|
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
|
37bdd08aca
|
fix: correct getter region comments
|
2 years ago |
William Grant
|
101762918c
|
Merge branch 'unstable' into userconfig_disappearingmessage
|
2 years ago |
William Grant
|
caf39d661c
|
feat: commit disappearing remote changes to db
|
2 years ago |
William Grant
|
27a634b268
|
feat: updateExpireTimer now returns success
we use this to decide on commiting updates from sync messages to the db
|
2 years ago |
William Grant
|
5b7afe0a29
|
fix: disappear synced settings updates
need to trigger the expirationStartTimestamp manually
|
2 years ago |
William Grant
|
674cda3278
|
fix: sync legacy mode in single mode before V2
for NTS and closed groups we want to set the expirationMode to legacy
|
2 years ago |
William Grant
|
bb646ed3b9
|
refactor: replaced get expirationTimerUpdate calls
with getExpirationTimerUpdate
|
2 years ago |
William Grant
|
0dcf48be16
|
refactor: replaced get expires_at calls
with getExpiresAt
|
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
|
1861131ce2
|
refactor: replaced get lastDisappearingMessageChangeTimestamp calls
with getLastDisappearingMessageChangeTimestamp
|
2 years ago |
William Grant
|
712a1e92e4
|
refactor: replaced get hasOutdatedClient calls
with getHasOudatedClient
|
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
|
da869bfdd3
|
refactor: rename hook
useconversationusernameorshorten to usenicknameorprofilenameorshortenedpubkey
|
2 years ago |
William Grant
|
dfe0f6866a
|
fix: conversationheadertitle shortens pubkey
|
2 years ago |
William Grant
|
bea539e669
|
feat: when v2 is released migration legacy convos
use the default mode and timer value for the convo type
|
2 years ago |
William Grant
|
c4cc18ad2e
|
feat: dont expire messages that fail to send
|
2 years ago |
William Grant
|
fd73787192
|
feat: anyone in a group can change the setting
before the v2 release
|
2 years ago |
William Grant
|
251f2e1d37
|
fix: single mode is off by default
|
2 years ago |
William Grant
|
38a8012e10
|
refactor: providedexpirationtype to provideddisappearingmode
|
2 years ago |
William Grant
|
029db2d73f
|
refactor: useselectedconversationexpirationtype to useselectedconversationdisappearingmode
|
2 years ago |
William Grant
|
a484011acb
|
refactor: changetodisappearingmessageconversationtype to changetodisappearingconversationmode
|
2 years ago |
William Grant
|
515805b94d
|
fix: messages are no longer randomly deleted
forgot to expire only unread disappearing messages and not all messages
|
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
|
cd2f51684d
|
refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype
|
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 |
William Grant
|
93b450ce56
|
feat: hit expire endpoint for read messages
for now it will hit the expire endpoint twice
|
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
|
238a16149d
|
fix: we can trust the read start from libsession for expirationTimerUpdates
therefore we don't need to update the read status explicitly
|
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
|
475807c4ae
|
fix: remove redundant start timestamp start in read receipts
|
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 |
William Grant
|
3b0d5f55e7
|
feat: added get_expiries typings
|
2 years ago |
William Grant
|
9e21f459dd
|
feat: started get_expiries work
signature now generates and renamed expire file to expireRequest
|
2 years ago |
William Grant
|
3cc155b9e8
|
feat: update the TTL with the snode expire result
|
2 years ago |
William Grant
|
ee5503585a
|
fix: comment out some unnecessary logging
|
2 years ago |
William Grant
|
32b7870e07
|
feat: make sure to use ms for the expireTimer
expireTimer on the model is in seconds so we need to convert it
|
2 years ago |
William Grant
|
7f68107738
|
feat: added retry logic to expireMessageOnSnode
|
2 years ago |
William Grant
|
ae15275206
|
feat: adding proper typings to snode expire code
I dont think the expire value returned is correct, needs debugging
|
2 years ago |
William Grant
|
f2dbcfa305
|
feat: use SubRequest typings for expireOnNodes
created request builder, added logging for now to test
|
2 years ago |
William Grant
|
a2185625c8
|
fix: use TTL_CONFIG in retrieve request
also some comment cleanup
|
2 years ago |
William Grant
|
b5bf6be691
|
fix: show durations for constants on hover
for TTL_DEFAULT and SWARM_POLLING_TIMEOUT
|
2 years ago |
William Grant
|
f045562a33
|
fix: use updateExpireTimer for UserProfile
before we were setting the convo values directly
|
2 years ago |
William Grant
|
8ec6fb9fd7
|
feat: added new save icon
updated DataExtractNotification and Lightbox download icons
|
2 years ago |
William Grant
|
ca944298e0
|
fix: group invitation timer alignment
updated data extraction notification design. Just waiting on icon from ios
|
2 years ago |
William Grant
|
c33eef0162
|
fix: sync messages now expire in 1on1s
fromConfig has been removed from updateExpireTimer
|
2 years ago |
William Grant
|
631c677a24
|
fix: trigger expiry for outgoing sync messages
|
2 years ago |