Commit Graph

239 Commits

Author SHA1 Message Date
Matthew Chen 91d54360ba Add contact view. 2018-05-03 14:09:54 -04:00
Matthew Chen fa5577eece Create contact view. 2018-05-03 14:09:54 -04:00
Matthew Chen 411d5a3b4f Respond to CR. 2018-05-02 11:01:23 -04:00
Matthew Chen 783bf5b81c Clean up ahead of PR. 2018-05-02 10:52:29 -04:00
Matthew Chen 708b44e3c5 Improve handling of contact display names. 2018-05-02 10:52:29 -04:00
Matthew Chen 0316a98eb8 Undo renaming of contactShare property of TSMessage. 2018-05-01 11:26:01 -04:00
Matthew Chen 147368913c Gather all contact conversion logic in OWSContacts. 2018-05-01 11:03:25 -04:00
Matthew Chen 0d8cfc5403 Rename contact share class to contact. 2018-05-01 11:03:25 -04:00
Matthew Chen 757234d309 Populate contact share protos. 2018-05-01 11:03:25 -04:00
Matthew Chen 2a63423c3d Elaborate fake contact shares. 2018-05-01 11:03:25 -04:00
Matthew Chen c854cc3de6 Fix fake contact share message creation. 2018-05-01 11:03:25 -04:00
Matthew Chen 7490a55f61 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Matthew Chen 4b8a2fa8a3 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Matthew Chen 9275c67818 Rework outgoing message state. 2018-04-25 10:49:19 -04:00
Michael Kirk 9c81eb44a1 Replace remaining UI usage of `interaction.description`
// FREEBIE
2018-04-21 19:21:18 -04:00
Matthew Chen 7912598ccb Merge branch 'release/2.24.0' 2018-04-21 14:27:27 -04:00
Michael Kirk eec7678979 Group's meta message defaults to "Delivery"
// FREEBIE
2018-04-19 14:57:42 -04:00
Michael Kirk 754549adf1 Start timer for expiring message based on when read receipt was sent
// FREEBIE
2018-04-18 15:32:01 -04:00
Michael Kirk dfb2a034af Use explicit transactions.
- Start expiration within scope of existing transaction when we're
  already in a transaction

// FREEBIE
2018-04-18 15:32:01 -04:00
Matthew Chen 9c93099515 Fix incomplete asserts. 2018-04-13 15:01:25 -04:00
Matthew Chen abba24988c Rework how dates are formatted in home view. 2018-04-11 09:34:37 -04:00
Matthew Chen 76995e4594 Enforce quoted reply edge cases. 2018-04-10 15:56:55 -04:00
Michael Kirk 90486aa49c Inline method with one caller, fix formatting
// FREEBIE
2018-04-09 12:47:57 -04:00
Michael Kirk c56e8acc51 QuotedReplyModel from SSK->SignalMessaging
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 1d4c0624be Clarify variable names
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk a9459757f0 Lingering var renames QuotedReplyDraft -> QuotedReplyModel
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 253435b27f extract QuotedReplyDraft model 2018-04-09 12:47:56 -04:00
Matthew Chen de2dc49126 Elaborate quoted reply variations to include replies with attachments. 2018-04-06 16:47:21 -04:00
Matthew Chen 9b5db80f23 Respond to CR. 2018-04-05 09:48:41 -04:00
Matthew Chen 9085609087 Fix interaction initializers and tests. 2018-04-05 09:36:52 -04:00
Michael Kirk bf401bad90 Send quoted messages
MVP

- [x] populate from menu
- [x] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
2018-04-04 10:59:04 -04:00
Michael Kirk cfbbeca7ac WIP: QuotedMessagePreviewView
MVP

- [] populate from menu
- [] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
2018-04-04 10:59:03 -04:00
Matthew Chen 324afb1152 Modify cells to show quoted messages. 2018-04-04 10:12:07 -04:00
Matthew Chen f6f98369a6 Modify cells to show quoted messages. 2018-04-04 10:12:07 -04:00
Matthew Chen c36297a9ad Elaborate 'quoted reply' variations in the Debug UI. 2018-04-03 13:42:21 -04:00
Matthew Chen fb1f3b5572 Rework quoted reply debug UI. 2018-04-02 16:17:46 -04:00
Matthew Chen 4915c127cb Rework quoted reply debug UI. 2018-04-02 16:17:46 -04:00
Matthew Chen 8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
2018-04-02 16:17:46 -04:00
Matthew Chen 4f9085a761 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen c8012d3891 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen 643c6385b5 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen 8d74c68f9d Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen 8a74e10208 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen e0e8eafb5d Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen 4a4e9d1ce2 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen 11819d9b8a Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen d0cddfd22c Elaborate debug UI for messages. 2018-04-02 10:07:15 -04:00
Matthew Chen 3a5ba15d21 Elaborate debug UI for messages. 2018-04-02 10:07:15 -04:00
Matthew Chen 041b28dd79 Elaborate debug UI for messages. 2018-04-02 10:07:15 -04:00
Matthew Chen 469fb2644f Elaborate debug UI for messages. 2018-04-02 10:06:46 -04:00
Matthew Chen 8542a18f33 Elaborate debug UI for messages. 2018-04-02 10:06:46 -04:00
Matthew Chen a130760085 Elaborate debug UI for messages. 2018-04-02 10:06:46 -04:00
Matthew Chen 66a454ce4f Elaborate debug UI for messages. 2018-04-02 10:06:46 -04:00
Matthew Chen e874503f8d Elaborate debug UI for messages. 2018-04-02 10:06:46 -04:00
Matthew Chen 24cc6ec113 Elaborate debug UI for messages. 2018-04-02 10:06:45 -04:00
Matthew Chen c2e31540d7 Elaborate debug UI for messages. 2018-04-02 10:06:45 -04:00
Matthew Chen 68f3334e77 Elaborate debug UI for messages. 2018-04-02 10:06:45 -04:00
Matthew Chen 0dfa9cac7b Elaborate debug UI for messages. 2018-04-02 10:06:45 -04:00
Michael Kirk 6c877403cf Fix delete from message details
// FREEBIE
2018-03-22 19:54:19 -04:00
Michael Kirk 84ed75f60b Fix typo
// FREEBIE
2018-03-20 11:17:39 -04:00
Michael Kirk d9a2effff6 CR: remove "k" from non constant
// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk e5b1c0c9b4 Fake media send
// FREEBIE
2018-03-19 14:22:03 -04:00
Matthew Chen 593f7da72d Upload test file to CloudKit. 2018-03-12 16:40:07 -03:00
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen 06d16bdec5 Revert "Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1""
This reverts commit b1dd325ce8.
2018-03-02 17:44:14 -05:00
Matthew Chen b1dd325ce8 Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1"
This reverts commit de5d17a396, reversing
changes made to d32e90c3d1.
2018-02-27 14:52:24 -05:00
Matthew Chen 579da1c768 Refine handling of unsafe filename characters. 2018-02-27 09:43:26 -05:00
Matthew Chen 47a6d844c9 Refine handling of unsafe filename characters. 2018-02-27 09:43:26 -05:00
Matthew Chen 920c2b1d76 Rework log upload. 2018-02-27 09:27:09 -05:00
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 2018-02-16 10:49:52 -05:00
Matthew Chen abfd333a17 Address Indic script crash. 2018-02-16 10:19:47 -05:00
Matthew Chen 48b6c3dafb Refine message date/time formatting. 2018-02-13 15:02:29 -05:00
Matthew Chen 43765ef3b5 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen d3e16583eb Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen 7ebeeda5f9 Clean up ahead of PR. 2018-01-30 10:06:46 -05:00
Matthew Chen 6f7f1b3b08 Improve pre-migration testing tools. 2018-01-30 10:06:46 -05:00
Matthew Chen 9d101c3f53 Elaborate Debug & Internal UI. 2018-01-30 10:06:46 -05:00
Matthew Chen 32b3e89c54 Elaborate Debug & Internal UI. 2018-01-30 10:06:46 -05:00
sdkjfhsdkjhfsdlkjhfsdf b87079d4b4 Sharing attachment shows progress / retry dialog
// FREEBIE
2017-12-20 20:57:17 -06:00
Michael Kirk bce18637f0 render attachments with captions
// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk 3176cb5a62 text sizing correctly 2017-12-20 14:26:53 -06:00
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
2017-12-20 14:26:53 -06:00
Michael Kirk e20f44024c WIP: Support sending attachment captions
Looks fine on other clients, but locally we don't display the caption.

// FREEBIE
2017-12-20 14:26:53 -06:00
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen 85686d3144 Continue TSStorageManager refactor. 2017-12-19 11:41:30 -05:00
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 2017-12-05 10:29:29 -05:00
Matthew Chen bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 2017-12-01 12:55:47 -05:00
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
2017-11-29 13:58:27 -08:00
Matthew Chen 40b2ecf580 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 2017-11-29 10:34:46 -05:00
Matthew Chen bfc1445675 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 2017-11-29 10:34:46 -05:00
Matthew Chen 6d4a05bbea Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen 658746093d Use finalIndex in row changes. 2017-11-20 14:44:10 -05:00
Matthew Chen 451dc44e87 Add script to make random changes. 2017-11-15 13:56:17 -05:00
Matthew Chen bfde1aef58 Add script to make random changes. 2017-11-15 13:56:17 -05:00
Matthew Chen 19ba564f80 Respond to CR.
// FREEBIE
2017-11-15 13:21:31 -05:00
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 2017-11-15 07:16:12 -05:00
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Matthew Chen db8a381960 Merge remote-tracking branch 'origin/release/2.18.0' 2017-11-01 12:02:37 -04:00
Michael Kirk 6eeb78157a Include size in attachment pointer
// FREEBIE
2017-10-26 15:11:37 -07:00
Matthew Chen bcf83a4c8e Rework handling of oversize text messages.
// FREEBIE
2017-10-26 11:56:03 -04:00
Matthew Chen 067b16903c Fix attachment uploads.
// FREEBIE
2017-10-24 09:54:08 -04:00
Matthew Chen 1ad3add1d5 Fix message injection.
// FREEBIE
2017-10-19 22:39:01 -04:00
Matthew Chen ccb37bfac3 Respond to CR.
// FREEBIE
2017-10-18 08:50:47 -07:00
Matthew Chen ae550fa960 Add actions to debug UI to inject fake incoming messages.
// FREEBIE
2017-10-18 08:45:24 -07:00
Matthew Chen 01691b7ade Ensure attachment masking is updated to reflect cell relayout.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen b28c4b74b2 Pull out TSMessageDecrypter class.
// FREEBIE
2017-09-21 14:38:30 -04:00
Matthew Chen 400f536e37 Respond to CR.
// FREEBIE
2017-09-19 09:30:01 -04:00
Matthew Chen 9dfebb2d4b Apply OWSFail() in more places.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen c21a7673c8 Rework preservation of attachment filenames.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen b95b5f69de Apply DataSource to message sender.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen 20e5013aae Convert DataSource to Objective-C.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen 69816cdf0e Convert DataSource to Objective-C.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen 2282733fa9 Add data source class.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen 94daccc78e Fix fake contacts.
// FREEBIE
2017-09-01 15:24:27 -04:00
Matthew Chen a35a21d5cc Batch the creation of fake contacts.
// FREEBIE
2017-09-01 15:24:27 -04:00
Michael Kirk 72b3f3779b Discard GroupInfoRequest from unknown group
// FREEBIE
2017-08-08 12:17:26 -04:00
Michael Kirk 092578045e [DEBUG-UI] create fake contact threads
// FREEBIE
2017-08-01 12:07:54 -04:00
Matthew Chen 63e20cd8bb Sketch out profile manager.
// FREEBIE
2017-08-01 11:41:55 -04:00
Matthew Chen d22e29ec09 Include local number when creating debug groups.
// FREEBIE
2017-07-28 11:03:02 -04:00
Matthew Chen 8f17730d9b Modify “create groups” debug UI to use current 1:1 contact.
// FREEBIE
2017-07-28 10:16:02 -04:00
Matthew Chen 653f7faca8 Add debug UI for creating groups.
// FREEBIE
2017-07-28 09:41:27 -04:00
Matthew Chen bca736a2b7 Merge tag '2.13.4.0'
// FREEBIE
2017-07-27 15:04:03 -04:00
markus.fassbender 422336db32 fixes compiler warnings FREEBIE 2017-07-08 17:24:22 -05:00
Matthew Chen d94ee7ab11 Add options to send 3k debug messages.
// FREEBIE
2017-07-06 14:59:22 -04:00
Michael Kirk 8e891eb357 Merge branch 'hotfix/2.13.3.0'
// FREEBIE
2017-07-06 09:33:57 -05:00
Matthew Chen 7135895c1c Modify TSStorageManager to use separate shared read and write connections.
// FREEBIE
2017-07-05 17:01:28 -04:00
Matthew Chen 284d55ef6c Rework the debug UI.
* Move debug stats to the about view.
* Convert about view to OWSTableView.
* Add DebugUIPage.
* Add non-thread Debug UI.

// FREEBIE
2017-07-04 11:57:13 -04:00
Michael Kirk bef3a56e50 DebugUI: create fake unread messages
helpful for printing unread indicator

// FREEBIE
2017-07-04 09:15:46 -04:00
Matthew Chen 3c28f15dbd Respond to CR.
// FREEBIE
2017-06-16 12:07:15 -04:00
Matthew Chen 75ccff0e4f Improve debug tools for creating “fake” and “tiny attachment” messages.
// FREEBIE
2017-06-16 12:06:53 -04:00
Matthew Chen c7426f9343 Avoid crashing on startup due to database view creation.
* Substitute unread view for unseen view until unseen view is ready.
* Register as many views as possible async.
* Perform blocking, safe migrations before async registration of views.
* Add debug settings view for internal app stats.
* Show blocking overlay until async registration of database views is complete.
* Convert version migrations to use AppVersions.

// FREEBIE
2017-06-15 13:44:30 -04:00
Matthew Chen d0791bf510 Add debug UI to create fake messages.
// FREEBIE
2017-06-14 12:48:13 -04:00
Michael Kirk a139bd73e6 Remove deprecated info message from debug UI
// FREEBIE
2017-06-08 16:04:36 -04:00
Matthew Chen bc63a72c25 Add verification state change messages.
// FREEBIE
2017-06-08 10:44:23 -04:00
Michael Kirk 1a3204bf46 create interaction in thread when missing call due to changed identity
// FREEBIE
2017-06-07 15:04:21 -04:00
Matthew Chen 2d76f2beb9 Respond to CR.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen a013a7206e Rework and unify the system messages.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen 2cbf1e1d05 Rework and unify the system messages.
// FREEBIE
2017-06-06 10:15:56 -04:00
Matthew Chen a37b194dc0 Add debug functions for sending media messages.
// FREEBIE
2017-05-22 20:17:56 -04:00