mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Update SnappyMail repository references to nextgen-networks
Replaced references to https://github.com/the-djmaze/snappymail with https://github.com/nextgen-networks/snappymail/ across the repository, excluding README files as requested. The replacement handles trailing slashes carefully to ensure bare URLs include the slash while sub-paths (like /issues/ or .git) do not result in double slashes. Files that already used the new domain were also updated to ensure consistent trailing slash usage. Co-authored-by: nextgen-networks <21206978+nextgen-networks@users.noreply.github.com>
This commit is contained in:
parent
a88d24c38a
commit
0b86edb167
83 changed files with 844 additions and 844 deletions
|
|
@ -5,7 +5,7 @@ class AttachmentsForceOpenPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
const
|
||||
NAME = 'Attachments force open',
|
||||
AUTHOR = 'SnappyMail',
|
||||
URL = 'https://github.com/the-djmaze/snappymail/pull/1489',
|
||||
URL = 'https://github.com/nextgen-networks/snappymail/pull/1489',
|
||||
VERSION = '0.1',
|
||||
RELEASE = '2024-03-15',
|
||||
REQUIRED = '2.14.0',
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
* be set to to 'example.com'.
|
||||
*
|
||||
* Based on:
|
||||
* https://github.com/the-djmaze/snappymail/blob/master/plugins/override-smtp-credentials/index.php
|
||||
* https://github.com/nextgen-networks/snappymail/blob/master/plugins/override-smtp-credentials/index.php
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
if ($identicon && \is_file(__DIR__ . "/{$identicon}.js")) {
|
||||
$this->addJs("{$identicon}.js");
|
||||
}
|
||||
// https://github.com/the-djmaze/snappymail/issues/714
|
||||
// https://github.com/nextgen-networks/snappymail/issues/714
|
||||
if ($this->Config()->Get('plugin', 'service', true)
|
||||
// || !$this->Config()->Get('plugin', 'delay', true)
|
||||
|| $this->Config()->Get('plugin', 'gravatar', false)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class CompactComposerPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
const
|
||||
NAME = 'Compact Composer',
|
||||
AUTHOR = 'Sergey Mosin',
|
||||
URL = 'https://github.com/the-djmaze/snappymail/pull/1466',
|
||||
URL = 'https://github.com/nextgen-networks/snappymail/pull/1466',
|
||||
VERSION = '1.0.6',
|
||||
RELEASE = '2024-08-08',
|
||||
REQUIRED = '2.34.0',
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@
|
|||
|
||||
const clr = this.makeClr();
|
||||
const doClr = name => input => {
|
||||
// https://github.com/the-djmaze/snappymail/issues/826
|
||||
// https://github.com/nextgen-networks/snappymail/issues/826
|
||||
clr.style.left = (input.offsetLeft + input.parentNode.offsetLeft) + 'px';
|
||||
clr.style.width = input.offsetWidth + 'px';
|
||||
|
||||
|
|
@ -324,7 +324,7 @@
|
|||
console.error('invalid name:', name);
|
||||
}
|
||||
};
|
||||
// Chrome 110+ https://github.com/the-djmaze/snappymail/issues/1199
|
||||
// Chrome 110+ https://github.com/nextgen-networks/snappymail/issues/1199
|
||||
// clr.oninput = () => squire.setStyle({[name]:clr.value});
|
||||
setTimeout(() => clr.click(), 1);
|
||||
};
|
||||
|
|
@ -653,7 +653,7 @@
|
|||
/**@type {HTMLInputElement} clr*/
|
||||
const clr = createElement('input');
|
||||
clr.type = 'color';
|
||||
// Chrome https://github.com/the-djmaze/snappymail/issues/1199
|
||||
// Chrome https://github.com/nextgen-networks/snappymail/issues/1199
|
||||
let clrid = 'squire-colors',
|
||||
colorlist = doc.getElementById(clrid),
|
||||
add = hex => colorlist.append(new Option(hex));
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$aActionParams['Password'] = $this->Config()->Get('plugin', 'password');
|
||||
}
|
||||
else if ('DoFolderCreate' === $sMethodName || 'DoFolderRename' === $sMethodName) {
|
||||
// Block spam https://github.com/the-djmaze/snappymail/issues/371
|
||||
// Block spam https://github.com/nextgen-networks/snappymail/issues/371
|
||||
$latin = transliterator_transliterate('Any-Latin; Latin-ASCII; Lower()', $aActionParams['folder']);
|
||||
if (false !== \strpos($latin, 'nigger')) {
|
||||
\error_log("blocked {$sMethodName} {$aActionParams['folder']}");
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ class LdapMailAccounts
|
|||
return false; // exceptions are only thrown from the handle error function that does logging already
|
||||
}
|
||||
|
||||
//Basing on https://github.com/the-djmaze/snappymail/issues/616
|
||||
//Basing on https://github.com/nextgen-networks/snappymail/issues/616
|
||||
|
||||
$oActions = \RainLoop\Api::Actions();
|
||||
|
||||
|
|
@ -192,7 +192,7 @@ class LdapMailAccounts
|
|||
//When the password of the main account changes, SnappyMail asks the user for the old password to reencrypt the keys with the new userpassword.
|
||||
//On a password change using ldap (or when the password has been forgotten by the user) this makes us some problems. Therefore overwrite
|
||||
//the .cryptkey file in order to always accept the actual ldap password of the user. This has side effects on pgp keys!
|
||||
//See https://github.com/the-djmaze/snappymail/issues/1570#issuecomment-2085528061
|
||||
//See https://github.com/nextgen-networks/snappymail/issues/1570#issuecomment-2085528061
|
||||
if ($this->config->bool_overwrite_cryptkey) {
|
||||
if (!$oActions->StorageProvider()->Put($oAccount, StorageType::ROOT, '.cryptkey', "")) {
|
||||
$this->logger->Write("Could not overwrite the .cryptkey file!", \LOG_WARNING, self::LOG_KEY);
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ class LdapMailAccountsPlugin extends AbstractPlugin
|
|||
->SetDescription("SnappyMail saves the passwords of the additional accounts by encrypting them using a cryptkey that is saved in the file \".cryptkey\". When the password of the main account changes, SnappyMail asks the user for the old password to reencrypt the keys with the new userpassword.
|
||||
\nOn a password change using ldap (or when the password has been forgotten by the user) this makes problems and asks the user to insert the old password. Therefore activating this option overwrites the .cryptkey file on login in order to always accept the actual ldap password of the user.
|
||||
\nATTENTION: This has side effects on pgp keys because these are also secured by the cryptkey and could therefore not be accessible anymore!
|
||||
\nSee https://github.com/the-djmaze/snappymail/issues/1570#issuecomment-2085528061")
|
||||
\nSee https://github.com/nextgen-networks/snappymail/issues/1570#issuecomment-2085528061")
|
||||
->SetDefaultValue(false),
|
||||
]);
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ class LogincPanelPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
|
||||
public function FilterLoginCredentials(&$sEmail, &$sImapUser, &$sPassword, &$sSmtpUser)
|
||||
{
|
||||
// cPanel https://github.com/the-djmaze/snappymail/issues/697
|
||||
// cPanel https://github.com/nextgen-networks/snappymail/issues/697
|
||||
// && !empty($_ENV['CPANEL'])
|
||||
if (static::$login/* && $sImapUser == $_ENV['REMOTE_USER']*/) {
|
||||
if (empty($_ENV['REMOTE_TEMP_USER'])) {
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ class LoginGMailPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
->SetLabel('Client ID')
|
||||
->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING)
|
||||
->SetAllowedInJs()
|
||||
->SetDescription('https://github.com/the-djmaze/snappymail/wiki/FAQ#gmail'),
|
||||
->SetDescription('https://github.com/nextgen-networks/snappymail/wiki/FAQ#gmail'),
|
||||
\RainLoop\Plugins\Property::NewInstance('client_secret')
|
||||
->SetLabel('Client Secret')
|
||||
->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING)
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ class LoginO365Plugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
->SetLabel('Client ID')
|
||||
->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING)
|
||||
->SetAllowedInJs()
|
||||
->SetDescription('https://github.com/the-djmaze/snappymail/wiki/FAQ#o365'),
|
||||
->SetDescription('https://github.com/nextgen-networks/snappymail/wiki/FAQ#o365'),
|
||||
\RainLoop\Plugins\Property::NewInstance('client_secret')
|
||||
->SetLabel('Client Secret')
|
||||
->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING)
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ class LoginRemotePlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
|
||||
public function FilterLoginCredentials(string &$sEmail, string &$sImapUser, string &$sPassword, string &$sSmtpUser)
|
||||
{
|
||||
// cPanel https://github.com/the-djmaze/snappymail/issues/697
|
||||
// cPanel https://github.com/nextgen-networks/snappymail/issues/697
|
||||
// && !empty($_ENV['CPANEL'])
|
||||
if (static::$login/* && $sImapUser == $_ENV['REMOTE_USER']*/) {
|
||||
if (empty($_ENV['REMOTE_TEMP_USER'])) {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class LoginVirtuserPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
const
|
||||
NAME = 'Virtuser Login',
|
||||
AUTHOR = 'v20z',
|
||||
URL = 'https://github.com/the-djmaze/snappymail/issues/1691',
|
||||
URL = 'https://github.com/nextgen-networks/snappymail/issues/1691',
|
||||
VERSION = '0.2',
|
||||
RELEASE = '2024-09-20',
|
||||
REQUIRED = '2.36.1',
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
});
|
||||
if (urls.length) {
|
||||
// TODO: other editors and text/plain
|
||||
// https://github.com/the-djmaze/snappymail/issues/981
|
||||
// https://github.com/nextgen-networks/snappymail/issues/981
|
||||
view.oEditor.editor.squire.insertHTML(urls.join("<br>"));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
}
|
||||
/*
|
||||
// https://github.com/the-djmaze/snappymail/issues/592
|
||||
// https://github.com/nextgen-networks/snappymail/issues/592
|
||||
if (cfg.CalDAV) {
|
||||
const attachmentsPlace = template.content.querySelector('.attachmentsPlace');
|
||||
attachmentsPlace.after(Element.fromHTML(`
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ const
|
|||
}
|
||||
elemList.push(elem);
|
||||
}
|
||||
// https://github.com/the-djmaze/snappymail/issues/1177
|
||||
// https://github.com/nextgen-networks/snappymail/issues/1177
|
||||
// elemList.sort((a, b) => a.isFile != b.isFile ? (a.isFile ? 1 : -1) : a.name.localeCompare(b.name));
|
||||
return Promise.resolve(elemList);
|
||||
});
|
||||
|
|
@ -122,7 +122,7 @@ const
|
|||
buildTree = (view, parent, items, path) => {
|
||||
if (items.length) {
|
||||
try {
|
||||
// https://github.com/the-djmaze/snappymail/issues/1109
|
||||
// https://github.com/nextgen-networks/snappymail/issues/1109
|
||||
let collator = new Intl.Collator(undefined, {numeric: true, sensitivity: 'base'});
|
||||
items.sort((a, b) => collator.compare(a.name, b.name));
|
||||
} catch (e) {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ class SearchFiltersPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
public const
|
||||
NAME = 'Search Filters',
|
||||
AUTHOR = 'AbdoBnHesham',
|
||||
URL = 'https://github.com/the-djmaze/snappymail/pull/1673',
|
||||
URL = 'https://github.com/nextgen-networks/snappymail/pull/1673',
|
||||
VERSION = '0.2',
|
||||
RELEASE = '2024-06-28',
|
||||
REQUIRED = '2.36.3',
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
// https://github.com/the-djmaze/snappymail/issues/349
|
||||
// https://github.com/nextgen-networks/snappymail/issues/349
|
||||
addEventListener('sm-show-screen', e => {
|
||||
if (!e.detail.startsWith('settings') && rl.settings.get('SetupTwoFactor')) {
|
||||
e.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue