Commit Graph

396 Commits (0270423a17c67c7c19854eb952b69ad942e4192c)

Author SHA1 Message Date
Matthew Chen 1a170ba484 Simplify debug notifications. 7 years ago
Matthew Chen 4a4882ebe5 Add debug notification. 7 years ago
Matthew Chen 940161e62f Don't process multiple local notifications. 7 years ago
Michael Kirk f782ea97df Use loading screen whenever launch is slow.
Previously we had to manually account for each version that had a DB
change.

// FREEBIE
7 years ago
Matthew Chen 3233554683 Show database upgrade warning while launching v2.25 or later. 7 years ago
Matthew Chen d7ae6fbbf4 Respond to CR. 7 years ago
Matthew Chen 7f23dfa258 Respond to CR. 7 years ago
Matthew Chen 2265ae08aa Don't start app version migrations until storage is ready. 7 years ago
Matthew Chen e252447cfe Clean up ahead of PR. 7 years ago
Matthew Chen af2539f473 Rework archived conversations mode of home view. 7 years ago
Matthew Chen eb51ea42e3 Merge remote-tracking branch 'origin/hotfix/2.23.4' 7 years ago
Matthew Chen 85cb78ddfe Add mainWindow property to app context. 7 years ago
Matthew Chen f7ea1678e7 Only resume lazy attachment restore in debug. 7 years ago
Matthew Chen 4602ad9014 Respond to CR. 7 years ago
Matthew Chen d0c691bb7f Lazy attachment restores. 7 years ago
Matthew Chen cf0e6fce09 Add screen lock feature. 7 years ago
Matthew Chen b62736d7d4 Add screen lock feature. 7 years ago
Michael Kirk 96e5a8f4b7 One time thumbnail generation
// FREEBIE
7 years ago
Matthew Chen c84bf81cf3 Export database for backup. 7 years ago
Matthew Chen b296cfb893 Sketch out incremental backup manager and settings view. 7 years ago
Michael Kirk 319e0d808f Merge tag '2.21.0.14' into release/2.22.0 7 years ago
Michael Kirk 3aebaefc31 A lighter touch for the fix-call connect.
Though it should be fine, reloading the callUIAdapter is a bit heavy
handed. And the current implementation is prone to being broken, since
we sometimes forget not to treat callUIAdapter as a singleton.

Longer term we can find a way to either: make callUIAdapter a true
singleton or possibly make callUIAdapter a private member of something
which *is* a true singleton.

Since we only *need* it to be reloaded the one time the migration runs
(or when a user changes settings which should be rare) it makes sense to
remove it from the happy path.

// FREEBIE
7 years ago
Michael Kirk bbdcd0c768 Call connection fixups
callUIAdapter is not a singleton (for better or for worse)

No one should hold a reference directly to it, but rather via the
CallService, which is a singleton

Wait a bit longer for initial call screen before terminating. Especially
first call can hit this limit.

When call *does* take too long to show, terminate properly to ensure
we're not left with a phantom call

// FREEBIE
7 years ago
Michael Kirk 2462ea0a3e Merge tag '2.21.0.10' into release/2.22.0 7 years ago
Michael Kirk c7871b28d4 Make sure any new call migration settings take effect on first launch
// FREEBIE
7 years ago
Michael Kirk 8dfc584c2c Try to keep-alive registration lock w/ bg fetch
If a user hasn't launched or received a message on Signal in a week,
they could inadvertently lose their registration lock.

// FREEBIE
7 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 7 years ago
Michael Kirk 1d3831eccd Registration Lock reminder view
Also fixed: Don't lose PIN across registrations

// FREEBIE
7 years ago
Matthew Chen 7b84afaaf1 Integrate with logs service. 7 years ago
Matthew Chen 4bbf0d9e3d Integrate with logs service. 7 years ago
Matthew Chen 06d16bdec5 Revert "Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1""
This reverts commit b1dd325ce8.
7 years ago
Matthew Chen 5235f97953 Use background task while migrating. 7 years ago
Matthew Chen a4855acf44 Don't clear legacy db password until conversion completes. 7 years ago
Matthew Chen d91507d897 Improve the robustness of the migration logic. 7 years ago
Matthew Chen 14122dab54 Fix the storage failure alert. 7 years ago
Matthew Chen 6935298f6f Improve handling of the not migrated case. 7 years ago
Michael Kirk 3d5f7e6bf3 Clean up logging
- tag all log lines for easier filtering
- use up-to-date database path

// FREEBIE
7 years ago
Matthew Chen 44cbf142a1 Respond to CR. 7 years ago
Matthew Chen 3e8b08e19b Defer handling app delegate hooks until app is ready. 7 years ago
Matthew Chen 9c8178653d Revisit TODOs in the SAE work. 7 years ago
Matthew Chen 7c199faf8f Respond to CR. 7 years ago
Matthew Chen 98843cd45c Let users submit debug logs if app launch fails. 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 4bfdef520a Respond to CR. 7 years ago
Matthew Chen a30170b3b2 Prefer "app is ready" flag to "storage is ready" flag. 7 years ago
Matthew Chen be1fde905c Don't mark app as ready until all version migrations are done. 7 years ago
Matthew Chen 963d0547ad Clean up ahead of PR. 7 years ago
Matthew Chen 8e427111ef Clean up ahead of PR. 7 years ago
Matthew Chen ebbe96a5d5 Clean up ahead of PR. 7 years ago
Matthew Chen f9f60bc14f Ensure app delegate hooks are ignored until app is ready. 7 years ago
Matthew Chen 6eddfae214 Improve post-migration testing tools. 7 years ago
Matthew Chen 02a972c9dc Improve logging in database conversion; disable orphan cleanup. 7 years ago
Matthew Chen 100adae245 Register all database views asynchronously. 7 years ago
Matthew Chen 5cf89a0f3d Register all database views asynchronously. 7 years ago
Matthew Chen 5d422e03d1 Add support for key specs. 7 years ago
Michael Kirk c6cc497eaf Don't migrate database until verifying keychain is accessible
// FREEBIE
7 years ago
Matthew Chen dc73342573 Convert databases if necessary. 7 years ago
Matthew Chen 59933ce1d6 Fix rebase breakage. 7 years ago
Matthew Chen 16f7317579 Complete backup restore/import. 7 years ago
Matthew Chen fe67cd924c Rework database view registration. 8 years ago
Matthew Chen 9258b0883e 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 f9ce34f553 Improve background task logic. 8 years ago
Matthew Chen bc7f4623cc Update YapDatabase. 8 years ago
Michael Kirk 3affb07a11 post-merge formatting fixup
// FREEBIE
8 years ago
Michael Kirk 16448e2a0b Merge tag '2.19.3.0' 8 years ago
Michael Kirk 42dc872c9a use dedicated read connection to pre-populate cache
// FREEBIE
8 years ago
Michael Kirk 7ea4b85a2a Persist signal accounts (and their embedded Contact)
// FREEBIE
8 years ago
Matthew Chen 911c4d380b Rework thread safety in profile manager. 8 years ago
Michael Kirk 3ecf0a7537 Cancelling dismisses share extension, remove "import with signal"
Usinig the new ShareViewDelegate to dismiss the share extension, might
have broken the "import with signal" functionality. But because we
want to remove it anyway, I've done that now, rather than fix it up.

// FREEBIE
8 years ago
Matthew Chen 7a1e47cd26 Add asserts around Swift singletons. 8 years ago
Matthew Chen 8312614cf7 Respond to CR. 8 years ago
Matthew Chen 99f0b9d3e8 Fix issues around statics. 8 years ago
Matthew Chen 848f055da1 Add SAE error views. 8 years ago
Matthew Chen 310cf1330d Continue conversion of app setup. 8 years ago
Matthew Chen 8d014f057e Respond to CR. 8 years ago
Matthew Chen f5353fc7d5 Clean up ahead of PR. 8 years ago
Matthew Chen 9da165b846 Continue conversion of app setup. 8 years ago
Matthew Chen 2eba371656 Clean up ahead of PR. 8 years ago
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 8 years ago
Matthew Chen c817aa51b3 Migrate environment to SignalMessaging. 8 years ago
Matthew Chen bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 8 years ago
Matthew Chen 66fae5bd54 Clean up ahead of PR. 8 years ago
Matthew Chen ffa69b3502 Add application context class. 8 years ago
Matthew Chen 8d4e9b4565 Respond to CR. 8 years ago
Matthew Chen 7429e1968c Clean up ahead of PR. 8 years ago
Matthew Chen edaf65223a Migrate to shared data NSUserDefaults. 8 years ago
Michael Kirk 2c4cf96515 Some proof of framework integration in the sample share extension
// FREEBIE
8 years ago
Michael Kirk de028404bb Shared framework between app and extension
// FREEBIE
8 years ago
Matthew Chen a6bfc0a60e Fix build warnings from XCode 9. 8 years ago
Matthew Chen 204902c111 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 03241128f6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 1ea413ad48 Be more defensive about handling local notifications.
// FREEBIE
8 years ago
Matthew Chen 5af6b6f213 Respond to CR.
// FREEBIE
8 years ago
Michael Kirk c5244e175e orphan cleanup shouldn't happen until DB is registered
// FREEBIE
8 years ago
Michael Kirk 6a65ee6def Pull to refresh on homeview fetches messages.
This is useful when you're using censorship circumvention and unable to
receive push notifications.

// FREEBIE
8 years ago
Michael Kirk 9a7e3cb9d8 Register for manual message fetching when unable to obtain push tokens
// FREEBIE
8 years ago