Commit Graph

2934 Commits (9eb4178c6f64b7845e9807a4d323e6041bae2940)

Author SHA1 Message Date
Michael Kirk 336c92ddab remove cached display name machinery, cleanup
// FREEBIE
7 years ago
Michael Kirk 7ea4b85a2a Persist signal accounts (and their embedded Contact)
// FREEBIE
7 years ago
Michael Kirk a0f44f75e1 Bump build to 2.20.0.3.
// FREEBIE
7 years ago
Michael Kirk 2b038dfd36 sync translations
// FREEBIE
7 years ago
Michael Kirk 8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
7 years ago
Michael Kirk 031e40d090 Use SignalAttachment logic in conversation view too
// 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 429312523f Simplify OWSUserProfile's "apply changes" logic using model diffing. 7 years ago
Matthew Chen f684482c54 Don't emit "user profile changed" notifications if nothing changed. 7 years ago
Matthew Chen 74efcb9041 Rework thread safety in profile manager. 7 years ago
Matthew Chen 911c4d380b Rework thread safety in profile manager. 7 years ago
Matthew Chen 80ae5e0fcf Respond to CR. 7 years ago
Matthew Chen 11b4848530 Respond to CR. 7 years ago
Matthew Chen 84061cca9f Change image resizing/quality behavior, preferring smaller images in the common case. 7 years ago
Matthew Chen 125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 7 years ago
Michael Kirk d9cca77e23 update header references
// FREEBIE
7 years ago
Michael Kirk b014c236b8 bump build number 7 years ago
Michael Kirk f7dfe23c66 sync translations 7 years ago
Michael Kirk 1c74d8f912 CR: remove reset of BundleDocumentTypes 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
Matthew Chen f7bcf1d04d Fix tests. 7 years ago
Matthew Chen b12f192c6f Respond to CR. 7 years ago
Matthew Chen 7a1e47cd26 Add asserts around Swift singletons. 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 eca19e5874 Reconcile MediaMessageView zoom behavior with AppExtension
Previously it was predicated on UIApplication.shared

// 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 c52192295b fixup rebase. move jobs to proper dir 7 years ago
Michael Kirk 56fe9d057d Attachment Approval
// 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 848f055da1 Add SAE error views. 7 years ago
Matthew Chen 94b5dfb1b5 Localize the debug log UI. 7 years ago
Matthew Chen a617724da7 Add "send to self" option to debug logs. 7 years ago
Matthew Chen 6e545c57c3 Bump build to 2.20.0.1.
// FREEBIE
7 years ago
Matthew Chen 310cf1330d Continue conversion of app setup. 7 years ago
Matthew Chen 53f51bcd0b Clean up ahead of PR. 7 years ago
Matthew Chen 69e0bcd308 Fix tests. 7 years ago
Matthew Chen 9e44a73068 Fix tests vs. SAE. 7 years ago
Matthew Chen e7bd33df45 Fix tests broken by SAE. 7 years ago
Matthew Chen 8d014f057e Respond to CR. 7 years ago
Matthew Chen f5353fc7d5 Clean up ahead of PR. 7 years ago
Matthew Chen 150f417a5e Clean up ahead of PR. 7 years ago
Matthew Chen 9da165b846 Continue conversion of app setup. 7 years ago
Matthew Chen ce899edf10 Respond to CR. 7 years ago
Matthew Chen 2eba371656 Clean up ahead of PR. 7 years ago
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 7 years ago
Matthew Chen a16058e477 Migrate environment to SignalMessaging. 7 years ago
Matthew Chen 6d87df88aa Migrate environment to SignalMessaging. 7 years ago
Matthew Chen c817aa51b3 Migrate environment to SignalMessaging. 7 years ago
Michael Kirk e3b0333b97 CR: Separate class files
// FREEBIE
7 years ago
Michael Kirk 27ddf4a352 Cleanup before PR 7 years ago
Michael Kirk cd440b839f Consolidate search logic
// FREEBIE
7 years ago
Michael Kirk 766e579961 Share picker searches by profile name
Consolidate some of the share logic

// FREEBIE
7 years ago
Michael Kirk 3ed52b6d5a Fix profile label for share context
// FREEBIE
7 years ago
Michael Kirk 286463bb22 Thread picker adds sections for threads vs other contacts 7 years ago
Michael Kirk 71bafcc8f0 Search SignalAccounts by profile name
...and fixup some tests
7 years ago
Michael Kirk 2af818b3ba Make SignalMessaging AppExtension safe
// FREEBIE
7 years ago
Michael Kirk fcb17585b0 fix compiler warnings
// FREEBIE
7 years ago
Michael Kirk 5e7ca89930 Proper function prototypes
// FREEBIE
7 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
Michael Kirk 9cea6971ba bump version
// FREEBIE
8 years ago
Matthew Chen f896bf99d5 Update share extension capabilities. 8 years ago
Matthew Chen 64762eb427 Observe YapDatabaseModifiedExternallyNotification. 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
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
Matthew Chen cd11ec5698 Add app group, share keychain. Take a first pass at file migration to shared data directory. 8 years ago
Michael Kirk 9ac3ce3758 Memoize bubble factory
Shaves 5% off of initial conversation load.

// FREEBIE
8 years ago
Michael Kirk fd829ba575 Merge branch 'hotfix/2.19.1' 8 years ago
Michael Kirk 2c4cf96515 Some proof of framework integration in the sample share extension
// FREEBIE
8 years ago
Michael Kirk 961727814b Move pinning certificates into App
// FREEBIE
8 years ago
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Michael Kirk c5b0f7cd01 framework compatible CocoaLumberjack import
With previous import style, the `LOG_ASYNC_ENABLED, LOG_LEVEL_DEF`
macros were not being defined.

@import style module includes are handled differently in ObjC++, causing
problems with out millisecondTimeStamp implementation. Rather than
address that problem head on, I simple reimplemented our millisecond
timestamp method in objective-c, removing our single ObjC++ file.

// FREEBIE
8 years ago
Michael Kirk de028404bb Shared framework between app and extension
// FREEBIE
8 years ago
Michael Kirk 741723c990 pull latest translations
// FREEBIE
8 years ago
Michael Kirk 9d1e3dc223 We need to change file extensions when converting data
// FREEBIE
8 years ago
Matthew Chen 1f3cc8752b Fix the add photo permission crash on iOS 11. 8 years ago
Michael Kirk 1a99b34913 Fix iOS8 crash on type
// FREEBIE
8 years ago
Matthew Chen 33f2233181 Bump version number to v2.19.1. 8 years ago
Matthew Chen 40b2ecf580 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 8 years ago
Matthew Chen bfc1445675 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 8 years ago
Matthew Chen f4f2ff8835 Bump build to 2.19.0.22.
// FREEBIE
8 years ago
Matthew Chen 8acce3b5bd Simplify the unread indicator logic. 8 years ago
Michael Kirk 43092ee6ac CR: be extra paranoid about archiving the reset session
// FREEBIE
8 years ago
Michael Kirk 47926418b5 Prevent subsequent "No valid session" errors from the recipient of an
EndSession message.

// FREEBIE
8 years ago
Matthew Chen 443ef58377 Bump build to 2.19.0.21.
// FREEBIE
8 years ago
Matthew Chen 97efc359f0 Merge branch 'mkirk/center-loading-more' 8 years ago
Michael Kirk a542471bbe center "Loading More Messages" label
// FREEBIE
8 years ago
Matthew Chen bd6cb22255 Update l10n strings. 8 years ago
Matthew Chen f9f0f1c27d Revert "Force conversation view cells to update layout immediately."
This reverts commit ef820a3719.
8 years ago
Matthew Chen 35bdc86ab5 Reload adjacent rows using original indices, not final indices. 8 years ago