Commit Graph

4929 Commits (5921251147e31c285f4fad518939d817b9862e0f)

Author SHA1 Message Date
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
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
keejef 8f2a41bc13 feat: Allow enter to break line in settings
https://github.com/oxen-io/session-desktop/issues/1486
2 years ago
William Grant 60aac9be85 fix: regular messages correctly sync again 2 years ago
William Grant 17f8431f59 fix: canBeDeleteAftereSend in messagejob was wrong 2 years ago
William Grant ec81805745 fix: log pipeline better 2 years ago
William Grant 00ef4a47a2 fix: outgoing content messages can have an equal changetimestamp 2 years ago
William Grant 7c6e6c981a fix: make sure to note sent another message
in all remote cases
2 years ago
William Grant e8e3ba142e fix: added isOutdated prop to expireUpdate
ignores duplicate setting messages
2 years ago
William Grant 07097b029d fix: don't send sync messages for outdated changes 2 years ago
William Grant 3d8a664da9 fix: ignore equal lastMessageChangeTimestamps 2 years ago
William Grant 3ba1baaa67 fix: single mode value should be off
if disappearing messages isnt on
2 years ago
William Grant ab13f39a10 fix: newlines for logging 2 years ago
William Grant 50f144a8c3 fix: improved logging
made some progress with fixing things but other things broke
2 years ago
William Grant 3d2c1fbe78 fix: single mode should show the correct timer values
if a mode is invalid we return no timer options
2 years ago
William Grant c24487b938 fix: deleteAfterSend now works in private convos again 2 years ago
William Grant ad21d198cf feat: outdated banner now shows specific messaging for synced messages 2 years ago
William Grant 710da30594 feat: shouldDisappearButIsntMessage is now a function
result is added to the expireUpdate and improves outdated client checking logic
2 years ago
William Grant a65f02a807 feat: use checkForExpireUpdateInContentMessage on sync messages 2 years ago
William Grant 617bcc670b feat: added temp set feature for testing 2 years ago
William Grant 94d8697a29 fix: whitespace in comment 2 years ago
William Grant 6c47fd274f fix: show disappearing messages subtitle in convo header
when it is toggled on
2 years ago
William Grant b88842b687 feat: tested v2 releas
made some updates to expire update generation and handling, one final fix required
2 years ago
William Grant c93315b0e7 fix: make sure lastDisappearingMessageChangeTimestamp is defined before comparing with convo model 2 years ago
William Grant e00ea8d55f fix: make sure disappearing messages is the first item in the conversation header subtitle 2 years ago
William Grant f2a3f51250 fix: cleanup 2 years ago
William Grant bb6eb3e84e feat: fixed 1-1s and added more logging 2 years ago
William Grant 6031db308d fix: disappear messages from other platforms correctly
some platforms use the convo settings and dont include info the dataMessage before the v2 release
2 years ago
William Grant 58331209c7 fix: closed groups works correctly now
I think
2 years ago
Ruben Garcia e5b7ca4d07 fix: yarn ready 2 years ago
Ruben Garcia 87e85c3cbb fix: pass index down so attachments with no name get the proper suffix 2 years ago
Ruben Garcia af9f6c7586 docs: tab to spaces 2 years ago
Ruben Garcia a992dd17c9 Merge branch 'clearnet' into RenameMultipleAttachments 2 years ago
William Grant d923a0d611 feat: closed groups state now starts correctly 2 years ago
William Grant 2a05185138 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann fbbb67ea47
Merge pull request #2906 from Bilb/fix-emoji-react-syncing
fix: use network time for emoji reacts syncing
2 years ago
Audric Ackermann 1bdd8ca64c fix: menu positioning after upgrade of dep 2 years ago
Audric Ackermann 592d1f010f fix: use network time for emoji reacts syncing 2 years ago
Audric Ackermann c0ce1ede5b chore: add note for save as logic 2 years ago
Audric Ackermann 9199c7b529 fix: fix save as menu item + bump react-contexify to 6.0.0 2 years ago
William Grant e8c927f580 feat: setExpirationStartTimestamp uses DisappearingMessageConversationType
easier to manage starting a legacy disappearing message and always pass expiration type and timer
2 years ago
Audric Ackermann e98c9720c8 fix: fix synced messages sometimes not appearing 2 years ago
William Grant 82bb74a9df fix: header subtitle correctly supports legacy again 2 years ago
William Grant 0e0984748a fix: timer direction appears correctly on messages 2 years ago
William Grant 85f270b67a Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 9d8cca1970 feat: convert between conversation and message model disappearing modes in key locations
remove disappearing messages from convo header context menu
2 years ago
Ruben Garcia 6ac328f0c3 Merge branch 'clearnet' into RenameMultipleAttachments 2 years ago
William Grant b1bbcd1a38 fix: cleanup legacy groups 2 years ago
William Grant b14d05e0b2 feat: fix missing update for private conversations 2 years ago
William Grant deceae4119 feat: disappearing messages setting now sync correctly in user config
we also load the visible control message, added back a lot of WIP logging while we are testing
2 years ago
William Grant 60e5503e6a feat: check for v2 release correctly on startup
improvements to creating and updating closed groups with disappearing message settings
2 years ago
Audric Ackermann 1b73112294 fix: make sure we scale image before trying to compress it 2 years ago
William Grant 250e593831 fix: make sure migration still added database columns changes even if the user isn't logged in 2 years ago
Audric Ackermann 0c611170b2
Merge pull request #2885 from oxen-io/unstable
Unstable to clearnet
2 years ago
Audric Ackermann 70b220400c
Merge pull request #2869 from Bilb/feature/ses-476/remove-profile-picture
Feature/ses 476/remove profile picture
2 years ago
Ruben Garcia 1b91d84b09 Changes to save multiple attachments in same message with a different name. 2 years ago
William Grant 48b1dd4d95 fix: resolve useEffect memory leaks in header title component 2 years ago
Audric Ackermann 95ac1492b5 fix: call function to upload avatar
am a dumbass, will help with dumbassing
2 years ago
William Grant c067ac9fc4 fix: simplified legacy support in conversationheadertitle 2 years ago
William Grant 60b75a8ddf feat: remove unlockNewModes from OverlayDisappearingMessages
use isDisappearMessageV2FeatureReleasedCached to set the mode to legacy strictly in the UI, created resolveLegacyDisappearingMode to change the legacy mode into the default mode for a conversation
2 years ago
William Grant cc63887273 fix: remove final instances of legacy type not in UI
fixed closed groups being deleteAfterSend incorrectly
2 years ago
William Grant ff19c95a92 fix: remove using legacy as a string for disappearing messages except in the UI
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
William Grant 82e396dca6 feat: remove useEffect on right panel and use hook for checking is v2 is released 2 years ago
William Grant bfc073ef70 fix: eslint warning in syncutils 2 years ago
Audric Ackermann 539eeb19cb fix: background of msgbox with long display name 2 years ago
Audric Ackermann 5c64c54ed6 fix: admin actions for sogs on msg click 2 years ago
William Grant 37676e5666 fix: making progress with group migration
still getting overriden on render
2 years ago
William Grant 45cfa6b38b feat: fixed groups migration v34 2 years ago
William Grant 4aba2493e5 fix: remove convo volatile update from v34 migration since it's not related to disappearing messages 2 years ago
William Grant 03c0d74820 feat: migrations works correctly for private conversations 2 years ago
Audric Ackermann ada549788c fix: rtl support for registration screen too 2 years ago
Audric Ackermann 73070d4e0e fix: trim pubkey before starting a convo with them
Fixes #2868
2 years ago
Audric Ackermann 9d4201aa95 fix: void rather than eslint disable 2 years ago
Audric Ackermann bc081df17d Merge branch 'unstable' into feature/ses-476/remove-profile-picture 2 years ago
William Grant da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 88a87903cb feat: updated UserConfigDump functions to support any variant config dump for migration 34 2 years ago
William Grant 22e9e6bb44 feat: started working on disappearing messages migration 34
note to self and private conversations are mvp, still some initial cleanup todo
2 years ago
William Grant b556d2bc54 feat: updated migration 33 to use a new migration style to prevent typing issues with future versions of libsession 2 years ago
Audric Ackermann bee00157ef Merge remote-tracking branch 'yougotwill/feature/ses-379/composition-rtl-support' into feature/ses-379/composition-rtl-support 2 years ago
William Grant b00f7283e8 feat: updated migration 31 to use a new migration style to prevent typing issues with future versions of libsession 2 years ago
William Grant 6af27d85de feat: moved non libsession migration util functions into a separate file 2 years ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann e3b6be7318 chore: fix typos
this comes from mdplusplus https://github.com/mdPlusPlus/session-desktop/tree/codespell

duplicated to fix conflicts
2 years ago
Audric Ackermann 1dd61aabeb fix: hide public admin actions on non public chats 2 years ago
Audric Ackermann 3c8ab8906a chore: add featureFlag for integrationtestenv derived from process.env 2 years ago
Audric Ackermann e1d8b09c81
Merge pull request #2854 from Bilb/add-block-sogs-msg-requests
Add block sogs msg requests
2 years ago
Audric Ackermann c60cfd8669 fix: emoji-mart update breaks native emoji fetch, use SearchIndex 2 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 2 years ago
Audric Ackermann cce1e89cdf fix: fallback to roboto if Loor does not have glyphs 2 years ago
William Grant a25d94fa6c fix: moved disappearing messages migration to a separate file
updated note to self function calls in the user config wrapper
2 years ago
William Grant 4d77b1c6d0 fix: added proper typing when fetching a dump to update it 2 years ago
William Grant ff27913b66 fix: migration started and working for note to self for user config
updated libsession to use setExpiry and getExpiry since we can't add new arguments to the getUserInfo and setUserInfo
2 years ago
William Grant 2a6d8a6544 feat: remove legacy from expirationType during db migration
fix migrations to work with user config changes
2 years ago
Audric Ackermann 5575d3cdbe chore: add datatestid for h5audioplayer 2 years ago
William Grant 7342488689 fix: conversation header subtitles rerender on every loop 2 years ago
William Grant 33a6380683 fix: more lint issues 2 years ago
William Grant d794b0a0d4 fix: comment out user config disappearing messages stuff for now 2 years ago
Audric Ackermann 509dd76b49 chore: share gh actions logic between workflows 2 years ago
Audric Ackermann 2d9fb7f18a chore: remove playwright and integration tests from this repo 2 years ago
William Grant 5762342e03 fix: spaces on fixme comments 2 years ago
Audric Ackermann c796afe4c8 Merge remote-tracking branch 'upstream/unstable' into integration_tests_2 2 years ago
William Grant 20e1895a50 fix: restored getMessageExpirationProps 2 years ago
William Grant a3fd9a8a96 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 5285d4240a fix: resolved missing selected conversation hooks imports 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 4b3c31de89 Merge remote-tracking branch 'upstream/unstable' into fix/long-username-quote-author-overflow 2 years ago
Audric Ackermann 953897cc1c
Merge pull request #2840 from Bilb/replace-tslint-with-eslint
Replace tslint with eslint
2 years ago
Audric Ackermann 940c3f622a
Merge pull request #2834 from Bilb/update-electron
chore: update node version, electron and deps
2 years ago
Audric Ackermann a23f53286e fix: typing bubble relates to current conversation, not selected one 2 years ago
Audric Ackermann 63228a97ee chore: update pbjs package and make integration test more reliable 2 years ago
Emily b7e0d08a25 Adds data-testid to toggle to enable read receipts 2 years ago
Emily 7991c7eb58 adding new snapshot 2 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 2 years ago
William Grant aad3a3aba2 fix: resolved missing selected conversation hooks
still need to fix more issues
2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
William Grant 10561e4e3c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann d2bccd1076
Merge pull request #2838 from bemusementpark/add-download-link
Add download link
2 years ago
Audric Ackermann b7d444e5d5
Merge pull request #2820 from Bilb/chore/remove-unblock-group-string
chore: remove the unblockGroupToSend string as we cannot block a group.
2 years ago
Audric Ackermann fe2d5ffe6d test: fix remaining integration tests
"Check profile picture syncs" is not fixed yet as it need to be fully
updated and not just fixed (not done as part of this eslint-related PR)
2 years ago
Audric Ackermann feaba36fa4 fix: picker emoji-mart errors after update 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
William Grant 69c8bd7553 fix: revert rm to rmdirSync so we don't remove config files before a test has been completed 2 years ago
William Grant 90cf82f795 fix: revert rm to rmdirSync so we don't remove config files before a test has been completed 2 years ago
William Grant d06446441c fix: resolved macOS config folder path for integration tests
we should use path.join instead of a hard strings for the application support folder
2 years ago
Audric Ackermann 49955a3947 chore: update node version, electron and deps 2 years ago
William Grant 5d73e4e0f1 fix: updated avatar to correct image 2 years ago
Audric Ackermann 0ea6f01b7f test: fix update profile picture snapshots
- loop until match when validating screenshot
- wait 15s and take screenshot when updating screenshot
2 years ago
William Grant ed2a372ca3 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
William Grant 853c9a2107 feat: fixed integration tests
except for linked device profile sync, need to update avatar-update-blue files for linux
2 years ago
William Grant 41d2760927 fix: removed duplicate imports and ordered localised keys 2 years ago
William Grant cb2328bcd0 fix: icon path typing error 2 years ago
William Grant 69a50cdcc8 fix: sort localised keys generated by updateI18nKeysType 2 years ago
William Grant 534080ddd7 fix: compressed and flattened thumbail svg path 2 years ago
William Grant 7cc5cd0440 fix: EditProfilePictureModalState should be camel case 2 years ago
William Grant 178ea03af7 fix: cleanup 2 years ago
William Grant b00eb52d35 fix: pass yarn ready 2 years ago
William Grant 977dbea9dc refactor: rename DisplayPictureModal to EditProfilePictureModal 2 years ago
William Grant b2c473c489 fix: rename oldAvatarPath to avatarPath for clarity 2 years ago
William Grant 49b4a28ef5 fix: moved all avatar logic from editProfileDialog to DisplayPictureModal 2 years ago
William Grant 3a0b7d1c72 feat: added upload image button if user doesn't have an avatar set 2 years ago
William Grant c301eace48 feat: added proper typings to icons and added thumbnail icon
confirmed support for svgs with multiple paths
2 years ago
William Grant b59f1bf445 feat: desktop now supports avatar being removed via sync configuration message
disabled buttons while loading
2 years ago
William Grant 84d3d5b1b4 feat: small refactoring 2 years ago
William Grant cb7c36e2e6 feat: initial remove profile work done 2 years ago
William Grant 88587a203d feat: added button state logic and migrated avatar upload logic from EditProfileDialog
show loading spinner while avatar is loading
2 years ago
William Grant ebeaec2080 feat: initial work for set display picture modal done
still need to do logic and handle multiple modals on screen
2 years ago
William Grant a9e8862c0a feat: convered EditProfileDialog to a functional component 2 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 83c7de8b88 test: fix test with feature flag userconfig off for now 2 years ago
Audric Ackermann b4482ec2d4 fix: enable userconfig release to be 31st July
31st July, 10am Melbourne time
2 years ago
Audric Ackermann 77acd1396b feat: add support for blinded25 receipt of messages for later impl 2 years ago
Emily 5e2e3840cf Changing tests names to match appium 2 years ago
Audric Ackermann 0e5ca3f731 chore: remove the unblockGroupToSend string as we cannot block a group. 2 years ago
Audric Ackermann 9261408738 fix: ellipsis when author is too long for quote or authortext 2 years ago
Audric Ackermann 97647d4dc7 fix: padding for messagebox + onclick drop while selecting msgs 2 years ago
Emily e7709b3f7c Merge branch 'integration_tests_2' of github.com:burtonemily/session-desktop into integration_tests_2 2 years ago
Emily a00bca03a7 delete account from stash 2 years ago
Audric Ackermann 959c494cfb Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Emily 0e588cf045 Adding new function to check if element is deleted and wait for deletion if not 2 years ago
William Grant c08dcc7ec6 fix: when we receive and make a quote message do an in-memory lookup before looking in the db
this can fix original message not found  errors when there are lot of unread messages and one of them is quoted
2 years ago
Audric Ackermann ec620d06f7
Merge pull request #2810 from Bilb/fix-userconfig2
fix for userconfig PR 2
2 years ago
Audric Ackermann 07616eb674 fix: avatar placeholder instead of grey circle when not enough members 2 years ago
Audric Ackermann 8c6f17fc33 fix: single sha512 of pubkey per pubkey for avatars 2 years ago
Audric Ackermann c6d86d25d8 fix: cleanup closed group avatar logic 2 years ago
Audric Ackermann 6be95b7177 fix: notif settings in list item convoId from contextprovider 2 years ago
Audric Ackermann b5f85e029e test: fix integration tests except disappearing message one 2 years ago
William Grant e232eadf91 fix: message spacing after fixing audio message shadow 2 years ago
William Grant d888999543 fix: use StyledMessageHighlighter in MessageAttachment only when it is rendered 2 years ago
William Grant 01ae43d7d0 feat: moved H5AudioPlayer SASS to styled components 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann de41988215 fix: typo on no audio output on speaker toggle 2 years ago
Audric Ackermann 5d323fa155 fix: give conversationId to convo list so the order is tracked
otherwise, a change of pinned conversation does not retrigger a render,
and the pinned conversation does not get pushed to the top
2 years ago
Audric Ackermann 1c7a26b65e fix: index typo in loop for thumbnail download 2 years ago
William Grant 41b488a71e feat: dont show your pubkey in community quotes 2 years ago
William Grant 62c5ebb1fc fix: processQuoteAttachments correctly updates attachment thumbnails when downloading them 2 years ago
Audric Ackermann 83a8adf033 fix: decrease retry timer of confsyncjob to 15s
- we need a rather long duration so we don't add a new job while was is
already planned to be runned, and they end up both running at the same
time.
- we also need a not too long duration for integration tests and UX
  experience, as a change could take the retry timeout to happen+polling
timer to happen, which used to be 40s total.

This brings that time to worse time change from 40 to 25s
2 years ago
Audric Ackermann 4966cf9192 fix: a few integration tests broken with latest changes 2 years ago
wafflesvsfrankie 53558932a7
Merge branch 'oxen-io:clearnet' into integration_tests_2 2 years ago
Emily 15b53cab06 delete account 2 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 2 years ago
Audric Ackermann dcdbc07195 fix: delete actions for admins on communities 2 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 1d9279c79c chore: merge conversation selectors into a single file
as the circular dependency was causing a createSelector called with
undefined issue on startup without user loggedin
2 years ago
Emily 75addecb07 Adding test to delete account from device 2 years ago
Emily 91b84c5608 Adding test to delete account from device 2 years ago
Audric Ackermann adf5574318 fix: add libsession nodejs with expiretimer and resolve issues 2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 43badfa134 fix: virtualize list of search result so input typing is fast 2 years ago
William Grant 83f84c26e7 feat: changed getHTMLDirection into a util hook useHTMLDirection 2 years ago
William Grant 61149a5ca3 feat: use a selector for htmlDirection and pass it down as props instead of using state
this is more inline with class component conventions
2 years ago
Audric Ackermann dc3e8450e9 fix: memoize selected conversation props to avoid unneeded rerenders 2 years ago
William Grant ac4a00d415 fix: remove unused selector 2 years ago
William Grant 266a0d6964 fix: cleaned up sendMessageStyle arguments 2 years ago
William Grant 1f1bb702c3 feat: made htmlDirection part of the compositionBox state for easier referencing
user mentions and emoji quick results now support RTL
2 years ago
Audric Ackermann 524debb307 fix: improve delete messages perfs and search logic 2 years ago
William Grant 435bdb8f8a fix: use margin-inline-start instead of margin-right 2 years ago
William Grant 0996c917f2 feat: use new methods in composition box for html direction
use dir in flexbox instead of row-reverse
2 years ago
William Grant 7be11cd973 feat: moved html direction logic into i18n util
updated Flex component with RTL support, create getWritingDirection selector
2 years ago
Audric Ackermann 4280d83ba8 fix: bump libsession to allow createdAt to be given during migration 2 years ago
William Grant 31c79f9eea feat: use LANGUAGE flag to change UI lang
needs more testing
2 years ago
William Grant 7542a42fa6 feat: started adding rtl support to composition input
updated buttons, emoji panel, @mentions
2 years ago
William Grant 0e4a628c20 feat: use getNowWithNetworkOffset instead of Date.now 2 years ago
William Grant 77bdceb409 fix: remove extra if statement when checking if a message is an interactionNotification 2 years ago
William Grant ede5fd8558 feat: removed named comments in favour of git blame 2 years ago
William Grant 5f8cb35f8a feat: make sure changes are needed before calling commit() 2 years ago
William Grant d40b2d16b8 fix: show interaction even if a user is typing 2 years ago
Audric Ackermann fed58161a0 fix: address PR reviews and optimize search results 2 years ago
Audric Ackermann 0e18bf4640 fix: disable expire timer tracking for all libsession logic
this will need to be turned on when the disappearing branch is merged
2 years ago
Audric Ackermann bec667ebee fix: remove row_number ordering when looking up message 2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
Audric Ackermann f2cddb83c8 chore: broke apart big Message selectors into smaller ones 2 years ago
William Grant 1c8ae3650e fix: pass yarn ready 2 years ago
William Grant fcadc8df07 fix: cleanup 2 years ago
William Grant 45b904ce8c feat: if we fail to leave a conversation then change to delete conversation and remove the group from the db 2 years ago
William Grant f287f9a3a4 fix: clean up and typing 2 years ago
William Grant ebf9db67a3 feat: when hiding note to self it shouldn't delete the messages
added a keepMessages option to deleteConvoInitialChecks
2 years ago
William Grant 2e7a55bad5 feat: removed delete contact option from context menu 2 years ago
William Grant f909f5d5b7 fix: close SessionConfirm modal as soon as user confirms that they want to leave a conversation 2 years ago
William Grant d782a0214e feat: dont save interaction error messages in communities 2 years ago
William Grant 7579ec98e8 feat: updated copy for interaction error messages show in a conversation 2 years ago
William Grant abfc638c2c fix: cleanup 2 years ago
William Grant e7f3bb5abf fix: if there is no last message, we still want to display the interaction status
loading state shows correctly in all cases, cleanup as well
2 years ago
William Grant 24776c0d5c feat: moved convo model interaction props into the lastMessage logic
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant 027b412fb2 feat: save conversation interaction errors to a message history 2 years ago
William Grant 68a94117a0 fix log string in interactionItem 2 years ago
William Grant b67d52382d feat: updated right panel leave button
added community leave failed text, handle leaving conversation with no name
2 years ago
William Grant 40e3a8fa72 feat: finished group and community leaving modals 2 years ago
William Grant 38c6cb0d7d feat: finished note to self and 1o1 conversation leaving and hiding 2 years ago
William Grant 1df57140ff feat: handle closed group admin separately
update confirmation action to use leave text, left code for the closed groups rebuild
2 years ago
William Grant ad08372f2a feat: added headerReverse prop to SessionConfirm modal
adjusted styling and rendering of confirmation text and sub text
2 years ago
William Grant 9cd95bbcf1 fix: remove AdminLeaveClosedGroupDialog
added new leave group dialog strings
2 years ago
William Grant de614109d0 feat: added lastMessageId to convo model to uniquely identify a lastMessage 2 years ago
William Grant 30b486c80e feat: clear converation interactions if a new message appears in a chat
currently on checks text we need it to be more unique
2 years ago
William Grant 45ed2d5c05 fix: rename useConversationInteractionState to useConversationInteractionPropsById
extracted useLastMessageFromConvo to param selectors and renamed to useLastMessage, moved InteractionItem into MessageItem
2 years ago
William Grant 96fcbf1345 feat: added start enum to interaction status
improved error handling, consolidated types
2 years ago
William Grant 454e382ce4 feat: moved interaction logic to use conversation model
added fail text color to interaction item
2 years ago
William Grant 8a7007e7c3 feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
still to to port the original modal checks to use thd convo props
2 years ago
William Grant c492fad4ee feat: added support for tracking the confirmation process status and its type
attempting to show this status inside of the ConversationListItem message section, show confirmation modal when leaving private chats
2 years ago
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 2 years ago
Audric Ackermann d970887caa fix: bring back notification submenu to both context menu 2 years ago
Audric Ackermann 0fa58a5654 chore: fix compilation issues after conflicts resolution 2 years ago
wafflesvsfrankie 7af44151bf
Merge branch 'oxen-io:clearnet' into integration_tests_2 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
William Grant f5d0530d7a fix: account for misalignment of messages that are not last in a series in a 1o1 2 years ago
William Grant 712259ddef fix: resolved incoming message alignemnt in 1o1 conversations
there is never an avatar so we should never render it
2 years ago
Emily df56f0cdbf Adds in hardcoded accessibility ids for automated tests 2 years ago
William Grant f87995a375 fix: replaced Number() casting to toNumber
fixed edge case of local db search for quotes lookup
2 years ago
William Grant 321ce003f6 fix: updated quotes lookup explanation comment 2 years ago
Audric Ackermann b52ba0c934
Merge pull request #2779 from Bilb/onboarding-with-integrationtest-2
userconfig with integrationtest update
2 years ago
Emily cda3007702 Adding accessibility ids into types, fixing disappearing messages and deleting from swarm test 2 years ago
William Grant b91388a672 fix: SES-585 when the app is not focused message quotes now load correectly
we now look up the existing messages in memory if not found in the quote lookup map, we also allow jumping to messages quoted but not yet stored in memory
2 years ago
Audric Ackermann 5a5f069cca fix: add tracking of expiration timer for nts through libsession 2 years ago