Closed
Bug 40033
Opened 25 years ago
Closed 24 years ago
Pressing on a "news:" link should ask to add to newsgroup
Categories
(MailNews Core :: Networking: NNTP, enhancement, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: hwaara)
References
Details
Attachments
(4 files)
6.68 KB,
patch
|
Details | Diff | Splinter Review | |
5.65 KB,
patch
|
Details | Diff | Splinter Review | |
877 bytes,
patch
|
Details | Diff | Splinter Review | |
8.45 KB,
patch
|
sspitzer
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
If you go to:
http://www.bootdisk.com/
and press the "win98" link at the top a new news account called
"alt.windows98" is automatically added to the mail/news accounts.
This should not be the case. There should be a dialog asking the user if he/she
want to add this news group to his default news server. Or even better ask which
news server to add it to!
PS: Currently mozilla add the alt.windows98 as a new newsaccount which is wrong,
but that's properly another bug...
Comment 1•25 years ago
|
||
I think this is what Seth talks about in bug 37464. Marking as dup.
*** This bug has been marked as a duplicate of 37464 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 2•25 years ago
|
||
no, that other bug is something else.
this bug is a RFE, for something new.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 3•25 years ago
|
||
note, 4.x doesn't do this.
if we ever do this, it would be configurable with a pref.
(I wouldn't want this behaviour.)
this is low on my priority list, adding help wanted, marking m30
Mass moving all NEWS bugs from esther to myself.
QA Contact: lchiang → stephend
If there is a mailto: link on a webpage and you click it, the mail program that
is configured to use the mailto: protocol on your system will open up a compose
message window, I don't see why it should be any different for NNTP, but that's
just my opinion. Seth - can I assign this to nobody@mozilla.org?
Reporter | ||
Comment 7•25 years ago
|
||
Pressing a mailto: and a news: isn't the same. Pressing a mailto: just gives you
an compose window that you can close.
Pressing a "news:alt.windows98" adds a newsaccount called "alt.windows98" to
your list of accounts. Actually it adds a newsserver "alt.windows98" which is
dead wrong. If it should do anything it should to adding the newsgroup
"alt.windows98" to the default newsserver.
Since a lot of hocus pocus is done without the user knowing it (like setting the
username and email adresse of the account "alt.windows98") I think it should ask
the user before doing this!
Summary: Pressing on a "news:" link should ask to add to newsgroup → {RFE} Pressing on a "news:" link should ask to add to newsgroup
Henrik - obviously this isn't part of a Netscape spec, but a Mozilla contributor
could contribute the code if he/she wanted. Leaving the bug as it is, in case
someone wants to add this. I still think this should be assigned to
nobody@mozilla.org until someone steps up to the plate for this.
Assignee: sspitzer → nobody
Status: REOPENED → NEW
Setting OS to ALL
OS: Windows 2000 → All
Reporter | ||
Comment 10•25 years ago
|
||
"obviously this isn't part of a Netscape spec..."?
Why not? Aren't Netscape an News reader and a Browser?
But helpwanted is ok...
Comment 11•25 years ago
|
||
once I land my fix for #41146, a link like "news:alt.windows98" will behave much
better.
(see that bug for details.)
Depends on: 41146
Reporter | ||
Comment 12•24 years ago
|
||
RFE cleanup. RFE is already indicated by the Severity field...Sorry for the
spam!
Summary: {RFE} Pressing on a "news:" link should ask to add to newsgroup → Pressing on a "news:" link should ask to add to newsgroup
Assignee | ||
Comment 13•24 years ago
|
||
I've got some rough code in my tree that does this, but it depends on the
regression in bug 39584 getting fixed.
Assignee: nobody → hwaara
Depends on: 39584
Comment 14•24 years ago
|
||
cc'ing jglick so she can review the proposed changes in behaviour.
hwaara, can you summarize what the user will see?
Assignee | ||
Comment 15•24 years ago
|
||
It's simple, it would be the opposite of today's auto-unsubscribe stuff.
autoUnsubscribeText=The newsgroup %1$S does not appear to exist on the host
%2$S. Would you like to unsubscribe from it?
autoSubscribeText=Would you like to subscribe to %1$S?
Comment 16•24 years ago
|
||
Text Håkan suggested seems fine.
Should there be a "Do not show me this dialog again" checkbox? If so, what does
checking it to? Future - Clicking on a newsgroup link automatically subscribes
user to the group? (Since the dialog is asking the user if they want to be
added (vs confirming an action), its not really clear what behavior they will
get if they don't want to see the dialog again).
Should there be a place in the UI to turn the dialog back on? If so, is it a
global or per news server setting?
Assignee | ||
Comment 17•24 years ago
|
||
jglick, "don't ask me again"-checkboxes should only be used for actions that are
used very frequently (to not annoy the user). This is not one of those cases, as
far as I can see.
Assignee | ||
Comment 18•24 years ago
|
||
Assignee | ||
Comment 19•24 years ago
|
||
The code is pretty straightforward. When a news link is run to auto-subscribe,
ask the user "Would you like to subscribe to alt.blah?", if the user hits OK,
we subscribe, if Cancel, nothing happens. Also, this will work much better
with the fix in bug 47981.
Bienvenu, requesting your r= here as well. Thanks.
Comment 20•24 years ago
|
||
Seth is the module owner for news, so he should review, and I'll sr.
Assignee | ||
Comment 21•24 years ago
|
||
I've been using this patch and this feature a lot, and it works great. Seth,
would you please sr=?
Comment 22•24 years ago
|
||
GetNewPrompter() takes an nsIDOMWindow for the parent.
if we've got it, we should use the msg window for the parent, instead of always
passing null.
I'll finish reviewing later.
Assignee | ||
Comment 23•24 years ago
|
||
I'll make us pass m_msgWindow there, so if it's null it will create a parent for
us and if not we'll use the existing msgwindow.
Comment 24•24 years ago
|
||
see nsImapIncomingServer::FEAlert() in nsImapIncomingServer.cpp for an example
of what to do.
Assignee | ||
Comment 25•24 years ago
|
||
Funny, I coded the change before your comment and my code looks almost identical
to that function.
Assignee | ||
Comment 26•24 years ago
|
||
Assignee | ||
Comment 27•24 years ago
|
||
Comment 28•24 years ago
|
||
1)
what's this for?
+#include "nsIMimeMiscStatus.h"
2) now that commandSpecificData is an XPIDLCString, you can (and have to) fix
other code.
because you can:
- if (m_messageID && commandSpecificData && !PL_strcmp(commandSpecificData,
"?cancel")) {
+ if (m_messageID && !PL_strcmp(commandSpecificData, "?cancel")) {
because I think you have to (you should double check)
- else if (commandSpecificData)
+ else if (commandSpecificData.Length())
Assignee | ||
Comment 29•24 years ago
|
||
Comment 30•24 years ago
|
||
Comment on attachment 55930 [details] [diff] [review]
Hopefully final patch
r=sspitzer
make sure to test well.
Attachment #55930 -
Flags: review+
Assignee | ||
Comment 31•24 years ago
|
||
Bienvenu, r=sspitzer... You know what to do. ;-)
Comment 32•24 years ago
|
||
Comment on attachment 55930 [details] [diff] [review]
Hopefully final patch
sr=bienvenu
Attachment #55930 -
Flags: superreview+
Assignee | ||
Comment 33•24 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
This works fine if you confirm it, but goes bad on cancel...
Anyway there are 3 known issues, and they're specific cases.
See bug 108256, bug 108264 and bug 108251.
Verified FIXED, 2001-11-02 builds - Mac OS 9.1, Windows 2K, RedHat 7.2
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•