mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +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
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ export class EmailAddressesComponent {
|
|||
datalist.append(new Option(item));
|
||||
chars = Math.max(chars, item.length);
|
||||
});
|
||||
// https://github.com/the-djmaze/snappymail/issues/368 and #513
|
||||
// https://github.com/nextgen-networks/snappymail/issues/368 and #513
|
||||
chars *= 8;
|
||||
if (input.clientWidth < chars) {
|
||||
input.style.width = chars + 'px';
|
||||
|
|
|
|||
6
dev/External/SquireUI.js
vendored
6
dev/External/SquireUI.js
vendored
|
|
@ -38,13 +38,13 @@ class SquireUI
|
|||
const
|
||||
clr = createElement('input'),
|
||||
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';
|
||||
|
||||
clr.value = '';
|
||||
clr.onchange = () => squire.setStyle({[name]:clr.value});
|
||||
// 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);
|
||||
},
|
||||
|
|
@ -263,7 +263,7 @@ class SquireUI
|
|||
|
||||
clr.type = 'color';
|
||||
toolbar.append(clr);
|
||||
// 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));
|
||||
|
|
|
|||
|
|
@ -438,8 +438,8 @@ export class FolderModel extends AbstractModel {
|
|||
/*
|
||||
{
|
||||
// TODO: make this optional in Settings
|
||||
// https://github.com/the-djmaze/snappymail/issues/457
|
||||
// https://github.com/the-djmaze/snappymail/issues/567
|
||||
// https://github.com/nextgen-networks/snappymail/issues/457
|
||||
// https://github.com/nextgen-networks/snappymail/issues/567
|
||||
const
|
||||
unread = this.unreadEmails(),
|
||||
type = this.type();
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ fetchJSON = (action, sUrl, params, timeout, jsonCallback) => {
|
|||
params.Action = action;
|
||||
}
|
||||
}
|
||||
// Don't abort, read https://github.com/the-djmaze/snappymail/issues/487
|
||||
// Don't abort, read https://github.com/nextgen-networks/snappymail/issues/487
|
||||
// abort(action, 0, 1);
|
||||
const controller = new AbortController(),
|
||||
signal = controller.signal;
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ export class UserSettingsSecurity extends AbstractViewSettings {
|
|||
*/
|
||||
window.mailvelope && mailvelope.createSettingsContainer('#mailvelope-settings'/*[, keyring], options*/);
|
||||
/**
|
||||
* https://github.com/the-djmaze/snappymail/issues/973
|
||||
* https://github.com/nextgen-networks/snappymail/issues/973
|
||||
Remote.request('GetStoredPGPKeys', (iError, data) => {
|
||||
console.dir([iError, data]);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ let __themeTimer = 0;
|
|||
export const
|
||||
// Also see Styles/_Values.less @maxMobileWidth
|
||||
isMobile = matchMedia('(max-width: 799px)'),
|
||||
// https://github.com/the-djmaze/snappymail/issues/1150
|
||||
// https://github.com/nextgen-networks/snappymail/issues/1150
|
||||
// isSmall = matchMedia('(max-width: 1400px)'),
|
||||
|
||||
ThemeStore = {
|
||||
|
|
|
|||
|
|
@ -508,7 +508,7 @@ MessagelistUserStore.moveMessages = (
|
|||
} else {
|
||||
MessagelistUserStore.isIncomplete(true);
|
||||
|
||||
// Select next email https://github.com/the-djmaze/snappymail/issues/968
|
||||
// Select next email https://github.com/nextgen-networks/snappymail/issues/968
|
||||
if (currentMessage && 1 == messages.length && SettingsUserStore.showNextMessage()) {
|
||||
let next = MessagelistUserStore.indexOf(currentMessage) + 1;
|
||||
if (0 < next && (next = MessagelistUserStore()[next])) {
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ dialog:not(.animate) {
|
|||
}
|
||||
|
||||
/**
|
||||
* https://github.com/the-djmaze/snappymail/issues/686
|
||||
* https://github.com/nextgen-networks/snappymail/issues/686
|
||||
*/
|
||||
@media screen and (max-width: @maxMobileWidth) {
|
||||
dialog {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
/* https://github.com/the-djmaze/snappymail/issues/1427 */
|
||||
/* https://github.com/nextgen-networks/snappymail/issues/1427 */
|
||||
#V-MailFolderList .e-checkbox {
|
||||
margin: 0 4px;
|
||||
width: calc(100% - 8px);
|
||||
|
|
|
|||
|
|
@ -968,7 +968,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
// no default
|
||||
}
|
||||
|
||||
// https://github.com/the-djmaze/snappymail/issues/491
|
||||
// https://github.com/nextgen-networks/snappymail/issues/491
|
||||
tpl.innerHTML = oLastMessage.bodyAsHTML();
|
||||
tpl.content.querySelectorAll('img').forEach(img => {
|
||||
img.src || img.dataset.xSrc || img.replaceWith(img.alt || img.title)
|
||||
|
|
|
|||
|
|
@ -269,7 +269,7 @@ export class DomainPopupView extends AbstractViewPopup {
|
|||
|
||||
testConnectionCommand() {
|
||||
this.clearTesting();
|
||||
// https://github.com/the-djmaze/snappymail/issues/477
|
||||
// https://github.com/nextgen-networks/snappymail/issues/477
|
||||
AskPopupView.credentials('IMAP', 'GLOBAL/TEST').then(credentials => {
|
||||
if (credentials) {
|
||||
this.testing(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue