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
|
ef50a9f7a5
|
fix: remove unneeded Boolean cast
|
2 years ago |
William Grant
|
aad55025ba
|
fix: more comment cleanup
|
2 years ago |
William Grant
|
61d349ecc4
|
fix: remove unneeded export for
writeSessionSchemaVersion
|
2 years ago |
William Grant
|
a459bff86c
|
fix: more comment cleanup
|
2 years ago |
William Grant
|
1d7380a254
|
refactor: rename expirationLength
to expirationDurationMs
|
2 years ago |
William Grant
|
386e9ef709
|
refactor: update region comments to #region
|
2 years ago |
William Grant
|
f3b4b6f862
|
refactor: isDisappearing to matchesDisappearing
cleaned up some comments
|
2 years ago |
William Grant
|
8d9fc33180
|
fix: remove unnecessary async on markReadNoCommit
|
2 years ago |
William Grant
|
7b8d1ed2f7
|
fix: replace backbone get method
for lastDisappearingMessageChangeTimestamp
|
2 years ago |
William Grant
|
ee38af12dd
|
test: restructed tests to match feature folder
|
2 years ago |
William Grant
|
5f3a0899f5
|
feat: moved remaining code into feature folder
also separated out legacy functions
|
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
|
b471900a18
|
feat: move timer options out of redux
|
2 years ago |
William Grant
|
73cceab31f
|
refactor: getDisappearingUnreadByConversation
to getUnreadDisappearingByConversation since reading causes disappearing
|
2 years ago |
William Grant
|
e66e9961e1
|
fix: use precasted variables for modes
for DisappearingMessageConversationModeType references
|
2 years ago |
William Grant
|
cafa9d80ec
|
fix: remove all unneeded tslint comments
fixed some eslint errors
|
2 years ago |
William Grant
|
851eca36e3
|
feat: use custom hook useRightOverlayMode
|
2 years ago |
William Grant
|
577278a14d
|
feat: made datatestids mandatory on readablemessages
|
2 years ago |
William Grant
|
a268aeb6d1
|
fix: type state correctly when using useSelector
|
2 years ago |
William Grant
|
f9b0ead150
|
fix: expiretimer now uses a ternary operator
|
2 years ago |
William Grant
|
c73be8aecc
|
fix: use convoId instead of convoName in dep array
for what subtitle to show when changing convos
|
2 years ago |
William Grant
|
fa263430ae
|
fix: remove else and return early
in handleRightPanelToggle
|
2 years ago |
William Grant
|
d6cc4f9c75
|
feat: use custom hook useIsRightPanelShowing
in functional components
|
2 years ago |
William Grant
|
5dbf949bf5
|
fix: styledDot key should be more specific
|
2 years ago |
William Grant
|
bb2ffff83e
|
fix: remove options menu from convo header
in favour of right panel
|
2 years ago |
William Grant
|
33f3a4208e
|
fix: cleanup NoticeBanner jsx
|
2 years ago |
William Grant
|
e5701d388d
|
fix: remove unneeded tslint comment
|
2 years ago |
William Grant
|
9b8bd6fe79
|
fix: removed noBackgroundColor from panel buttons
|
2 years ago |
William Grant
|
286418976b
|
test: updated ChatMessage with disappearing tests
for both modes
|
2 years ago |
William Grant
|
06099966b0
|
fix: make sure to use convo getters
instead of backbone get function
|
2 years ago |
William Grant
|
d89741cb29
|
test: finished insertGroupsFromDBIntoWrapperAndRefresh
|
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
|
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 |