Commit Graph

54 Commits (280128ec43e70ae759ff2f1421502524b71f693c)

Author SHA1 Message Date
Audric Ackermann 7d9f970b2c
remove decrypted_at field from saving message models as unused 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 a3be2c347d
fixup open convo on search, quote click or hit the bottom 3 years ago
audric 247cb7c065 cleanup dependencies 3 years ago
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
Audric Ackermann 58dc3e26ca
reactify group updates text bubble from redux store (#2083) 3 years ago
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
3 years ago
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
3 years ago
Audric Ackermann 8f3b6d9ab2
add wip of call missed notification 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 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 Ackermann f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
Bug fixes
4 years ago
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null 4 years ago
Audric Ackermann 2c174bdac7
fix audio message autoplay as broken with perf improvements
fix bug making "trust contact" first audio message being played on click
to trust
4 years ago
Audric Ackermann 360cb52680
make all messages types a readable message 4 years ago
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 4 years ago
audric 588ae85cda fix at lat types for attachment 4 years ago
audric 12ff3379e1 add key for all messages list so we can scroll to them programnatically 4 years ago
audric c8f0150aaf fix unread banner position when first unread is visible 4 years ago
audric 23e9a6d31c move some actions to redux in hooks 4 years ago
Audric Ackermann a54345a42e
put back quote a message logic with hook 4 years ago
Audric Ackermann 9a380b716b
put saveAttachemntToDisk outside of component 4 years ago
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 4 years ago
Audric Ackermann f0fad6edfa
uniformized props for Message 4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 4 years ago
Audric Ackermann f0db797a9a
fix loading of messages props 4 years ago
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 4 years ago
Warrick Corfe-Tan fc31f8d2b1 Merge branch 'clearnet' into audio-messages-play-all 4 years ago
Audric Ackermann 9e5d33d849
trigger download for past messages when trusting contact 4 years ago
Warrick Corfe-Tan 856ced056a Minor tidying. 4 years ago
Warrick Corfe-Tan d35f3f9e62 WIP: audio autoplay working with consecutive messages. Next step store state on shutdown and rename variables. 4 years ago
Audric Ackermann 788493e856
remove some unused props for messages 4 years ago
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 4 years ago
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 4 years ago
Warrick Corfe-Tan 7c82ccb3e9 user details modal refactor functioning. 4 years ago
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 4 years ago
Audric Ackermann 03fe67b974
remove unused contact field on message 4 years ago
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 4 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
4 years ago
Audric Ackermann 5916ce5cbe
add the ban/unban logic for opengroupv2 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann ec6a5995db
sync expire timer updates 4 years ago
Audric Ackermann 553f264d12
make unread attrs as before a number, and remove calculatingPow
calculating pow is just the same as sending state
4 years ago
Audric Ackermann 1fc672da28 adress review 4 years ago
Audric Ackermann 8716fbf495 improve sent message handling by setting the correct convoId at start 4 years ago
Audric Ackermann bb3641b39a remove the forceSave option for unprocessed message too 4 years ago
Audric Ackermann 25e03eba35 fix lint 4 years ago