Commit Graph

4937 Commits (a83e44e18393967a979a5474d3dc041460717f94)

Author SHA1 Message Date
Audric Ackermann c7838952d7 fix: update redux mostRecentMessageid anytime a message changes/added 2 years ago
Audric Ackermann 5fc234ee16 fix: expiration update to off expire with previous expiration settings 2 years ago
Audric Ackermann b2d22b2a73 fix: hide known message status except for last message 2 years ago
Audric Ackermann 615722434b feat: merge expiring stopwatch and messagestatus together 2 years ago
Audric Ackermann 00f93a2754 fix: send sync message with the expireUpdate if provided 2 years ago
Audric Ackermann c1222a748d fix: handle dataextraction notification even if read receipts are off 2 years ago
Audric Ackermann 99c231c698 fix: allow answered&missed call notification to disappear after read 2 years ago
Audric Ackermann 9058ed475d fix: force text to black for noticebanner light theme 2 years ago
Audric Ackermann 0b08a0399b fix: datatestIds cannot have spaces 2 years ago
Audric Ackermann 596d443ae8 chore: datatestid cannot start with a digit (I told you so) 2 years 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
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
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
Audric Ackermann d7608c42b6 feat: add building and sending of invite messages 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 6ed74c9807 feat: move profile details of group invite to use the one in dataMsg 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
Audric Ackermann e2801915ef chore: cleaned up window.d.ts 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
Audric Ackermann dbe94f2293 feat: added strings for groupv2 control message and components for them 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
Audric Ackermann c9b2d69a73 fix: remove all of the ConfiguratioMessage (legacy) logic 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
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
Kee Jefferys b8ef827e62 fix: update usage of string and bool in radio group 2 years ago
Audric Ackermann df3a188074 fix: address PR reviews 2 years ago
Kee Jefferys 143753566d feat: alias saved messages with note to self 2 years ago
Audric Ackermann ed16e9b500 Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk1 2 years ago
Audric Ackermann 28d99a0f52 chore: lint 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
Audric Ackermann 0b4f9b2c97 chore: rename useSelectedisNoteToSelf to useSelectedIsNoteToSelf 2 years ago
Audric Ackermann b0e38670ab chore: rename all groupv3 to groupv2 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
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 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
Audric Ackermann 2ee4cad33e chore: move mocha config to .mocharc.yml to package.json is cleaner 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
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 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
Audric Ackermann 9492fdc51e fix: first working test ios to desktop
still have some tests to fix
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
Audric Ackermann ceffa1e13b test: add tests for pendingchangesforus 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
Audric Ackermann d134da3421 chore: renamed ConfigurationSyncJob to UserSyncJob 2 years ago
William Grant 8d87779554 chore: remove unneeded stubWindowLog calls 2 years ago
Audric Ackermann eb77c50fa9 chore: renamed GroupConfigurationJob to GroupSyncJob 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
Audric Ackermann c14276200e chore: merged what can be between user and group sync job 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
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
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
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 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
Audric Ackermann 6b3adff972 test: added a (still broken) test for key conflicts 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
Audric Ackermann e24ec9e1a8 test: added tests for metagroup members wrapper 2 years ago
Audric Ackermann cf44ea1da1 test: added tests for group info get/set 2 years ago
William Grant bb646ed3b9 refactor: replaced get expirationTimerUpdate calls
with getExpirationTimerUpdate
2 years ago
Audric Ackermann 9cf5d4d7c5 test: add unit tests for encrypting/decryption groups messages 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