New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
properties for @CHUNK and @SNIPPET binding #15488
Conversation
Seems like the tests aren't too happy about this, from a quick glance because the properties may be null. |
@Mark-H yeah, have seen that.
or can I just commit and push? |
You can just commit and push to your binding-properties branch to add to this PR. :) |
You need to be locally on the |
if (preg_match($regexp2, $match[2] , $match2)) { | ||
if (isset($match2[2])) { | ||
$props = json_decode($match2[2],true); | ||
if (is_array($props)){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it is useful to check for json_last_error instead and log the issue somehow.
See this method from https://stackoverflow.com/questions/6041741/fastest-way-to-check-if-a-string-is-json-in-php
function json_validate($string)
{
// decode the JSON data
$result = json_decode($string);
// switch and check possible JSON errors
switch (json_last_error()) {
case JSON_ERROR_NONE:
$error = ''; // JSON is valid // No error has occurred
break;
case JSON_ERROR_DEPTH:
$error = 'The maximum stack depth has been exceeded.';
break;
case JSON_ERROR_STATE_MISMATCH:
$error = 'Invalid or malformed JSON.';
break;
case JSON_ERROR_CTRL_CHAR:
$error = 'Control character error, possibly incorrectly encoded.';
break;
case JSON_ERROR_SYNTAX:
$error = 'Syntax error, malformed JSON.';
break;
// PHP >= 5.3.3
case JSON_ERROR_UTF8:
$error = 'Malformed UTF-8 characters, possibly incorrectly encoded.';
break;
// PHP >= 5.5.0
case JSON_ERROR_RECURSION:
$error = 'One or more recursive references in the value to be encoded.';
break;
// PHP >= 5.5.0
case JSON_ERROR_INF_OR_NAN:
$error = 'One or more NAN or INF values in the value to be encoded.';
break;
case JSON_ERROR_UNSUPPORTED_TYPE:
$error = 'A value of a type that cannot be encoded was given.';
break;
default:
$error = 'Unknown JSON error occured.';
break;
}
if ($error !== '') {
// throw the Exception or exit // or whatever :)
exit($error);
}
// everything is OK
return $result;
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such a validation method can go into in a global (helper) class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, testing and logging all possible mistakes. like valid json or not existing snippets, chunks... could be an additional feature request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Until then you can check for json_last_error and log a debug message with 'invalid JSON'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great if we could use the property sets functionality, but for now LGTM!
commit 0eddfe8c14750396e4f86936a95cd2d0da9f4b01 Author: Jason Coward <jason@opengeek.com> Date: Thu Jun 17 07:26:06 2021 -0600 Add nightly target to phing build commit 64d057f4eb90ebe9fe8780d98efa822709762f04 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Tue Jun 1 23:29:47 2021 +0400 Changed behavior of creating a file in media browser (#15654) commit fa471c68857bf25288e74ce9e083f2b1f52ec80b Author: MODX Bot <extras@modx.com> Date: Wed May 19 18:35:02 2021 +0200 New Crowdin updates (#15719) * New translations tv.inc.php (Ukrainian) * New translations upgrades.inc.php (Ukrainian) commit 133871a3906e20241d50cc0735e9bbbd1debac7e Author: MODX Bot <extras@modx.com> Date: Fri Apr 16 08:37:44 2021 +0200 New Crowdin updates (#15675) * New translations export.inc.php (Hungarian) * New translations tv_widget.inc.php (Hungarian) * New translations permissions.inc.php (Russian) * New translations setting.inc.php (Hungarian) * New translations default.inc.php (Dutch) * New translations setting.inc.php (Ukrainian) * New translations source.inc.php (Hungarian) commit 2660c497fc003b58e1cfd1cdaf7a1ac3eaeb0da5 Author: MODX Bot <extras@modx.com> Date: Thu Apr 15 19:21:17 2021 +0200 New Crowdin updates (#15667) * New translations default.inc.php (Dutch) * New translations default.inc.php (Hungarian) * New translations file.inc.php (Hungarian) * New translations source.inc.php (Hungarian) * New translations setting.inc.php (German) * New translations setting.inc.php (Italian) * New translations setting.inc.php (Hindi) * New translations setting.inc.php (Estonian) * New translations setting.inc.php (Thai) * New translations setting.inc.php (Persian) * New translations setting.inc.php (Indonesian) * New translations setting.inc.php (Chinese Simplified) * New translations setting.inc.php (Ukrainian) * New translations setting.inc.php (Turkish) * New translations setting.inc.php (Russian) * New translations setting.inc.php (Portuguese) * New translations setting.inc.php (Polish) * New translations setting.inc.php (Japanese) * New translations setting.inc.php (Hebrew) * New translations setting.inc.php (Hungarian) * New translations setting.inc.php (Finnish) * New translations setting.inc.php (Greek) * New translations setting.inc.php (Danish) * New translations setting.inc.php (Czech) * New translations setting.inc.php (Bulgarian) * New translations setting.inc.php (Belarusian) * New translations setting.inc.php (Arabic) * New translations setting.inc.php (Spanish) * New translations setting.inc.php (French) * New translations setting.inc.php (Romanian) * New translations source.inc.php (Hungarian) * New translations setting.inc.php (Swedish) * New translations setting.inc.php (Dutch) * New translations setting.inc.php (Yoruba) commit 43088232d2c415f2fe8df765550a99638ab4e2c9 Author: Jason Coward <jason@opengeek.com> Date: Thu Apr 15 11:18:36 2021 -0600 Add setup/lang/ exclude-pattern to phpcs.xml commit 2e1a5acee879a615a249b06dcf7dd7e3d6c6d728 Author: Raffy <raffenberg@gmail.com> Date: Wed Apr 14 18:26:02 2021 +0200 Support SameSite attribute in session cookies (#15669) * allow usage of samesite cookie setting since PHP 7.3.0 * allow usage of samesite cookie setting since PHP 7.3.0 * allow usage of samesite cookie setting since PHP 7.3.0 commit 49b22e93abae72b666a2611bf81a1c5d6e9b386e Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Wed Apr 14 01:31:35 2021 +0300 Set code of conduct for the repo (#15671) commit f8260b0f734a6650d7dbd68dc227ba6e11a2667a Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Tue Apr 13 03:53:44 2021 +0600 Fix ignoring phpcs configuration file (#15668) commit 2e9e9de0e283410f9d5fbc5f3fb0293696a96726 Author: Sergey Shlokov <sergant210@bk.ru> Date: Sun Apr 11 04:38:54 2021 +0300 Fix the appearance of PHP notices on the dashboard page (#15650) commit 6b1cd01a12387b89afda6c8b253d1f6a75aa8cd6 Author: MODX Bot <extras@modx.com> Date: Sun Apr 11 03:36:51 2021 +0200 New Crowdin updates (#15615) * New translations setting.inc.php (Russian) * New translations permissions.inc.php (Ukrainian) * New translations file.inc.php (Swedish) * New translations setting.inc.php (Swedish) * New translations policy.inc.php (Swedish) * New translations policy.inc.php (Ukrainian) * New translations propertyset.inc.php (Ukrainian) * New translations access.inc.php (Swedish) * New translations dashboard.inc.php (Swedish) * New translations default.inc.php (Swedish) * New translations menu.inc.php (Swedish) * New translations resource.inc.php (Swedish) * New translations user.inc.php (Swedish) * New translations user.inc.php (Romanian) * New translations user.inc.php (Dutch) * New translations user.inc.php (Hindi) * New translations user.inc.php (Estonian) * New translations user.inc.php (Thai) * New translations user.inc.php (Persian) * New translations user.inc.php (Indonesian) * New translations user.inc.php (Chinese Simplified) * New translations user.inc.php (Ukrainian) * New translations user.inc.php (Turkish) * New translations user.inc.php (Russian) * New translations user.inc.php (Portuguese) * New translations user.inc.php (Polish) * New translations user.inc.php (Japanese) * New translations user.inc.php (French) * New translations user.inc.php (Italian) * New translations user.inc.php (Hungarian) * New translations user.inc.php (Hebrew) * New translations user.inc.php (Finnish) * New translations user.inc.php (Greek) * New translations user.inc.php (German) * New translations user.inc.php (Danish) * New translations user.inc.php (Czech) * New translations user.inc.php (Bulgarian) * New translations user.inc.php (Belarusian) * New translations user.inc.php (Arabic) * New translations user.inc.php (Spanish) * New translations user.inc.php (Yoruba) * New translations default.inc.php (Hungarian) * New translations file.inc.php (Hungarian) * New translations setting.inc.php (German) * New translations setting.inc.php (Hungarian) * New translations policy.inc.php (Hungarian) * New translations dashboard.inc.php (Hungarian) * New translations permissions.inc.php (Hungarian) * New translations source.inc.php (Hungarian) * New translations user.inc.php (Hungarian) * New translations en.inc.php (Dutch) * New translations about.inc.php (Dutch) * New translations events.inc.php (Dutch) * New translations source.inc.php (Portuguese) * New translations default.inc.php (Portuguese) * New translations source.inc.php (Polish) * New translations default.inc.php (Polish) * New translations source.inc.php (Dutch) * New translations namespace.inc.php (Dutch) * New translations menu.inc.php (Dutch) * New translations lexicon.inc.php (Dutch) * New translations formcustomization.inc.php (Dutch) * New translations default.inc.php (Dutch) * New translations source.inc.php (Russian) * New translations dashboards.inc.php (Dutch) * New translations dashboard.inc.php (Dutch) * New translations context.inc.php (Dutch) * New translations content_type.inc.php (Dutch) * New translations source.inc.php (Japanese) * New translations default.inc.php (Japanese) * New translations source.inc.php (Italian) * New translations default.inc.php (Italian) * New translations source.inc.php (Hungarian) * New translations source.inc.php (Hebrew) * New translations default.inc.php (Hebrew) * New translations default.inc.php (Russian) * New translations default.inc.php (Swedish) * New translations default.inc.php (Finnish) * New translations source.inc.php (Estonian) * New translations import.inc.php (Dutch) * New translations element.inc.php (Dutch) * New translations source.inc.php (Yoruba) * New translations default.inc.php (Yoruba) * New translations source.inc.php (Hindi) * New translations default.inc.php (Hindi) * New translations default.inc.php (Estonian) * New translations source.inc.php (Swedish) * New translations source.inc.php (Thai) * New translations default.inc.php (Thai) * New translations source.inc.php (Persian) * New translations default.inc.php (Persian) * New translations source.inc.php (Indonesian) * New translations default.inc.php (Indonesian) * New translations source.inc.php (Chinese Simplified) * New translations default.inc.php (Chinese Simplified) * New translations default.inc.php (Ukrainian) * New translations source.inc.php (Turkish) * New translations default.inc.php (Turkish) * New translations source.inc.php (Finnish) * New translations source.inc.php (Greek) * New translations file.inc.php (Hebrew) * New translations file.inc.php (Ukrainian) * New translations file.inc.php (Turkish) * New translations file.inc.php (Swedish) * New translations file.inc.php (Russian) * New translations file.inc.php (Portuguese) * New translations file.inc.php (Polish) * New translations file.inc.php (Dutch) * New translations file.inc.php (Japanese) * New translations file.inc.php (Italian) * New translations file.inc.php (Hungarian) * New translations file.inc.php (Finnish) * New translations file.inc.php (Indonesian) * New translations file.inc.php (Greek) * New translations file.inc.php (German) * New translations file.inc.php (Danish) * New translations file.inc.php (Czech) * New translations file.inc.php (Bulgarian) * New translations file.inc.php (Belarusian) * New translations file.inc.php (Arabic) * New translations file.inc.php (Spanish) * New translations file.inc.php (French) * New translations file.inc.php (Romanian) * New translations default.inc.php (Hungarian) * New translations file.inc.php (Chinese Simplified) * New translations file.inc.php (Persian) * New translations default.inc.php (Greek) * New translations source.inc.php (Arabic) * New translations source.inc.php (German) * New translations default.inc.php (German) * New translations source.inc.php (Danish) * New translations default.inc.php (Danish) * New translations source.inc.php (Czech) * New translations default.inc.php (Czech) * New translations source.inc.php (Bulgarian) * New translations default.inc.php (Bulgarian) * New translations source.inc.php (Belarusian) * New translations default.inc.php (Belarusian) * New translations default.inc.php (Arabic) * New translations file.inc.php (Thai) * New translations source.inc.php (Spanish) * New translations default.inc.php (Spanish) * New translations source.inc.php (French) * New translations default.inc.php (French) * New translations source.inc.php (Romanian) * New translations default.inc.php (Romanian) * New translations source.inc.php (Ukrainian) * New translations setting.inc.php (Dutch) * New translations file.inc.php (Yoruba) * New translations file.inc.php (Hindi) * New translations file.inc.php (Estonian) * New translations default.inc.php (Dutch) * New translations file.inc.php (Russian) * New translations policy.inc.php (Swedish) * New translations source.inc.php (Russian) commit 8fa7ace406bc6857f910bc7cb21c1d9be33dd280 Author: Sergey Shlokov <sergant210@bk.ru> Date: Sun Apr 11 03:31:34 2021 +0300 Fix issue when sending an internal message to the user (#15511) * Fixed a bug with sending a message for user. * Refactoring the sendEmail method. commit be82372acd4e7cd88ddd8831ea517671277d6f04 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Sun Apr 11 02:56:44 2021 +0300 Add return link to package management on a page of single package (#15612) commit a5fa76b05fde0528948c1567a513530009541f43 Author: John Peca <pecajan@gmail.com> Date: Sun Apr 11 01:42:17 2021 +0200 Swtich non-index fields back to 255 char limit (#15398) commit 8c8a49e6fb83cdcc34ce659d5b13734e3217d75a Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Sun Apr 11 02:12:02 2021 +0300 Add intermediate tablet breakpoint to improve view on small screens (#15259) * Reduced width of the tree and main menu * Added new screen width for correct display of forms on small screens * Minified styles and scripts Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit 444a3e01f57f1729615f77c37fe64069eee5a6eb Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Fri Apr 9 12:26:25 2021 +0600 Improve language selector accessibility on the login page (#15627) commit 4ce8024d0db12498fb30741e3641d3e15dd8ff73 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Fri Apr 9 09:21:09 2021 +0300 Add possibility to translate message about site unavailability (#15537) * Removed untranslated description from Base Template * Added lexicon for 'site_unavailable_message' setting commit 06e4fb2b232151d61ec7051f1116d78297d9b7c1 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Fri Apr 9 12:20:31 2021 +0600 Fix style of information messages in installer view (#15642) * Fix incorrect display of messages in installer * Change styles commit 53387760f1cb8680c60da144ff6eacfb61c22b49 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Fri Apr 9 09:13:25 2021 +0300 Add clarity within creating folders in media sources (#15652) * Added clarification for basePath/baseUrl parameters in media source * Added clarification when creating a folder inside the root of media source * Javascript minified Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit 2ba5f67c7923843a9814c9edb0cde9814468b018 Author: John Peca <pecajan@gmail.com> Date: Thu Apr 8 22:37:36 2021 +0200 Add endpoint property to S3 media source (#15641) * Add endpoint property to S3 media source * Adjust lexicon commit 8b80072f03c4efc539edea1d906e82ff60266480 Author: Jason Coward <jason@opengeek.com> Date: Wed Apr 7 13:23:43 2021 -0600 Update exclude-patterns in phpcs.xml commit f3741ee67b35efb8368e6e047f69d6aaf85559a2 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Wed Apr 7 20:45:12 2021 +0600 Add PHP Code Sniffer configuration file (#15640) commit a90d160054f54dd1c1772fa8cc65c03a3521596a Author: Sergey Shlokov <sergant210@bk.ru> Date: Wed Apr 7 16:53:45 2021 +0300 Fixed the bug of calling the filterPathSegment method. (#15638) commit 1c413a082b139c6806eff6fd422436deccc78c8a Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Mon Apr 5 22:18:28 2021 +0300 Rename Admin group to proper name of Access Policy Template Group (#15628) commit c805895056289b21d6906ea1a56f2245686ced0c Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Mon Apr 5 21:51:50 2021 +0300 Fix missed Developer Access Policy (#15626) * Rename migration scripts to proper format * Add missed developer policy to the map * Use proper file names in migrations * Code quality improvements commit 3cd91b1e55e6e5625ca0c0617480a49e5acaf172 Author: Sergey Shlokov <sergant210@bk.ru> Date: Mon Apr 5 19:00:42 2021 +0300 Fix permissions checking in modAccessibleObject objects (#15632) commit a16e3f5351d2af0e8a249a7f384f37ffcbced531 Author: Sergey Shlokov <sergant210@bk.ru> Date: Mon Apr 5 18:58:35 2021 +0300 Fix unavailable toggle language menu item because missed permission (#15621) commit 5e1914e6844a58808e28f5008af47926735b3779 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Mon Apr 5 21:54:12 2021 +0600 Fix link to the proper version in welcome dialog (#15613) * Fix path for preview the page * Added upgrading script * Converting the code to the PSR-12 standard commit d37abfed284b3775d367e17d88f08c0e7646267f Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Mon Apr 5 21:44:48 2021 +0600 Update favicon in the installation folder (#15602) commit 6015c8dfaff34be9721286f159c5943abc4111c8 Author: Sergey Shlokov <sergant210@bk.ru> Date: Mon Apr 5 18:43:41 2021 +0300 Add the EXTR_REFS flag to the extract function (#15578) commit 53af606520f34e5e437a20026c7e786ed9d6564f Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Sun Apr 4 16:51:54 2021 +0300 Automatically mark issues by appropriate labels (#15633) commit 6f90ce216e49529fdd21479906c5fc0ac8e3ae0e Author: Sergey Shlokov <sergant210@bk.ru> Date: Thu Apr 1 13:55:27 2021 +0300 Fix class key default value in the user creation form (#15620) commit 7d5b5d1c9ca78b68a0c223f242c9bb513c2cd029 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Thu Apr 1 16:17:46 2021 +0600 Add code quality GitHub Action (#15603) commit 0a3052e5afe038389820a6df64ea2c7870bee48b Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Wed Mar 31 01:33:27 2021 +0600 Fallback to username when full name is missed in the Who is online widget (#15596) commit 28fa8af9902ff79e3ea35ee692b63e06444ed9e5 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Wed Mar 31 01:31:34 2021 +0600 Add an required attribute for admin creation fields during installation (#15601) commit f14d569b591ea21fff0546e788125096918cb3a2 Author: Sergey Shlokov <sergant210@bk.ru> Date: Tue Mar 30 16:03:56 2021 +0300 Fix MakeUrlTest->testSingleParameter test provider (#15594) commit e6521c196c4abf0cea559bbdc79eea8506b879bc Author: Jason Coward <jason@opengeek.com> Date: Mon Mar 29 15:55:57 2021 -0600 Ignore l10n_** branches on ci workflow actions (#15608) commit 3544010f5cf6af933dca4a942d55d2e43a2af42f Author: Ivan Klimchuk <ivan.klimchuk@1pt.com> Date: Mon Mar 29 22:52:05 2021 +0300 Remove deprecated modClassMap (#15079) * Remove modClassMap and its usage in the code, cleanup added also * grunt build Co-authored-by: Jason Coward <jason@opengeek.com> commit 54f21f4d057b0bd4a3c6561700456363a4129713 Author: Digital Penguin <digitalpenguin@users.noreply.github.com> Date: Mon Mar 29 23:19:13 2021 +0800 Fixed context sub-menu not appearing in resource tree (#15593) * Menu was not being triggered due to class names containing double slashes. Escaping is not required here so changed to single slash. * Minified JS Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit fb3f7e2b59afe6682d9ede6fee586f8e0b4da504 Author: MODX Bot <extras@modx.com> Date: Mon Mar 29 13:36:17 2021 +0200 New Crowdin updates (#15568) * New translations chunk.inc.php (Ukrainian) * New translations tv_widget.inc.php (Turkish) * New translations propertyset.inc.php (Ukrainian) * New translations plugin.inc.php (Ukrainian) * New translations login.inc.php (Ukrainian) * New translations events.inc.php (Ukrainian) * New translations dashboards.inc.php (Ukrainian) * New translations content_type.inc.php (Ukrainian) * New translations tv_input_types.inc.php (Turkish) * New translations template.inc.php (Ukrainian) * New translations tv_widget.inc.php (Swedish) * New translations tv_input_types.inc.php (Swedish) * New translations tv_widget.inc.php (Russian) * New translations tv_input_types.inc.php (Russian) * New translations tv_widget.inc.php (Portuguese) * New translations tv_input_types.inc.php (Portuguese) * New translations tv_widget.inc.php (Polish) * New translations snippet.inc.php (Ukrainian) * New translations topmenu.inc.php (Ukrainian) * New translations tv_widget.inc.php (Dutch) * New translations tv_input_types.inc.php (Thai) * New translations tv_input_types.inc.php (Yoruba) * New translations tv_widget.inc.php (Hindi) * New translations tv_input_types.inc.php (Hindi) * New translations tv_widget.inc.php (Estonian) * New translations tv_input_types.inc.php (Estonian) * New translations tv_widget.inc.php (Thai) * New translations tv_widget.inc.php (Persian) * New translations trash.inc.php (Ukrainian) * New translations tv_input_types.inc.php (Persian) * New translations tv_widget.inc.php (Indonesian) * New translations tv_input_types.inc.php (Indonesian) * New translations tv_widget.inc.php (Chinese Simplified) * New translations tv_input_types.inc.php (Chinese Simplified) * New translations test.inc.php (Ukrainian) * New translations tv_input_types.inc.php (Ukrainian) * New translations tv_input_types.inc.php (Polish) * New translations tv_input_types.inc.php (Dutch) * New translations lexicon.inc.php (Ukrainian) * New translations tv_widget.inc.php (French) * New translations tv_widget.inc.php (Belarusian) * New translations tv_input_types.inc.php (Belarusian) * New translations tv_widget.inc.php (Arabic) * New translations tv_input_types.inc.php (Arabic) * New translations tv_widget.inc.php (Spanish) * New translations tv_input_types.inc.php (Spanish) * New translations tv_input_types.inc.php (French) * New translations tv_widget.inc.php (Bulgarian) * New translations tv_widget.inc.php (Romanian) * New translations tv_input_types.inc.php (Romanian) * New translations policy.inc.php (Ukrainian) * New translations tv_widget.inc.php (Ukrainian) * New translations menu.inc.php (Ukrainian) * New translations source.inc.php (Ukrainian) * New translations messages.inc.php (Ukrainian) * New translations tv_input_types.inc.php (Bulgarian) * New translations tv_input_types.inc.php (Czech) * New translations tv_widget.inc.php (Japanese) * New translations tv_input_types.inc.php (Hebrew) * New translations tv_input_types.inc.php (Japanese) * New translations tv_widget.inc.php (Italian) * New translations tv_input_types.inc.php (Italian) * New translations tv_widget.inc.php (Hungarian) * New translations tv_input_types.inc.php (Hungarian) * New translations tv_widget.inc.php (Hebrew) * New translations tv_widget.inc.php (Finnish) * New translations tv_widget.inc.php (Czech) * New translations tv_input_types.inc.php (Finnish) * New translations tv_widget.inc.php (Greek) * New translations tv_input_types.inc.php (Greek) * New translations tv_widget.inc.php (German) * New translations tv_input_types.inc.php (German) * New translations tv_widget.inc.php (Danish) * New translations tv_input_types.inc.php (Danish) * New translations tv_widget.inc.php (Yoruba) * New translations setting.inc.php (Ukrainian) * New translations setting.inc.php (Italian) * New translations setting.inc.php (Dutch) * New translations setting.inc.php (Hindi) * New translations setting.inc.php (Estonian) * New translations setting.inc.php (Thai) * New translations setting.inc.php (Persian) * New translations setting.inc.php (Indonesian) * New translations setting.inc.php (Chinese Simplified) * New translations setting.inc.php (Ukrainian) * New translations setting.inc.php (Turkish) * New translations setting.inc.php (Swedish) * New translations setting.inc.php (Russian) * New translations setting.inc.php (Portuguese) * New translations setting.inc.php (Polish) * New translations setting.inc.php (Japanese) * New translations setting.inc.php (Romanian) * New translations setting.inc.php (Hungarian) * New translations setting.inc.php (Hebrew) * New translations setting.inc.php (Finnish) * New translations setting.inc.php (Greek) * New translations setting.inc.php (German) * New translations setting.inc.php (Danish) * New translations setting.inc.php (Czech) * New translations setting.inc.php (Bulgarian) * New translations setting.inc.php (Belarusian) * New translations setting.inc.php (Arabic) * New translations setting.inc.php (Spanish) * New translations setting.inc.php (French) * New translations setting.inc.php (Yoruba) commit ab2b90cd0912729bdf807f892d3a032a0dd5d7cd Author: Thomas Jakobi <thomas.jakobi@partout.info> Date: Mon Mar 29 12:42:41 2021 +0200 Fix the lexicon entries of upload_translit (#15600) commit 2e7c0e49aaeb92ba9ae7d2d81a5f1e9dd599f728 Author: Sander Drenth <sander@sterc.nl> Date: Sun Mar 28 22:26:13 2021 +0200 Fix trash page permission issues (#15482) * Fix some permission checks for resource trash page * Add menu_trash permission to Administrator access policy commit 8a463ac8fd380941da0c59c87ce444aadf759b12 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Sun Mar 28 23:20:39 2021 +0300 Hide dependent forms until items are not selected in trees (#15478) * Disable "Editing Form" by default in "User" - "Extended Fields" tab * Disable "Editing Form" by default in "Widget" - "Properties" tab * Disable right column by default in "Property Sets" * Minified JS Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit 0bfcf37793403b633e53f6cc9e852b10bde2aa89 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Mon Mar 29 02:01:19 2021 +0600 Update base_help_url system settings with a new link to the documentation (#15572) commit b761379ac0f20870d9784f127db82b8e678262f6 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Mon Mar 29 01:58:37 2021 +0600 Changing the lexicon on the update widget (#15591) commit 1b5a278631e54d8ab268911a174e11978900a9d9 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Sun Mar 28 22:57:03 2021 +0300 Simplified lexicons for grids (#15420) * Simplified lexicons for Contexts grid/tree * Simplified lexicons for System Settings grid * Simplified lexicons for Plugin Events grid * Simplified lexicons for Template TVs grid * Simplified lexicons for Messages grid * Simplified lexicons for Roles grid * Simplified lexicons for Providers grid * Simplified lexicons for Content Types grid * Simplified lexicons for Media Source Properties grid * Simplified lexicons for Media Sources grid * Simplified lexicons for Users grid * Simplified lexicons for Recent Resources grid/tree * Simplified lexicons for System Events grid * Simplified lexicons for Form Customization grid * Simplified lexicons for Form Customization Sets grid * Simplified lexicons for Form Customization Regions grid * Simplified lexicons for Dashboards grid * Simplified lexicons for Widgets grid * Simplified lexicons for Context Access Control grid * Simplified lexicons for Menu tree * Simplified lexicons for Access Policies grid * Simplified lexicons for Policy Templates grid * Simplified lexicons for Policy Template Permissions grid * Simplified lexicons for Lexicons grid * Simplified lexicons for Namespaces grid * Fixed lexicons for File tree commit 5518feb02a159a1cac446811476f9404ce740d13 Author: Michael Snow <2528374+SnowCreative@users.noreply.github.com> Date: Sun Mar 28 15:55:16 2021 -0400 Fix Add button style glitches in dashboards (#15599) * Update _dashboard.scss Fix overlap of Add button on dashboard area * Minified CSS Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit 2af8ac637a9a7d7729468c8da4809101b71d1b81 Author: Ilya Utkin <ilyautkin@mail.ru> Date: Sun Mar 28 23:12:21 2021 +0500 Add transliteration of files when uploading to a media source #modxbughunt (#15457) * Add transliteration of files when uploading to a media source * Change wrapper for 'Yes' in setting description * Fix typo in _setting_upload_translit_desc_ commit 0acc0d92fcea3fc97ab5692a8d3b55648fd6ef2c Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Fri Mar 26 20:06:37 2021 +0600 Increase required php version to 7.1 (#15589) * Update min version php * Removed php 7.0 compatibility test commit 5169becd127ae0f5fe3eb5794da63797372af779 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Mon Mar 22 17:18:35 2021 +0600 Update information about the project in the readme file (#15562) commit c629b04f68ba4ba7df4772a73d2035f3955743c5 Author: John Peca <pecajan@gmail.com> Date: Mon Mar 22 08:56:36 2021 +0100 Implement isDirty function in MODx.panel.ImageTV (#15516) * Implement isDirty function in MODx.panel.ImageTV * Implement isDirty function in MODx.panel.FileTV commit 79ab2b7744111317d7109522d45c9f3a0ed3a076 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Mon Mar 22 10:52:21 2021 +0300 Corrected fields in the User / Account sections (#15539) * Changed icon for "photo" field * Made "fullname" field not required * Made "username" field required * Displayed "username" field in "Account" section * Changed order of "fullname" field in "Account" section * Minified styles Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit ee5c88b4261c6d567c8da9b452428acd3b4b5e52 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Mon Mar 22 13:39:32 2021 +0600 Changing display styles for system information (#15554) * A slight change in the styles of displaying system information * Minified styles Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit 9b6cf7a516c44097db0c3bedcea6b31247525bb2 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Sun Mar 21 20:12:59 2021 +0300 Removed TV with "list-multiple-legacy" type (#15489) * Removed lexicons * Removed input/inputproperties renders * Fixed script for checking tvOptions * Added update script for "list-multiple-legacy" TVs commit 52f854692bad27e356511d0656e3ebda17add5a1 Author: MODX Bot <extras@modx.com> Date: Sun Mar 21 11:56:10 2021 +0100 New Crowdin updates (#15557) * New translations setting.inc.php (Russian) * New translations setting.inc.php (Ukrainian) * New translations file.inc.php (Romanian) * New translations file.inc.php (Portuguese) * New translations propertyset.inc.php (Hungarian) * New translations file.inc.php (Yoruba) * New translations file.inc.php (Hindi) * New translations file.inc.php (Estonian) * New translations file.inc.php (Thai) * New translations file.inc.php (Persian) * New translations file.inc.php (Indonesian) * New translations file.inc.php (Chinese Simplified) * New translations file.inc.php (Ukrainian) * New translations file.inc.php (Turkish) * New translations file.inc.php (Swedish) * New translations file.inc.php (Russian) * New translations file.inc.php (Polish) * New translations file.inc.php (French) * New translations file.inc.php (Dutch) * New translations file.inc.php (Japanese) * New translations file.inc.php (Italian) * New translations file.inc.php (Hungarian) * New translations file.inc.php (Hebrew) * New translations file.inc.php (Finnish) * New translations file.inc.php (Greek) * New translations file.inc.php (German) * New translations file.inc.php (Danish) * New translations file.inc.php (Czech) * New translations file.inc.php (Bulgarian) * New translations file.inc.php (Belarusian) * New translations file.inc.php (Arabic) * New translations file.inc.php (Spanish) * New translations permissions.inc.php (Hungarian) * New translations policy.inc.php (French) * New translations policy.inc.php (Japanese) * New translations policy.inc.php (Hindi) * New translations policy.inc.php (Estonian) * New translations policy.inc.php (Thai) * New translations policy.inc.php (Persian) * New translations policy.inc.php (Indonesian) * New translations policy.inc.php (Chinese Simplified) * New translations policy.inc.php (Ukrainian) * New translations policy.inc.php (Turkish) * New translations policy.inc.php (Swedish) * New translations policy.inc.php (Russian) * New translations policy.inc.php (Portuguese) * New translations policy.inc.php (Polish) * New translations policy.inc.php (Dutch) * New translations policy.inc.php (Italian) * New translations dashboards.inc.php (German) * New translations policy.inc.php (Hungarian) * New translations formcustomization.inc.php (Hungarian) * New translations policy.inc.php (Hebrew) * New translations policy.inc.php (Finnish) * New translations policy.inc.php (Greek) * New translations policy.inc.php (Danish) * New translations policy.inc.php (Czech) * New translations policy.inc.php (Bulgarian) * New translations policy.inc.php (Belarusian) * New translations policy.inc.php (Arabic) * New translations policy.inc.php (Spanish) * New translations policy.inc.php (Romanian) * New translations policy.inc.php (German) * New translations policy.inc.php (Yoruba) * New translations policy.inc.php (Russian) commit a7c8bcde66fc23ae5d2ba16051610114b98b6bb3 Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Fri Mar 19 09:50:27 2021 +0300 Translated descriptions for policies, policy templates and policy template groups (#14009) * Translated descriptions for policies, policy templates and policy template groups Reset translation files * chore: remove deleted (actually moved to one file) upgrade scripts * fix: condition which allows delete entries * fix: add html encoding for translations to avoid xss * fix: missed translate for changed policy description * feat: fallback to english in case translation does not exist in the target language * Minified javascript commit 820a68fada6418ed4c6a9d06d1e509fa0b107ed4 Author: John Peca <pecajan@gmail.com> Date: Thu Mar 18 19:35:00 2021 +0100 Adjust class names in principal_targets system setting (#15529) commit a2065d3bece97e405de91b13e73e402cba618518 Author: Digital Penguin <digitalpenguin@users.noreply.github.com> Date: Wed Mar 17 23:02:18 2021 +0800 Improved check to see if the key "url" exists in media source $properties array. This fixes the preview thumbnail issue. (#15526) * Improved check to see if the key "url" exists in media source $properties array. This fixes the preview thumbnail issue. * Switched to using isset() commit 8dee928cf8fae08f98738dce581d5a2e28cf786c Author: Ilya Utkin <ilyautkin@mail.ru> Date: Wed Mar 17 20:01:04 2021 +0500 Fix image rotation in media browser #modxbughunt (#15484) * Fix image rotating by EXIF rules * Add new line before return * Add fix for exif_read_data * Check if function exif_read_data exists * Add error control operator to exif_read_data commit e0ae72cc8d6355584b1152b07805dba45fc074c1 Author: Sergey Shlokov <sergant210@bk.ru> Date: Wed Mar 17 17:46:56 2021 +0300 Fixed PHP notices on the login page. (#15456) commit e76c836a7fad92e494cc5f638ae7c4964210d6b2 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Wed Mar 17 20:46:03 2021 +0600 Adds missing lexicon file_folder_err_update (#15547) * Added lost Lexicon * Change after review commit f4118b3a04c2c8a87ab51aec6ae0cd2ef82df80d Author: John Peca <pecajan@gmail.com> Date: Wed Mar 17 00:42:15 2021 +0100 Set controller property in controller's config (#15552) commit ac9ad4f186152d13a827f6aa18eb85417f36dac6 Author: Digital Penguin <digitalpenguin@users.noreply.github.com> Date: Wed Mar 17 07:20:36 2021 +0800 Changed old class name to FCQN in the class_key for resources in the tree (#15424) * Changed modDocument to MODX\Revolution\modDocument for the class_key when building the create resource URL. * Changed other cases of modDocument to MODX\Revolution\modDocument * Converted modWebLink, modSymLink and modStaticResource to new class names. * Build minified javascript Co-authored-by: Ivan Klimchuk <ivan@klimchuk.com> commit 56b2397446e15d613cdec317e6909e63b1e195a8 Merge: 28fa144b1 b24048104 Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Wed Mar 17 01:39:28 2021 +0300 style: remove unnecessary type attribute in script tags [#15533] * upstream/pr/15533: Remove unnecessary type="text/javascript" commit 28fa144b14137830a43538b6af8fe69134103535 Merge: f76a89a5f 9ca4daf4b Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Wed Mar 17 01:23:45 2021 +0300 chore: update logo and icon [#15444] * upstream/pr/15444: Update favicon.ico Update MODX logo and icon commit f76a89a5f28fe18662c15aafa96dec87e5af3808 Author: MODX Bot <extras@modx.com> Date: Tue Mar 16 08:53:27 2021 +0100 New Crowdin updates (#15551) * New translations default.inc.php (Hungarian) * New translations setting.inc.php (Thai) * New translations setting.inc.php (Swedish) * New translations setting.inc.php (Turkish) * New translations setting.inc.php (Ukrainian) * New translations setting.inc.php (Chinese Simplified) * New translations setting.inc.php (Indonesian) * New translations setting.inc.php (Persian) * New translations setting.inc.php (Estonian) * New translations setting.inc.php (Portuguese) * New translations setting.inc.php (Hindi) * New translations setting.inc.php (Yoruba) * New translations context.inc.php (German) * New translations topmenu.inc.php (Hungarian) * New translations export.inc.php (Hungarian) * New translations import.inc.php (Hungarian) * New translations setting.inc.php (Russian) * New translations setting.inc.php (Polish) * New translations setting.inc.php (Italian) * New translations setting.inc.php (Bulgarian) * New translations resource.inc.php (Hungarian) * New translations setting.inc.php (Romanian) * New translations setting.inc.php (French) * New translations setting.inc.php (Spanish) * New translations setting.inc.php (Arabic) * New translations setting.inc.php (Belarusian) * New translations setting.inc.php (Czech) * New translations setting.inc.php (Dutch) * New translations setting.inc.php (Danish) * New translations setting.inc.php (German) * New translations setting.inc.php (Greek) * New translations setting.inc.php (Finnish) * New translations setting.inc.php (Hebrew) * New translations setting.inc.php (Hungarian) * New translations setting.inc.php (Japanese) * New translations propertyset.inc.php (Hungarian) commit 8774f96a382590feea7acf1fbc6ab928d3632c8a Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Tue Mar 16 01:29:46 2021 +0600 Add mail_smtp_autotls system setting (#15549) commit 3ade066487c87217ab51f85b4f68600d6316678b Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Tue Mar 16 00:52:31 2021 +0600 Fix typo and change the name of upgrade scripts (#15548) commit c003a302680bc2d14fd1a21316d941fd2fa6fa96 Author: Mark Hamstra <hello@markhamstra.com> Date: Mon Mar 15 16:29:58 2021 +0100 Adjust PR template to encourage using right format to connect issues (#15545) https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword commit 889b21212676309d26191a352bb58198008f0c26 Author: MODX Bot <extras@modx.com> Date: Mon Mar 15 18:08:22 2021 +0100 New Crowdin updates (#15530) * New translations access.inc.php (Romanian) * New translations user.inc.php (Greek) * New translations user.inc.php (German) * New translations menu.inc.php (Greek) * New translations resource.inc.php (Greek) * New translations menu.inc.php (Finnish) * New translations resource.inc.php (Finnish) * New translations user.inc.php (Finnish) * New translations menu.inc.php (Hebrew) * New translations resource.inc.php (Hebrew) * New translations user.inc.php (Hebrew) * New translations menu.inc.php (Hungarian) * New translations menu.inc.php (Italian) * New translations user.inc.php (Italian) * New translations resource.inc.php (Japanese) * New translations category.inc.php (German) * New translations context.inc.php (German) * New translations dashboards.inc.php (German) * New translations login.inc.php (German) * New translations resource.inc.php (German) * New translations menu.inc.php (German) * New translations policy.inc.php (German) * New translations menu.inc.php (Japanese) * New translations user.inc.php (Japanese) * New translations resource.inc.php (Danish) * New translations resource.inc.php (Thai) * New translations menu.inc.php (Indonesian) * New translations resource.inc.php (Indonesian) * New translations user.inc.php (Indonesian) * New translations menu.inc.php (Persian) * New translations resource.inc.php (Persian) * New translations user.inc.php (Persian) * New translations menu.inc.php (Thai) * New translations user.inc.php (Thai) * New translations resource.inc.php (Chinese Simplified) * New translations menu.inc.php (Estonian) * New translations resource.inc.php (Estonian) * New translations user.inc.php (Estonian) * New translations menu.inc.php (Hindi) * New translations resource.inc.php (Hindi) * New translations user.inc.php (Hindi) * New translations menu.inc.php (Yoruba) * New translations resource.inc.php (Yoruba) * New translations user.inc.php (Chinese Simplified) * New translations menu.inc.php (Chinese Simplified) * New translations menu.inc.php (Dutch) * New translations filters.inc.php (Russian) * New translations resource.inc.php (Dutch) * New translations user.inc.php (Dutch) * New translations menu.inc.php (Polish) * New translations resource.inc.php (Polish) * New translations user.inc.php (Polish) * New translations menu.inc.php (Portuguese) * New translations resource.inc.php (Portuguese) * New translations user.inc.php (Portuguese) * New translations menu.inc.php (Russian) * New translations menu.inc.php (Ukrainian) * New translations resource.inc.php (Russian) * New translations user.inc.php (Russian) * New translations menu.inc.php (Swedish) * New translations resource.inc.php (Swedish) * New translations user.inc.php (Swedish) * New translations menu.inc.php (Turkish) * New translations resource.inc.php (Turkish) * New translations user.inc.php (Turkish) * New translations user.inc.php (Danish) * New translations menu.inc.php (Danish) * New translations access.inc.php (French) * New translations file.inc.php (Arabic) * New translations access.inc.php (Estonian) * New translations access.inc.php (Hindi) * New translations access.inc.php (Yoruba) * New translations default.inc.php (German) * New translations file.inc.php (Romanian) * New translations file.inc.php (French) * New translations file.inc.php (Spanish) * New translations file.inc.php (Belarusian) * New translations access.inc.php (Persian) * New translations file.inc.php (Bulgarian) * New translations file.inc.php (Czech) * New translations file.inc.php (Danish) * New translations access.inc.php (German) * New translations file.inc.php (German) * New translations file.inc.php (Greek) * New translations file.inc.php (Finnish) * New translations file.inc.php (Hebrew) * New translations access.inc.php (Thai) * New translations access.inc.php (Indonesian) * New translations file.inc.php (Italian) * New translations access.inc.php (Hebrew) * New translations access.inc.php (Spanish) * New translations access.inc.php (Arabic) * New translations access.inc.php (Belarusian) * New translations access.inc.php (Bulgarian) * New translations access.inc.php (Czech) * New translations access.inc.php (Danish) * New translations access.inc.php (Greek) * New translations access.inc.php (Finnish) * New translations access.inc.php (Hungarian) * New translations access.inc.php (Chinese Simplified) * New translations access.inc.php (Italian) * New translations access.inc.php (Japanese) * New translations access.inc.php (Dutch) * New translations access.inc.php (Polish) * New translations access.inc.php (Portuguese) * New translations access.inc.php (Russian) * New translations access.inc.php (Swedish) * New translations access.inc.php (Turkish) * New translations file.inc.php (Hungarian) * New translations resource.inc.php (Italian) * New translations user.inc.php (Czech) * New translations resource.inc.php (Arabic) * New translations user.inc.php (French) * New translations menu.inc.php (Romanian) * New translations resource.inc.php (Romanian) * New translations user.inc.php (Romanian) * New translations menu.inc.php (Spanish) * New translations resource.inc.php (Spanish) * New translations user.inc.php (Spanish) * New translations menu.inc.php (Arabic) * New translations user.inc.php (Arabic) * New translations menu.inc.php (French) * New translations menu.inc.php (Belarusian) * New translations resource.inc.php (Belarusian) * New translations user.inc.php (Belarusian) * New translations menu.inc.php (Bulgarian) * New translations resource.inc.php (Bulgarian) * New translations user.inc.php (Bulgarian) * New translations menu.inc.php (Czech) * New translations resource.inc.php (Czech) * New translations resource.inc.php (French) * New translations file.inc.php (Japanese) * New translations file.inc.php (Chinese Simplified) * New translations file.inc.php (Dutch) * New translations file.inc.php (Polish) * New translations file.inc.php (Portuguese) * New translations file.inc.php (Russian) * New translations file.inc.php (Swedish) * New translations file.inc.php (Turkish) * New translations access.inc.php (Ukrainian) * New translations file.inc.php (Ukrainian) * New translations file.inc.php (Indonesian) * New translations user.inc.php (Ukrainian) * New translations file.inc.php (Persian) * New translations file.inc.php (Thai) * New translations file.inc.php (Estonian) * New translations file.inc.php (Hindi) * New translations file.inc.php (Yoruba) * New translations resource.inc.php (Hungarian) * New translations user.inc.php (Hungarian) * New translations resource.inc.php (Ukrainian) * New translations user.inc.php (Yoruba) * New translations access.inc.php (Czech) * New translations menu.inc.php (Hungarian) * New translations topmenu.inc.php (Hungarian) * New translations default.inc.php (Czech) * New translations workspace.inc.php (Czech) * New translations content_type.inc.php (Czech) * New translations user.inc.php (Czech) * New translations access.inc.php (Hungarian) * New translations user.inc.php (Hungarian) * New translations resource.inc.php (Hungarian) * New translations file.inc.php (Hungarian) * New translations file.inc.php (Czech) * New translations default.inc.php (Czech) * New translations workspace.inc.php (Hungarian) * New translations configcheck.inc.php (German) * New translations import.inc.php (German) * New translations export.inc.php (German) * New translations workspace.inc.php (German) * New translations user.inc.php (German) * New translations tv.inc.php (German) * New translations template.inc.php (German) * New translations package_builder.inc.php (German) * New translations default.inc.php (German) * New translations messages.inc.php (German) * New translations formcustomization.inc.php (German) * New translations chunk.inc.php (German) * New translations setting.inc.php (German) * New translations file.inc.php (German) * New translations access.inc.php (German) * New translations system_info.inc.php (German) * New translations access.inc.php (Ukrainian) * New translations import.inc.php (Ukrainian) * New translations languages.inc.php (Ukrainian) * New translations package_builder.inc.php (Ukrainian) * New translations system_info.inc.php (Ukrainian) * New translations tv_widget.inc.php (Ukrainian) * New translations drivers.inc.php (Ukrainian) * New translations preload.inc.php (Ukrainian) commit b240481043ece7c6c7219127c32794dbc840e646 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Thu Mar 11 03:00:05 2021 +0600 Remove unnecessary type="text/javascript" commit 0f45967ccabdf578b6461bb58fff503f85f41d22 Author: Bruno17 <b.perner@gmx.de> Date: Tue Mar 9 19:20:31 2021 +0100 Support properties for @CHUNK/@SNIPPET bindings (#15488) * properties for @CHUNK and @SNIPPET binding * fix undefined properties * initialize match2 * check for valid JSON commit e503d9d787b0ea779c7f8ce433bbf149eb37970d Author: John Peca <pecajan@gmail.com> Date: Tue Mar 9 19:16:19 2021 +0100 Fix legacy class names (#15521) * Fix legacy class names * Fix sources.mod* class names * More old classes commit 51e702fbf1c921cfa1419ffbeaad4565881b2658 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Wed Mar 10 00:13:47 2021 +0600 Update editorconfig rules (#15520) commit b6f87b510731274f62ff299e77bcfec96a5bf4aa Author: John Peca <pecajan@gmail.com> Date: Tue Mar 9 19:12:57 2021 +0100 Replace 'modPlugin' with modPlugin::class in elementClassKey checks (#15519) Resolves #15503 commit 1ec4b2fa55c2e25ee3487064398ef68858faca7e Author: John Peca <pecajan@gmail.com> Date: Tue Mar 9 19:11:13 2021 +0100 Decode URI of directory in quick create file (#15517) * Decode the node id before passing it as directory to quick create file window * grunt build Co-authored-by: Jason Coward <jason@opengeek.com> commit fbebba7cbf634fd5d7002224c148b414c5bb9cca Author: Sergey Shlokov <sergant210@bk.ru> Date: Tue Mar 9 21:07:10 2021 +0300 Fix regular expression for file download (#15512) commit 05a0b2c53a9207f50281af84a9ee692d27b63813 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Wed Mar 10 00:03:14 2021 +0600 Improve changelog display when installing extras (#15486) * Some cosmetic styling tweaks. * grunt build Co-authored-by: Jason Coward <jason@opengeek.com> commit be46cbd3ccc2c89f0f527c41a98e78453a7a4ab2 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Tue Mar 9 20:59:38 2021 +0300 Increase width of text TV input (#15485) commit 5f49a4c9a3a3f32a7e9b7ac8e2f751f44b56e2ab Author: Joshua Lückers <joshualuckers@me.com> Date: Tue Mar 9 18:57:40 2021 +0100 Import missing classes (#15477) commit e2651a264994dbd50d4dcab1b37ff1e1f18fb37b Author: Thomas Jakobi <thomas.jakobi@partout.info> Date: Tue Mar 9 18:55:40 2021 +0100 Fix loading package metadata for modx.transport (#15466) * Fix logging 'Could not load package metadata for package modx.transport' * Missed one modx.transport usage commit 129d36f8903fe8ac5ab49f453752de90438d2731 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Tue Mar 9 20:51:00 2021 +0300 Display of the name of elements in delete messages (#15463) * Made the resource delete message to the format for deleting other elements * Added output of file name to delete message * Added output of directory name to delete message * Added output of menu name to delete message * Added output of user group name to delete message * Replaced incorrect lexicon * Added output of resource group name to delete message * grunt build Co-authored-by: Jason Coward <jason@opengeek.com> commit 6e575c6b7df6a65772de2681d142caf717c492d0 Author: Sergey Shlokov <sergant210@bk.ru> Date: Tue Mar 9 20:43:41 2021 +0300 Fix PHP notices about undefined variables (#15459) commit 2d1e31336aefa4ae31e35ec86f3aab94eafb86c1 Author: Digital Penguin <digitalpenguin@users.noreply.github.com> Date: Wed Mar 10 01:00:28 2021 +0800 Remove http:// from empty weblink field on resource create form (#15422) * Removed http:// from empty weblink field on resource create form. Updated weblink_help lexicon entry to be more descriptive. * Removed http:// value from quick create weblink content field. * grunt build Co-authored-by: Jason Coward <jason@opengeek.com> commit eafcda7d152b19bba7fa7d3d066bc12c8e7fa314 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Tue Mar 9 22:29:33 2021 +0600 Updating url in system setting base_help_url (#15411) * Updating url in system setting base_help_url * Update setup/includes/upgrades/common/3.0.0-update-base_help_url.php Co-authored-by: Joshua Lückers <joshualuckers@me.com> Co-authored-by: Joshua Lückers <joshualuckers@me.com> commit 9ca4daf4b39196c706b7439b19e66556199c7384 Author: Bochkarev Ivan <ivanx86@gmail.com> Date: Tue Mar 9 19:22:05 2021 +0600 Update favicon.ico commit 3da042615b10fc37e3d3a58bc033d7c213b8a538 Author: MODX Bot <extras@modx.com> Date: Tue Mar 9 08:46:04 2021 +0100 New Crowdin updates (#15473) * New translations about.inc.php (French) * New translations plugin.inc.php (French) * New translations category.inc.php (French) * New translations content_type.inc.php (French) * New translations context.inc.php (French) * New translations dashboards.inc.php (French) * New translations element.inc.php (French) * New translations lexicon.inc.php (French) * New translations menu.inc.php (French) * New translations package_builder.inc.php (French) * New translations policy.inc.php (French) * New translations setting.inc.php (French) * New translations resource.inc.php (French) * New translations source.inc.php (French) * New translations trash.inc.php (French) * New translations tv_input_types.inc.php (French) * New translations tv_widget.inc.php (French) * New translations user.inc.php (French) * New translations workspace.inc.php (French) * New translations default.inc.php (French) * New translations action.inc.php (French) * New translations file.inc.php (French) * New translations access.inc.php (French) * New translations default.inc.php (Hungarian) * New translations chunk.inc.php (French) * New translations configcheck.inc.php (French) * New translations default.inc.php (Romanian) * New translations default.inc.php (French) * New translations default.inc.php (Spanish) * New translations default.inc.php (Arabic) * New translations default.inc.php (Belarusian) * New translations default.inc.php (Bulgarian) * New translations default.inc.php (Czech) * New translations default.inc.php (Danish) * New translations default.inc.php (German) * New translations default.inc.php (Greek) * New translations default.inc.php (Finnish) * New translations default.inc.php (Hebrew) * New translations default.inc.php (Italian) * New translations default.inc.php (Yoruba) * New translations default.inc.php (Japanese) * New translations default.inc.php (Dutch) * New translations default.inc.php (Polish) * New translations default.inc.php (Portuguese) * New translations default.inc.php (Russian) * New translations default.inc.php (Swedish) * New translations default.inc.php (Turkish) * New translations default.inc.php (Ukrainian) * New translations default.inc.php (Chinese Simplified) * New translations default.inc.php (Indonesian) * New translations default.inc.php (Persian) * New translations default.inc.php (Thai) * New translations default.inc.php (Estonian) * New translations default.inc.php (Hindi) * New translations drivers.inc.php (French) * New translations default.inc.php (French) * New translations template.inc.php (French) * New translations rest.inc.php (French) * New translations propertyset.inc.php (French) * New translations permissions.inc.php (French) * New translations namespace.inc.php (French) * New translations login.inc.php (French) * New translations languages.inc.php (French) * New translations workspace.inc.php (French) * New translations user.inc.php (French) * New translations tv_widget.inc.php (French) * New translations tv.inc.php (French) * New translations trash.inc.php (French) * New translations topmenu.inc.php (French) * New translations system_info.inc.php (French) * New translations file.inc.php (French) * New translations source.inc.php (French) * New translations snippet.inc.php (French) * New translations resource.inc.php (French) * New translations policy.inc.php (French) * New translations plugin.inc.php (French) * New translations messages.inc.php (French) * New translations menu.inc.php (French) * New translations lexicon.inc.php (French) * New translations formcustomization.inc.php (French) * New translations events.inc.php (French) * New translations element.inc.php (French) * New translations setting.inc.php (French) * New translations languages.inc.php (French) * New translations about.inc.php (Ukrainian) * New translations action.inc.php (Ukrainian) * New translations category.inc.php (Ukrainian) * New translations context.inc.php (Ukrainian) * New translations lexicon.inc.php (Ukrainian) * New translations messages.inc.php (Ukrainian) * New translations source.inc.php (Ukrainian) * New translations workspace.inc.php (Ukrainian) * New translations about.inc.php (German) * New translations access.inc.php (German) commit 3cd02972ecade48f852ec5898288a8aa2711432c Merge: aba62d85d 51aa3f91b Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Sat Mar 6 15:37:52 2021 +0300 Fix HTTPS check on setup bootstrap * upstream/pr/15487: Fix HTTPS check on setup bootstrap commit 51aa3f91b0bd8522cbcfc1ce47c9b14501fdf991 Author: Mark Hamstra <hello@markhamstra.com> Date: Fri Mar 5 17:31:10 2021 +0100 Fix HTTPS check on setup bootstrap commit aba62d85d1bd8728534fc9810a8a822d92dfd721 Merge: 9e8ebbd4b 15ccc4b0e Author: Joshua Lückers <joshualuckers@me.com> Date: Fri Mar 5 15:47:14 2021 +0100 Fixes the preview link in the Recent Resources tab in the profile page. Merge remote-tracking branch 'upstream/pr/15474' into 3.x * upstream/pr/15474: Fix preview resource link commit 9e8ebbd4b9229dbdf442ca47df2df95657541fa6 Merge: 4f8591500 85450c76d Author: Joshua Lückers <joshualuckers@me.com> Date: Fri Mar 5 14:55:30 2021 +0100 Merge pull request #15475 from alroniks/feat/npm-script Run manager style and scripts building via npm run. commit 85450c76de84254b46eed40c0c02aab0209f0fc7 Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Fri Mar 5 16:02:21 2021 +0300 chore: improve npm package config commit 4f859150018618a5ec02a65b40b4cae8fc738d85 Merge: 2ee2c45cd b49343aee Author: Mark Hamstra <hello@markhamstra.com> Date: Fri Mar 5 13:41:08 2021 +0100 Allow install on reverse proxies with HTTPS (#15470) Merge remote-tracking branch 'upstream/pr/15470' into 3.x commit 15ccc4b0e0df83c56f0accd76c006c19650ff119 Author: sander <sander@sterc.nl> Date: Fri Mar 5 13:36:50 2021 +0100 Fix preview resource link commit b49343aee8d1bc1e471940c3c2586c2dbb0c8177 Author: Ivan Klimchuk <ivan@klimchuk.com> Date: Fri Mar 5 15:12:34 2021 +0300 fix: load setup styles when modx works behind proxy commit 2ee2c45cda11e578595990874407fbfa668f4ff4 Merge: ca92aacef 2057cae81 Author: Joshua Lückers <joshualuckers@me.com> Date: Fri Mar 5 11:29:58 2021 +0100 Merge remote-tracking branch 'origin/pr/15451' into 3.x * origin/pr/15451: Update manager/assets/modext/widgets/media/modx.browser.js Update core/src/Revolution/Sources/modMediaSource.php Fixed issue #15255 #modxbughunt commit ca92aaceffd7df9282fae62f0ef7b2fc62975bf9 Merge: 3ab91a800 7571ff371 Author: Mark Hamstra <hello@markhamstra.com> Date: Fri Mar 5 11:03:10 2021 +0100 Improve behavior of blocking users (#15442) Merge remote-tracking branch 'upstream/pr/15442' into 3.x commit 3ab91a80051490a3a3fec064b74a66c5cdb765cd Author: MODX Bot <extras@modx.com> Date: Fri Mar 5 10:48:15 2021 +0100 New Crowdin updates (#15428) * New translations setting.inc.php (Italian) * New translations setting.inc.php (Dutch) * New translations setting.inc.php (Hindi) * New translations setting.inc.php (Estonian) * New translations setting.inc.php (Thai) * New translations setting.inc.php (Persian) * New translations setting.inc.php (Indonesian) * New translations setting.inc.php (Chinese Simplified) * New translations setting.inc.php (Ukrainian) * New translations setting.inc.php (Turkish) * New translations setting.inc.php (Swedish) * New translations setting.inc.php (Russian) * New translations setting.inc.php (Portuguese) * New translations setting.inc.php (Polish) * New translations setting.inc.php (Japanese) * New translations setting.inc.php (Romanian) * New translations setting.inc.php (Hungarian) * New translations setting.inc.php (Hebrew) * New translations setting.inc.php (Finnish) * New translations setting.inc.php (Greek) * New translations setting.inc.php (German) * New translations setting.inc.php (Danish) * New translations setting.inc.php (Czech) * New translations setting.inc.php (Bulgarian) * New translations setting.inc.php (Belarusian) * New translations setting.inc.php (Arabic) * New translations setting.inc.php (Spanish) * New translations setting.inc.php (French) * New translations setting.inc.php (Yoruba) commit 6ea195e5c5e89015ceed7c5134824b63a07e1b14 Author: Ruslan Aleev <aleev.insmile@gmail.com> Date: Fri Mar 5 12:41:26 2021 +0300 Disable actionsColumn for Dashboards grid in Widget section (#15452) commit e28eee6a1e7d39c4bd3fb88a1a52dff8b126b7cb Author: Jason Coward <jason@opengeek.com> Date: Fri Mar 5 02:34:46 2021 -0700 Adjust getParents method to work with deleted resources (#15427) * Adjust getParents method to work with deleted resources * add changelog Co-authored-by: Jan Peca <pecajan@gmail.com> Co-authored-by: Mark Hamstra <hello@markhamstra.com> commit 2057cae81e5b64121fde67aeba1f627970d6b033 Author: Yana <wax100@gmail.com> Date: Fri Mar 5 12:31:32 2021 +0300 Update manager/assets/modext/widgets/media/modx.browser.js Co-authored-by: Joshua Lückers <joshualuckers@me.com> commit a5c9e9c607b7ae25e197a869f55beffd0cbaeeef Author: Yana <wax100@gmail.com> Date: Fri Mar 5 12:31:24 2021 +0300 Update core/src/Revolution/Sources/modMediaSource.php agree Co-authored-by: Joshua Lückers <joshualuckers@me.com> commit 59cb77d2f4f36be9c3e41282e2eeb45b22ea8346 Merge: dcf84ed24 0a63db66d Author: Joshua Lückers <joshualuckers@me.com> Date: Fri Mar 5 10:27:52 2021 +0100 Merge remote-tracking branch 'origin/pr/15449' into 3.x # By digitalpenguin # Via digitalpenguin * origin/pr/15449: Updated class name on plugin panel Switched class condition to MODX\Revolution\modPlugin commit dcf84ed24570864758e2f769feba45bcf38e0177 Author: Sergey Shlokov <sergant210@bk.ru> Date: Fri Mar 5 12:24:39 2021 +0300 Fixed a notice about undefined index icon in the site manager (#15433). (#15435) commit 596b4dce30496c660af557a92e94d1c7bdccf93e Author: Sergey Shlokov <sergant210@bk.ru> Date: Fri Mar 5 12:17:22 2021 +0300 Fixed warnings about incorrect passed variables (#13943) (#15440) commit 0a63db66d78415e659551706de4f48249c6a5288 Author: digitalpenguin <murray@digitalpenguin.hk> Date: Fri Mar 5 16:50:09 2021 +0800 Updated class name on plugin panel commit 7571ff371eeb2a63e4cad64e36b12da68e2e28fc Author: Sergey Shlokov <sergant210@bk.ru> Date: Fri Mar 5 11:44:29 2021 +0300 Update Login.php commit 46f0285378a6eb7f135e458d270772bc1b0ac539 Author: Sergey Shlokov <sergant210@bk.ru> Date: Fri Mar 5 11:44:00 2021 +0300 Fixed incorrect hour checks for the greeting message. (#15443) commit 925b6ce67de680fede779a2e77904fe31d1aa00f Author: wax100 <wax100@gmail.com> Date: Fri Mar 5 11:36:51 2021 +0300 Fixed issue #15255 #modxbughunt commit aba5e1e1c508a55f665e817c3e0c9f75a6cc5ef2 Author: digitalpenguin <mur…
What does it do?
Adds passing properties to snippets or chunks in @chunk and @snippet bindings
Why is it needed?
@chunk and @snippet bindings doesn't support passing properties to snippets or chunks
How to test
Could be tested with a binding like that:
@SNIPPET createOptions {"classname":"modResource","field":"pagetitle"}
snippetcode:
Related issue(s)/PR(s)
could close #14074
addition to #15454