Some small changes

This commit is contained in:
the-djmaze 2026-11-01 22:12:29 +01:00
parent 124a9c687e
commit 7ebd70418c
3 changed files with 23 additions and 20 deletions

View file

@ -13,35 +13,35 @@ module.exports = {
},
globals: {
// SnappyMail
'rainloopI18N': "readonly",
'rainloopTEMPLATES': "readonly",
'rl': "readonly",
'shortcuts': "readonly",
// '__APP_BOOT': "readonly",
rainloopI18N: 'readonly',
rainloopTEMPLATES: 'readonly',
rl: 'readonly',
shortcuts: 'readonly',
// __APP_BOOT: 'readonly',
// deb/boot.js
'progressJs': "readonly",
progressJs: 'readonly',
// others
'openpgp': "readonly",
'CKEDITOR': "readonly",
'Squire': "readonly",
'SquireUI': "readonly",
openpgp: 'readonly',
CKEDITOR: 'readonly',
Squire: 'readonly',
SquireUI: 'readonly',
// node_modules/knockout but dev/External/ko.js is used
'ko': "readonly",
ko: 'readonly',
// vendors/routes/
'hasher': "readonly",
'Crossroads': "readonly",
hasher: 'readonly',
Crossroads: 'readonly',
// vendors/jua
'Jua': "readonly",
Jua: 'readonly',
// vendors/bootstrap/bootstrap.native.js
'BSN': "readonly",
BSN: 'readonly',
// Mailvelope
'mailvelope': "readonly",
mailvelope: 'readonly',
// Punycode
'IDN': "readonly",
IDN: 'readonly',
// Turndown
'TurndownService': "readonly",
TurndownService: 'readonly',
// Marked
'marked': "readonly"
marked: 'readonly'
},
// http://eslint.org/docs/rules/
rules: {

View file

@ -1,6 +1,9 @@
<?php
echo "\x1b[33;1m === cPanel === \x1b[0m\n";
$file = ROOT_DIR . '/integrations/cpanel/var/cpanel/webmail/webmail_snappymail.yaml';
file_put_contents($file, preg_replace('@/[0-9.]+/@', "/{$package->version}/", file_get_contents($file)));
$cpanel_destination = "{$destPath}snappymail-{$package->version}-cpanel.tar";
@unlink($cpanel_destination);

View file

@ -4,7 +4,7 @@
<div class="span4">
<div class="rl-logo"></div>
<div>
2024 © <span data-i18n="TAB_ABOUT/LABEL_ALL_RIGHTS_RESERVED"></span>
2026 © <span data-i18n="TAB_ABOUT/LABEL_ALL_RIGHTS_RESERVED"></span>
<br>
<a class="g-ui-link" href="https://snappymail.eu/" target="_blank" style="padding-left: 0">https://snappymail.eu/</a>
</div>