Audric Ackermann
334da0a169
finish explicit group updates
4 years ago
Audric Ackermann
46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
...
Improve open group loading speed
4 years ago
Audric Ackermann
0e25ab2874
WIP
4 years ago
Audric Ackermann
6e11c6db2e
remove all reference to closed group update v2
4 years ago
Audric Ackermann
999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage
4 years ago
Audric Ackermann
3d47d7d0e8
remove EbeddedContact components
4 years ago
Audric Ackermann
02fb5783a4
remove regionCode and PhoneNumber.ts
4 years ago
Audric Ackermann
c7d6e940ce
speed up loading of messages by removing db call to fetch our pubkey
4 years ago
Audric Ackermann
e3a6e24898
remove body pending loading of message > 2000.
...
Also remove the limit when sending text messages
4 years ago
Audric Ackermann
ce8bc84de0
add way to add/remove moderators from the message click handler
4 years ago
Audric Ackermann
5c3cb0a165
make moderator dialogs the Session way
4 years ago
Audric Ackermann
a0703bc2f9
remove primary and secondary device separate status
4 years ago
Audric Ackermann
135fc3b366
remove prekeys
4 years ago
Audric Ackermann
fd18345c5a
remove handling of rss related things completely
4 years ago
Audric Ackermann
c0484207d1
Merge branch 'clearnet' into fix-ban-user
4 years ago
Audric Ackermann
21c3e4717e
Merge pull request #1434 from Bilb/remove-prekey
...
Remove prekeys message and Session managment.
4 years ago
Audric Ackermann
6dd9dde44f
increase closed group size limit to 100
4 years ago
Audric Ackermann
39c64b9fbf
toast adding moderator to remind that the user needs to be registered
4 years ago
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)
4 years ago
Audric Ackermann
979a9058e3
remove verified number - related features (partial)
4 years ago
Audric Ackermann
75b7788fa9
remove stuff related to web api
4 years ago
Audric Ackermann
f1d84177a0
fix expirationTimer updates closed group desktop to ios
4 years ago
Audric Ackermann
eb9828a3b7
fix tests
4 years ago
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests
4 years ago
Audric Ackermann
6cf838ade8
disallow remove of an admin from a closed group
4 years ago
Audric Ackermann
19f59ca41e
add some logs for message sending
4 years ago
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group
4 years ago
Audric Ackermann
d43ae09eb0
first working version of closed group v2
4 years ago
Audric Ackermann
9048913332
split conversation reducer for convo logic
...
also
- fix ordering of messages for open groups, when they are added
- fix the way the firstMessageOfSeries for just created clsoed groups
4 years ago
Audric Ackermann
2fe6b11e89
move ConversationController to typescript
4 years ago
Audric Ackermann
adf0d03d35
add test for the MessageEncrypter using Session protocol
4 years ago
Audric Ackermann
0a4cae4183
fix duplicates message for open groups
4 years ago
Audric Ackermann
2af4938ff2
fix SessionProtocol decrypt of messages with Android
...
also disable the old SessionRequest logic
4 years ago
Audric Ackermann
b0a229bf13
add Dialog on app start to ask to update SessionID
4 years ago
Audric Ackermann
1045bfeba8
add SessionProtocol wip
4 years ago
Audric Ackermann
cd3ec67099
add the encryptWithSessionProtocol method
4 years ago
Audric Ackermann
f28dfe5a94
use fallbacks for message even if we have a session with the device
4 years ago
Audric Ackermann
9fe87ca8c3
fix typing of MessageController
4 years ago
Audric Ackermann
4c0a988fe5
Move the metadata badges to use react functional components
4 years ago
Audric Ackermann
228e4ed662
move MessageController to typescript
4 years ago
Audric Ackermann
727261b36a
be sure to register outgoing message for medium groups when created
4 years ago
Audric Ackermann
60a4fcbfcc
small UI fixes for caption editor
4 years ago
Audric Ackermann
82b59f808d
no confirmation on message delete from the message detail view
4 years ago
Audric Ackermann
5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor
4 years ago
Audric Ackermann
465c9dfa77
remove dirty hack used before we use the notify on PN
...
this was used to not trigger events when sending a control message
4 years ago
Audric Ackermann
80523a9a3e
rename MessageQueue event to be more easily searchable
...
success -> sendSuccess
fail -> sendFail
4 years ago
Audric Ackermann
cc049065da
do not use v3 for live.apns.getsession.org PN calls
4 years ago
Audric Ackermann
9f14924e65
push toast if gif size is too big
4 years ago
Audric Ackermann
da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
4 years ago
Audric Ackermann
f2074f502a
Uniformize size of accepted attachment to 10MB
...
Some image files can be scaled automatically, so this size is not the
same for them, they will just be scaled down
4 years ago
Audric Ackermann
edd984e0f5
make quotes stay empty when there object isEmpty()
4 years ago
Audric Ackermann
b5af8eb215
Add Mentions with react-mentions
4 years ago
Audric Ackermann
828aa4413f
remove unused group_member_list component
4 years ago
Audric Ackermann
2f2eb2ad53
link back backbone conversation events to redux store
4 years ago
Audric Ackermann
f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages
4 years ago
Audric Ackermann
30f93b2ad3
remove conversation stack
4 years ago
Audric Ackermann
190d597814
only trigger new msg on open group if we are still running
4 years ago
Audric Ackermann
c039c89a26
remove resetMessageSelection() as unused and cleanup toast
4 years ago
Maxim Shishmarev
27859b13aa
Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses
4 years ago
Audric Ackermann
8710b7a9e8
medium group: send existing expiretimer to joining members if set
4 years ago
Audric Ackermann
545eef4edb
include expireTimer in group invitation message so it does not reset it
4 years ago
Audric Ackermann
e613613416
show toast with react-toastify and make them a styled-component
4 years ago
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed
5 years ago
Audric Ackermann
0b4400837b
fix scroll to quoted message and contact display name of group updates
5 years ago
Audric Ackermann
940ad57f83
rework the way unread count works
...
we no longer refresh on each message read, only once the whole
conversation is read.
5 years ago
Audric Ackermann
13e02b5bf1
add staged link previews for everything from signal
5 years ago
Audric Ackermann
12bf46e09e
use pushToast through ToastUtils when it's a static toast content
5 years ago
Audric Ackermann
79eae4838d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
55fa65fc31
override attachments name on upload
5 years ago
Audric Ackermann
5de2dea407
use .ok field on serverRequest to check for request success
5 years ago
Audric Ackermann
fe3cfb9e82
move all menu to react-contexify
5 years ago
Audric Ackermann
2b13321c23
remove completely send to proxy
5 years ago
Audric Ackermann
4c91d977ca
move token and submit challenge call to onion request
5 years ago
Maxim Shishmarev
61897df7dd
Lint
5 years ago
Maxim Shishmarev
c5b2b64d7f
Add onions-v2 support for fileserver requests
5 years ago
Maxim Shishmarev
692a0e8cff
Optionally use v2 onions for snode requests
5 years ago
Audric Ackermann
b46ed237b3
allow empty message when they have attachments
5 years ago
Audric Ackermann
c5927cfc4b
focus composition box after adding an attachment
5 years ago
Audric Ackermann
363da7aa80
add back toast on attachment adding error
5 years ago
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo
5 years ago
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
...
and cleanup scss
5 years ago
Audric Ackermann
1a379d2466
add theme logic to switch between dark/light theme based on redux store
5 years ago
Audric Ackermann
6e07ee42f5
cleanup network status view and some UI constants
5 years ago
Audric Ackermann
4d991d3992
Merge branch 'clearnet' into react-refactor
5 years ago
Audric Ackermann
2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet
5 years ago
Audric Ackermann
97eaf68085
clean getExistingSenderKeysForGroup as we don't need the diff anymore
5 years ago
Audric Ackermann
c0497e3df1
trigger senderKeyRequest if we get a DOMException on decryptGCM()
5 years ago
Audric Ackermann
05e682cdc2
enable back swarm polling when we get added back to a group
5 years ago
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.
5 years ago
Audric Ackermann
e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members
5 years ago
Audric Ackermann
5d7d66f65a
fix bug making session request being sent for medium group create
5 years ago
Audric Ackermann
a80f9a5965
fix medium group to match mobile way
5 years ago
Audric Ackermann
06d0683ce5
WIP
5 years ago
Audric Ackermann
22afe50c05
make messageQueue handle medium group message in sendToGroup
5 years ago
Audric Ackermann
d4e9b43f0c
remove QUIT type of mediumgroupupdate
5 years ago
Audric Ackermann
53a14a0b60
add prefix to ExpirationTimerUpdateMessage for closed group too
5 years ago
Audric Ackermann
d12e0500af
mark node as bad if it returns difficulty 100
5 years ago
Audric Ackermann
3a876c7322
add notify to PN server on message sent
5 years ago
Audric Ackermann
514eb9ba98
fix pubkey regex for mobile medium groups
5 years ago
Audric Ackermann
215c964fab
fix padding for medium group
5 years ago
Audric Ackermann
8123508b51
fix avatar closed group and pubkey for medium mobile groups
5 years ago
Audric Ackermann
d6e8247016
Merge pull request #1339 from Bilb/add-back-copy-session-id
...
add back Copy Session ID but show it only for user context click
5 years ago
Audric Ackermann
cd1a940719
add back Copy Session ID but show it only for user context click
5 years ago
Audric Ackermann
ff1c554e8a
make MediumGroupChatMessage share impl with ClosedGroupChatMessage
5 years ago
Audric Ackermann
04063cd0fb
make medium group pubkey be in bytes rather than str
5 years ago
Audric Ackermann
7054268b14
use source from decoded content and not envelope on ssk
5 years ago
Audric Ackermann
84c7ce006b
fix ctx menu on repeated block/unblock
5 years ago
Audric Ackermann
d3badba681
hide reset session from menu when user is blocked
5 years ago
Audric Ackermann
c34edee180
Merge pull request #1321 from Bilb/use-created-at-server-timestamp
...
Fixes #1249
5 years ago
Audric Ackermann
1e446b0a81
fix order for open groups message which are out of sync
5 years ago
Audric Ackermann
7501d71542
fix polling logic on network errors #995
5 years ago
Audric Ackermann
0721d469db
increase timeout allowed for joining open group
5 years ago
Audric Ackermann
0e75510e5b
remove ttl unused settings and all translated key
5 years ago
Audric Ackermann
73e2250ca8
add submenu rtl support (disabled for now)
5 years ago
Audric Ackermann
5739d78ada
edit group editing title to match Android
5 years ago
Audric Ackermann
90fac8f75e
show group members => groupmember
5 years ago
Audric Ackermann
70b739d24f
update translation to match android - part 1
5 years ago
Audric Ackermann
ad4c024530
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations
5 years ago
Audric Ackermann
13b28e565d
hide copy option for closed group
5 years ago
Audric Ackermann
d108630f22
add a toastUtils file and replace all pushToast calls in ts files
5 years ago
Audric Ackermann
e008dbd0d5
"leave {Closed|Open} Group" => "leave group"
5 years ago
Audric Ackermann
71004f04a2
add a getDeleteMenuItem and hide on open groups as
...
leave and delete messages does the same in fact
5 years ago
Audric Ackermann
cf3352d0af
add a timeout function to promiseUtils for attemptConnection
5 years ago
Audric Ackermann
3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
5 years ago
Audric Ackermann
3e56eb6133
add beta german translation copy pasted from android
5 years ago
Mikunj
c0fca99485
Disable multi device
5 years ago
Audric Ackermann
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
5 years ago
Audric Ackermann
6d65c9cc0a
make sendMessage return -1 on fail rather than false
5 years ago
Audric Ackermann
44349079ab
fix delete of open group messages
5 years ago
Audric Ackermann
64dff64925
fix mentions notification displayname rather than pubkeys
...
* replace @pubkeys with their corresponding display name if found
* fix the display of the @ sign on the conversationListItem
5 years ago
Audric Ackermann
708a999ff6
fix caption for attachments when they are set
5 years ago
Maxim Shishmarev
d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
...
Medium group protocol changes
5 years ago
Maxim Shishmarev
db05592400
Address review comments
5 years ago
Audric Ackermann
ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack
5 years ago
Audric Ackermann
eb06356b26
Merge pull request #1277 from Bilb/fix-blocklist-handle
5 years ago
Audric Ackermann
8558764768
fix open group integration tests
5 years ago
Audric Ackermann
52cb50f063
make lokiPlainFetch return a SnodeResponse object
5 years ago
Audric Ackermann
38724d0992
filter convos to block sync by getting list from BlockedNumberController
5 years ago
Maxim Shishmarev
f1bc0ffc27
Fix export for file onions
5 years ago
Audric Ackermann
401c37c39e
make standardized menu, use them in ConversationHeader
...
and ConversationListItem
5 years ago
Audric Ackermann
394030b711
remove getDefaultTTL and use Constants values instead
5 years ago
Audric Ackermann
48edd431da
use constants rather than string for ttl
5 years ago
Audric Ackermann
467f96acac
substract 1 hour for control of ttl message so PN can ignore them
5 years ago
Audric Ackermann
ce6263dc21
share ContextMenu item tests for ConversationListeItem and ConversationHeader
5 years ago
Audric Ackermann
8105f0647a
make a few unit tests quicker by polling more aggressively on results
5 years ago
Audric Ackermann
cd516aab64
lint
5 years ago
Audric Ackermann
3e23039adb
do not sync blocked closed group as mobile is not ready yet
5 years ago
Maxim Shishmarev
cc43555cd2
Merge branch 'clearnet' into medium-group-fixes
5 years ago
Audric Ackermann
d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock
5 years ago
Maxim Shishmarev
87144336b7
Large refactor of medium groups. Fixes them for multidevice
5 years ago
Vincent
28a0d82ea2
Updating message recieving
5 years ago
Maxim Shishmarev
8f0d59f9b8
Fix not shuffling nodes requested for pubkey
5 years ago
Vincent
3591001ef1
audio component ui
5 years ago
Vincent
c26e20d33f
css-loader
5 years ago
Audric Ackermann
c7b5fdf02d
Merge pull request #1246 from Bilb/accept-group-ids-from-mobile
5 years ago
Audric Ackermann
20a286d288
add comments about temporary fix with mobile group pubkeys regex
5 years ago
Audric Ackermann
edc34649a4
Merge pull request #1241 from Bilb/fix-our-profile-picture-change
5 years ago
Audric Ackermann
4e56ad2419
Merge pull request #1244 from Bilb/fix-sending-errors-handling
5 years ago
Audric Ackermann
f491158b3f
add the group id from mobile as valid pubkey key
5 years ago
Audric Ackermann
3fd260b793
enforce type of profileKey and signature on linking messages
5 years ago
Vincent
5216cc2c2e
merge clearnet
5 years ago
Vincent
c020eddef6
constants-to-ts
5 years ago
Audric Ackermann
f641b9436b
fix our handling of snode sending errors so we have a real error shown
...
when a message fails to send because of it.
Also, fix the retry logic on the corresponding message
5 years ago
Maxim Shishmarev
1d1a62e683
Fix incorrectly syncing medium group chat messages
5 years ago
Vincent
fd746a475a
ui polished and ttl constants
5 years ago
Maxim Shishmarev
d747249d4f
Merge branch 'clearnet' into revive-medium-groups
5 years ago
Maxim Shishmarev
6351fc1d4c
Lint
5 years ago
Maxim Shishmarev
f6223ce5ab
Use message queue for medium group chat messages
5 years ago
Vincent
39dea3b1bc
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into blocked-fixes
5 years ago
Vincent
9b07c8fc8e
outline-class
5 years ago
Audric Ackermann
a4fedaf75d
fix empty avatar being undefined rather than ''
...
building ClosedGroupUpdate message via ts makes it have an avatar
content with fields empty if we pass '' as avatar.
we wamt no avatar field at all
5 years ago
Maxim Shishmarev
237bd84b35
Fix medium group sending for single device users; protocol changes
5 years ago
Vincent
ca96992a44
Pukbeyified
5 years ago
Vincent
68f2a90f7c
pubkeys-in-message-encryptor-init
5 years ago
Mikunj
646973e330
Made changes to how messages are sent.
...
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.
This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Maxim Shishmarev
7724df25cc
Fix incorrect handling of pow update
5 years ago
Audric Ackermann
f03d66de38
use active_at to show and sync real contacts from contact list
5 years ago
Audric Ackermann
4aa0667686
OpenGroup: get conversation from conversationController rather than appDotNetApi
5 years ago
Audric Ackermann
880e039652
handle grantSignature undefined
5 years ago
Audric Ackermann
7fe188417a
Merge pull request #1227 from Bilb/fix-1.0.9-interoperability
...
include verb and path on outgoing websocket message
5 years ago
Audric Ackermann
f8aa50546b
include verb and path on outgoing websocket message
5 years ago
Vincent
6cb05c3677
review-fixes
5 years ago
Vincent
4a13b1e6bb
attemptConnection-complete
5 years ago
Vincent
baf3050b1d
@params
5 years ago
Vincent
3a3d412542
linted
5 years ago
Vincent
e72970fdc7
load-conv-public
5 years ago
Vincent
a005aa8a2e
onLoading join
5 years ago
Vincent
b05d2e6725
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into https-open-group
5 years ago
Audric Ackermann
d5cfcf9edc
Merge pull request #1223 from Bilb/various-closed-group-fixes
...
* fix display name and avatar to be shown when message is coming from a secondary device
* fix show of expiretimer in the group conversation when it is for it.
* fix a bug creating empty conversation when sync closed group message is received on secondary device
* trigger an expiretimer update message to all members when updating a group.
* trigger an expiretimer update message when sending back group details (after a requestGroupInfo)
5 years ago
Vincent
6111cb2d17
server-regex-tighten
5 years ago
Audric Ackermann
696fbd8d7a
address review
5 years ago
Vincent
f6ae5386e9
getting opengroup conversation
5 years ago
Maxim Shishmarev
a2b80a5e68
Address review comments
5 years ago
Vincent
ab966e600a
OpenGrop joining
5 years ago
Audric Ackermann
178060e4d2
handle Uint8Array in protobuf.convertToTS()
5 years ago
Maxim Shishmarev
29fe64f5d5
Fix retrieving with pubkey object
5 years ago
Vincent
54209e98a8
propogate join channel erros
5 years ago
Vincent
39b41cb222
joining-open-groups
5 years ago