282 Commits

Author SHA1 Message Date
Luke Towers
0b6646213f Remove mentions of Rackspace and isolate the storage directory used by tests by default 2021-12-10 15:57:41 -06:00
Luke Towers
2119161d8e Support for Symfony 6 2021-12-10 15:04:11 -06:00
Luke Towers
8c75a83139 Merge branch 'develop' into wip/1.2
* develop: (90 commits)
  Define signature for "defineProperties" method
  Add definition of "componentDetails" method
  Update `system` french lang files (#366)
  Update `backend` french lang file (#364)
  Update `cms` french lang file (#365)
  Fix clear color picker function, allow empty value
  Trigger "change" event on color picker when value changes
  Use better cursors for readonly color picker
  Adjust "force" option for plugin:remove
  Require explicit confirmations for CLI deletions
  Add PHP 8.1 option, drop other details field
  Add md_line Twig filter to expose Markdown::parseLine() (#370)
  Don't use the Cache facade in the service provider registration process.
  Fix return type hints for CMS Page and Controller (#362)
  Fixes typo in list of available encodings for importing
  Improved Ukrainian translation (#360)
  Constrain PHP version >= 7.2.9 and 8.0.x (#361)
  Improve Latvian translation (#358)
  Docs UI Fix paths to screenshots of diagrams (#359)
  Coerce Inspector set values to string
  ...

# Conflicts:
#	composer.json
#	modules/backend/composer.json
#	modules/cms/composer.json
#	modules/system/composer.json
2021-12-09 15:39:05 -06:00
Marc Jauvin
4f43dfd7fc
Check overrides for parent locale when compiling language files (#242)
Credit to @mjauvin and @jaxwilko
2021-09-28 16:50:31 -06:00
Luke Towers
fcf91249b6 incorrect path to class 2021-07-19 17:26:52 -06:00
Luke Towers
8515a3fa2f fix tests 2021-07-19 17:15:19 -06:00
Luke Towers
6632ad622a Merge branch 'develop' into wip/1.2
* develop: (45 commits)
  Revert "Add class alias registration method to plugins (#152)" (#176)
  Add class alias registration method to plugins (#152)
  Improved Latvian translation (#142)
  Fixing styles for custom checkbox (#140)
  ImageResizer should support uppercase file extensions (#135)
  Improved Italian Translations (#134)
  Improved Latvian translation (#128)
  Update lang.php
  Only show plugin warnings for active replacements (#122)
  Fix unit tests
  Ensure route attributes from plugins are properly loaded
  Revert "Support ReportContainers that are aliases of real ReportContainers"
  Ensure all plugins are uninstalled when the system is uninstalled (#114)
  Add history of replacement plugins to the system_plugin_history table (#115)
  Warn when replaced plugins are still present (#109)
  Added plugin registration after loading (#113)
  Fixed issue with taglist when not readOnly but an array value
  Improve handling for null being passed to the ImageResizer
  Add discord badge
  Support ReportContainers that are aliases of real ReportContainers
  ...
2021-05-14 09:18:19 -06:00
Luke Towers
ff9c934853
Revert "Add class alias registration method to plugins (#152)" (#176)
This reverts commit 203d2c4ebac696d39d3dbd92137077db3fb82978 as it was causing issues with classes that didn't exist.

> The class that is not found is: Winter\User\Classes\UserEventBase
2021-05-14 09:15:40 -06:00
Marc Jauvin
203d2c4eba
Add class alias registration method to plugins (#152) 2021-05-06 12:31:24 +08:00
jaxwilko
812f524101
Only show plugin warnings for active replacements (#122) 2021-04-26 09:10:59 -06:00
jaxwilko
0bebcd82d1
Added plugin registration after loading (#113) 2021-04-24 17:43:06 -06:00
Luke Towers
4a6bc4df6a
Add support for plugin replacement / forking (#41)
Documented by https://github.com/wintercms/docs/pull/11

Co-authored-by: @jaxwilko Jack Wilkinson <me@jackwilky.com>
Co-authored-by: @mjauvin Marc Jauvin <marc.jauvin@gmail.com>
Co-authored-by: @bennothommo Ben Thomson <git@alfreido.com>
Co-authored-by: @LukeTowers  Luke Towers <github@luketowers.ca>
2021-04-21 13:50:59 -06:00
Ben Thomson
906d4d65c0
Add support for version forks in "winter:version" command (#1) 2021-04-01 09:05:15 -06:00
Luke Towers
58664605ea Re-apply Yaml 4.4 compatibility layer
Refs: 181f213079
2021-03-28 20:32:41 -06:00
Luke Towers
0ebe3bc074 Revert "Add version.yaml processing for Symfony/Yaml v4 support (#65)"
This reverts commit 181f2130797a1c19db4ce176c0f79d5b3de546ee.
2021-03-28 20:31:19 -06:00
Ben Thomson
181f213079
Add version.yaml processing for Symfony/Yaml v4 support (#65)
Fixes #13
Follows on from wintercms/storm#16

Moves the version.yaml processing into the System module and updates all version file parsing to use this new processor.
2021-03-27 21:25:42 -06:00
Marc Jauvin
dd290243f6
Add support for registerValidationRules in Plugin.php (#46)
Credit to @SaifurRahmanMohsin. Originally octobercms/october#5513.
2021-03-22 16:29:43 -06:00
Luke Towers
07863c0437
Add support for pivot data in deferred bindings (#47)
Requires: wintercms/storm@e7e8da2

Refs: octobercms/library#555, octobercms/october#5466. Fixes octobercms/october#1409.
2021-03-20 23:50:18 -06:00
Luke Towers
c047f34156 Merge branch 'wip/rebrand-1.0' into wip/rebrand-develop
# Conflicts:
#	.github/workflows/code-quality-pr.yaml
#	.github/workflows/code-quality-push.yaml
#	.github/workflows/tests.yml
#	README.md
#	composer.json
#	modules/backend/behaviors/ImportExportController.php
#	modules/backend/behaviors/ReorderController.php
#	modules/backend/composer.json
#	modules/backend/models/ExportModel.php
#	modules/cms/ServiceProvider.php
#	modules/cms/classes/Asset.php
#	modules/cms/classes/CmsObject.php
#	modules/cms/classes/CmsObjectCollection.php
#	modules/cms/composer.json
#	modules/system/ServiceProvider.php
#	modules/system/aliases.php
#	modules/system/assets/js/lang/lang.es.js
#	modules/system/assets/js/lang/lang.it.js
#	modules/system/assets/js/lang/lang.zh-tw.js
#	modules/system/assets/ui/storm-min.js
#	modules/system/classes/CombineAssets.php
#	modules/system/classes/ErrorHandler.php
#	modules/system/classes/SystemController.php
#	modules/system/classes/UpdateManager.php
#	modules/system/composer.json
#	modules/system/console/WinterFresh.php
#	modules/system/console/WinterUtil.php
#	modules/system/controllers/updates/_list_toolbar.htm
#	modules/system/providers.php
#	tests/UiTestCase.php
#	tests/functional/backend/AuthTest.php
#	tests/functional/phpunit.xml
#	tests/unit/backend/classes/NavigationManagerTest.php
#	tests/unit/cms/classes/CmsObjectTest.php
#	tests/unit/cms/classes/ControllerTest.php
#	tests/unit/cms/classes/ThemeTest.php
#	tests/unit/plugins/database/PluginModelTest.php
#	tests/unit/plugins/database/ValidationModelTest.php
#	tests/unit/system/console/WinterEnvTest.php
2021-03-11 00:22:09 -06:00
Luke Towers
1e8cfb47af Manual comb through and rebrand following up the bulk patch rebrand 2021-03-10 15:25:57 -06:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Luke Towers
88d45bb191 Add aliasing support to AuthManager permission registration and fixed an issue where the permission cache wasn't cleared after changing the available permissions 2021-03-10 02:36:38 -06:00
Jack Wilkinson
05b2b68690 Added patch for phpunit v6.5 asserts and rebranded test cases 2021-03-09 22:29:57 +00:00
Luke Towers
a77e8b3b66 Add support for NavigationManager owner aliasing.
Written by @jaxwilko in #4
2021-03-09 14:12:25 -06:00
Ben Thomson
d10cda3e3c
Re-enable skipped test 2021-03-09 10:48:18 +08:00
Ben Thomson
9b85e3490a Fix unit tests in 1.0
Refs: 3d4b451744
2021-03-08 22:37:34 +08:00
Ben Thomson
99389b9504 Drop guarded attribute test
This is being tested in the library and guarded attributes appear to be working correctly, so this test isn't needed.
2021-03-08 22:33:46 +08:00
Ben Thomson
aec567b62d Fix Navigation Manager tests 2021-03-08 22:32:24 +08:00
Luke Towers
ca2c5a321e typo fix 2021-03-08 03:41:59 -06:00
Luke Towers
508ae3fdbf fix db tests 2021-03-08 03:41:38 -06:00
Luke Towers
d52ea0ccf8 further WIP on rebrand 2021-03-08 02:41:13 -06:00
Luke Towers
62fbbdc182 Further WIP on October -> Winter rebrand 2021-03-07 02:24:21 -06:00
Luke Towers
7d80b771fe Initial work on Winter rebrand for 1.0 branch 2021-03-06 04:06:19 -06:00
Ben Thomson
61df8cf321 Add stubs for renamed PHPUnit methods in PHPUnit 9 2021-03-01 23:09:16 +08:00
Ben Thomson
09b07dcbab Merge remote-tracking branch 'origin/develop' into wip/php-8-testing 2021-03-01 22:39:35 +08:00
Marc Jauvin
00f65ca725
Honor cms.linkPolicy config in ImageResizer (#5401) 2021-02-26 13:53:18 -06:00
Tolkam
26b231cad9
PHP 8 compatibility fixes (#5454)
Co-authored-by: Kanstantsin K <kk@tolkam.by>
2021-02-04 11:59:44 +08:00
Luke Towers
dd4e325298 more fixes 2021-01-04 17:35:33 -06:00
Jim Cottrell
6cd5ec688a
Ensure that MediaLibrary::listAllDirectories() honors config for paths to ignore (#5367) 2020-12-09 13:09:38 +08:00
Ben Thomson
3a8d504384
Fix unit tests (#5374) 2020-12-08 15:33:23 +08:00
Saifur Rahman Mohsin
d95e282910
Fixes OptionsGeneration Test failing (#5327)
As [mentioned here](9dca130fae (commitcomment-43513975)), this fixes the test failure.

Co-authored-by: Luke Towers <github@luketowers.ca>
2020-11-21 09:45:20 +08:00
Ben Thomson
d7d6faeedb
Generate random password for seeded admin account through october:up (#4866) 2020-11-20 03:43:33 -06:00
Luke Towers
9dca130fae Add unit tests for the different ways of providing field options 2020-09-11 11:33:44 -06:00
Ben Thomson
ce361cae67
Fix UpdatesController test 2020-09-11 15:34:24 +08:00
Ben Thomson
e7b1862c44
Add unit tests for #5271 2020-09-11 15:26:58 +08:00
Luke Towers
67cabdcb28 fix broken media tests 2020-09-08 16:11:12 -06:00
Luke Towers
2c4d3c9f98 Fix issue where URLs generated by the ImageResizer were not correctly encoded.
Related https://github.com/laravel/framework/issues/34199
2020-09-08 16:04:40 -06:00
Luke Towers
3d4b451744 Fix unit tests 2020-09-04 12:15:00 -06:00
Ben Thomson
106daa2930
Fix unit tests for source manifest 2020-09-03 11:52:03 +08:00
Ben Thomson
4141646105
Implement improved "set build" replacement (#5087)
This change implements an improved "set build" utility through the "october:version" Artisan command that, instead of checking the October CMS server for the latest build, checks the module files against a source manifest kept on GitHub.

This check allows us to accurately determine the build based on the module files in the October CMS installation, and can even detect versions if the module files are modified (except in the cases of extreme modification).

An additional utility has been implemented, "october:manifest", which will build the manifest JSON file in order to provide the maintainers with a way of generating this manifest file as required.

Replaces #4615.
2020-09-02 14:48:08 +08:00