5839 Commits

Author SHA1 Message Date
Jan Boech
2aa3f66b96
Update lang.php
Minor corrections (typos)
2021-04-28 16:47:40 +02:00
jaxwilko
812f524101
Only show plugin warnings for active replacements (#122) 2021-04-26 09:10:59 -06:00
Luke Towers
7d8117dd67 Fix unit tests 2021-04-25 21:49:38 -06:00
Luke Towers
88bbf232c7 Ensure route attributes from plugins are properly loaded
Fixes wintercms/winter#106.
See https://stackoverflow.com/questions/42984295/laravel-named-routes-not-working/67258851#67258851
2021-04-25 16:38:49 -06:00
Luke Towers
9b0cba85a0 Revert "Support ReportContainers that are aliases of real ReportContainers"
This reverts commit 50382778fecd1dd665764d30b5e3fa121148f87a.
2021-04-25 15:03:39 -06:00
jaxwilko
70bb72901b
Ensure all plugins are uninstalled when the system is uninstalled (#114) 2021-04-25 14:58:40 -06:00
Marc Jauvin
029ec9f0c0
Add history of replacement plugins to the system_plugin_history table (#115) 2021-04-25 14:22:42 -06:00
jaxwilko
59ee7c1cc3
Warn when replaced plugins are still present (#109) 2021-04-25 10:18:31 -06:00
jaxwilko
0bebcd82d1
Added plugin registration after loading (#113) 2021-04-24 17:43:06 -06:00
Luke Towers
404db2a560
Fixed issue with taglist when not readOnly but an array value 2021-04-24 17:40:04 -06:00
Luke Towers
89ebc52802 Improve handling for null being passed to the ImageResizer 2021-04-23 16:20:40 -06:00
Luke Towers
18adc4a12d
Add discord badge 2021-04-21 16:53:20 -06:00
Luke Towers
50382778fe Support ReportContainers that are aliases of real ReportContainers 2021-04-21 16:36:17 -06:00
Luke Towers
c100059a56 Fix registering of namespace aliases 2021-04-21 15:58:27 -06:00
Luke Towers
c80062f8af Use the database version of the plugin when determining database replacement actions
This fixes an issue where composer dependencies on replaced plugins are directly swapped with the replacement plugins meaning that the replaced plugin files are no longer present in the filesystem when the replacement plugin tries to register for the first time.
2021-04-21 14:09:20 -06:00
Luke Towers
bd2d66bd86
Fix broken links 2021-04-21 13:56:10 -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
Luke Towers
c04ea9e104
Add dependency required for the plugin replacement
See https://github.com/wintercms/winter/pull/41#issuecomment-821749984
2021-04-17 01:36:55 -06:00
Luke Towers
f95d2529f9 Bust the cache on the AJAX framework asset URLs 2021-04-15 21:13:06 -06:00
Joseph Crowell
d64bf0c2c1
Switch to actively maintained faker repository (#74)
Fixes an unmaintained repository warning when running composer updates/installs
2021-04-15 00:57:17 -06:00
Luke Towers
b2161ef429 Improve display of changelog 2021-04-14 14:16:02 -06:00
Luke Towers
a56d7ec2af Improves Froala richeditor link insertion via the pagelinks plugin
This fixes several long standing issues with the pagelinks plugin for the Froala richeditor widget; thanks to the wonderful work by @tomsseisums, and brought up again by @alxy to get it merged in.

Fixes:
- https://github.com/octobercms/october/issues/3064
- https://github.com/octobercms/october/issues/2979

Replaces:
- https://github.com/octobercms/october/pull/3087
- https://github.com/octobercms/october/pull/3086
- https://github.com/octobercms/october/pull/5553
- c4e3903988
2021-04-09 01:20:18 -06:00
Luke Towers
c522b9d9fc Improve reliability of context sidenav partials 2021-04-08 21:47:50 -06:00
Marc Jauvin
04014b628f
Trigger a new ajaxRedirected event and handle it in the loading indicator (#70)
Fix issue with premature hiding of loading indicators during a redirect response via AJAX.

Fixes: https://github.com/octobercms/october/issues/5555

Tested by 9fb25e233e

Refs:
- https://github.com/octobercms/october/issues/5055 (original issue attempted to solve with previous code)
- https://github.com/octobercms/october/pull/5321 (solution to octobercms/october#5055)
- https://github.com/octobercms/october/issues/2780 (original issue regarding the hash change redirect not closing the loading indicator)
- 99a08616bb (October's solution to the issue)
2021-04-08 20:55:09 -06:00
Luke Towers
8cb8ad85bd fix tests 2021-04-07 01:16:15 -06:00
Luke Towers
799fb0eecb Improve support for auto aliasing october* assets 2021-04-06 23:02:11 -06:00
Luke Towers
d3e9855887 Normalize menu item owners, especially for aliases 2021-04-06 22:47:49 -06:00
Luke Towers
0061b09246
Fix issues when using a mirrored public directory and sqlite
Replaces #67
2021-04-05 10:43:47 -06:00
Luke Towers
4f79b440c3 Alias winter:* commands to october:* commands for backwards compatibility 2021-04-03 08:39:45 -06:00
Luke Towers
7fcd3a4588 Improve handling of dates by the Filter widget
Refs: https://github.com/octobercms/october/pull/5548 & https://github.com/octobercms/october/pull/5549. Credit to @KonstantinObuhov
2021-04-02 12:05:45 -06:00
Ben Thomson
2835a0cc0b Remove unneeded property 2021-04-02 11:29:10 +08:00
Ben Thomson
d758a9bdbb Add comments to utlities 2021-04-02 10:28:29 +08:00
Ben Thomson
a3d40d4067 Add description of some Winter commands, add attribution 2021-04-02 10:27:48 +08:00
Ben Thomson
906d4d65c0
Add support for version forks in "winter:version" command (#1) 2021-04-01 09:05:15 -06:00
Luke Towers
8c4297af4b Merge branch 'october-develop' into develop
* october-develop:
  Support readonly and disabled fields when value is an array (#4683)
  Exception handling
  Improve configuration files (#5544)
  Update Dutch (nl) translations (#5543)

# Conflicts:
#	config/mail.php
#	modules/system/classes/MailManager.php
2021-03-31 10:20:40 -06:00
Pete Halverson
baa7fdc99d
Support readonly and disabled fields when value is an array (#4683)
Issue #4330
2021-03-31 17:48:43 +11: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
Marc Jauvin
672dfef507
Only engage system mailer modifications on string template names (#64)
Credit to @mjauvin
2021-03-27 21:27:38 -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
Luke Towers
2ddfd28c65 Improve media library path validation 2021-03-25 14:43:51 -06:00
Luke Towers
596c6901e6 Fix issues with PluginManager->getRegistrationMethodValues()
On PHP 7.4 method_exists can return true for protected (i.e. not callable) methods. Additionally, some plugins already implemented their own registerValidationRules method not implementing the expected return type, so that needed to be handled more gracefully
2021-03-24 11:27:08 -06:00
Luke Towers
1992e9de84 Improve Dutch translations 2021-03-24 11:21:30 -06:00
Samuel Georges
7688215f84 Exception handling
Fixes #5482
2021-03-24 17:04:50 +11:00
Alwin Drenth
675a90daa1
Improve configuration files (#5544)
* Improve config indentation

* Add missing new lines in config

* Add trailing comma to cms configuration file
2021-03-24 16:55:28 +11:00
Alwin Drenth
2a7c7190d4
Update Dutch (nl) translations (#5543) 2021-03-24 15:47:35 +11:00
Luke Towers
4507bef574 Automatically determine the appropriate key column to use for the recordfinder FormWidget.
Follow up to octobercms/october#1768 and replaces octobercms/docs#268.
2021-03-23 11:39:59 -06:00
Luke Towers
61b974a76a
Support specifying step, min, and max attributes on number inputs for list filters (#63)
Documented by https://github.com/wintercms/docs/pull/6, credit to @zaxbux
2021-03-23 11:19:38 -06:00
Romain 'Maz' BILLOIR
18e34fbbe7
Move media rename and move actions' translation key from cms to backend (#62) 2021-03-23 09:42:41 -06:00
Luke Towers
b160cfaae5 Add warning about re-using redis connections for the cache 2021-03-22 16:55:11 -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