wordpress-fontawesome/includes
Mike Wilkerson 1b8c4596c0
Handle restricted filesystem permissions and allow for disabling block editor support (#243)
* update theme-alpha to derive from twenty-twenty-five

* add try / catch / notify in activator

* add more custom exceptions

* Enable fallback checking for svg stylesheet using HEAD request

* enable differentiating admin warnings from fatal errors

and allow for multiline exception messages.

* check for svg styles with fallback warning notice when in WP admin

* use the warning version of fetch_svg_styles from the config controller too

* make the block editor support actions disableable

* rename function as ensure_

* on activation, initialize svg styles conditionally

* pre-release 5.0.2-1

* re-work the classic editor support

- handle null results when querying for editorId element
- use jQuery to handle binding click events to editors to avoid loss of
  click event bindings due to interaction with other plugin

* rebuild classic-editor bundle

* comment out special filters in theme-alpha/functions.php

* fix translators comment for phpcs

* make jquery dependence explicit for classic-editor

* move maybe_refresh_releases into initialize_admin()

* add default SVG styles

* maybe_refresh_releases only on the plugin's settings page

* reduce admin notices to warnings

* bump version

* wp_die with descriptive message on failed activation

* Fixes for phpcs

* update actions/cache version

* Update Dockerfile-latest to add uopz extension

* migrate SVG styles manager away from being a singleton

- make it more testable with uopz

* update multi-site activation tests to use non-singleton SVG styles
manager

* add uopz extension to CI

* add test coverage for svg styles on activation

* cleanup and auto-formatting

* cleanup and focus ActivationTest

* move svg-styles-manager tests into a separate test module

* add test coverage for filesystem permissions error on activation

* add coverage for throwing a specific exception when lacking filesystem
permissions

* add test coverage for stylesheet presence with and without filesystem permissions

* add more test coverage for loading including wp-admin

* enable uopz extension only for phpunit runs
2025-05-23 14:35:03 -07:00
..
class-fontawesome-activator.php Handle restricted filesystem permissions and allow for disabling block editor support (#243) 2025-05-23 14:35:03 -07:00
class-fontawesome-api-controller.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-api-settings.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-command.php Fix upgrade process and replace some closure callbacks (#73) 2020-03-06 15:04:33 -08:00
class-fontawesome-config-controller.php Handle restricted filesystem permissions and allow for disabling block editor support (#243) 2025-05-23 14:35:03 -07:00
class-fontawesome-conflict-detection-controller.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-deactivator.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-exception.php Handle restricted filesystem permissions and allow for disabling block editor support (#243) 2025-05-23 14:35:03 -07:00
class-fontawesome-metadata-provider.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-preference-check-controller.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-preference-conflict-detector.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-release-provider.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-resource.php Prepare for release 4.0.0 (#58) 2020-03-04 13:54:26 -08:00
class-fontawesome-resourcecollection.php Prepare for release 4.0.0 (#58) 2020-03-04 13:54:26 -08:00
class-fontawesome-rest-response.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00
class-fontawesome-svg-styles-manager.php Handle restricted filesystem permissions and allow for disabling block editor support (#243) 2025-05-23 14:35:03 -07:00
class-fontawesome.php Handle restricted filesystem permissions and allow for disabling block editor support (#243) 2025-05-23 14:35:03 -07:00
error-util.php Handle restricted filesystem permissions and allow for disabling block editor support (#243) 2025-05-23 14:35:03 -07:00
ignored-handles.php Prepare for release 4.0.0 (#58) 2020-03-04 13:54:26 -08:00
is-gutenberg-page.php Version 5: enhanced block editing and self-hosting (#224) 2025-02-24 11:07:41 -08:00