Commit graph

5478 commits

Author SHA1 Message Date
Matthew Chen
f40b81ca4c Sketch out the backup restore view. 2018-11-27 09:21:44 -05:00
Matthew Chen
03f598a130 Sketch out the backup restore view. 2018-11-27 09:21:44 -05:00
Matthew Chen
332f202a52 Sketch out the backup restore view. 2018-11-27 09:21:44 -05:00
Matthew Chen
5010b027b1 Sketch out the backup restore view. 2018-11-27 09:21:44 -05:00
Matthew Chen
5c0d98b83a Show 'restore backup' view after registration. 2018-11-27 09:21:44 -05:00
Michael Kirk
b2d75eb1ae "Bump build to 2.33.0.0." 2018-11-26 14:59:23 -07:00
Michael Kirk
78c74d87bc Merge tag '2.32.0.16' 2018-11-26 13:03:27 -07:00
Michael Kirk
838012d1ec Caption length limit and label 2018-11-26 12:43:28 -07:00
Michael Kirk
a946ec0056 new icon assets per design 2018-11-26 12:43:28 -07:00
Michael Kirk
8776dd1909 New "add caption" and "done" assets 2018-11-26 12:43:28 -07:00
Michael Kirk
8b5d1d9e69 Only add delete button once 2018-11-26 12:43:28 -07:00
Michael Kirk
fcc4b516a5 fix typo in logging 2018-11-26 12:37:58 -07:00
Michael Kirk
4f0092615a Support captions *and* independent message body 2018-11-26 12:37:58 -07:00
Michael Kirk
cd88ef2bec CaptionView text field per page 2018-11-26 12:37:58 -07:00
Matthew Chen
544bdbd7f5 Fix edge cases around registration. 2018-11-26 09:58:59 -05:00
Michael Kirk
dd6faa647d "Bump build to 2.32.0.16." 2018-11-25 18:04:38 -06:00
Michael Kirk
31782af2f1 dark theme section headers in tile gallery 2018-11-25 18:03:20 -06:00
Michael Kirk
6cdef57e2a Merge tag '2.32.0.15' 2018-11-25 12:54:59 -06:00
Michael Kirk
8ebe860ff1 pull latest translations 2018-11-25 11:11:04 -06:00
Michael Kirk
894ffa4845 "Bump build to 2.32.0.15." 2018-11-24 17:38:23 -06:00
Michael Kirk
a5dec2321e "Bump build to 2.32.0.14." 2018-11-21 22:32:02 -06:00
Michael Kirk
c29224e4ea sync translations 2018-11-21 22:31:48 -06:00
Michael Kirk
343e58595e fix pause/play functionality 2018-11-21 22:26:13 -06:00
Matthew Chen
5f8755f2eb Respond to CR. 2018-11-21 09:25:24 -08:00
Matthew Chen
f5ba8048b7 Clean up ahead of PR. 2018-11-21 08:53:15 -08:00
Matthew Chen
d76bdf3a58 Use attachment pointers to restore attachments from backup. 2018-11-21 08:53:15 -08:00
Matthew Chen
e72dafb08e Use attachment pointers to restore attachments from backup. 2018-11-21 08:53:15 -08:00
Matthew Chen
90e7df5515 Use attachment pointers to restore attachments from backup. 2018-11-21 08:53:15 -08:00
Matthew Chen
dae80ad4c6 Reorganize util code. 2018-11-19 15:52:23 -05:00
Matthew Chen
221d280e41 "Bump build to 2.31.0.39." 2018-11-19 13:18:55 -05:00
Michael Kirk
b87b2522e3 Merge tag '2.32.0.13' 2018-11-16 23:28:51 -06:00
Michael Kirk
dc3cc3f403 "Bump build to 2.32.0.13." 2018-11-16 17:44:32 -06:00
Michael Kirk
8932c4a3f1 Sync translations 2018-11-16 17:44:22 -06:00
Michael Kirk
9a7f08b70b "Bump build to 2.31.0.38." 2018-11-16 17:25:11 -06:00
Michael Kirk
dc09d14733 "Bump build to 2.32.0.12." 2018-11-15 21:31:09 -06:00
Matthew Chen
0bbfd3eb2d "Auto load more" async while scrolling. 2018-11-15 22:03:28 -05:00
Matthew Chen
910b249112 "Auto load more" async while scrolling. 2018-11-15 22:02:59 -05:00
Matthew Chen
6c9c8eb656 Fix build breaks. 2018-11-15 18:16:38 -05:00
Michael Kirk
377e0f0f87 "Bump build to 2.32.0.11." 2018-11-15 15:08:57 -06:00
Michael Kirk
12aa76855d dark theme typing splash 2018-11-15 15:07:59 -06:00
Michael Kirk
8acc13e44d "Bump build to 2.32.0.10." 2018-11-15 14:34:44 -06:00
Michael Kirk
bf21e94256 fix delete/share button 2018-11-15 14:30:46 -06:00
Michael Kirk
f5de076c66 fix remove from rail when deleted 2018-11-15 14:30:33 -06:00
Michael Kirk
078799c875 update translations 2018-11-15 14:07:36 -06:00
Matthew Chen
8eb2550e0c Respond to CR. 2018-11-15 14:10:19 -05:00
Matthew Chen
8b24fba095 Add "add more" button to image picker. Provide caption editing continuity. 2018-11-15 14:10:19 -05:00
Michael Kirk
87bfdbb72c Sender Rail 2018-11-15 12:25:28 -06:00
Matthew Chen
86d006ba14 Respond to CR. 2018-11-15 13:14:55 -05:00
Matthew Chen
2919e8d780 Respond to CR. 2018-11-15 13:14:55 -05:00
Matthew Chen
ea080eda72 Sketch out the photo collection picker. 2018-11-15 13:14:55 -05:00
Matthew Chen
9641edbfd2 Fix build breakage. 2018-11-15 12:34:38 -05:00
Michael Kirk
0efb960323 "Bump build to 2.32.0.9." 2018-11-15 10:54:18 -06:00
Michael Kirk
92135af8be Merge branch 'release/2.32.0' 2018-11-15 10:38:43 -06:00
Michael Kirk
12b916ad36 Merge tag '2.31.0.37' into release/2.32.0 2018-11-15 10:35:03 -06:00
Michael Kirk
a27b04613d CR: simplify scroll check 2018-11-15 10:29:49 -06:00
Michael Kirk
ff63c31dae CR: rename colors 2018-11-15 10:23:53 -06:00
Michael Kirk
47a7114317 Gallery pager style changes 2018-11-15 10:16:51 -06:00
Michael Kirk
f6e9fce0d3 fix All Media button from conversation settings 2018-11-15 10:16:22 -06:00
Matthew Chen
5c02f8d34c "Bump build to 2.31.0.37." 2018-11-14 23:29:56 -05:00
Michael Kirk
542d5826de fix a million retain cycles in conversation settings 2018-11-14 18:55:29 -06:00
Matthew Chen
99d41256a9 "Bump build to 2.31.0.36." 2018-11-14 17:30:05 -05:00
Matthew Chen
210da50868 Rework ACK of messages fetched via REST. 2018-11-14 17:26:39 -05:00
Matthew Chen
f6df3b01e8 "Bump build to 2.31.0.35." 2018-11-14 16:43:17 -05:00
Matthew Chen
71aa420315 "Bump build to 2.31.0.34." 2018-11-14 16:35:39 -05:00
Michael Kirk
84879b991d Album rail in Gallery 2018-11-14 14:50:33 -06:00
Matthew Chen
2eff3cb550 "Bump build to 2.31.0.33." 2018-11-14 08:36:56 -05:00
Matthew Chen
b865b91147 Use REST for UD requests. 2018-11-14 08:30:25 -05:00
Matthew Chen
f7e7477f54 Add sharing scenarios to Debug UI. 2018-11-13 13:15:11 -05:00
Matthew Chen
2e50cc1f2d Respond to CR. 2018-11-13 13:14:24 -05:00
Matthew Chen
84d6f61d53 Fix glitches in conversation media view. 2018-11-13 11:57:16 -05:00
Michael Kirk
24745570dc Merge tag '2.32.0.8' 2018-11-13 10:43:06 -06:00
Michael Kirk
f9e2c8172c "Bump build to 2.32.0.8." 2018-11-13 10:38:47 -06:00
Michael Kirk
6749eccaac "Bump build to 2.32.0.7." 2018-11-13 10:36:59 -06:00
Michael Kirk
c6cead7bb3 "Bump build to 2.32.0.6." 2018-11-13 09:50:22 -06:00
Michael Kirk
3faa700d66 Merge tag '2.31.0.31' into release/2.32.0 2018-11-13 09:45:47 -06:00
Matthew Chen
be784d14d6 Revert "Disable the orphan data cleaner."
This reverts commit 7c47fe6b4f.
2018-11-13 09:51:00 -05:00
Matthew Chen
49c8e6db7d Merge remote-tracking branch 'origin/release/2.31.0' 2018-11-13 09:50:44 -05:00
Matthew Chen
220fdfc14e "Bump build to 2.31.0.32." 2018-11-13 09:37:17 -05:00
Matthew Chen
38f551e229 "Bump build to 2.31.0.31." 2018-11-13 09:28:14 -05:00
Matthew Chen
6a1673862e "Bump build to 2.31.0.30." 2018-11-12 16:31:44 -05:00
Matthew Chen
1692a28fc2 Update l10n. 2018-11-12 16:31:37 -05:00
Matthew Chen
7c47fe6b4f Disable the orphan data cleaner. 2018-11-12 16:28:58 -05:00
Michael Kirk
fa82d43e6c put custom image picker behind feature flag 2018-11-12 14:32:43 -06:00
Michael Kirk
3c450eeeaa degrade from crashing to debug assert, upon failure we return a fully (overly)
redacted string
2018-11-12 09:55:56 -06:00
Michael Kirk
54059532f7 remove unused strong capture 2018-11-12 09:55:29 -06:00
Michael Kirk
97e9871f19 remove unnecessary implicitly unwrapped optional 2018-11-12 09:55:06 -06:00
Michael Kirk
2a1c62f6f5 remove unused delegate method declaration 2018-11-12 09:55:00 -06:00
Michael Kirk
24f97f1229 compiler warning: discard result explicitly 2018-11-12 09:54:42 -06:00
Michael Kirk
e2ad9d81bb attachment factory
flesh out other factory builders
2018-11-11 11:28:59 -06:00
Michael Kirk
06b763dfc4 Remove unused methods/tests 2018-11-11 11:13:05 -06:00
Michael Kirk
59d3699e1b remove invalid test - non-optional argument triggers debug assert 2018-11-11 11:13:05 -06:00
Michael Kirk
dd9bd1c1b9 remove unused header for DatabaseConverter test 2018-11-11 11:13:05 -06:00
Michael Kirk
c710b7f8f2 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
2018-11-11 11:13:05 -06:00
Matthew Chen
caba577f26 "Bump build to 2.32.0.5." 2018-11-09 17:49:42 -05:00
Matthew Chen
6f64a809f3 Tap on album item. 2018-11-09 17:45:29 -05:00
Michael Kirk
d805246cb7 update caption after deleting item 2018-11-09 16:26:12 -06:00
Michael Kirk
ca30a96451 Increase caption height 2018-11-09 16:19:57 -06:00
Michael Kirk
78b1c9a8b9 caption should not be selectable/editable 2018-11-09 16:19:45 -06:00
Michael Kirk
43489a6551 remove gradient when viewing attachment with no caption 2018-11-09 16:19:38 -06:00
Michael Kirk
5da525ce2e Merge remote-tracking branch 'origin/release/2.31.0' 2018-11-09 15:49:53 -06:00
Michael Kirk
11fece2f3f move category method to be shared 2018-11-09 14:06:06 -06:00
Michael Kirk
74b25c14f1 filter caption strings for display 2018-11-09 14:06:06 -06:00
Michael Kirk
3b53ee08ba Long captions use ScrollView rather than resizing 2018-11-09 14:06:06 -06:00
Michael Kirk
cfd2e8d9d1 Show captions in gallery page view 2018-11-09 14:06:06 -06:00
Matthew Chen
1da59dd9b5 "Bump build to 2.32.0.4." 2018-11-09 14:11:41 -05:00
Matthew Chen
52af57f8a3 Fix accessibility for app settings button. 2018-11-09 14:01:28 -05:00
Matthew Chen
b475695f54 Respond to CR. 2018-11-09 13:58:31 -05:00
Matthew Chen
34b4ea377f Revise media progress views. 2018-11-09 13:49:32 -05:00
Matthew Chen
15c42642e0 Apply invalid and rety assets. 2018-11-09 13:49:32 -05:00
Matthew Chen
a431829a7b "Bump build to 2.31.0.29." 2018-11-09 13:46:58 -05:00
Matthew Chen
1ac74cfb81 Modify MessageFetcherJob to handle incoming UD messages. 2018-11-09 13:46:08 -05:00
Matthew Chen
9d1579a480 Update caption indicator asset. 2018-11-08 15:49:49 -05:00
Matthew Chen
cd224a1590 Render single media as albums. 2018-11-08 15:44:22 -05:00
Matthew Chen
82fb766c27 Respond to CR. 2018-11-08 15:40:43 -05:00
Matthew Chen
654325c6dc Add download progress indicators. 2018-11-08 15:35:14 -05:00
Matthew Chen
a26086b303 Show attachment upload progress indicators. 2018-11-08 15:34:03 -05:00
Matthew Chen
c1a5e1e258 Rename to media album. 2018-11-08 15:33:57 -05:00
Matthew Chen
3daf7d4744 Add OWSAttachmentDownloads. 2018-11-08 15:31:00 -05:00
Michael Kirk
03aba93985 CR: use id for hashvalue, make clearer that we don't expect to use incrementing ID's for uniqueId 2018-11-08 13:11:30 -06:00
Michael Kirk
7cf53293da restore Share/Delete functionality to gallery items in the post multi-attachment world 2018-11-08 12:52:09 -06:00
Michael Kirk
42bf267607 fixup plumbing for incoming messages/synced transcripts 2018-11-08 12:52:09 -06:00
Michael Kirk
e096406e56 migrate existing attachments to album-compatible gallery schema 2018-11-08 12:52:09 -06:00
Michael Kirk
57681bd6f3 Gallery supports album messages 2018-11-08 12:52:09 -06:00
Michael Kirk
27cb91e9c8 Plumb through messageAlbumId so an Attachment knows what album (if any) it
belongs to.
2018-11-08 12:52:08 -06:00
Matthew Chen
f37c4f71ad Add footer to 'typing indicators' setting. 2018-11-08 13:49:39 -05:00
Matthew Chen
02a9cc9181 Remove stroke on album items. 2018-11-08 13:46:02 -05:00
Matthew Chen
00adefa518 "Bump build to 2.32.0.3." 2018-11-08 13:45:36 -05:00
Matthew Chen
dfdaf93402 "Bump build to 2.31.0.28." 2018-11-07 16:20:50 -05:00
Matthew Chen
9a44f24bc1 Reduce typing indicators. 2018-11-07 14:31:47 -05:00
Matthew Chen
f382cd770e Fix build break. 2018-11-07 12:32:30 -05:00
Matthew Chen
777e2b9251 Rename to media album. 2018-11-07 12:26:57 -05:00
Matthew Chen
2dfd4b2c0d Rename to media album. 2018-11-07 12:24:53 -05:00
Michael Kirk
3ff3779f17 CR: remove unnecessary assert 2018-11-07 10:12:50 -06:00
Matthew Chen
c7c02f03d1 Display caption indicators for media albums in conversation view. 2018-11-07 11:12:13 -05:00
Michael Kirk
7cef41f8e2 Multi-approval 2018-11-07 10:09:21 -06:00
Matthew Chen
57de089118 Add support for album captions to models. 2018-11-07 10:54:17 -05:00
Matthew Chen
60c5a84dd2 Fix issues in media gallery cells; Improve debug galleries. 2018-11-07 09:56:49 -05:00
Matthew Chen
88a1186e4e Restore XCode 9 compatability. 2018-11-07 09:56:17 -05:00
Matthew Chen
cdfd2779a3 Fix a couple small bugs in the typing indicators. 2018-11-06 17:21:24 -05:00
Matthew Chen
5aa6467d20 Fix issues in media gallery cells. 2018-11-06 15:35:48 -05:00
Matthew Chen
f45693ec34 Respond to CR. 2018-11-06 15:34:18 -05:00
Matthew Chen
736d7c7351 Fix media gallery cell edge cases. 2018-11-06 15:23:09 -05:00
Matthew Chen
d538301632 Fix media gallery cell edge cases. 2018-11-06 15:23:09 -05:00
Matthew Chen
34e85dd90e Fix media gallery cell edge cases. 2018-11-06 15:23:09 -05:00
Matthew Chen
ee3bdca336 Fix media gallery cell edge cases. 2018-11-06 15:23:09 -05:00
Matthew Chen
cfcb6cb15b Clean up ahead of PR. 2018-11-06 15:23:09 -05:00
Matthew Chen
0c76e1c02d Use ConversationMediaView to simplify media rendering in conversation view cells. 2018-11-06 15:23:09 -05:00
Matthew Chen
f2c0a6f7dd Clean up ahead of PR. 2018-11-06 15:23:09 -05:00
Matthew Chen
c89bdd2a15 Modify MediaGalleryCellView to handle animated images and videos. 2018-11-06 15:23:09 -05:00
Matthew Chen
2c9a556786 Remove overzealous assert in ConversationViewModel. 2018-11-06 15:23:09 -05:00
Matthew Chen
cf057e3af3 Modify MediaGalleryCellView to handle still images. 2018-11-06 15:23:09 -05:00
Matthew Chen
ec6de40bd9 Modify MessageBubbleView to support media galleries. 2018-11-06 15:23:09 -05:00
Matthew Chen
0341f5dc2b Modify ConversationViewItem to support media galleries. 2018-11-06 15:23:09 -05:00
Matthew Chen
f2c0985907 Add 'is valid media?' method. 2018-11-06 15:23:09 -05:00
Michael Kirk
4c5d46e8f8 Custom photo picker, respects theme/call banner
- share GridViewCell
- Multiple image selection, with feature flag, cant currently approve multiple
2018-11-05 22:23:40 -06:00
Matthew Chen
c8ac66ff8f "Bump build to 2.32.0.2." 2018-11-05 16:54:21 -05:00
Matthew Chen
2ca32fddcc Preserve ordering in incremental diffs. 2018-11-05 16:53:39 -05:00
Matthew Chen
aa5e6b456e Preserve ordering in incremental diffs. 2018-11-05 16:53:39 -05:00
Matthew Chen
5d6ff608c1 "Bump build to 2.32.0.1." 2018-11-05 16:28:38 -05:00
Matthew Chen
39c820b866 Distinguish 'app will/did become ready' events. 2018-11-05 09:04:57 -05:00
Matthew Chen
eb2e16872e Distinguish 'app will/did become ready' events. 2018-11-05 09:04:57 -05:00
Matthew Chen
af249de681 Fix race in CVM startup. 2018-11-05 09:02:05 -05:00
Matthew Chen
65776cdaef "Bump build to 2.32.0.0." 2018-11-02 13:19:55 -04:00
Matthew Chen
47fda2e377 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Matthew Chen
ecba67b511 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Matthew Chen
f6591fac25 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Matthew Chen
d04f1e6e36 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Matthew Chen
f893980468 Add debug UI function to make group with unregistered users. 2018-11-02 12:59:16 -04:00
Matthew Chen
1e5a228c5b "Bump build to 2.31.0.27." 2018-11-02 12:25:14 -04:00
Michael Kirk
62e9f51c08 sync translations 2018-11-02 10:19:02 -06:00
Michael Kirk
18343e1af8 l10n tr_TR -> tr 2018-11-02 10:15:46 -06:00
Michael Kirk
3585e111b6 l10n th_TH -> th 2018-11-02 10:15:46 -06:00
Michael Kirk
a726fef89d l10n sv_SE -> sv 2018-11-02 10:15:46 -06:00
Michael Kirk
735331dc9f l10n ja_JP -> ja 2018-11-02 10:15:46 -06:00
Michael Kirk
6d052f1379 l10n it_IT -> it 2018-11-02 10:15:46 -06:00
Michael Kirk
c01475836e l10n el_GR -> el 2018-11-02 10:15:46 -06:00
Michael Kirk
f8207c6d2e l10n az_AZ -> az 2018-11-02 10:15:46 -06:00
Michael Kirk
3cfbc75f68 l10n ko_KR -> ko 2018-11-02 10:15:44 -06:00
Michael Kirk
0d06590304 update existing translations 2018-11-02 10:15:17 -06:00
Matthew Chen
58856748d8 Update info plist to reflect PlistBuddy ordering. 2018-11-01 17:18:01 -04:00
Matthew Chen
7c65a98069 Fix breakage from typing indicators. 2018-11-01 17:11:59 -04:00
Matthew Chen
b90fee08bd Merge remote-tracking branch 'origin/release/2.31.0' 2018-11-01 16:59:54 -04:00
Matthew Chen
78987445ec "Bump build to 2.31.0.26." 2018-11-01 16:53:41 -04:00
Matthew Chen
b8e9cd6b58 Respond to CR. 2018-11-01 16:44:48 -04:00
Matthew Chen
22c922bf5b Respond to CR. 2018-11-01 16:44:47 -04:00
Matthew Chen
650469c6a7 Respond to CR. 2018-11-01 16:44:47 -04:00
Matthew Chen
4088bebe05 Clean up ahead of PR. 2018-11-01 16:44:47 -04:00
Matthew Chen
94eaed0024 Fix rebase breakage. 2018-11-01 16:44:47 -04:00
Matthew Chen
f8a5a41415 Apply dark theme to typing indicator. 2018-11-01 16:44:47 -04:00
Matthew Chen
37ae4ef360 Add typing indicator animation. 2018-11-01 16:44:47 -04:00
Matthew Chen
63d88ef5cb Sketch out TypingIndicatorCell. 2018-11-01 16:44:47 -04:00
Matthew Chen
eedc9f9a26 Sketch out "typing indicators" interaction and cell. 2018-11-01 16:44:47 -04:00
Matthew Chen
50381cc94c Add typing indicators in home view. 2018-11-01 16:44:47 -04:00
Michael Kirk
d9a4c6e837 typing indicator upgrade screen 2018-11-01 14:31:25 -06:00
Michael Kirk
aa22f9a556 whitelist staging cds domain 2018-11-01 13:16:19 -06:00
Michael Kirk
77bd9b8852 Extract most Gallery functionality from the gallery NavigationController.
By not overriding the initializer for an OWSNavigationController subclass,
we can use the dynamic disaptch intialization chain.

The root difficulty here is that super.init(navBarClass:) wants to call
self.init(nibNam)
2018-11-01 12:53:59 -06:00
Michael Kirk
6d8a7ed800 things working 2018-11-01 12:53:59 -06:00
Michael Kirk
1af750363a fix media-gallery doesn't respect call banner 2018-11-01 12:53:59 -06:00
Matthew Chen
834bba8880 Respond to CR. 2018-11-01 14:51:47 -04:00
Matthew Chen
32d3eed7ba Add ConversationViewModel. 2018-11-01 14:51:47 -04:00