Commit Graph

401 Commits (51e03cf4e59971ed3a82904bdc7872449591796c)

Author SHA1 Message Date
Audric Ackermann 0c0da48150
remove pow 4 years ago
Audric Ackermann e274313f23
add and remove Moderatos opengroupv2 (not yet working server side) 4 years ago
Audric Ackermann 5916ce5cbe
add the ban/unban logic for opengroupv2 4 years ago
Audric Ackermann 4aeec224b4
add download of attachments for opengroupv2 4 years ago
Audric Ackermann bc938f650e
move AttachmentsDownload to typescript 4 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 4 years ago
Audric Ackermann f7e163c142
add sending of message for opengroupv2` 4 years ago
Audric Ackermann 35d66d8865
fix bug fetching new token every request 4 years ago
Audric Ackermann 40793eb74d
fix leave of opengroupv2 logic 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 6896cffd75
Merge branch 'clearnet' into HEAD 4 years ago
Audric Ackermann 27323a12f4
Merge branch 'master' into clearnet 4 years ago
Audric Ackermann b68338e26c
working get and post request with opengroup api v2 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Audric Ackermann d98700b17f
allow unpadding of attachments if needed
currently, the padding of attachments is disabled behind  a featureFlags
4 years ago
Audric Ackermann 1a2d148482
add attachment padding 4 years ago
Audric Ackermann cfc7825eee
Merge remote-tracking branch 'upstream/master' into clearnet 4 years ago
Audric Ackermann ccf8a31ae3
move Attachments and Attachments_test to typescript 4 years ago
Audric Ackermann 2393dce448
fix tslint 4 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 4 years ago
Audric Ackermann f5a4094e0a
Merge pull request #1542 from Bilb/refactor-message-types
refactor to Visible and ControlMessage types
4 years ago
Audric Ackermann ec6a5995db
sync expire timer updates 4 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 4 years ago
Audric Ackermann eb30c7823c
add a way to click the toast to turn on microphone to show the settings 4 years ago
Audric Ackermann 0228cd5115
add attachment padding 4 years ago
Audric Ackermann aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration 4 years ago
Audric Ackermann 6fbe060973
move deleteAccount() to AccountManager 4 years ago
Audric Ackermann 305ece1c7c update our profile on incoming configMessage sent after our last update 4 years ago
Audric Ackermann 5d6d81b9ef Move accountManager to typescript 4 years ago
Audric Ackermann 0a539c79ce
on signup/register, set last_profile_update_timestamp to now() 4 years ago
Audric Ackermann b6ff4dc186
always share profileKey if it is set 4 years ago
Audric Ackermann 43e2ca00ff
do not sync profileKey on sync => only on ConfigurationMessage 4 years ago
Audric Ackermann fc24df00fb
always share our profileKey on outgoing messages 4 years ago
Audric Ackermann 01085244bd
split up registration signup tab logic to sub components 4 years ago
Audric Ackermann 641f9ee368
Fix the bug where if we leave and get added back, we get removed again 4 years ago
Audric Ackermann c55f204440
Merge branch 'clearnet' into restore-handle-configuration 4 years ago
Audric Ackermann 215cffdd75
address reviews 4 years ago
Audric Ackermann e0c2cf8e9a
Force configuration message on avatar or display name update 4 years ago
Audric Ackermann a61f5e6814
add contacts to ConfigurationMessage 4 years ago
Audric Ackermann 0a82bf98fa
Add displayName and avatar pointer to ConfigurationMessage 4 years ago
Audric Ackermann e466062f15 WIP 4 years ago
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
4 years ago
Audric Ackermann 370158951a move events from MessageQueue to MessageSentHandler 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann ebf9714e49
remove MessageQueueInterface 4 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann b76ce0f2ff
update models to TS part2 4 years ago
Audric Ackermann 5a7c8ffa35
fix previews sent on next message if they are resolved too late 4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 4 years ago
Audric Ackermann 64737a89d7
add ConfigurationMessage 4 years ago
Audric Ackermann 859cbfbe36
Merge pull request #1466 from Bilb/fix-link-previews
fix previews sent on next message if they are resolved too late
4 years ago
Audric Ackermann cdd6fb61eb
fix previews sent on next message if they are resolved too late 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 4 years ago
Audric Ackermann c7d6e940ce speed up loading of messages by removing db call to fetch our pubkey 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 21c3e4717e
Merge pull request #1434 from Bilb/remove-prekey
Remove prekeys message and Session managment.
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 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 d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann 2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
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 4c0a988fe5
Move the metadata badges to use react functional components 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 9f14924e65
push toast if gif size is too big 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 f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 4 years ago
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 4 years ago
Audric Ackermann e613613416
show toast with react-toastify and make them a styled-component 4 years ago
Audric Ackermann 0b4400837b
fix scroll to quoted message and contact display name of group updates 4 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 55fa65fc31
override attachments name on upload 5 years ago
Audric Ackermann fe3cfb9e82
move all menu to react-contexify 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 a80f9a5965
fix medium group to match mobile way 5 years ago
Audric Ackermann cd1a940719
add back Copy Session ID but show it only for user context click 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 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 3e56eb6133
add beta german translation copy pasted from android 5 years ago
Audric Ackermann 708a999ff6
fix caption for attachments when they are set 5 years ago
Audric Ackermann ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack 5 years ago
Audric Ackermann 38724d0992
filter convos to block sync by getting list from BlockedNumberController 5 years ago
Audric Ackermann 401c37c39e
make standardized menu, use them in ConversationHeader
and ConversationListItem
5 years ago
Audric Ackermann 48edd431da
use constants rather than string for ttl 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
Audric Ackermann d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock 5 years ago
Vincent 5216cc2c2e merge clearnet 5 years ago
Vincent c020eddef6 constants-to-ts 5 years ago
Maxim Shishmarev f6223ce5ab Use message queue for medium group chat messages 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
Audric Ackermann f03d66de38
use active_at to show and sync real contacts from contact list 5 years ago
Audric Ackermann 696fbd8d7a
address review 5 years ago
Audric Ackermann 178060e4d2
handle Uint8Array in protobuf.convertToTS() 5 years ago
Mikunj 2d5230715f Merge branch 'clearnet' into closed-group-fixes 5 years ago
Mikunj c422c9e2ad Lint 5 years ago
Mikunj fd547941d6 Fix sync message issue 5 years ago
Mikunj 8d11660b13 Fix attachments 5 years ago
Vincent d1a77b82ee rm tmp file 5 years ago
Vincent 7498a255a2 utils compatiblity merger 5 years ago
Mikunj 4a3188bbf9 minor fixes 5 years ago
Mikunj d4dc8aa2ed remove SyncMessageUtils.from 5 years ago
Mikunj a972c328c7 Change how sync messages are handled 5 years ago
Mikunj 347a1e5582 Add avatar uploading to attachment utils 5 years ago
Mikunj c589f4a4af Finish hooking up attachments 5 years ago
Vincent 2d0409f9c8 Merge branch 'gorup-tests' into utils-tests 5 years ago
Vincent a6433fe5dd merge 5 years ago
Vincent c3af41cb80 merge 5 years ago
Vincent f4fdd42ef3 string-tests 5 years ago
Mikunj 366ccdf97d Add more functions 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Vincent 32015eeab6 ptests 5 years ago
Audric Ackermann cd79b5051c
move more logic to build sync message in ts for ContactSync and GroupSync 5 years ago
Audric Ackermann 655cc0575e
add sync of closed groups/open groups/ contacts with new pipeline 5 years ago
vincent 152adbf4d5 syncMessage done 5 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Vincent f72423c2ba types-etc 5 years ago
Audric Ackermann cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Mikunj 4d0d2727bd Added strict type checking to group id 5 years ago
Vincent aa6ce0787b with-electron? 5 years ago
Vincent 65148300e7 from-to-toSyncMessage 5 years ago
Vincent 58ab611c9e pulled 5 years ago
Mikunj 3bf5796cd5 Modify periodic check implementation 5 years ago
Mikunj d862269f8d Update tests 5 years ago
Audric Ackermann 9c1f0e76fd
add RequestContactSyncMesage 5 years ago
Audric Ackermann 9ec0c8e6a8
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann d946678d59
fix encryption type for rawMessage 5 years ago
Vince fe7aaa0aaa
Merge pull request #1177 from vincentbavitz/message-queue-test
Message Queue Tests
5 years ago
Vincent 18af13d7d9 merge-fixups 5 years ago
Audric Ackermann 457a94790c
fix await of promises in if statements 5 years ago
Mikunj 3f93b25ac2 Added string utils 5 years ago
Vincent 42a788c8e3 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into message-queue-test 5 years ago
Mikunj 57b5effaf2 Replace long 5 years ago
Mikunj ae2b8334e0 Replace bytebuffer component 5 years ago
Mikunj 4747c5f0db Merge branch 'clearnet' into multi-device-protocol-test 5 years ago
Mikunj 0933cf8b02 Added multi device protocol tests 5 years ago
Audric Ackermann 4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Audric Ackermann 10e095ba9d
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Mikunj 27f4378de8 Merge branch 'clearnet' into multi-device-protocol 5 years ago
Vincent fde52e7b7f splitting 5 years ago
Mikunj 93c19395c1 Change back to old window syntax and allow stubbing of it 5 years ago
Vincent dbc44cb78b Merge branch 'open-group-class' into message-queue-test 5 years ago
Audric Ackermann 66de8d9648
remove plenty of the friend logic 5 years ago
Mikunj ae44f0da0f Remove old multi device functions 5 years ago
Vincent 8417e3660d fixup-review 5 years ago
Vincent fc45f1c438 Merge branch 'message-sending-refactor-queue' into message-queue-test 5 years ago
Vincent 0f2d24fa11 fixup-review 5 years ago
Vincent 2be1c2fd94 groups-test 5 years ago
Vincent 35665f3cb6 is-medium-group 5 years ago
Vincent bffb43dd19 review-fixes 5 years ago
Vincent d0c9f8b773 review-fixes 5 years ago
Vincent 48e3ded9d2 review changes 5 years ago
Vincent affba056d2 just-cache 5 years ago
Vincent 6c35f3c773 optimized OpenGroup 5 years ago
Vincent a76a0bed00 sync proto 5 years ago
Vincent 3140dee2b2 queue-utils 5 years ago
Vincent 83f70f1ff0 OpenGroup class and sending to Groups 5 years ago
Vincent fb903daf20 sync msgs 5 years ago
Vincent 80bc3520bd queue 5 years ago
Vincent b203dc4493 Finalized cache 5 years ago
Vincent afcbf7049e linted 5 years ago
Vincent b8ec9bd995 Typify PubKey 5 years ago
Vincent a5cfbd584b linted 5 years ago
Vincent dec7aa10c8 Revert pulls 5 years ago
Audric Ackermann 6faa764419
lint 5 years ago
Mikunj 0f6053ce08 Add events to MessageQueueInterface.
Added strict typings for events.
5 years ago
Mikunj 3dfc1ca213 Improved JobQueue.
Added tests.
5 years ago
Mikunj e0f27ba712 basic classes for message sending 5 years ago