Matthew Chen
ce7f557158
Skip media downloads during calls.
2021-01-21 20:56:10 -03:00
Matthew Chen
1e8c8980fc
Rework debug log file handling.
2020-10-23 14:10:00 -03:00
Nora Trapp
6ca4bfeff9
Add backwards compatible support for new photo library APIs
2020-10-05 14:32:07 -07:00
Matthew Chen
8274c4feab
Respond to CR.
2020-06-30 15:56:30 -03:00
Matthew Chen
781ffa5741
Add checks to thread record deserialization that can be resymbolicated.
2020-06-30 15:31:26 -03:00
Matthew Chen
67a773e6fe
Use display link to push database snapshot updates.
2020-06-07 12:05:21 -03:00
Matthew Chen
7246c613d5
Fix more build warnings.
2020-04-10 13:17:08 -03:00
Matthew Chen
bcfba85356
Add message processing class.
...
* Modify message processing to allow observation of websocket queue being drained.
* Extend MessageProcessing to allow observation of REST message fetching and "all message fetching and processing".
2020-01-27 10:42:03 -03:00
Michael Kirk
f8aabeea76
FIX: can't share from screenshot app
...
fall back to UIImage provider if URL provider is not available
2020-01-22 07:55:15 -07:00
Matthew Chen
b7409be74f
Allow parallel usage of staging and production services.
2020-01-15 10:48:42 -03:00
Matthew Chen
e88df8a8cf
Allow parallel usage of staging and production services.
2020-01-15 10:48:42 -03:00
Michael Kirk
1ac44de0d5
FIX: some PDF's fail to share
...
Some PDF shares (and presumably other files) were not shareable due to a failure to convert.
The root of this is that the behavior of
NSItemProvider.loadItemForTypeIdentifier(_:,options:,completionHandler:)
depends on the signature of the completion handler.
The documented signature of the completion handler is: (NSSecureCoding, NSError) -> Void
For example, if you want an NSURL back, it's expected that you'll pass in a
`(NSUrl, NSError)` block, or if you want a Data you'll pass in a `(NSData, NSError)`.
However, that's not possible with Swift strict typing. The type of the block must match.
```
loadItmForTypeIdentifier('myType', nilOptions) { loadedItem, error in
}
```
The type of `loadedItem` is SecureCoding. What we were seeing is that we were
getting returned to us unexpected classes, e.g. private iOS internal classes
like "_NSSandboxedDocument", which indeed do conform to NSSecureCoding.
Instead, we should cut with the grain of the existing API design and request
the exact type of object we want. We do this is ObjC, since this isn't possible in swift,
and provide some bespoke Swift wrappers.
Doing this requires tracking some information about the itemprovider, and
funneling that through the extensionItem -> SignalAttachment process.
2020-01-14 09:21:04 -07:00
Matthew Chen
c23ed76df0
Always migrate to GRDB; show notification during background migrations.
2020-01-02 12:12:18 -08:00
Michael Kirk
97dcad7015
Fix sleep manager v. main thread
2019-11-22 18:18:56 -07:00
Matthew Chen
50c2e985bf
Improve logging around perf bottlenecks around application state changes.
2019-11-04 13:37:46 -03:00
Nora Trapp
65d54e7282
UIAlertController -> ActionSheetController
2019-10-28 14:43:59 -07:00
Matthew Chen
e2e6e1aef8
Handle ydb-to-grdb migration edge cases.
2019-10-17 14:58:18 -03:00
Nora Trapp
2ecb94a5ee
Fix stale hash reference for YDB pod
2019-10-05 18:58:01 -07:00
Nora Trapp
93004d1d1a
PR Feedback
2019-10-05 18:50:51 -07:00
Nora Trapp
36cbf4cc61
Support iPad multi tasking
2019-10-05 16:57:44 -07:00
Matthew Chen
3ff3f9bb0d
Fix tests.
2019-09-16 10:00:26 -03:00
Matthew Chen
4acdcbebc7
Remove YDB header usage.
2019-08-29 10:24:27 -03:00
Michael Kirk
980d7e905f
use "ask" helper when saving media
...
This required moving the ask helpers to SignalMessaging
2019-08-13 16:47:50 -06:00
Nora Trapp
868e49f1ff
Match StickerKeyboard to system keyboard size, set scaffolding for other custom keyboards.
2019-08-06 10:53:31 -07:00
Nora Trapp
1053da3fef
PR Feedback
2019-05-28 13:07:34 -07:00
Nora Trapp
9d3e8729ad
Expire the app 90 days after compilation.
2019-05-27 20:55:16 -07:00
Matthew Chen
57394f0015
Respond to CR.
2019-02-14 09:23:50 -05:00
Matthew Chen
2a4b9426c3
Sketch out the 'onboarding phone number' view.
2019-02-14 08:54:27 -05:00
Matthew Chen
1a53005e08
Respond to CR.
2018-10-22 14:43:07 -04:00
Matthew Chen
bbcbbafaab
Sync local profile key after rotating it.
2018-10-18 16:47:18 -04:00
Matthew Chen
693b3e13a9
Revert "Sync local profile key after rotating it."
...
This reverts commit ddbd20e706 .
2018-10-18 16:00:48 -04:00
Matthew Chen
ddbd20e706
Sync local profile key after rotating it.
2018-10-18 15:59:43 -04:00
Matthew Chen
bcceda1861
Respond to CR.
2018-09-07 16:05:57 -04:00
Matthew Chen
cfb511aa57
Respond to CR.
2018-09-07 16:00:32 -04:00
Matthew Chen
399dd13cee
Add test app context; use mock "document" and "shared data container" directories in tests, use mock keychain storage in tests.
2018-09-07 15:37:40 -04:00
Michael Kirk
c7662b5a86
Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
...
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Matthew Chen
cc5a480baa
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
03829779cc
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
c0d486b1f1
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
3a50377902
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
713606271c
Rename fail macros in Obj-C.
2018-08-27 10:29:51 -04:00
Michael Kirk
191b0232be
SAE uses statusBarHeight via OWSNavigationController via OWSNavbar
...
// FREEBIE
2018-08-20 12:21:48 -06:00
Michael Kirk
c05700fd98
Log in OWSFail
...
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
2018-08-09 15:30:19 -06:00
Matthew Chen
b3c62d91be
Merge remote-tracking branch 'origin/release/2.28.1'
2018-08-08 13:51:52 -04:00
Matthew Chen
45e782c243
Revamp orphan data cleaner.
2018-08-07 13:07:26 -04:00
Michael Kirk
01b6634ac1
synthesize appLaunchTime
2018-08-06 13:46:56 -06:00
Matthew Chen
463addaa6c
Ignore new calls in the incomplete calls job.
2018-08-06 14:10:25 -04:00
Michael Kirk
28abf426f1
White status bar for call screen
...
Transition to VC controlled status bar style.
2018-07-10 11:36:40 -06:00
Matthew Chen
1412998b4a
Rework isRTL.
2018-07-02 15:27:24 -04:00
Michael Kirk
767f06b09f
fixup status bar
2018-06-29 16:48:43 -06:00