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
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
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
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
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
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