Commit Graph

95 Commits

Author SHA1 Message Date
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 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 654b0dac84 Merge signal-master. 2018-12-17 12:56:04 +11:00
sachaaaaa f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
Added profile sharing and setting nicknames.
2018-11-29 15:59:53 +11:00
Beaudan 35c89ea4d9 Big refactor, prekeybundle moved back to a content message 2018-11-28 12:10:44 +11:00
Mikunj aa57693fce Update profile if we get it through a message. 2018-11-28 10:31:11 +11:00
Scott Nonnenberg 79a861a870 Typing Indicators 2018-11-26 15:26:04 -08:00
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 2018-11-26 15:26:04 -08:00
Beaudan b65d6a6d2c Refactor friend request status to use a state enum variable 2018-11-26 11:28:43 +11:00
sachaaaaa dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
Friend request fixes
2018-11-22 16:06:41 +11:00
sachaaaaa b5861a3f5c add PrekeyBundle Type field in SignalService.proto 2018-11-22 14:56:54 +11:00
Mikunj db1145c0ce Fix handling empty content. 2018-11-21 15:37:19 +11:00
Mikunj b21a7197f7 Fix preKeyBundle not sending. 2018-11-20 16:20:57 +11:00
Mikunj 1264630649 Attach preKeyBundle outside of the message content. 2018-11-20 14:23:06 +11:00
sachaaaaa c605fff58d change FRIEND_REQUEST value to prevent clash with upstream 2018-11-13 12:18:37 +11:00
Mikunj f589fdac5c Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
Scott Nonnenberg a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
2018-10-29 14:49:18 -07:00
sachaaaaa 886f47b8e7
Prekeys sending: first pass (#12)
* add 'recipient' attribute in prekey database to allow binding a prekey to a recipient pub key

* Attach a PreKeyBundleMessage to the ContentMessage in fallback encryption mode

* Skip generating 100 prekeys upon registration

* Store the signed key signature in database
2018-10-18 12:12:44 +11:00
sachaaaaa 42e941531f Add fallback encryption (FallBackSessionCipher. simple DH) for when key bundle hasn't been received yet. Skip padding of bytes. 2018-10-05 13:15:49 +10:00
Scott Nonnenberg 9c399624cc Support for blocking groups on mobile, via group/blocked syncs 2018-09-14 16:25:43 -07:00
Scott Nonnenberg 3ea14ce450 Protos: Add color field to GroupDetails 2018-07-17 15:46:08 -07:00
Scott Nonnenberg 3ea3e4e256 Contact sharing: protos and data pipeline
As of this commit: 82b76ccf37
2018-05-07 19:09:55 -07:00
Scott Nonnenberg ad58799269
Update protos to reflect recent quotation-related updates
Updating to be current with these two comments in libsignal-service-java

2e4aa84896 (diff-c525e47fbed26da2110c8a7c37a37031)

4f07b9e85e (diff-c525e47fbed26da2110c8a7c37a37031)
2018-04-13 18:05:42 -07:00
Daniel Gasienica b6ef67c402 Sync Protocol Buffers with `libsignal-service-java` (#2046)
Synchronizes our protocol buffers with `libsignal-service-java` project.

**Changes**
- [x] **BREAKING:** Rename `package` from `textsecure` to `signalservice`.
      ⚠️~~Workaround: Rename back to `textsecure`.~~
      Changed all protobuf `package` names across our project.
- [x] Rename `java_` metadata.
- [x] Move `NullMessage`, `ReceiptMessage`, and `Verified`.
- [x] Rename `Contacts.isComplete` to `Contacts.complete`. Confirmed to be
      unreferenced in our project.
- [x] Rename `Settings` to `Configuration` (`textsecure.protobuf.Settings` seems
      to be unused)
  - [x] Rename `libtextsecure` `MessageReceiver` `settings` event to
        `configuration`.
- [x] Rename `ReceiptMessage.timestamps` to `ReceiptMessage.timestamp`.
- [x] Add `AttachmentPointer` `width` and `height`.
- [x] Renamed `IncomingPushMessageSignal.proto` to `SignalService.proto` to
      match server.

---

commit 2b6aa19bf9ea5d8f2f4fd9e4102699a9d06a2b45
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Wed Feb 14 19:41:24 2018 -0500

    Rename protobuf `package`: `textsecure` --> `signalservice`

    Brings us closer to `libsignal-service-java`.

commit 91612880a5bf2c9ae8a9334877ac24e91102b905
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Wed Feb 14 19:19:35 2018 -0500

    Rename `SyncMessage.Settings` to `SyncMessage.Configuration`

commit 848eb9559928c54dffd3426bba8e7cd7b1687cdc
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 13 20:16:43 2018 -0500

    Rename `ReadReceipt` `timestamps` --> `timestamp`

commit 39859e64b41ddf41127b52d963fe7cc2b9fcad68
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Wed Feb 14 18:43:42 2018 -0500

    Rename `IncomingPushMessageSignal.proto` to `SignalService.proto`

    This matches the `libsignal-service-java` filename.

commit fd4bfd76af57ffa44178caf21d350cca211dc048
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 13 16:24:36 2018 -0500

    Revert protobuf `package` to `textsecure`

    This was a breaking change and would need to be introduced with additional
    changes.

commit 9f618fa91717a0349f1ea28bf6d365ef0a5c9ca5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 13 16:09:55 2018 -0500

    Sync service protocol buffers with Java project

    Snapshot: 4684a49b2e/protobuf/SignalService.proto
2018-02-15 15:06:14 -05:00
Renamed from protos/IncomingPushMessageSignal.proto (Browse further)