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
2 years ago
Audric Ackermann
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
2 years ago
Audric Ackermann
ce186517a3
chore: lint code
2 years ago
William Grant
ab04e9bd17
fix: updated comment for when to remove legacy code
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
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
2 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
2 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
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
8dc7d48c52
feat: renamed isLegacyMessage to isLegacyDataMessage
...
all works except modern to modern stage 2
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
854742c0b1
fix: improved logic for turning off disappearing messages
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
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
42356b0d60
fix: duplicate timer update messages
2 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
2 years ago
William Grant
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
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
f122c206da
fix: improved backwards compatibility
2 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
2 years ago
William Grant
b4fc33c8fa
fix: prevent duplicate expire timer updates while keeping backwards compatibility
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
ee4aa333fc
feat: disappearing after send is not working correctly
2 years ago
William Grant
8dc7dac55e
feat: control available modes depending on the conversation
2 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
2 years ago
William Grant
b12d086b22
feat: DisappearingMessageType -> DisappearingMessageConversationType
...
this is more explicit and allows use to use DisappearingMessageType in the message model
2 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
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
f3975b545a
feat: use priority for hidden and pinned conversation
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
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
2 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
2 years ago
Audric Ackermann
08a15b210a
feat: move avatar downloading to JobRunner
2 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
2 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
3 years ago
Audric Ackermann
323b7ec45c
cleanup >2 months old messages in opengroups
3 years ago
Audric Ackermann
01bb200b24
reduce number of commits during opengroup handling of message
3 years ago
Audric Ackermann
00d70db0be
queue user profile avatars update
...
also add some tests for the promise utils
3 years ago
Audric Ackermann
5bc576249b
move signal.js to TS
3 years ago
Audric Ackermann
7d570fec52
move linkPreviews.js to ts
3 years ago
Audric Ackermann
0b814d4d16
remove read sync as we do not care about them on Session
3 years ago
warrickct
0f7bf5d2d1
Remove unnecessary conditional
3 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.
3 years ago
warrickct
1ca66e6bcf
Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner.
3 years ago
warrickct
2957c131c0
removing blocked convos no longer appear in regular inbox and using processing of polled swarm messages to infer approval.
3 years ago
warrickct
539458fe8a
Adding setting of approval fields on message processing.
3 years ago
warrickct
893f7e99b8
Merge branch 'clearnet' into message-request-ui
3 years ago
warrickct
6a02846829
Correcting merge errors.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
warrickct
8ebfa4b7a3
Move message receival UI toggling to event.
3 years ago
warrickct
f93a2e5fad
Adding more PR review changes.
3 years ago
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
3 years ago
Audric Ackermann
1eba9dce30
merge messagesChanged and messagesAdded to a single redux event
3 years ago
Audric Ackermann
949c36a42f
merge fetching more messages for top and bottom in the same flag
3 years ago
Audric Ackermann
9000c649f8
remove optional setToExpire and UnreadMessageIsAbove indicator
3 years ago
Audric Ackermann
4e638d162d
fix the scroll to bottom with button and on send message
3 years ago
Audric Ackermann
7d9f970b2c
remove decrypted_at field from saving message models as unused
3 years ago
Audric Ackermann
b3a8692240
cleanup incoming message creation for displaying messageresult
3 years ago
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync
3 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
3 years ago
Audric Ackermann
00d2bbc63d
cleanup MessageSearchResults
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
3 years ago
Audric Ackermann
4349b699cb
remove schemaVersion field and logic from message object
3 years ago
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store ( #2083 )
3 years ago
warrickct
2d664a2df7
Applying PR changes.
3 years ago
warrickct
ac8dbb341b
linting and formatting changes
3 years ago
warrickct
86a9253144
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
2144a3980f
Linting and formatting.
3 years ago
warrickct
40396224dc
adding feature flag for config message receiving
4 years ago
warrickct
e5a203a48e
adding setting of active_at to hide unapproved messages.
4 years ago
Warrick Corfe-Tan
6a62437c3e
Blocking, accepting on click and accepting on msg send
...
working across clients.
4 years ago
Audric Ackermann
ef25e5956f
add a spinner for when video call video is loading
4 years ago
Warrick Corfe-Tan
87235641cb
fixed typos for translations and method name.
4 years ago
Warrick Corfe-Tan
8d75fde012
yarn ready changes
4 years ago
Warrick Corfe-Tan
ff1d7cefe4
changing some code.
4 years ago
Warrick Corfe-Tan
3c7c3220a1
Marking conversation as read if received a sync message from same users other device.
4 years ago
Warrick
1d459ba533
Unsend messages (only message hashes saving for now is enabled) ( #1891 )
...
* WIP unsending message.
* retrieving message with hash from db on receiving unsend request.
* outgoing messages hashes updated on message sent success
* unsend messaging
* unsend message - deleting messages and marking as isDeleted.
* add msg hash to unprocessed records.
* Message unsending working for closed groups provided the message has been updated with a hash from server.
* adding 2-stage confirmation modal for message deletion
* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.
* Adding logging
* debugging.
* outgoing only saved for sync message instead of regular message.
* deleting locally
* adding post unsend deletioncode.
* starting adding feature flag.
* Added feature flag.
* addding mandatory messageHash pollling pipeline methods swarm polling.
* Conversation list item message preview showing deletion placeholder text if deleted.
* add condition to drop unsend requests not send by message author
* refactoring deleteMessage. Saving response hash for closed group message sending
* running yarn ready
* removing logging.
* Adding PR fixes
* Minor changes and running yarn ready
* fix typo
* Moved feature flag to lokiFeatureFlags. Fixing linting errors
Co-authored-by: Audric Ackermann <audric@loki.network>
4 years ago
Audric Ackermann
b17312c13c
Cleanup redux store ( #1925 )
...
* do not consider expire timer update unread messages #1881
* cleanup conversation props in redux to only have what cannot be derived
* fix app not starting without the await on convo creation
* cleanup props of message model
4 years ago
Audric Ackermann
b45109985c
use timestamp offset in for messages storage requests ( #1892 )
...
* add using timestamp offset from network for sending part1
* remove MessageController as we now rely on the database
* fix tests for message sending overriding timestamp
4 years ago
audric
0d90248450
fix scrolling jumping to bottom on new messages
4 years ago
audric
7fa50b4a73
do not pass props not needed between message list components
4 years ago
audric
f9988119f9
major UI rewrite of messages view with redux improvements
4 years ago
audric
f7b0c6c7e1
make conversation screen closer to mobile UI part1
4 years ago
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago