(auth-source-search): Only ask a single backend to create the credentials.
[gnus] / lisp / ChangeLog
index 93c41b6..b7d4d00 100644 (file)
-2011-02-07  Teodor Zlatanov  <tzlatanov@jumptrading.com>
+2011-02-18  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * auth-source.el (auth-source-search): Don't try to create credentials
+       if the caller doesn't want that.
+       (auth-source-search): If we don't find a match, don't bug out on
+       non-bound variables.
+       (auth-source-search): Only ask a single backend to create the
+       credentials.
+
+       * nnimap.el (nnimap-log-command): Add a newline to the inhibited
+       logging.
+       (nnimap-credentials): Protect against auth-source-search returning nil.
+       (nnimap-request-list): Protect against not being able to open the
+       server.
+
+2011-02-17  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * auth-source.el (auth-source-search): Do a two-phase search, one with
+       no :create to get the responses from all backends.
+
+       * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
+       when getting credentials.
+
+       * gnus-util.el (gnus-delete-duplicates): New function.
+
+2011-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * nnimap.el (nnimap-credentials): Instead of picking the first port as
+       a creation default, pass the whole port list down.  It will be
+       completed.
+
+       * auth-source.el (auth-source-search): Updated docs to talk about
+       multiple creation choices.
+       (auth-source-netrc-create): Accept a list as a value (from the search
+       parameters) and do completion on that list.  Keep a separate netrc line
+       with the password obscured for showing the user.
+
+       * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
+       first choice to `auth-source-search' so it will be used for entry
+       creation instead of the server's Gnus-specific name.
+       (nnimap-credentials): Rely on the auth-source library to select which
+       port is actually wanted in the new netrc entry, so don't override
+       `auth-source-creation-defaults'.
+
+       * auth-source.el (auth-source-netrc-parse): Use :port instead of
+       :protocol and accept a missing user, host, or port as a wildcard match.
+       (auth-source-debug): Default to off.
+
+       (auth-source-netrc-search, auth-source-netrc-create)
+       (auth-source-secrets-search, auth-source-secrets-create)
+       (auth-source-user-or-password, auth-source-backend, auth-sources)
+       (auth-source-backend-parse-parameters, auth-source-search): Use :port
+       instead of :protocol.
+
+       * nnimap.el (nnimap-credentials): Pass a port default to
+       `auth-source-search' in case an entry needs to be created.
+       (nnimap-open-connection-1): Use :port instead of :protocol.
+
+2011-02-17  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * auth-source.el: Bind load-path when loading EIEIO from
+       "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
+       21.4 doesn't support, to `require'.
+       (auth-source-secrets-search): Use mm-delete-duplicates instead of
+       delete-dups that is not available in XEmacs 21.4.
+
+2011-02-16  Raphael Kubo da Costa  <kubito@gmail.com>  (tiny change)
+
+       * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
+       as EIEIO must also be loaded when auth-source.el is being
+       byte-compiled.
+
+2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.
+
+       * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
+       necessary.
+
+2011-02-16  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-propagate-marks): Change default to t again, since
+       nil means that nnimap doesn't get updated.
+
+2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-netrc-create): Return a synthetic search
+       result when the user doesn't want to write to the file.
+       (auth-source-netrc-search): Expect a synthetic result and proceed
+       accordingly.
+       (auth-source-cache-expiry): New variable to override
+       `password-cache-expiry'.
+       (auth-source-remember): Use it.
+
+       * nnimap.el (nnimap-credentials): Remove the `inhibit-create'
+       parameter.  Create entry if necessary by using :create t.
+       (nnimap-open-connection-1): Don't pass `inhibit-create'.
+
+2011-02-15  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-debug): Enable by default and don't
+       mention the obsolete `auth-source-hide-passwords'.
+       (auth-source-do-warn): New function to debug unconditionally.
+       (auth-source-do-debug): Use it.
+       (auth-source-backend-parse): Use it for invalid `auth-sources' entries
+       and for Secrets API entries when the secrets.el library is not
+       available.
+
+2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-propagate-marks): Default to nil.
+       (gnus-summary-exit): Kill the correct article buffer on exit from a
+       `C-d' group.
+
+       * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
+       gnus-propagate-marks.
+
+       * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
+       before killing the buffers so that a non-full window conf gets handled
+       correctly.
+       (gnus-summary-exit): Ditto.
+       (gnus-summary-read-group-1): Ditto.
+
+       * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
+       async code again so that we can debug it properly.
+
+       * message.el (message-reply): Take an optional switch-buffer parameter
+       so that Gnus window confs are respected better.
+
+2011-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
+       `plist-get' to accept non-list parameters (XEmacs issue).  Fix
+       docstring.
+       (auth-source-secrets-search): Use `delete-dups', `append mapcar', and
+       `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
+       (auth-sources, auth-source-backend-parse, auth-source-secrets-search):
+       Login collection is "Login" and not "login".
+
+2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (article-update-date-lapsed): Don't bug out when updating
+       multiple headers.
+
+       * nnimap.el (nnimap-inhibit-logging): New variable.
+       (nnimap-log-command): Don't log login commands.
+
+       * auth-source.el (auth-source-netrc-search): The asserts seem to want
+       to have more parameters.
+
+       * nnimap.el (nnimap-send-command): Mark the command time for each
+       command, so that we don't get NOOPs stepping on our toes.
+
+       * gnus-art.el (article-date-ut): Get the date from the Date header on
+       `t'.
+
+2011-02-14  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * auth-source.el (auth-source-search): Use copy-sequence instead of
+       the cl.el copy-list.
+
+2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * imap.el: Bring it back (revert
+       84d800cd31de3064f0ed39617d725709a2f8f42f).
+
+2011-02-13  Adam Sjøgren  <asjo@koldfront.dk>
+
+       * gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
+       Improve prompt.
+
+2011-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (gnus-article-mode-line-format): Remove the article
+       washing status from the default format.  It isn't very informative.
+
+2011-02-13  Tassilo Horn  <tassilo@member.fsf.org>  (tiny change)
+
+       * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk): Fix
+       Gcc processing on imap.
+
+2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * imap.el: Remove file.  All the functionality is in nnimap.el.
+
+2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * message.el (message-bury): Don't pop up a new window when selected
+       window is dedicated.
+
+2011-02-10  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
+
+       * gnus-sum.el (gnus-summary-save-parts): Use read-directory-name.
+
+2011-02-10  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * sieve-manage.el: Autoload `auth-source-search'.
+       (sieve-sasl-auth): Use it.
+
+2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * nnimap.el: Autoload `auth-source-forget+'.
+       (nnimap-open-connection-1): Use it if the connection fails.
+
+       * auth-source.el: Require `password-cache'.
+       (auth-source-hide-passwords, auth-source-cache): Remove and mark
+       obsolete.
+       (auth-source-magic): Marker for `password-cache' keys.
+       (auth-source-do-cache): Update docstring.
+       (auth-source-search): Use and check cache.
+       (auth-source-forget-all-cached, auth-source-remember)
+       (auth-source-recall, auth-source-forget, auth-source-forget+)
+       (auth-source-specmatchp): Caching support functions.
+       (auth-source-forget-user-or-password, auth-source-forget-all-cached):
+       Remove and obsolete.
+       (auth-source-user-or-password): Remove caching to further discourage
+       using it.  Always hide passwords.
+
+       * password-cache.el (password-cache-remove): Accept secrets that are
+       not strings.
+
+2011-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
+       code for now, since it doesn't work for all users.
+
+2011-02-09  Julien Danjou  <julien@danjou.info>
+
+       * message.el (message-options): Make message-options really buffer
+       local.
+
+2011-02-08  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * mail-source.el: Autoload `auth-source-search'.
+       (mail-source-keyword-map): Note order matters.
+       (mail-source-set-1): Get all the mail-source source values and
+       defaults and search auth-source on those if needed.  This can all
+       probably be simplified.
+
+       * nnimap.el: Autoload `auth-source-search'.
+       (nnimap-credentials): Use it.
+       (nnimap-open-connection-1): Ask for the virtual server and physical
+       address in one shot.
+
+       * nntp.el: Autoload `auth-source-search'.
+       (nntp-send-authinfo): Use it.  Note TODO.
+
+2011-02-08  Julien Danjou  <julien@danjou.info>
+
+       * shr.el (shr-tag-body): Add support for text attribute in body
+       markups.
+
+       * message.el (message-options): Make message-options a local variable.
+
+2011-02-07  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * auth-source.el (auth-source-secrets-search)
        (auth-source-user-or-password): Use `append' instead of `nconc'.
        (auth-source-user-or-password): Build return list better and protect
        against nil :secret.
 
+2011-02-07  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-update-info): Refactor slightly.
+       (nnimap-update-info): Tell Gnus whether there are any \Recent messages.
+       (nnimap-update-info): Clean up slightly.
+       (nnimap-quirk): Add quirk for Gmail IMAP which bugs out on NUL
+       characters.
+       (nnimap-process-quirk): Rename function to avoid collision.
+       (nnimap-update-info): Fix macrology bug-out.
+       (nnimap-update-info): Simplify split history test.
+
 2011-02-06  Michael Albinus  <michael.albinus@gmx.de>
 
        * auth-source.el (top): Require 'eieio unconditionally.  Autoload
        * message.el (message-setup-1): Remove the read-only stuff, since it
        doesn't work under XEmacs, for some reason.
 
-       * gnus-sum.el (gnus-user-date): Renamed back from
+       * gnus-sum.el (gnus-user-date): Rename back from
        gnus-summary-user-date since user code refers to it.
 
        * shr.el (shr-render-td): Store the actual background colour used.
 
 2011-01-28  Daiki Ueno  <ueno@unixuser.org>
 
-       * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt): Give
-       mml2015-signers higher precedence over mml2015-sign-with-sender.
+       * mml2015.el (mml2015-epg-sign, mml2015-epg-encrypt):
+       Give mml2015-signers higher precedence over mml2015-sign-with-sender.
 
 2011-01-27  Lars Ingebrigtsen  <larsi@gnus.org>