Matthew Chen
94daccc78e
Fix fake contacts.
...
// FREEBIE
2017-09-01 15:24:27 -04:00
Matthew Chen
a35a21d5cc
Batch the creation of fake contacts.
...
// FREEBIE
2017-09-01 15:24:27 -04:00
Michael Kirk
1cd51a8df2
Use existing isViewLoaded var
...
Defined in UIKit, this will actually already do what we need without
having to define a new var
// FREEBIE
2017-09-01 14:39:52 -04:00
Michael Kirk
3b85c5e495
crashfix: production crash when notification fired before view loaded
...
We're observing notifications in init that modify the view, which is
problematic if we receive a notification before the view has loaded.
// FREEBIE
2017-09-01 12:56:50 -04:00
Michael Kirk
2cd2596ddc
crashfix: thread.uniqueId is sometimes nil in production
...
fail early and print diagnostics
// FREEBIE
2017-09-01 12:56:50 -04:00
Michael Kirk
bb8f6c1b73
crashfix: crash while accessing image property
...
assert on blind cast
// FREEBIE
2017-09-01 12:56:50 -04:00
Michael Kirk
2eaaba9082
crashfix: on addObject, presumably it's nil.
...
I'm not sure how this is happening, but this will prevent the crash and
give us additional diagnostic data in the cases where it is happening.
// FREEBIE
2017-09-01 12:56:50 -04:00
Matthew Chen
95eaa2c3bb
Preserve scroll state across conversation view layout changes, if possible.
...
// FREEBIE
2017-08-31 15:21:29 -04:00
Matthew Chen
b2c8ad2d29
Restore scroll state after resetting the conversation view's mapping.
...
// FREEBIE
2017-08-31 15:21:29 -04:00
Matthew Chen
7d32491968
Preserve scroll state across conversation view layout changes, if possible.
...
// FREEBIE
2017-08-31 15:21:27 -04:00
Matthew Chen
fce2ad2793
Refine the "is scrolled to bottom" logic to better handle new conversations.
...
// FREEBIE
2017-08-30 13:00:02 -04:00
Matthew Chen
cc048b3971
Respond to CR.
...
// FREEBIE
2017-08-30 12:46:21 -04:00
Matthew Chen
ef21c6d50c
Ignore "GIF of death."
...
// FREEBIE
2017-08-30 12:46:21 -04:00
Matthew Chen
7f15228aba
Ignore "GIF of death."
...
// FREEBIE
2017-08-30 12:46:21 -04:00
Matthew Chen
5fcf89dff1
Ignore "GIF of death."
...
// FREEBIE
2017-08-30 12:46:21 -04:00
Matthew Chen
b9908997c9
Remain scrolled to bottom after presenting the keyboard in messages view.
...
// FREEBIE
2017-08-30 12:44:10 -04:00
Matthew Chen
d7b0b6a253
Fix build break in production builds.
...
// FREEBIE
2017-08-29 17:30:56 -04:00
Matthew Chen
3c90c3361a
Respond to CR.
...
// FREEBIE
2017-08-29 16:31:27 -04:00
Matthew Chen
71d7490e35
Re-sync local profile state with service if necessary.
...
// FREEBIE
2017-08-29 16:29:54 -04:00
Matthew Chen
ac3743f810
Fix RTL layout of system message cells.
...
// FREEBIE
2017-08-29 16:26:23 -04:00
Matthew Chen
92a0fbe01b
Fix yet another edge case around message view scroll state.
...
// FREEBIE
2017-08-29 13:30:56 -04:00
Matthew Chen
4a2ca15b70
Fix build break around parameter name.
...
// FREEBIE
2017-08-29 12:26:41 -04:00
Matthew Chen
997cd2ef2b
Revisit the [UIScrollView _adjustContentOffsetIfNecessary] issue. Fix glitches in the initial scroll state in message view. Don't reset scroll state when returning to the message view.
...
// FREEBIE
2017-08-29 12:20:58 -04:00
Matthew Chen
7f717c0ca6
Revisit the [UIScrollView _adjustContentOffsetIfNecessary] issue. Fix glitches in the initial scroll state in message view. Don't reset scroll state when returning to the message view.
...
// FREEBIE
2017-08-29 12:20:58 -04:00
Michael Kirk
4c51f1810c
sync local profile as soon as it's created
...
// FREEBIE
2017-08-29 11:05:19 -04:00
Michael Kirk
ab84cbd670
use messageSender property now that the class relies on it in multiple
...
places.
(due to rebase)
// FREEBIE
2017-08-29 10:49:22 -04:00
Michael Kirk
42934e5fd4
remove retry logic per code review
...
the system naturally recovers anyway, upon sending messages, no need to
hit the user with another alert.
// FREEBIE
2017-08-29 10:49:22 -04:00
Michael Kirk
d71b7684a6
cleanup logging
...
// FREEBIE
2017-08-29 10:46:10 -04:00
Michael Kirk
55d0db8c46
Disable profile-key sending with feature flag
...
// FREEBIE
2017-08-29 10:39:36 -04:00
Michael Kirk
4382f33618
Send blank PROFILE_MESSAGE after whitelisting someone
...
So they can immediately fetch your profile.
Note, we're going to put this behind a feature flag for initial release
since iOS prints an empty bubble when receiving a message like this.
// FREEBIE
2017-08-29 10:35:54 -04:00
Michael Kirk
6c63009e9e
Dedicated "Profile" debug section
...
// FREEBIE
2017-08-29 10:35:54 -04:00
Michael Kirk
9c56660618
profile key flag and debug action
...
// FREEBIE
2017-08-29 10:35:54 -04:00
Michael Kirk
d8aa9b4a3d
better comment per CR
...
// FREEBIE
2017-08-29 10:35:18 -04:00
Michael Kirk
0feb966a1c
comment cleanup / code formatting
...
// FREEBIE
2017-08-29 10:35:18 -04:00
Michael Kirk
526d5e33b9
Sync profile key to sibling devices when updating contact
...
// FREEBIE
2017-08-29 10:35:18 -04:00
Michael Kirk
46919e4702
Add own profile key to multidevice provisioning message
...
// FREEBIE
2017-08-29 10:35:18 -04:00
Michael Kirk
1f3d2d1ed6
Send any profile key in contact sync
...
// FREEBIE
2017-08-29 10:35:18 -04:00
Matthew Chen
d3d9e5dabc
Fix scroll down button state.
...
// FREEBIE
2017-08-28 14:55:39 -04:00
Matthew Chen
cdfdb80fd1
Respond to CR.
...
// FREEBIE
2017-08-28 13:11:13 -04:00
Matthew Chen
7e4859241a
Clear the local profile avatar immediately when we request upload form.
...
// FREEBIE
2017-08-28 13:09:33 -04:00
Matthew Chen
0fa19b5269
Clear own avatar on service if necessary when updating local profile. Clear others' avatar when appropriate.
...
// FREEBIE
2017-08-28 11:59:36 -04:00
Matthew Chen
50a8d0f165
Clear own avatar on service if necessary when updating local profile. Clear others' avatar when appropriate.
...
// FREEBIE
2017-08-28 11:57:39 -04:00
Michael Kirk
1e51bf4899
extract event names
...
// FREEBIE
2017-08-25 17:19:31 -04:00
Michael Kirk
251e206b6d
profiles vs. censorship circumvention
...
// FREEBIE
2017-08-25 17:17:43 -04:00
Matthew Chen
f2ae73e156
Remove obsolete "scrollLaterTimer" hack in messages view.
...
// FREEBIE
2017-08-25 17:01:13 -04:00
Matthew Chen
8794880db8
Unbound message bubble cache size and DRY up cache logic.
...
// FREEBIE
2017-08-25 17:01:13 -04:00
Matthew Chen
c90ca331e3
Respond to CR.
...
// FREEBIE
2017-08-25 16:50:14 -04:00
Matthew Chen
6b8e189f45
Add view to Crop and scale avatar.
...
// FREEBIE
2017-08-25 16:02:15 -04:00
Matthew Chen
728028563c
Add double-tap to zoom out.
...
// FREEBIE
2017-08-25 16:02:15 -04:00
Matthew Chen
e7b32f9fd1
Add double-tap to zoom out.
...
// FREEBIE
2017-08-25 16:02:15 -04:00