Commit Graph

66 Commits

Author SHA1 Message Date
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
0c281cab95 Add "log user profiles" debug UI action.
// FREEBIE
2017-09-07 15:33:12 -04:00
Matthew Chen
d8d3f36070 Add "delete all contacts" debug UI action.
// FREEBIE
2017-09-07 15:27:08 -04:00
Michael Kirk
73a441a28c introducing profiles
// FREEBIE
2017-09-05 16:24:33 -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
d71b7684a6 cleanup logging
// FREEBIE
2017-08-29 10:46:10 -04:00
Michael Kirk
6c63009e9e Dedicated "Profile" debug section
// FREEBIE
2017-08-29 10:35:54 -04:00
Michael Kirk
9c56660618 profile key flag and debug action
// FREEBIE
2017-08-29 10:35:54 -04:00
Michael Kirk
903d792af4 Debug action to clobber local profile and key
// FREEBIE
2017-08-24 14:52:49 -04:00
Matthew Chen
14d472781f Respond to CR.
// FREEBIE
2017-08-21 17:13:36 -04:00
Matthew Chen
9e02524b0b Rework the contact offers.
// FREEBIE
2017-08-21 17:05:42 -04:00
Matthew Chen
d476bc286d * Add debug UI tools for clearing and logging the profile whitelist.
* Auto-add new contact threads to profile whitelist when local user sends first message to that thread.
* Ensure dynamic interactions have a non-negative timestamp even if the conversation was empty.
* Only call updateMessageMappingRangeOptions _after_ beginLongLivedReadTransaction and updating messageMappings.
* Improve documentation around how to avoid corrupt mappings in conversation view.
* Fix edge cases around large initial range sizes.
* Always treat dynamic interactions as read.
* Rebuild the “unseen” database views to remove dynamic interactions (see above).

// FREEBIE
2017-08-17 11:22:25 -04:00
Michael Kirk
3d9796db77 Debug actions for calling
For testing stale hangup/busy messages

Extracted MessageSender promise API
Moved call debug actions to their own page

// FREEBIE
2017-08-11 09:21:11 -04:00
Michael Kirk
72b3f3779b Discard GroupInfoRequest from unknown group
// FREEBIE
2017-08-08 12:17:26 -04:00
Michael Kirk
357eb62502 [DEBUG-UI] Add avatar to (some) fake contacts
// FREEBIE
2017-08-03 13:18:36 -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
43f451e236 Remove errant assert.
// FREEBIE
2017-07-28 11:36:39 -04:00
Matthew Chen
5acb3714e9 Add debug UI to enable manual censorship circumvention.
// FREEBIE
2017-07-28 11:17:25 -04:00
Matthew Chen
75c7cc4abf Add debug UI to enable manual censorship circumvention.
// FREEBIE
2017-07-28 11:15:09 -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
Matthew Chen
fdac0305cb Update analytics macros.
// FREEBIE
2017-07-21 15:04:41 -04:00
Michael Kirk
17b1b70726 Remove verification debug UI
There is a more true-to-life way to set verification state - mark
someone as verified or default via the SN UI.

If they are marked as verified, you can mark them as no-longer-verified
by toggling a keychange in the debug UI

// FREEBIE
2017-07-19 09:43:30 -04:00
Matthew Chen
0b28285deb Fix broken tests.
// FREEBIE
2017-07-12 12:14:15 -04:00
Matthew Chen
69ba2811db Run orphan cleanup on startup.
// FREEBIE
2017-07-12 12:14:15 -04:00
markus.fassbender
422336db32 fixes compiler warnings FREEBIE 2017-07-08 17:24:22 -05:00
Matthew Chen
9cbc1e6a1b Block device from sleeping while Debug UI is visible and during database upgrades.
// FREEBIE
2017-07-06 17:35:47 -04: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
1552c64777 Add “delete old messages” and “save all attachments” debug commands.
// FREEBIE
2017-07-04 11:57:13 -04:00
Matthew Chen
72faa5f82d Add clean up command to the “orphan audit” debug UI.
// FREEBIE
2017-07-04 11:57:13 -04:00
Matthew Chen
feb32fdf8e Find orphan and missing attachment stream files.
// FREEBIE
2017-07-04 11:57:13 -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
db3407853a Refine fake contact creation.
// FREEBIE
2017-06-23 09:37:22 -04:00
Matthew Chen
bd440f0878 Respond to post-holiday code reviews.
// FREEBIE
2017-06-17 13:38:19 -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
Matthew Chen
389305e2b9 Fix build warnings.
// FREEBIE
2017-06-13 10:42:35 -04:00
Matthew Chen
11ca51c95f Show verification state banner. Show verification state in conversation settings view.
// FREEBIE
2017-06-09 16:21:59 -04:00
Michael Kirk
6715e76c99 Prefer archiving, to deleting old sessions for better handling of out of
order decryption.

// FREEBIE
2017-06-08 16:19:31 -04:00
Michael Kirk
a139bd73e6 Remove deprecated info message from debug UI
// FREEBIE
2017-06-08 16:04:36 -04:00