Commit graph

537 commits

Author SHA1 Message Date
Warrick Corfe-Tan 3c7c3220a1 Marking conversation as read if received a sync message from same users other device. 2021-10-08 10:59:00 +11:00
Audric Ackermann 4277c29bd8
make sure to refetch messageModel from db when saving attachments 2021-10-04 16:13:21 +11:00
Warrick Corfe-Tan 1522e5102d removed isCall property from message. Fixed text 2021-10-01 15:13:02 +10:00
Warrick Corfe-Tan 0b8f3255b0 corrections to pass yarn ready 2021-10-01 14:06:04 +10:00
Warrick Corfe-Tan 6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
2021-10-01 13:39:47 +10:00
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 2021-09-23 13:37:38 +10: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 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
2021-09-17 16:41:04 +10:00
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
2021-09-16 14:48:46 +10:00
audric 0d90248450 fix scrolling jumping to bottom on new messages 2021-09-02 10:31:08 +10:00
audric 7fa50b4a73 do not pass props not needed between message list components 2021-08-26 16:17:37 +10:00
audric f9988119f9 major UI rewrite of messages view with redux improvements 2021-08-25 15:01:19 +10:00
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Warrick Corfe-Tan b26ec1996d yarn ready 2021-08-18 11:56:53 +10:00
Brice-W a89c6710fb Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 2021-08-16 15:10:17 +10:00
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 2021-08-16 14:46:31 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 07b6d7f6f1 fix a bug with preview of messages not being downloaded 2021-08-10 16:50:21 +10:00
Audric Ackermann f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
Bug fixes
2021-08-02 21:50:38 -07:00
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null 2021-08-03 14:31:06 +10:00
Audric Ackermann 9b98b32d1b
filter out duplicates only if they are less than 10 messages away 2021-08-03 14:15:01 +10:00
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 2021-07-30 16:12:36 +10:00
Brice-W 47e2f5726e fix group key pair cache issue 2021-07-29 16:59:29 +10:00
Audric Ackermann 06dfaa2482
always retry all emcyrption keypairs on incoming group msg 2021-07-29 16:31:35 +10:00
Audric Ackermann 12d09bc896
preload messages when switching conversation 2021-07-29 15:29:32 +10:00
Audric Ackermann f9ecfccc0a
batch UI updates of message added events 2021-07-29 13:44:38 +10:00
audric 8414aa800d fix a bug not making profile name updates in opengroup 2021-07-28 14:46:13 +10:00
audric fce86989f0 make sure profileKey is a hex string in all convos 2021-07-27 16:41:15 +10:00
audric c8f0150aaf fix unread banner position when first unread is visible 2021-07-22 12:30:01 +10:00
audric e72885944b use selector to sort and add first of serie flag 2021-07-21 17:14:14 +10:00
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 2021-07-14 10:53:03 +10:00
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 2021-07-13 14:19:06 +10:00
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +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 f0db797a9a
fix loading of messages props 2021-07-05 17:09:17 +10:00
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 2021-07-05 15:54:35 +10:00
Audric Ackermann 6deb97dbc0
WIP 2021-07-05 11:23:47 +10:00
Audric Ackermann a0afd3efe4
add some performance measure for commit calls 2021-07-05 10:30:33 +10:00
Audric Ackermann ef0b07bb7a
WIP 2021-07-01 14:39:13 +10:00
Audric Ackermann e5a60af93f
Merge pull request #1751 from Bilb/fix-expire-without-seeing
do not start expire timer before seing message
2021-06-30 15:09:44 +10:00
audric 9cb69cf8fd do not start expire timer before seing message 2021-06-30 15:02:22 +10:00
Audric Ackermann 712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton 2021-06-24 16:42:00 +10:00
Audric Ackermann 9e5d33d849
trigger download for past messages when trusting contact 2021-06-24 16:37:37 +10:00
Audric Ackermann e090b8e8c6
remove getInstance on swarmPolling 2021-06-24 15:28:20 +10:00
Audric Ackermann e9e718bfcb
remove getInstance on MessageController=> getMessageController 2021-06-24 15:20:47 +10:00
Audric Ackermann 0b410404a3
remove keypair request manager 2021-06-24 15:19:04 +10:00
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 2021-06-24 15:10:38 +10:00
Audric Ackermann 09d9db38e8
move taskWithTimeout to typescript 2021-06-21 16:12:51 +10:00
Audric Ackermann a659d5b480
fix open group invitation logic 2021-06-21 14:26:28 +10:00
Audric Ackermann b64e8bf610
fix seed dialog and leave group as admin dialog 2021-06-21 10:59:37 +10:00
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 2021-06-17 14:55:25 +10:00
Audric Ackermann 8ef9c8ed1a
remove delivery receipt logic 2021-06-15 10:12:43 +10:00
Warrick Corfe-Tan ee7afb6ebf WIP: refacotring. confirm modals mostly done. Working on add moderator modal now. Need to toggle via setModal. 2021-06-11 17:02:02 +10:00
Audric Ackermann 5bf844241b
fix tests 2021-06-10 10:27:00 +10:00
Audric Ackermann 03fe67b974
remove unused contact field on message 2021-06-10 09:58:30 +10:00
Audric Ackermann 173b49723b
rename groupInvitation in proto and remove more stuff unused 2021-06-10 09:08:20 +10:00
Audric Ackermann c090782919
remove UPDATE type of closed group control message 2021-06-10 09:00:54 +10:00
Audric Ackermann 01fd927070
match envelope type with ios protos 2021-06-10 08:55:25 +10:00
Warrick Corfe-Tan b082dd9f43 delete messages and leave group working with redux modal. 2021-06-09 15:27:03 +10:00
Audric Ackermann 37c9c6b5c3
new closed group send and handle expire timer already set 2021-06-09 11:49:19 +10:00
Warrick Corfe-Tan 4c8f2bf720 WIP refactoring confirm dialog to redux state. 2021-06-09 10:06:23 +10:00
Audric Ackermann 0a208c0d15
store snodes list on db, use them if possible on app start
if not enough snodes or no snodes at all, a request to the seed node is
made instead
2021-06-08 14:35:30 +10:00
Warrick Corfe-Tan 1bfdbc5c93 WIP: Refactoring modals. 2021-06-08 14:04:09 +10:00
Audric Ackermann 2e475450ee
fix deduplication using a hash of recent messages 2021-06-07 17:58:27 +10:00
Audric Ackermann 722f240f3d
fix deduplication based on serverTimestamp 2021-06-07 15:54:44 +10:00
Audric Ackermann f186bdbe39
clear our zombie list if we get readded to a closed group 2021-06-07 09:58:33 +10:00
Audric Ackermann ecf409bed5
fix slow app while removing v1 convoss 2021-06-04 12:19:44 +10:00
Audric Ackermann 118813661d
remove inte tests + handle opengroupv2 messages in chunk
this is to avoid freezing UI and is only a temporary fix

We need to have webworkers in this app
2021-06-03 18:27:11 +10:00
Audric Ackermann f3768a674a
short error on no network for retry sending message 2021-06-03 14:30:58 +10:00
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 2021-06-01 15:46:29 +10:00
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 2021-06-01 10:08:16 +10:00
Audric Ackermann 8a2efb83ec
Merge branch 'clearnet' into remove-fsv1-sogsv1 2021-05-31 13:46:19 +10:00
Audric Ackermann 6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
version fetch is used to know when we have a new update
2021-05-31 11:22:37 +10:00
Audric Ackermann f6ced14054
Merge branch 'clearnet' into accept-keypair-closed-group-existing 2021-05-27 11:05:35 +10:00
Audric Ackermann b15eeb00cd
fixup duration missing 2021-05-27 11:05:00 +10:00
Audric Ackermann e40a2692d6
Merge branch 'clearnet' into accept-keypair-closed-group-existing 2021-05-27 10:56:13 +10:00
Audric Ackermann 637e092a00
make sure fileserver v1 is not supported and not used anymore 2021-05-26 14:35:09 +10:00
Audric Ackermann a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system 2021-05-26 14:15:54 +10:00
Audric Ackermann 7d73f9a593
drop support for old file server avatar download 2021-05-26 14:14:14 +10:00
Audric Ackermann 11fbf79ab7
switch to dedicated server (#1646) 2021-05-20 12:06:34 +10:00
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 2021-05-19 15:54:31 +10:00
Audric Ackermann c2298c4c30
Merge branch 'clearnet' into scoring-system 2021-05-19 10:43:49 +10:00
Warrick 3854d0e10d
WIP: Closed group reliability (#1630)
* WIP: added non-durable messaging function.

* WIP: Non-durable sending

* WIP: adding dialog box.

* Creating dialog if group invite message promises don't return true.

* removed console log

* applied PR changes, linting and formatting.

* WIP: allowing resend invite to failures.

* using lookup.

* WIP: recursively opening dialog.

* WIP: debugging reject triggering on confirmation modal.

* register events fix.

* Closed group invite retry dialog working.

* Added english text to messages.

* Prevent saving of hexkey pair if it already exists.

* Fixed nickname edit
input trimming end letter.

* Don't show closed group invite dialog unless it has failed at least once.

* Fix linting error.

* Fix plurality.

* Ensure admin members are included in all invite reattempts, mixed plurality.
2021-05-18 13:12:51 +10:00
Audric Ackermann c599d0b629
WIP 2021-05-17 14:39:56 +10:00
Audric Ackermann 862f8a8e14
accept a closed group NEW encryption keypair even if group exists 2021-05-12 10:15:09 +10:00
Warrick e6128fa5a7
Reply attachments (#1591)
* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.
2021-05-11 17:02:41 +10:00
Audric Ackermann 03aa52f8ce
Merge pull request #1613 from Bilb/fix-crash-left-member-convo-does-not-exist
make sure the left member convo exist in rendering GroupUpdate
2021-05-10 13:15:39 +10:00
Audric Ackermann 288d4a6a2e
make sure the left member convo exist in rendering GroupUpdate 2021-05-10 12:01:54 +10:00
Audric Ackermann 531fc5c7ff
fix avatar download on restore when linking device
Fixes  #1601
2021-05-10 11:23:06 +10:00
Audric Ackermann e6d78d5830
fallback to envelope timestamp if dataMessage.timestamp is 0 2021-05-07 16:06:51 +10:00
Audric Ackermann 248494f15b
redesign group invitation message type 2021-05-07 14:49:38 +10:00
Audric Ackermann cbc816c3ed
update displayname even if we dont have avatar on incoming profile 2021-05-07 13:35:08 +10:00
Audric Ackermann c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
2021-05-07 10:56:14 +10:00
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 2021-05-07 10:16:15 +10:00
Audric Ackermann c77b24a2d4
fix avatar loading for opengroupv2 2021-05-06 17:56:02 +10:00
Audric Ackermann bc4bee6270
hide some logs 2021-05-06 16:02:47 +10:00
Audric Ackermann 2b576de2cd
allow fileserverv2 attachments to be downloaded, upload disabled 2021-05-06 14:02:49 +10:00
Audric Ackermann 64eab5160d
remove zombies from the UI only 2021-05-05 18:14:59 +10:00
Audric Ackermann 2c40d1e623
hide checkmMark on showing group members 2021-05-05 16:40:16 +10:00
Audric Ackermann c5a4cf674d
remove non explicit group updates support 2021-05-05 16:40:16 +10:00
Audric Ackermann fae80c327a
mark convo as ActiveAt when we get a message adding us after left 2021-05-05 16:40:15 +10:00
Audric Ackermann eb0ddd85f4
add zombies logic for member leaving and removing 2021-05-05 16:40:15 +10:00
Audric Ackermann 7ec663df71
move SwarmPolling from window to require singleton 2021-05-05 16:40:14 +10:00
Audric Ackermann 6aa699ad23
fix deduplication for opengroups v1 & v2 2021-04-28 15:53:30 +10:00
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
2021-04-28 14:20:22 +10:00
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 2021-04-27 16:56:34 +10:00
Audric Ackermann 4aeec224b4
add download of attachments for opengroupv2 2021-04-27 11:14:07 +10:00
Audric Ackermann bc938f650e
move AttachmentsDownload to typescript 2021-04-26 16:29:04 +10:00
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 2021-04-26 16:15:27 +10:00
Audric Ackermann 35d66d8865
fix bug fetching new token every request 2021-04-23 17:05:10 +10:00
Audric Ackermann 3b30d13719
add some regex to identify Opengroupv2 vs Opengroupv1 convo Ids 2021-04-23 10:13:09 +10:00
Audric Ackermann e3e1296788
add constant openGroupPrefix: publicChat: and use it 2021-04-23 09:45:12 +10:00
Audric Ackermann 786cd384fb
add the OpenGroupManagerV2 logic to add and remove rooms 2021-04-22 18:04:12 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP 2021-04-20 15:52:19 +10:00
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 2021-04-20 14:52:02 +10:00
Audric Ackermann ec6a5995db
sync expire timer updates 2021-03-19 12:14:23 +11:00
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 2021-03-19 10:43:47 +11:00
Audric Ackermann 24d33c7900
Merge branch 'clearnet' into add-attachment-padding 2021-03-16 11:22:48 +11:00
Audric Ackermann 0228cd5115
add attachment padding 2021-03-05 17:13:46 +11:00
Audric Ackermann 553f264d12
make unread attrs as before a number, and remove calculatingPow
calculating pow is just the same as sending state
2021-03-05 13:48:58 +11:00
Audric Ackermann ad117fe4e5
uniformized redux convo type and getProps() of conversation 2021-03-05 11:11:53 +11:00
Audric Ackermann e1114c8ce7
add some types to Data.ts calls 2021-03-05 09:24:25 +11:00
Audric Ackermann 95e1d7983f
be sure make contacts appear on left pane on configMessage handling 2021-03-04 14:07:02 +11:00
Audric Ackermann 8c4e071c00
crop avatars to what iOS expects 2021-03-03 17:20:32 +11:00
Audric Ackermann aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration 2021-03-03 13:54:39 +11:00
Audric Ackermann 8d45ea2742
do not unlock signin by linking if the displayName got is empty 2021-03-03 12:01:17 +11:00
Audric Ackermann 78257037bb
restoreFromSeed restores groups from first configMessage got 2021-03-03 12:00:41 +11:00
Audric Ackermann 0a8335b125
handle message while linking as if were already linked 2021-03-03 11:45:43 +11:00
Audric Ackermann 6fbe060973
move deleteAccount() to AccountManager 2021-03-03 10:36:30 +11:00
Audric Ackermann c420bfcf74 only handle a single time the groups from a configurationMessage 2021-03-02 16:06:30 +11:00
Audric Ackermann 2fab4f0940 Use sentAt as lastJoinedTimestamp when we get a new closed group
This is to make sure we do not drop group updates between the message
adding us and now().
We only have to drop messages before we were added to the group, which
is the sent timestamp
2021-03-02 15:43:18 +11:00
Audric Ackermann 533b95c827 fix updateMessage being always at the end of the messagesList
this was because we were using Date.now() always rather than using the
envelope timestamp to save the update
2021-03-02 13:40:48 +11:00
Audric Ackermann 05e9c936ff speed up loading of messages by not notify on every new message 2021-03-02 12:41:25 +11:00
Audric Ackermann c656dd25cf move configMessage handling to a another file 2021-03-02 11:27:20 +11:00
Audric Ackermann 853222d25b Do not sync configurationMessage on app load if restored from seed 2021-03-01 17:55:41 +11:00
Audric Ackermann 9586c3a06a add linking of a device to the Registration logic 2021-03-01 16:20:35 +11:00
Audric Ackermann 305ece1c7c update our profile on incoming configMessage sent after our last update 2021-03-01 14:21:29 +11:00
Audric Ackermann fc24df00fb
always share our profileKey on outgoing messages 2021-02-26 11:48:08 +11:00
Audric Ackermann 641f9ee368
Fix the bug where if we leave and get added back, we get removed again 2021-02-25 17:31:18 +11:00
Audric Ackermann c55f204440
Merge branch 'clearnet' into restore-handle-configuration 2021-02-25 16:36:03 +11:00
Audric Ackermann e466062f15 WIP 2021-02-23 14:22:01 +11:00
Audric Ackermann 31e2341978 update last message on message delete
otherwise, we might still see the last message on the leftpane if the
message removed was the last one
2021-02-22 12:41:24 +11:00
Audric Ackermann ca22b4635f fixup some building of sync message issues 2021-02-22 12:00:08 +11:00
Audric Ackermann 7a3a12ccdc Merge branch 'clearnet' into move-models-to-ts-2 2021-02-19 17:53:26 +11:00
Audric Ackermann 8716fbf495 improve sent message handling by setting the correct convoId at start 2021-02-19 17:47:54 +11:00
Audric Ackermann bb3641b39a remove the forceSave option for unprocessed message too 2021-02-19 17:46:13 +11:00
Audric Ackermann 25e03eba35 fix lint 2021-02-19 15:13:43 +11:00
Audric Ackermann 3ee0ccfac8 remove the forceSave logic for a message, always insert or replace 2021-02-19 13:01:24 +11:00
Audric Ackermann d844c5141e remove unprocessed from store. Nothing was stored in the store
it was simply as passthrough to the Data file.
No we directly call the data file instead
2021-02-19 10:35:11 +11:00
Audric Ackermann a34720501c update avatar on convo only if DL+decrypt is OK 2021-02-16 14:22:22 +11:00
Audric Ackermann 720922cc71 be sure to leave a group when leaving from another device 2021-02-15 15:36:14 +11:00
Audric Ackermann 8ea9f02cec Move data.js to data.ts 2021-02-15 15:16:52 +11:00
Audric Ackermann 7b81c4213a
Merge clearnet 2021-02-12 14:08:11 +11:00
Audric Ackermann 0c1343cad5
add a way to share currently distributing keypair to added members 2021-02-12 11:00:22 +11:00
Audric Ackermann 78e7255cb8
send the keypair to added members if we are admin
and remove request encryption keypair handling
2021-02-11 16:40:05 +11:00
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 2021-02-11 14:45:09 +11:00
Audric Ackermann df3ca5d38a
add a sql function to check if a keypair is already saved in db 2021-02-11 14:33:55 +11:00
Audric Ackermann a31c457c08
allow closedgroup new message to be sent to our other devices
also, do not drop it on the receiving side
2021-02-11 14:04:08 +11:00
Audric Ackermann 01f834ae98
only handle the first ever configuration message incoming 2021-02-11 11:25:03 +11:00
Audric Ackermann 6d28f343c9
try to decrypt unprocessed message when we get a new encryptionkeypair 2021-02-11 10:23:21 +11:00
Audric Ackermann ad06b94708 do not drop a message which was not decrypted for a medium group
Instead, trigger a request to the group to get the encryption keypair.
We will try to process those messages on an app restart
2021-02-10 18:12:11 +11:00
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 2021-02-10 17:45:11 +11:00
Audric Ackermann 850233bc9e review PR 2021-02-10 10:31:48 +11:00
Audric Ackermann ed84760f0e
add a tslint rule to forbid use of async without await 2021-02-09 17:00:54 +11:00
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 2021-02-09 15:54:34 +11:00
Audric Ackermann c7fa765b65
be sure to have a conversationId on handleMessageEvent() 2021-02-09 14:44:23 +11:00
Audric Ackermann df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2 2021-02-09 13:46:06 +11:00
Audric Ackermann 5ec9722e00
autobind typescript class methods with autobind 2021-02-08 17:17:26 +11:00
Audric Ackermann b76ce0f2ff
update models to TS part2 2021-02-08 16:18:36 +11:00
Audric Ackermann 65ed81e980
enable explicit group updates on the sending side 2021-02-08 15:37:40 +11:00
Audric Ackermann ebd94ce15c
fix order of added new group in leftPane 2021-02-08 15:33:39 +11:00
Audric Ackermann 3b3378a2ee
finish explicit group updates 2021-02-08 15:33:16 +11:00
Audric Ackermann 3342c7fd26
lint 2021-02-08 15:30:48 +11:00
Audric Ackermann 1d85a6dc5f
trigger new message onError while handling a request 2021-02-08 15:23:57 +11:00
Audric Ackermann a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann aede96b69b
enable explicit group updates on the sending side 2021-02-08 14:12:44 +11:00
Audric Ackermann b88ea110e8
Add multi device v2 support 2021-02-08 11:56:14 +11:00
Audric Ackermann 64737a89d7
add ConfigurationMessage 2021-02-04 11:53:37 +11:00
Audric Ackermann 2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
Explicit group updates
2021-02-01 15:45:11 +11:00
Audric Ackermann c06f710b3b
fix order of added new group in leftPane 2021-02-01 13:12:44 +11:00
Audric Ackermann 334da0a169
finish explicit group updates 2021-02-01 11:35:06 +11:00
Audric Ackermann 82a7ed73df
trigger new message onError while handling a request 2021-01-29 11:44:22 +11:00
Audric Ackermann 46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
Improve open group loading speed
2021-01-29 11:43:41 +11:00
Audric Ackermann 0e25ab2874
WIP 2021-01-29 11:29:42 +11:00
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 2021-01-28 12:06:51 +11:00
Audric Ackermann 999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 2021-01-28 11:39:07 +11:00
Audric Ackermann 79028ebaeb
remove isUnidentifiedDelivery 2021-01-28 11:28:57 +11:00
Audric Ackermann c5ad206239
fix message added not shwon on SessionMessageList 2021-01-28 11:11:35 +11:00
Audric Ackermann 8b8fe66615 update profile of users when getting profile from opengroup message 2021-01-27 18:08:37 +11:00
Audric Ackermann 34e5648681 fix metadatabadges for closed group
do not show crown nor Mod badge
2021-01-27 18:08:02 +11:00
Audric Ackermann b218611831 remove contactCollection in convos. 2021-01-27 16:12:32 +11:00
Audric Ackermann 273eedc6a9 remove hasSignalAccount and Sealed Sender unused 2021-01-27 15:33:51 +11:00
Audric Ackermann e3a6e24898 remove body pending loading of message > 2000.
Also remove the limit when sending text messages
2021-01-27 15:26:30 +11:00
Audric Ackermann eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update 2021-01-22 14:41:06 +11:00
Audric Ackermann bb037f7edb
fix profile updates when flag is set (do not drop message) 2021-01-22 13:51:48 +11:00
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 2021-01-21 17:49:13 +11:00