-
Notifications
You must be signed in to change notification settings - Fork 140
Introduce UI for managing Performance Lab standalone plugins. #864
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
Merged
felixarntz
merged 118 commits into
feature/creating-standalone-plugins
from
issue/651-pl-settings-screen-manage-standalone-plugins
Nov 21, 2023
Merged
Changes from 1 commit
Commits
Show all changes
118 commits
Select commit
Hold shift + click to select a range
b3be9f3
Merge branch 'trunk' of github.com:WordPress/performance into trunk
10upsimon 00b04a5
Merge branch 'trunk' of github.com:WordPress/performance into trunk
10upsimon 5e557cc
Merge branch 'trunk' of github.com:WordPress/performance into trunk
10upsimon 6c86689
Merge branch 'trunk' into enhancement/652-migration-ui-from-old-modul…
10upsimon 72dd81f
Merge remote-tracking branch 'origin/trunk' into enhancement/652-migr…
10upsimon 61829fa
WIP add plugin_manager.js POC file to showcase endpoint logic is work…
10upsimon 9f12f4c
Add build command for admin JS assets.
10upsimon 7b40985
WIP Defined class structure and classes (POC) for handling standalone…
10upsimon 622fd8b
Define autoload class mapping in composer.
10upsimon 0b3d019
Instantiate plugin manager class and associated rest class instantes …
10upsimon 918c176
Update gitignore so that built script dir is ignored.
10upsimon 084cd26
Update namespace.
10upsimon 3823c3f
WIP standalone plugins
10upsimon 4f997a5
Merge branch 'trunk' of github.com:WordPress/performance into trunk
10upsimon b07fa1b
Merge branch 'trunk' into enhancement-v2/652-migration-ui-from-old-mo…
10upsimon 88fc7e3
Add Plugin_Manager class to handle rendering/UI for plugin cards, and…
10upsimon f79613d
Fix kses error.
10upsimon 139f32c
Ongoing translation tweaks. Redundant code and method removal.
10upsimon 6dc97e1
Remove no longer needed REST controller files.
10upsimon 2037e8e
Remove redundant REST use statements following removal of rest contro…
10upsimon 2b176db
Update package lock file.
10upsimon 7f969b3
Removed redundant admin asset compilation script in package json.
10upsimon 4da908b
Remove redundant src folder.
10upsimon 50a0d2f
Removed update class from update plugin button to avoid ajax update p…
10upsimon 7b6b21c
Merge branch 'trunk' of github.com:WordPress/performance into trunk
10upsimon b3c6e5b
Merge branch 'trunk' into feature/creating-standalone-plugins
10upsimon f6460a6
Merge branch 'feature/creating-standalone-plugins' of github.com:Word…
10upsimon 49faaf2
Merge branch 'feature/creating-standalone-plugins' into issue/651-pl-…
10upsimon bbcaf9e
Clean up action hook names.
10upsimon fa14ced
Reduce code complexity dramatically, lean out logic.
10upsimon 5bd759f
Format since docblock properties.
10upsimon fe4cdd1
Add output escaping where necessary.
10upsimon c74fb6d
Rename hook callback to have perflab_ prefix.
10upsimon c21d004
Add performant-translations to standalone plugins reference array.
10upsimon 60a72f7
Update includes/classes/class-plugin-manager.php, replace SQLite plug…
10upsimon c3af812
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon 084c76c
Remove admin assets from gitignore, no longer required.
10upsimon 0370ffc
Update includes/classes/class-plugin-manager.php, include escaping on…
10upsimon 205364b
Update includes/classes/class-plugin-manager.php, include escaping on…
10upsimon 683dd85
Update includes/classes/class-plugin-manager.php, include escaping on…
10upsimon 8f1d767
Update includes/classes/class-plugin-manager.php, include escaping on…
10upsimon c2ed639
Update includes/classes/class-plugin-manager.php, include escaping on…
10upsimon f5e39d6
Update includes/classes/class-plugin-manager.php, include escaping on…
10upsimon a75a44e
Update includes/classes/class-plugin-manager.php, replace usage of ec…
10upsimon 0511d4f
Update includes/classes/class-plugin-manager.php, replace usage of ec…
10upsimon 13db576
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon 4ba92e3
Update more details URL to be better escaped and constructed with add…
10upsimon 9b3c413
Change access level of get_standalone_plugins method to private.
10upsimon 3bb70fc
Update includes/classes/class-plugin-manager.php
10upsimon c135e06
Update includes/classes/class-plugin-manager.php
10upsimon 41acf4a
Update includes/classes/class-plugin-manager.php
10upsimon 7b118f0
Update includes/classes/class-plugin-manager.php
10upsimon 994726d
Update admin/load.php
10upsimon f9d0715
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon 2cb8939
Remove unnecesary void return docblock statement.
10upsimon f2b134d
Update admin/load.php add conditional wrapper to wp_safe_redirect.
10upsimon b38a947
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon bf99424
Rename admin script enqueue function and move into perflab_load_modul…
10upsimon 9fd2536
Dissolve Plugin_Manager class into standalone functions.
10upsimon 6248c3b
Remove autoloader require and replace prior method based plugin cards…
10upsimon b3e2236
Manually require new admin plugin files when admin, as opposed to pri…
10upsimon 4b83a79
Remove no longer required includes/classes directory and said contents.
10upsimon 822212d
Remove classmap property following removal of class based approach fo…
10upsimon 6ea7a3c
Remove classmap property following removal of class based approach fo…
10upsimon bb58fc5
Split standalone plugin activation and deactivation into standalone a…
10upsimon ddaf667
Clean up activate and deactivate link generation.
10upsimon 2583f3d
Clean up string concat for plugin action nonce checks.
10upsimon fe45bb5
Add admin/plugins.php to tests bootstrap.
10upsimon 6010c91
Update admin/load.php use core wp input sanitisation functions.
10upsimon 08f0a29
Update admin/load.php use core wp input sanitisation functions.
10upsimon f7be7d9
Update admin/plugins.php, formatting improvements.
10upsimon 19358e2
Update admin/plugins.php, formatting enhancements.
10upsimon b2995cd
Return form plugin UI rendering if there are no standalone plugins.
10upsimon 462b858
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon 0a20c0a
Remove unnecessary exit statements and return instead of exit on unde…
10upsimon 2246e74
Update admin/load.php, more graceful error exiting if user lacks perm…
10upsimon a2e1c1d
Update admin/load.php, more graceful error exiting if user lacks perm…
10upsimon 370281b
Update admin/load.php
10upsimon d8788d9
Update admin/load.php
10upsimon ee80a4a
Update admin/plugins.php
10upsimon 9faf4cd
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon e7417e6
Update admin/plugins.php, move cap check into switch condition.
10upsimon 9453458
Update admin/plugins.php, move cap check into switch condition.
10upsimon 69963f8
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon dacbab7
Check admin referer spelling error correction.
10upsimon f7c0c29
Add new perflab_get_plugin_info() for separation of concerns, utilise…
10upsimon 8010a42
Doc block 3rd person singular verb fix.
10upsimon 1782a63
Remove wrapped check for install_plugins and activate_plugins cap che…
10upsimon d471dde
Remove plugin update ability and move update case into same activate …
10upsimon 6c78993
Add plugin activate and deactivate URL params, raise admin notices as…
10upsimon 86ef7bb
Update admin/plugins.php, better docblock description.
10upsimon fb33ff0
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon f43d47c
Decouple retrieval of plugin info via API, pass plugin_data to plugin…
10upsimon 5ffd5ec
Merge branch 'feature/creating-standalone-plugins' into issue/651-pl-…
felixarntz 1089fa3
Update parameter description.
felixarntz 6eab09c
Update PHPCS violations ignore statements.
felixarntz 07d87c3
Update PHPCS violations ignore statements.
felixarntz e9f078a
Update admin/load.php add wp_unslash() to plugin request var.
10upsimon fbce6f9
Update admin/plugins.php, add filter doc reference to docblock.
10upsimon 7aa174e
Update admin/plugins.php, escaping fixes.
10upsimon b271368
Update admin/load.php, add wp_unslash() when obtaining plugin from re…
10upsimon 0bf8650
Update admin/plugins.php, formatting fixes.
10upsimon db4c18f
Update admin/plugins.php, formatting fixes.
10upsimon b542aa4
Update admin/plugins.php, formatting fixes.
10upsimon ea7bea8
Update admin/plugins.php, add reference to core where code was lifted…
10upsimon 60673d7
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon 8e9deb1
Clean up inline markup for wordpress and php version support annotati…
10upsimon 8167002
Update admin/plugins.php, add escaping.
10upsimon 2a4bf06
Update admin/plugins.php, add escaping.
10upsimon cee7509
Update admin/plugins.php, add escaping.
10upsimon f2293dd
Update admin/plugins.php, add escaping.
10upsimon 182a458
Update admin/plugins.php, add filter docs reference.
10upsimon aa4fdb7
Update admin/plugins.php, comment formatting fix.
10upsimon e2f4ab4
Merge branch 'issue/651-pl-settings-screen-manage-standalone-plugins'…
10upsimon 211c474
Fix precision alignment of 2 spaces linting error.
10upsimon e38877a
Update author 'By' output escaping to use wp_kses_post in order to no…
10upsimon bb33bbf
Remove escaping from author output.
10upsimon 37d4d07
Undo package-lock updates, not needed.
10upsimon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update admin/load.php, more graceful error exiting if user lacks perm…
…issions to activate plugin. Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
- Loading branch information
commit 2246e7492e3d92cee16a1711688bcd1682d9ecce
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.