mirror of
https://github.com/hanzoai/mail.git
synced 2026-09-23 23:53:02 +00:00
webmail: bug reports go to our tracker, not upstream's
The webmail 'file a bug' links and the JS error reporter pointed at github.com/mjl-/mox/issues. Deployed as-is, every Hanzo user hitting a webmail error would have filed it on Mechiel's tracker — noise for upstream and lost reports for us. Rewritten in BOTH webmail.ts and the generated webmail.js (4 occurrences each, verified equal) so they do not disagree until the frontend toolchain next regenerates. The error-report title is namespaced to hanzo mail so the prior-reports search matches our issues. This does not touch LICENSE, NOTICE, or attribution: the fork stays honestly Mox's, only the place to report OUR deployment's bugs changes. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
+2
-2
@@ -2584,7 +2584,7 @@ const cmdHelp = async () => {
|
||||
['0', 'first attachment'],
|
||||
['$', 'next attachment'],
|
||||
['d', 'download'],
|
||||
].map(t => dom.tr(dom.td(t[0]), dom.td(t[1])))), dom.div(style({ marginTop: '2ex', marginBottom: '1ex' }), dom.span('Underdotted text', attr.title('Underdotted text shows additional information on hover.')), ' show an explanation or additional information when hovered.'), dom.div(style({ marginBottom: '1ex' }), 'Multiple messages can be selected by clicking messages while holding the control and/or shift keys. Dragging messages and dropping them on a mailbox moves the messages to that mailbox.'), dom.div(style({ marginBottom: '1ex' }), 'Text that changes ', dom.span(attr.title('Unicode blocks, e.g. from basic latin to cyrillic, or to emoticons.'), '"character groups"'), ' without whitespace has an ', dom.span(dom._class('scriptswitch'), 'orange underline'), ', which can be a sign of an intent to mislead (e.g. phishing).'), dom.div(style({ marginTop: '2ex' }), 'Mox is open source email server software, this is version ', moxversion, ', see ', dom.a(attr.href('licenses.txt'), 'licenses'), '.', dom.br(), 'Feedback, including bug reports, is appreciated! ', link('https://github.com/mjl-/mox/issues/new')))));
|
||||
].map(t => dom.tr(dom.td(t[0]), dom.td(t[1])))), dom.div(style({ marginTop: '2ex', marginBottom: '1ex' }), dom.span('Underdotted text', attr.title('Underdotted text shows additional information on hover.')), ' show an explanation or additional information when hovered.'), dom.div(style({ marginBottom: '1ex' }), 'Multiple messages can be selected by clicking messages while holding the control and/or shift keys. Dragging messages and dropping them on a mailbox moves the messages to that mailbox.'), dom.div(style({ marginBottom: '1ex' }), 'Text that changes ', dom.span(attr.title('Unicode blocks, e.g. from basic latin to cyrillic, or to emoticons.'), '"character groups"'), ' without whitespace has an ', dom.span(dom._class('scriptswitch'), 'orange underline'), ', which can be a sign of an intent to mislead (e.g. phishing).'), dom.div(style({ marginTop: '2ex' }), 'Hanzo Mail is open source email server software, this is version ', moxversion, ', see ', dom.a(attr.href('licenses.txt'), 'licenses'), '.', dom.br(), 'Feedback, including bug reports, is appreciated! ', link('https://github.com/hanzoai/mail/issues/new')))));
|
||||
};
|
||||
// Show tooltips for either the focused element, or otherwise for all elements
|
||||
// that aren't reachable with tabindex and aren't marked specially to prevent
|
||||
@@ -7452,7 +7452,7 @@ Stack trace: ${stack}
|
||||
Details of the error and browser:
|
||||
|
||||
` + '```\n' + msg + '```\n';
|
||||
const remove = popup(style({ maxWidth: '60em' }), dom.h1('A JavaScript error occurred'), dom.pre(dom._class('mono'), css('unhandledErrorMsg', { backgroundColor: styles.backgroundColorMild, padding: '1ex', borderRadius: '.15em', border: '1px solid', borderColor: styles.borderColor, whiteSpace: 'pre-wrap' }), msg), dom.br(), dom.div('There is a good chance this is a bug in Mox Webmail.'), dom.div('Consider filing a bug report ("issue") at ', link('https://github.com/mjl-/mox/issues/new?title=' + encodeURIComponent('mox webmail js error: "' + xerrmsg + '"') + '&body=' + encodeURIComponent(body), 'https://github.com/mjl-/mox/issues/new'), '. The link includes the error details.'), dom.div('Before reporting you could check previous ', link('https://github.com/mjl-/mox/issues?q=is%3Aissue+"mox+webmail+js+error%3A"', 'webmail bug reports'), '.'), dom.br(), dom.div('Your feedback will help improve mox, thanks!'), dom.br(), dom.div(style({ textAlign: 'right' }), dom.clickbutton('Close and silence errors for 1 week', function click() {
|
||||
const remove = popup(style({ maxWidth: '60em' }), dom.h1('A JavaScript error occurred'), dom.pre(dom._class('mono'), css('unhandledErrorMsg', { backgroundColor: styles.backgroundColorMild, padding: '1ex', borderRadius: '.15em', border: '1px solid', borderColor: styles.borderColor, whiteSpace: 'pre-wrap' }), msg), dom.br(), dom.div('There is a good chance this is a bug in Mox Webmail.'), dom.div('Consider filing a bug report ("issue") at ', link('https://github.com/hanzoai/mail/issues/new?title=' + encodeURIComponent('hanzo mail webmail js error: "' + xerrmsg + '"') + '&body=' + encodeURIComponent(body), 'https://github.com/hanzoai/mail/issues/new'), '. The link includes the error details.'), dom.div('Before reporting you could check previous ', link('https://github.com/hanzoai/mail/issues?q=is%3Aissue+"hanzo+mail+webmail+js+error%3A"', 'webmail bug reports'), '.'), dom.br(), dom.div('Your feedback will help improve mox, thanks!'), dom.br(), dom.div(style({ textAlign: 'right' }), dom.clickbutton('Close and silence errors for 1 week', function click() {
|
||||
remove();
|
||||
settingsPut({ ...settings, ignoreErrorsUntil: Math.round(new Date().getTime() / 1000 + 7 * 24 * 3600) });
|
||||
}), ' ', dom.clickbutton('Close', function click() {
|
||||
|
||||
+3
-3
@@ -1354,7 +1354,7 @@ const cmdHelp = async () => {
|
||||
dom.div(style({marginBottom: '1ex'}), 'Multiple messages can be selected by clicking messages while holding the control and/or shift keys. Dragging messages and dropping them on a mailbox moves the messages to that mailbox.'),
|
||||
dom.div(style({marginBottom: '1ex'}), 'Text that changes ', dom.span(attr.title('Unicode blocks, e.g. from basic latin to cyrillic, or to emoticons.'), '"character groups"'), ' without whitespace has an ', dom.span(dom._class('scriptswitch'), 'orange underline'), ', which can be a sign of an intent to mislead (e.g. phishing).'),
|
||||
|
||||
dom.div(style({marginTop: '2ex'}), 'Mox is open source email server software, this is version ', moxversion, ', see ', dom.a(attr.href('licenses.txt'), 'licenses'), '.', dom.br(), 'Feedback, including bug reports, is appreciated! ', link('https://github.com/mjl-/mox/issues/new')),
|
||||
dom.div(style({marginTop: '2ex'}), 'Hanzo Mail is open source email server software, this is version ', moxversion, ', see ', dom.a(attr.href('licenses.txt'), 'licenses'), '.', dom.br(), 'Feedback, including bug reports, is appreciated! ', link('https://github.com/hanzoai/mail/issues/new')),
|
||||
),
|
||||
),
|
||||
)
|
||||
@@ -7751,8 +7751,8 @@ Details of the error and browser:
|
||||
),
|
||||
dom.br(),
|
||||
dom.div('There is a good chance this is a bug in Mox Webmail.'),
|
||||
dom.div('Consider filing a bug report ("issue") at ', link('https://github.com/mjl-/mox/issues/new?title='+encodeURIComponent('mox webmail js error: "'+xerrmsg+'"')+'&body='+encodeURIComponent(body), 'https://github.com/mjl-/mox/issues/new'), '. The link includes the error details.'),
|
||||
dom.div('Before reporting you could check previous ', link('https://github.com/mjl-/mox/issues?q=is%3Aissue+"mox+webmail+js+error%3A"', 'webmail bug reports'), '.'),
|
||||
dom.div('Consider filing a bug report ("issue") at ', link('https://github.com/hanzoai/mail/issues/new?title='+encodeURIComponent('hanzo mail webmail js error: "'+xerrmsg+'"')+'&body='+encodeURIComponent(body), 'https://github.com/hanzoai/mail/issues/new'), '. The link includes the error details.'),
|
||||
dom.div('Before reporting you could check previous ', link('https://github.com/hanzoai/mail/issues?q=is%3Aissue+"hanzo+mail+webmail+js+error%3A"', 'webmail bug reports'), '.'),
|
||||
dom.br(),
|
||||
dom.div('Your feedback will help improve mox, thanks!'),
|
||||
dom.br(),
|
||||
|
||||
Reference in New Issue
Block a user