Michael Kirk
df01c7e63e
Update to latest YapDB (with Signal patches applied)
...
Applied branches:
- mkirk/invalidFinalIndices
- mkirk/upstream-unencrypted-headers
Also fixed up test suite.
6 years ago
Michael Kirk
b860dce7f9
Swift protos for Envelope
6 years ago
Matthew Chen
25a98554b7
Intern JSQMessagesViewController.
6 years ago
Matthew Chen
819c2b1ceb
Remove Twisted Oak.
6 years ago
Michael Kirk
77997639f5
Use CurrentAppContext instead of compiler flag to affect test behavior
6 years ago
Michael Kirk
d423d3487f
Disable swift optimizations for tests
...
Otherwise step-through debugging is untenable
// FREEBIE
6 years ago
Michael Kirk
6b43199ba1
Full text search pods changes
...
// FREEBIE
6 years ago
Michael Kirk
51747deeb7
update openssl
6 years ago
Matthew Chen
2ed80eb2dc
Update cocoapods.
6 years ago
Matthew Chen
0131b8de2d
Update cocoapods.
6 years ago
Matthew Chen
1395a6c37b
Respond to CR.
6 years ago
Michael Kirk
eae2fa27b3
Update pods
...
// FREEBIE
7 years ago
Michael Kirk
00e5e1b0d6
Fixup some tests
...
// FREEBIE
7 years ago
Matthew Chen
e12a1e984a
Work on two-factor auth settings UI.
7 years ago
Matthew Chen
710d164186
Update minimum iOS version to 9.0.
7 years ago
Matthew Chen
e411bd5ee5
Update cocoapods.
7 years ago
Matthew Chen
b64528e817
Respond to CR.
7 years ago
Matthew Chen
122ef91e57
Add protocol context to protocol kit.
7 years ago
Michael Kirk
6f959ff292
CR: be more conservative about deriving key spec, clear old passphrase
...
after deriving key spec.
// FREEBIE
7 years ago
Michael Kirk
426c9baa16
Key material changes
...
- For new installs, generate raw key-spec rather than derive it
- Adapt to separated concerns of the key derivation migration from the unencrypted header migration
- Reduce number of places where we delete/generate keying information
- Only store relevant keying material
// FREEBIE
7 years ago
Michael Kirk
938b9c85b8
Don't crash on clean install
...
Otherwise we'll error when retrieving non-existent password.
// FREEBIE
7 years ago
Matthew Chen
96b7dc5163
Update YapDatabase to reflect CR.
7 years ago
Matthew Chen
3c2b5e54d9
Add more logging to database conversion.
7 years ago
Matthew Chen
513ba5776b
Update OpenSSL build.
7 years ago
Matthew Chen
21a0106722
Update reference to YapDatabase.
7 years ago
Matthew Chen
d8f72dbec5
Clean up ahead of PR.
7 years ago
Matthew Chen
c5079ed3d7
Add support for key specs.
7 years ago
Matthew Chen
dc73342573
Convert databases if necessary.
7 years ago
Matthew Chen
63dc3391be
Update OpenSSL to new version, app extension compliant.
7 years ago
Matthew Chen
8769fb07cf
Write backup to encrypted zip.
7 years ago
Matthew Chen
c8351cef57
Update YapDatabase.
7 years ago
Michael Kirk
a58f1f385c
Share a photo from photos app
...
Shows the conversation picker, and sends the attachment to that
conversation.
There's still a lot TODO
-[ ] resolve JSQ dependency
-[ ] properly wait for app to load
-[ ] dismiss share extension after send is complete
-[ ] support non jpeg file types
-[ ] Fix device sleep manager
// FREEBIE
7 years ago
Michael Kirk
f781199e27
ignore warnings in AFNetworking
...
// FREEBIE
7 years ago
Michael Kirk
08c324f948
Fix compiler warnings around ambiguous macro redefinition.
...
LMK if there's a better way to do this, which doesn't involve requiring
modules.
// FREEBIE
7 years ago
Matthew Chen
e7b32899cb
Sketch out SAE load screen; make a number of infrastructure changes.
7 years ago
Michael Kirk
7ca314aa28
Use up-to-date framework friendly OpenSSL
...
// FREEBIE
7 years ago
Matthew Chen
8d4e9b4565
Respond to CR.
7 years ago
Michael Kirk
961727814b
Move pinning certificates into App
...
// FREEBIE
7 years ago
Michael Kirk
a11d83187b
WIP: Framework-friendly - compiles but crashes on launch
...
// FREEBIE
7 years ago
Michael Kirk
b56f0e0d25
Pod setup for SignalMessaging framework
...
// FREEBIE
7 years ago
Michael Kirk
e38535cbe1
update OpenSSL pod
...
// FREEBIE
7 years ago
Matthew Chen
e07a240ee5
Merge tag '2.18.0.9'
7 years ago
Michael Kirk
81cff837ae
Include root certs from pki.goog
...
// FREEBIE
7 years ago
Michael Kirk
a30533e7b5
Add GTSGIAG3 to censorship circumvention trust store
...
openssl x509 -outform der -in GIAG3.pem -out GIAG3.crt
// FREEBIE
7 years ago
Matthew Chen
569e6808a4
Update podfile.lock.
...
// FREEBIE
7 years ago
Matthew Chen
aec6d67df3
Respond to CR.
...
// FREEBIE
7 years ago
Matthew Chen
73ae5b298c
Suppress build warnings for Cocoapods dependencies.
...
// FREEBIE
7 years ago
Michael Kirk
2e196e21c6
update third party dependencies
...
// FREEBIE
7 years ago
Matthew Chen
e0194fd605
Allow multiple simultaneous GIF downloads.
...
// FREEBIE
7 years ago
Matthew Chen
2dfd7aa0e9
Actually send GIFs.
...
// FREEBIE
SQUASH ME.
SQUASH ME.
7 years ago
Matthew Chen
3b9726a4fa
Sketch out the GIF picker.
...
// FREEBIE
7 years ago
Michael Kirk
ecf8ca093f
[JSQMVC] iOS11 compatability
...
// FREEBIE
7 years ago
Matthew Chen
1be49e4858
Update JSQMessagesViewController pod.
...
// FREEBIE
7 years ago
Matthew Chen
7d32491968
Preserve scroll state across conversation view layout changes, if possible.
...
// FREEBIE
7 years ago
Matthew Chen
44f071bdfb
Respond to CR.
...
// FREEBIE
7 years ago
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
7 years ago
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
7 years ago
Matthew Chen
d4879a5f5b
Update JSQMessageView.
...
* Fix "scroll state flickers when presenting messages view" issue.
* Ignore spurious trait collection changes on view presentation.
* Remove redundant view layout in JSQ view.
// FREEBIE
7 years ago
Matthew Chen
14d472781f
Respond to CR.
...
// FREEBIE
7 years ago
Michael Kirk
0ab958f03a
cleanup per codereview
...
- reference OWS OpenSSL
- clarify comments
- fix typo
// FREEBIE
7 years ago
Michael Kirk
72fbb02028
aes-gcm via openssl
...
// FREEBIE
7 years ago
Michael Kirk
370ce5ba01
Merge branch 'hotfix/2.15.3'
7 years ago
Michael Kirk
93d2baa096
[JSQMVC] Fix scrolling crashes
...
- First occurs when the "Load More Messages" is shown, while scrolling and
receiving new messages
- Second occurs when scrolling while popping/dismissing the keyboard
(Not sure if receiving messages was a precondition for this crash)
// FREEBIE
7 years ago
Michael Kirk
71be024fd9
[SPK] more asserts/logging
...
// FREEBIE
7 years ago
Matthew Chen
465711c2cb
Add script to extract and gather analytics event names.
...
// FREEBIE
7 years ago
Michael Kirk
91ad2ec32b
Properly handle too-large messages
...
1. Take note of any large messages.
2. If they are way too large, we just drop them on the floor.
// FREEBIE
7 years ago
Matthew Chen
4ac7600c07
Respond to CR.
...
// FREEBIE
7 years ago
Michael Kirk
4d8429186d
Store undecrypted envelopes before doing any processing.
...
This lets us clear the server side queue immediately, and paves the way
for retry, give up logic.
// FREEBIE
7 years ago
Matthew Chen
2418baec15
Respond to CR.
...
// FREEBIE
7 years ago
Michael Kirk
a5f067936c
migration to fix any half-registered users
...
// FREEBIE
7 years ago
Matthew Chen
4059c34170
[SSK] Migrating changes from obsolete SSK repo.
...
// FREEBIE
7 years ago
Matthew Chen
4f5b2993b0
[SSK] Migrating changes from obsolete SSK repo.
...
// FREEBIE
7 years ago
Michael Kirk
e52248fe39
Localize JSQMessagesViewController within Signal
...
// FREEBIE
7 years ago
Michael Kirk
1b8efb5255
CI runs SSK tests
...
Clean up Makefile cruft
// FREEBIE
7 years ago
Michael Kirk
4b69126d1a
Use interned SSK
...
// FREEBIE
7 years ago
Matthew Chen
1600b1f440
[SSK] Avoid nil country names on iOS 8.
...
FREEBIE
7 years ago
Michael Kirk
878806aa52
[JSQMVC] Add Croatian translations
...
// FREEBIE
7 years ago
Matthew Chen
235a842137
[SSK] Use existing transaction in cleanup.
...
// FREEBIE.
7 years ago
Matthew Chen
8884cb5a2b
[SSK] Fix copy and paste of voice messages.
...
// FREEBIE
7 years ago
Matthew Chen
0357081cc7
[SSK] Run orphan cleanup on startup.
...
// FREEBIE
7 years ago
Michael Kirk
4b7924cc72
[SSK] update CI gems
...
// FREEBIE
7 years ago
Michael Kirk
d15da6e6d4
fix bubble calculator tests
...
// FREEBIE
7 years ago
Michael Kirk
3eb90ba383
Disable singleton assert for tests
...
introduce a new build configuration, used by tests, which disables
singleton asserts
// FREEBIE
7 years ago
Michael Kirk
cc31d88f29
[SSK] Fix persist view for upgrade scenario
...
// FREEBIE
7 years ago
Michael Kirk
f61980e376
[SSK] remove unhelpful logging
...
// FREEBIE
7 years ago
Michael Kirk
dbf0235974
[SSK] persist thread view
...
// FREEBIE
7 years ago
Matthew Chen
3e11c10c9c
[SSK] Don’t sync verification state until app has finished becoming active.
...
// FREEBIE
7 years ago
Matthew Chen
9e5447f1d4
Respond to CR.
...
// FREEBIE
7 years ago
Matthew Chen
944cd7beef
Show app update nag on launch if necessary.
...
// FREEBIE
7 years ago
Michael Kirk
8e891eb357
Merge branch 'hotfix/2.13.3.0'
...
// FREEBIE
7 years ago
Matthew Chen
e0ee4e42f1
[SSK] Modify TSStorageManager to use separate shared read and write connections.
...
// FREEBIE
7 years ago
Matthew Chen
dc1453264b
[SSK] Modify TSStorageManager to use separate shared read and write connections.
...
// FREEBIE
7 years ago
Matthew Chen
7135895c1c
Modify TSStorageManager to use separate shared read and write connections.
...
// FREEBIE
7 years ago
Michael Kirk
7b04823aaf
[SSK] FIX: verifiying unregistered user prints "no longer registered"
...
error on every launch
// FREEBIE
7 years ago
Michael Kirk
1f9f066fa9
print call record when declining a call
...
// FREEBIE
7 years ago
Michael Kirk
dbad3b4f8d
[SSK] MessagesManager observes for badge count
...
// FREEBIE
7 years ago
Michael Kirk
d0d4e67615
update badge count when app is in background
...
// FREEBIE
7 years ago
Michael Kirk
544dec1af8
[SSK] Fix typo in assert
...
// FREEBIE
7 years ago
Michael Kirk
46bf05182a
[SSK][SPK] fix upstream tests
...
No changes that should affect running client.
// FREEBIE
7 years ago
Michael Kirk
ab40bc7242
[SSK] sync key version
...
// FREEBIE
7 years ago
Matthew Chen
1eff5513b3
[SSK] Archive sessions upon identity change.
...
// FREEBIE
7 years ago
Michael Kirk
3e43eef534
[SSK][SPK] Archive all recipient's sessions on identity change.
...
// FREEBIE
7 years ago
Matthew Chen
ad17c444f7
[SSK] Add creation timestamp to attachment streams.
...
// FREEBIE
7 years ago
Michael Kirk
140625b2a0
[SSK] verification sync
...
// FREEBIE
7 years ago
Michael Kirk
a933fbf215
sync verifications with contact syncing
...
// FREEBIE
7 years ago
Matthew Chen
e6aacf0bca
[SSK] Reduce chattiness of logs; increase log file sizes.
...
// FREEBIE
7 years ago
Matthew Chen
eff1974eeb
[SSK] Reduce chattiness of logs; increase log file sizes.
...
// FREEBIE
7 years ago
Matthew Chen
12e083b4e0
[SSK] Fix OWSCFail() macro.
...
// FREEBIE
7 years ago
Matthew Chen
c7d9236526
[SSK] Ensure verification UI is updated to reflect incoming verification state sync messages.
...
// FREEBIE
7 years ago
Matthew Chen
6a1f766657
[SSK] Improve perf of attachment stream file path upgrade.
...
// FREEBIE
7 years ago
Michael Kirk
11fa08470d
[JSQ] Fix: can't dismiss keyboard after sending
...
// FREEBIE
7 years ago
Matthew Chen
eb17a7b189
[SSK] Refine observation of async registration completion.
...
// FREEBIE
7 years ago
Matthew Chen
5ae4b99f89
Refine observation of async registration completion.
...
// FREEBIE
7 years ago
Matthew Chen
8948a54e2f
Enable verification state sync.
...
// FREEBIE
7 years ago
Michael Kirk
62c096aa15
[SSK] append/remove key type as necessary to fix verification syncing
...
// FREEBIE
7 years ago
Michael Kirk
41065e692e
[SSK] fix crash while syncing verifications
...
// FREEBIE
7 years ago
Matthew Chen
b53ab8a85c
[SSK] Respond to post-holiday code reviews.
...
// FREEBIE
7 years ago
Matthew Chen
bd440f0878
Respond to post-holiday code reviews.
...
// FREEBIE
7 years ago
Matthew Chen
f4ae0dbbab
[SSK] Rework verification state sync per latest proto schema.
...
// FREEBIE
7 years ago
Matthew Chen
6444754cbb
[SSK] Cache the attachments folder in TSAttachmentStream. Add isFirstLaunch method to AppVersion. Add a “last app completed launch” version.
...
// FREEBIE
7 years ago
Matthew Chen
f098df9056
[SSK] Upgrade attachment streams on a serial queue.
...
// FREEBIE
7 years ago
Matthew Chen
42bf2106bd
[SSK] Avoid crashing on startup due to database view creation. Use transactions in the jobs.
...
// FREEBIE
7 years ago
Matthew Chen
c7426f9343
Avoid crashing on startup due to database view creation.
...
* Substitute unread view for unseen view until unseen view is ready.
* Register as many views as possible async.
* Perform blocking, safe migrations before async registration of views.
* Add debug settings view for internal app stats.
* Show blocking overlay until async registration of database views is complete.
* Convert version migrations to use AppVersions.
// FREEBIE
7 years ago
Matthew Chen
7c1d3fe23c
[SSK] Remove “block on safety number changes” setting in preferences.
...
FREEBIE
7 years ago
Matthew Chen
05e316381b
Remove “block on safety number changes” setting in preferences.
...
// FREEBIE
7 years ago
Matthew Chen
cf0319f025
[SSK] Reduce number of database views.
...
// FREEBIE
7 years ago
Matthew Chen
575d631123
Reduce number of database views.
...
// FREEBIE.
7 years ago
Matthew Chen
d1097c3610
[SSK] Remove an unnecessary database view.
...
// FREEBIE
7 years ago
Matthew Chen
35879046c3
Remove OpenSSL pod.
...
// FREEBIE
7 years ago
Matthew Chen
1057e40008
Fix OpenSSL cocoapod.
...
// FREEBIE
7 years ago
Matthew Chen
1818aea628
[SSK] Ensure message sends only succeed or fail once. Add “group creation failed” error message.
...
// FREEBIE
7 years ago
Matthew Chen
6f1f1fac80
Improve handling of group creation failures.
...
// FREEBIE
7 years ago
Matthew Chen
ab043cea5e
[SSK] Improve logging around incoming messages.
...
// FREEBIE
7 years ago
Matthew Chen
5ecf38117c
[SSK] Rework how messages are marked read.
...
* Filter messages shown in the home view.
* When we receive a read receipt, mark older messages in thread as read.
* When we receive a read receipt, start expiration of older messages in thread.
* When we receive a read receipt, hide notifications for older messages in thread.
7 years ago
Matthew Chen
027cd8cb34
Rework how messages are marked read.
...
// FREEBIE
7 years ago
Matthew Chen
3c7d47f565
[SSK] Remove legacy message sending.
...
// FREEBIE
7 years ago
Matthew Chen
df21e616d1
[SSK] Don’t update home view sort order in response to dynamic interactions or verification state changes. We only want to create change messages in response to user activity, on any of their devices.
...
// FREEBIE
7 years ago
Matthew Chen
cc5e810211
[SSK] Add a default description for verification state messages.
...
// FREEBIE
7 years ago
Michael Kirk
0a55b965b6
[SSK][SPK] Archive sessions when fetching profile
...
// FREEBIE
7 years ago
Michael Kirk
6715e76c99
Prefer archiving, to deleting old sessions for better handling of out of
...
order decryption.
// FREEBIE
7 years ago
Matthew Chen
bc63a72c25
Add verification state change messages.
...
// FREEBIE
7 years ago
Michael Kirk
64efa2b3c6
[SSK] remove redundant SN changes when sending to new identity
...
// FREEBIE
7 years ago
Michael Kirk
75bab75dc8
Show no redundant error when failing to send due to changed identity
...
The old "blocking" style SN alerts are deprecated. We maintain the
functionality to decrypt incoming messages from legacy SN alerts so that
users have time to recover their undecrypted messages.
// FREEBIE
7 years ago
Matthew Chen
a1d3e360df
[SSK] Sync verification state.
...
// FREEBIE
7 years ago
Michael Kirk
9ec6ec5e4e
[SSK] create missed call notification in threads
...
// FREEBIE
7 years ago
Michael Kirk
1a3204bf46
create interaction in thread when missing call due to changed identity
...
// FREEBIE
7 years ago
Michael Kirk
32d05bbe08
[SSK] avoid deadlock on unknown session
...
// FREEBIE
7 years ago
Michael Kirk
2692977168
[SSK] New identity manager
...
// FREEBIE
7 years ago
Matthew Chen
ceb210748e
Sketch out OWSIdentityManager.
...
// FREEBIE
7 years ago
Matthew Chen
e80a00a6b2
[SSK] Format fail messages.
...
// FREEBIE
7 years ago