Commit Graph

130 Commits

Author SHA1 Message Date
Audric Ackermann 84f2ce777a fix: include profile in message request response 2022-10-03 11:46:25 +11:00
Audric Ackermann 4ff0b63e36 fix: drop .group from incoming messages & exclude it from visible check 2022-09-05 14:35:48 +10:00
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
2022-08-08 09:50:48 +10:00
Emily 775ddfda12 fixing the saved media read receipt 2022-05-19 16:42:23 +10:00
Audric Ackermann d5e3f73035 fix: read receipts handling for private chats 2022-05-17 17:17:25 +10:00
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
2022-05-17 13:22:13 +10:00
Audric Ackermann 13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts 2022-04-20 15:12:28 +10:00
Audric Ackermann 6001da5ac8
add some [perf] duration measurement 2022-04-14 13:21:09 +10:00
Audric Ackermann 01bb200b24
reduce number of commits during opengroup handling of message 2022-04-13 16:51:53 +10:00
Audric Ackermann 0ebc1d7e92
split attachmnent logic between what is used on main and renderer 2022-04-06 16:21:19 +10:00
Audric Ackermann fe57531797 Sesion 1.8.4 with calls enabled 2022-04-01 15:46:27 +11:00
Audric Ackermann 6bd835dfc3
move storage.js to ts 2022-03-23 15:57:11 +11:00
Audric Ackermann 0d4059ccb1
move read_receipts to ts 2022-03-23 13:35:44 +11:00
Audric Ackermann 74cf88cf81
create closed group mark as approved
also, do not filter closed group based on the isApproved field in redux
2022-03-16 10:51:37 +11:00
warrickct 821f4d73ff Merge branch 'clearnet' into msg-request-ui-2 2022-03-03 14:02:10 +11:00
warrickct 1ca66e6bcf Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner. 2022-02-24 12:57:50 +11:00
warrickct 08ba24c3c9 refactoring 2022-02-24 10:17:17 +11:00
Audric Ackermann 3fed22048b
rename a few loki to session 2022-02-18 13:03:47 +11:00
warrickct f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 2022-02-17 22:05:13 +11:00
warrickct abc188e889 Additional PR changes 2022-02-15 15:00:23 +11:00
warrickct efa482b002 adding pr changes 2022-02-15 14:42:39 +11:00
warrickct 0db3c76756 Fixing linting errors 2022-02-15 13:59:58 +11:00
warrickct c3d9912572 Adding handling of edge case for messaging clients without request approval update. 2022-02-14 23:41:08 +11:00
warrickct 6a02846829 Correcting merge errors. 2022-02-14 23:01:50 +11:00
warrickct ee9156d4f8 Merge clearnet into message-request-ui 2022-02-14 16:42:53 +11:00
warrickct 8ebfa4b7a3 Move message receival UI toggling to event. 2022-02-14 15:09:17 +11:00
warrickct bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 2022-02-14 14:47:54 +11:00
warrickct 8a8a5ca82c removing pubkey from message request response. 2022-02-11 14:47:24 +11:00
warrickct 36ca2a767c Adding PR changes 2022-02-11 12:14:58 +11:00
warrickct 0461454e27 Removing toast on request accept 2022-02-11 09:39:53 +11:00
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 2022-02-10 16:49:56 +11:00
Audric Ackermann b3a8692240
cleanup incoming message creation for displaying messageresult 2022-02-03 10:58:44 +11:00
Audric Ackermann 5afbd9c19e
cleanup creation of opengroup message on sync 2022-02-03 10:58:43 +11:00
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 2022-02-03 10:58:42 +11:00
audric fc916ce94c Fix attachments duplication on message syncing with current device 2022-01-14 14:56:55 +11:00
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
2021-12-21 08:16:22 +11:00
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
2021-12-14 15:15:12 +11:00
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 2021-11-19 10:49:05 +11:00
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 2021-10-27 11:44:37 +11:00
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
2021-10-26 16:59:46 +11:00
Audric Ackermann 5d9565a559
fix menu action for unsending messages 2021-10-26 16:08:04 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 2021-09-22 11:55:30 +10:00
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>
2021-09-20 13:47:59 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null 2021-08-03 14:31:06 +10:00
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 2021-07-13 14:19:06 +10:00
Audric Ackermann 78caaa2bfd
fix tests 2021-07-12 15:22:06 +10:00
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 2021-07-09 11:45:26 +10:00
Audric Ackermann 6deb97dbc0
WIP 2021-07-05 11:23:47 +10:00