Compare commits

..

No commits in common. "5a10f2dd7c14f1f08b12a220d8fb2f8430541889" and "55576084fc905643d2d44cef2bf47cb6c241737c" have entirely different histories.

3 changed files with 14 additions and 27 deletions

View File

@ -564,7 +564,7 @@ rspamd_config:register_symbol({
else else
local footer = parser:get_object() local footer = parser:get_object()
if footer and type(footer) == "table" and (footer.html and footer.html ~= "" or footer.plain and footer.plain ~= "") then if footer and type(footer) == "table" and (footer.html or footer.plain) then
rspamd_logger.infox(rspamd_config, "found domain wide footer for user %s: html=%s, plain=%s", uname, footer.html, footer.plain) rspamd_logger.infox(rspamd_config, "found domain wide footer for user %s: html=%s, plain=%s", uname, footer.html, footer.plain)
local envfrom_mime = task:get_from(2) local envfrom_mime = task:get_from(2)
@ -635,10 +635,6 @@ rspamd_config:register_symbol({
out_parts[#out_parts + 1] = o out_parts[#out_parts + 1] = o
out_parts[#out_parts + 1] = newline_s out_parts[#out_parts + 1] = newline_s
else else
local removePrefix = "--\x0D\x0AContent-Type"
if string.lower(string.sub(tostring(o[1]), 1, string.len(removePrefix))) == string.lower(removePrefix) then
o[1] = string.sub(tostring(o[1]), string.len("--\x0D\x0A") + 1)
end
out_parts[#out_parts + 1] = o[1] out_parts[#out_parts + 1] = o[1]
if o[2] then if o[2] then
out_parts[#out_parts + 1] = newline_s out_parts[#out_parts + 1] = newline_s

View File

@ -220,7 +220,7 @@ jQuery(function($){
if (value.score > 0) highlightClass = 'negative'; if (value.score > 0) highlightClass = 'negative';
else if (value.score < 0) highlightClass = 'positive'; else if (value.score < 0) highlightClass = 'positive';
else highlightClass = 'neutral'; else highlightClass = 'neutral';
$('#qid_detail_symbols').append('<span data-bs-toggle="tooltip" class="rspamd-symbol ' + highlightClass + '" title="' + (value.options ? escapeHtml(value.options.join(', ')) : '') + '">' + value.name + ' (<span class="score">' + value.score + '</span>)</span>'); $('#qid_detail_symbols').append('<span data-bs-toggle="tooltip" class="rspamd-symbol ' + highlightClass + '" title="' + (value.options ? value.options.join(', ') : '') + '">' + value.name + ' (<span class="score">' + value.score + '</span>)</span>');
}); });
$('[data-bs-toggle="tooltip"]').tooltip(); $('[data-bs-toggle="tooltip"]').tooltip();
} }
@ -295,7 +295,3 @@ jQuery(function($){
$(".table_collapse_option").hide(); $(".table_collapse_option").hide();
} }
}); });

View File

@ -891,15 +891,10 @@ if [ "$CURRENT_REPO" != "$DEFAULT_REPO" ]; then
echo "The Repository currently used is not the default Mailcow Repository." echo "The Repository currently used is not the default Mailcow Repository."
echo "Currently Repository: $CURRENT_REPO" echo "Currently Repository: $CURRENT_REPO"
echo "Default Repository: $DEFAULT_REPO" echo "Default Repository: $DEFAULT_REPO"
if [ ! $FORCE ]; then
read -r -p "Should it be changed back to default? [y/N] " repo_response read -r -p "Should it be changed back to default? [y/N] " repo_response
if [[ "$repo_response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then if [[ "$repo_response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
git remote set-url origin $DEFAULT_REPO git remote set-url origin $DEFAULT_REPO
fi fi
else
echo "Running in forced mode... setting Repo to default!"
git remote set-url origin $DEFAULT_REPO
fi
fi fi
if [ ! $DEV ]; then if [ ! $DEV ]; then