Matthew Chen
9149282e94
Resize link preview images if necessary.
2019-01-24 13:28:54 -05:00
Matthew Chen
9b33d70d7b
Constrain max size of link preview image.
2019-01-24 13:06:22 -05:00
Matthew Chen
e172eeff0e
Link preview preference should only affect outgoing link previews.
2019-01-24 08:54:07 -05:00
Matthew Chen
23980152fc
Segment proxied content downloads.
2019-01-24 08:51:25 -05:00
Matthew Chen
635b5740ac
Add missing domain to link preview whitelist.
2019-01-23 13:17:23 -05:00
Matthew Chen
e2747dc702
Fix glitch in link loading.
2019-01-23 13:17:23 -05:00
Matthew Chen
b002c0c9e1
Refine link parsing and validation logic.
2019-01-23 13:17:23 -05:00
Matthew Chen
a7d848ef7c
Add missing nullability annotations.
2019-01-23 13:12:43 -05:00
Matthew Chen
7e9c3b2dac
Clean up all message attachments.
2019-01-23 10:01:16 -05:00
Matthew Chen
7d4e89daac
Discard link previews if incoming message has attachments.
2019-01-23 09:59:48 -05:00
Matthew Chen
3d757b492a
Add link previews to conversation message bubbles.
2019-01-23 09:32:30 -05:00
Matthew Chen
0569ed3f59
Respond to CR.
2019-01-23 09:24:30 -05:00
Matthew Chen
f73f100717
Link preview temp files.
2019-01-23 09:22:16 -05:00
Matthew Chen
c57b0d98cb
Add link previews setting.
2019-01-23 09:17:13 -05:00
Matthew Chen
f37aacca85
Respond to CR.
2019-01-22 10:17:11 -05:00
Matthew Chen
2dcc79fbca
Fix issues around link previews.
2019-01-22 10:15:50 -05:00
Matthew Chen
6e044675ac
Respond to CR.
2019-01-22 09:42:25 -05:00
Matthew Chen
8e44bf554c
Respond to CR.
2019-01-22 09:42:25 -05:00
Matthew Chen
d775a70a89
Build link previews.
2019-01-22 09:42:25 -05:00
Matthew Chen
31ea64bdaf
Build link previews.
2019-01-22 09:42:25 -05:00
Matthew Chen
f13c1de738
Respond to Cr.
2019-01-15 10:36:21 -05:00
Matthew Chen
55376975f5
Add link preview parsing and validation logic.
2019-01-14 17:06:47 -05:00
Matthew Chen
45b93cc4b4
Respond to CR.
2019-01-14 16:44:18 -05:00
Matthew Chen
a477e01a4a
Apply LinkPreview model.
2019-01-14 16:20:54 -05:00
Matthew Chen
4eb05e369d
Add LinkPreview model.
2019-01-14 16:20:54 -05:00
Matthew Chen
63260ee94d
Fix registration.
2019-01-08 15:38:08 -05:00
Matthew Chen
46b0cdb872
Caution around group avatars.
2019-01-07 12:47:15 -05:00
Matthew Chen
78d0685cba
Discard transient messages if there is no session.
2019-01-07 08:49:31 -05:00
Michael Kirk
432af13b63
Fix timer update message.
...
This was broken in 5671fd252
while resolving merge conflicts from applying the
sortId changes.
2019-01-04 10:57:13 -07:00
Matthew Chen
449633e0dc
Respond to CR.
2019-01-04 09:19:41 -05:00
Matthew Chen
a7909c9c2e
Note to Self.
2019-01-03 18:06:56 -05:00
Matthew Chen
dc6dadad43
Respond to CR.
2019-01-03 16:43:52 -05:00
Matthew Chen
1260e7459d
Add asserts around attachment crash.
2019-01-03 16:43:52 -05:00
Michael Kirk
df79fc9ed0
Move String+OWS into SSK
...
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
2018-12-20 09:54:08 -07:00
Michael Kirk
fc7a713619
CR: use existing transaction rather than open sneaky one
2018-12-19 15:16:36 -07:00
Michael Kirk
af7ee5e1d1
address compiler breakage after rebase
2018-12-19 15:16:36 -07:00
Michael Kirk
9d5753bd81
fix sortId comparison
2018-12-19 15:16:36 -07:00
Michael Kirk
5671fd2520
Revert "Revert 'new sort id'."
...
This reverts commit ebae75af00
.
2018-12-19 15:16:36 -07:00
Michael Kirk
dfb985f46c
Merge tag '2.33.0.10'
2018-12-19 10:32:46 -07:00
Matthew Chen
4e0cfac911
Respond to CR.
2018-12-18 16:24:06 -05:00
Matthew Chen
07fef16155
Discard typing indicators for blocked and left groups.
2018-12-18 16:24:06 -05:00
Matthew Chen
26a25f861b
Start sketching out image editor.
2018-12-18 10:53:41 -05:00
Michael Kirk
67cc1027cc
Fix compiler warnings
2018-12-17 14:43:21 -07:00
Matthew Chen
19a2bfeaad
More conversation viewmodel perf improvements.
2018-12-13 11:50:55 -05:00
Matthew Chen
bd318a84ab
Fix typo.
2018-12-12 15:45:11 -05:00
Matthew Chen
a96c6ed3b2
Persist the media validity cache.
2018-12-12 15:45:11 -05:00
Michael Kirk
b7ab036c04
warn_unused_result on AnyPromise methods
2018-12-11 09:37:44 -07:00
Matthew Chen
48bd0cfa06
Add missing retains to promises.
2018-12-11 10:43:47 -05:00
Michael Kirk
eb96eec94a
Merge branch 'release/2.32.0'
2018-12-07 09:55:43 -05:00
Michael Kirk
5423607393
debug logging
2018-12-06 19:12:52 -05:00
Matthew Chen
fe8259bf0c
Fix incremental backup exports.
2018-12-03 22:21:59 -05:00
Michael Kirk
92dd77779c
Merge tag '2.32.0.19'
2018-12-03 16:39:06 -05:00
Michael Kirk
9eeed99708
fix formatting after merge
2018-12-03 16:28:44 -05:00
Michael Kirk
156302acc7
Merge tag '2.31.2.0' into release/2.32.0
2018-12-03 16:24:24 -05:00
Matthew Chen
0955ab8662
Refine envelope processing.
2018-12-02 17:30:31 -05:00
Matthew Chen
036c6dca41
Merge branch 'release/2.32.0'
2018-11-30 09:30:56 -05:00
Matthew Chen
973afd041d
Merge branch 'hotfix/2.31.1' into release/2.32.0
2018-11-30 09:25:34 -05:00
Michael Kirk
2b43fe31ed
verify serialzed message exists
2018-11-29 18:06:59 -05:00
Matthew Chen
a2dfcd0288
Respond to CR.
2018-11-29 15:00:37 -05:00
Matthew Chen
7624b01d1b
Respond to CR.
2018-11-29 14:48:56 -05:00
Matthew Chen
c183aeca8e
Refine asserts around message sending.
2018-11-29 14:30:16 -05:00
Matthew Chen
a6cef1c4cc
Update UD indicators.
2018-11-29 14:30:03 -05:00
Matthew Chen
4d1c38cc45
Never failover message sends.
2018-11-29 13:10:40 -05:00
Matthew Chen
08de701d6e
Clean up ahead of CR.
2018-11-29 09:25:04 -05:00
Matthew Chen
ca65325710
Don't send messages with restoring attachments.
2018-11-29 09:25:04 -05:00
Michael Kirk
39c8a153df
fixup 2.32.0 RI
2018-11-28 23:13:48 -07:00
Michael Kirk
128bb9be8c
Merge tag '2.32.0.17'
2018-11-28 22:15:39 -07:00
Matthew Chen
95e1f840c1
Backup misc collections.
2018-11-28 17:05:08 -05:00
Matthew Chen
dcaaff7eac
Add isRegisteredAndReady to TSAccountManager.
2018-11-27 09:21:44 -05:00
Matthew Chen
8110e0c765
Clean up usage of TSAccountManager.
2018-11-27 09:21:44 -05:00
Matthew Chen
fa8095bf2d
Respond to CR.
2018-11-26 10:00:25 -05:00
Matthew Chen
544bdbd7f5
Fix edge cases around registration.
2018-11-26 09:58:59 -05:00
Matthew Chen
4126b35a27
Respond to CR.
2018-11-26 09:42:41 -05:00
Matthew Chen
4ce0b68a86
Discard sender certificates after 24 hours.
2018-11-26 09:19:12 -05: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
Michael Kirk
0d0359ee12
Fix crash due to empty authorId on old messages
2018-11-19 13:01:24 -06:00
Michael Kirk
b87b2522e3
Merge tag '2.32.0.13'
2018-11-16 23:28:51 -06:00
Michael Kirk
6935761ab9
Merge tag '2.31.0.38' into release/2.32.0
2018-11-16 17:32:02 -06:00
Michael Kirk
f52a58e31e
Handle known sender
2018-11-16 17:22:40 -06:00
Michael Kirk
6c2dbbc7c3
verify envelope source before proceeding with error handling
2018-11-16 10:32:02 -06:00
Matthew Chen
81f234f6a0
Fix breakage in share extension.
2018-11-15 12:42:48 -05: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
Matthew Chen
dacccccf74
Remove UD websocket.
2018-11-14 18:03:10 -05:00
Matthew Chen
b865b91147
Use REST for UD requests.
2018-11-14 08:30:25 -05:00
Matthew Chen
b583e96a04
Tweak clearMayHaveLinkedDevices.
2018-11-13 16:40:34 -05:00
Matthew Chen
901f58c7e3
Fix bug when sending non-body attachments (e.g. group avatars).
2018-11-13 13:15:11 -05:00
Matthew Chen
860eb44edc
Fix breakage in share extension.
2018-11-13 13:15:11 -05:00
Michael Kirk
7eaaab7be4
restrict self device id in message building, not in recipient data model
2018-11-13 10:38:08 -06:00
Michael Kirk
2c44cbccfd
avoid assertion when deliberately testing for failure
2018-11-11 11:28:59 -06:00
Matthew Chen
da4f41defc
Fix missing albumMessageId.
2018-11-09 17:49:08 -05:00
Michael Kirk
5da525ce2e
Merge remote-tracking branch 'origin/release/2.31.0'
2018-11-09 15:49:53 -06:00
Matthew Chen
29b4702311
Fix build break.
2018-11-09 14:10:15 -05:00
Michael Kirk
366b228c01
use UUID for TSInteractions.uniqueId
2018-11-09 14:02:23 -05:00
Matthew Chen
c9c9d35d19
Discard receipts for unregistered users.
2018-11-09 13:08:56 -05:00
Matthew Chen
cd224a1590
Render single media as albums.
2018-11-08 15:44:22 -05:00
Matthew Chen
654325c6dc
Add download progress indicators.
2018-11-08 15:35:14 -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
f6322cb087
Fix logging in request maker.
2018-11-07 16:18:03 -05:00
Matthew Chen
47022377c2
Respond to CR.
2018-11-07 16:09:52 -05:00
Matthew Chen
954f32b775
Never use UD for sync messages.
2018-11-07 15:24:11 -05:00
Matthew Chen
8ff8f17b21
Never use UD for sync messages.
2018-11-07 14:16:51 -05:00
Matthew Chen
3a46a344ac
Never use UD for sync messages.
2018-11-07 14:04:07 -05:00
Matthew Chen
2dfd4b2c0d
Rename to media album.
2018-11-07 12:24:53 -05:00
Matthew Chen
b7fd48ec40
Respond to CR.
2018-11-07 10:56:40 -05:00
Matthew Chen
9cdf8d06fd
Ignore typing indicators from self.
2018-11-07 10:56:19 -05:00
Matthew Chen
57de089118
Add support for album captions to models.
2018-11-07 10:54: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
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
Matthew Chen
1c7add2b8f
Respond to CR.
2018-11-05 09:16:17 -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
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
b90fee08bd
Merge remote-tracking branch 'origin/release/2.31.0'
2018-11-01 16:59:54 -04:00
Matthew Chen
eedc9f9a26
Sketch out "typing indicators" interaction and cell.
2018-11-01 16:44:47 -04:00
Matthew Chen
3eab5b82cc
Respond to CR.
2018-11-01 16:06:03 -04:00
Matthew Chen
3011175cef
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
3cc1988f20
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
97e234f785
Fix "413 on prekey fetch" errors.
2018-11-01 15:59:11 -04:00
Matthew Chen
1db5a157ce
Respond to CR.
2018-11-01 15:22:53 -04:00
Matthew Chen
a5ebe394d1
Include typing indicators in configuration sync messages; emit when that value changes.
2018-11-01 15:22:53 -04:00
Michael Kirk
85f85d9c3a
fix debug crash
2018-10-31 16:14:27 -06:00
Michael Kirk
fe15a260ef
Merge branch 'release/2.31.0'
2018-10-31 16:13:54 -06:00
Matthew Chen
3729398507
Request profile fetches on main thread.
2018-10-31 15:01:33 -04:00
Matthew Chen
a98c82645c
Start work on typing indicators.
...
* Update proto schema to reflect typing indicators.
* Sketch out OWSTypingIndicatorMessage.
* Add "online" to the service message params.
* Sketch out logic to send typing indicator messages.
* Sketch out OWSTypingIndicators class.
2018-10-31 12:11:29 -04:00
Matthew Chen
40aa78e001
Merge remote-tracking branch 'origin/release/2.31.0'
2018-10-31 11:42:41 -04:00
Matthew Chen
698e48f2d8
Respond to security review.
2018-10-30 16:18:23 -04:00
Matthew Chen
7d8b20d091
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
44f6774396
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
c28d131f97
Respond to CR.
2018-10-30 16:18:22 -04:00
Matthew Chen
e11d43d1f8
Respond to CR.
2018-10-30 16:18:22 -04:00
Matthew Chen
c5f4711595
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Matthew Chen
2541be1619
Apply refinements to UD logic.
2018-10-30 16:18:22 -04:00
Michael Kirk
1dea927a3f
Remove some usage of throwswrapped_ in udmanager since we don't need to
...
propogate the wrapped exception anyway.
2018-10-30 11:35:34 -06:00
Michael Kirk
3d9cd4f4ed
CR: comments and code clarity
2018-10-30 11:35:34 -06:00
Michael Kirk
3bef78335d
find -E . -type f -regex ".*\.(m|h|swift)" -exec sed -i "" -e "s/trywrapped_/throwswrapped_/g" {} \;
2018-10-30 11:35:34 -06:00