Michael Kirk
da58eb18ad
partial revert of previous pod update
...
// FREEBIE
8 years ago
Matthew Chen
67c3bca913
[SSK] Move filename property to TSAttachment.
...
// FREEBIE
8 years ago
Matthew Chen
96e155c75e
Rework appearance of voice messages and audio attachments.
...
// FREEBIE
8 years ago
Matthew Chen
c7777bcb13
[SSK] Show example phone numbers.
...
// FREEBIE
8 years ago
Matthew Chen
0adcd157da
[SSK] Don’t ignore “unnamed” phone numbers.
...
// FREEBIE
8 years ago
Matthew Chen
eb385f1e97
[SSK] Rework the “disappearing messages” logic.
...
// FREEBIE
8 years ago
Matthew Chen
8871331cfa
[SPK] Update license.
...
// FREEBIE
8 years ago
Matthew Chen
387f1018f5
[SSK] Auto-rejoin groups by emitting and responding to “request group info” messages.
...
// FREEBIE
8 years ago
Michael Kirk
e295f92943
[SSK] Safer SignedPreKey deletion policy
...
// FREEBIE
8 years ago
Matthew Chen
d535ce3155
[SSK] Flag voice messages as such in protos.
...
// FREEBIE
8 years ago
Matthew Chen
560122067c
[SSK] Prefer to deduce the MIME type from the file extension using lookup, not the UTI type.
...
[SSK] Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
8 years ago
Matthew Chen
0137e01aff
Try to deduce attachment MIME type from the file extension if possible.
...
// FREEBIE
8 years ago
Matthew Chen
bbf099894c
[SSK] Fix a hotspot in the phone number parsing logic.
...
// FREEBIE
8 years ago
Matthew Chen
057bb76e66
[SSK] Rework handling of phone number names.
...
// FREEBIE
8 years ago
Matthew Chen
0c4351a908
Use SignalAccount class to sync contacts.
...
// FREEBIE
8 years ago
Michael Kirk
835ab3dd93
[SSK] fix some compiler warnings
...
// FREEBIE
8 years ago
Michael Kirk
83a089f429
[SSK] better sender logs
...
// FREEBIE
8 years ago
Michael Kirk
b24cf29189
don't request contacts until necessary
...
Most commonly this will be after hitting the "compose" button
But also we'll do it in the SignalViewController once you've received a
message.
- get rid blocking contacts nag
- use Contacts framework simplifies logic
- remove dead AB code
// FREEBIE
8 years ago
Matthew Chen
931b6b4200
[SSK] Minor cleanup.
...
// FREEBIE
8 years ago
Matthew Chen
563ccf671e
[SSK] Temporary change to improve read receipt logging.
...
// FREEBIE
8 years ago
Matthew Chen
c2cdeb3bcd
Remove SCWaveformView.
...
// FREEBIE
8 years ago
Michael Kirk
4b6bfa4c4c
"home", "other" and "work" instead of "Unknown" phone label
...
// FREEBIE
8 years ago
Matthew Chen
cb293f286a
[SSK] Add SignalAccount class, Extract labels for phone numbers.
...
// FREEBIE
8 years ago
Matthew Chen
42768294ee
Extract labels for phone numbers.
...
// FREEBIE
8 years ago
Michael Kirk
e1162fa641
[SSK] Better debugging information
...
- explicitly log type of received message vs. just "encrypted message"
for better call debugging
- debug tool to print signed prekey report
// FREEBIE
8 years ago
Matthew Chen
788ec4ce01
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
8bf4cb83a5
[SSK] Improve handling of whitespace in contacts.
...
// FREEBIE
8 years ago
Matthew Chen
d248f6117f
[SSK] Ignore oversize messages.
...
// FREEBIE
8 years ago
Michael Kirk
b3fc16b0ba
[SSK] handle synced reset-session messages
...
// FREEBIE
8 years ago
Michael Kirk
5bbcc23da5
[SSK] Do not retry fatal message send errors.
...
e.g. don't retry group sends when someone had a SN change
// FREEBIE
8 years ago
Michael Kirk
d9e3e87735
New downloading progress view ( #2006 )
...
Replace previous "scary" warning-style attachment notifications with
something less alarming.
Includes file name and file type emoji when discernable.
// FREEBIE
8 years ago
Matthew Chen
67e94e2b55
[SSK] Do not try to resend unsaved outgoing messages when accepting a safety number change.
...
// FREEBIE
8 years ago
Matthew Chen
3c8635c352
[SSK] Add muting of threads.
...
// FREEBIE
8 years ago
Matthew Chen
ea848f31e6
[SSK] Fix outgoing message status for messages sent from linked devices.
...
// FREEBIE
8 years ago
Matthew Chen
dd807f676c
[SSK] Rework outgoing message state & refine error handling for outgoing group messages.
...
// FREEBIE
8 years ago
Matthew Chen
f41762c316
[SSK] Avoid lost messages.
...
// FREEBIE
8 years ago
Matthew Chen
f9b51c01f4
[SSK] De-bounce the prekey checks.
...
// FREEBIE
8 years ago
Michael Kirk
0743722782
[SSK] ensure accepted SPKs are marked
...
// FREEBIE
8 years ago
Matthew Chen
9c6f76253a
[SSK] Honor attachment filenames.
...
// FREEBIE
8 years ago
Matthew Chen
dc3a382c23
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
f38f3d8887
[SSK] Update SignalAttachment to allow arbitrary attachments.
...
// FREEBIE
8 years ago
Matthew Chen
33593921f6
[SSK] Rework socket manager.
...
// FREEBIE
8 years ago
Michael Kirk
1d9de09429
[SSK] Make sure we can return multiple recipients matches
...
// FREEBIE
8 years ago
Michael Kirk
5d604a796c
[JSQMVC] Fixes "floating" edit menu for narrow media items
...
previously, edit menu was only positioned correctly for text bubbles,
and centered for media bubbles.
It wasn't that noticable for images/videos since those usually extended
to the middle of the conversation view, but with narrower media bubbles
(like arbitrary attachments) this became a bigger problem.
// FREEBIE
8 years ago
Matthew Chen
1d2e5d218d
[SSK] Create block offer when non-contacts send you a message.
...
// FREEBIE
8 years ago
Matthew Chen
8490be6ed9
[SSK] Remove the properties related to Redphone and WebRTC support.
...
// FREEBIE
8 years ago
Matthew Chen
2fd8a13a3c
[SSK] Improve attachment upload progress indicator.
...
// FREEBIE
8 years ago
Michael Kirk
2af89c9a2e
[SSK][SPK] only assert dispatch in DEBUG
...
// FREEBIE
8 years ago
Michael Kirk
87845525b6
[SSK] serialize all read/write to sessionStore
...
Attempt to avoid session corruption happening due to an inconsistent
view of the session store by ensuring all access to the session store
happens on a serialized queue
// FREEBIE
8 years ago
Michael Kirk
398ee22f50
[SSK] rename cipher queue to sessionStoreQueue
...
// FREEBIE
8 years ago
Michael Kirk
a951d11d97
[SSK] move iOSVersion to SSK
...
// FREEBIE
8 years ago
Michael Kirk
4494a95a62
Block list is two words. Update code/comments/constants
...
// FREEBIE
8 years ago
Michael Kirk
f46080519e
[SSK] Don't retry terminal sending failures
...
* Causing prekey request rate-limit when sending to someone who's
reregistered.
* Unnecessarily printing "unregistered user" multiple times.
* etc.
// FREEBIE
8 years ago
Matthew Chen
3537518268
[SSK] Don’t block outgoing group messages.
...
// FREEBIE
8 years ago
Matthew Chen
f604cfb553
Apply assert to ensure singletons are only created once & filter incoming messages using the blacklist.
...
// FREEBIE
8 years ago
Matthew Chen
5ff454fd90
Fix double creation of NotificationsManager singleton.
...
// FREEBIE
8 years ago
Matthew Chen
d00c892158
Apply assert to ensure singletons are only created once.
...
// FREEBIE
8 years ago
Michael Kirk
7153994929
[SSK] [SPK] Update SignalProtocolKit and SignalServiceKit
...
// FREEBIE
8 years ago
Michael Kirk
7f239c8040
[SSK] + Enforce singleton access for MessagesManager and MessageSender
...
// FREEBIE
8 years ago
Michael Kirk
4c0242ee17
[spk] Update SignalProtocolKit
...
// FREEBIE
8 years ago
Matthew Chen
5138539d99
[SSK] Fix sharing of oversize text messages.
...
// FREEBIE
8 years ago
Matthew Chen
306895ea6d
[SSK] Improve support for arbitrary attachments.
...
// FREEBIE
8 years ago
Matthew Chen
630fcedff0
[SSK] Accept arbitrary incoming attachments.
...
// FREEBIE
8 years ago
Matthew Chen
32d856ff2d
[SSK] Improve handling of incomplete and failed attachment downloads.
...
// FREEBIE
8 years ago
Matthew Chen
5250d327e4
[SSK] Remove RedPhone code.
...
// FREEBIE
8 years ago
Matthew Chen
faf75e25c2
[SSK] Remove RedPhone code.
...
// FREEBIE
8 years ago
Matthew Chen
74f939b520
Remove RedPhone code.
...
// FREEBIE
8 years ago
Matthew Chen
9db33a9651
Remove RedPhone code.
...
// FREEBIE
8 years ago
Matthew Chen
00a29dea4d
[SSK] Filter out country codes properly.
...
// FREEBIE
8 years ago
Michael Kirk
ea62e21611
[SSK] fix attachment crash on iOS9
...
// FREEBIE
8 years ago
Michael Kirk
f29ca7851f
Move PureLayout back to cocoapods for now
...
This introduced some unexpected crashes related to frameworks in Swift.
// FREEBIE
8 years ago
Michael Kirk
0d52a18458
Update dependencies
...
Also moved PureLayout to Carthage for faster incremental builds
// FREEBIE
8 years ago
Matthew Chen
eb8d4388c6
[SSK] Avoid YapDatabase deadlock in OWSMessageSender.
...
// FREEBIE
8 years ago
Michael Kirk
6466e9f41f
[SSK] Better logging for envelopes
...
Leave last 3 digits of recipientId when scrubbing logs.
This is in line with other Signal clients, and makes it possible to
trace interactions.
// FREEBIE
8 years ago
Matthew Chen
fe18cb9a39
[SSK] Use a separate sending queue for each conversation & Fix “send to self operations never complete” issue.
...
// FREEBIE
8 years ago
Michael Kirk
34831ea105
[SPK][SSK] Ensure old sessions removed when identity changes
...
// FREEBIE
8 years ago
Matthew Chen
949a7cd9a2
[SSK] Further refinements to phone number parsing.
...
// FREEBIE
8 years ago
Matthew Chen
95de36d671
[SSK] Improve logging around decryption exceptions.
...
// FREEBIE
8 years ago
Matthew Chen
50ad6e4f62
[SSK] Update SSK pod to reflect websocket lifecycle edge cases.
...
// FREEBIE
8 years ago
Matthew Chen
5797cb1093
[SSK] Update SSK to reflect cancel oversize attachment downloads.
8 years ago
Michael Kirk
49da1aea1e
[SSK] Only send messages on main thread
...
// FREEBIE
8 years ago
Michael Kirk
da32570dc6
[SSK] remove convoluted dependency
...
Moved query method to PhoneNumberUtil since that's they only caller.
Moved corresponding tests to SSK
// FREEBIE
8 years ago
Michael Kirk
8ed10c3a9b
[SSK] Don't suspend app until message sending completes.
...
// FREEBIE
8 years ago
Michael Kirk
55063fec63
[SSK] Serialize message sending
...
Most notable on shoddy networks, Signal-iOS will now make sure that
messages sent first can be delivered first.
This *does* entail that we have to wait for attachments to upload and
send before subsequent messages can be sent. Some people don't like
this, but the majority UX is improved.
// FREEBIE
8 years ago
Michael Kirk
0ecbbfaefe
[SSK] backwards compatible attachment digests
...
// FREEBIE
8 years ago
Michael Kirk
8adba61b37
intern Pastelog back into Signal.
...
Not worth the cocaopods/framework/project mgmt machinery for making
changes to 1 class.
// FREEBIE
8 years ago
Matthew Chen
0993860376
[SSK] Update SSK pod to reflect corresponding changes.
...
// FREEBIE
8 years ago
Michael Kirk
99c982fbb2
change ZXing to framework for faster incremental compiles in xcode
...
// FREEBIE
8 years ago
Matthew Chen
c68bfac71d
[SSK] Update SSK pod to fix build break.
...
// FREEBIE
8 years ago
Matthew Chen
bdc729ad29
Respond to CR.
...
// FREEBIE
8 years ago
Michael Kirk
d8c4558c80
[SSK] Attachment digests
...
// FREEBIE
8 years ago
Michael Kirk
8f7e0a8a5b
[SSK] Fix crash-on-launch for older installs
...
populating the de-duping index assumes authorId is always set for
incoming messages, but this was not always the case.
// FREEBIE
8 years ago
Matthew Chen
e96692d702
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
c35c118dcd
Respond to CR.
...
// FREEBIE
8 years ago
Michael Kirk
8104ffa129
[SSK] Dedupe incoming messages by timestamp/device
...
// FREEBIE
8 years ago
Michael Kirk
be9725c7ce
[SSK] lost changes needed to fixup 'charlesmchen/webrtcByDefault'
...
Previous commit referenced no-longer existent SHA
// FREEBIE
8 years ago
Matthew Chen
f4453eb995
Enable WebRTC-based audio and video calls by default.
...
// FREEBIE
8 years ago
Matthew Chen
92509169a6
[SSK] Update SSK pod to reflect release/2.7.1.
...
// FREEBIE
8 years ago
Matthew Chen
701b264188
[libPhoneNumber-iOS] update pod.
...
// FREEBIE
8 years ago
Matthew Chen
82c4ca04c7
[SPK] Release 2.7.1 and prekey cleanup.
...
// FREEBIE
8 years ago
Matthew Chen
e27475f8a8
[SSK] Add “received at” timestamp to all TSMessages so that they may be sorted properly.
...
// FREEBIE
8 years ago
Matthew Chen
e4c3fe378d
Update Cocoapods and Carthage submodule.
...
// FREEBIE
8 years ago
Matthew Chen
3c3f782e7d
Clean up prekey usage.
...
// FREEBIE
8 years ago
Matthew Chen
c0f52d1de9
[SSK] Mark "attempting out" messages as "unsent" on app launch
...
// FREEBIE
8 years ago
Matthew Chen
21e55d3be5
Mark "attempting out" messages as "unsent" on app launch.
...
// FREEBIE
8 years ago
Matthew Chen
fcf1d7af97
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
2b64d94bad
Update SignalServiceKit pod.
...
// FREEBIE
8 years ago
Matthew Chen
97001018ae
Clean up prekey logic.
...
// FREEBIE
8 years ago
Michael Kirk
2675a724ce
[SSK] avoid intermittent YAP deadlock when receiving message
...
// FREEBIE
8 years ago
Matthew Chen
e798964308
Update SignalServiceKit pod.
...
// FREEBIE
8 years ago
Matthew Chen
06a775b41a
Improve the call status messages in conversation view.
...
// FREEBIE
8 years ago
Matthew Chen
8e2ac368a0
Update SignalServiceKit pod.
...
// FREEBIE
8 years ago
Michael Kirk
420d717580
[SSK] log when messages are marked as read locally
...
// FREEBIE
8 years ago
Michael Kirk
c621e3a000
[SSK] Missed calls increment unread counter
...
Avoid deadlock by moving unrelated DB work out of transaction
// FREEBIE
8 years ago
Matthew Chen
72ef6e6007
Update SSK to reflect charlesmchen/messagesFromMeAreAlreadyAutoRead.
...
// FREEBIE
8 years ago
Michael Kirk
947d345837
SSK update to include latest master (which now includes CallKit)
...
// FREEBIE
8 years ago
Michael Kirk
7361418274
Merge remote-tracking branch 'origin/master' into feature/webrtc
8 years ago
Michael Kirk
7e825648ef
Show alert when trying to call a non-signal contact from Contacts.
...
// FREEBIE
8 years ago
Matthew Chen
49bb3d942d
Clean up ahead of PR.
...
// FREEBIE
8 years ago
Matthew Chen
d294557bdd
Rework concurrency in the signaling logic.
...
// FREEBIE
8 years ago
Michael Kirk
feb5a9ed3a
[SSK] fix crash when messaging newly unregistered
...
// FREEBIE
8 years ago
Michael Kirk
fff061ff3f
Make sure WebRTC preferences are synced *every* call
...
This slows the UI, but only for people who have locally opted into
WebRTC calls, and the alternative is that users are likely to have stale
settings the first time a pair of people opt-in.
// FREEBIE
8 years ago
Michael Kirk
ff7ae4f81b
[SSK] Disable resetting unreadable storage ( #1643 )
...
// FREEBIE
8 years ago
Michael Kirk
d3e6747499
Merge remote-tracking branch 'origin/master' into feature/webrtc
8 years ago
Michael Kirk
4e72ab92c8
Prevent session corruption by using a single serial queue for encrypt and decrypt
...
coordinate SignalProtocol encryption/decryption on a single serial
queue. Previously message sending encrypted on the sending thread, while
message receiving decrypted on the main thread.
// FREEBIE
8 years ago
Michael Kirk
a6029f2545
Merge remote-tracking branch 'origin/master' into feature/webrtc
8 years ago
Michael Kirk
c2fae986f2
[SSK] better logging when we fail to get DB keys
...
// FREEBIE
8 years ago
Michael Kirk
9516ab1106
Bail on startup if DB password is inaccessible
...
Most likely this would be because the user hasn't unlocked their device
since last restart.
This behavior existed once before, but the startup ordering is pretty
delicate. So, we're now redundantly checking in SSK in case this
delicate startup logic gets mis-ordered again.
Also fixed the AppDelegate method to check for the proper
applicationState, since it will never be "active" in didFinishLaunching.
fixes https://github.com/WhisperSystems/Signal-iOS/issues/1627
// FREEBIE
8 years ago
Michael Kirk
0e7083ed4e
[SSK] remove Cuba from domain fronting
...
Current implementation is blocked in Cuba, plus there are reports of
Signal working w/o domain fronting anyway.
// FREEBIE
8 years ago
Matthew Chen
1898b9fa19
Merge branch 'charlesmchen/fixWebsocket' into feature/webrtc
8 years ago
Matthew Chen
ec16016386
Update to reflect merged SSK branch.
8 years ago
Matthew Chen
a023d02ae2
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
9c4eda54f1
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
cb3f564446
Fix web socket issue.
...
// FREEBIE
8 years ago
Matthew Chen
773080b11b
Update SSK pod to reflect merge of corresponding charlesmchen/webrtcSetting2 branch into mkirk/webrtc.
...
This branch updates SignalRecipient in ContactsUpdater.
// FREEBIE
8 years ago
Matthew Chen
654bdb1a85
Add WebRTC setting.
...
// FREEBIE
8 years ago
Matthew Chen
4a65a88512
Rework new call view.
...
// FREEBIE
8 years ago
Matthew Chen
26a6e391b3
Fix pod.
...
// FREEBIE
8 years ago
Michael Kirk
a17873291b
Fix up tests
...
// FREEBIE
8 years ago
Michael Kirk
647b2b37e9
WIP: WebRTC calling
...
* Ensure NotificationsManager has dependencies
Otherwise it's easy to mess up the order of the required dependencies.
* move AccountManager into Environment, it's heavy to construct
// FREEBIE
8 years ago
Matthew Chen
ee63e9116c
Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85 .
...
// FREEBIE
8 years ago
Matthew Chen
6106326b34
Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85 .
...
// FREEBIE
8 years ago
Matthew Chen
a70d5f88ba
Fix build break related to SignalServiceKit pod.
...
// FREEBIE
8 years ago
Matthew Chen
2ce4d39f9e
Respond to CR.
...
// FREEBIE
8 years ago
Matthew Chen
2dac6c888a
Update SignalServiceKit pod.
...
* Fetch messages when app becomes active.
8 years ago
Michael Kirk
ddba843d44
Censorship circumvention in Egypt and UAE
...
* domain fronting
* non-websocket message fetching
// FREEBIE
8 years ago
Michael Kirk
c4baf5a625
[SSK] Avoid bricking signal if a key is temporarily unreadable
...
// FREEBIE
8 years ago
Michael Kirk
c3a22d7da6
[SSK] Fix contact sync when no thread to self exists
...
fixes #1497
// FREEBIE
8 years ago
Michael Kirk
32a05dabce
[SPK] Update SignalProtocolKit (AxolotlKit) ( #1549 )
...
// FREEBIE
8 years ago
Michael Kirk
e2d725a041
[SSK] Ignore messages with unknown Content
...
Most like it would indicate a new feature that this old client doesn't
understand. Otherwise we'd print an empty bubble.
// FREEBIE
8 years ago