William Grant
3d8a664da9
fix: ignore equal lastMessageChangeTimestamps
2 years ago
Audric Ackermann
197383a52f
feat: move some the convomodel.get attributes to functions
...
this is because we need to be able to override what is returned by what
is in the redux lib slice if needed (libsession data overrides what is
in the DB for groupv3)
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
bb6eb3e84e
feat: fixed 1-1s and added more logging
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
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
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
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
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
43276b069e
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
84deed19f9
feat: add block msg requests from sogs
2 years ago
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
2 years ago
William Grant
ed2a372ca3
Merge branch 'unstable' into feature/ses-145/leave-conversation-update
2 years ago
William Grant
905fe5aab9
Merge branch 'unstable' into userconfig_disappearingmessage
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
9a7ef4d373
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
594eee698b
Merge remote-tracking branch 'upstream/clearnet' into unstable
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
de614109d0
feat: added lastMessageId to convo model to uniquely identify a lastMessage
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
William Grant
e78d1dfb87
fix: send full text body for quote
...
resolved regression with quote author name
2 years ago
Audric Ackermann
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
3 years ago
Audric Ackermann
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
3 years ago
Audric Ackermann
ce186517a3
chore: lint code
3 years ago
William Grant
ab04e9bd17
fix: updated comment for when to remove legacy code
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
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
3 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
3 years ago
William Grant
6a38e09f4f
feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model
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
8dc7d48c52
feat: renamed isLegacyMessage to isLegacyDataMessage
...
all works except modern to modern stage 2
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
854742c0b1
fix: improved logic for turning off disappearing messages
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
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
42356b0d60
fix: duplicate timer update messages
3 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
3 years ago
William Grant
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
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
William Grant
f122c206da
fix: improved backwards compatibility
3 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
3 years ago
William Grant
b4fc33c8fa
fix: prevent duplicate expire timer updates while keeping backwards compatibility
3 years ago
William Grant
6febf2859e
feat: disappear after reading now works
3 years ago
William Grant
4ee440304c
feat: attempted to improve the accuracy of the start timer for disappear after send
3 years ago
William Grant
ee4aa333fc
feat: disappearing after send is not working correctly
3 years ago
William Grant
8dc7dac55e
feat: control available modes depending on the conversation
3 years ago
William Grant
ee6607b96a
feat: added expirationType and expireTimer to content message and updated message pipeline
...
this includes sync messages and updating the protobuf, haven't tested closed groups
3 years ago
William Grant
b12d086b22
feat: DisappearingMessageType -> DisappearingMessageConversationType
...
this is more explicit and allows use to use DisappearingMessageType in the message model
3 years ago
William Grant
30196a131a
feat: added basic support for different disappearing message modes
...
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
3 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
3 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
3 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
3 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
3 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
3 years ago
Audric Ackermann
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
3 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
3 years ago
Audric Ackermann
08a15b210a
feat: move avatar downloading to JobRunner
3 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
3 years ago
William Grant
f309bf40f8
fix: repaired reaction notifications for 1-1s
3 years ago
William Grant
4889cb5b32
fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
...
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Will G
267f49ff1e
Emoji Reacts ( #2320 )
...
Add support for emoji reacts in conversations
Resolves #2375 and #1577
3 years ago
Audric Ackermann
242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver ( #2347 )
...
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann
368c0cd01b
drop sourceDevice and other unused json fields from msg table
4 years ago
Audric Ackermann
323b7ec45c
cleanup >2 months old messages in opengroups
4 years ago
Audric Ackermann
01bb200b24
reduce number of commits during opengroup handling of message
4 years ago
Audric Ackermann
00d70db0be
queue user profile avatars update
...
also add some tests for the promise utils
4 years ago
Audric Ackermann
5bc576249b
move signal.js to TS
4 years ago
Audric Ackermann
7d570fec52
move linkPreviews.js to ts
4 years ago
Audric Ackermann
0b814d4d16
remove read sync as we do not care about them on Session
4 years ago
warrickct
0f7bf5d2d1
Remove unnecessary conditional
4 years ago
warrickct
e4f4328232
rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted.
4 years ago
warrickct
1ca66e6bcf
Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner.
4 years ago
warrickct
2957c131c0
removing blocked convos no longer appear in regular inbox and using processing of polled swarm messages to infer approval.
4 years ago
warrickct
539458fe8a
Adding setting of approval fields on message processing.
4 years ago
warrickct
893f7e99b8
Merge branch 'clearnet' into message-request-ui
4 years ago
warrickct
6a02846829
Correcting merge errors.
4 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
4 years ago
warrickct
8ebfa4b7a3
Move message receival UI toggling to event.
4 years ago
warrickct
f93a2e5fad
Adding more PR review changes.
4 years ago
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
4 years ago
Audric Ackermann
1eba9dce30
merge messagesChanged and messagesAdded to a single redux event
4 years ago
Audric Ackermann
949c36a42f
merge fetching more messages for top and bottom in the same flag
4 years ago
Audric Ackermann
9000c649f8
remove optional setToExpire and UnreadMessageIsAbove indicator
4 years ago
Audric Ackermann
4e638d162d
fix the scroll to bottom with button and on send message
4 years ago
Audric Ackermann
7d9f970b2c
remove decrypted_at field from saving message models as unused
4 years ago
Audric Ackermann
b3a8692240
cleanup incoming message creation for displaying messageresult
4 years ago
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync
4 years ago
Audric Ackermann
5e314e4dcc
remove 'recipients' message field and 'destination'
...
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey
we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
4 years ago
Audric Ackermann
00d2bbc63d
cleanup MessageSearchResults
4 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
4 years ago
Audric Ackermann
4349b699cb
remove schemaVersion field and logic from message object
4 years ago
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store ( #2083 )
4 years ago
warrickct
2d664a2df7
Applying PR changes.
4 years ago
warrickct
ac8dbb341b
linting and formatting changes
4 years ago