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

Add script and style REST APIs #21244

Open
wants to merge 45 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a35cf09
Add script and style REST APIs
spacedmonkey Mar 29, 2020
34c4fff
Fix PHP
spacedmonkey Apr 5, 2020
fef5c04
Fix lints
spacedmonkey Apr 5, 2020
b769fe3
Update lib/class-wp-rest-dependencies-controller.php
spacedmonkey Apr 6, 2020
529dd66
Merge branch 'master' into feature/dependancy-api
spacedmonkey May 27, 2020
6bab6e9
Add embed links.
spacedmonkey May 27, 2020
cd40b89
Normalize data.
spacedmonkey Jun 10, 2020
e84e14f
More tweaks
spacedmonkey Jun 10, 2020
6d3b643
Change namespace.
spacedmonkey Jun 10, 2020
a833c52
Add valid permission checks.
spacedmonkey Jun 11, 2020
4d408e9
Merge branch 'master' into feature/dependancy-api
spacedmonkey Jul 16, 2020
1828bac
Merge branch 'master' into feature/dependancy-api
Oct 20, 2020
1d14106
Fix lib/load.php spacing
Oct 20, 2020
d3eaebf
Implement PR feedback regarding code readability and abstract methods
Oct 20, 2020
bc7b1de
Move adding links to block types into filter supported by Core
Oct 21, 2020
562342c
Updated comments
Oct 21, 2020
3760c29
Block types tests to ensure links for scripts / styles work correctly
Oct 21, 2020
5233f72
Fix phpcs linting
Oct 21, 2020
88ac877
Added tests for new controllers
Oct 23, 2020
8a6127e
Updated controllers to avoid get_core_assets() body code duplicated e…
Oct 23, 2020
e0bf62a
Fix typo in APi word
Oct 23, 2020
ec18a68
Fix CI issues
Oct 23, 2020
d4afbe8
Fix CI issues
Oct 23, 2020
aa852f5
Exclude asset from its dependencies list
Oct 23, 2020
01012ca
Update phpunit/class-rest-block-types-controller-test.php
lukaspawlik Oct 23, 2020
0c3982f
Update phpunit/class-rest-scripts-controller-test.php
lukaspawlik Oct 23, 2020
71b5e79
Address PR feedback
Oct 23, 2020
e0f5ec4
Refactor code as per PR feedback
Oct 23, 2020
3cf5f6e
Merge branch 'feature/dependency-api-tweaks' of github.com:spacedmonk…
Oct 23, 2020
9537a99
Update lib/rest-api.php
lukaspawlik Oct 23, 2020
d1d173d
Update lib/rest-api.php
lukaspawlik Oct 23, 2020
5c04954
Add dedicated test to check asset being excluded from its dependencie…
Oct 23, 2020
6a92e75
Reorder tests methods to follow best practices
Oct 23, 2020
4adbca7
Add new tests
Oct 23, 2020
8652186
Added more dependencies REST endpoints tests
Oct 23, 2020
7035c3e
Use dataProvider instead of loops
Oct 30, 2020
0f6c780
Update phpunit/class-rest-scripts-controller-test.php
lukaspawlik Oct 30, 2020
4a50d48
Update phpunit/class-rest-styles-controller-test.php
lukaspawlik Oct 30, 2020
aa4b637
Fixed tests
Oct 30, 2020
9c38284
Merge branch 'feature/dependency-api-tweaks' of github.com:spacedmonk…
Oct 30, 2020
6ebdf84
Fixed tests
Oct 30, 2020
c8db238
Merge branch 'master' into feature/dependency-api-tweaks
Oct 30, 2020
9bfe1ae
Merge branch 'master' into feature/dependancy-api
Oct 30, 2020
4170447
Merge branch 'feature/dependancy-api' into feature/dependency-api-tweaks
Oct 30, 2020
65b2d87
Merge pull request #1 from spacedmonkey/feature/dependency-api-tweaks
spacedmonkey Oct 30, 2020
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
Loading