5862 Commits

Author SHA1 Message Date
Luke Towers
8515a3fa2f fix tests 2021-07-19 17:15:19 -06:00
Luke Towers
0c5099f0b1 Throw SystemException for critical not-found code paths
Throws SystemException (therefor creating critical logged errors) for code paths resulting in not found exceptions (AJAX handlers, partials, content, components, etc) to make it easier to identify and result issues before end users are affected.
2021-07-19 17:11:29 -06:00
Jack Wilkinson
32440b19b9
Added fix when setting plugin status replacements were overriding originals (#226) 2021-07-14 10:31:25 -06:00
Ben Thomson
00c4b1cccd
Make shields on README consistent, add version shield 2021-07-13 13:38:07 +08:00
Luke Towers
d99bdb716f Merge branch 'develop' of github.com:wintercms/winter into develop
* 'develop' of github.com:wintercms/winter:
  Return 404 for asset combiner resources that don't exist (#222)
2021-07-05 16:05:45 -06:00
Luke Towers
b6b127eedd Allow for order: 0 in menu items
Follow up to 763db7eb80
2021-07-05 16:05:32 -06:00
RickAcb
d1180d04d1
Return 404 for asset combiner resources that don't exist (#222)
Credit to @RickAcb
2021-07-05 15:59:52 -06:00
Luke Towers
763db7eb80 Improve NavigationManager handling of default item orders
Replaces #231, fixes #229 & wintercms/wn-builder-plugin#7
2021-07-05 08:18:28 -06:00
Marc Jauvin
dc0d6aa0e2
Reset column order for lists when using "Reset to Default" action (#217) 2021-06-28 10:55:26 +08:00
LucianDex
087bd2b6ff
Updated all RO translations for Winter CMS modules. (#198) 2021-06-17 16:15:27 +08:00
Jack Wilkinson
84a1fcce5c
Fixed typo in model comment (#206) 2021-06-16 21:39:29 +08:00
LucianDex
bf91db6e9e
Updated RO language for System module (#185) 2021-05-27 17:33:05 +08:00
WebVPF
5eeee5d709
Update .htaccess (#191)
Co-authored-by: Luke Towers <github@luketowers.ca>
2021-05-26 14:27:54 -06:00
Ben Thomson
fdc8a7a993
Synchronise config files with Laravel 6 (#179) 2021-05-17 16:17:17 +08:00
Luke Towers
801c323297
Switch default db host to 127.0.0.1
This reverts 1ec2b69924 (bringing back 6c5a83de89) as it is more important for the default configuration to be in a working state for most environments than to optimize for performance for some environments. Having the default be `localhost` has caused issues for a large number of people (see https://github.com/octobercms/october/issues/3411, https://github.com/wintercms/winter/discussions/157, and probably many more). 

Additionally, this has been the default in Laravel since 5.2 (https://github.com/laravel/laravel/pull/3641) & 5.3 (fd42e10a5f).
2021-05-15 11:01:09 -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
Arvis Lācis
0af791d2c7
Improved Latvian translation (#142)
Credit to @arvislacis
2021-05-03 01:39:34 -06:00
WebVPF
1b1161c961
Fixing styles for custom checkbox (#140)
Credit to @WebVPF
2021-05-02 00:08:50 -06:00
Helmut Kaufmann
4bf6f3289e
ImageResizer should support uppercase file extensions (#135)
Fixes #133
2021-05-01 21:03:41 -06:00
Serena Villa
a5233ca57e
Improved Italian Translations (#134)
Credit to @josieit
2021-05-01 20:34:57 -06:00
Arvis Lācis
9e53549bc4
Improved Latvian translation (#128) 2021-04-29 09:45:30 -06:00
Marc Jauvin
4f953107ce
Merge pull request #126 from najbo/patch-2
French translations corrections.
2021-04-28 11:02:16 -04:00
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