Commit Graph

3548 Commits (cfbbeca7acc0b70edb6d0657c1c956b53c559190)

Author SHA1 Message Date
Michael Kirk dd33254d7b "Bump build to 2.23.0.2." 7 years ago
Michael Kirk 7adc296fb6 sync translations
// FREEBIE
7 years ago
Michael Kirk b5503cc00a Handle empty media gallery
// FREEBIE
7 years ago
Michael Kirk f261fbcf05 Dynamic gallery label
// FREEBIE
7 years ago
Michael Kirk 6939b1749b remove gradient per myles
// FREEBIE
7 years ago
Michael Kirk 7754d3d94f Real assets
// FREEBIE
7 years ago
Michael Kirk 021c0db559 WIP: waiting on assets
// FREEBIE
7 years ago
Matthew Chen 34d79265a1 Respond to CR. 7 years ago
Matthew Chen 08ba7c85ed Clean up ahead of PR. 7 years ago
Matthew Chen 18d39f15f2 Clean up ahead of PR. 7 years ago
Matthew Chen 2c680cadad Clean up ahead of PR. 7 years ago
Matthew Chen 2ebd8668b4 Fix bugs in new db representation, add batch record deletion, improve memory management. 7 years ago
Matthew Chen fed524ba16 Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen 0c81d5656f Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen ca7c75a081 Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen 1bbd41f725 Improve perf of database snapshots. 7 years ago
Michael Kirk 84ed75f60b Fix typo
// FREEBIE
7 years ago
Michael Kirk d9a2effff6 CR: remove "k" from non constant
// FREEBIE
7 years ago
Michael Kirk 352f5c1059 Prefer back button over dismiss
In some context this makes more sense, and it will never be confusing.

// FREEBIE
7 years ago
Michael Kirk 00b5316976 Don't show the "All Media" button when viewing the slider from the
gallery via settings.

In this context it makes more sense for the user to hit the "dismiss"
button to get "back" to "All Media"

// FREEBIE
7 years ago
Matthew Chen 40416bcdcb Reduce Giphy page size. 7 years ago
Michael Kirk 47afa9917c "Bump build to 2.23.0.1." 7 years ago
Michael Kirk 2095cbb0c6 Update footer when returning to details via Tile view
// FREEBIE
7 years ago
Michael Kirk 428802aee8 Only try to stop video when it *is* a video
// FREEBIE
7 years ago
Michael Kirk 24eb4bf443 Stop any video whenever leaving PageView
// FREEBIE
7 years ago
Michael Kirk 10ee054d0c Avoid flicker when loading more on top
Adjusting content offset in the CollectionViewLayout.prepareLayout
method avoids a flicker vs. the previous way we were doing it.

// FREEBIE
7 years ago
Michael Kirk 19988a872a Improve scroll-jank on Gallery Tile View
- Don't fetch data unnecessarily
- Use CATransaction to avoid insertion animations. They are off screen
  anyway.

// FREEBIE
7 years ago
Michael Kirk 4c2d30a776 Memory warning clears MediaPageView cache
Doing so required MediaDetailView to retain GalleryItem, but because
GalleryItem is a swift struct, I had to envoke the Box dance.

// FREEBIE
7 years ago
Michael Kirk b6e0cb3f38 Update localizations
// FREEBIE
7 years ago
Michael Kirk bac2f47a06 "Bump build to 2.23.0.0." 7 years ago
Michael Kirk 13d6d72a6f per myles, use lighter blur
// FREEBIE
7 years ago
Michael Kirk 770ce1440e ConversationSettings must retain the gallery view
// FREEBIE
7 years ago
Michael Kirk f4e68e0dfb l10n
// FREEBIE
7 years ago
Michael Kirk fb4182c41f Ensure gallery is GC'd
// FREEBIE
7 years ago
Michael Kirk 96e5a8f4b7 One time thumbnail generation
// FREEBIE
7 years ago
Michael Kirk a0bd2c2324 OrphanDataCleaner shouldn't delete active thumbnails
// FREEBIE
7 years ago
Michael Kirk ae8dbeb8dd Access Media Gallery from conversation settings
// FREEBIE
7 years ago
Michael Kirk f733c07d07 comment cleanup
// FREEBIE
7 years ago
Michael Kirk 4aeff7ba67 Thumbnail generation
// FREEBIE
7 years ago
Michael Kirk dfd628250d Gallery performance
- [x] share uiDatabaseConnection to share cache
- [x] increase cache size
- [x] load less initially
- [x] lazy loading
  - [x] slider view
  - [x] tile view

// FREEBIE
7 years ago
Michael Kirk 985af76d0b WIP: All Media view
TODO

- [ ] label video/gif
- [ ] reasonable load perf
- [ ] reasonable scroll perf
- [ ] select / delete
- [ ] cancel share action from media details returns signal style

NICE TO HAVE

- [ ] fancy in/out animation from All Media <-> tiles
- [ ] label video thumbnail with duration stamp
- [ ] Other perf?
- [ ] dbModified?
- [ ] select / send
- [ ] darken section header a shade once it's "active"

DONE

- [x] tap to refocus on new media
- [x] generate test data
- [x] section headers
- [x] equal spacing around cells

// FREEBIE

WIP WIP extract datasouce to GalleryViewController

- [x] swipe through is broken
- [x] present animation
- [x] dismiss animation

// FREEBIE
7 years ago
Michael Kirk e5b1c0c9b4 Fake media send
// FREEBIE
7 years ago
Matthew Chen 24cc95585f Respond to CR. 7 years ago
Matthew Chen 62da17a0cc Clean up ahead of PR. 7 years ago
Matthew Chen 54eecd5b1d Protect backup directories. 7 years ago
Matthew Chen b0d56dcd55 Clean up ahead of PR. 7 years ago
Matthew Chen cf13a780e9 Retry backup failures. 7 years ago
Matthew Chen 05db8e3f7f Retry backup failures. 7 years ago
Matthew Chen f164d5e94b Improve backup progress. 7 years ago
Matthew Chen 0bcbb5918b Improve backup progress. 7 years ago
Matthew Chen 59fc232128 Backup export needs to verify that we have a valid account. 7 years ago
Matthew Chen 2915c533b2 Streamline database configuration and cleanup. 7 years ago
Matthew Chen 061ce8cb13 Add database validity check. 7 years ago
Matthew Chen 3c2aae3b9c Backup import clears database contents. 7 years ago
Matthew Chen fc4a66365e Sketch out backup export UI. 7 years ago
Matthew Chen 91bf0bdb9f Sketch out backup export UI. 7 years ago
Matthew Chen 669a3610ab Fix attachments. 7 years ago
Matthew Chen d2f2dd273a Fix edge cases in migrations. 7 years ago
Matthew Chen 86aae78f1b Include migrations in backup. 7 years ago
Matthew Chen c62b5f9b55 Fix build break. 7 years ago
Michael Kirk 4ac9a1019b Media page view controller
First pass at a swipe-through media view for conversations.

Future work could include

- title label per item
  - sender name
  - date/time
- photo rail
- include caption

// FREEBIE
7 years ago
Michael Kirk 88e1386720 Move frame to presentation logic, out of init
This no longer made sense now that we're using this in a
PageViewController we won't always be zooming from a particular frame.

TODO:

- why is background image all wonky?
- why aren't views created by the time it's presented? Is that a
regression? (how is self.view a MenuView if loadView hasn't been called)

// FREEBIE
7 years ago
Matthew Chen 4746948dfe Respond to CR. 7 years ago
Matthew Chen f10b549940 Clean up ahead of PR. 7 years ago
Matthew Chen eb263e265b Clean up ahead of PR. 7 years ago
Matthew Chen 68ba8976c5 Clean up ahead of PR. 7 years ago
Matthew Chen cc10dbf32f Clean up ahead of PR. 7 years ago
Matthew Chen b3ecc085d5 Clean up ahead of PR. 7 years ago
Matthew Chen 76b4deffe4 Respond to CR. 7 years ago
Matthew Chen 70d14c84c4 Clean up backup code. 7 years ago
Matthew Chen 08149005b1 Clean up backup code. 7 years ago
Matthew Chen 3f822e8ce3 Complete minimal backup MVP. 7 years ago
Matthew Chen f46ea0e87d Implement backup import logic. 7 years ago
Matthew Chen 30065493a3 Implement backup import logic. 7 years ago
Matthew Chen 5035cb040e Implement backup import logic. 7 years ago
Matthew Chen 04c527a0f4 Implement backup import logic. 7 years ago
Matthew Chen f53f1fb46a Add check for backup in cloud. 7 years ago
Matthew Chen 6cea2779d2 Stub out backup private key. 7 years ago
Matthew Chen 999321c067 Check for manifest in cloud. 7 years ago
Matthew Chen 90c8f5483b Clean up cloud after successful backup export. 7 years ago
Matthew Chen aa546a02df Merge remote-tracking branch 'origin/release/2.22.0' 7 years ago
Michael Kirk 8f468b6138 "Bump build to 2.22.0.4." 7 years ago
Michael Kirk 56f025baed Sync Translations
// FREEBIE
7 years ago
Michael Kirk 89f1779253 Remove PIN placeholder text
It's not always 6 digits, so it's a confusing placeholder

// FREEBIE
7 years ago
Matthew Chen 37d4c413d5 Clean up before merge. 7 years ago
Matthew Chen b1ca550345 Clean up ahead of PR. 7 years ago
Matthew Chen 0e0628a8dc Clean up ahead of PR. 7 years ago
Matthew Chen b65cc953ec Clean up ahead of PR. 7 years ago
Matthew Chen 202a35fddd Only backup every N hours. 7 years ago
Matthew Chen fefba6c63e Don't download files from cloud when testing for their existence. 7 years ago
Matthew Chen c2751665c3 Only backup attachments once. 7 years ago
Matthew Chen 20587ba377 Upload attachments to cloud; upsert files to cloud. 7 years ago
Matthew Chen 0971bad4b2 Upload database and manifest files to CloudKit. 7 years ago
Matthew Chen c84bf81cf3 Export database for backup. 7 years ago
Matthew Chen b603a8dcbe Upload test file to CloudKit. 7 years ago
Matthew Chen 593f7da72d Upload test file to CloudKit. 7 years ago
Matthew Chen d06ad25d77 Sketch out incremental backup manager and settings view. 7 years ago
Matthew Chen b296cfb893 Sketch out incremental backup manager and settings view. 7 years ago
Michael Kirk a412f00bad Fix typo
// FREEBIE
7 years ago
Michael Kirk c5ff9a94a0 Merge tag '2.22.0.3' 7 years ago
Michael Kirk 44a26342e5 "Bump build to 2.22.0.3." 7 years ago
Michael Kirk da2e6e4905 judiciously sync translations
don't clobber the existing translations for the reminder screen

// FREEBIE
7 years ago
Michael Kirk 173008fba9 Clarify reminder view, touchup layout
Layout needs to be kept tight for small form factors, but it was overly
cramped on larger devices.

// FREEBIE
7 years ago
Collin B. Stuart 6f7b4a6e43 Strip media metadata.
- removes non-orientation metadata from image and video attachments

- option to disable the feature

// FREEBIE
7 years ago
Michael Kirk b411db6b0d Pull latest translations
// FREEBIE
7 years ago
Michael Kirk b8485b19bd Merge tag '2.21.0.15' into release/2.22.0 7 years ago
Michael Kirk 9595f1c87f "Bump build to 2.21.0.15." 7 years ago
Michael Kirk c5fc671c31 Fix lost call transactions after rebuilding callUIAdapter
// FREEBIE
7 years ago
Michael Kirk e1992212ed "Bump build to 2.22.0.2." 7 years ago
Michael Kirk 319e0d808f Merge tag '2.21.0.14' into release/2.22.0 7 years ago
Michael Kirk 145a816315 "Bump build to 2.21.0.14." 7 years ago
Michael Kirk 93dab27877 pull latest translations
// FREEBIE
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 d43af9b739 "Bump build to 2.21.0.13." 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 c21255cd81 "Bump build to 2.22.0.1." 7 years ago
Michael Kirk 04bf8c4f8a pull latest translations
// FREEBIE
7 years ago
Michael Kirk ec9538a3e4 Fix 2fa registration screen layout
Don't obscure message text on smaller form factors

Also, disable overzealous assert with non-callkit adapters. The adapter
is not a singleton, it gets rebuilt whenever call related privacy
settings are triggered.

// FREEBIE
7 years ago
Michael Kirk 34a56a56c4 Merge tag '2.21.0.12' into release/2.22.0 7 years ago
Michael Kirk f84476ec77 "Bump build to 2.21.0.12." 7 years ago
Michael Kirk 9c62a15695 Pull latest translations
// FREEBIE
7 years ago
Michael Kirk a885fb5dee Fix first reminder too early, offset bugs.
Schedule first reminder date relative to now, handle overflow

// FREEBIE
7 years ago
Michael Kirk 90fc094d0d Copy tweak
// FREEBIE
7 years ago
Michael Kirk 900e32c311 Merge tag '2.21.0.11' into release/2.22.0 7 years ago
Michael Kirk 16b3b9bbcf "Bump build to 2.21.0.11." 7 years ago
Michael Kirk 907badd021 Sync translations
// FREEBIE
7 years ago
Michael Kirk 2462ea0a3e Merge tag '2.21.0.10' into release/2.22.0 7 years ago
Michael Kirk 8e0e0ad405 "Bump build to 2.21.0.10." 7 years ago
Michael Kirk c7871b28d4 Make sure any new call migration settings take effect on first launch
// FREEBIE
7 years ago
Michael Kirk 35b72bc1b3 "Bump build to 2.22.0.0." 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
Michael Kirk a1de99f1f1 Merge tag '2.21.0.9' 7 years ago
Michael Kirk bd48576075 "Bump build to 2.21.0.9." 7 years ago
Michael Kirk 39b87b702b Fix debuglogs.org integration
// FREEBIE
7 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 7 years ago
Michael Kirk 913cdad74a "Bump build to 2.21.0.8." 7 years ago
Michael Kirk 51ae936555 Ensure the user sees the experience upgrade
Don't mark it as seen until it is dismissed.

// FREEBIE
7 years ago
Michael Kirk 5739f074ae Show migration screen at first launch.
sort sounds alphabetically (other than Default/None)

// FREEBIE
7 years ago
Michael Kirk d12a6ae574 "Bump build to 2.21.0.7." 7 years ago
Michael Kirk cae40d4087 "Bump build to 2.21.0.6." 7 years ago
Michael Kirk c2501d8d1e Don't migrate legacy users to use new audio tones
// FREEBIE
7 years ago
Michael Kirk d3be2b4a3b Vibrate when playing sound as alert
// FREEBIE
7 years ago
Michael Kirk d7fcac8a5a In-App notifications don't pause background audio
// FREEBIE
7 years ago
Michael Kirk 60a1cc5682 Make 2FA registration screen look like the rest of registration
// FREEBIE
7 years ago
Matthew Chen 9499e684e7 Handle rate limits in registration flow. 7 years ago
Matthew Chen 7543a82858 Handle rate limits in registration flow. 7 years ago
Matthew Chen 9db9409561 Share background tasks. 7 years ago
Michael Kirk 07ee3ea843 Merge tag '2.21.0.5' 7 years ago
Michael Kirk 1d3831eccd Registration Lock reminder view
Also fixed: Don't lose PIN across registrations

// FREEBIE
7 years ago
Michael Kirk 54792ff461 Fix overzealous assert.
Sometimes we set values to nil - e.g. when re-registering through
debugUI

// FREEBIE
7 years ago
Michael Kirk b0b012046b "Bump build to 2.21.0.5." 7 years ago
Michael Kirk 6077367e66 Notification sounds should respect silent switch
// FREEBIE
7 years ago
Michael Kirk e8f4a7bfe8 Merge tag '2.21.0.4' 7 years ago
Michael Kirk 1c24cf7dad "Bump build to 2.21.0.4." 7 years ago
Michael Kirk 760b772974 Default fallback notification should now be "Note"
This means that *upgrading* users will not hear the ka-klunk for
fallback notifications if they don't first receive a voip-notification
which migrates them.

But the alternative is that *new* users *would* hear the ka-klunk for
fallback notifications by default.

// FREEBIE
7 years ago
Michael Kirk 58d84b6d68 "Bump build to 2.21.0.3." 7 years ago
Michael Kirk 4d65695bd1 Fix typo
// FREEBIE
7 years ago
Michael Kirk ef6bfaf7bb "Bump build to 2.21.0.2." 7 years ago
Michael Kirk eca1648054 Don't "show" upgrade splash when receiving a voip notification
Wait until app is in the foreground to show upgrade splashes

// FREEBIE
7 years ago
Michael Kirk 1ff2f3f42e Merge tag '2.21.0.1' 7 years ago
Michael Kirk aa82f0aa40 "Bump build to 2.21.0.1." 7 years ago
Matthew Chen 4834a85fb5 Add share option for debug logs. 7 years ago
Matthew Chen 256a300297 Integrate with logs service. 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
Michael Kirk 46d944740b Make default audio tone more prominent
Label Note as (default)
Move it to the second item in the list, just after "None"

// FREEBIE
7 years ago
Matthew Chen 59c745756a Clean up codebase. 7 years ago
Matthew Chen c17a819366 Elaborate request factory. 7 years ago
Matthew Chen 0ca497846b Elaborate request factory. 7 years ago
Matthew Chen a87b79341f Respond to CR. 7 years ago
Matthew Chen 288d049cee Update l10n strings. 7 years ago
Matthew Chen baf6fcc535 Add 2FA registration view. 7 years ago
Matthew Chen 6ca55790d5 Cleanup. 7 years ago
Matthew Chen caeb97b466 Respond to CR. 7 years ago
Matthew Chen a5128273ba Clean up ahead of PR. 7 years ago
Matthew Chen 055061ff5e Clean up ahead of PR. 7 years ago
Matthew Chen 4afedac68c Clean up ahead of PR. 7 years ago
Matthew Chen ea783a8ad5 Work on two-factor auth settings UI. 7 years ago
Matthew Chen e12a1e984a Work on two-factor auth settings UI. 7 years ago
Matthew Chen 1f6cbd399e Sketch out 2FA feature. 7 years ago
Michael Kirk f0ca957a09 Fix remote video view
// FREEBIE
7 years ago
Michael Kirk e5ab6f101b Clean up audio files
- remove unused classic-ringtone
- move classic with the rest of the message sounds

// FREEBIE
7 years ago
Michael Kirk a068b85734 Audio splashscreen artwork/copy
copy tweaks

// FREEBIE
7 years ago
Matthew Chen a71e00397f Fix build break related to Swift 4.1 syntax. 7 years ago
Matthew Chen bf48ccd4ad Merge remote-tracking branch 'origin/hotfix/2.20.1' 7 years ago
Michael Kirk 37fdd407d4 CR: Add translation comment
// FREEBIE
7 years ago
Michael Kirk cf6dfe08bb Custom audio notifications upgrade experience
TODO: update art
7 years ago
Matthew Chen 85eba0cacb "Bump build to 2.20.1.1." 7 years ago
Matthew Chen b1dd325ce8 Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1"
This reverts commit de5d17a396, reversing
changes made to d32e90c3d1.
7 years ago
Matthew Chen e4ee3e0007 Revert "Respond to CR."
This reverts commit 45201d45ed.
7 years ago
Matthew Chen 45201d45ed Respond to CR. 7 years ago
Matthew Chen 7bbad0d5a1 "Bump build to 2.20.1.0." 7 years ago
Matthew Chen 8f203f99bd Update l10n strings. 7 years ago
Michael Kirk 9dfbf6e6bc Fix crash presenting settings dialog off main thread
// FREEBIE
7 years ago
Matthew Chen 579da1c768 Refine handling of unsafe filename characters. 7 years ago
Matthew Chen 47a6d844c9 Refine handling of unsafe filename characters. 7 years ago
Matthew Chen 7e1ae33167 Refine changes to debug logs. 7 years ago
Matthew Chen 920c2b1d76 Rework log upload. 7 years ago
Michael Kirk f1f7f87457 Use aifc files for all notification sounds so we can confidently copy
them over the statically named "NewMessage.aifc" which is used by
fallback notifications

// FREEBIE
7 years ago