Commit Graph

543 Commits (7b467d044d73570bf893a5c9dce56c06cfd1b8d7)

Author SHA1 Message Date
William Grant 50f144a8c3 fix: improved logging
made some progress with fixing things but other things broke
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 617bcc670b feat: added temp set feature for testing 2 years ago
William Grant 94d8697a29 fix: whitespace in comment 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 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
William Grant d923a0d611 feat: closed groups state now starts correctly 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
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 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
Ruben Garcia 1b91d84b09 Changes to save multiple attachments in same message with a different name. 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 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 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
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 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 2a6d8a6544 feat: remove legacy from expirationType during db migration
fix migrations to work with user config changes
2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 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 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann b4482ec2d4 fix: enable userconfig release to be 31st July
31st July, 10am Melbourne time
2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 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
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 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
Audric Ackermann 0fa58a5654 chore: fix compilation issues after conflicts resolution 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 2068737cdd fix: break down deleteContact based on convo type 2 years ago
William Grant f41c28a873 fix: moved feature release timestamp to constants so it only has to be defined once 2 years ago
Audric Ackermann 2c2656d545 chore: make an internal build with userconfig forced ON 2 years ago
William Grant 73ca99496d feat: added DisappearingMessageModesWithState type 2 years ago
William Grant b601c11871 fix: reverted code and updated comment on readReceipts pending qa 2 years ago
Audric Ackermann 6ac4dd8db5 fix: linking allows legacy config message if one is found 2 years ago
William Grant c6cd3671de fix: run expireUpdate handler on all messages and just return the model if there are no changes 2 years ago
Audric Ackermann 768e0e1b5f chore: enable userconfig libsession by default for testing 2 years ago
Audric Ackermann 4d0e79f195 fix: legacy group with wrapper and disable right click while searching 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
Audric Ackermann bac2887c28 fix: update with latest libsession util 2 years ago
Audric Ackermann 3cd52d5b1a fix: add currentHashes and update expiry on every poll 2 years ago
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 2 years ago
Audric Ackermann 1c48ff8a49 chore: include worker .node in addition to libsession .node 2 years ago
William Grant 42924b0c54 fix: use storage put instead of data methods so that we can track in redux
added a fix in OverlayDisappearingMessages so when v2 turns on an and the app is running a migration occurs
2 years ago
William Grant cfcf400ecf fix: cleaned up WIP logging and used the window log debug function where appropriate 2 years ago
William Grant 1d6f200d50 fix: pass yarn ready 2 years ago
William Grant 386997f233 feat: made progress on attachment deletions but can confirm 100% 2 years ago
William Grant 647e542128 feat: add comments after run through 2 years ago
William Grant f68fbb05f9 fix: resolve turning off disappearing messages empty messages in most cases
still requires more tweaking
2 years ago
William Grant 92282a5d95 feat: verify disappearing messages arent supported in communities 2 years ago
William Grant 2e6acb1f59 feat: only use timer svg for disappearing message 2 years ago
William Grant 46ab397a0f fix: read receipt messages now show expireTimer correctly 2 years ago
William Grant 4d0900844b fix: adding shorten and extend to expire rpc endpoint 2 years ago
William Grant b6c3edbac4 fix: pass yarn ready 2 years ago
William Grant e5ecff7ec3 fix: fixed legacy disappearing messages on call notifications and others 2 years ago
William Grant f7e5719eac feat: reverted bak to stage 1 2 years ago
William Grant ceeb9b790a fix: finally got all the test cases to pass!
removed misMatchedMessage and replaced with shouldDisappearButIsntMessage which is a more explicit check
2 years ago
William Grant 8dc7d48c52 feat: renamed isLegacyMessage to isLegacyDataMessage
all works except modern to modern stage 2
2 years ago
William Grant 89c70760a5 fix: refactor and works for all legacy test cases, modern to modern is broken 2 years ago
William Grant 6dd340ca6c feat: handle legacy disappearing messages more gracefully due to protobuf issues
added utility function for checking for undefined properties on a protobuf, renamed expireTimer to expirationTimer in some places
2 years ago
William Grant df40ff8855 feat: added legacy to the ExpirationType enum in the protobuf and updated support
the desktop protobuf implementation doesnt support undefined for optional enum values this is a known bug.
2 years ago
William Grant bddc018ce7 fix: updated featureReleaseTimestamps for testing purposes 2 years ago
William Grant 2f4c0114aa feat: tested new expiration modes with legacy and new clients
fixed banner logic
2 years ago
William Grant 718986c416 fix: improved feature release logic 2 years ago
William Grant 15c054a35e feat: added ability to reset the releaseFeature logic by updating the featureReleaseTimestamp 2 years ago
William Grant 80f18e9f1c feat: use correct timer options and set the defaults 2 years ago
William Grant 8117e631d0 feat: legacy mode now works for 1-1 chats 2 years ago
William Grant bd900128f4 feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
2 years ago
William Grant 4dbbada728 feat: added notice banner component
show notice when conversation is in legacy mode, extracted some UI components from the ConversationHeader, updated featureReleaseTimestamp
2 years ago
William Grant 848c97938c feat: disabled new disappearing message modes behind a timed feature release function 2 years ago
William Grant 7d0673f7f2 wip: added new legacy mode to panel, improved backwards compatibility
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
2 years ago
William Grant 5c697572a7 feat: Call Notifications now expire properlly
include the direction in the expiration props, setting the start timer doesnt directly update the model
2 years ago
William Grant ac844af691 feat: updated timer notification design and copy 2 years ago
William Grant 4ef3537a53 feat: timer notifications expire correctly when disappearing after sending 2 years ago
William Grant f36bbb9c7c feat: group invitiations now disappear 2 years ago
William Grant e34e3d4a4b fix: resolved some yarn ready issues 2 years ago
William Grant f825b74895 feat: disappearing messages are now correctly deleted from the swarm after they expire 2 years ago
William Grant d358ab2fb1 feat: fixed closed groups
improved setExpirationStartTimestamp logic
2 years ago
William Grant 996d204dc8 feat: improved syncing of timers for disappear after send 2 years ago
William Grant 4d92500b60 feat: slight improved timing of sent message expire start time 2 years ago
William Grant 6febf2859e feat: disappear after reading now works 2 years ago
William Grant 4ee440304c feat: attempted to improve the accuracy of the start timer for disappear after send 2 years ago
William Grant 22e02633a9 feat: started consolidating send and receive dm logic.
updated in parts but haven't test what happens
2 years ago
William Grant 4731139b05 feat: added default timer values for different modes 2 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 2 years ago
William Grant 0700ac4813 fix: moved disappearing message types to utils 2 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann 760642e149 feat: use the lastJoinedAt and createdAt from the wrapper 2 years ago
Audric Ackermann 027bd46ff7 fix: allow legacy config message during linking
We only handle handlethem after the new config message ones, so if there is a
shared config message on the network we will use it for the linking
process instead. The legacy one this commit is about is bound to be
removed completely and will only be used until our users have updated to
the new ones for some time.
2 years ago
Audric Ackermann b4218311b0
Merge pull request #2680 from yougotwill/save_qr_code
feat: added ability to save qr codes on click
2 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2 years ago
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 2 years ago
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2 years ago
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 2 years ago
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2 years ago
William Grant e5f1e65194 feat: added ability to save qr codes on click
recovery phrase modal ui layout is now the same as edit profile modal, fixes for yarn ready
2 years ago
mdPlusPlus 13c1b207f4 Add missing space between "PNG" and "GIF" in error message 2 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann d1cefd4729 feat: add contacts & user profile handling of incoming messages 2 years ago
William Grant 504f60cb97 fix: resolved missing reactions in open groups, fixed mutation cache logic 2 years ago
Audric Ackermann 1a65b7a7f2 feat: working calls to node module from renderer through worker 2 years ago
Audric Ackermann bace70c6bc chore: move util worker to its own folder 2 years ago
Audric Ackermann 32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
To merge once theming is done: handle deleted messages & deleted reacts all at once
2 years ago
William Grant 367c0c94d0 Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 9f1a6c6349
Merge pull request #2558 from Bilb/fix-notifications-preview-skip-already-visible-check
fix: do not deduplicate notification for previews
3 years ago
Audric Ackermann cffcbe8af9 fix: do not deduplicate notification for previews 3 years ago
Audric Ackermann 893b552ada fix: trigger redux state update manually when unblocking conversations 3 years ago
William Grant be238e2332 fix: qa feedback - notification preview works on first click 3 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 4271e66fb6 feat: add custom sound for notification so it works for Linux too 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann ad22482274 fix: add toast on rate limit hit for reactions 3 years ago
Audric Ackermann c4fcac7ddf feat: add support for audio notifications windows/macOS 3 years ago
Audric Ackermann e2c3ccef84
Merge pull request #2539 from Bilb/add-toast-react-rate-limit
fix: add toast on rate limit hit for reactions
3 years ago
Audric Ackermann 135b9cf34d fix: add toast on rate limit hit for reactions 3 years ago
Audric Ackermann 460cbce119 fix: selected message box shadow and hide button while loading DB
also fix about/debug window first showing
3 years ago
William Grant c6af1a7468 feat: upgraded emoji-mart and added theme support 3 years ago
William Grant 6cd81e06f2 Merge branch 'ui-redesigns' into theming 3 years ago
Audric Ackermann 3ffc470c40 fix: address reviews comment 3 years ago
William Grant e298f6820c Merge branch 'settings-redesign' into theming 3 years ago
Audric Ackermann 3915e946b4 Merge branch 'clearnet' into settings-redesign 3 years ago
Audric Ackermann 2e2dac6c08
Merge pull request #2458 from Bilb/fix-add-voice-message-flag
fix: set flags to VOICE_MESSAGE when sending attachment with voice msg
3 years ago
William Grant b704b8202d feat: added colors file with all declared theme and primary colors
added hexColorToRBG utility so that we can handle rgba colors using the same variables
3 years ago
Audric Ackermann 55365f817d Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
William Grant 58e4b4e896 fix: make sure to clear a reaction is the count is 0 on an opengroup 3 years ago
William Grant 3060ffd25a test: added tests for adding and updating sogs cache entries
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
Audric Ackermann 9ffa529c30 fix: set flags to VOICE_MESSAGE when sending attachment with voice msg 3 years ago
William Grant b33ea096b4 fix: speed up reaction UI update for opengroups 3 years ago
William Grant f309bf40f8 fix: repaired reaction notifications for 1-1s 3 years ago
William Grant 5ebd1775c0 feat: open group messages are now procesed via the cache
cached entries are now added or removed based on the "optimistic" state that we want
3 years ago
William Grant 07c56e79f2 fix: make reaction UI updates when reacting faster in 1-1 and closed groups 3 years ago
William Grant 7a80e18327 fix: improved react popup localisation, review fixes 3 years ago