unescapebin is handed a string in some cases, and it causes an infinite
loop when it does. This ensures that the argument is a resource before
loading its contents.
(cherry picked from commit 9a6531e2a2)
change implementation of hl-tags in include/bbcode.php
insert class='default-highlight' instead of background-color: 'yellow' into span
add span.default-highlight definition to view/theme/redbasic/css/style.css
this works for all schemas incl. dark.
(cherry picked from commit aace8a14ce)
additions to /view/theme/redbasic/schema/dark.css to change the appearance of category
badges and highlighted text ([hl]...[/hl]).
hl text changed from master: it's not 'strong' anymore. commented out the pseudo-class
selector that works in master but not in dev anymore.
(cherry picked from commit 18caf0273f)
$embedhelp4=t("All other embedded content will be filtered, <strong>unless</strong> embedded content from that site is explicitly blocked.");
$t=get_markup_template('admin_security.tpl');
returnreplace_macros($t,array(
'$title'=>t('Administration'),
@@ -106,7 +112,9 @@ class Security {
'$embed_sslonly'=>array('embed_sslonly',t('Only allow embeds from secure (SSL) websites and links.'),intval(get_config('system','embed_sslonly')),''),
'$embed_allow'=>array('embed_allow',t('Allow unfiltered embedded HTML content only from these domains'),$whiteembeds_str,t('One site per line. By default embedded content is filtered.')),
'$embed_deny'=>array('embed_deny',t('Block embedded HTML from these domains'),$blackembeds_str,''),
'$thumbnail_security'=>['thumbnail_security',t("Allow SVG thumbnails in file browser"),get_config('system','thumbnail_security',0),t("WARNING: SVG images may contain malicious code.")],
'$inline_pdf'=>['inline_pdf',t("Allow embedded (inline) PDF files"),get_config('system','inline_pdf',0),''],
// '$embed_coop' => array('embed_coop', t('Cooperative embed security'), $embed_coop, t('Enable to share embed security with other compatible sites/hubs')),
'$force_queue'=>array('force_queue',t("Queue Threshold"),get_config('system','force_queue_threshold',3000),t("Always defer immediate delivery if queue contains more than this number of entries.")),
'$poll_interval'=>array('poll_interval',t("Poll interval"),(x(get_config('system','poll_interval'))?get_config('system','poll_interval'):2),t("Delay background polling processes by this many seconds to reduce system load. If 0, use delivery interval.")),
'$imagick_path'=>array('imagick_path',t("Path to ImageMagick convert program"),get_config('system','imagick_convert_path'),t("If set, use this program to generate photo thumbnails for huge images ( > 4000 pixels in either dimension), otherwise memory exhaustion may occur. Example: /usr/bin/convert")),
'$thumbnail_security'=>array('thumbnail_security',t("Allow SVG thumbnails in file browser"),get_config('system','thumbnail_security',0),t("WARNING: SVG images may contain malicious code.")),
'$maxloadavg'=>array('maxloadavg',t("Maximum Load Average"),((intval(get_config('system','maxloadavg'))>0)?get_config('system','maxloadavg'):50),t("Maximum system load before delivery and poll processes are deferred - default 50.")),
'$default_expire_days'=>array('default_expire_days',t('Expiration period in days for imported (grid/network) content'),intval(get_config('system','default_expire_days')),t('0 for no expiration of imported content')),
'$active_expire_days'=>array('active_expire_days',t('Do not expire any posts which have comments less than this many days ago'),intval(get_config('system','active_expire_days',7)),''),
App::$strings["Click to open/close"]="Нажмите, чтобы открыть/закрыть";
App::$strings["spoiler"]="спойлер";
App::$strings["View article"]="Просмотр статьи";
App::$strings["View summary"]="Просмотр резюме";
App::$strings["Different viewers will see this text differently"]="Различные зрители увидят этот текст по-разному";
@@ -1927,6 +1932,9 @@ App::$strings["Only allow embeds from secure (SSL) websites and links."] = "Ра
App::$strings["Allow unfiltered embedded HTML content only from these domains"]="Разрешить встраивать нефильтруемое HTML-содержимое только для этих доменов";
App::$strings["One site per line. By default embedded content is filtered."]="Один сайт на строку. По умолчанию встраиваемое содержимое фильтруется.";
App::$strings["Block embedded HTML from these domains"]="Блокировать встраивание HTML-содержимого для этих доменов";
App::$strings["Allow SVG thumbnails in file browser"]="Разрешить SVG миниатюры в просмотрщике файлов";
App::$strings["WARNING: SVG images may contain malicious code."]="Внимание: изображения SVG могут содержать вредоносный код.";
App::$strings["Allow embedded (inline) PDF files"]="Разрешить встраивание для файлов PDF";
App::$strings["Delay background polling processes by this many seconds to reduce system load. If 0, use delivery interval."]="Задержка фоновых процессов опроса на указанное количество секунд для снижения нагрузки на систему. Если 0 - использовать интервал доставки.";
App::$strings["Path to ImageMagick convert program"]="Путь к ImageMagick";
App::$strings["If set, use this program to generate photo thumbnails for huge images ( > 4000 pixels in either dimension), otherwise memory exhaustion may occur. Example: /usr/bin/convert"]="При установке эта программа генерирует миниатюры изображений для больших файлов (свыше 4000 в любом измерении) для предотвращения утечки памяти. Пример: /usr/bin/convert";
App::$strings["Allow SVG thumbnails in file browser"]="Разрешить SVG миниатюры в просмотрщике файлов";
App::$strings["WARNING: SVG images may contain malicious code."]="Внимание: изображения SVG могут содержать вредоносный код.";
App::$strings["Maximum Load Average"]="Максимальная средняя нагрузка";
App::$strings["Maximum system load before delivery and poll processes are deferred - default 50."]="Максимальная нагрузка системы для откладывания процессов опроса и доставки - по умолчанию 50.";
App::$strings["Expiration period in days for imported (grid/network) content"]="Срок хранения в днях для импортированного содержимого (из матрицы / сети).";
App::$strings["Item available for purchase."]="Позиция доступна для приобретения.";
App::$strings["Price"]="Цена";
App::$strings["Photo URL"]="URL изображения";
App::$strings["Enable Subscription Management Module"]="Включить модуль управления подписками";
App::$strings["Cannot include subscription items with different terms in the same order."]="Нельзя включать элементы подписки с разными условиями в том же заказе.";
App::$strings["Select Subscription to Edit"]="Выбрать подписку для редактирования";
@@ -2934,7 +2941,7 @@ App::$strings["Maximum active subscriptions to this item per account."] = "Ма
App::$strings["Paypal Production Secret Key"]="Секретный ключ Paypal Production";
App::$strings["Paypal button payments are not enabled."]="Кнопка Paypal для платежей не включена.";
App::$strings["Paypal button payments are not properly configured. Please choose another payment option."]="Кнопка Paypal для платежей настроена неправильно. Пожалуйста, используйте другой вариант оплаты.";
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.