Commit graph

7602 commits

Author SHA1 Message Date
Colin Leroy
b4ec5f3b2d GData: use new password API. Completely untested as I don't have the dependancies available to build! 2016-02-11 11:28:07 +01:00
Colin Leroy
1707a23f56 Forgot to memset. We should add an helper function for this. 2016-02-11 11:22:47 +01:00
Colin Leroy
e5bb832c16 vCalendar: Use new password API 2016-02-11 11:21:52 +01:00
Colin Leroy
f2c16c568e Fix another g_log warning 2016-02-11 10:33:10 +01:00
Colin Leroy
476dc684eb Fix indentation, sorry 2016-02-11 10:27:36 +01:00
Colin Leroy
667a312170 Fix a leak and g_log() in case of null passwords 2016-02-11 10:25:06 +01:00
Andrej Kacian
483f9b039e Fix two crashes in IMAP introduced by the passwords change. 2016-02-11 00:52:49 +01:00
Andrej Kacian
2836acb335 Fix inputdialog modality and focus issue. 2016-02-11 00:47:07 +01:00
Andrej Kacian
b88955da55 Another logic fix for handling master password change dialog. 2016-02-10 19:46:11 +01:00
Andrej Kacian
3dfc764e34 Fix a logic error in handling results of master password change dialog. 2016-02-10 18:31:25 +01:00
Andrej Kacian
126c9d80ce Fix a segfault caused by freeing a string on incorrect place.
Closes bug #3616.
2016-02-10 18:30:20 +01:00
Andrej Kacian
87ec96c597 Addendum to 503cb50 (Fix build with --with-password-encryption=old) 2016-02-09 16:29:31 +01:00
Michael Rasmussen
8f2dc419f6 Add help text and change text of second label 2016-02-08 20:58:04 +01:00
Andrej Kacian
50ef86e4fc Improved master password change dialog a bit. 2016-02-08 20:19:19 +01:00
Andrej Kacian
24156a8ab6 Revert "Fix a teensy weensy memory leak in Action configuration dialog."
This reverts commit 2d1d24e2dc.
2016-02-08 19:23:00 +01:00
Andrej Kacian
2d1d24e2dc Fix a teensy weensy memory leak in Action configuration dialog. 2016-02-08 19:20:47 +01:00
Andrej Kacian
af58003b77 Fix a possible use-after-free for ContactData pointers in new addressbook. 2016-02-08 19:18:35 +01:00
Andrej Kacian
cd7f85f7eb Real fix for #3598. We were zeroing out wrong pointer. 2016-02-08 18:28:08 +01:00
Andrej Kacian
14b55b5122 Make procmime_mimeinfo_free_all() zero the passed pointer.
The function's argument type changes from MimeInfo* to MimeInfo**,
so that we can zero out the pointer.

This closes bug #3610, reported by Hanno Boeck.
2016-02-08 18:28:08 +01:00
Andrej Kacian
503cb50edf Fix build with --with-password-encryption=old 2016-02-08 12:40:23 +01:00
Andrej Kacian
f181179416 Added "Forget master password" mainwindow menu entry. 2016-02-07 20:07:03 +01:00
Andrej Kacian
fb564a461e Forget entered master password before trying to change it.
This makes sure the user always has to input current master
password before he is allowed to change it.
2016-02-07 19:51:20 +01:00
Ricardo Mones
b7477fbe53 Fix segfault when account password is not saved…
…in account preferences, introduced also in 54adfb4.
In this case acc_pass is NULL, so it must be checked
before trying to dereference it.
2016-02-06 23:49:51 +01:00
Andrej Kacian
eb130cbe50 Fix a null pointer dereference introduced by 54adfb4.
acc_pass is pointing to same address as pass, and we are inside
an if block that includes "!pass" condition, so trying to zero
and free acc_pass is a wrong thing to do.
2016-02-05 10:43:15 +01:00
Andrej Kacian
54adfb433b Rewritten account passwords handling.
Passwords are only decrypted before their actual use, not
while loading from accountrc.
Passwords are stored as "{algorithm}base64encodedciphertext",
encrypted using AES-CBC cipher, with PASSCRYPT_KEY used as
and encryption key.
Optionally, the encryption key, also known as "master password"
can be changed by user.
2016-02-04 22:04:48 +01:00
Andrej Kacian
e7374d38e5 Removed simple-gettext.c, as it is not being used at all. 2016-02-03 11:50:43 +01:00
Paul
e7308b6264 fix Compose account selection when imap folder is selected
don't just select the imap account, ignoring default account et al
2016-02-02 13:06:03 +00:00
Paul
9a84275f94 automatically use external editor on fwd-as-attachment if option is set 2016-01-29 13:33:25 +00:00
Andrej Kacian
d0c7241757 Remove the outer scrollbar from header area.
This means the sender address line, with account
selector is always visible.
2016-01-28 20:13:45 +01:00
Andrej Kacian
282fa50eaf Fix superfluous semicolons from 543c7d3. 2016-01-27 18:16:15 +01:00
Andrej Kacian
543c7d3394 RSSyl: Handle XHTML content correctly for Atom feeds.
Fixes bug #3603.
2016-01-27 16:54:07 +01:00
Colin Leroy
b3b2d2c845 Fix unused variable warning 2016-01-24 20:11:41 +01:00
Andrej Kacian
a5c8092f06 MH class now should not change working directory anymore. 2016-01-23 23:58:34 +01:00
Andrej Kacian
cbc36707c3 Zero out few forgotten pointers in procmsg_msginfo_free().
This is a follow-up to commit bfb1815.
2016-01-23 20:41:25 +01:00
Andrej Kacian
bfb18150ef Make procmsg_msginfo_free() zero out pointers to freed memory.
The function's argument type changes from MsgInfo* to MsgInfo**,
so that we can zero out the pointer.

This closes bug #3598, reported by Hanno Boeck.
2016-01-23 16:45:02 +01:00
Andrej Kacian
eb08800c23 Fix typo in handling feed name ending with a period on Win32. 2016-01-19 15:01:50 +01:00
Paul
aa984fc0d3 more removing of space before colon 2016-01-19 10:55:21 +00:00
Paul
df0d9e54e3 update copyright year 2016-01-19 10:42:02 +00:00
Paul
b99272b6c8 remove space in front of colon 2016-01-19 10:29:29 +00:00
Andrej Kacian
7df13fc978 Delete prototypes for non-existent prefs_write_close*(). 2016-01-17 12:50:37 +01:00
Paul
8b2aff884d fix CVE-2015-8708, bug 3557, 'Remotely exploitable bug.'
Patch by Ben Hutchings <ben@decadent.org.uk>
2016-01-17 11:34:14 +00:00
Andrej Kacian
3a9d744883 Add missing symbol to vcalendar claws.def file. 2016-01-03 17:41:57 +01:00
Paul
6eb02a5598 fix bug 2358, '"Disposition-Notification-To:" should default to same value as "From:' 2015-12-28 19:12:33 +00:00
Paul
b29d9d89c8 remove space in front of colon 2015-12-23 08:47:53 +00:00
Paul
e3ffcb455e fix bug 3584, 'After 3.13.1, characters in some Japanese codec are never correctly converted to internal ones'
Thanks to honda@math.sci.hokudai.ac.jp
2015-12-22 11:17:02 +00:00
Paul
75c65e0529 lt.po updated
submitted by Mindaugas Baranauskas.

[late updates causing more work]
2015-12-20 13:04:19 +00:00
Paul
f29424825b update translations
updated by David Vachulka, Thomas Bellmann, me, Flammie Pirinen, Tristan
Chabredier, Isratine Citizen, Páder Rezső, Luigi Votta, Petter Adsen,
Marcel Pol, Slavko, Andreas Rönnquist, Mark Chang

ru.po added, submitted by Mikhail Kurinnoi

bg.po, eo.po and lt.po removed, unmaintained
2015-12-20 12:10:08 +00:00
Ricardo Mones
5db77bed1e Update array of recognised TLDs for release 2015-12-20 03:41:51 +01:00
Andrej Kacian
ac570c228d RSSyl: do not add extra dir separator in item_get_path(). 2015-12-18 16:25:38 +01:00
Andrej Kacian
fc0abbcade Some minor changes for win32 build. 2015-12-16 16:28:30 +01:00