unity-mail (1.4.3) trusty; urgency=low

  * New bugfix release.
    - Get rid of star import in um-url.
  * Update debian/copyright.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Thu, 10 Apr 2014 21:41:07 +0400

unity-mail (1.4.2) trusty; urgency=low

  * New bugfix release.
    - Run starttls() on non-SSL connections (LP: #1263316).
    - Stop using deprecated Gtk stock items.
    - Use set_hint() instead of deprecated set_hint_string().
    - Update desktop files with new translations.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Sun, 30 Mar 2014 14:48:23 +0400

unity-mail (1.4.1) trusty; urgency=low

  * New bugfix release.
    - Use get_default_collection() from secretstorage 1.0.
    - Make um-url exit with non-zero status on URL mismatch.
    - Use correct number of messages in notifications.
    - Catch UnicodeDecodeErrors in parse_wrapper().
    - Handle invalid and empty messages correctly.
    - Unlock Secret Service collection before creating a new item.
    - Disable strict mode in configuration file parser.
  * Bump Standards-Version to 3.9.5, no changes needed.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Sat, 07 Dec 2013 13:58:45 +0400

unity-mail (1.4) saucy; urgency=low

  * New release.
    - Handle Message-Id decoding failures.
    - Show only 20 latest messages by default, add an option to
      configure maximal messages count (LP: #1049669).
    - Do not use "except:" statements.
    - Use logger module for console printing.
  * Remove /usr/bin/um-url from install file (it is handled by dh_link).

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Wed, 28 Aug 2013 21:05:14 +0400

unity-mail (1.3.3) saucy; urgency=low

  * New bugfix release.
    - Prevent potential crash in check_email when email is not valid.
    - If the default collection does not exist, try to create it. This
      really fixes the ItemNotFoundException problems (LP: #1165548).
    - Fix the version number in the help message.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Wed, 08 May 2013 18:21:48 +0400

unity-mail (1.3.2) raring; urgency=low

  * New bugfix release.
    - Remove useless str() wrap in try_establish_connection().
    - Handle socket errors in mark_message_as_read().
    - Handle UnicodeEncodeErrors in try_establish_connection().
    - When unable to get the default secretstorage collection, wait
      a second and try again using a different method (LP: #1162135).
    - Do not use star imports, to get pyflakes working.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Fri, 05 Apr 2013 17:49:24 +0400

unity-mail (1.3.1) raring; urgency=low

  * New bugfix release.
    - Fix NameError on first run (LP: #1153160).
    - Fix for deprecations in PyGObject 3.8.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Tue, 12 Mar 2013 14:47:09 +0400

unity-mail (1.3) raring; urgency=low

  * New release.
    - Add a GUI option to play sounds (LP: #1046294).
    - mark_message_as_read(): handle IMAP errors here.
    - Switch from subprocess.Popen() to subprocess.call().
    - Support notification filtering:
      + Add X-GNOME-UsesNotifications=true to unity-mail.desktop.
      + Set 'desktop-id' hint for every notification.
    - check_email(): Make the check always pass when email = login
      (LP: #1123092).
    - on_mm_item_clicked(): Don't mark mail as unread when urlid is set.
    - Port to SecretStorage library:
      + Depend on python3-secretstorage.
      + Edit existing items in the secret collection instead of
        replacing them.
  * Recommend gnome-session-canberra (>= 0.28-4).
  * Update desktop file description (LP: #1080094).

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Wed, 06 Mar 2013 21:21:23 +0400

unity-mail (1.2.4) raring; urgency=low

  * New bugfix release.
    - check_email: correctly handle cases when email is the same as login
      (LP: #1088373).
  * debian/rules: remove __pycache__ on clean.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Thu, 10 Jan 2013 19:05:08 +0400

unity-mail (1.2.3) raring; urgency=low

  * New bugfix release.
    - Fix generation of fallback message-ids.
    - Handle header decoding errors, return raw headers on failures.
    - Ensure that alarm is always cancelled after folder update
      (LP: #1084882).
    - Replace "except:" with "except SomeException:" in two places to
      ensure that it won't try to handle TimeoutException.
    - try_establish_connection: fix error message being never shown by
      moving it before sys.exit() call, slightly simplify the code.
  * Updated my e-mail address.

 -- Dmitry Shachnev <mitya57@ubuntu.com>  Thu, 06 Dec 2012 20:52:26 +0400

unity-mail (1.2.2) quantal; urgency=low

  * New bugfix release (LP: #1061047)
    - Don't show dialog twice on startup (LP: #1058803)
    - Handle dialog errors in on_dialog_response() handler
    - Skip accounts with empty username
    - Handle login failures in try_establish_connection()
    - Make print_error() a global function to fix NameError in
      decode_wrapper()

 -- Dmitry Shachnev <mitya57@gmail.com>  Mon, 01 Oct 2012 09:53:20 +0400

unity-mail (1.2.1) quantal; urgency=low

  * New bugfix release (LP: #1056063)
    - Correctly handle unicode folder names with spaces
    - Call check_email with right account id
    - Handle exceptions when printing to stderr (LP: #1056037)
  * Bump Standards-Version to 3.9.4, no changes needed
  * debian/rules: Tweak the PYTHON3 variable to make sure the scripts
    get a correct shebang line, thanks Colin Watson
  * unity-mail.desktop: Add "NotShowIn=Messaging Menu;" header to two
    actions to prevent them from being shown in the Messaging Menu
    (LP: #1055972)

 -- Dmitry Shachnev <mitya57@gmail.com>  Tue, 25 Sep 2012 11:56:17 +0400

unity-mail (1.2) quantal; urgency=low

  * New release (LP: #1045325)
    - Port to libmessaging-menu (LP: #1040259)
      + Add new Message class as a replacement for old message tuples
      + Move "Mark all as read" action to the launcher quicklist
      + Move some code from um-url to config.py
      + Call subprocess.Popen with shell=True
    - Properly convert non-ascii folder names to UTF-7 bytestrings
      (LP: #1043786)
  * Recommend gir1.2-messagingmenu-1.0

 -- Dmitry Shachnev <mitya57@gmail.com>  Mon, 03 Sep 2012 17:05:48 +0400

unity-mail (1.1) quantal; urgency=low

  * New release (LP: #1036603)
    - Remove 60 seconds limit for check interval
    - Better handling of KeyboardInterrupts
    - Add AccountDisplay configuration option for displaying account data
      in notifications (LP: #1015091)
    - Ensure that command chooser button is at least 180px in width
    - Split unity-mail by modules
    - Add basic setup.py file
  * Bump debhelper compatibility level to 9
  * Build using dh_python3

 -- Dmitry Shachnev <mitya57@gmail.com>  Tue, 14 Aug 2012 15:04:27 +0400

unity-mail (1.0) quantal; urgency=low

  * New release (LP: #1023807)
    - Support for working without Unity
    - Pressing Ctrl+C twice now exits the app
    - Correctly handle failures of GnomeKeyring and Notify modules
    - Set per-connection timeout interval to 7 seconds
  * Use new comment for the desktop file

 -- Dmitry Shachnev <mitya57@gmail.com>  Thu, 12 Jul 2012 12:55:21 +0400

unity-mail (0.92.3) quantal; urgency=low

  * New bugfix release (LP: #1002802)
    - Use #!/usr/bin/python3 instead of #!/usr/bin/env python3
    - Do not use "<int> or <bool>" construction when updating the
      launcher item status
    - Use any desktop file that contains "unity-mail" in the name
      (work-around for SC issue; LP: #990689)
  * debian/control:
    - Rewrite the long description, now it is more clear and displays
      correctly in the Software Center (LP: #1004433)
    - Set priority to optional instead of extra
  * debian/clean: Remove, not needed
  * Update translations for desktop files

 -- Dmitry Shachnev <mitya57@gmail.com>  Fri, 25 May 2012 15:07:39 +0400

unity-mail (0.92.2) precise; urgency=low

  * New bugfix release (LP: #976459)
    - get_sender_name: modify to be a wrapper of email.utils.parseaddr
  * Use FD.o actions in desktop file
  * Add "set -ex" call to debian/rules, to correctly handle errors
  * Translations update

 -- Dmitry Shachnev <mitya57@gmail.com>  Sun, 08 Apr 2012 13:20:20 +0400

unity-mail (0.92.1) precise; urgency=low

  * New bugfix release
    - Merge latest translation updates from Launchpad
    - Switch to Standards-Version 3.9.3 and the newest copyright format
    - Support gir1.2-indicate-0.7 (LP: #945307)

 -- Dmitry Shachnev <mitya57@gmail.com>  Sat, 03 Mar 2012 09:32:00 +0400

unity-mail (0.92) precise; urgency=low

  * New release (LP: #941472)
    - Use message_from_bytes instead of message_from_string,
      to handle decoding issues properly
    - Use new get_header_wrapper function for retrieving headers
    - Fix crashes in um-url
    - Simplify message-parsing code
    - Drop dbus adding-desktop-file-to-launcher code, it doesn't work
      with Unity 5.2+ and software-center now does this itself
    - Use Python3's format function instead of % operator
      (in a way compatible with existing translations)
    - Hide the launcher count badge when connections are lost (LP: #938946)
  * Drop dependency on python3-dbus

 -- Dmitry Shachnev <mitya57@gmail.com>  Fri, 24 Feb 2012 17:00:17 +0400

unity-mail (0.90) precise; urgency=low

  * Initial release (LP: #927602)

 -- Dmitry Shachnev <mitya57@gmail.com>  Fri, 10 Feb 2012 15:47:53 +0400
