1. 21 Sep, 2021 1 commit
  2. 19 Sep, 2021 1 commit
  3. 18 Sep, 2021 1 commit
  4. 13 Sep, 2021 1 commit
  5. 26 Aug, 2021 1 commit
  6. 23 Aug, 2021 1 commit
    • Peter Bloomfield's avatar
      mime: No trailing comma in a URL · f9315755
      Peter Bloomfield authored
      The regex that Balsa uses to identify a URL in a plain text message part
      already omits a trailing period ('.') from the match, as it is usually
      punctuation and not part of the URL. This commit additionally removes a comma
      (',') from the last character match, for the same reason: more likely to be
      punctuation. This of course breaks the identification of a URL that *does* end
      in a comma, but that appears to be less likely than erroneously including one.
      
      Discussion at #59.
      f9315755
  7. 18 Aug, 2021 1 commit
  8. 13 Aug, 2021 4 commits
  9. 30 Jul, 2021 3 commits
  10. 01 Jul, 2021 1 commit
  11. 28 Jun, 2021 1 commit
  12. 22 Jun, 2021 1 commit
  13. 20 Jun, 2021 3 commits
  14. 15 Jun, 2021 1 commit
  15. 14 Jun, 2021 1 commit
  16. 12 Jun, 2021 1 commit
  17. 06 Jun, 2021 1 commit
    • Albrecht Dreß's avatar
      Autocrypt: fix faulty error messages · c9949e6b
      Albrecht Dreß authored
      Fix faulty Autocrypt error messages (false positives) which occur on the
      following conditions:
      
      (1) As g_mime_message_get_autocrypt_header() will return an object even
      if the message does *not* include an Autocrypt: header,
      balsa_mime_widget_signature_widget() will report an error for a signed
      message without such a header, but no key being available.  This is
      fixed by remembering if the message actually contains the header or not.
      (2) The Autocrypt key material must include a signing-capable subkey,
      but it is not necessarily the first subkey.  In the latter case, the
      wrong fingerprint is stored in the database.  Note that the user must
      manually remove the entry from the Autocrypt database to get rid of the
      faulty error in this case.
      
      Details:
      - libbalsa/message.[ch]: remember if the message contains an Autocrypt:
      header
      - libbalsa/autocrypt.c: loop over all Autocrypt subkeys, and return the
      fingerprint of the first signing subkey instead of the first subkey
      - src/bals...
      c9949e6b
  18. 17 May, 2021 1 commit
  19. 13 May, 2021 1 commit
  20. 12 May, 2021 1 commit
  21. 05 May, 2021 1 commit
    • Albrecht Dreß's avatar
      implement sender-dependent preferences for HTML messages (#13) · 68d4a8ac
      Albrecht Dreß authored
      This patch implements a small SQLite database to store From: address
      dependent preferences for the display of html or plain text messages,
      and for automatically loading external images (which should be
      considered dangerous, but may be helpful under some circumstances):
      - additional check boxes are added to the HTML context menu, and
      - a dialogue for managing the database is added to the prefs manager.
      
      Modifications:
      - libbalsa/html-pref-db.[ch]: (new) implement the prefs database
      - libbalsa/html.[ch]: use the prefs database
      - libbalsa/Makefile.am, libbalsa.meson.build: add new source files
      - src/balsa-message.c, src/print-gtk.c: use the prefs database
      - src/balsa-mime-widget-text.c: use the prefs database, extend HTML
        popup menu
      - src/pref-manager.c: add button to run the prefs database dialogue
      - src/save-restore.c: register the prefs database dialogue for geometry
        management
      - configure.ac, meson.build: require SQLite if HTML is enabled...
      68d4a8ac
  22. 02 May, 2021 3 commits
  23. 18 Apr, 2021 1 commit
  24. 17 Apr, 2021 1 commit
  25. 10 Apr, 2021 2 commits
  26. 29 Mar, 2021 1 commit
  27. 27 Mar, 2021 1 commit
    • Peter Bloomfield's avatar
      imap-handle: use a flexible array member · 46665e58
      Peter Bloomfield authored
      to append data to struct ImapMsgSerialized.
      
      Thanks to @albrecht for the suggestion and reference to the C99 standard,
      in #57
      
      * libbalsa/imap/imap-handle.c:
        struct ImapMsgSerialized: replace
          - gchar fetched_headers_first_char;
          with a flexible array member
          + gchar fetched_headers_data[];
        (imap_message_serialize): adapt to the change;
        (imap_message_deserialize): ditto.
      46665e58
  28. 25 Mar, 2021 1 commit
  29. 23 Mar, 2021 1 commit
  30. 22 Mar, 2021 1 commit
    • Peter Bloomfield's avatar
      mailbox: Lock destination when copying or moving · 527ac24c
      Peter Bloomfield authored
      * libbalsa/mailbox.c
        (libbalsa_mailbox_real_messages_copy): remove guards;
        (messages_copy_locked): helper;
        (libbalsa_mailbox_messages_copy): guard and lock destination, and use helper;
        (libbalsa_mailbox_messages_move): ditto.
      527ac24c