6071 Commits

Author SHA1 Message Date
WebVPF
cf1725392a
Remove MailBrandSettings custom CSS (#391)
Unneeded with the latest refactor of the colorpicker formwidget.
2022-01-02 08:36:57 -06:00
WebVPF
cc09f29ec5
Use HTTPS template for links in Markdown editor (#387) 2021-12-27 09:40:12 +08:00
WebVPF
d966d33030
Popup Docs UI - wrap configuration in code tags (#388) 2021-12-27 09:34:10 +08:00
Ben Thomson
9e833fe920
Check controller exists before checking method
PHP 8 compatibility fix.

Fixes https://github.com/wintercms/winter/issues/207
2021-12-18 20:24:08 +08:00
Ben Thomson
a0a0073b5e Extend abstract Yaml Processor 2021-12-17 15:12:25 +08:00
Luke Towers
b414396691 Fix library switcher 2021-12-14 15:15:53 -06:00
Luke Towers
ace576818a Style fix 2021-12-14 02:31:38 -06:00
Luke Towers
2ccc5f699d Merge branch 'develop' into wip/1.2
* develop:
  Backport changes from 1.2 and ignore public directory in default .gitignore
  Update custom_styles language from CSS to LESS (#377)

# Conflicts:
#	config/app.php
2021-12-14 02:30:41 -06:00
Luke Towers
7473cbe27b Backport changes from 1.2 and ignore public directory in default .gitignore 2021-12-14 02:29:17 -06:00
Luke Towers
6a00f44502 Merge branch 'wip/1.2' of github.com:wintercms/winter into wip/1.2
* 'wip/1.2' of github.com:wintercms/winter:
  Update modules/system/classes/PluginBase.php
2021-12-14 02:23:30 -06:00
Luke Towers
bff21dae09 Skipped failing tests for now, removed timeout on winter:test command, adjusting testing storage directory 2021-12-14 02:23:20 -06:00
AIC-BV
2e4eacb58c
Update custom_styles language from CSS to LESS (#377) 2021-12-14 02:07:09 -06:00
Luke Towers
77c7e809a8
Update modules/system/classes/PluginBase.php
Co-authored-by: Ben Thomson <git@alfreido.com>
2021-12-14 01:50:41 -06:00
Luke Towers
099f731290 Remove database.useConfigForTesting
Was redundant, should be using environment config (config/testing/*.php) instead
2021-12-14 01:19:01 -06:00
Luke Towers
0bc47e2060
Update modules/backend/controllers/Files.php
Co-authored-by: Ben Thomson <git@alfreido.com>
2021-12-14 01:01:11 -06:00
Ben Thomson
82f727dab1 Merge branch 'develop' into wip/1.2 2021-12-14 11:29:57 +08:00
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
Szabó Gergő
3774843f2d
Extend the user group and role list columns (#374)
Credit to @gergo85
2021-12-10 09:51:35 -06:00
Luke Towers
f85342ce03 Initial support for Flysystem 2.0 2021-12-09 21:11:42 -06:00
Luke Towers
55e9cadc4e Use the VersionYamlParser when parsing the version.yaml file 2021-12-09 17:07:01 -06:00
Luke Towers
8dc65fb61f Merge branch 'develop' into wip/1.2
* develop:
  Don't try to access the system parameter database table if no database is in use
2021-12-09 16:32:53 -06:00
Luke Towers
ff30458cdb Don't try to access the system parameter database table if no database is in use
Fixes issue where attempting to load a static theme without a database present would fail because the AssetMaker trait was attempting to get the system build information from the database even though the DB wasn't present.
2021-12-09 16:32:34 -06:00
Luke Towers
6292bd32d9 Align the CmsException with the Winter ExceptionBase class 2021-12-09 16:30:34 -06:00
Luke Towers
2bee2f2daf Support Symfony 6.
See fcecefda3f
2021-12-09 16:00:05 -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
Luke Towers
b50a347762 Replace SwiftMailer with Symfony Mailer 2021-12-09 15:36:53 -06:00
Ben Thomson
845fe50cba Define signature for "defineProperties" method 2021-12-09 11:46:38 +08:00
Ben Thomson
c3992188bc Add definition of "componentDetails" method 2021-12-09 11:35:23 +08:00
Damien MATHIEU
7cb75fb722
Update system french lang files (#366)
Credit to @damsfx
2021-12-08 20:46:33 -06:00
Damien MATHIEU
745001b817
Update backend french lang file (#364)
Credit to @damsfx
2021-12-08 20:45:59 -06:00
Damien MATHIEU
4ea687a3fe
Update cms french lang file (#365)
Credit to @damsfx
2021-12-08 20:44:43 -06:00
Ben Thomson
1987c2f876
Fix clear color picker function, allow empty value
Fixes https://github.com/wintercms/winter/issues/353
2021-12-08 21:11:21 +08:00
Ben Thomson
dd2da8120e
Trigger "change" event on color picker when value changes
Allows color field to be a dependent of another field through "dependsOn"

Fixes https://github.com/wintercms/winter/issues/352
2021-12-08 20:43:59 +08:00
Ben Thomson
2ad97c78ed
Use better cursors for readonly color picker
Fixes https://github.com/wintercms/winter/issues/371
2021-12-08 20:25:42 +08:00
Ben Thomson
e85f98d0db Adjust "force" option for plugin:remove 2021-12-08 09:33:01 +08:00
Ben Thomson
e80fb59af4 Require explicit confirmations for CLI deletions
When removing a plugin via CLI or rolling back all DB migrations, we will now require the user to type out the plugin name (or "DELETE" for "winter:down") as a confirmation in order to proceed. This ensures that the user is well aware of what they are doing.

The "plugin:remove" command has now been added a "--no-rollback" option. When used, the plugin files will be removed, but the DB will remain untouched, allowing people to remove a plugin without losing their data.

Refs: https://github.com/wintercms/wn-translate-plugin/issues/13#issuecomment-988364253
2021-12-08 09:31:22 +08:00
Ben Thomson
ae57fa0eb1 Add PHP 8.1 option, drop other details field 2021-12-08 09:03:41 +08:00
Luke Towers
ae647903a6 Updated dependencies 2021-12-06 15:45:46 -06:00
Matteo Trubini
0a5f67e7b4
Add md_line Twig filter to expose Markdown::parseLine() (#370) 2021-12-06 15:19:59 -06:00
Luke Towers
9314a4442e Don't use the Cache facade in the service provider registration process.
Fixes #350. Refs https://github.com/laravel/framework/pull/38724. Final solution in v1.2 will be to extend the base Laravel Cache serviceprovider and make it no longer a deferred provider as well as consolidating the MemoryCache implementations currently present in QueryBuilder, Halcyon Models, and the Halcyon ServiceProvider into the Winter Cache service provider.
2021-12-06 15:19:41 -06:00
Ben Thomson
0e44230b27
Adjust tests for 1.2 2021-12-06 20:14:17 +08:00
Eric Pfeiffer
eb28d0584a
Fix return type hints for CMS Page and Controller (#362) 2021-11-30 14:56:59 -06:00
Luke Towers
b60c802b9a Fixes typo in list of available encodings for importing
Refs #360. Credit to @WebVPF for spotting
2021-11-30 14:54:33 -06:00
WebVPF
5c8f25eb78
Improved Ukrainian translation (#360)
Also fixed a typo in the list of available encodings for ISO 8859-9
2021-11-30 14:53:31 -06:00
Eric Pfeiffer
058e9e26bd
Constrain PHP version >= 7.2.9 and 8.0.x (#361) 2021-11-30 13:51:41 -06:00
Arvis Lācis
53094fbb32
Improve Latvian translation (#358) 2021-11-30 08:46:09 -06:00
WebVPF
7a8af96858
Docs UI Fix paths to screenshots of diagrams (#359) 2021-11-28 18:35:43 -06:00
Ben Thomson
31f8da8399 Coerce Inspector set values to string
These values have always traditionally been strings, but some custom implementations use integers (eg. for ID selections) which did not work previously.

This coerces both the selected items and available items to strings for comparison, which should allow integers to be used.

Fixes https://github.com/wintercms/winter/issues/351
2021-11-22 11:36:24 +08:00
Ben Thomson
e240747eb8 Determine constructor requirements for Inspector properties.
To allow more flexibility of where we can put handler methods for dynamic properties in the Inspector, we should try and call the given class' constructor with whatever required parameters it needs. The current implementation assumes that one argument will be provided to any given property class (with the value given being null). Ideally, we should make these methods static and have a look at this more thoroughly later, but this is a useful compromise for now.
2021-11-22 10:35:49 +08:00