Commit Graph

466 Commits (2258e18d34c7d38b5cc3763c81c688f9ef8733f6)

Author SHA1 Message Date
Matthew Chen 0bcbb5918b Improve backup progress. 8 years ago
Matthew Chen 59fc232128 Backup export needs to verify that we have a valid account. 8 years ago
Matthew Chen 2915c533b2 Streamline database configuration and cleanup. 8 years ago
Matthew Chen 061ce8cb13 Add database validity check. 8 years ago
Matthew Chen 3c2aae3b9c Backup import clears database contents. 8 years ago
Matthew Chen fc4a66365e Sketch out backup export UI. 8 years ago
Matthew Chen 91bf0bdb9f Sketch out backup export UI. 8 years ago
Matthew Chen 669a3610ab Fix attachments. 8 years ago
Matthew Chen d2f2dd273a Fix edge cases in migrations. 8 years ago
Matthew Chen 86aae78f1b Include migrations in backup. 8 years ago
Matthew Chen 4746948dfe Respond to CR. 8 years ago
Matthew Chen eb263e265b Clean up ahead of PR. 8 years ago
Matthew Chen 68ba8976c5 Clean up ahead of PR. 8 years ago
Matthew Chen cc10dbf32f Clean up ahead of PR. 8 years ago
Matthew Chen b3ecc085d5 Clean up ahead of PR. 8 years ago
Matthew Chen 76b4deffe4 Respond to CR. 8 years ago
Matthew Chen 70d14c84c4 Clean up backup code. 8 years ago
Matthew Chen 08149005b1 Clean up backup code. 8 years ago
Matthew Chen 3f822e8ce3 Complete minimal backup MVP. 8 years ago
Matthew Chen f46ea0e87d Implement backup import logic. 8 years ago
Matthew Chen 30065493a3 Implement backup import logic. 8 years ago
Matthew Chen 5035cb040e Implement backup import logic. 8 years ago
Matthew Chen 04c527a0f4 Implement backup import logic. 8 years ago
Matthew Chen f53f1fb46a Add check for backup in cloud. 8 years ago
Matthew Chen 6cea2779d2 Stub out backup private key. 8 years ago
Matthew Chen 999321c067 Check for manifest in cloud. 8 years ago
Matthew Chen 90c8f5483b Clean up cloud after successful backup export. 8 years ago
Matthew Chen b1ca550345 Clean up ahead of PR. 8 years ago
Matthew Chen 202a35fddd Only backup every N hours. 8 years ago
Matthew Chen fefba6c63e Don't download files from cloud when testing for their existence. 8 years ago
Matthew Chen c2751665c3 Only backup attachments once. 8 years ago
Matthew Chen 20587ba377 Upload attachments to cloud; upsert files to cloud. 8 years ago
Matthew Chen 0971bad4b2 Upload database and manifest files to CloudKit. 8 years ago
Matthew Chen c84bf81cf3 Export database for backup. 8 years ago
Matthew Chen b603a8dcbe Upload test file to CloudKit. 8 years ago
Matthew Chen 593f7da72d Upload test file to CloudKit. 8 years ago
Matthew Chen d06ad25d77 Sketch out incremental backup manager and settings view. 8 years ago
Matthew Chen b296cfb893 Sketch out incremental backup manager and settings view. 8 years ago
Michael Kirk a1de99f1f1 Merge tag '2.21.0.9' 8 years ago
Michael Kirk 39b87b702b Fix debuglogs.org integration
// FREEBIE
8 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 8 years ago
Michael Kirk 1ff2f3f42e Merge tag '2.21.0.1' 8 years ago
Matthew Chen 4834a85fb5 Add share option for debug logs. 8 years ago
Matthew Chen 256a300297 Integrate with logs service. 8 years ago
Matthew Chen 7b84afaaf1 Integrate with logs service. 8 years ago
Matthew Chen 4bbf0d9e3d Integrate with logs service. 8 years ago
Matthew Chen 06d16bdec5 Revert "Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1""
This reverts commit b1dd325ce8.
8 years ago
Matthew Chen 59c745756a Clean up codebase. 8 years ago
Matthew Chen baf6fcc535 Add 2FA registration view. 8 years ago
Matthew Chen b1dd325ce8 Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1"
This reverts commit de5d17a396, reversing
changes made to d32e90c3d1.
8 years ago
Matthew Chen e4ee3e0007 Revert "Respond to CR."
This reverts commit 45201d45ed.
8 years ago
Matthew Chen 45201d45ed Respond to CR. 8 years ago
Michael Kirk 9dfbf6e6bc Fix crash presenting settings dialog off main thread
// FREEBIE
8 years ago
Matthew Chen 7e1ae33167 Refine changes to debug logs. 8 years ago
Matthew Chen 920c2b1d76 Rework log upload. 8 years ago
Michael Kirk abb51b565a Don't de-activate audio sesion when other audio activities are happening
// FREEBIE
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 6f28c75257 Fix glitch in batch processing of incoming messages. 8 years ago
Matthew Chen 0944c2661e Respond to CR. 8 years ago
Matthew Chen 48b6c3dafb Refine message date/time formatting. 8 years ago
Matthew Chen 98843cd45c Let users submit debug logs if app launch fails. 8 years ago
Michael Kirk a1d3073705 Cannot open settings from share extension
// FREEBIE
8 years ago
Matthew Chen b9bd21e73f Improve presentation of text attachments in attachment approval view. 8 years ago
Michael Kirk 3ca5ec2726 Ensure media-library permissions when accessing media library
// FREEBIE
8 years ago
Michael Kirk 5dde17d939 Show approval/caption view in app.
ApprovalView/Captioning is shown for:
- Images/Videos from Library
- Images/Video from Camera
- Document Picker
- GIFs

Voice notes are intentionally not captionable.

Also, in main app, hide status bar when ApprovalView is presented

// FREEBIE
8 years ago
Matthew Chen 0d5b5bc44c Respond to CR. 8 years ago
Matthew Chen 05b034e925 Clear out NSUserDefaults during backup restore. 8 years ago
Matthew Chen 67197ddf15 Rename any existing files and directories in restored directories. 8 years ago
Matthew Chen 2b528ad894 Don't use mainApplicationState in business logic. 8 years ago
Matthew Chen 59933ce1d6 Fix rebase breakage. 8 years ago
Matthew Chen 5ba8445f05 Fix rebase breakage. 8 years ago
Matthew Chen df53033caf Clean up ahead of PR. 8 years ago
Matthew Chen 0422e4252f Clean up ahead of PR. 8 years ago
Matthew Chen f6296f1fe2 Clean up ahead of PR. 8 years ago
Matthew Chen 16f7317579 Complete backup restore/import. 8 years ago
Matthew Chen 272a90d269 Add import back up UI. Begin work on import backup logic. 8 years ago
Matthew Chen 857ca56ab6 Rework progress mode of export backup UI. 8 years ago
Matthew Chen 980b3d25a7 Rework "export backup" UI. 8 years ago
Matthew Chen cb4b44b8f4 Lock databases during backup export. 8 years ago
Matthew Chen b77382f99c Fix security issues in the backup process. 8 years ago
Matthew Chen 2011dae8b6 Show share UI for backups. 8 years ago
Matthew Chen ea945558c8 Show share UI for backups. 8 years ago
Matthew Chen 2789c0f12c Write backup to encrypted zip. 8 years ago
Matthew Chen 8769fb07cf Write backup to encrypted zip. 8 years ago
Matthew Chen e77c3e6717 Retain changes from session database branch. 8 years ago
Matthew Chen 85686d3144 Continue TSStorageManager refactor. 8 years ago
Matthew Chen a29c4ce5d6 Pull out OWSStorage base class for TSStorageManager. 8 years ago
Matthew Chen 3643414da1 Respond to CR. 8 years ago
Matthew Chen 0c9d9ba679 Fix issues around cross process db changes. 8 years ago
Matthew Chen 0be63d2939 Add "send to last thread" option in debug logs. 8 years ago
Michael Kirk 64e90d29fd CR: extract method, more asserts and annotations
// FREEBIE
8 years ago
Michael Kirk 7ea4b85a2a Persist signal accounts (and their embedded Contact)
// FREEBIE
8 years ago
Michael Kirk d9cca77e23 update header references
// FREEBIE
8 years ago
Michael Kirk 0429836ff9 CR: rename keyWindow -> keyReferenceView, split long line
// FREEBIE
8 years ago
Michael Kirk eca19e5874 Reconcile MediaMessageView zoom behavior with AppExtension
Previously it was predicated on UIApplication.shared

// FREEBIE
8 years ago
Michael Kirk 89b9887f1d Make DeviceSleepManager extension compatible
// 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 94b5dfb1b5 Localize the debug log UI. 8 years ago
Matthew Chen a617724da7 Add "send to self" option to debug logs. 8 years ago
Matthew Chen 310cf1330d Continue conversion of app setup. 8 years ago
Matthew Chen 150f417a5e Clean up ahead of PR. 8 years ago
Matthew Chen 9da165b846 Continue conversion of app setup. 8 years ago
Matthew Chen ce899edf10 Respond to CR. 8 years ago
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 8 years ago
Matthew Chen a16058e477 Migrate environment to SignalMessaging. 8 years ago
Matthew Chen 6d87df88aa Migrate environment to SignalMessaging. 8 years ago
Matthew Chen c817aa51b3 Migrate environment to SignalMessaging. 8 years ago
Michael Kirk e3b0333b97 CR: Separate class files
// FREEBIE
8 years ago
Michael Kirk cd440b839f Consolidate search logic
// FREEBIE
8 years ago
Michael Kirk 71bafcc8f0 Search SignalAccounts by profile name
...and fixup some tests
8 years ago
Michael Kirk 2af818b3ba Make SignalMessaging AppExtension safe
// FREEBIE
8 years ago
Matthew Chen bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 8 years ago
Matthew Chen 8cc33b3de1 Refine loading view of share extension. 8 years ago
Matthew Chen e7b32899cb Sketch out SAE load screen; make a number of infrastructure changes. 8 years ago
Matthew Chen d17ccadea2 Use AppContext to resolve share extension FIXMEs. 8 years ago
Matthew Chen e712e8bfc4 Use AppContext to resolve share extension FIXMEs. 8 years ago
Matthew Chen 4c31d99498 Respond to CR. 8 years ago
Matthew Chen 66fae5bd54 Clean up ahead of PR. 8 years ago
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Matthew Chen 8acce3b5bd Simplify the unread indicator logic. 8 years ago
Matthew Chen 71f5ef5940 Improve handling of unread indicator edge cases. 8 years ago
Matthew Chen 2d241623b7 Improve handling of edge cases around unread indicator delimiting deleted message(s). 8 years ago
Matthew Chen 0ccddb696a Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
8 years ago
Matthew Chen 19ba564f80 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 8 years ago
Matthew Chen fc07c7c04f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 593c684fcb Don't ask for camera permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 5cc292fb6c Don't ask for camera permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 5e61307ce3 Don't ask for microphone permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen f86882b5ff Don't ask for camera permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 8 years ago
Matthew Chen f823ba8c14 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 05e57cf8bf Don't treat digits 0..9 as Jumbomoji.
// FREEBIE
8 years ago
Matthew Chen e3d8421b9e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 0a926567ed Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c6047b72b4 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 563eed6c6e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 530b70d706 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 841a2333e3 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen eb3ca43256 Jumbomoji.
// FREEBIE
8 years ago
Matthew Chen 8cb3e5d35d Fix edge cases around oversize test messages.
// FREEBIE
8 years ago
Matthew Chen 9cc4521d07 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 227fd5280d Resize conversation view cells as necessary.
// FREEBIE
8 years ago
Matthew Chen f7bd813c9f Restore the date headers to the conversation view cells.
// FREEBIE
8 years ago
Michael Kirk 3080cb512b Compose View: collation index and group search
- Include table index for contacts
- Fix extra spacing in OWS table view
- Separate search results into contact/invite sections
- Include groups in search results when composing new message
- Compose Screen search matches on group member names

// FREEBIE
8 years ago
Michael Kirk df15c904bc Rework push registration
== Account Registration ==

Not complete until push tokens are uploaded

== Remote Notifications Registration ==

Extracted from PushManager

- wait for notification-settings registration to complete before
  requesting push tokens, otherwise it's possible token requests will
  be ignored.

- Less state required for push notification callbacks, specifically, we
  no longer need to ensure we've created a promise before the
  registration delegate methods get called.

- no more TOCFuture in Signal-iOS (still in SSK for now). It's not in
  cases of inexplicable behavior - one a recently, push notification
  premature free, in redphone, and more popular use, and I've seen two
  futures inexplicably being nil.  Instead, let's consolidate around
  PromiseKit for popularly used, maintained, strongly-typed futures.

- separate logic for registering for vanilla push/voip notifications
  (few dependencies) from responding to UILocalNotifications (lots of
  dependencies). Ultimately I'd like to consolidate the remaining
  UILocalNotifications logic with the existing NotificationsManager

== Misc ==

more debug logging
more uniform logging
remove stale logic around newly registered user

// FREEBIE
8 years ago
Matthew Chen 10c00501fd Fix the "is contact" test.
// FREEBIE
8 years ago
Matthew Chen 50ec55c313 Fix the "is contact" test.
// FREEBIE
8 years ago
Matthew Chen 29c4059049 Rework message metadata view.
// FREEBIE
8 years ago