Audric Ackermann
19e9e0311e
feat: add cleanup of old expire update in history
...
we only keep one from each sender
1 year ago
Audric Ackermann
543c80bbe3
fix: add most of new designs (own setting) for disappear v2 messages
1 year ago
Audric Ackermann
46bd4c218d
fix: drop support for argon2 based ons
1 year ago
Audric Ackermann
ad9fa6dbee
chore: remove lastChangetimestmap and add explciit expiretype and type
...
on the messages creation
1 year ago
Audric Ackermann
d1068983bb
fix: broken state adding lastDisappearingMessage to chatmsg
1 year ago
Audric Ackermann
23998065ea
fix: address PR reviews
1 year ago
Audric Ackermann
e198d7a640
fix: do not auto switch to non-legacy on overlay opening
...
when v2 is released we don't want to auto switch the overlay right panel
anymore
1 year ago
Kee Jefferys
939f8cac43
fix: resolve issues brought on by merge conflict
...
Fix conflict merge issue
fix: missing bracket
1 year ago
Kee Jefferys
cf49839bde
Merge branch 'unstable' into follow-system-theme
1 year ago
Audric Ackermann
f65895f013
Merge pull request #2955 from KeeJef/settings-update
...
feat: Allow enter to break line in settings
1 year ago
Audric Ackermann
328493ace6
feat: filter out sub 60s options for expiretimer when packaged app
1 year ago
Audric Ackermann
f10a20a2ea
fix: legacy group invite do not expire
1 year ago
Audric Ackermann
8f99e82935
fix: glitch of background with crownicon and css translate
1 year ago
Audric Ackermann
88df8c2426
Merge pull request #2960 from KeeJef/alias-saved-messages
...
feat: Allow to find "Note to Self" conversation with "saved messages"
1 year ago
Audric Ackermann
4cbc452f26
fix: avatar style for incoming messages in groups
...
had to refactor a fair bit, but well...
1 year ago
Audric Ackermann
8fa9b80fad
fix: made the saved media notification a bubble
...
as it is not pretty otherwise
1 year ago
Audric Ackermann
6e4052c4ab
fix: fix typo pushing new messages to redux store
1 year ago
Audric Ackermann
7d5b660bc1
fix: start timer on message even if message already exists
1 year ago
Audric Ackermann
c7838952d7
fix: update redux mostRecentMessageid anytime a message changes/added
1 year ago
Audric Ackermann
5fc234ee16
fix: expiration update to off expire with previous expiration settings
1 year ago
Audric Ackermann
b2d22b2a73
fix: hide known message status except for last message
1 year ago
Audric Ackermann
615722434b
feat: merge expiring stopwatch and messagestatus together
1 year ago
Audric Ackermann
00f93a2754
fix: send sync message with the expireUpdate if provided
1 year ago
Audric Ackermann
c1222a748d
fix: handle dataextraction notification even if read receipts are off
1 year ago
Audric Ackermann
99c231c698
fix: allow answered&missed call notification to disappear after read
1 year ago
Audric Ackermann
9058ed475d
fix: force text to black for noticebanner light theme
1 year ago
Audric Ackermann
0b08a0399b
fix: datatestIds cannot have spaces
1 year ago
Audric Ackermann
596d443ae8
chore: datatestid cannot start with a digit (I told you so)
1 year ago
Kee Jefferys
7f30ed561b
fix: update usage of undefined
2 years ago
Kee Jefferys
5571471bbe
fix: update selector usage and theme checking code
2 years ago
William Grant
78ecefa696
fix: off control msgs expire on the last setting
2 years ago
Audric Ackermann
45e118ae1b
feat: use multi value to know if disappear_v2 is live or nah
2 years ago
Kee Jefferys
ccd430bf0c
fix: commit untracked theme.ts
2 years ago
Kee Jefferys
358e95621d
fix: refactor and move various functions
2 years ago
Audric Ackermann
1a53f699b4
Revert "fix: move right panel buttons to a panelbuttongroup"
...
This reverts commit e6dd6844f9
.
2 years ago
Audric Ackermann
42ec717851
fix: send extraction notification even if read receipts is off
2 years ago
Audric Ackermann
f796c59cef
chore: add missing accessibilityIds for menu buttons/radio
2 years ago
Audric Ackermann
9cc37cc0e7
fix: outgoing start call notification timer start on after read
2 years ago
Audric Ackermann
e6dd6844f9
fix: move right panel buttons to a panelbuttongroup
...
also enforce a 300 min width for the right panel, otherwise the bloaded
disappearing message design is not looking good
2 years ago
Audric Ackermann
8872ccf7fe
chore: disappear feature switch based on env variable for QA
2 years ago
William Grant
461a23337f
fix: alignment message correctly in detail view
2 years ago
William Grant
b731774ac7
fix: use correct values for legacy mode
...
fix datatestid on generic message
2 years ago
William Grant
5b832f9f4f
fix: message status displays correctly
2 years ago
William Grant
8195116fb2
chore: confirmed duration functions work
2 years ago
William Grant
f64f88c013
feat: new useDisappearingMessageSettingText hook
...
fixed styling on panel components
2 years ago
Kee Jefferys
2fe29ca30e
feat: implement setting to follow system theme
...
feat: check theme congruence on startup and on native theme update
fix: make toggle and startup following work
fix: should return here, but this breaks things
2 years ago
William Grant
2631b93199
feat: load OverlayMessageInfo
2 years ago
William Grant
0bb72fc1a1
feat: updated getPropsForMessageDetail
...
attachments now have fileSize, url and screenshots and removed contacts
2 years ago
William Grant
55337ebd4d
feat: improved dotmenu
2 years ago
William Grant
1f52b9620b
feat: wip work
2 years ago
William Grant
c9a8ea2b81
feat: removed MessageDetails and added MessageInfo
...
added other components
2 years ago
William Grant
3bf3bf73b1
feat: updated MessageContent with nested components
2 years ago
William Grant
7f4475c975
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
William Grant
0f05b24c86
chore: bump libsession_util_nodejs to v0.3.0
2 years ago
William Grant
22b0ab5f2f
feat: updated panel buttons
...
add params to panel state to be used in future, not tested yet
2 years ago
William Grant
537897dedb
feat: added duration to media attachments
...
added showLightboxFromAttachmentProps for future use
2 years ago
William Grant
c0cfe153c6
feat: image comp supports string dimensions
2 years ago
Kee Jefferys
36adbaa71e
fix: update any to void
2 years ago
William Grant
a37c8eaf13
fix: merge now returns good hashes
...
we calc the latestEnvelopeTimestamp and use for disappearAfterRead
2 years ago
Kee Jefferys
b8ef827e62
fix: update usage of string and bool in radio group
2 years ago
Kee Jefferys
143753566d
feat: alias saved messages with note to self
2 years ago
Audric Ackermann
67f569e9e3
Merge pull request #2917 from RubenGarcia/RenameMultipleAttachments
...
Rename multiple attachments
2 years ago
Ruben Garcia
916babb9d0
fix: requested changes by Bilb
2 years ago
William Grant
0cbdd5631b
fix: alignment for group messages with no avatar
...
this happens with multiple incoming messages
2 years ago
William Grant
b1d604236e
fix: no any in useSelectors
...
for getMessageAttachmentProps and getIsMessageSelected
2 years ago
William Grant
973845b7c6
fix: comment note casing
2 years ago
William Grant
5d98ff6e8b
test: replace any with ConversationAttributes
...
on convo constructor args
2 years ago
William Grant
0796460d57
fix: comment typos
2 years ago
William Grant
04c3f69398
refactor: export functions from an object for stubbing
...
for disappearing messages index file
2 years ago
William Grant
c644c644c9
fix: explicitly set isCentered
2 years ago
William Grant
bb6e09de0a
feat: cleaned up wip logs
2 years ago
William Grant
9fb67f20c2
refactor: moved getMessageExpirationProps
...
into useParamSelector since it is only called there
2 years ago
William Grant
058ab3ea7e
fix: remove unneeded handleSetTime
...
in OverlayDisappearingMessages
2 years ago
William Grant
294e38fe57
feat: extra legacy useEffects into custom hooks
...
for OverlayDisappearingMessages
2 years ago
William Grant
f43dc13403
chore: made note about the hasOutdatedClient prop
...
we will remove it when we remove the legacy code
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
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
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
Kee Jefferys
6b78cc1d4b
fix: ensure default value is provided
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
Kee Jefferys
ff09d8e104
fix: disable eslint, refactor function
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
Keejef
95117afeea
fix: Refactor settings to use Redux
...
Refactor setting to use boolean which is stored in redux
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