Matthew Chen
d032339472
Modify debug builds to use production service.
...
// FREEBIE
2017-08-30 10:49:49 -04:00
Michael Kirk
6156fcb247
Merge branch 'mkirk/fix-provisioning-cipher'
2017-08-30 09:47:41 -04:00
Michael Kirk
01d0117f9b
provisioning cipher: Fix memory leak, handle failure
...
Explicitly malloc'd buffer should either be explicitly free'd or
ownership given to NSData via `freeWhenDone:YES`
Instead I opted to avoid the explict malloc altogether, and avoided some
unnecessary allocations.
Also made sure encryption failures propogate to error handler
// FREEBIE
2017-08-30 09:47:29 -04:00
Michael Kirk
1f7b6f61c6
Regression test for provisioning cipher
...
// FREEBIE
2017-08-30 09:47:29 -04:00
Matthew Chen
59f2c4674c
Bump build from to 2.16.0.10.
...
// FREEBIE
2017-08-29 17:31:05 -04:00
Matthew Chen
d7b0b6a253
Fix build break in production builds.
...
// FREEBIE
2017-08-29 17:30:56 -04:00
Matthew Chen
43dddf9312
Bump build from to 2.16.0.9.
...
// FREEBIE
2017-08-29 17:16:59 -04:00
Michael Kirk
1e31eb6cdd
Merge branch 'mkirk/sync-whitelist'
2017-08-29 17:09:51 -04:00
Michael Kirk
bdb75fa596
infer when group has been whitelisted on linked device
...
// FREEBIE
2017-08-29 17:09:28 -04:00
Matthew Chen
e97de35992
Merge branch 'charlesmchen/dontIgnoreAttachments'
2017-08-29 16:36:00 -04:00
Matthew Chen
b00db33d12
Don't ignore attachments.
...
// FREEBIE
2017-08-29 16:35:52 -04:00
Matthew Chen
0cc169e603
Merge branch 'charlesmchen/syncLocalProfile'
2017-08-29 16:31:34 -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
cf7f9dabfe
Merge branch 'charlesmchen/rtlVsSystemMessages'
2017-08-29 16:27:00 -04:00
Matthew Chen
ac3743f810
Fix RTL layout of system message cells.
...
// FREEBIE
2017-08-29 16:26:23 -04:00
Matthew Chen
de98d3c152
Merge branch 'charlesmchen/messageViewScrollStateAgain'
2017-08-29 16:25:36 -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
70cbfb9ec0
Merge branch 'charlesmchen/messageViewScrollStateRevisited'
2017-08-29 12:21:05 -04:00
Matthew Chen
44f071bdfb
Respond to CR.
...
// FREEBIE
2017-08-29 12:20:58 -04:00
Matthew Chen
6f5437ee0d
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
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
3ffb321e2a
fix assert
...
// FREEBIE
2017-08-29 12:02:24 -04:00
Michael Kirk
18bc7cb0aa
Merge branch 'mkirk/sync-local-profile-earlier'
2017-08-29 11:31:49 -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
1aeccc6a4e
Merge branch 'mkirk/profile-key-flag'
2017-08-29 11:00:50 -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
ec0cf36abb
Don't print empty bubbles.
...
e.g. if we add another "invisible" flag message in the future we want to
be able to roll it out immediately.
// FREEBIE
2017-08-29 10:39:36 -04:00
Michael Kirk
69e8ca8eac
Handle receiving profile key messages
...
(don't print empty bubble)
// FREEBIE
2017-08-29 10:35:54 -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
fb42077db4
Merge branch 'mkirk/profile-key-sync'
2017-08-29 10:35:24 -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
6cde79c568
Assert profile key length on sending/receiving
...
// FREEBIE
2017-08-29 10:35:18 -04:00
Michael Kirk
6235e7fe5c
Don't send profile key with every sync message since we explicitly sync
...
upon update/create.
Following Signal-Android's lead here.
// 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
Michael Kirk
f0a57edde0
proto update: multiDevice profileKey sync
...
Also:
- minimize diff between Signal-Android's protos
- comment whereever we diverge from Signal-Android
// FREEBIE
2017-08-29 10:35:18 -04:00
Matthew Chen
ce92cc6325
Merge branch 'charlesmchen/fixScrollDownButton'
2017-08-28 16:21:10 -04:00
Matthew Chen
d3d9e5dabc
Fix scroll down button state.
...
// FREEBIE
2017-08-28 14:55:39 -04:00
Matthew Chen
4f8508050a
Merge branch 'charlesmchen/localProfileVsUploadForm'
2017-08-28 13:11:32 -04:00
Matthew Chen
cdfdb80fd1
Respond to CR.
...
// FREEBIE
2017-08-28 13:11:13 -04:00