Commit graph

1871 commits

Author SHA1 Message Date
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
b7f5a32570
add reply to message UI logic 2020-10-15 11:18:37 +11:00
Audric Ackermann
1a379d2466
add theme logic to switch between dark/light theme based on redux store 2020-10-15 10:07:38 +11:00
Audric Ackermann
6c7f1598b7
add a flex component using styled 2020-10-15 10:01:00 +11:00
Audric Ackermann
6e07ee42f5
cleanup network status view and some UI constants 2020-10-13 13:57:43 +11:00
Audric Ackermann
a652ec3b61
fix light theme in react refactor 2020-10-09 13:30:10 +11:00
Audric Ackermann
4d991d3992
Merge branch 'clearnet' into react-refactor 2020-10-08 17:23:55 +11:00
Audric Ackermann
dfff6c2149
Merge pull request #1374 from Bilb/hide-shorten-pubkey-except-public 2020-10-08 09:53:43 +11:00
Audric Ackermann
37dd7b87cc
remove right buttons on Message. use right click instead 2020-10-07 16:09:01 +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
f57c85dc0d
hide pubkey when not needed on conversationHeader and listItem 2020-10-06 15:45:27 +11:00
Audric Ackermann
16b8fc8620
hide shortened pubkey except for public groups 2020-10-06 14:17:23 +11:00
Audric Ackermann
232b1a416a
do not refresh group panel media if length of media did not change 2020-10-05 15:14:06 +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
Audric Ackermann
85fd481ff3
Merge pull request #1362 from Bilb/f-xtyping-bubble-theme
Fix typing bubble theme
2020-10-05 11:35:01 +11:00
Audric Ackermann
68a1091e99
Merge pull request #1361 from Bilb/fix-mention-@-with-long-title
render @ mention correctly with long title on ConversationListItem
2020-10-05 11:34:50 +11:00
Audric Ackermann
97eaf68085
clean getExistingSenderKeysForGroup as we don't need the diff anymore 2020-10-05 11:29:02 +11:00
Audric Ackermann
c0497e3df1
trigger senderKeyRequest if we get a DOMException on decryptGCM() 2020-10-05 11:16:13 +11:00
Audric Ackermann
05e682cdc2
enable back swarm polling when we get added back to a group 2020-10-05 10:53:09 +11:00
Audric Ackermann
3fa1a8f2b5
mark medium group as not left if we get a message INFO adding us back 2020-10-02 15:29:43 +10:00
Audric Ackermann
cfb9e65f30
trigger new ratchet send on message sent success
send our new ratchet to all new members when we just sent a message
containing no senderKey in it.

an set but empty senderKey array should only be sent when a user left or
was removed.
2020-10-02 14:27:46 +10:00
Audric Ackermann
a05b6556b0
remove unused handleQuit for medium groups 2020-10-01 16:16:46 +10:00
Audric Ackermann
e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members 2020-10-01 16:13:26 +10:00
Audric Ackermann
5d7d66f65a
fix bug making session request being sent for medium group create 2020-10-01 15:13:06 +10:00
Audric Ackermann
a80f9a5965
fix medium group to match mobile way 2020-10-01 15:12:51 +10:00
Audric Ackermann
baaca1a29f
switch medium or closed group deeper in code 2020-10-01 15:05:25 +10:00
Audric Ackermann
82bc050ddd
always create a closed group the type set in the feature flag
speaking about enableSenderKeys
2020-10-01 09:58:10 +10:00
Audric Ackermann
06d0683ce5
WIP 2020-09-30 10:23:27 +10:00
Audric Ackermann
22afe50c05
make messageQueue handle medium group message in sendToGroup 2020-09-30 10:22:36 +10:00
Audric Ackermann
d4e9b43f0c
remove QUIT type of mediumgroupupdate 2020-09-30 10:14:19 +10:00
Audric Ackermann
4a86c81edf
themify the typing bubble 2020-09-25 14:29:32 +10:00
Audric Ackermann
4578c635a6
render @ mention correctly with long title on ConversationListItem 2020-09-25 14:13:32 +10:00
Audric Ackermann
82be1ca60f
allow medium group updates from non admin 2020-09-25 13:45:40 +10:00
Audric Ackermann
53a14a0b60
add prefix to ExpirationTimerUpdateMessage for closed group too 2020-09-25 10:53:21 +10:00
Audric Ackermann
c052b1a2ec
update group size limit to 20 now that those are ssk groups
Also removed removed description while creating a medium group as it was
removed on mobile
2020-09-25 09:35:39 +10:00
Audric Ackermann
c01cd634e4
Generate our own senderkey if it does not exist
This case can happen on restore from seed
2020-09-24 14:29:34 +10:00
Audric Ackermann
c3e2397b0a
Merge pull request #1353 from Bilb/bad-snode-difficulty-100
mark node as bad if it returns difficulty 100
2020-09-24 10:15:03 +10:00
Audric Ackermann
e5db9916a5
allow closed group updates from non-admin user 2020-09-24 09:27:44 +10:00
Audric Ackermann
d12e0500af
mark node as bad if it returns difficulty 100 2020-09-23 11:43:47 +10:00
Audric Ackermann
bfcbf4fe08
Merge pull request #1347 from Bilb/avatar-add-animation-clickable 2020-09-22 10:42:38 +10:00
Audric Ackermann
4505bed61b
add migration to drop existing textsecure prefix from group convo ids 2020-09-22 08:58:21 +10:00
Audric Ackermann
86b15328c1
drop the prefix for group on the incoming message object 2020-09-21 15:59:56 +10:00
Audric Ackermann
9295fe7c58
add opacity change on hovered clickable avatar 2020-09-21 14:14:12 +10:00
Audric Ackermann
92cc9a7cdd
Merge pull request #1346 from Bilb/add-pn-notify
add notify to PN server on message sent
2020-09-21 13:38:43 +10:00