Skip to content

v2.1.0 馃寛

Choose a tag to compare

@eighty20results eighty20results released this 08 Jan 11:01
· 14 commits to main since this release

Changes

馃攧 Generated POT File (WordPress .pot File Generator)
BUG FIX: Didn't exclude execution when running against main branch
BUG FIX: Didn't cache dependencies during workflow
BUG FIX: Only run deploy target if we're on a main branch
BUG FIX: Revert branch limitation
BUG FIX: Attempt to deal with branches better
BUG FIX: Very basic unit testing for MixpanelConnector()
BUG FIX: Standardize the user ID info for the MixpanelConnector Tests
BUG FIX: Clean up test workflow for PRs
BUG FIX: Bad parsing of README file
BUG FIX: Run deploy in test if we're not on the default (main) branch
BUG FIX: Updated CHANGELOG (v2.1.0 for WP 5.8.2)
BUG FIX: Updated README info (v2.1.0 for WP 5.8.2)
BUG FIX: Updated metadata.json for v2.1.0 and WP 5.8.2
BUG FIX: Doesn't handle the tag
BUG FIX: Incorrect info in Copyright notice
BUG FIX: Don't use variable in action name
BUG FIX: Didn't hide the makefile script
BUG FIX: Only run i18n build for a push or when creating a pull request
BUG FIX: Don't run the i18n stuff in the test workflow for Releases
BUG FIX: Forgot to remove the build_i18n dependency
BUG FIX: Updated copyright notices (Thomas Sjolshagen)
BUG FIX: Clean up the path (Thomas Sjolshagen)
BUG FIX: Use compgen with wildcard to check for .zip archive presence (Thomas Sjolshagen)
BUG FIX: Didn't enforce use of Bash (Thomas Sjolshagen)
BUG FIX: Update the action badges and fix the Readme.md file, plus clean up naming for release CI/CD flow (Thomas Sjolshagen)
BUG FIX: End-of-Command for deploy target (Thomas Sjolshagen)
BUG FIX: Not finding the plugin package (Thomas Sjolshagen)
BUG FIX: Typo in environment variable assignment (Thomas Sjolshagen)
BUG FIX: Didn't realize set-env was deprecated (Thomas Sjolshagen)
BUG FIX: Broken workflow definition, oops! (Thomas Sjolshagen)
BUG FIX: Add comment to describe workflow purpose for test_workflow (Thomas Sjolshagen)
BUG FIX: Clean up workflow definition and deploy.sh branch testing (Thomas Sjolshagen)
BUG FIX: Use ls command for wildcard based plugin archive test and allow mocking of deployment operation when not in main branch (Thomas Sjolshagen)
BUG FIX: Use ls command for wildcard based plugin archive test (Thomas Sjolshagen)
BUG FIX: Reactivate the deploy Makefile target (Thomas Sjolshagen)
BUG FIX: Enable debug run for deploy.sh (Thomas Sjolshagen)
BUG FIX: Add error checking for WordPress version info (Thomas Sjolshagen)
BUG FIX: Not using correct Tested up to value (Thomas Sjolshagen)
BUG FIX: Clean up cache key names (Thomas Sjolshagen)
BUG FIX: Add 2nd caching operation (Thomas Sjolshagen)
BUG FIX: Bad use of env variable in cache key (Thomas Sjolshagen)
BUG FIX: Attempt to include caching of the build/kits directory too (Thomas Sjolshagen)
BUG FIX: More debug output for the deploy target (Thomas Sjolshagen)
BUG FIX: Incorrect path for the plugin archive (Thomas Sjolshagen)
BUG FIX: Use wildcard for plugin archive (Thomas Sjolshagen)
BUG FIX: Fix else clause in deploy target (Thomas Sjolshagen)
BUG FIX: Used the wrong file name when testing for presence of plugin kit in deploy target (Thomas Sjolshagen)
BUG FIX: Typo in build target (Thomas Sjolshagen)
BUG FIX: Adding test for the plugin archive to attempt to deploy (Thomas Sjolshagen)
BUG FIX: Updates to include the build/kits directories (Thomas Sjolshagen)
BUG FIX: Better ID for cache key (Thomas Sjolshagen)
BUG FIX: Adding support for the build directory (to include .zip file) (Thomas Sjolshagen)
BUG FIX: Adding comments to Makefile and cleaning up erroneous stuff (Thomas Sjolshagen)
BUG FIX: Adding Github Action caching for dependencies (Thomas Sjolshagen)
NIT: Removed unneeded todo comment (Thomas Sjolshagen)
BUG FIX: Fix actions (docker hub login, etc) (Thomas Sjolshagen)
BUG FIX: Incorrect 'on' directives for action (Thomas Sjolshagen)
BUG FIX: Clean up test and release action definitions (Thomas Sjolshagen)
BUG FIX: Add info messages for clean-inc Makefile target (Thomas Sjolshagen)
BUG FIX: Didn't consistently log in to Docker HUB (Thomas Sjolshagen)
BUG FIX: Updates to Github actions we want to use (Thomas Sjolshagen)
BUG FIX: Clean up Integration tests and settings (Thomas Sjolshagen)
BUG FIX: Didn't make sure it would run as an integration test (Thomas Sjolshagen)
BUG FIX: Typo in image-build target output (Thomas Sjolshagen)
BUG FIX: Refactored to use Integration tests rather than WPUnit tests (Thomas Sjolshagen)
BUG FIX: Renamed *test to *tests (plural) (Thomas Sjolshagen)
BUG FIX: Updated copyright notices and documentation (Thomas Sjolshagen)
BUG FIX: Remove .gitignore for the *TesterActions classes in the repo (Thomas Sjolshagen)
BUG FIX: Updated copyright notices and documentation (Thomas Sjolshagen)
Updated to version 2.1.0 (Thomas Sjolshagen)
BUG FIX: Problem with PHP8.0 during WPUnit tests (Thomas Sjolshagen)
BUG FIX: Another attempt at cleaning up the Docker HUB login process (Thomas Sjolshagen)
BUG FIX: Clean up makefile interface handling (Thomas Sjolshagen)
BUG FIX: Trying to escape the end of command character (Thomas Sjolshagen)
BUG FIX: More attempted fixes for the Docker HUB login issues (Thomas Sjolshagen)
BUG FIX: Fix conditional cli based login to docker hub (Thomas Sjolshagen)
BUG FIX: Check for an expected local network interface and attempt HUB login if found (FIXME) (Thomas Sjolshagen)
BUG FIX: Make sure we're local before trying a docker hub login (Thomas Sjolshagen)
BUG FIX: Handle login using stdin for docker hub (Thomas Sjolshagen)
BUG FIX: Don't silently skip hub login for now (FIXME!) (Thomas Sjolshagen)
BUG FIX: Various updates for improved debug logging (Thomas Sjolshagen)
BUG FIX: Bad test for the image-pull target! (Thomas Sjolshagen)
BUG FIX: Local network status test was wrong (Thomas Sjolshagen)
BUG FIX: Secrets need to exist (FIXME: Don't require secrets to exist for Docker HUB login) (Thomas Sjolshagen)
BUG FIX: Typo in test-workflow.yml YAML file (Thomas Sjolshagen)
BUG FIX: Use GitHub action to log in to Docker Hub when not on own Macbook (Thomas Sjolshagen)
BUG FIX: Bash test operator not working as hoped (Thomas Sjolshagen)
BUG FIX: Adding more debug info for docker hub login target (Thomas Sjolshagen)
BUG FIX: Use --password-stdin when attempting to log in to Docker HUB (Thomas Sjolshagen)
BUG FIX: Missing end of command (;) (Thomas Sjolshagen)
BUG FIX: Change network status test a little (Thomas Sjolshagen)
BUG FIX: Trying to clean up Makefile (Thomas Sjolshagen)
BUG FIX: Adding debug logging for docker hub login action (Thomas Sjolshagen)
BUG FIX: Didn't include the appropriate secrets (Thomas Sjolshagen)
BUG FIX: Revert to minimum PHP version of 7.3 for testing/support (Thomas Sjolshagen)
BUG FIX: Didn't allow testing with PHP 7.1 and run standard test suite (Thomas Sjolshagen)
BUG FIX: Use 7.1 8.0 for testing and ubuntu 18.04. Maybe double string (fixed) (Thomas Sjolshagen)
BUG FIX: Version matrix to strings (Thomas Sjolshagen)
BUG FIX: Disabled PHP7.3 testing but added v8.1 (Thomas Sjolshagen)
BUG FIX: PHP7.3 testing requires self-hosted environment for github action? (Thomas Sjolshagen)
BUG FIX: Reordered checkout and PHP env installation (Thomas Sjolshagen)
BUG FIX: Typo in action description (Thomas Sjolshagen)
BUG FIX: Not a string for the setup-php github action (Thomas Sjolshagen)
BUG FIX: More tests to be fixed after PHPStan and PHPCS related fixes (Thomas Sjolshagen)
BUG FIX: Overzealous error message at instantiation (Thomas Sjolshagen)
BUG FIX: Fixes for PHPStan identified issues (Thomas Sjolshagen)
BUG FIX: Didn't check for the correct domain name when testing early version licensing logic (Thomas Sjolshagen)
BUG FIX: Issues with getting license key and SKU specific settings (Thomas Sjolshagen)
BUG FIX: Shouldn't assume the PHPDoc string is accurate when running PHPStan tests (Thomas Sjolshagen)
BUG FIX: Adding import for stdClass() (Thomas Sjolshagen)
BUG FIX: Code standard updates (Thomas Sjolshagen)
BUG FIX: Error in checks for interface status (Thomas Sjolshagen)
BUG FIX: Incomplete varaible in Makefile check (Thomas Sjolshagen)
BUG FIX: Didn't correctly identify network interface state (Thomas Sjolshagen)
BUG FIX: Incomplete fixes for License() class to pass WPUnit tests (Thomas Sjolshagen)
BUG FIX: Still can't run tests manually when not connected to a network (Thomas Sjolshagen)
BUG FIX: Fix for static PHP code analysis (Thomas Sjolshagen)
BUG FIX: Can't run tests manually when not connected to a network (Thomas Sjolshagen)
BUG FIX: Fix issue with $_SERVER variable when running as standalone unit test (Thomas Sjolshagen)
BUG FIX: Support using a supplied AjaxHandler class (Thomas Sjolshagen)
BUG FIX: Add use of mocked AjaxHandler class (Thomas Sjolshagen)
BUG FIX: Fix missing/wrong PHPDoc strings and refactoring to use more mocked classes (Thomas Sjolshagen)
BUG FIX: Fix missing/wrong PHPDoc strings and use the mocked versions of the LicenseSettings class during tests (Thomas Sjolshagen)
BUG FIX: Fix missing/wrong PHPDoc strings (Thomas Sjolshagen)
BUG FIX: Namespace definition updates (Thomas Sjolshagen)
BUG FIX: Make sure directories are present (Thomas Sjolshagen)
BUG FIX: Handle phpcs warnings and rename (Thomas Sjolshagen)
BUG FIX: Add more logging for debug purposes and fix PHPDoc strings (Thomas Sjolshagen)
BUG FIX: Updated the Tested up to version (Thomas Sjolshagen)
BUG FIX: Refactor, add filtering the in-use $_SERVER variable and added PHPDoc descriptions (Thomas Sjolshagen)
BUG FIX: Refactored and adding more PHPDoc strings (Thomas Sjolshagen)
BUG FIX: Add better exception handling and improved phpdoc strings (Thomas Sjolshagen)
ENH: Refactored, adding documentation and adding support for Mixpanel integration (Thomas Sjolshagen)
ENH: Adding mixpanel handler for class with unit test stub (Thomas Sjolshagen)
BUG FIX: Sanitize the $SERVER variable before use (Thomas Sjolshagen)
BUG FIX: Issues with values defined from PHP constants in Defaults() class (Thomas Sjolshagen)
BUG FIX: Fixed the unit tests for License::activate() and update docstrings (Thomas Sjolshagen)
BUG FIX: BaseSettings class updated for PHPCS (Thomas Sjolshagen)
BUG FIX: New config for PHPCS (Code styles) (Thomas Sjolshagen)
BUG FIX: Old and New settings classes updated to comply with style requirements (Thomas Sjolshagen)
BUG FIX: Exceptions now have required documentation and code styles (Thomas Sjolshagen)
BUG FIX: Fix path to phpcs.xml rules and hash for composer.phar (Thomas Sjolshagen)
BUG FIX: Update settings for PHPStorm IDE in test container (Thomas Sjolshagen)
BUG FIX: Allow custom test execution for WPUnit tests (make wp-unit) (Thomas Sjolshagen)
BUG FIX: Adding LicenseSettings::set() unit tests with a couple of fixes to the method (Thomas Sjolshagen)
BUG FIX: Adding unit tests for LicenseSettings::get()s (Thomas Sjolshagen)
BUG FIX: Didn't retrieve the actual license setting value from LicenseSettings::get() (Thomas Sjolshagen)
BUG FIX: LicenseSettings constructor update (more? readable). (Thomas Sjolshagen)
BUG FIX: Fixes for issues uncovered by unit tests (Thomas Sjolshagen)
BUG FIX: Make sure the load_settings() method loads from the options table and returns the expected settings. (Thomas Sjolshagen)
BUG FIX: Improved test coverage for Defaults() class (Thomas Sjolshagen)
BUG FIX: Removing unused static (public) variables (Thomas Sjolshagen)
BUG FIX: Adding instantiation test w/o mocked Utilities class (Thomas Sjolshagen)
BUG FIX: Old and New settings class with unit tests (Thomas Sjolshagen)
BUG FIX: Moving the bootstrap around a bit (Thomas Sjolshagen)
BUG FIX: Making sure attributes are defined (Thomas Sjolshagen)
BUG FIX: Updates to the WordPress plugin test Dockerfile (Thomas Sjolshagen)
BUG FIX: New class to handle the base license request settings/operations with new exception (Thomas Sjolshagen)
BUG FIX: Modified how we handle licensing so we can simplify request creation (with tests) (Thomas Sjolshagen)
BUG FIX: Update error message for a mal-configured license server url (Thomas Sjolshagen)
BUG FIX: Settings should be based on NewSettings which is based on OldSettings (Thomas Sjolshagen)
BUG FIX: Use smart quote (') (Thomas Sjolshagen)
BUG FIX: When setting some of the constants, the default parameters also need to be updated (Thomas Sjolshagen)
BUG FIX: Add support for locked/unlocked default values (Thomas Sjolshagen)
BUG FIX: Make it possible to lock/unlock any default parameter (Thomas Sjolshagen)
BUG FIX: Attempted to lock an invalid default parameter (Thomas Sjolshagen)
BUG FIX: License_WPUnitTest::test_is_active() should be an integration test. Unit tests are something different (Thomas Sjolshagen)
BUG FIX: Need to be able to test different defaults for the LicenseSettings() class so lock the defaults after the class is created. (Thomas Sjolshagen)
BUG FIX: Needed to be able to lock the version string (Thomas Sjolshagen)
BUG FIX: Directory didn't follow naming conventions (Thomas Sjolshagen)
BUG FIX: Transition to using real (not stubbed) classes and treat WP Unit testing as functional/integration testing. (Thomas Sjolshagen)
BUG FIX: Nit re how invalid field is presented in exception message. (Thomas Sjolshagen)
BUG FIX: Unnecessary empty() check and fix grammar for InvalidSettingKey exception message (Thomas Sjolshagen)
BUG FIX: Need to handle new ErrorSavingSettings() exception in update()/save() method (Thomas Sjolshagen)
BUG FIX: Didn't differentiate between a save/update error so adding new ErrorSavingSettings() exception class (Thomas Sjolshagen)
BUG FIX: Missing set() and update() in LicenseSettings() stub (Thomas Sjolshagen)
BUG FIX: Need exception when attempting to save settings (Thomas Sjolshagen)
BUG FIX: Refactored to use default mocked Utilities class (Thomas Sjolshagen)
BUG FIX: Refactored to be more specific when testing methods. I.e. not test multiple methods for the same class in a single unit test (Thomas Sjolshagen)
BUG FIX: Stubbing home_url() globally causes unexpected test failure in UtilitiesTest::test_is_license_server() (Thomas Sjolshagen)
BUG FIX: Missing wp_date() stub (Thomas Sjolshagen)
BUG FIX: Use wp_date() and not date_i18n() (Thomas Sjolshagen)
BUG FIX: Missing test method description (Thomas Sjolshagen)
BUG FIX: No point treating what should be Unit tests as WP Unit tests (Thomas Sjolshagen)
BUG FIX: Add type to function signature (Thomas Sjolshagen)
BUG FIX: Use assertSame() in place of assertInstanceOf() (Thomas Sjolshagen)
BUG FIX: Wrong date format for OldLicenseSettings::$expires variable (Thomas Sjolshagen)
BUG FIX: Fatal error because no parent class exists in some cases (Thomas Sjolshagen)
BUG FIX: Refactored constant handling in validate() (Thomas Sjolshagen)
BUG FIX: update() didn't check that the settings array received contains data and constants have been moved to Defaults() (Thomas Sjolshagen)
BUG FIX: Signature for LicenseSettings::update() and LicenseSettings::merge() updated (Thomas Sjolshagen)
BUG FIX: Fix the merge() function in LicenseSettings as it needs to return the class not array (Thomas Sjolshagen)
BUG FIX: Adding WPUnit test for the License::activate() function (Thomas Sjolshagen)
BUG FIX: Add new E20R_LICENSE_BLOCKED status (Thomas Sjolshagen)
BUG FIX: Add deprecation 'flag' to the static methods (Thomas Sjolshagen)
BUG FIX: Adding default domain_name variable and setting it to $SERVER['SERVER_NAME'] or localhost by default (filter can be used to change it) (Thomas Sjolshagen)
BUG FIX: Adding documentation for e20r_license_domain_to_license (Thomas Sjolshagen)
BUG FIX: Remove unused exceptions (Thomas Sjolshagen)
BUG FIX: Refactored constants for License status and expanded happy path test (Thomas Sjolshagen)
BUG FIX: Added 'e20r_license_expiration_warning_interval_days' filter to documentation (Thomas Sjolshagen)
BUG FIX: Adding a ServerConnectionError() exception type (Thomas Sjolshagen)
BUG FIX: Add WPUnit tests for License::is_active() and License::is_licensed() methods (Thomas Sjolshagen)
BUG FIX: Refactor License::is_licensed() for WPUnit testing & simplicity (Thomas Sjolshagen)
BUG FIX: Refactor License::is_active() to use LicenseSettings() class and support both old/new plugin model (Thomas Sjolshagen)
BUG FIX: Need to assign new/old license settings class in constructor (Thomas Sjolshagen)
BUG FIX: License settings already loaded when using the LicenseServer::status() method (Thomas Sjolshagen)
BUG FIX: Fatal error due to parent/child constructor loop (Thomas Sjolshagen)
BUG FIX: Incomplete handling of the Utilities() class instantiation in the constructor (Thomas Sjolshagen)
BUG FIX: Fixed a couple of PHPStan errors (Thomas Sjolshagen)
BUG FIX: Removed dead code (Thomas Sjolshagen)
BUG FIX: wait-for-db.sh didn't always let us make sure the whole WordPress test stack was up and running (Thomas Sjolshagen)
BUG FIX: Didn't always return 'true' for the 'e20r_utilities_module_installed' filter even when the plugin is active. (Thomas Sjolshagen)
BUG FIX: Not using Brain\Monkey framework when doing WP Unit testing and add better WP Unit test coverage for more of the 'e20r_utilities_module_installed' filter related Loader() methods (Thomas Sjolshagen)
BUG FIX: Make sure we stick with phpunit 8.5 (for now) (Thomas Sjolshagen)
BUG FIX: Initial configuration for local PHPStorm based debug in test stack (Thomas Sjolshagen)
BUG FIX: Use WP_LANG_DIR constant over $wp_filesystem (Thomas Sjolshagen)
BUG FIX: Need xdebug and custom php.ini section for PHPStorm debug support (Thomas Sjolshagen)
BUG FIX: Remove unused .env file (Thomas Sjolshagen)
BUG FIX: Added a more descriptive error message when something is wrong with this module. (Thomas Sjolshagen)
BUG FIX: Didn't include the autoloader and required installer/licensing modules when building the plugin .zip archive (Thomas Sjolshagen)
BUG FIX: Wrong namespace definition for Licensing (Thomas Sjolshagen)
BUG FIX: Updated action hook locations & test (Thomas Sjolshagen)
BUG FIX: Refactor the Loader() class for Unit & WPUnit testing (Thomas Sjolshagen)
BUG FIX: Added WP unit tests for E20R\Utilities\Loader() class (Thomas Sjolshagen)
BUG FIX: Added missing unit tests for E20R\Utilities\Loader() class (Thomas Sjolshagen)
BUG FIX: Refactoring some standard WP function stubs (Thomas Sjolshagen)
BUG FIX: Fatal exception due to typo in E20R_LICENSING_DEBUG constant name (Thomas Sjolshagen)
BUG FIX: License() constructor didn't use the instantiated settings, server and utilities classes (Thomas Sjolshagen)
BUG FIX: Couldn't define defaults on class construction (Thomas Sjolshagen)
BUG FIX: Test License::get_ssl_verify() method using Codeception + WPUnit testing (Thomas Sjolshagen)
BUG FIX: Typo in wait-for-db.sh (Thomas Sjolshagen)
BUG FIX: Don't run the same tests twice (as functional and wpunit tests) (Thomas Sjolshagen)
BUG FIX: Fatal error because we forgot to update the namespaces (Thomas Sjolshagen)
BUG FIX: USe relative, not full paths (Thomas Sjolshagen)
BUG FIX: Fixed issues with wp_filesystem functionality in I18N loader (Thomas Sjolshagen)
BUG FIX: Remove Loader::auto_load() method (not used) and check that the Utilities class exists before attempting to set up execution of Utilities::load_text_domain() (Thomas Sjolshagen)
BUG FIX: License::activate() accepts a single argument now (Thomas Sjolshagen)
BUG FIX: PHPStan should ignore the possible problem with the Licensing() object (Thomas Sjolshagen)
BUG FIX: A few fixes for PHPStan identified issues (Thomas Sjolshagen)
BUG FIX: No point in registering our own auto-loader when we use composer's (Thomas Sjolshagen)
BUG FIX: PHPStan testing fixes including is_active() being called with too many parameters (Thomas Sjolshagen)
BUG FIX: Use .phpcs.xml.dist custom ruleset and show rules that are triggered during code standard test (Thomas Sjolshagen)
BUG FIX: Code standards nit (tabs vs spaces for whitespace) (Thomas Sjolshagen)
BUG FIX: Couldn't mix PSR-4 autoloading and Code Standard testing (Thomas Sjolshagen)
BUG FIX: Remove PHPCS warnings when (re)defining constructors for Exceptions (Thomas Sjolshagen)
BUG FIX: Didn't use underscore and lowercase letters (search/replace faux pas) (Thomas Sjolshagen)
BUG FIX: Fixed WP code style nit (Thomas Sjolshagen)
BUG FIX: Wrong PHP_CODE_PATHS for code style scanning (Thomas Sjolshagen)
BUG FIX: Support both probable locations for the docker hub key file (Thomas Sjolshagen)
ENH: Make sure the key file is excluded (Thomas Sjolshagen)
BUG FIX: Hadn't mocked the Defaults() class properly (Thomas Sjolshagen)
BUG FIX: Updated ToDo/FixMe comments (Thomas Sjolshagen)
BUG FIX: Clean up unnecessary logging (Thomas Sjolshagen)
BUG FIX: Removed PLUGIN_PHPUNIT constant definition and adding some logging (Thomas Sjolshagen)
BUG FIX: 'Constants' in Defaults() are no longer static (Thomas Sjolshagen)
BUG FIX: Removed old E20R_LICENSING_DEBUG definition in favor of Defaults() based 'constants' (Thomas Sjolshagen)
BUG FIX: Used old constant for debug info which messed up the Defaults() unit tests when running with coverage enabled. Now using received license settings and utilities object in constructor if applicable. (Thomas Sjolshagen)
BUG FIX: Tag formatting was bad (Thomas Sjolshagen)
BUG FIX: Clean up copyright notice (Thomas Sjolshagen)
BUG FIX: Remove dirty 'error_log()' debug attempt and add FixMe comment (Thomas Sjolshagen)
BUG FIX: Instantiated Defaults() at the wrong time and Default::constant() is no longer static (Thomas Sjolshagen)
BUG FIX: Mock the Defaults() class so we can return the fixture specified constant variable(s) and fix the TODOs (Thomas Sjolshagen)
BUG FIX: Utilities::is_license_server() is not longer static and can receive the Defaults() class as an optional argument (testability improvements) (Thomas Sjolshagen)
BUG FIX: Defaults::constant() is no longer static (Thomas Sjolshagen)
BUG FIX: LicenseServer() constructor now receives $this class (Thomas Sjolshagen)
BUG FIX: LicenseServer() constructor now receives the LicenseSettings() class (Thomas Sjolshagen)
BUG FIX: Now have to use LicenseSettings::get('plugin_defaults')->constant() method (Thomas Sjolshagen)
BUG FIX: Make it possible to pass the Utilities class in the constrctor (simplify unit testing) (Thomas Sjolshagen)
BUG FIX: Defaults::constant() is not longer static so have to use the LicenseSettings::get() method to grab the Defaults() class so we can get the expected Defaults::constant(). (Thomas Sjolshagen)
BUG FIX: LicenseServer() class should receive the LicenseSettings() class and use it's get() method for settings (Thomas Sjolshagen)
BUG FIX: Defaults::constant() is no longer a static method (Thomas Sjolshagen)
BUG FIX: Make constant() method Unit testable by Codeception (no longer static) (Thomas Sjolshagen)
BUG FIX: Must pass LicenseSettings() class to LicenseServer() (Thomas Sjolshagen)
BUG FIX: Cleaned up the namespace for the Unit test (Thomas Sjolshagen)
BUG FIX: Fix path values returned for mocked WP functions and return string timezone value for mocked get_option() function (Thomas Sjolshagen)
BUG FIX: Fix path values returned for mocked WP functions BUG FIX: Typed variables for class parameters is a 7.4 thing (Thomas Sjolshagen)
BUG FIX: Didn't mock the Utilities() class BUG FIX: Functions\expect() expects simple types for variables BUG FIX: LicenseSettings() constructor receives the mocked Utilities() class (Thomas Sjolshagen)
BUG FIX: Return relative path when executing mocked plugin_dir_path() and dirname() (Thomas Sjolshagen)
BUG FIX: Don't set hard constants in Unit tests, use more flexible Defaults::constant() and constant locks (Thomas Sjolshagen)
BUG FIX: Update fixtures to reflect constant handling BUG FIX: Add test validating the standard values for the Defaults() constants (Thomas Sjolshagen)
BUG FIX: Revert typed variables (so we can support PHP7.3+ and not be forced to 7.4+) (Thomas Sjolshagen)
BUG FIX: Return relative path for the plugin_dir_path() mock (Thomas Sjolshagen)
BUG FIX: Use standard mock definitions for entire unit test class (Thomas Sjolshagen)
BUG FIX: Revert typed variables (so we can support PHP7.3+ and not be forced to 7.4+) (Thomas Sjolshagen)
BUG FIX: Use Defaults::constant() vs hard coded constants & fix typo for InvalidSettingsKey() (Thomas Sjolshagen)
BUG FIX: Add coverage and be more specific about paths for unit/wpunit/functional/acceptance tests (Thomas Sjolshagen)
BUG FIX: Load I18N on plugin init and remove unused code in Loader::auto_load() (Thomas Sjolshagen)
BUG FIX: Renamed load_textdomain() to load_text_domain() (Thomas Sjolshagen)
BUG FIX: Add more mocked functions and fixtures so we can actually test the Utilities() class (Thomas Sjolshagen)
BUG FIX: Couldn't mock mkdir(), now we can (Thomas Sjolshagen)
BUG FIX: Fix variable names and test for function existence (unit test friendly) in constructor (Thomas Sjolshagen)
BUG FIX: Too permissive for the debug log directory & skip coverage for file_exists & mkdir (Thomas Sjolshagen)
BUG FIX: build_debug_log_file() function returns false if we can't create the directory and thus log() won't try to write anything to the error_log. (Thomas Sjolshagen)
BUG FIX: is_license_server() now checks if the supplied URL matches E20R_LICENSE_SERVER or E20R_LICENSE_SERVER_URL. (Thomas Sjolshagen)
BUG FIX: Revert to PHP 7.3 based function/variable type definitions, lock E20R_LICENSING_DEBUG and E20R_LICENSE_SERVER_URL when defined externally, raise error if user tries unsupported operation against constants. (Thomas Sjolshagen)
BUG FIX: Add a new exception for operations against 'constant' values for the Defaults() class (Thomas Sjolshagen)
BUG FIX: Use the Defaults::constant method for the E20R_LICENSE_SERVER constant (Thomas Sjolshagen)
BUG FIX: Renamed the private m_messages variable to m_message to reflect the mocked class name better (Thomas Sjolshagen)
BUG FIX: Use new() over get_instance() (Thomas Sjolshagen)
BUG FIX: Split out timezone_string option collection (Thomas Sjolshagen)
BUG FIX: Using autoloader instead of manual load of classes (Thomas Sjolshagen)
BUG FIX: Renamed mocked Utilities::is_local_server() to Utilities::is_license_server(), fix PHPDoc strings, add mocked Utilities class to License() instantiation and move assert statements into try/catch blocks (Thomas Sjolshagen)
BUG FIX: Added stubs for get_option() variants (Thomas Sjolshagen)
BUG FIX: Remove constants and use Defaults::constant() with static private variables instead (way easier to unit test) (Thomas Sjolshagen)
BUG FIX: Add unit tests for Defaults::constant(), fix the define()'d constant tests (deactivate), add stub for date_i18n() and make sure we use test the PLUGIN_PHPUNIT setting (Thomas Sjolshagen)
BUG FIX: Clean up namespace pathing (Thomas Sjolshagen)
BUG FIX: Set I18N in plugin header and send log info to error_log() (Thomas Sjolshagen)
BUG FIX: Wrong source file name for the InvalidSettingsKey exception (Thomas Sjolshagen)
BUG FIX: Use Defaults::constant() for the testable 'constant' values (Thomas Sjolshagen)
BUG FIX: Defaults::read_config() shouldn't return any value (exceptions used to handle errors) (Thomas Sjolshagen)
BUG FIX: Updated NewLicenseSettingsTest.php and updated constructor for NewLicenseSettings() to match new LicenseSettings() constructor. Transitioned to protected (not private) parameters (Thomas Sjolshagen)
BUG FIX: Added OldLicenseSettingsTest.php and updated constructor to match new LicenseSettings() constructor. Transitioned to protected (not private) parameters (Thomas Sjolshagen)
BUG FIX: Split test, i18n generation, build and deploy jobs (with dependencies) (Thomas Sjolshagen)
BUG FIX: Expecting the test target to run manually before we build & deploy (Thomas Sjolshagen)
BUG FIX: Using workflow matrix and use coverage target for PR creation (Thomas Sjolshagen)
BUG FIX: Updating workflow to support I18N file genernation and build/deploy dependent on tests (Thomas Sjolshagen)
BUG FIX: Fixed namespace definition, added support for AssertThrows and removed invalid exception type (Thomas Sjolshagen)
BUG FIX: Renamed testAjax_handler_verify_license() to test_ajax_handler_verify_license() and fixed bad PHPDoc string (Thomas Sjolshagen)
BUG FIX: Use the bootstrap to load unit test classes (Thomas Sjolshagen)
BUG FIX: Add coverage target (Thomas Sjolshagen)
BUG FIX: Autoloader attempted to define the class twice (Thomas Sjolshagen)
BUG FIX: Added missing Utilities::is_local_server() mock. (Thomas Sjolshagen)
BUG FIX: Moved tests around a bit (Thomas Sjolshagen)
BUG FIX: Add unit test and fixture for Defaults::read_config() and clean up definitions for PSR-4 autoloader. (Thomas Sjolshagen)
BUG FIX: Pass the Message() and Utilities() class in the constructor (Thomas Sjolshagen)
BUG FIX: Fixed bootstrap for Codeception Unit tests (Thomas Sjolshagen)
BUG FIX: Made the E20R\Utilities\Loader() class unit test friendly and it now loads the Composer autoloader tools (Thomas Sjolshagen)
BUG FIX: Moved to src/E20R path (Thomas Sjolshagen)
BUG FIX: Updated codeception include paths to match PSR-4 compliant directory layout (Thomas Sjolshagen)
BUG FIX: Moved to src/E20R path (Thomas Sjolshagen)
BUG FIX: Moved the .json config file and made its content a constant in the Defaults() class (Thomas Sjolshagen)
BUG FIX: Made the file names PSR-4 autoload compliant, moved them to the src/E20R subdirectory and updated composer.json accordingly (Thomas Sjolshagen)
BUG FIX: Make Utilities() class Unit Test friendly, rename is_local_server() to is_license_server() and fix its logic a little (Thomas Sjolshagen)
BUG FIX: Added Utilities::is_license_server() unit test (Thomas Sjolshagen)
BUG FIX: Renamed Exception from ConfigFileNotFound() to ConfigDataNotFound() (Thomas Sjolshagen)
BUG FIX: Rename param_exists() to exists() and add additional exception to catch (Thomas Sjolshagen)
BUG FIX: AjaxHandler() instantiated with the LicenseSettings() and LicenseServer() classes supplied (Thomas Sjolshagen)
BUG FIX: Fix constructor so it's possible to unit test w/o a lot of additional work, align I18N domain and use esc_attr
() instead of __() (Thomas Sjolshagen)
BUG FIX: Exceptions are unit tested as part of Defaults_Test unit test class (Thomas Sjolshagen)
BUG FIX: Exclude the static compatibility functions from unit testing (covered by other unit tests) (Thomas Sjolshagen)
BUG FIX: Didn't support the static licensing functions (Thomas Sjolshagen)
BUG FIX: Didn't mock the Utilities class we use in the Defaults() class (Thomas Sjolshagen)
BUG FIX: Add Utilities class to constructor (more unit testing enhancements) (Thomas Sjolshagen)
BUG FIX: Missing I18N directory (Thomas Sjolshagen)
BUG FIX: Make the Licensing() class unit-test friendly (Thomas Sjolshagen)
BUG FIX: Revert removal of core files used for mocking purposes (Thomas Sjolshagen)
BUG FIX: Remove unused core WP class files (Thomas Sjolshagen)
BUG FIX: Difficult to unit test the LicenseSettings() class because of its dependency on the Defaults() class (Thomas Sjolshagen)
BUG FIX: Be explicit about the namespace WP_Filesystem() belongs to (Thomas Sjolshagen)
BUG FIX: Needed a MissingServerURL exception (Thomas Sjolshagen)
BUG FIX: read_config() should be public (Thomas Sjolshagen)
BUG FIX: YML and PHP is a bit of a pain so using JSON instead for the config file (Thomas Sjolshagen)
BUG FIX: Missing unit tests for Defaults::read_config() (Thomas Sjolshagen)
BUG FIX: Use JSON as the config format YML is a bit of a pain in PHP (Thomas Sjolshagen)
BUG FIX: Let's mock dirname() as well (Thomas Sjolshagen)
BUG FIX: Don't throw a PHP Notice if PMPro isn't spun up/active (Thomas Sjolshagen)
BUG FIX: Required so we can use standard unit testing frameworks and not have to spin up WP (Thomas Sjolshagen)
BUG FIX: Remove CONST variables used to configure the plugin in favor of the Defaults() class (Thomas Sjolshagen)
BUG FIX: Renamed with correct postfix and add store_code to expected values in fixture (Thomas Sjolshagen)
BUG FIX: Add store code variable to class-defaults.php and read it from a config file (Thomas Sjolshagen)
BUG FIX: Save some default settings in config file (Thomas Sjolshagen)
BUG FIX: Additional exception class ConfigFileNotFound() (Thomas Sjolshagen)
BUG FIX: Initial commit of the happy path testing of the instantiation of LicenseSettings() (Thomas Sjolshagen)
BUG FIX: Didn't update the license settings when the default plugin settings got updated BUG FIX: Didn't handle an empty SKU string BUG FIX: Warning/error message nits (Thomas Sjolshagen)
BUG FIX: Simplify the build_connection_uri() function (Thomas Sjolshagen)
BUG FIX: Refactor from CONST based settings to a Defaults() class to improve testing (Thomas Sjolshagen)
BUG FIX: Transition to multiple LicenseSettings tests (Thomas Sjolshagen)
BUG FIX: Let us mock the file_exists() base PHP function (Thomas Sjolshagen)
BUG FIX: InvalidSettingKeyException() didn't call the parent constructor (Thomas Sjolshagen)
BUG FIX: set() didn't always return the expected boolean (Thomas Sjolshagen)
BUG FIX: Didn't account for when the PLUGIN_PHPUNIT constant was set to FALSE (Thomas Sjolshagen)
BUG FIX: Enabled the PLUGIN_PHPUNIT constant so we're allowed to set variables in the Defaults() class (Thomas Sjolshagen)
BUG FIX: Removed a bunch of error_log() debugging text (Thomas Sjolshagen)
BUG FIX: Move away from using PHP constants and use statically defined Defaults() class instead (Thomas Sjolshagen)
BUG FIX: Adding Codeception API testing and some phpcs settings (Thomas Sjolshagen)
BUG FIX: Force sanitation of the table names (for appearance sake) (Thomas Sjolshagen)
BUG FIX: Error when trying to commit the current.txt file as part of the docs target (Thomas Sjolshagen)
BUG FIX: Adding New PR workflow (Thomas Sjolshagen)
BUG FIX: Wrong variable definition in Makefile settings (Thomas Sjolshagen)
BUG FIX: Testing and debugging deployment step for release workflow
BUG FIX: Incorrect tests in deploy step
BUG FIX: contains() function doesn't support patterns(?)
BUG FIX: Remove the && is_tag == 'false' check and add a tag status output
BUG FIX: Make the contains() test completely boolean
BUG FIX: Add support for wp.org SVN deployment (TODO: Is untested in this form!)
BUG FIX: Checking if the branch info will show using a pattern in the startsWith() if conditional
BUG FIX: Old env variable name for the branch name in the to_wordpress_org() deployment option
BUG FIX: Piped and complex if statement for the workflow step(s)
BUG FIX: Attempt to limit I18N .pot generation to pull request creation
BUG FIX: The mocked ssh/scp commands
BUG FIX: Refactored sourcing of the helper_config script
BUG FIX: Didn't include CODEOWNERS
BUG FIX: Only run release-drafter workflow when a pull request is closed against the main branch
BUG FIX: Bash doesn't support exactly the same RegExes as other languages
BUG FIX: Double execution of workflow when creating and publishing a release