Commit Graph

609 Commits (d1f527d573a6d2c993e2eadd285096f033bb922d)

Author SHA1 Message Date
William Grant 5ce8170188 Merge branch 'feat/ses-50/onboarding' into feat/ses-899/user_profile_poll 2 years ago
William Grant 68f8d12aa5 feat: recovery phrase to recovery password 2 years ago
William Grant baca07a83b feat: moved frontend errors to redux 2 years ago
William Grant 4de3570492 feat: got things working correctly with errors throwing before the timeout
still trying to debug loading the errors in the frontend
2 years ago
William Grant 7baf6c5886 feat: fixed processing the config message next is finishing the reg properly
we now fetch the display name correctly just need to refactor and test the error handling
2 years ago
William Grant 6a2af3e088 feat: added free function to libsession wrappers
almost processing the dump correctly
2 years ago
Audric Ackermann 0b551757cb fix: fix ci 2 years ago
Audric Ackermann 095a9d33e5 fix: canDisplayImage needs check to be done on the thumbnail 2 years ago
William Grant a3262d7af9 feat: attempting to fetch the display name separate from the usual pipeline 2 years ago
Audric Ackermann 629b58efcc Merge branch 'unstable' into fix-resize-images-thumbnail 2 years ago
William Grant fd4e1525cb Merge branch 'unstable' into feat/ses-50/onboarding 2 years ago
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 2 years ago
William Grant 9984846632 Merge branch 'unstable' into feat/ses-50/onboarding 2 years ago
William Grant 2c83d41ccd fix: error handling now works correctly for all stages
buttons also correctly disable themselves
2 years ago
William Grant 6f84d5bede feat: animated progress loader to spec
timeout display name fetch to 15 seconds, added display name inital screen still needs work
2 years ago
Ryan Miller 6a2065686f Merge branch 'oxen-io:unstable' into standardised_strings 2 years ago
William Grant 547ab9b1b2 feat: start working on account create success screen
on conversations view
2 years ago
William Grant ec7ab04d09 refactor: moved related function from registrationstages to createaccount 2 years ago
Audric Ackermann ec25d2f97f chore: bump Session to 1.12.0 2 years ago
Ryan Miller 6024dce393 fix: add LocalizerKeys type to getMessage and remove updateLocale function 2 years ago
Audric Ackermann 81c1263bfd chore: address PR reviews 2 years ago
Audric Ackermann 2688fed656 Merge branch 'feature/ses-558/more-message-information' into userconfig_disappearingmessage 2 years ago
Audric Ackermann c936cf0a59 chore: to remove. force disappear v2 ON temporarly 2 years ago
William Grant e76eee5329 fix: make sure to save the attachment that is visible in the carousel 2 years ago
Audric Ackermann a203ea79cd Merge remote-tracking branch 'oxen/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann f6cd12d599 fix: use at least 2 hashes for the update_expiries too
until the storage server release is live we need this workaround
2 years ago
Kee Jefferys cf49839bde
Merge branch 'unstable' into follow-system-theme 2 years ago
Kee Jefferys 5571471bbe fix: update selector usage and theme checking code 2 years ago
Audric Ackermann 45e118ae1b feat: use multi value to know if disappear_v2 is live or nah 2 years ago
Kee Jefferys ccd430bf0c fix: commit untracked theme.ts 2 years ago
Audric Ackermann 1a53f699b4 Revert "fix: move right panel buttons to a panelbuttongroup"
This reverts commit e6dd6844f9.
2 years ago
Audric Ackermann 8872ccf7fe chore: disappear feature switch based on env variable for QA 2 years ago
William Grant 7f4475c975 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant bb6e09de0a feat: cleaned up wip logs 2 years ago
William Grant f5a9e9c366 fix: comment cleanup 2 years ago
William Grant aad55025ba fix: more comment cleanup 2 years ago
William Grant 1d7380a254 refactor: rename expirationLength
to expirationDurationMs
2 years ago
William Grant 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
William Grant b471900a18 feat: move timer options out of redux 2 years ago
William Grant cafa9d80ec fix: remove all unneeded tslint comments
fixed some eslint errors
2 years ago
William Grant 6f78de0ed3 feat: made ExpirationTimerUpdate type 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 0dcf48be16 refactor: replaced get expires_at calls
with getExpiresAt
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 a484011acb refactor: changetodisappearingmessageconversationtype to changetodisappearingconversationmode 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 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 e6257f3cbc fix: commented out some logs 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 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 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 3d8a664da9 fix: ignore equal lastMessageChangeTimestamps 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 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
3 years ago
William Grant 85f270b67a Merge branch 'unstable' into userconfig_disappearingmessage 3 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
3 years ago
Ruben Garcia 6ac328f0c3 Merge branch 'clearnet' into RenameMultipleAttachments 3 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
3 years ago
William Grant 60e5503e6a feat: check for v2 release correctly on startup
improvements to creating and updating closed groups with disappearing message settings
3 years ago
Audric Ackermann 1b73112294 fix: make sure we scale image before trying to compress it 3 years ago
Ruben Garcia 1b91d84b09 Changes to save multiple attachments in same message with a different name. 3 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
3 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
3 years ago
William Grant 82e396dca6 feat: remove useEffect on right panel and use hook for checking is v2 is released 3 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
3 years ago
Audric Ackermann bee00157ef Merge remote-tracking branch 'yougotwill/feature/ses-379/composition-rtl-support' into feature/ses-379/composition-rtl-support 3 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
3 years ago
William Grant 2a6d8a6544 feat: remove legacy from expirationType during db migration
fix migrations to work with user config changes
3 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 3 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 3 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 3 years ago
Audric Ackermann feaba36fa4 fix: picker emoji-mart errors after update 3 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 3 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 3 years ago
Audric Ackermann b4482ec2d4 fix: enable userconfig release to be 31st July
31st July, 10am Melbourne time
3 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 3 years ago
William Grant 83f84c26e7 feat: changed getHTMLDirection into a util hook useHTMLDirection 3 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
3 years ago
William Grant 7be11cd973 feat: moved html direction logic into i18n util
updated Flex component with RTL support, create getWritingDirection selector
3 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 3 years ago
Audric Ackermann 0fa58a5654 chore: fix compilation issues after conflicts resolution 3 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 3 years ago
Audric Ackermann 2068737cdd fix: break down deleteContact based on convo type 3 years ago
William Grant f41c28a873 fix: moved feature release timestamp to constants so it only has to be defined once 3 years ago
Audric Ackermann 2c2656d545 chore: make an internal build with userconfig forced ON 3 years ago
William Grant 73ca99496d feat: added DisappearingMessageModesWithState type 3 years ago
William Grant b601c11871 fix: reverted code and updated comment on readReceipts pending qa 3 years ago
Audric Ackermann 6ac4dd8db5 fix: linking allows legacy config message if one is found 3 years ago
William Grant c6cd3671de fix: run expireUpdate handler on all messages and just return the model if there are no changes 3 years ago
Audric Ackermann 768e0e1b5f chore: enable userconfig libsession by default for testing 3 years ago
Audric Ackermann 4d0e79f195 fix: legacy group with wrapper and disable right click while searching 3 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 3 years ago
Audric Ackermann bac2887c28 fix: update with latest libsession util 3 years ago
Audric Ackermann 3cd52d5b1a fix: add currentHashes and update expiry on every poll 3 years ago
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 3 years ago
Audric Ackermann 1c48ff8a49 chore: include worker .node in addition to libsession .node 3 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
3 years ago
William Grant cfcf400ecf fix: cleaned up WIP logging and used the window log debug function where appropriate 3 years ago
William Grant 1d6f200d50 fix: pass yarn ready 3 years ago
William Grant 386997f233 feat: made progress on attachment deletions but can confirm 100% 3 years ago
William Grant 647e542128 feat: add comments after run through 3 years ago
William Grant f68fbb05f9 fix: resolve turning off disappearing messages empty messages in most cases
still requires more tweaking
3 years ago
William Grant 92282a5d95 feat: verify disappearing messages arent supported in communities 3 years ago
William Grant 2e6acb1f59 feat: only use timer svg for disappearing message 3 years ago
William Grant 46ab397a0f fix: read receipt messages now show expireTimer correctly 3 years ago
William Grant 4d0900844b fix: adding shorten and extend to expire rpc endpoint 3 years ago
William Grant b6c3edbac4 fix: pass yarn ready 3 years ago
William Grant e5ecff7ec3 fix: fixed legacy disappearing messages on call notifications and others 3 years ago
William Grant f7e5719eac feat: reverted bak to stage 1 3 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
3 years ago
William Grant 8dc7d48c52 feat: renamed isLegacyMessage to isLegacyDataMessage
all works except modern to modern stage 2
3 years ago
William Grant 89c70760a5 fix: refactor and works for all legacy test cases, modern to modern is broken 3 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
3 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.
3 years ago
William Grant bddc018ce7 fix: updated featureReleaseTimestamps for testing purposes 3 years ago
William Grant 2f4c0114aa feat: tested new expiration modes with legacy and new clients
fixed banner logic
3 years ago
William Grant 718986c416 fix: improved feature release logic 3 years ago
William Grant 15c054a35e feat: added ability to reset the releaseFeature logic by updating the featureReleaseTimestamp 3 years ago
William Grant 80f18e9f1c feat: use correct timer options and set the defaults 3 years ago
William Grant 8117e631d0 feat: legacy mode now works for 1-1 chats 3 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
3 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
3 years ago
William Grant 848c97938c feat: disabled new disappearing message modes behind a timed feature release function 3 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
3 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
3 years ago