Signal-iOS/Signal
Jordan Rose 1689aec8c6 Don't linkify a truncated URL until the user expands the message body
This is implemented by seeing if a data-detected item is at the very
end of a truncated string, in which case it isn't trusted to be
complete. This applies not only to URLs, but to other data-detected
items as well like emails and addresses. It's also specific to
truncated text since a user could very well type an ellipsis in their
actual message, and *that* shouldn't prevent linkification.

It's possible that an item at the very end of a truncated string *is*
complete (i.e. the truncation point was just *after* the URL), but we
can't be sure without comparing to the full text or storing additional
information, and that's trickier for a number of reasons. The user can
still expand the message and get the linkification in this case.
2022-05-06 10:56:45 -07:00
..
AudioFiles Don't use CallKit for video calls received while the app is active 2020-08-17 15:41:10 -07:00
Images.xcassets Show video duration in photo library picker. 2022-04-20 10:23:51 -07:00
Lottie Adjust megaphone priority and remove old megaphones 2022-01-24 10:42:34 -08:00
NSE-Images.xcassets Cache built avatars to disk for NSE 2022-02-14 11:59:13 -08:00
Settings.bundle Upgrade GRDB to version 5.23.0 2022-04-20 09:08:50 -05:00
Sounds Autoplay subsequent audio messages 2021-04-29 18:01:21 -07:00
src Don't linkify a truncated URL until the user expands the message body 2022-05-06 10:56:45 -07:00
test Don't linkify a truncated URL until the user expands the message body 2022-05-06 10:56:45 -07:00
translations Use plural-aware strings in SignalServiceKit 2022-05-06 10:09:03 -05:00
.swiftlint.yml
iTunesArtwork@3x.png
main.m Call UIApplicationMain() outside of autoreleasepool 2021-04-08 13:35:17 -07:00
Signal-AppStore.entitlements iOS 15 communication notification support for messages 2021-08-17 10:48:39 -10:00
Signal-Info.plist "Bump build to 5.38.0.5." (nightly-05-06-2022) 2022-05-06 04:01:05 -07:00
Signal-Prefix.pch Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
Signal.entitlements iOS 15 communication notification support for messages 2021-08-17 10:48:39 -10:00
SignalTSan.supp
SignalUBSan.supp