2039 Commits

Author SHA1 Message Date
Marc Jauvin
f18769e282
Check that mail templates/layouts exist before extracting view content (#5322)
Co-authored-by: Luke Towers <github@luketowers.ca>
Co-authored-by: Ben Thomson <git@alfreido.com>
2020-11-10 10:47:56 +08:00
Salvatore Brosio
df91c529a1
Improved Italian translations (#5338)
Co-authored-by: salvatore brosio <salvatore.brosio@gmail.com>
2020-10-29 11:25:19 -06:00
Bertware
6fb3708440
Improve Dutch translation (#5328)
Sources:
https://www.vandale.nl/gratis-woordenboek/nederlands/betekenis/component
http://de-of-het.nl/component/
2020-10-23 14:14:59 -06:00
Luke Towers
fbb470c7ee UX improvements for managing plugins.
Fixes #5127, also will force a page reload after changing the status of a plugin (remove, disable, enable, etc) so that the menu structure is accurately reflected.
2020-10-22 16:14:14 -06:00
Luke Towers
86496ff818
Support disks that can't be serialized in ImageResizer. (#5324)
Requires https://github.com/octobercms/library/pull/532
2020-10-22 13:20:19 -06:00
TimFoerster
bd83f34ac4
Minor UX tweak (#5325)
Change order to plugin, theme to match the install page.
2020-10-22 09:02:22 -06:00
Luke Towers
51d1c16369 More tweaks to the default publisher permissions, added separate permission for users to manage their own personal editor preferences. 2020-10-20 09:20:16 -06:00
Marc Jauvin
aa9c209e76
Hide stripe load indicator when a redirect response is returned (#5321)
Fixes #5055
2020-10-19 11:08:37 -06:00
Samuel Georges
c5af6c226c Recompile JS
To apply fix found in d49266ad90246fcf90565de8ccdcdbad492de0fe

Refs #5222
2020-10-19 10:04:51 +11:00
Luke Towers
a9d54eaa97 Warn about unsupported cache drivers being used for image resizing 2020-10-15 09:48:46 -06:00
Samuel Georges
3dc105173a Only allow local files via view engine
The Laravel view engine wants to supply the Twig engine with an absolute path, even though this is outside the inclusion rules. This implements a temporary exception to wave it through. It seems like a suitable alternative instead of implementing a reverse lookup to ensure the path is a valid view file, since we can trust the source engine has passed the value through its resolver already

Fixes previous fix
2020-10-13 19:14:49 +11:00
Salvatore Brosio
8a9775428b
Improve Italian translation (#5310) 2020-10-12 12:11:24 -06:00
Ayumi
df4c2cf86e
Default session.same_site to Lax (#5293) 2020-10-12 12:10:17 -06:00
Samuel Georges
11c93f0a3b Fixes View::make recursion
This logic is called via {% include %} (fixed) and as a custom .htm driver for View::make (broken). The previous change was too aggressive and broke the latter. This still fixes arbitrary file inclusion whilst retaining the original design. Both logic paths are now fixed and have been tested
2020-10-11 19:05:38 +11:00
Nick Khaetsky
f8f5e6e022
Changing translation of "layout" word in Russian (#5291)
Last commit changed translation of word "layout" from 'Шаблон' to 'Макет'. By "straightforward" translation this was maybe correct, but contextually not. We decided to make a poll, to vote for new translation.
2020-10-02 02:38:10 -06:00
Blaž Oražem
4d25ec6813
Improve Slovenian translation (#5292) 2020-10-02 02:35:39 -06:00
Samuel Georges
f9e14b02f5 Only allow view files in system twig
This no longer allows arbitrary inclusions, only views from the native Laravel view engine. Note this also affects the cms twig loader
2020-09-30 11:11:03 +10:00
Pierre-André Vullioud
b6ee7d9bca
Improve French translation (#5283) 2020-09-24 09:47:38 -06:00
Luke Towers
0101e1f96b Fix issue with image resizer URLs that contain URL-encoded characters (i.e. spaces)
Don't double decode the URL when validating it because the routing engine already decoded it once
2020-09-19 14:07:23 -06:00
Luke Towers
15ca68c22d No need to throw exceptions when generating MediaLibrary URLs 2020-09-18 16:01:02 -06:00
Luke Towers
fe2ca6c15e Fix issue where resized images were not correctly identified as already having been resized when atomic (blue/green) deployment strategies are used in conjunction with files being stored on the local filesystem in a shared symlinked storage folder. 2020-09-18 00:11:11 -06:00
Luke Towers
618e2b58ab
Ignore images that can't be processed by the resizer 2020-09-17 22:53:49 -06:00
Ben Thomson
216b0d6004
Remove errors from october:fresh and indicate which demo files were moved
Follow-up work to fc9d6233a8da738b5b8bbdf2fb7e6fd67da12b66.
2020-09-14 08:09:00 +08:00
Marc Jauvin
fc9d6233a8
Allow october:fresh to remove remove the demo plugin even when the demo theme has already been removed (#5275) 2020-09-13 16:51:09 -06:00
Luke Towers
78a37298a4 Tightened up the default permissions granted to the "Publisher" system role out of the box
(cherry picked from commit 8a785e439395aa901d2b9d7bcb6a343a071c7870)
2020-09-11 02:12:28 -06:00
Luke Towers
8a785e4393 Tightened up the default permissions granted to the "Publisher" system role out of the box 2020-09-11 02:10:59 -06:00
Ben Thomson
619be11d23
Make "october:env" command privileged.
This allows developers to use the command even if plugins are failing to boot due to missing configuration options (such as the DB configuration being incorrect). Previously, plugins which use the database in boot would prevent the command from running if the database details were incorrect.

This change removes a barrier from configuring your site correctly.
2020-09-09 17:47:18 +08:00
Ben Thomson
b251867f56
Use path.config binding in "october:env" to allow unit test to work 2020-09-09 12:38:48 +08:00
Raja Khoury
561815cac1
Define beforeAddAsset properties as references in docs. (#5269) 2020-09-09 10:18:51 +08: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
ce47c0248f Fix issue displaying protected file thumbnails when width or height is empty.
Related #5267
2020-09-07 15:23:00 -06:00
lctoan
1ef50d4751
Improve Taiwanese translations (#5264) 2020-09-07 09:48:12 -06:00
Luke Towers
79cbfa34a6 Composer updates for 1.1.0 2020-09-06 21:07:10 -06:00
Luke Towers
fd2d634b5e Composer updates for 1.0.469 2020-09-06 21:05:00 -06:00
Luke Towers
dd5fd34ae7 Merge branch '1.0' into develop 2020-09-04 01:27:53 -06:00
Luke Towers
7cb148c167 minor cleanup and docblocks 2020-09-04 01:23:03 -06:00
Samuel Georges
ceb2ff8a6e Clean up redundancies 2020-09-04 13:35:21 +10:00
Samuel Georges
4c650bb775 Security fixes for v1.0.469
Introduces sandbox policy to block extendable methods allowing arbitrary code execution
2020-09-04 13:02:01 +10:00
Ben Thomson
5bceda9496
Add "changes" option for "october:version" command.
Will include a list of added/modified/removed files when detecting the October CMS build.
2020-09-03 11:48:35 +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
Luke Towers
bf241baee7 Fix handling some target values for linkable tabs.
Replaces #5257
2020-09-01 13:27:03 -06:00
Ben Thomson
32c63e0e3c
Reorder cases to keep default at bottom as per established style 2020-08-31 16:00:21 +08:00
Ben Thomson
dce3931f20
Clean up uncustomised partials if they are no longer provided.
An exception was being thrown in some instances if a partial had been added to the DB that was provided by a plugin that no longer exists, or had been disabled. This will remove any partials provided by non-existent plugins, only if they haven't been subsequently customised by the developer.

Fixes https://github.com/octobercms/october/issues/5065
2020-08-31 14:18:53 +08:00
Ben Thomson
ce8c96b66f
Automatically set SMTP port depending on mail encryption type.
This only occurs if the SMTP port field is using a standard port (25, 465, 587). Custom ports are not overwritten.

Fixes https://github.com/octobercms/october/issues/4755
2020-08-31 11:21:50 +08:00
Luke Towers
812c0552e8 Avoid logging SystemExceptions twice
SystemExceptions are already logged when the System ServiceProvider listens to the Message Logged event, this code used to be for ApplicationExceptions to bypass the fact that they were explicitly ignored by October's core exception handler.

ApplicationExceptions were added 27 Jan 2015 in 6a68036260
ApplicationExceptions were explicitly ignored in the core exception handler on 16 Feb 2015 in 237d97d87a (diff-b6bf0348130fdd1311473a97536310cdR20) and were explicitly logged in the System exception handler on the same day in 7b52e07b65 (diff-547f5794a63e9f138c33b20de8649b7eR20-R31)

Not sure why that was originally the case, but we've made the decision that ApplicationExceptions shouldn't be logged by default as they should occur semi-regularly in a healthy application (mostly as an expression of complex logical validation that triggers them based on bad user input): https://github.com/octobercms/october/pull/4569#issuecomment-550172508

Fixes octobercms/october#5253.
2020-08-28 13:57:12 -06:00
Luke Towers
6b214edf1f Add getAllPlugins() method to PluginManager 2020-08-27 15:47:42 -06:00
Luke Towers
19ebc8854e Remove unnecessary $sourceDisk & $sourcePath variables.
The $resizer instance provides access to the necessary data.
2020-08-25 11:06:38 -06:00
Luke Towers
0eac129003 Improve support for invalid inputs provided to the resize filter. 2020-08-24 15:24:40 -06:00
Luke Towers
2126cd3a0b Added $sourceDisk and $sourcePath as parameters to the image resizing events for better logging 2020-08-24 11:00:54 -06:00
Web-VPF
f708754f07
Update Russian translation (#5247) 2020-08-23 02:51:48 -06:00