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:
google-labs-jules[bot] 2026-02-20 11:18:25 +00:00
parent a88d24c38a
commit 0b86edb167
83 changed files with 844 additions and 844 deletions

View file

@ -308,16 +308,16 @@ export const
// Not supported by <template> element
// .replace(/<!doctype[^>]*>/gi, '')
// .replace(/<\?xml[^>]*\?>/gi, '')
// https://github.com/the-djmaze/snappymail/issues/1860
// https://github.com/nextgen-networks/snappymail/issues/1860
.replace(/<(\/?)x-html(\s[^>]*)?>/gi, '')
.replace(/<(\/?)head(\s[^>]*)?>/gi, '')
.replace(/<(\/?)body(\s[^>]*)?>/gi, '<$1div class="mail-body"$2>')
// .replace(/<\/?(html|head)[^>]*>/gi, '')
// Fix Reddit https://github.com/the-djmaze/snappymail/issues/540
// Fix Reddit https://github.com/nextgen-networks/snappymail/issues/540
.replace(/<span class="preview-text"[\s\S]+?<\/span>/, '')
// https://github.com/the-djmaze/snappymail/issues/900
// https://github.com/nextgen-networks/snappymail/issues/900
.replace(/\u2028/g,' ')
// https://github.com/the-djmaze/snappymail/issues/1415
// https://github.com/nextgen-networks/snappymail/issues/1415
.replace(/<br>\s*<\/p>/gi,'</p>')
.trim();
html = '';
@ -343,7 +343,7 @@ export const
}
});
// https://github.com/the-djmaze/snappymail/issues/1125
// https://github.com/nextgen-networks/snappymail/issues/1125
tmpl.content.querySelectorAll(keepTagContent).forEach(oElement => replaceWithChildren(oElement));
tmpl.content.querySelectorAll(
@ -359,7 +359,7 @@ export const
});
*/
// https://github.com/the-djmaze/snappymail/issues/1641
// https://github.com/nextgen-networks/snappymail/issues/1641
let body = tmpl.content.querySelector('.mail-body');
[...tmpl.content.querySelectorAll('.mail-body + .mail-body')]
.forEach(oElement => body.append(...oElement.childNodes));
@ -626,7 +626,7 @@ export const
setAttribute('data-x-style-broken-urls', JSON.stringify(urls_broken));
}
/*
// https://github.com/the-djmaze/snappymail/issues/1082
// https://github.com/nextgen-networks/snappymail/issues/1082
if (11 > pInt(oStyle.fontSize)) {
oStyle.removeProperty('font-size');
}
@ -775,7 +775,7 @@ export const
plain = plain.toString()
.replace(/\r/g, '')
.replace(/^>[> ]>+/gm, ([match]) => (match ? match.replace(/[ ]+/g, '') : match))
// https://github.com/the-djmaze/snappymail/issues/900
// https://github.com/nextgen-networks/snappymail/issues/900
.replace(/\u2028/g,' ');
let bIn = false,

View file

@ -56,7 +56,7 @@ loadAccountsAndIdentities = () => {
);
// Invoke "Update Identity" pop up right after login
// https://github.com/the-djmaze/snappymail/issues/1689
// https://github.com/nextgen-networks/snappymail/issues/1689
const main = IdentityUserStore.main();
main && !main.exists() && setTimeout(()=>editIdentity(main), 1000);
}
@ -69,7 +69,7 @@ loadAccountsAndIdentities = () => {
*/
download = (link, name = "") => {
console.log('download: '+link);
// Firefox 98 issue https://github.com/the-djmaze/snappymail/issues/301
// Firefox 98 issue https://github.com/nextgen-networks/snappymail/issues/301
if (ThemeStore.isMobile() || /firefox/i.test(navigator.userAgent)) {
open(link, '_blank');
focus();