Commit Graph

341 Commits (cf87f7261c4ddeb1607579fdf8a3833e3aea9e55)

Author SHA1 Message Date
Michael Kirk a611625691 fixup lookup threading 7 years ago
Michael Kirk dedfea78da callback handlers for remote attestation 7 years ago
Matthew Chen 28f021ba55 Pull byte parser out into separate source file. 7 years ago
Matthew Chen 906d0b01a4 Fix build break. 7 years ago
Matthew Chen 304240f263 Fix concurrency in contacts updater. 7 years ago
Matthew Chen 9904443fcf Fix concurrency in contacts updater. 7 years ago
Matthew Chen 797bd9be38 Respond to CR. 7 years ago
Matthew Chen 81a940a27f Clean up ahead of CR. 7 years ago
Matthew Chen 7acf9b15e1 Finish signature verification. 7 years ago
Matthew Chen 7476ef123d Remote attestation. 7 years ago
Michael Kirk ab1190222b Fix overzealous failure when user has no Signal contacts
// FREEBIE
7 years ago
Matthew Chen 75c3b385b2 Respond to CR. 7 years ago
Matthew Chen f2fdb96931 Clean up ahead of PR. 7 years ago
Matthew Chen 460f7344ad Remote attestation. 7 years ago
Matthew Chen 6686ecb125 Remote attestation. 7 years ago
Matthew Chen d7bb2b7505 Remote attestation. 7 years ago
Matthew Chen f3ba6d4c27 Remote attestation. 7 years ago
Michael Kirk eb4c62593b Cancel quickly if dependent operation fails 7 years ago
Michael Kirk 90214ae578 make contact intersection queue serial 7 years ago
Michael Kirk 0db339b849 fixup double failure 7 years ago
Michael Kirk 9293eb96f7 code re-org 7 years ago
Michael Kirk 75248b5dc7 Stub out feedback operation
// FREEBIE
7 years ago
Michael Kirk b7288b2565 Move contact intersection into batched operation
// FREEBIE
7 years ago
Matthew Chen 39c7fd9f15 Respond to CR. 7 years ago
Matthew Chen 3aa28aee36 Respond to CR. 7 years ago
Matthew Chen 03e5d2973b Delta contact intersections. 7 years ago
Matthew Chen 899e96f70f Respond to CR. 7 years ago
Matthew Chen cc91cb3dbf Respond to CR. 7 years ago
Matthew Chen ace07ac62a Respond to CR. 7 years ago
Matthew Chen c830f880aa Streamline SignalRecipient. 7 years ago
Matthew Chen 77884913d8 Streamline SignalRecipient. 7 years ago
Matthew Chen b6489c6948 Streamline SignalRecipient. 7 years ago
Matthew Chen 05a4222b2d Streamline SignalRecipient. 7 years ago
Matthew Chen ef3933bfaa Streamline SignalRecipient. 7 years ago
Matthew Chen 10b21d10e4 Streamline SignalRecipient. 7 years ago
Matthew Chen 9618fc16c5 Streamline SignalRecipient. 7 years ago
Matthew Chen d14f764b50 Streamline SignalRecipient. 7 years ago
Michael Kirk 872c89fbff Update recipient devices on successful decrypt to avoid wasting a valid session
created by sender.

Make device set immutable.
7 years ago
Michael Kirk a66c88e3cf Fix getter for contact threads, remove sneaky read transaction for DM config. 7 years ago
Michael Kirk 92705490a0 No write transaction needed for syncing colors
// FREEBIE
7 years ago
Matthew Chen 03d393553a Tweak home view cells. 7 years ago
Michael Kirk 16df4f589e conversation colors
// FREEBIE
7 years ago
Matthew Chen ebcc435c9f Clean up ahead of PR. 7 years ago
Matthew Chen 87ea1dcae1 Clean up ahead of PR. 7 years ago
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 7 years ago
Matthew Chen 83f11ad79b Don't cache CNContact. 7 years ago
Matthew Chen 12295bd8c5 Don't cache CNContact. 7 years ago
Michael Kirk 0cf751d34f Newly added group members should have expire time
Send expire timer with group info updates and in group updates that add a user.
7 years ago
Michael Kirk 74b741e9de Update timer
// FREEBIE
7 years ago
Michael Kirk f57a5dbc77 Match searches for national number format
// FREEBIE
7 years ago
Matthew Chen 9a08afae28 Fix build warnings. 8 years ago
Matthew Chen caad6f796e Clean up ahead of PR. 8 years ago
Matthew Chen e2d9c1187a Fix "group avatar doesn't update after local change." 8 years ago
Michael Kirk af8ddf7bf0 Use raw text when localization fails
// FREEBIE
8 years ago
Matthew Chen 5c7b98e5c4 Improve handling of unregistered users. 8 years ago
Matthew Chen 8cdb75d52a Respond to CR. 8 years ago
Matthew Chen 8337c3bd68 Refine contact merging. 8 years ago
Michael Kirk a16040f19f Fix avatar sending in SAE
// FREEBIE
8 years ago
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
8 years ago
Michael Kirk bf37f41164 Move CNContact logic into our system contact adapter
// FREEBIE
8 years ago
Matthew Chen 44ceee5849 Add contact share actions to conversation view and improve phone number parsing. 8 years ago
Michael Kirk 98aa054496 Avoid spurious "Disabled Disappearing Messages"
`dictionaryDidChange` was always true for new records.

// FREEBIE
8 years ago
Michael Kirk a10ae1835e respond to code review
// FREEBIE
8 years ago
Michael Kirk 77fc5571fb Implement avatar sending
// FREEBIE
8 years ago
Michael Kirk 3fdf703a60 PhoneNumberUtil is no longer a singleton
// FREEBIE
8 years ago
Matthew Chen 4b6239f491 Fix build breakage. 8 years ago
Matthew Chen 043218fb91 Ensure thread safety in phone parsing logic. 8 years ago
Matthew Chen 0c745dd989 Add contact share approval view. 8 years ago
Matthew Chen 1fc401d200 Respond to CR. 8 years ago
Matthew Chen 1a1a043b27 Format phone numbers of contacts. 8 years ago
Matthew Chen bb96454070 More outgoing message fixes. 8 years ago
Michael Kirk 7a1d24a9ab Avatar updates when contact/profile/group photo changes
// FREEBIE
8 years ago
Matthew Chen fa9a4c808a Simplify usage of contacts framework. 8 years ago
Michael Kirk 1f63ce02a0 Increase cache, remove dead code, add debug logging
// FREEBIE
8 years ago
Michael Kirk 5f2b38c50b Introduce Thread view model
// FREEBIE
8 years ago
Michael Kirk 1fb1b5bbe2 WIP unjank home screen
verify `description` isn't used elsewhere (notifications? conversation
view?)

Probably want to remove overzealous asserts for now, but would be good
to work towards leaving them enabled.

// FREEBIE
8 years ago
Michael Kirk 754549adf1 Start timer for expiring message based on when read receipt was sent
// FREEBIE
8 years ago
Michael Kirk dfb2a034af Use explicit transactions.
- Start expiration within scope of existing transaction when we're
  already in a transaction

// FREEBIE
8 years ago
Michael Kirk e554884ab3 Use profile name in quoted messages, fix "multi account" label
// FREEBIE
8 years ago
Matthew Chen 4a4e9d1ce2 Bubble collapse. 8 years ago
Michael Kirk 394cc6637c Backport comments from translations
// FREEBIE
8 years ago
Matthew Chen bb596dba98 Add screen lock feature. 8 years ago
Matthew Chen 8d689ec090 Properly cleanup content. 8 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 8 years ago
Matthew Chen 004479a2ce Elaborate request factory. 8 years ago
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 8 years ago
Matthew Chen abfd333a17 Address Indic script crash. 8 years ago
Matthew Chen 4b62faf2f8 Aggressively nag iOS 8 users to upgrade iOS. 8 years ago
Michael Kirk a23f1b86ef nullability annotations for TSGroupModel
- add readonly where possible
- group members needn't be a mutable array

// FREEBIE
8 years ago
Matthew Chen 862172072c Respond to CR. 8 years ago
Matthew Chen bbd689bfd0 Add protocol context to protocol kit. 8 years ago
Matthew Chen 074046b98e Add protocol context to protocol kit. 8 years ago
Matthew Chen 218bb15ea7 Add protocol context to protocol kit. 8 years ago
Matthew Chen 799949e546 Refine sync messages. 8 years ago
Matthew Chen 43ed8d9a5d Send "disappearing messages" state for groups. 8 years ago
Matthew Chen 742d4cabc2 Send "disappearing messages" state for contacts. 8 years ago
Matthew Chen eb180ba5c4 Register all database views asynchronously. 8 years ago
Michael Kirk baa312f449 Timer button with duration label
// FREEBIE
8 years ago
Matthew Chen 245304116f Respond to CR. 8 years ago
Matthew Chen d52eba739d Clean up TSStorageManager usage. 8 years ago
Matthew Chen 85686d3144 Continue TSStorageManager refactor. 8 years ago
Matthew Chen 9a990b58e8 Respond to CR. 8 years ago
Matthew Chen 9815bca825 Clean up ahead of PR. 8 years ago
Matthew Chen a29c4ce5d6 Pull out OWSStorage base class for TSStorageManager. 8 years ago
Michael Kirk 157bf00410 Merge branch 'hotfix/2.19.3' 8 years ago
Michael Kirk e78edcde87 Only clear cache when user pulls-to-refresh
// FREEBIE
8 years ago
Michael Kirk f4e471e0db SignalAccount cache perf improvments
- only persist models that have changed
- remove duplicate contact SignalAccounts
- ensure serial execution of buildAccounts
- only buildSignalAccounts when intersection succeeds

// FREEBIE
8 years ago
Michael Kirk 16448e2a0b Merge tag '2.19.3.0' 8 years ago
Michael Kirk 64e90d29fd CR: extract method, more asserts and annotations
// FREEBIE
8 years ago
Michael Kirk 336c92ddab remove cached display name machinery, cleanup
// FREEBIE
8 years ago
Michael Kirk 7ea4b85a2a Persist signal accounts (and their embedded Contact)
// FREEBIE
8 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
8 years ago
Matthew Chen 9da165b846 Continue conversion of app setup. 8 years ago
Michael Kirk f96b7bc27c CNContact doesn't exist before iOS9
// FREEBIE
8 years ago
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Matthew Chen 9b4ac4073f Improve robustness around unknown country codes. 8 years ago
Matthew Chen 00feb14b10 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5eea0347b5 Rework the "update with..." methods to avoid re-saving deleted models. 8 years ago
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 8 years ago
Matthew Chen 8b65246619 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 8 years ago
Michael Kirk 68e755ade9 Merge branch 'release/2.18.0' 8 years ago
Michael Kirk 0cd56d4bcc On iOS11 doc picker requires system appearance.
Otherwise nav items are illegible.

// FREEBIE
8 years ago
Matthew Chen 227fd5280d Resize conversation view cells as necessary.
// FREEBIE
8 years ago
Matthew Chen 380ed0f82b Create & access groups more carefully.
// FREEBIE
8 years ago
Matthew Chen 6fce2c26b7 Process messages in a single transaction (wherever possible).
// FREEBIE
8 years ago
Matthew Chen 8a4d67a6e4 Respond to CR.
// FREEBIE
8 years ago
Michael Kirk 2eaaba9082 crashfix: on addObject, presumably it's nil.
I'm not sure how this is happening, but this will prevent the crash and
give us additional diagnostic data in the cases where it is happening.

// FREEBIE
8 years ago
Matthew Chen a825fad47b Start reworking the contact offers.
// FREEBIE
8 years ago
Michael Kirk 935b51aa19 Fixup tests
// FREEBIE
8 years ago
Michael Kirk 8a4712bf4c Only access localNumber on AccountManager and cache it
// FREEBIE
8 years ago
Matthew Chen 6f03c2d92f Don’t hide threads if they are a group thread, or if they have _ever_ had a message.
// FREEBIE
8 years ago
Matthew Chen e16d0e326b Avoid crash when deleting threads - and improve perf.
// FREEBIE
8 years ago
Matthew Chen f1807cd709 Add script to extract and gather analytics event names.
// FREEBIE
8 years ago
Matthew Chen f973af5a83 Streamline analytics properties.
// FREEBIE
8 years ago
Matthew Chen b17a7c5751 Review NSError usage.
// FREEBIE
8 years ago
Matthew Chen 9587aab37b Instrument network errors.
// FREEBIE
8 years ago
Matthew Chen c8b2e22a3b [SSK] Migrating changes from obsolete SSK repo.
// FREEBIE
8 years ago
Matthew Chen 64a99c63b3 [SSK] Migrating changes from obsolete SSK repo.
// FREEBIE
8 years ago
Matthew Chen 4f5b2993b0 [SSK] Migrating changes from obsolete SSK repo.
// FREEBIE
8 years ago
Michael Kirk ccb4a88742 Import SSK (and history) into Signal-iOS
git remote add ssk ../SignalServiceKit
git remote update
git merge -s ours --allow-unrelated-histories --no-commit ssk/master
git read-tree --prefix=SignalServiceKit -u ssk/master
git commit
8 years ago