Luke Towers
dca6128501
Change Twig template loading fallbacks
...
Previously:
- registered Laravel view file
- attempt to load file as a CMS partial
Now:
- registered Laravel view file
- valid CMS partials
- any file that Twig can access (from the project root) rendered as a plain twig template (but with support for the CMS twig environment)
Fixes 80aab47f04 (commitcomment-42223643)
, https://github.com/octobercms/october/issues/5261#issuecomment-691235167
2020-09-11 15:47:49 -06:00
serega-kasyanow
4c41eee1b3
Update module facade docblocks ( #5273 )
2020-09-11 10:49:16 +08: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
482167d1d1
Merge branch '1.0' into develop
2020-09-04 15:23:02 -06:00
Luke Towers
e9e4210842
Allow infinitely nested CmsObjects that may have been permitted to load previously through the filesystem continue to load.
2020-09-04 15:22:48 -06:00
Luke Towers
dd5fd34ae7
Merge branch '1.0' into develop
2020-09-04 01:27:53 -06: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
Web-VPF
50bdfa0c39
Improve Russian translations ( #5258 )
2020-09-02 11:58:00 +08:00
Web-VPF
f708754f07
Update Russian translation ( #5247 )
2020-08-23 02:51:48 -06:00
Luke Towers
edae0c2476
Allow aliased non-compound use statements in the code section.
...
Follow up to: c1bb695f4b (diff-2040a96d3a0b43fe38675a7ee54fd8d6)
2020-08-23 01:23:06 -06:00
Ben Thomson
c7ed0ffa1a
Implement improved testing procedure ( #5238 )
...
Refs: 5feb7b872f
2020-08-14 08:00:39 +08:00
Ben Thomson
3a1f547adb
Use new PathResolver methods for handling file Asset / Object paths
2020-08-13 12:48:07 +08:00
Ben Thomson
50e61df10e
Fix path validation for CmsObjects & Assets ( #5229 )
...
Instead of using a temporary file to allow checks with `realpath()` to succeed, use the new `resolve_path()` helper added in a9a629b012
to replace the `realpath()` usage and allow for path resolution of files that don't exist yet.
This will allow new asset files to still be saved correctly, whilst still preventing paths outside of the assets directory to be used.
Replaces b1954e9258
.
2020-08-05 12:00:22 -06:00
Luke Towers
0a9c751e1b
Merge branch 'develop' into wip/laravel-6
2020-08-03 01:49:06 -06:00
Luke Towers
b1954e9258
Fix creating asset files
...
Fixes #5228
2020-07-30 10:35:02 -06:00
Luke Towers
18714ae9f0
Add L6 as a dep to the modules to prevent people with older Laravel versions from accidentally pulling in the L6 update
2020-07-19 01:42:58 -06:00
Luke Towers
d17b6eaf32
Merge branch 'develop' into wip/laravel-6
2020-07-17 00:47:32 -06:00
Romain 'Maz' BILLOIR
745bdf9022
Add missing French translations ( #5210 )
2020-07-16 16:42:28 +08:00
Ben Thomson
327d7be604
Merge remote-tracking branch 'origin/develop' into wip/laravel-6
2020-07-10 16:02:01 +08:00
Luke Towers
c1bb695f4b
Fix "use statement with non-compound names has no effect" ( #5206 )
...
Fixes #5205 .
2020-07-09 02:19:36 -06:00
Ben Thomson
9412a2bb20
Merge remote-tracking branch 'origin/develop' into wip/laravel-6
2020-07-01 10:42:33 +08:00
Luke Towers
dea03a698c
Use the Lang facade rather than the trans helper function
2020-06-28 11:14:35 -06:00
Luke Towers
c84c51c820
Improve error message when attempting to fork an unforkable component.
...
Fixes #5142 and rainlab/forum-plugin#141
2020-06-28 10:57:47 -06:00
Luke Towers
ad69711634
Merge branch 'develop' into wip/laravel-6
2020-06-11 10:38:29 -06:00
Luke Towers
c03fd66aeb
Support new onUpload() AJAX handler for uploads instead of postback takeovers.
...
Fixes #5104 . Refs: 4f7e2995c7
2020-06-05 16:01:22 -06:00
Luke Towers
5c3ba9a28a
Fix naming conflict
...
Reported by @alxy https://github.com/octobercms/october/pull/5088#issuecomment-636448210
2020-05-31 11:23:31 -06:00
Luke Towers
252c9b7f58
Merge branch 'develop' into wip/laravel-6
2020-05-27 12:44:54 -06:00
Alwin Drenth
8196b8169e
Improved Dutch translations ( #5091 )
2020-05-26 09:59:11 -06:00
Luke Towers
655c8011b9
Fix client side validation ( #5088 )
...
* Add data-request-validate to core save buttons
* Check if client side validation is desired before running it
Fixes #5076 .
2020-05-25 12:53:48 -06:00
Luke Towers
62a4354b6f
Merge branch 'develop' into wip/laravel-6
2020-05-22 21:04:15 -06:00
Luke Towers
0c46209725
Fix crash when a cached path doesn't actually exist in the specified datasource
...
Fixes an issue when using databaseTemplates where if the pathCache had been generated, and then any template was removed from the database manually the pathCache being out of date would cause an exception to be thrown elsewhere.
2020-05-22 21:01:45 -06:00
Ben Thomson
5c8f567323
Merge remote-tracking branch 'origin/develop' into wip/laravel-6
2020-05-18 08:35:03 +08:00
Marc Jauvin
15e4e53901
fix typos in halcyon ( #5066 )
2020-05-05 11:12:45 -06:00
Luke Towers
e78d5fe2bf
Merge branch 'develop' into wip/laravel-6
...
# Conflicts:
# modules/system/classes/UpdateManager.php
# modules/system/classes/VersionManager.php
2020-04-29 16:58:58 -06:00
Đorđe Jocić
d029d6ea24
Added Serbian translation ( #5040 )
2020-04-14 21:58:47 -06:00
Luke Towers
6a6331ba15
Merge branch 'develop' into wip/laravel-6
2020-04-08 12:40:02 -06:00
Blaž Oražem
758d8e01e3
Slovenian language update ( #5028 )
2020-04-05 22:46:24 +08:00
Luke Towers
4b22d06c60
Merge branch 'develop' into wip/laravel-6
2020-04-04 14:11:05 -06:00
Ben Thomson
cc1c1096b0
Remove newline between "throws" and "return"
2020-04-05 01:06:47 +08:00
Dan Harrin
903b5b01ea
Add support for "soft" components ( #4539 )
2020-04-05 01:02:43 +08:00
Luke Towers
44cc5d371b
Merge branch 'develop' into wip/laravel-6
2020-04-04 02:32:16 -06:00
Luke Towers
0edde0eb94
Improve opcache config check
2020-04-03 09:08:22 -06:00
Luke Towers
e4571c3dd4
Add usingSource method to active datasource ( #5017 )
...
This allows the `theme:sync` command to properly sync to specified targets.
Fixes #4887 . Replaces #4935 . Credit to @bennothommo for the initial implementation.
2020-04-01 18:12:50 +08:00
Luke Towers
79f0a9413b
Merge branch 'develop' into wip/laravel-6
...
# Conflicts:
# composer.json
2020-03-31 04:36:47 -06:00
Luke Towers
6711dae8ef
Improve asset file path handling when moving assets
2020-03-31 04:09:18 -06:00
Luke Towers
2b8939cc8b
Improve asset file path handling
2020-03-31 03:37:31 -06:00
Kmarty
8c0598cc4a
Fix: Not reflecting "defaultMask" when uploading file@CMS ( #4698 )
...
When uploading file through "CMS"->"Files"->"Add" -> "Upload file(s)", uploaded file doesn't have set file permissions according to "cms.defaultMask.file" from Config.
This patch fixes it so "defaultMask" can be different from umask and file has correctly set its permissions (usefull when required permissions are other than "644") as well as it has files/directories directly created in CMS section.
2020-03-29 09:27:23 -06:00
datune
f98c71aa14
Replace Illuminate Dumper with Symfony Dumper ( #4998 )
...
See https://github.com/laravel/framework/pull/25087
2020-03-24 11:51:27 -06:00