Commit Graph

112 Commits

Author SHA1 Message Date
Audric Ackermann 9dbf190083
fix mismatches protobuf for senderkey type on mediun groups with android 2020-10-01 14:58:17 +10:00
Audric Ackermann d4e9b43f0c
remove QUIT type of mediumgroupupdate 2020-09-30 10:14:19 +10:00
Audric Ackermann 04063cd0fb
make medium group pubkey be in bytes rather than str 2020-09-15 09:04:10 +10:00
Audric Ackermann ec64ad80b4
rename LOKI_FRIEND_REQUEST to FALLBACK_MESSAGE 2020-09-14 12:15:22 +10:00
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 2020-07-23 15:39:46 +10:00
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 2020-07-22 17:41:21 +10:00
Mikunj ea78445bb5 Fixup comments in proto file 2020-07-14 14:34:37 +10:00
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 2020-07-10 17:59:33 +10:00
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.
2020-07-10 10:00:21 +10:00
Audric Ackermann f3ae798b12
remove SESSION_REQUEST flag from DataMessage. now in envelope 2020-07-02 09:46:55 +10:00
Audric Ackermann d1518f8233
add new handling of session request message 2020-06-11 11:43:58 +10:00
Maxim Shishmarev abde96bc1e Fix medium group updates 2020-05-29 17:48:57 +10:00
Maxim Shishmarev 2a0130ff04 Multidevice support for medium groups 2020-05-29 17:47:39 +10:00
Maxim Shishmarev 61d4c7c349 Encrypt source for medium groups 2020-05-05 17:03:21 +10:00
Maxim Shishmarev debb922521 Medium groups with sender keys essentials 2020-05-04 13:29:28 +10:00
Audric Ackermann 6d03a63d4a
add sync of open groups on device link 2020-02-21 15:32:31 +11:00
Mikunj abf298ba25 Added sending of group sync message 2020-02-19 10:32:30 +11:00
Mikunj 8ae793db19 Rename BACKGROUND_FRIEND_REQUEST to SESSION_REQUEST.
Don't trigger friend request logic if a message is aimed at a group.
2020-02-05 10:32:14 +11:00
Maxim Shishmarev b7e93ab597 Support sealed sender for friend requests 2020-01-29 11:08:43 +11:00
Maxim Shishmarev b405b150cc Sealed sender support 2020-01-29 11:08:13 +11:00
Maxim Shishmarev 81bfa90943 Prompting the user to reset session on invalid ciphertext 2019-11-28 14:05:11 +11:00
Maxim Shishmarev 2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
Public chat invitations
2019-11-25 16:29:02 +11:00
Maxim Shishmarev 89e5e919f2 Address more review comments 2019-11-25 12:02:03 +11:00
Maxim Shishmarev 8ea82b14e3 Add channel id field to invitations 2019-11-25 10:02:24 +11:00
Maxim Shishmarev a5fce17d8c public chat invitations 2019-11-22 16:16:43 +11:00
sachaaaaa db0068b429 Sending and handling of special UNPAIRING_REQUEST message 2019-11-21 13:50:18 +11:00
Maxim Shishmarev 4dd314c18f Enable profile pictures 2019-11-18 17:34:41 +11:00
Beaudan Brown 685ada5cc5 Merge branch 'clearnet' into prep-merge 2019-11-15 12:31:40 +11:00
Maxim Shishmarev 7c05939f55 Add group admins and the ability to remove members from private groups 2019-11-01 12:00:29 +11:00
Maxim Shishmarev cf18572049 Adding new group members; establishing sessions between non-friends 2019-11-01 11:57:49 +11:00
Mikunj 589b3f3233 Infer pairing message type from the content.
This should fix device pairing cross platform.
2019-10-29 15:51:40 +11:00
Beaudan Brown d97eced37b Merge branch 'clearnet' into multi-device 2019-10-23 16:34:56 +11:00
Beaudan Brown c7a91686a8 Update proto id and use the server id as the attachmentpointer id 2019-10-17 16:49:44 +11:00
Beaudan Brown 5710c1268c Revert id field and add new url field to be compatible with mobile 2019-10-16 16:37:31 +11:00
Beaudan Brown 4e85435bf7 Update attachment pipeline to upload and download from loki fileserver 2019-10-16 15:58:49 +11:00
sachaaaaa b10835ffc7 Share contact upon authorising secondary device 2019-09-05 21:29:20 +10:00
sachaaaaa a4411007b0 Pairing authorisations: refactor proto, change sql table, add getters 2019-08-23 16:31:35 +10:00
sachaaaaa d208614909 Multi-device part 1: make primary account generate and send authorisation to secondary 2019-08-12 15:07:17 +10:00
sachaaaaa beac7a02bb send "unreachable" ping to allow half-p2p 2019-06-28 12:09:46 +10:00
Mikunj 2c12c8a1d8 Convert profile field in data message to use LokiProfile instead of signal Contact. 2019-05-29 09:26:16 +10:00
sachaaaaa 7186f28019 Ensure a session is always initiated using the prekey assigned to the contact 2019-02-07 17:58:24 +11:00
sachaaaaa a0f67c22da Merge branch 'textsecure/master' into merge_1_21_0
* textsecure/master: (26 commits)
  v1.21.0
  v1.21.0-beta.4
  Dark Theme: Preserve blue background on app loading screen
  Localization updates
  Fix width of audio player when window is very narrow
  A number of small fixes for Link Previews
  Get rid of the white flash when the app starts up (#3083)
  v1.21.0-beta.3
  Lint fixes
  Introduce new language: NB
  Fail over to all numbers in retry if errors don't have numbers
  Use the proper method for pulling attachments off disk for retry
  Fix rendering bug with verified state in updateVerified()
  Update electron-builder and electron-updater
  Ensure that dialog pops up when permissions denied for voice note
  Lint fixes
  Large update to localization strings
  Link Previews
  Ensure that blocked messages are dropped even after sealed sender
  Don't linkify quoted message contents
  ...

# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	_locales/cs/messages.json
#	background.html
#	config/default.json
#	index.html
#	js/models/conversations.js
#	js/modules/web_api.js
#	js/settings_start.js
#	js/views/conversation_view.js
#	js/views/settings_view.js
#	package.json
#	protos/SignalService.proto
#	stylesheets/_index.scss
#	stylesheets/_settings.scss
2019-02-06 13:53:20 +11:00
Beaudan 2bae6b5eed Removed online broadcast message type, changed ttl logic a little, add p2p address and port to the window object when recieve message 2019-01-31 10:24:34 +11:00
Beaudan 07076c27ae Moved friend status to window, added start of p2p api stuff 2019-01-31 10:24:34 +11:00
Beaudan b417edfc9b Added new protos for online broadcast messages, added db hits for getting friends, local server now instantiated on the window, now sending online broadcast messages when the local server starts 2019-01-31 10:24:34 +11:00
Scott Nonnenberg 813924685e Link Previews 2019-01-29 13:53:14 -08:00
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 2019-01-22 13:54:03 +11:00
Scott Nonnenberg 43e5d16020 Support for web socket communication with no signaling key 2019-01-14 10:32:12 -08:00
Scott Nonnenberg 47f834cf5c Encrypt device name on account create, on first launch if needed 2019-01-04 12:21:26 -08:00
Mikunj 654b0dac84 Merge signal-master. 2018-12-17 12:56:04 +11:00