Commit Graph

276 Commits (20424d9a7e1e0014739e4ba5f2ae8e9c4cfc3761)

Author SHA1 Message Date
Michael Kirk cae40d4087 "Bump build to 2.21.0.6." 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 b0b012046b "Bump build to 2.21.0.5." 7 years ago
Michael Kirk 1c24cf7dad "Bump build to 2.21.0.4." 7 years ago
Michael Kirk 58d84b6d68 "Bump build to 2.21.0.3." 7 years ago
Michael Kirk ef6bfaf7bb "Bump build to 2.21.0.2." 7 years ago
Michael Kirk aa82f0aa40 "Bump build to 2.21.0.1." 7 years ago
Matthew Chen bf48ccd4ad Merge remote-tracking branch 'origin/hotfix/2.20.1' 7 years ago
Matthew Chen 85eba0cacb "Bump build to 2.20.1.1." 7 years ago
Michael Kirk 12d51d9e22 Fix sharing url when text is also present
This is sort of a stop gap intended to be minimal and safe.

// FREEBIE
7 years ago
Matthew Chen 7bbad0d5a1 "Bump build to 2.20.1.0." 7 years ago
Matthew Chen 3d892abc46 "Bump build to 2.21.0.0." 7 years ago
Matthew Chen 03bea4fd8b "Bump build to 2.20.0.42." 7 years ago
Matthew Chen 01cde6740c "Bump build to 2.20.0.41." 7 years ago
Matthew Chen ec32d8839b "Bump build to 2.20.0.40." 7 years ago
Matthew Chen d30dd22040 "Bump build to 2.20.0.39." 7 years ago
Matthew Chen 5e88110a0b "Bump build to 2.20.0.38." 7 years ago
Matthew Chen 8e9261e1ba "Bump build to 2.20.0.37." 7 years ago
Matthew Chen 708ff7efbd "Bump build to 2.20.0.36." 7 years ago
Matthew Chen 31d22e3e35 "Bump build to 2.20.0.35." 7 years ago
Matthew Chen 88d8eacc6e "Bump build to 2.20.0.34." 7 years ago
Matthew Chen 2575d01b96 "Bump build to 2.20.0.33." 7 years ago
Matthew Chen cf507487c1 "Bump build to 2.20.0.32." 7 years ago
Matthew Chen e8cbba61f9 "Bump build to 2.20.0.31." 7 years ago
Matthew Chen 11680958de "Bump build to 2.20.0.30." 7 years ago
Matthew Chen 5d949368a6 "Bump build to 2.20.0.29." 7 years ago
Michael Kirk ef7d5df09a "Bump build to 2.20.0.28." 7 years ago
Matthew Chen 9b73ff14ba "Bump build to 2.20.0.27." 7 years ago
Matthew Chen ef40f08212 "Bump build to 2.20.0.26." 7 years ago
Matthew Chen 283fe17649 Apply Indic script fixes to SAE and master. 7 years ago
Matthew Chen 6935298f6f Improve handling of the not migrated case. 7 years ago
Matthew Chen 87233490d3 "Bump build to 2.20.0.25." 7 years ago
Matthew Chen 2e1b8a7b8a Respond to CR. 7 years ago
Matthew Chen 7ea1f3d926 Fix handling of file types in SAE. 7 years ago
Matthew Chen c2787341ae Fix handling of URLs in SAE. 7 years ago
Matthew Chen fdf9b023b6 Don't apply signal appearance in SAE. 7 years ago
Matthew Chen 53eb9d07e8 "Bump build to 2.20.0.24." 7 years ago
Matthew Chen c29898f435 Refine the SAE lifecycle. 7 years ago
matthew chen 1259851f72 "Bump build to 2.20.0.23." 7 years ago
Matthew Chen da8da29215 "Bump build to 2.20.0.22." 7 years ago
Matthew Chen 4262a83e00 "Bump build to 2.20.0.21." 7 years ago
Matthew Chen d13511ca7d Exit SAE when complete. 7 years ago
Matthew Chen d374e6ab86 "Bump build to 2.20.0.20." 7 years ago
Matthew Chen 0522f33a86 "Bump build to 2.20.0.19." 7 years ago
Matthew Chen 09665973a0 "Bump build to 2.20.0.18." 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 6c357e8228 "Bump build to 2.20.0.17." 7 years ago
Matthew Chen 9c8178653d Revisit TODOs in the SAE work. 7 years ago
Matthew Chen 114df18372 Refine SAE UI. 7 years ago
Matthew Chen 4aaae856d0 "Bump build to 2.20.0.16." 7 years ago
Matthew Chen 11ad4e7882 "Bump build to 2.20.0.15." 7 years ago
Michael Kirk a1d3073705 Cannot open settings from share extension
// FREEBIE
7 years ago
Matthew Chen c0bf3d57c2 "Bump build to 2.20.0.14." 7 years ago
Matthew Chen 5f20d32b41 Fix SAE readiness. 7 years ago
Matthew Chen 9605d80e97 "Bump build to 2.20.0.13." 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 1c4b321a95 "Bump build to 2.20.0.12." 7 years ago
Matthew Chen 8e427111ef Clean up ahead of PR. 7 years ago
Matthew Chen d46914831c "Bump build to 2.20.0.11." 7 years ago
Matthew Chen bb44def8b7 "Bump build to 2.20.0.10." 7 years ago
Matthew Chen 769c1ce24f "Bump build to 2.20.0.9." 7 years ago
Matthew Chen eb180ba5c4 Register all database views asynchronously. 7 years ago
Matthew Chen 585f15a012 Respond to CR. 7 years ago
Matthew Chen eb440c1c84 "Bump build to 2.20.0.8." 7 years ago
Matthew Chen d9bec1db5e "Bump build to 2.20.0.7." 7 years ago
Matthew Chen 639fdb937a "Bump build to 2.20.0.6." 7 years ago
Matthew Chen 867451266f "Bump build to 2.20.0.5." 7 years ago
Matthew Chen 2003c68885 "Bump build to 2.20.0.4." 7 years ago
Matthew Chen 51fb062af1 Revert "Revert "Clean up ahead of PR.""
This reverts commit 87f5648fcf.
7 years ago
Matthew Chen 9d909025c9 Handle UIImage shares. 7 years ago
Matthew Chen 374714c456 Clean up ahead of PR. 7 years ago
Matthew Chen 87f5648fcf Revert "Clean up ahead of PR."
This reverts commit 3ca2a6b4ae8cad45dfe3412971e134188c1693eb.
7 years ago
Matthew Chen 6a7f06f940 Respond to CR. 7 years ago
Matthew Chen 74cd37dd7c Clean up ahead of PR. 7 years ago
Matthew Chen f194482266 Clean up ahead of PR. 7 years ago
Matthew Chen 0c16f0ad50 Clean up ahead of PR. 7 years ago
Matthew Chen 9c3415a914 Clean up ahead of PR. 7 years ago
Matthew Chen 30b3463c0b Clean up ahead of PR. 7 years ago
Matthew Chen 9b5327cc8b Improve handling of unexpected types. 7 years ago
Matthew Chen d1c17167c6 Don't send text files as text messgaes. 7 years ago
Matthew Chen 9845ef6dac Add message approval view. 7 years ago
Matthew Chen 979386ee9e Improve handling of text and url shares. 7 years ago
Matthew Chen 5770a18b08 Handle text shares like URLs. 7 years ago
Matthew Chen 085975ebe9 Prepopulate caption field with URL. 7 years ago
Matthew Chen 9c4ce3d304 Exclude contacts from SAE. 7 years ago
Matthew Chen 992e926142 Unpack oversize text messages if possible. 7 years ago
Matthew Chen 6e70c479eb Improve handling of contacts. 7 years ago
Matthew Chen d85ccd1aa8 Handle data-based share item providers. 7 years ago
Matthew Chen 23c1db5ccc Refine filtering of share types. 7 years ago
Matthew Chen fc4b0a359a Clean up ahead of PR. 7 years ago
Matthew Chen 3f74c488b2 Clean up ahead of PR. 7 years ago
Matthew Chen 03877867f4 Clean up ahead of PR. 7 years ago
Matthew Chen c0d4c3f1da Fix handling of URL shares. 7 years ago
Matthew Chen 112e369435 Fix handling of URL shares. 7 years ago
Matthew Chen 6a80db7844 Enable support for sharing urls in SAE. 7 years ago
Matthew Chen da0b7df1b5 Respond to CR. 7 years ago
Matthew Chen 482ad08640 Handle unregistration in SAE. 7 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
7 years ago
Matthew Chen 2b528ad894 Don't use mainApplicationState in business logic. 7 years ago
Matthew Chen 1839b10550 Retain changes from session database branch. 7 years ago
Matthew Chen 9ac2383a2c Retain changes from session database branch. 7 years ago
sdkjfhsdkjhfsdlkjhfsdf 14723f3e7f Fix profile avatar flicker
- We were clobbering our saved avatar filepath.
- Our "should notify" check was too aggressive.
- Only fetch profiles when entering a conversation.
- Only fetch profiles in main app

Also added (a little) debounce time to debug profile fetching.

// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 38d94952f7 Shadow for Send button, clean up color accessors
// FREEBIE
7 years ago
Matthew Chen fe67cd924c Rework database view registration. 7 years ago
Matthew Chen 0c9d9ba679 Fix issues around cross process db changes. 7 years ago
Michael Kirk 3affb07a11 post-merge formatting fixup
// FREEBIE
7 years ago
Michael Kirk 16448e2a0b Merge tag '2.19.3.0' 7 years ago
Michael Kirk a0f44f75e1 Bump build to 2.20.0.3.
// FREEBIE
7 years ago
Michael Kirk f9d22545b1 Only copy imported video when necessary.
Non-mp4's will be moved as part of their conversion.

We only need to move mp4's which were auto-converted

// FREEBIE
7 years ago
Michael Kirk 849388feb7 CR: clean up loading assets once no longer needed
// FREEBIE
7 years ago
Michael Kirk 03220ffa79 CR: Faster animation from loading -> picker
// FREEBIE
7 years ago
Michael Kirk 813f4e474e Respond to CR
// FREEBIE
7 years ago
Michael Kirk 47e92dbad5 cleanup
// FREEBIE
7 years ago
Michael Kirk 7d0acc94ff cleanup
// FREEBIE
7 years ago
Michael Kirk 56f1bf0305 cleanup 7 years ago
Michael Kirk 65f79770ac rebase fixup 7 years ago
Michael Kirk 90e9b4a4f2 WIP - send all video types 7 years ago
Michael Kirk 4ce2eb3c6c Show ProgressView for video conversion
// FREEBIE
7 years ago
Michael Kirk b1b6dcfbf0 Simplify loading delay, use loading screen as activity indicator for
video conversion

// FREEBIE
7 years ago
Michael Kirk 538b3e5fd5 Async API for video export
// FREEBIE
7 years ago
Michael Kirk 21fd7b040e Ensure sent video is mp4
// FREEBIE
7 years ago
Michael Kirk d3e7c99a63 Attachment approval: cancel/confirm to top/bottom toolbars
- avoid double-submit by disabling after hitting send.
- Animate SAE dismissal as modal
  Requires hiding the load view
- attachment is centered in screen
- add gradient to ensure controls are visible
- Fix clamp constraints - I think this was a typo
  Otherwise we couldn't show an image which was 1" wide by 2" tall
- set max zoom, hide scroll indicators
- use media view
- slower panning feels right
- white send button
- can share GIF, static, and sort of video...
- Play button for attachment approval
  - move to image assets so we can use it in SAE
  - slightly larger button for full-screen approval view
  - don't launch redundant fullscreen UI for images when in approval view
- fix scrollOffset in AttachmentApproval
- consolidate view initialization logic in loadView and fix white background
- CR: more legible arithmetic

// FREEBIE
7 years ago
Matthew Chen 97ce1a6675 Rework user profile saves; block SAE if no local user profile key. 7 years ago
Matthew Chen 11b4848530 Respond to CR. 7 years ago
Matthew Chen 89db8b3a44 Respond to CR. 7 years ago
Matthew Chen 125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 7 years ago
Michael Kirk b014c236b8 bump build number 7 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
7 years ago
Michael Kirk ed33663e6d CR: remove redundant isHidden
// FREEBIE
7 years ago
Michael Kirk cd95e1784b avoid race condition in presentation animation 7 years ago
Michael Kirk 3bb772f135 Modal conversation picker, hide loading screen when possible
The first usable screen in the conversation picker, that's the first
thing we want to show the user, and the modal presentation feels like
the right way to introduce this new context.

Long load times should be the exception, not the normal flow, so we
delay it's presentation in hopes that it will generally never be seen.

// FREEBIE
7 years ago
Matthew Chen d15d5ce3a2 Respond to CR. 7 years ago
Matthew Chen 791743a5f0 Fix order of operations in SAE setup. 7 years ago
Matthew Chen f148003fb3 Convert logTag to property. 7 years ago
Matthew Chen 8312614cf7 Respond to CR. 7 years ago
Matthew Chen 99f0b9d3e8 Fix issues around statics. 7 years ago
Michael Kirk 0429836ff9 CR: rename keyWindow -> keyReferenceView, split long line
// FREEBIE
7 years ago
Michael Kirk ca999627ef CR: replace, not push VC
// FREEBIE
7 years ago
Michael Kirk c0c71ad765 cleanup 7 years ago
Michael Kirk 4aba6e0c9f Present conversation picker when DB is ready
// FREEBIE
7 years ago
Michael Kirk eca19e5874 Reconcile MediaMessageView zoom behavior with AppExtension
Previously it was predicated on UIApplication.shared

// FREEBIE
7 years ago
Michael Kirk 3036337a5a Include filename, support sharing all other image types
// FREEBIE
7 years ago
Michael Kirk 3eceb86371 Show alert if we fail to build the attachment
// FREEBIE
7 years ago
Michael Kirk 89b9887f1d Make DeviceSleepManager extension compatible
// FREEBIE
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
Matthew Chen 3960b8162e Respond to CR. 7 years ago
Matthew Chen 848f055da1 Add SAE error views. 7 years ago