Commit Graph

616 Commits

Author SHA1 Message Date
Max Radermacher
d24c370cb1
Convert OWSUserProfile to SDSCodableModel 2024-01-24 17:14:10 -06:00
Max Radermacher
b0ee1e0091
Remove some unused sds config values 2024-01-09 13:20:42 -06:00
Max Radermacher
e73c56575b
Fix escape sequences in precommit.py 2024-01-09 09:48:18 -06:00
Harry
5da3a3a498
Stop using TSIncomingMessage.sourceDeviceId 2023-12-19 11:16:26 -08:00
Harry
0c53ff88fa
Rename TSOutgoingMessage.isFromLinkedDevice->wasNotCreatedLocally 2023-12-15 09:36:46 -08:00
Max Radermacher
46ed408517
Remove some unused code 2023-11-15 18:24:20 -06:00
Harry
09a6635857
Add Backup proto file 2023-10-19 15:38:23 -07:00
Pete Walters
c6b963c489
Change how EmojiWithSkinTones are initilaized to work with Xcode 15 2023-09-06 16:06:49 -05:00
Harry
ecbb1057c9
[MOB] Payments activation request in chat 2023-08-24 15:38:13 -07:00
Harry
2ac759408a
[MOB] Payment messages in chat 2023-08-24 13:55:39 -07:00
Max Radermacher
be8ba49b4e
[ServiceId] Update protobuf field names 2023-08-02 17:21:59 -05:00
Nora Trapp
5790964027 Update to latest Emoji version 2023-07-18 12:48:26 -07:00
Pete Walters
82e51fe9cd
Add support for saving edit message drafts. 2023-07-07 15:38:35 -05:00
Max Radermacher
7e66ad45dd
Remove unused fragment files
They appear to be unused since 7927bc1afe.
2023-06-30 14:50:35 -05:00
Max Radermacher
3b1ad7f781 Remove unused SDS codegen property order values 2023-06-30 11:45:51 -05:00
Max Radermacher
5acabbe61f
Prepare interactions for modern recipient merging 2023-06-28 11:58:44 -05:00
Igor Solomennikov
20c55e7dec
Add necessary imports to Swift files.
Necessary for converting ChatListVC to Swift.
2023-06-05 16:04:48 -07:00
Pete Walters
f58b6947ce
Funnel read crashes into the recovery flow 2023-06-02 11:48:51 -05:00
Max Radermacher
0b574cfbc8
Remove E164s from a bunch of protobufs 2023-05-12 00:38:01 -07:00
Max Radermacher
62965f6781
Convert TSThread.anyRemove to ThreadRemover 2023-05-10 14:03:08 -07:00
Max Radermacher
2a06e06f1a Remove TODOs from generated SDS files 2023-05-05 14:52:48 -07:00
Max Radermacher
2437083a68 Don’t mark SDS enumerate blocks as escaping 2023-05-05 14:52:48 -07:00
Max Radermacher
fcb5b60ec3 Remove anyRemoveAllWithoutInstantation 2023-05-05 14:52:48 -07:00
Max Radermacher
f575d64378 Simplify batching when removing all db objects 2023-05-05 14:52:48 -07:00
Max Radermacher
78224f3d31 Clean up sds_codegen script output 2023-05-05 14:52:48 -07:00
Pete Walters
cf37a8b1f9
Edit Message DB changes & conversation edit filtering 2023-05-03 17:22:10 -05:00
Evan Hahn
68cb42873c Symbolicate script: error when symbolicated file looks the same 2023-04-03 12:17:00 -05:00
Max Radermacher
38236e9f8f Run all precommit steps even when some fail 2023-03-29 16:00:27 -07:00
Sasha Weiss
5d7241d038
Add parsing support for the pni capability 2023-03-24 10:07:39 -07:00
Max Radermacher
ebf6b8f5e7
Support PNIs in SignalServiceAddress 2023-03-23 12:43:01 -07:00
Max Radermacher
93d97da82b
Split “in progress” & “saved” voice message drafts 2023-03-08 15:31:56 -08:00
Max Radermacher
93d4aa9aeb Fix auto-genstrings 2023-03-06 12:18:42 -08:00
Max Radermacher
dd8ac136dc Add support for Uyghur 2023-03-02 14:46:56 -08:00
Max Radermacher
fd3888caaf
Add support for Cantonese 2023-02-23 10:51:54 -08:00
Max Radermacher
dee5aed385 Clean up directories we search for translations 2023-02-23 10:37:57 -08:00
Max Radermacher
56154557dd
Add isStructurallyValidE164
This merges & replaces `resemblesE164:` and `isValidE164`.

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2023-02-13 13:45:00 -08:00
Jordan Rose
42969ce9da Update to RingRTC v2.24.0
RingRTC (along with WebRTC) are no longer included as submodules; now
they are a nearly-standard pod dependency with an extra "prebuild
checksum" to download the built artifacts.

This removes the submodules as well as the storing of the WebRTC
artifact repo commit in the app's Info.plist. RingRTC already prints
the current version in debug logs, so we're not losing anything.
2023-02-06 11:53:14 -08:00
Max Radermacher
2f8d76fed0
Add buildInfallibly to proto wrappers 2023-02-06 11:37:42 -08:00
george-signal
5fe81c0ad3
Show video duratioin in All Media. 2023-02-03 16:00:46 -08:00
Evan Hahn
6e97ff3c8f
Gifting: add PayPal support 2023-01-18 16:38:57 -06:00
Evan Hahn
491daa3e7d
"qa" → "internal"
This change should have no user impact. It renames "qa" to "internal"
for clarity.
2022-12-12 15:54:08 -06:00
Max Radermacher
75e377b164
Fix NSE build expiration
The NSE’s Info.plist didn’t contain a BuildTimestamp, so it wouldn’t
have a default expiration.

The new approach reads the main app’s expiration from all of the
extensions, which helps ensure they all expire at the same time.
2022-12-09 15:11:39 -08:00
Sasha Weiss
ee4799b506 One-time donations via PayPal 2022-12-01 14:39:03 -08:00
Max Radermacher
3053fe6b63 Keep PluralAware alphabetized
Always sort it, even if there aren’t any strings to remove. This will
ensure that newly-added strings go to the right spot.
2022-11-21 10:13:51 -08:00
Evan Hahn
a941c82c14
Prefer isEmpty with strings
This change may improve performance slightly but should have no other
user impact.

`myString.isEmpty` is faster than `myString.count == 0` or equivalent,
because computing `count` may require iterating over the string.

I tried to fix all occurrences of this.

Tested this by sending a message in a group and doing a full
re-registration, just in case I broke something there.
2022-11-01 17:53:46 -05:00
Harry
e90639bcab
Make linter print useful output when failing on precommit
* Make linter print useful output when failing on precommit

* Update Scripts/precommit.py

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2022-10-31 14:05:27 -07:00
Evan Hahn
f07735f706 Precommit script should fail if lint fails
This change should have no user impact.

I thought I did this in 1b00741b6d7dbfbe48e5b1c46f856902d0e6d02a...this
*actually* does it.
2022-10-28 15:51:02 -07:00
Nora Trapp
62759daa60 Properly handle unregistered recipients during sender key sends 2022-10-20 15:39:05 -07:00
Max Radermacher
6f24be6b6a Remove unused plurals when running auto-genstrings
Several strings appear to be unused. As far as I can tell, these were
added in 54b743de2d but never used.

Script output:
PluralAware.stringsdict: Removed THREAD_DETAILS_MORE_MUTUAL_GROUP_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_DAYS_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_DAYS_SHORT_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_HOURS_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_HOURS_SHORT_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_MINUTES_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_MINUTES_SHORT_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_SECONDS_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_SECONDS_SHORT_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_WEEKS_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_WEEKS_SHORT_%d
PluralAware.stringsdict: Removed TIME_AMOUNT_YEARS_%d
2022-10-20 09:57:30 -07:00
Max Radermacher
09ff755cc5
Ignore .DS_Store when syncing translations
(Also, ignore all files -- we only care about directories.)
2022-10-19 16:28:46 -07:00