Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status Report Page #3130

Merged
merged 70 commits into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
180b6ba
Make info "not-private" and adjust add_filter call
felipeelia Nov 11, 2022
a84973c
Add notice to sync and install page re- too many fields
felipeelia Nov 11, 2022
8626a1e
Status report page
felipeelia Nov 11, 2022
a6953f2
Add some simple style
felipeelia Nov 11, 2022
d8395ac
allow var_export
felipeelia Nov 11, 2022
4e55b03
Basic ES info
felipeelia Nov 11, 2022
76b1bb1
sort keys + support to PHP 7
felipeelia Nov 11, 2022
2a7aa89
Improve output hierarchy + more info
felipeelia Nov 14, 2022
5d2e0c5
WordPress Info
felipeelia Nov 14, 2022
d02dc51
Copy and paste functionality
felipeelia Nov 14, 2022
68cfd0e
Move StatusReport to Screen
felipeelia Nov 14, 2022
0f21577
Improve readability
felipeelia Nov 14, 2022
58d1759
Status Report intro
felipeelia Nov 14, 2022
2788d29
Move style enqueue to the StatusReport class
felipeelia Nov 14, 2022
5b9fbb4
Limited count of post meta
felipeelia Nov 15, 2022
d143b9a
Minor adjustments
felipeelia Nov 15, 2022
0de1e2c
Add more info
felipeelia Nov 15, 2022
0b1cad7
Move autosuggest report
felipeelia Nov 15, 2022
1ccdecc
Cache total fields limit
felipeelia Nov 15, 2022
8fa4a62
Lint
felipeelia Nov 15, 2022
a61930e
Remove transients on uninstall
felipeelia Nov 15, 2022
562d4dd
New ep_status_report_reports filter
felipeelia Nov 15, 2022
1d24c9a
Remove duplicated entry
felipeelia Nov 15, 2022
bcd162b
small cleanup
felipeelia Nov 15, 2022
03f2e10
Alignment
felipeelia Nov 15, 2022
8b839f1
Unit tests
felipeelia Nov 15, 2022
fc8cd02
Only add sku variations if it is really a product
felipeelia Nov 16, 2022
ba92554
Take ep_prepare_meta_data into account
felipeelia Nov 16, 2022
2012ee3
Status report refinements.
JakePT Nov 16, 2022
d22f944
Merge branch 'feature/addl-debug-info' of github.com:10up/ElasticPres…
JakePT Nov 16, 2022
59eef8b
Merge branch 'develop' into feature/addl-debug-info
felipeelia Nov 16, 2022
46d3383
Add unit tests for get_distinct_meta_field_keys_db
felipeelia Nov 16, 2022
55585d4
Unit tests for get_distinct_meta_field_keys_db_per_post_type
felipeelia Nov 16, 2022
32985ee
More unit tests
felipeelia Nov 16, 2022
8d05abe
Do not recalculate the number of objects found
felipeelia Nov 16, 2022
c41b1cb
Update the number of searchable post types
felipeelia Nov 16, 2022
4c3da44
Unit tests for get_index_total_fields_limit
felipeelia Nov 16, 2022
0d46ba2
Fix filter name
felipeelia Nov 16, 2022
9dc62fd
Update aria-controls
felipeelia Nov 16, 2022
65c58de
Cache get_distinct_meta_field_keys_db_per_post_type results
felipeelia Nov 16, 2022
00a3d56
Only allow calls from a specific page
felipeelia Nov 16, 2022
0e72515
Fix e2e test
felipeelia Nov 16, 2022
b396cbe
Expand messages a bit
felipeelia Nov 16, 2022
73a5cef
Fix lint
felipeelia Nov 16, 2022
9073aea
remove test code
felipeelia Nov 16, 2022
3dee764
Check all websites
felipeelia Nov 16, 2022
96ec317
EP also needs to be network activated
felipeelia Nov 16, 2022
016e3a6
Refactor multisite check
felipeelia Nov 16, 2022
19066f8
Fix errors when data missing.
JakePT Nov 17, 2022
20b504e
Fix error if indices are missing.
JakePT Nov 17, 2022
8ce3ad0
Add indexable content report.
JakePT Nov 17, 2022
7554b22
Adjust multisite check
felipeelia Nov 17, 2022
7de0e36
Output all keys
felipeelia Nov 17, 2022
4258eda
Make sure the method always return an array
felipeelia Nov 17, 2022
87405b8
Add a notice about limited results (to be reviewed)
felipeelia Nov 17, 2022
e746a52
Make sure the transient will be under the limit
felipeelia Nov 17, 2022
dda9d0f
Rename ES report and add timeouts
felipeelia Nov 17, 2022
a0e6612
dockblocks
felipeelia Nov 17, 2022
09308a2
Restore notice for limited meta key reports.
JakePT Nov 17, 2022
f539255
Merge branch 'feature/addl-debug-info' of github.com:10up/ElasticPres…
JakePT Nov 17, 2022
c9683e3
Adjust _n calls
felipeelia Nov 17, 2022
9c19731
Cache ep_post_meta_keys_db
felipeelia Nov 17, 2022
ee70c03
Cache clear mechanism
felipeelia Nov 17, 2022
02aef0d
Copy adjustments
felipeelia Nov 17, 2022
f2a416b
Add Instant Results template to status report.
JakePT Nov 18, 2022
a61e0bf
Rename Autosuggest report class.
JakePT Nov 18, 2022
255a2fe
Adjust "use" statements
felipeelia Nov 18, 2022
fb80648
Delete ep_meta_field_keys on uninstall
felipeelia Nov 18, 2022
05bde14
New filters + tests
felipeelia Nov 21, 2022
279a0dd
Skip nonce verification for GET
felipeelia Nov 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename Autosuggest report class.
  • Loading branch information
JakePT committed Nov 18, 2022
commit a61e0bf13b3f36d5b16082b2409e1e497e45f329
5 changes: 2 additions & 3 deletions includes/classes/Screen/HealthInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ public function epio_autosuggest_health_check_info( $debug_info ) {
return $debug_info;
}

$autosuggest_report = new \ElasticPress\StatusReport\Autosuggest();

$groups = $autosuggest_report->get_groups();
$epio_report = new \ElasticPress\StatusReport\ElasticPressIo();
$groups = $epio_report->get_groups();
$first_group = reset( $groups );

$debug_info['epio-autosuggest'] = [
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/Screen/StatusReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function get_reports() : array {
$reports['indices'] = new \ElasticPress\StatusReport\Indices();

if ( Utils\is_epio() ) {
$reports['autosuggest'] = new \ElasticPress\StatusReport\Autosuggest();
$reports['autosuggest'] = new \ElasticPress\StatusReport\ElasticPressIo();
}

$reports['last_sync'] = new \ElasticPress\StatusReport\LastSync();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
defined( 'ABSPATH' ) || exit;

/**
* Autosuggest report class
* ElasticPressIo report class
*
* @package ElasticPress
*/
class Autosuggest extends Report {
class ElasticPressIo extends Report {

/**
* Return the report title
Expand Down