30 Commits

Author SHA1 Message Date
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
Samuel Georges
5190c8177b Avoid terminating the app using exit() or die()
Refs #3783
Refs #3746
2019-03-29 07:10:07 +11:00
Nathan van der Werf
0f0d108da0
Remove unused imports 2018-08-24 19:51:59 +02:00
Nathan van der Werf
66fa03f17e
Revert "Remove unused imports"
This reverts commit 742a5f415bc45819b11c77402efc114fa2f4451e.
2018-08-24 19:40:40 +02:00
Nathan van der Werf
742a5f415b Remove unused imports 2018-08-15 18:27:36 +02:00
Samuel Georges
a2a7eec4f5 Rename methods in CollapsableWidget
The methods were far too generic. When a trait or behavior is used, it's usually a good include to include the name of the trait in the methods and properties it provides. This reduces the chance of a conflict with the implementing class.
2017-06-10 15:42:24 +10:00
Samuel Georges
f7d0d394f5 Merge pull request #2881 from gergo85/patch-3
Typo
2017-06-06 20:21:59 +10:00
Samuel Georges
e2781c5fdf URL -> Url 2017-06-02 23:34:50 +10:00
Szabó Gergő
04e1f6e62e Typo
It is low priority changes. Yesterday I found them too, when I fixed the array index name issue.
2017-05-20 11:54:55 +02:00
Szabó Gergő
c597563145 Fixed spaces 2017-05-19 11:29:19 +02:00
Samuel Georges
27062ddfa0 Fixes folder creation and rename in asset list 2017-04-14 08:07:11 +10:00
Samuel Georges
433cf1d504 Additional security fixes 2017-04-10 16:02:05 +10:00
Samuel Georges
b841f9e066 {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
Szabó Gergő
d7f1d523f0 Translate some strings (#2395)
* Translate some strings
2016-10-11 08:29:26 +11:00
Samuel Georges
1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Samuel Georges
87a4de40de Address serialize/unserialize issues
This will require a cache clear for the combiner
Ref https://davidwalsh.name/php-serialize-unserialize-issues
2016-04-16 08:22:31 +10:00
Pásztor Gábor
9f3fcf27ed Update AssetsList 2016-03-30 18:17:18 +02:00
Pásztor Gábor
40269cb6e2 Clean up 2016-03-29 14:55:25 +02:00
Samuel Georges
fd16f38b11 Implement file definitions (extensions + ignore files)
Block "unsafe" extensions from being uploaded to the Media manager
Fixes #1801
2016-02-29 18:12:26 +11:00
Derek Bourgeois
4797364a04 Update AssetList.php
Allow .otf and .woff2 font formats by default. These file types are included in popular packages such as Bootstrap and Font Awesome.
2016-02-15 10:37:56 -05:00
jBOKA
2bfcec811f Updated AssetList widget to use correct folder permissions 2015-09-20 06:03:42 +02:00
Samuel Georges
b010732796 These methods should be protected, update client lang 2015-08-04 10:01:17 +10:00
Samuel Georges
b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Sam Georges
c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +11:00
Stefan Talen
634865e42e Updating modules/cms/widgets 2014-10-11 01:53:40 +02:00
Nicola Marini
bf1247e197 Fix issue when searching an asset in CMS backend
On Windows, searching for a file return the paths with the "\" separator, and throws an error when selecting a file for editing.
2014-08-13 17:42:51 +02:00
Sam Georges
05842b6cad Fixes #444 2014-07-18 22:47:36 +10:00
Sam Georges
9e2a76d821 Add core build tag to core assets 2014-05-24 16:57:38 +10:00
Pascal Borreli
459c8e0cfa Fixed typos 2014-05-17 18:08:01 +02:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00