Commit graph

483 commits

Author SHA1 Message Date
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
Audric Ackermann
135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann
fd18345c5a
remove handling of rss related things completely 2021-01-19 16:11:33 +11:00
Audric Ackermann
21c62c167e
remove typing indicator when we get a dataMessage 2021-01-18 11:53:35 +11:00
Audric Ackermann
72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann
979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann
75b7788fa9
remove stuff related to web api 2021-01-15 10:56:49 +11:00
Audric Ackermann
f1d84177a0 fix expirationTimer updates closed group desktop to ios 2021-01-14 16:34:05 +11:00
Audric Ackermann
58be168227 drop groupUpdates which happened before we joined the group 2021-01-14 14:37:09 +11:00
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests 2021-01-13 15:28:20 +11:00
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 2021-01-13 11:02:22 +11:00
Audric Ackermann
d43ae09eb0
first working version of closed group v2 2021-01-12 16:56:21 +11:00
Audric Ackermann
2fe6b11e89
move ConversationController to typescript 2021-01-06 14:26:53 +11:00
Audric Ackermann
adf0d03d35
add test for the MessageEncrypter using Session protocol 2021-01-05 14:48:46 +11:00
Audric Ackermann
0a4cae4183
fix duplicates message for open groups 2020-12-17 15:07:32 +11:00
Audric Ackermann
2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
2020-12-17 12:17:11 +11:00
Audric Ackermann
b0a229bf13 add Dialog on app start to ask to update SessionID 2020-12-16 16:35:30 +11:00
Audric Ackermann
1045bfeba8 add SessionProtocol wip 2020-12-16 13:56:29 +11:00
Audric Ackermann
6b56f1174e search for duplicates using the sent_at timestamp to speedup db call 2020-12-15 17:15:25 +11:00
Audric Ackermann
cd3ec67099 add the encryptWithSessionProtocol method 2020-12-15 17:15:00 +11:00
Audric Ackermann
cf25e89a14 cleanup unused code 2020-12-15 17:14:18 +11:00
Audric Ackermann
4026e0162e fix a bug preventing fitlering of duplicates for open group messages 2020-12-15 10:45:34 +11:00
Audric Ackermann
228e4ed662
move MessageController to typescript 2020-12-02 11:26:31 +11:00
Audric Ackermann
184b1984c3
fix autoplay unmuted video when video attachment is added 2020-12-01 16:16:35 +11:00
Audric Ackermann
0addf2146a
add some logs to attachment download 2020-11-24 16:20:02 +11:00
Audric Ackermann
9f14924e65
push toast if gif size is too big 2020-11-23 17:05:41 +11:00
Audric Ackermann
da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-11-23 16:26:52 +11:00
Audric Ackermann
97ff60f3bb
reset input for selecting file on file choosen on CompositionBox 2020-11-23 15:01:28 +11:00
Audric Ackermann
380d296bb2
send session request if we get a message we cannot decode
This handle the case where we delete a contact from A, lets call him B
All message after that delete from B to A will be not decoded correctly.

The issue is that the record is existing, but there is no session in it.
The fix is that if we get a message and a record is found, but has not
session in it, we trigger a session request with that user
2020-11-23 13:24:57 +11:00
Audric Ackermann
b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann
531e7bab46
print error if we get a 178 attachment size.
This is a dirty hack until the root cause is fixed.
2020-11-17 15:26:50 +11:00
Audric Ackermann
221f264de6
rename all saveMessage to message.commit() 2020-11-12 09:21:19 +11:00
Audric Ackermann
209fe460e4
lint and fix toast blur when dialog shwon 2020-11-10 14:55:10 +11:00
Audric Ackermann
357421f161
rename window.console.log to window.log.info 2020-11-09 14:28:02 +11:00
Maxim Shishmarev
27859b13aa Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses 2020-11-09 14:25:24 +11:00
Audric Ackermann
e613613416
show toast with react-toastify and make them a styled-component 2020-11-09 11:25:57 +11:00
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed 2020-11-06 14:44:04 +11:00
Audric Ackermann
dad9e5297c
make the last seen indicator work as expected 2020-11-02 14:03:11 +11:00
Audric Ackermann
940ad57f83
rework the way unread count works
we no longer refresh on each message read, only once the whole
conversation is read.
2020-10-30 16:02:18 +11:00
Audric Ackermann
ef3f3d0af5
enable back link previews in sent message 2020-10-28 14:11:57 +11:00
Audric Ackermann
68e9376c5e
throw error on invalid response while downloading attachment 2020-10-27 12:37:26 +11:00
Audric Ackermann
17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 2020-10-27 09:14:08 +11:00
Maxim Shishmarev
5ecf43c124 Fix open group file uploads using incorrect server 2020-10-22 17:14:10 +11:00
Audric Ackermann
3998bbc97d
fix more typing errors of conversation object 2020-10-16 14:55:12 +11:00
Audric Ackermann
c41eaada25
move display of message list to a subcomponent 2020-10-16 14:54:31 +11:00
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo 2020-10-15 17:19:49 +11:00
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann
c7e54c4257
make attachment download use onion routing 2020-10-08 15:36:57 +11:00
Audric Ackermann
b050a3740d
clean all updateConversation calls to convo.commit() 2020-10-07 15:25:57 +11:00
Audric Ackermann
1a5a0786a1
fix new medium group mark as unread then as read on opened 2020-10-07 15:22:22 +11:00
Audric Ackermann
7a8a22701b
Merge pull request #1370 from Bilb/fix-medium-groups 2020-10-05 14:50:02 +11:00
Audric Ackermann
a1c58044d3
Merge pull request #1371 from Bilb/drop-admin-medium-groups
require admin for editing a closed group, but not a medium one
2020-10-05 14:08:58 +11:00
Audric Ackermann
2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet 2020-10-05 12:56:39 +11:00
Audric Ackermann
99608440d0
Merge pull request #1358 from Bilb/generate-own-sender-key-not-found
Generate our own senderkey if it does not exist
2020-10-05 12:49:52 +11:00
Audric Ackermann
4215aa1e3b
require admin for editing a closed group, but not a medium one 2020-10-05 11:39:00 +11:00