Commit Graph

2529 Commits (10c503bd3594aa3b43d2c961875b550cf1c94cda)

Author SHA1 Message Date
Michael Kirk f8866c4e0b Fix some constraints, get other attachment types looking good
TODO
- [ ] message bubble sizes are not correct. Not always wide enough to
      fit their content.

// FREEBIE
8 years ago
Michael Kirk 76ca52f33c caption bubble properly sized, but all attachments make space now 8 years ago
Michael Kirk 3eb3c268a9 Towards a caption in message
TODO

- [ ] adjust height properly
- [ ] all media types
- [ ] include caption in message details
- [ ] gestures working on both independently
- [ ] perf benchmark

// FREEBIE
8 years ago
Michael Kirk e20f44024c WIP: Support sending attachment captions
Looks fine on other clients, but locally we don't display the caption.

// FREEBIE
8 years ago
Michael Kirk a5c5dd3f96 WIP, extract subclass 8 years ago
Michael Kirk 57a5e62db8 WIP - attachment caption 8 years ago
Matthew Chen 6b0e3508a5 Respond to CR. 8 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 5dcf4b3bbc Clean up ahead of PR. 8 years ago
Matthew Chen 137fe6fb8b Pull out OWSStorage base class for TSStorageManager. 8 years ago
Matthew Chen a29c4ce5d6 Pull out OWSStorage base class for TSStorageManager. 8 years ago
Matthew Chen f9ce34f553 Improve background task logic. 8 years ago
Michael Kirk 157bf00410 Merge branch 'hotfix/2.19.3' 8 years ago
Michael Kirk 1955f3664b CR: clarify names, comments, asserts
// FREEBIE
8 years ago
Michael Kirk 60eac4e0bf notify only when SignalAccounts actually change
// FREEBIE
8 years ago
Michael Kirk 27c99cf4d2 sort SignalAccounts loaded from cache 8 years ago
Michael Kirk e78edcde87 Only clear cache when user pulls-to-refresh
// FREEBIE
8 years ago
Michael Kirk 49196f8013 Spin activity indicator until contacts are fetched
// FREEBIE
8 years ago
Michael Kirk f4e471e0db SignalAccount cache perf improvments
- only persist models that have changed
- remove duplicate contact SignalAccounts
- ensure serial execution of buildAccounts
- only buildSignalAccounts when intersection succeeds

// FREEBIE
8 years ago
Matthew Chen 3643414da1 Respond to CR. 8 years ago
Matthew Chen e45d63e862 Clean up ahead of PR. 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
Matthew Chen bc7f4623cc Update YapDatabase. 8 years ago
Michael Kirk 4f06518539 Merge tag '2.19.3.1' 8 years ago
Michael Kirk 1f8042685d Show loading cell when contacts are still loading.
// FREEBIE
8 years ago
Michael Kirk c07d7777cb Reinstate notification when SignalAccounts change
// FREEBIE
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 6f7cae691c Log counts to determine when SignalAccount cache goes missing
// FREEBIE
8 years ago
Michael Kirk 64e90d29fd CR: extract method, more asserts and annotations
// FREEBIE
8 years ago
Michael Kirk 42dc872c9a use dedicated read connection to pre-populate cache
// FREEBIE
8 years ago
Michael Kirk 336c92ddab remove cached display name machinery, cleanup
// FREEBIE
8 years ago
Michael Kirk 7ea4b85a2a Persist signal accounts (and their embedded Contact)
// FREEBIE
8 years ago
Michael Kirk 8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
8 years ago
Michael Kirk 031e40d090 Use SignalAttachment logic in conversation view too
// FREEBIE
8 years ago
Matthew Chen 429312523f Simplify OWSUserProfile's "apply changes" logic using model diffing. 8 years ago
Matthew Chen f684482c54 Don't emit "user profile changed" notifications if nothing changed. 8 years ago
Matthew Chen 74efcb9041 Rework thread safety in profile manager. 8 years ago
Matthew Chen 911c4d380b Rework thread safety in profile manager. 8 years ago
Matthew Chen 80ae5e0fcf Respond to CR. 8 years ago
Matthew Chen 11b4848530 Respond to CR. 8 years ago
Matthew Chen 84061cca9f Change image resizing/quality behavior, preferring smaller images in the common case. 8 years ago
Matthew Chen 125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 8 years ago
Michael Kirk d9cca77e23 update header references
// FREEBIE
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 b12f192c6f Respond to CR. 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
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 3eceb86371 Show alert if we fail to build the attachment
// FREEBIE
8 years ago
Michael Kirk 89b9887f1d Make DeviceSleepManager extension compatible
// FREEBIE
8 years ago
Michael Kirk c52192295b fixup rebase. move jobs to proper dir 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 848f055da1 Add SAE error views. 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 69e0bcd308 Fix tests. 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 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 2eba371656 Clean up ahead of PR. 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 27ddf4a352 Cleanup before PR 8 years ago
Michael Kirk cd440b839f Consolidate search logic
// FREEBIE
8 years ago
Michael Kirk 766e579961 Share picker searches by profile name
Consolidate some of the share logic

// FREEBIE
8 years ago
Michael Kirk 3ed52b6d5a Fix profile label for share context
// FREEBIE
8 years ago
Michael Kirk 286463bb22 Thread picker adds sections for threads vs other contacts 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
Michael Kirk fcb17585b0 fix compiler warnings
// FREEBIE
8 years ago
Michael Kirk 5e7ca89930 Proper function prototypes
// 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 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 a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Michael Kirk de028404bb Shared framework between app and extension
// FREEBIE
8 years ago
Michael Kirk 9d1e3dc223 We need to change file extensions when converting data
// FREEBIE
8 years ago
Michael Kirk 1a99b34913 Fix iOS8 crash on type
// FREEBIE
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 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
Michael Kirk a542471bbe center "Loading More Messages" label
// FREEBIE
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
Matthew Chen 71f5ef5940 Improve handling of unread indicator edge cases. 8 years ago
Matthew Chen 2ec1e7e925 Respond to CR. 8 years ago
Matthew Chen 2d241623b7 Improve handling of edge cases around unread indicator delimiting deleted message(s). 8 years ago
Matthew Chen 5ef9d53c91 Update conversation view UI to reflect unread state. 8 years ago
Matthew Chen ef820a3719 Force conversation view cells to update layout immediately.
// FREEBIE
8 years ago
Matthew Chen 9b4ac4073f Improve robustness around unknown country codes. 8 years ago
Michael Kirk 370364c936 Scroll down button scrolls to unread
// FREEBIE
8 years ago
Matthew Chen b0c9add29c Update layout of "scroll down button" to reflect RTL. 8 years ago
Matthew Chen d9fcfdeeb7 Fix deadlock when responding to contacts sync messages. 8 years ago
Matthew Chen 92ef507810 Make swipe-for-details RTL-safe. 8 years ago
Matthew Chen a07e1e0cf9 For most views, only try to dismiss keyboard when scroll drag starts. 8 years ago
Matthew Chen aea2bf3e00 Fix scroll state insets in conversation view. 8 years ago
Matthew Chen 5cfa7e35f4 Respond to CR. 8 years ago
Michael Kirk 34811a635b Fixes: "connected call" showing as "unconnected outgoing" call.
Expire viewItem cache when resetting mappings

// FREEBIE
8 years ago
Matthew Chen b76d9a4e68 Remove redundant logTag methods. 8 years ago
Matthew Chen a4879f6bb5 Remove redundant logTag methods. 8 years ago
Matthew Chen 8eb4e682d9 Revert "Show menu controller from centroid of message cells."
This reverts commit 08bb1c909d.
8 years ago
Matthew Chen cebeea9189 Reduce extremes of Jumbomoji behavior. 8 years ago
Matthew Chen d8ae5841d6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 45c7d80d97 Improving handling of edge cases in conversation view. 8 years ago
Matthew Chen 6d4a05bbea Improving handling of edge cases in conversation view. 8 years ago
Matthew Chen 658746093d Use finalIndex in row changes. 8 years ago
Michael Kirk 86c1a3d08a CR: use weak capture
// FREEBIE
8 years ago
Michael Kirk 30b50e1489 Activate audio at the proper time
// FREEBIE
8 years ago
Michael Kirk 81f097c1f5 Don't drop critical data messages
Assigning dataChannel sometimes happens after iceConnect.

Fixes symptom where Alice calls Bob.
Bob answers and sees the call UI as normal
but Alice sees call as continuing to ring

// FREEBIE
8 years ago
Michael Kirk 2e75e9df55 Don't ignore critical errors
// FREEBIE
8 years ago
Michael Kirk 91f25bec3c Remove overzealous assert
// FREEBIE
8 years ago
Michael Kirk 8ee030bea1 Don't dismiss keyboard when view appears
// FREEBIE
8 years ago
Matthew Chen ceac36f910 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6e60d99ecf Show push tokens in about view.
// FREEBIE
8 years ago
Matthew Chen e9bace34ba Fix "sliding tables" issue in linked devices view. 8 years ago
Michael Kirk abb57f2a15 App icon for system call screen
On iOS10 there was a default "..." button, but now we need our own.

// FREEBIE
8 years ago
Michael Kirk 7fd3d665dc Request contacts as necessary when app is brought back to the foreground
// FREEBIE
8 years ago
Michael Kirk 01e1d10c30 Only show contact nag if we've denied contact access
// FREEBIE
8 years ago
Matthew Chen 7b1a846f79 Dismiss keyboard when leaving conversation view. 8 years ago
Matthew Chen e79613184a Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 089e4a4a02 Fix layout of table views vs. nav bar. 8 years ago
Matthew Chen 572de11763 Apply dynamic type sizing to Jumbomoji. 8 years ago