Граф коммитов

172 Коммитов

Автор SHA1 Сообщение Дата
bienvenu%netscape.com 6524bbb982 fix problem posting to wrong news server r=mscott 35678 2000-07-10 02:45:21 +00:00
sspitzer%netscape.com c5053a70b9 fix for nsbeta2+ bug #39184. make news pay attention to the port. also remove some
bloat from nsNNTPHost.cpp which was not used and will eventually be going away.
2000-06-10 00:52:43 +00:00
sspitzer%netscape.com 60b8c9c046 fix for bug #40241. messages stop loading after we attempt to cancel
a news message.  the problem is we were never notifying the folder
that the DeleteOrMoveMsgCompleted event happened.  other code cleanup
to consolidate some common code.  r=alecf
2000-05-31 23:52:22 +00:00
sspitzer%netscape.com fbe0cee7d7 fix for several bugs.
#34355, for a new pop server, the copies and folders prefs should point to the pop server,
not the local server.

#22889, #37464, news article urls not displaying, and they causing autosubscribe to happen.

#36661, fix problems with autosubscribe / article url problem, if they happen before
we migrated and if there is no accounts.

#8216,  a successful cancelling of a news posting removes message from thread pane

r=alecf
2000-05-23 02:38:00 +00:00
sspitzer%netscape.com 97325cede8 more subscribe work. 2000-05-12 04:23:45 +00:00
sspitzer%netscape.com 9c7075c692 changes for subscribe. it needs to be general, not just for news, since imap
will use the subscribe dialog as well.

also, some minor changes, the humble beginnings of the hostinfo.dat support.
2000-04-23 01:19:51 +00:00
sspitzer%netscape.com ace9709b28 PerformExpand() and UpdateCounts() need to take a nsIMsgWindow, because these
action may require the user to enter a password, which means a dialog must comes up,
which means we need the msg window for the parent.
2000-04-21 22:55:18 +00:00
sspitzer%netscape.com 9bc8a565f4 changes for autosubscribe. bug #11075. handle the case where they have a news server
already, and the case where they don't.  still more work to be done here, but the basics
work.

also, turn nsMessengerMigrator::CopyIdentity() into nsMsgIdentity::Copy() and
use that in migration and news account creation during autosubscribe.  r=alecf
2000-04-21 00:03:02 +00:00
sspitzer%netscape.com 09743b17ac more changes for the new subscribe dialog. 2000-04-14 06:54:19 +00:00
bienvenu%netscape.com 28590b38a9 work on nntp connection cache,not turned on yet r=sspitzer 13506 2000-04-13 14:41:35 +00:00
sspitzer%netscape.com 3341f57d8f fix for #10855. update newsgroup counts when expanding the server. still a few
edges to smooth.  also, continue clean up of the news code.  r=bienvenu
2000-04-04 02:31:43 +00:00
bienvenu%netscape.com 8317473e41 add nsINNTPProtocol.idl to build 2000-04-04 02:02:40 +00:00
bienvenu%netscape.com 64e9d2f757 adding interface for nsINNTPProtocol, nOT PART OF BUILD YET 2000-04-04 01:29:08 +00:00
sspitzer%netscape.com da78ce03ea removing the nsISubscribeDialog* interfaces, they aren't being used.
change for the new subscribe dialog, which isn't turned on yet.
r=bienvenu, a=leaf.
2000-04-01 04:23:53 +00:00
sspitzer%netscape.com 7222c120db fix for #32202. open the "download headers" dialog modal to the messenger window.
r=bienvenu
2000-03-17 06:30:43 +00:00
sspitzer%netscape.com b624fe2894 fix for #31715. pass the nsIMsgWindow when trying to post a message.
(we may need it, if we have to authenticate the use for posting.)

also, clean up the code to handle NS_ERROR_* properly.
2000-03-14 07:21:44 +00:00
sspitzer%netscape.com fa9ec86bb0 changes for news over SSL. initial changes needed for SMTP over SSL, but
that isn't going to happen yet.  cleanup changes for nsNewsDownloadDialogArgs (still not used yet.)
2000-03-12 08:58:02 +00:00
sspitzer%netscape.com 27c24a0b41 filenames too long for the mac's little brain. thanks to big-brained beard for catching my mistake. 2000-03-05 02:13:24 +00:00
sspitzer%netscape.com 17e9a3a4d7 not part of the build yet. 2000-03-04 18:18:44 +00:00
sspitzer%netscape.com 03dd9e5a6e fix for #8075. use the newsrc files (~/.mozilla/<profile>/News/newsrc-<hostname>) for the unread/read status instead of the msgdb. r=alecf 2000-02-15 08:35:40 +00:00
sspitzer%netscape.com 96a0249281 change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
sspitzer%netscape.com 0fecff9d06 convert auth news to use single sign on. convert the nsINntpService interface
to have proper interCaps.  remove dead code, clean up other code.  r=alecf
2000-02-01 08:46:03 +00:00
sspitzer%netscape.com d2866d5a80 add a #define for the secure imap default, and move the #defines for news ports out of core and into the right place. 2000-01-28 09:06:33 +00:00
sspitzer%netscape.com b18624d734 clean up nsIMsgFolder.idl and break it apart. r=alecf 2000-01-26 10:00:00 +00:00
sspitzer%netscape.com d6ed37c13f I'm taking this out of nsIMsgFolder. not part of build yet. 2000-01-26 09:50:06 +00:00
sspitzer%netscape.com 7e43815d3a "Local Folders" doesn't have an identity anymore. r=mscott
initial changes for authenticated news.  still more to be done.  r=mscott
bulletproofing changes for migration, never set the port of a server to zero.
2000-01-25 04:57:22 +00:00
sspitzer%netscape.com 567c4a4565 "news.notify.size" is not used anymore 2000-01-13 04:09:43 +00:00
bienvenu%netscape.com 11b38602ec hook up stop for news, r=mscott 2000-01-09 23:38:31 +00:00
sspitzer%netscape.com 33107dab44 fix for #17665, allow the user to configure if they want to use
the newsgroup name abbreviations in the folder pane.
default is yes.  comment out some dumps.  make it so the account manager
can deal with radio inputs.
1999-12-24 08:57:54 +00:00
sspitzer%netscape.com f6042e8153 fix for #22345. we were unescaping a message id when we shouldn't be.
a=sdagley
1999-12-22 05:43:06 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sspitzer%netscape.com a6a1846e05 better fix for #17597, r=mscott, a=chofmann.
instead of setting the action for the url, check if we have a channel listener.
this is a cleaner fix, and now the quoting back end doesn't need to know about
the nntp url.
1999-11-04 20:02:31 +00:00
sspitzer%netscape.com 55c3a9b47c fix for #17597. reply to a news article doesn't quote the body.
the problem was when we ran the nntp url to get the message we weren't
calling OnDataAvailabe() on the channel listener.  the reason is the channel
listener only got poked when ActionDisplayArticle was set as the action on
the nntp url.  but this wouldn't be the case when we got run from the Quoting backend.  I added a new action, and made sure to set it when running the url from the quoting back end, and then made sure the nntp backend did the right thing.

r=alecf, a=chofmann
1999-11-04 04:31:09 +00:00
sspitzer%netscape.com 8baa5349c4 add support for the the markOldRead, notifySize, notifyOn attributes of nsINntpIncomingServer. make sure we migrate these prefs, too. 1999-09-16 07:01:17 +00:00
sspitzer%netscape.com 8ee260f294 make the postMessageFile in the nsINNTPNewsgroupPost be a nsIFileSpec, instead
of a nsFilePath.  this means nsINNTPNewsgroupPost is fully scriptable.
it also allowed me to clean up a lot of code.
most of these changes are results of this change.

add notifyOn, maxArticles, and markOldRead attributes to nsINntpIncomingServer
these correspond to "news.max_articles","news.mark_old_read", and "news.notify.o
n" prefs in 4.x.  (in 5.0, they are on a per server basis now.)
rewrite nsNNTPProtocol.cpp to use these attributes, instead of the old 4.x globa
l prefs.

fix warnings.
1999-09-15 21:29:30 +00:00
briano%netscape.com b849f37e00 General cleanup. 1999-09-15 00:10:25 +00:00
sspitzer%netscape.com 80d5ac54f4 nsIMsgIncomingServer needs a SetDefaultLocalPath(). we use this when migrating prefs.
add the newsrcRootPath attribute to the nsINntpIncomingServer interface.
implement Set/GetNewsrcRootPath(), similar to how Set/GetDefaultLocalPath() are implemented.

rewrite nsMsgAccountManager to use
Set/GetDefaultLocalPath() and Set/GetNewsrcRootPath()

rename some methods in nsMsgAccountManager for correctness.
1999-09-14 09:03:40 +00:00
mscott%netscape.com ed77e4f208 Remove run news url method which shouldn't be exposed in the service. 1999-09-12 05:10:49 +00:00
mscott%netscape.com 0596f3245a Add notion of news actions to the url. 1999-09-12 05:10:08 +00:00
sspitzer%netscape.com 8457354b34 do some clean up in preperation of migrating the fcc prefs. (for bug #10583)
change the newsrcFilePath attribute to be a nsIFileSpec, instead of a string.(bug #13306)
add code to do hashing of hostname. [not turned on yet].  (for bug #13480)
remove the obsolete GetRootFolderPath() code from the incoming servers.
1999-09-09 21:17:32 +00:00
sspitzer%netscape.com 7f50fd738b initial pass at hooking up news to the progress bar and status area. more to be done here. 1999-08-28 17:29:15 +00:00
sspitzer%netscape.com 71d5f558d2 revert by build breakage checkin. brendan fixed the xpidl compiler. I hadn't
picked up the changes yet.  interCaps in IDL and JS, and InterCaps in C++.
1999-08-25 07:17:21 +00:00
sspitzer%netscape.com e8ccfec4d8 more fixage for build spankage. thank you sir, may I have another? 1999-08-25 06:35:01 +00:00
sspitzer%netscape.com 3932f95759 changes to get a news server to work with a userName. fixes bug #12407. 1999-08-24 22:39:40 +00:00
mscott%netscape.com a5f3469989 cleanup some of the interfaces to make the service scriptable 1999-08-24 00:51:56 +00:00
mscott%netscape.com 8fc13baa57 Add SetUserName support which is going to be needed in order to figure out the server for a url. 1999-08-10 18:12:37 +00:00
mccabe%netscape.com 2a403483de Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
sspitzer%netscape.com 4dfdb3d910 remove these header files. all idl files for news, now! 1999-07-24 01:36:44 +00:00
sspitzer%netscape.com 34d5e2e364 turn on the new idl files for the mac now. 1999-07-24 01:36:36 +00:00
sspitzer%netscape.com 7cd4f9ea86 turn on new idl files for windows 1999-07-23 08:33:10 +00:00