Matthew Chen
fe67cd924c
Rework database view registration.
2017-12-19 11:42:06 -05:00
Matthew Chen
9258b0883e
Clean up TSStorageManager usage.
2017-12-19 11:41:31 -05:00
Matthew Chen
85686d3144
Continue TSStorageManager refactor.
2017-12-19 11:41:30 -05:00
Matthew Chen
9a990b58e8
Respond to CR.
2017-12-19 11:38:25 -05:00
Matthew Chen
5dcf4b3bbc
Clean up ahead of PR.
2017-12-19 11:16:01 -05:00
Matthew Chen
137fe6fb8b
Pull out OWSStorage base class for TSStorageManager.
2017-12-19 11:16:01 -05:00
Matthew Chen
a29c4ce5d6
Pull out OWSStorage base class for TSStorageManager.
2017-12-19 11:16:01 -05:00
Matthew Chen
f9ce34f553
Improve background task logic.
2017-12-19 11:05:17 -05:00
Michael Kirk
157bf00410
Merge branch 'hotfix/2.19.3'
2017-12-17 14:02:03 -05:00
Michael Kirk
1955f3664b
CR: clarify names, comments, asserts
...
// FREEBIE
2017-12-16 13:21:56 -05:00
Michael Kirk
60eac4e0bf
notify only when SignalAccounts actually change
...
// FREEBIE
2017-12-16 12:32:19 -05:00
Michael Kirk
27c99cf4d2
sort SignalAccounts loaded from cache
2017-12-16 12:26:47 -05:00
Michael Kirk
e78edcde87
Only clear cache when user pulls-to-refresh
...
// FREEBIE
2017-12-16 12:01:19 -05:00
Michael Kirk
49196f8013
Spin activity indicator until contacts are fetched
...
// FREEBIE
2017-12-15 16:31:53 -05:00
Michael Kirk
f4e471e0db
SignalAccount cache perf improvments
...
- only persist models that have changed
- remove duplicate contact SignalAccounts
- ensure serial execution of buildAccounts
- only buildSignalAccounts when intersection succeeds
// FREEBIE
2017-12-15 16:18:36 -05:00
Matthew Chen
3643414da1
Respond to CR.
2017-12-15 11:16:07 -05:00
Matthew Chen
e45d63e862
Clean up ahead of PR.
2017-12-15 11:11:57 -05:00
Matthew Chen
0c9d9ba679
Fix issues around cross process db changes.
2017-12-15 11:11:57 -05:00
Matthew Chen
0be63d2939
Add "send to last thread" option in debug logs.
2017-12-15 11:11:04 -05:00
Matthew Chen
bc7f4623cc
Update YapDatabase.
2017-12-15 11:11:04 -05:00
Michael Kirk
4f06518539
Merge tag '2.19.3.1'
2017-12-14 16:21:41 -05:00
Michael Kirk
1f8042685d
Show loading cell when contacts are still loading.
...
// FREEBIE
2017-12-14 13:53:02 -05:00
Michael Kirk
c07d7777cb
Reinstate notification when SignalAccounts change
...
// FREEBIE
2017-12-14 13:18:51 -05:00
Michael Kirk
3affb07a11
post-merge formatting fixup
...
// FREEBIE
2017-12-14 11:43:27 -05:00
Michael Kirk
16448e2a0b
Merge tag '2.19.3.0'
2017-12-14 11:42:57 -05:00
Michael Kirk
6f7cae691c
Log counts to determine when SignalAccount cache goes missing
...
// FREEBIE
2017-12-14 11:32:33 -05:00
Michael Kirk
64e90d29fd
CR: extract method, more asserts and annotations
...
// FREEBIE
2017-12-14 10:52:04 -05:00
Michael Kirk
42dc872c9a
use dedicated read connection to pre-populate cache
...
// FREEBIE
2017-12-13 19:08:47 -05:00
Michael Kirk
336c92ddab
remove cached display name machinery, cleanup
...
// FREEBIE
2017-12-13 17:31:36 -05:00
Michael Kirk
7ea4b85a2a
Persist signal accounts (and their embedded Contact)
...
// FREEBIE
2017-12-13 17:31:36 -05:00
Michael Kirk
8996741277
DocumentPicker converts to mp4 when necessary
...
// FREEBIE
2017-12-11 20:34:47 -05:00
Michael Kirk
031e40d090
Use SignalAttachment logic in conversation view too
...
// FREEBIE
2017-12-11 20:16:34 -05:00
Matthew Chen
429312523f
Simplify OWSUserProfile's "apply changes" logic using model diffing.
2017-12-11 12:28:28 -05:00
Matthew Chen
f684482c54
Don't emit "user profile changed" notifications if nothing changed.
2017-12-11 12:28:28 -05:00
Matthew Chen
74efcb9041
Rework thread safety in profile manager.
2017-12-11 12:28:28 -05:00
Matthew Chen
911c4d380b
Rework thread safety in profile manager.
2017-12-11 12:28:28 -05:00
Matthew Chen
80ae5e0fcf
Respond to CR.
2017-12-11 10:37:20 -05:00
Matthew Chen
11b4848530
Respond to CR.
2017-12-11 10:37:20 -05:00
Matthew Chen
84061cca9f
Change image resizing/quality behavior, preferring smaller images in the common case.
2017-12-11 10:37:20 -05:00
Matthew Chen
125aabb0a3
Change image resizing/quality behavior, preferring smaller images in the common case.
2017-12-11 10:37:20 -05:00
Michael Kirk
d9cca77e23
update header references
...
// FREEBIE
2017-12-08 13:32:52 -05:00
Michael Kirk
3ecf0a7537
Cancelling dismisses share extension, remove "import with signal"
...
Usinig the new ShareViewDelegate to dismiss the share extension, might
have broken the "import with signal" functionality. But because we
want to remove it anyway, I've done that now, rather than fix it up.
// FREEBIE
2017-12-07 17:12:03 -05:00
Matthew Chen
b12f192c6f
Respond to CR.
2017-12-07 14:31:00 -05:00
Matthew Chen
7a1e47cd26
Add asserts around Swift singletons.
2017-12-07 13:57:45 -05:00
Matthew Chen
8312614cf7
Respond to CR.
2017-12-07 13:53:13 -05:00
Matthew Chen
99f0b9d3e8
Fix issues around statics.
2017-12-07 12:34:02 -05:00
Michael Kirk
0429836ff9
CR: rename keyWindow -> keyReferenceView, split long line
...
// FREEBIE
2017-12-07 10:39:44 -05:00
Michael Kirk
eca19e5874
Reconcile MediaMessageView zoom behavior with AppExtension
...
Previously it was predicated on UIApplication.shared
// FREEBIE
2017-12-07 10:14:30 -05:00
Michael Kirk
3eceb86371
Show alert if we fail to build the attachment
...
// FREEBIE
2017-12-07 10:14:30 -05:00
Michael Kirk
89b9887f1d
Make DeviceSleepManager extension compatible
...
// FREEBIE
2017-12-07 10:13:47 -05:00