Commit Graph

936 Commits

Author SHA1 Message Date
Samuel Georges 2a0a91486c Logic error - fixes #2654 2017-05-16 07:24:07 +10:00
Samuel Georges 5ca3c3fa35 Merge pull request #2859 from TimFoerster/patch-2
Allows 0 and ‘0’ values as default values for theme settings
2017-05-15 20:31:59 +10:00
Samuel Georges f05f4c21cf Merge pull request #2858 from TimFoerster/patch-1
Filter layout by ignored file names
2017-05-15 20:29:53 +10:00
Luke Towers a5b081b74b Make the MediaManager messages more generic 2017-05-15 00:16:28 -06:00
Luke Towers 21d4f683c3 Support custom thumbnail directory
This enables support for edge cases that require custom thumbnail directories (such as requiring authentication to view generated thumbnails).
2017-05-14 22:41:31 -06:00
Luke Towers 7a820f3c43 Remove reference to hardcoded media path
Replaces the reference to a hardcoded `/media` path when generating a local temp file path to utilize the folder name as set in `cms.storage.media.folder`.
2017-05-14 22:28:08 -06:00
Luke Towers 0f04afbea4 Recompile mediamanager assets to include the fix 2017-05-14 19:34:50 -06:00
Luke Towers 84ee4f2679 Fix for #2765
Actual changes are in `MediaManager.prototype.deleteConfirmation`, apologies for the trailing whitespace removals, my editor auto does that and I didn't feel like removing it since there shouldn't really be trailing whitespace anyways.

Fixes #2675 (and probably other potential oopsies) by skipping over the "return to parent" item in the deletion handling method. The "return to parent" item contains a reference to the folder above the current folder, which could potentially cause the entire media folder to be deleted; and would certainly remove a lot more than actually intended.
2017-05-14 19:32:57 -06:00
Tim Förster 25daf546fa Allows 0 and ‘0’ values as default values for theme settings - Refs #2388 2017-05-05 11:20:10 +02:00
TimFoerster 5eb278e883 Filter layout by ignored file names
The Layouts get filtered by the filesystem definition of ignored files.
#814
2017-05-04 14:53:19 +02:00
Samuel Georges 52367d0b06 Merge pull request #2849 from gergo85/develop
Improve translations
2017-05-03 20:08:57 +10:00
Samuel Georges 349851dd11 Partials, pages and content now support drag'n'drop 2017-04-28 23:37:50 +10:00
Szabó Gergő a57e0e3080 Replace the str_replace function 2017-04-28 14:20:16 +02:00
Samuel Georges 1723070444 Merge pull request #2801 from amdad/patch-1
Prevent preloading files in advance
2017-04-28 19:30:25 +10:00
Szabó Gergő 58dfaf395e Improve translations 2017-04-28 09:01:21 +02:00
Maria Vilaró 3a2b9b1973 Improvements to Spanish translation (#2843) 2017-04-26 10:48:26 -06:00
Quezler cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Szabó Gergő 130d502f41 Update the Hungarian translation 2017-04-19 10:35:58 +02:00
Szabó Gergő 83b8f48b6f Translate the "by" word 2017-04-19 10:35:22 +02:00
Samuel Georges 27062ddfa0 Fixes folder creation and rename in asset list 2017-04-14 08:07:11 +10:00
Samuel Georges 9df40c07b8 Move extension validation to files only 2017-04-13 09:37:49 +10:00
Luke Towers a64260c2ff Merge pull request #2808 from jlongo/master
Added support/files for pt_pt language
2017-04-11 01:58:52 -06:00
José Longo 228bdb3f35 add cms dir/file for pt-pt language 2017-04-10 15:06:00 +01:00
Samuel Georges 433cf1d504 Additional security fixes 2017-04-10 16:02:05 +10:00
Samuel Georges 24c8b4368a Various security and UI fixes
The Media Manager now uses a white list approach to blocking files, we have been advised that the blacklist approach is too fragile and we agree.
Asset List and Media Manager now use $.oc.alert when displaying errors
2017-04-09 08:00:56 +10:00
amdad 5aea608e77 Prevent preloading files in advance
Files should be loaded on user click. Huge amount of data is loaded on page load, especially if many audio instances are on page. This is temporary solution. Ultimately widget should support params to match html5 audio/video tags.
2017-04-07 10:27:36 +02:00
Samuel Georges 9f809becca Fixes a bug when saving a modified template
When template has been modified outside of the CMS (mtime mismatch).
Fixes #2690
2017-04-05 22:07:15 +10:00
Alwin Drenth dbd9af3ba0 Update Dutch language for build v409 2017-04-01 15:43:14 +02:00
Anže Časar e0ce714285 Fix translatable URL caching
The same fix as https://github.com/rainlab/pages-plugin/pull/244 but for CMS pages.
2017-03-28 17:52:42 +02:00
Samuel Georges c7eb965af8 Introduce ignorePatterns to Media Library, ignoring dot files by default
Roll back some changes from #2692
2017-03-20 17:42:17 +11:00
Samuel Georges 31ba5e29bd Introduce Resources component for testing
This should be considered experimental at this stage, however this component is used in every October website we've built thus far, it makes sense for it to be included in the core. Once tested we will look at documenting it with an accompanying screencast video.
2017-03-20 17:32:20 +11:00
Samuel Georges b447b8e056 Merge pull request #2692 from ctf0/regex-hide
use regex to hide files under media manger
2017-03-19 19:28:40 +11:00
Samuel Georges 6697e00649 Backend::URL -> Backend::url 2017-03-16 17:16:03 +11:00
Samuel Georges 0a981a25f7 API docs progress
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Luke Towers 0df8f55450 Translate component properties' validationMessages
Fixes #2755
2017-03-15 16:56:22 -06:00
Samuel Georges 51ac144049 Moves CMS components to directory where they belong
Improve inline docs
2017-03-16 07:00:39 +11:00
Samuel Georges b841f9e066 {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
Samuel Georges e54cf7133b Improve some inline docs in preparation for API docs 2017-03-14 19:36:17 +11:00
Samuel Georges 5f91c45f79 Implement disabled support for some form widgets
Recompile assets
Fixes #2749 (Media Finder)
Fixes #2750 (File upload)
Fixes #2751 (Rich Editor)
Refs #2724
2017-03-14 13:52:47 +11:00
Samuel Georges d642605f87 Remove old fix and spruce up code 2017-03-04 15:23:12 +11:00
Samuel Georges bc161b94f7 Menu items are supposed to be counted in 100s
Plugin authors may need to adjust their menu items from this.
2017-03-03 08:07:13 +11:00
Szabó Gergő 8cfc10280a Update Hungarian translation 2017-03-02 13:52:01 +01:00
Samuel Georges 03959fa087 Minor fix to casing 2017-02-28 17:25:44 +11:00
Samuel Georges b59dd77c12 Prefer to keep this language key unique
Just in case we decide to call it something else on the dashboard
Revert #2709 (aec4591410)
2017-02-28 17:19:06 +11:00
Vladimir Kattsov aec4591410 👌 Remove unnecessary lang string 2017-02-27 11:08:23 +03:00
Vladimir Kattsov c73e0ea811 Unhardcoded lang string in active theme widget, add russian translation 2017-02-25 12:05:08 +03:00
Samuel Georges c704ddcdf0 md5 is faster than crc32 in PHP apparently
Reference https://3v4l.org/2MAUr
2017-02-23 07:40:04 +11:00
Muah bcd75c84c0 use regex to hide files under media manger 2017-02-20 13:54:30 +02:00
Panagiotis Koursaris 7a308f1f71 Greek Language Update 2017-02-19 14:38:31 +02:00
Samuel Georges a4b3d2dd3b Demo theme patch can be removed now
This causes the unit tests to fail on some systems
2017-02-15 20:50:52 +11:00