Commit Graph

7610 Commits

Author SHA1 Message Date
Nora Trapp
60b35f3e60 Support preview only text stories 2022-03-31 00:40:47 -07:00
Nora Trapp
78eb06a812 Update story list sorting to match spec 2022-03-31 00:40:47 -07:00
Nora Trapp
378cc730d1 codegen 2022-03-31 00:37:56 -07:00
Nora Trapp
e662b099dd Check if a user is stories capable when sending group replies 2022-03-31 00:37:56 -07:00
Nora Trapp
03bdb55e21 Add context menu to group replies 2022-03-31 00:36:20 -07:00
Nora Trapp
c4b9f18a1a Properly store serverTimestamp on incoming story reactions 2022-03-31 00:34:33 -07:00
Nora Trapp
df4eed775b Make sure storyReactionEmoji is cleared when story reactions are remotely deleted 2022-03-31 00:34:33 -07:00
Nora Trapp
0b662ed6e2 Fix lint issues 2022-03-31 00:34:33 -07:00
Nora Trapp
729864b638 Support sending story reactions 2022-03-31 00:34:33 -07:00
Nora Trapp
0e54e5cf11 Add support for incoming reaction story replies 2022-03-31 00:34:33 -07:00
Nora Trapp
014fe25b16 sds codegen 2022-03-31 00:34:33 -07:00
Nora Trapp
4c6aa8de2d Add storyReactionEmoji column to TSMessage 2022-03-31 00:34:33 -07:00
Nora Trapp
9494498d70 Add support for sending group replies to stories 2022-03-31 00:34:32 -07:00
Nora Trapp
6085b8e579 Initial rendering of group replies 2022-03-31 00:34:32 -07:00
Nora Trapp
d1f95f18a7 Render story reply count and indicator 2022-03-31 00:34:32 -07:00
Nora Trapp
82eb601f39 Limit the types of content that can be in a story reply 2022-03-31 00:34:32 -07:00
Nora Trapp
b88b3ce396 Process incoming story context 2022-03-31 00:34:32 -07:00
Nora Trapp
536c7170df sds codegen 2022-03-31 00:34:32 -07:00
Nora Trapp
e95e392494 Add story context to TSInteraction 2022-03-31 00:34:32 -07:00
Martin Böttcher
462177a0ce
improve cold start app start times (#4079)
deferred some initial load for faster app start
2022-03-29 08:24:55 +02:00
Chris Eager
b66e80dd21 Update message reporting to use sender ACI instead of E164 2022-03-28 16:23:51 -07:00
Michelle Linington
ea9db57a0c Merge branch 'release/5.34.0' 2022-03-28 16:05:28 -07:00
Michelle Linington
1eeef14b86 "Feature flags for .qa." 2022-03-28 15:46:02 -07:00
Michelle Linington
d5f486c012 "Feature flags for .beta." 2022-03-28 15:45:55 -07:00
Michelle Linington
487b424d7d "Feature flags for .production." 2022-03-28 15:45:42 -07:00
Jordan Rose
c027faab7d Report HTTP status code when web sockets fail to connect
Necessary to detect when a device has been unlinked or unregistered.
2022-03-28 15:25:37 -07:00
Chris Eager
978445edf2 Fix failing testGroupEncryptDecrypt_Failure 2022-03-28 14:55:47 -07:00
Nora Trapp
d3e4ac1e9d "Feature flags for .qa." 2022-03-25 13:24:32 -07:00
Nora Trapp
8f256388ae Merge branch 'release/5.34.0' 2022-03-25 13:24:26 -07:00
Nora Trapp
7f966ae57a "Feature flags for .beta." 2022-03-25 13:23:03 -07:00
Nora Trapp
05313c3725 Update to LibSignalClient v0.15.0 2022-03-24 11:55:45 -07:00
Evan Hahn
16aa421d3e More Python 3 script fixes 2022-03-24 10:28:27 -05:00
Michelle Linington
68918d6924 "Feature flags for .qa." 2022-03-23 14:47:13 -07:00
Michelle Linington
b92abaabf7 "Feature flags for .beta." 2022-03-23 14:07:58 -07:00
Jordan Rose
a43f005d8d Add initial support for the PniIdentity sync message
This communicates the PNI identity key to existing linked devices,
which is important for linked devices to initially learn about a PNI,
or for the change of identity that comes with changing your number
(and therefore your PNI). The exact contents of this message will
probably change going forward, but here's a baseline to work off of.
2022-03-23 11:48:08 -07:00
Michelle Linington
2e0fd03826 PR Feedback 2022-03-23 11:44:50 -07:00
Michelle Linington
e223588065 IOS-2283: Crash on launch: Invalid pointer offset 2022-03-23 11:44:50 -07:00
Jordan Rose
4f3b4ea1ae Make debug log uploading not dependent on SSKEnvironment
This is important for when the app fails to launch (say, because it's
detected database corruption). We still want debug logs to be
uploadable there!
2022-03-23 10:19:15 -07:00
Evan Hahn
de105468a4 Assume everyone is GV2-capable 2022-03-22 17:11:57 -05:00
Evan Hahn
c254811765 Remove unnecessary coding: utf-8 heading from Python scripts
Python 3 uses UTF-8 for source files by default. This removes the
unnecessary `coding: utf-8` declaration comment from all files.
2022-03-21 14:43:45 -05:00
Evan Hahn
1101db6a29 Upgrade scripts to Python 3
Python 2 was [removed from macOS in 12.3][0]. This change:

- Automatically converts many files with [2to3][1]
- Manually updates all [shebangs][2] to use `python3` instead of
  versionless `python` or `python2.7`
- Manually applies a few fixes, many of which were noted by 2to3
- Manually undoes a few fixes that were automatically done by 2to3

[0]: https://www.macrumors.com/2022/01/28/apple-removing-python-2-in-macos-12-3/
[1]: https://docs.python.org/3/library/2to3.html
[2]: https://en.wikipedia.org/wiki/Shebang_(Unix)
2022-03-21 12:58:33 -05:00
Nora Trapp
18448fcd1c "Feature flags for .qa." 2022-03-19 11:43:31 -07:00
Nora Trapp
bc3e22a199 Merge branch 'release/5.33.0' 2022-03-19 11:43:27 -07:00
Nora Trapp
9568f2a9cf "Feature flags for .beta." 2022-03-19 11:41:46 -07:00
Michelle Linington
76baaa631c "Feature flags for .qa." 2022-03-18 19:52:48 -07:00
Michelle Linington
48c9c0c615 "Feature flags for .beta." 2022-03-18 19:52:36 -07:00
Michelle Linington
58ddc0577b "Feature flags for .qa." 2022-03-18 18:33:19 -07:00
Michelle Linington
81e7bdd259 "Feature flags for .beta." 2022-03-18 18:33:11 -07:00
Jordan Rose
30adb219d6 Recognize destinationUuid on envelopes, and filter out non-ACI
We're very close to being able to decrypt messages sent to our PNI,
but *until* that point it's best to just drop any such messages. This
should make testing easier.
2022-03-18 14:15:00 -07:00
Jordan Rose
1c252fd6f6 Add PNI-related fields to the ProvisioningMessage proto
This allows linked devices to receive the PNI identity key as part of
provisioning.
2022-03-18 13:03:55 -07:00