Commit Graph

29210 Commits

Author SHA1 Message Date
Nora Trapp
befeef88ae "Bump build to 5.56.0.8." (nightly-09-26-2022) 2022-09-26 08:44:02 -07:00
Evan Hahn
0d059d1319
Clean up code for a debug flag
_This change should have no user impact._

This flag had a condition that would always evaluate to `false`. This PR
fixes that, and adds a comment about why it's a little verbose.
2022-09-26 10:20:36 -05:00
Nora Trapp
16c49c696e "Bump build to 5.56.0.7." (nightly-09-26-2022) 2022-09-26 04:00:31 -07:00
Nora Trapp
3fc4031010 "Bump build to 5.56.0.6." (nightly-09-25-2022) 2022-09-25 23:20:49 -07:00
Nora Trapp
ae1cf9e097 "Bump build to 5.56.0.5." (Internal) 2022-09-25 23:20:43 -07:00
Nora Trapp
498fa60442 "Bump build to 5.56.0.4." (Internal) 2022-09-25 22:11:28 -07:00
Nora Trapp
b295dd43ea "Bump build to 5.56.0.3." (nightly-09-24-2022) 2022-09-24 04:00:35 -07:00
Jordan Rose
bd264b462f Use rich intents whenever possible
For certain kinds of notifications, we attach "intents" to let the
system know who's contacting us (for use in, say, share sheet
suggestions; controlled by Settings > Chats > Share Contacts with
iOS). Previously we only provided "rich" intents on iOS 15 and a
minimal implementation for iOS 13, but even if iOS 13 won't do as much
with the information we can be more consistent.
2022-09-23 15:50:33 -07:00
Evan Hahn
28e988c4a1 Remove unused thread method
This was added in a0df56a68e but never
used.
2022-09-23 15:39:54 -07:00
Max Radermacher
6f19522b55
Clarify label for recurring donations 2022-09-23 15:38:34 -07:00
Max Radermacher
20409d51b5 Update Pods for RingRTC v2.21.1 2022-09-23 15:20:42 -07:00
Jim Gustafson
0a700079dd Update to RingRTC v2.21.1 2022-09-23 22:05:46 +00:00
Sasha Weiss
9c74e8dfcd
Serialize canceling notifications with posting them 2022-09-23 13:48:05 -07:00
Max Radermacher
13e57aad9a Use setup-ruby’s bundler-cache option
The [docs][0] recommend this instead of manually caching the artifacts.

[0]: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby#caching-bundle-install-automatically
2022-09-23 13:12:37 -07:00
Sasha Weiss
32b88948e8
Clear story messages before attachments 2022-09-23 11:52:46 -07:00
Evan Hahn
4da042c1d5
Clean up database corruption storage code
_This change should have no user impact._

The database corruption flag lives on `UserDefaults`. Currently, this
flag is controlled through `SSKPreferences`, but I kinda think that's
the wrong place—database corruption isn't really a user preference.

This moves it into its own file, tests it, and [drops booleans in favor
of an enum][0]. I think this is useful on its own, but also prepares us
for an upcoming change.

[0]: https://www.luu.io/posts/dont-use-booleans
2022-09-23 18:19:02 +00:00
Evan Hahn
e67030700d
Update Fastlane from 2.210.0 to 2.210.1 2022-09-23 09:23:59 -07:00
Nora Trapp
ca441ce9ff "Bump build to 5.56.0.2." (nightly-09-23-2022) 2022-09-23 04:00:21 -07:00
Harry Sanabria
ad65ef501f Add lastReceivedStoryTimestamp to schema.sql 2022-09-22 17:05:06 -07:00
Sasha Weiss
121161e212
Clear StoryMessage instances when clearing all chat history 2022-09-22 15:22:52 -07:00
Nora Trapp
96d8abac67 PR Feedback 2022-09-22 14:53:29 -07:00
Nora Trapp
7553745603 Enable story sending to groups from sync message 2022-09-22 14:53:29 -07:00
Nora Trapp
70d8d54484 Don't offset context menu button on iPad when expanded 2022-09-22 14:53:29 -07:00
Nora Trapp
1d5d14ac65 Record 'lastSentStoryTimestamp' when story sent sync is received 2022-09-22 14:53:29 -07:00
Nora Trapp
338207a753 Tweak context menu background color 2022-09-22 14:53:29 -07:00
Nora Trapp
01425714bf Fix sorting of 'My Stories' view 2022-09-22 14:53:29 -07:00
Nora Trapp
4816af7a49 Don't render 'You' on group settings viewer list 2022-09-22 14:53:29 -07:00
Nora Trapp
c8dc629351 Show active group stories in the conversation picker 2022-09-22 14:53:29 -07:00
Evan Hahn
c5b4f67613 Swiftify contact thread tests
_This change should have no user impact._

A very mechanical change. No surprises.
2022-09-22 14:41:59 -07:00
Max Radermacher
2fbcf58213 Update release notes 2022-09-22 14:21:44 -07:00
Sasha Weiss
bbd3e8c531
Move function in UserNotificationsAdaptee 2022-09-22 12:22:06 -07:00
Max Radermacher
6a5bc7ce68 Update CI to Xcode 14
- Use Xcode 14 for all of our jobs. If something like `genstrings`
  changes, this should keep that job consistent with everything else.

- Use macos-12 for all of our jobs. It’s probably best to keep things
  consistent, and macos-11 will eventually go away.
2022-09-22 11:00:34 -07:00
Harry
29c1d11640
update fastlane to use xcode 14.0 2022-09-22 10:59:10 -07:00
Evan Hahn
11c2cf0813
Add basic test for database migration
_This change should have no user impact._

This adds a basic test for database migration, and makes the necessary
changes to make that possible.
2022-09-22 17:24:40 +00:00
Rashad Sookram
877a26e4bc
Fix missing call record when hanging up while accepting 2022-09-22 13:14:51 -04:00
Evan Hahn
3cf796e55c
Add utility for remaining disk space 2022-09-22 09:28:42 -07:00
Evan Hahn
e9cdcb3dd9
Swiftify determination of launch failure 2022-09-22 09:25:00 -07:00
Nora Trapp
6795fe6020 "Bump build to 5.56.0.1." (nightly-09-22-2022) 2022-09-22 04:00:19 -07:00
Max Radermacher
29098ff03e "Bump build to 5.56.0.0." (nightly-09-21-2022) 2022-09-21 15:58:06 -07:00
Max Radermacher
6ecb002886 Update translations 2022-09-21 15:57:37 -07:00
Igor Solomennikov
094fa0f30d
Allow attaching links to text stories with "Generate Link Previews" setting being OFF. 2022-09-21 14:55:49 -07:00
Harry
1710bf98d1
Fix iOS 16 UITextView sizing issue in OWSTableViewController2
* Fix iOS 16 UITextView sizing issue in OWSTableViewController2

* remove iOS 16 check, add iOS 17 canary check
2022-09-21 13:28:11 -07:00
Max Radermacher
88bc6e43d8 Refactor encodeE164s
- Remove duplicate check for a `+` at the beginning of each value.

- Don’t return a big-endian UInt64 from a method. The type information
  (unfortunately) doesn’t include endianness, which makes that approach
  somewhat more error-prone.

- Add a type that tracks validated input/output pairs. Future changes
  will want to perform the validation and then use both input & output.
2022-09-21 12:47:29 -07:00
Max Radermacher
3fdaf367e1
Consolidate Int <-> Data logic 2022-09-21 12:08:45 -07:00
Max Radermacher
73c70d328f
Add UUID.from(data:) that returns the byte count
Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2022-09-21 11:34:41 -07:00
Igor Solomennikov
19cf2d07f6 Change font weight for 'regular' text style in text stories from Bold to Medium. 2022-09-21 11:33:27 -07:00
Michelle Linington
4ada6b3a3f Derive bundle ID from an Xcode build setting
See [#5423][5423].

[5423]: https://github.com/signalapp/Signal-iOS/pull/5423
2022-09-21 18:10:42 +00:00
Nora Trapp
f3862b92fa "Bump build to 5.55.0.7." (nightly-09-21-2022) 2022-09-21 04:00:15 -07:00
Jordan Rose
6b45ffde73 Play ringing sound while a group call is ringing
In the happy path, someone will join you in the call, and the join
sound will be played, stopping the ringing. If you instead leave the
call, the change in the call service's "current call" will stop the
ringing (as a looping sound). If you get disconnected, that will also
stop the ringing. And if it turns out there were already people in the
call, that will be treated the same as joining.
2022-09-20 14:46:55 -07:00
Jordan Rose
16aa232836 Track ringing state for a group call more explicitly
Separate "wants to ring" from "ringing" and "ringing ended".
2022-09-20 14:46:55 -07:00