David Faure
9e6702f8ab
Fix nasty cached imap bug: changes made to the folders while syncing (renames, deletions, creations...)
...
were "saved" to kmailrc, but kmailrc wasn't synced, so in case of a kmail crash, X crash, power failure, kernel oops...
the settings would be lost, and on the next kmail restart very strange errors would happen when syncing
(can't create folder, folder already there, folder missing, etc.)
The solution: sync(). But while being at it I implemented buffering of sync requests
which was a TODO in kmkernel, but did it in GlobalSettings as Till suggested;
which in turn means we need our own GlobalSettings inheriting GlobalSettingsBase,
and the code lacked ::self()-> in many places to allow that.
svn path=/branches/kdepim/proko2/kdepim/; revision=432536
21 years ago
Marc Mutz
b7dc817bdd
Hide KMSender from the rest of KMail.
...
svn path=/branches/kdepim/proko2/kdepim/; revision=427161
21 years ago
Danny Kukawka
b61e3f887e
- changed static KMMsgStatus strToStatus() to
...
KMMsgStatus KMKernel::strToStatus()
svn path=/trunk/kdepim/; revision=406383
21 years ago
Danny Kukawka
9d36f9ea94
Applying slightly adopted patches by Alfons Hoogervorst:
...
- added posibility to set KMMsgStatus for a message in dcopAdd*() functions.
The new param QString::MsgStatusFlags is optional.
CCMAIL:alfons.hoogervorst@gmail.com
svn path=/trunk/kdepim/; revision=406331
21 years ago
Paul Sprakes
3ca71dc064
BUG: 77419
...
Folder identities not used when composer opened from Kontact's new mail action.
svn path=/trunk/kdepim/; revision=405867
21 years ago
Danny Kukawka
493c9c9c03
- added new feature to dcopAddMessage*(), now we can import messages to
...
existing subfolders or the requested folder is created
FEATURE:
CCBUGS:101622
svn path=/trunk/kdepim/; revision=403371
21 years ago
Danny Kukawka
f3b40fc2d2
- fixed problems with '/' in foldername in dcopAddMessage*(), now return -1
...
if foldername contains '/'
BUGS:103205
svn path=/trunk/kdepim/; revision=403265
21 years ago
Ingo Klcker
c79a00e9ff
Backport CVS commit by wstephens:
...
deallocate message bodies after importing them, otherwise the entire imported folder is in memory.
svn path=/branches/KDE_3_4_BRANCH/kdepim/; revision=399595
21 years ago
Will Stephenson
eae5a612d6
deallocate message bodies after importing them, otherwise the entire imported folder is in memory.
...
svn path=/trunk/kdepim/; revision=399490
21 years ago
Volker Krause
a3cf3ebcf8
If the user cancels the wallet password prompt, remember this decision and don't ask again for every account.
...
svn path=/trunk/kdepim/; revision=391345
21 years ago
Volker Krause
5d4487b101
We get here if the user canceled the wallet password dialog, so the message "This error is most probably caused by providing a wrong password." is at least misleading, wrong passwords are handled by KWallet itself.
...
svn path=/trunk/kdepim/; revision=391275
21 years ago
Ingo Klcker
6c99a364d0
Improve workaround for ignoring the '-session foo' command line argument.
...
svn path=/trunk/kdepim/; revision=389090
21 years ago
Ingo Klcker
15b24c92e6
Add workaround for the weird 'If I click on KMail's system tray applet a composer with subject 'ession' opens.' bug. Whoever prepended the long 'session' command line argument with only one dash should be made pay indemnity to all those poor composer windows that happily opened for the user looking forward to helping him compose a nice message and that were then closed by the user without being used.
...
svn path=/trunk/kdepim/; revision=388815
21 years ago
Will Stephenson
f5e14117dc
Initialise the KIMProxy proactively. This means that the proxy gets all its DCOP traffic out of the way before initialising the kmailicaliface. Previously there was a chance of the proxy having to call out to IM apps, which might be trying to reload address books created by the kmailicaliface at the same time, leading to deadlock.
...
svn path=/trunk/kdepim/; revision=387689
21 years ago
Ingo Klcker
f4acf04a04
Argh. If I just get the message then the message is deleted when the folder is closed. So I better detach it from the folder.
...
BUG:98483
svn path=/trunk/kdepim/; revision=386486
21 years ago
Ingo Klcker
5743b0cf02
Use /home/ingo/.kde-cvs/share/apps/kmail/mail by default as folder storage (instead of ~/Mail). Moving is disabled for now because it doesn't always work and is IMO anyway to dangerous because there's no safe rollback possible unless we copy the whole mail storage and only delete the origin if the transfer succeeded.
...
svn path=/trunk/kdepim/; revision=385611
21 years ago
Ingo Klcker
e1fd24edf2
Add dcop calls dcopAddMessage_fastImport() and dcopResetAddMessage(). Use member variables instead of statics since the kernel is anyway a singleton. Based on patch by Danny Kukawka.
...
svn path=/trunk/kdepim/; revision=384784
21 years ago
Ingo Klcker
9d56e8dd82
Change autosaving:
...
- Autosave messages in the maildir folder $KDEHOME/share/apps/kmail/autosave instead of in $HOME/dead.letter (mbox-style).
CCBUG: 72441
- The composers are now responsible for timer-based autosaving.
- The changes in recoverDeadLetters are partially cosmetic and partially due to the change from an mbox-style autosave folder to a maildir autosave folder.
- Add KMKernel::localDataPath() which simply returns locateLocal( "data", "kmail/" )
- The actual code which does the autosaving is simplified by using KSaveFile. Moreover, the buggy code which wrote the message (the bug being that the saved message isn't From-escaped) gets easier because with maildir we just need to write the message, but nothing else.
- Show an error message when autosaving fails.
svn path=/trunk/kdepim/; revision=382776
21 years ago
David Faure
07f181ace4
Remove KPIM::Part. It only existed for its raise() signal, which is easily replaced with
...
DCOPRef kmail( "kmail", "kmail" );
kmail.call( "newInstance" );
(e.g. in KMKernel::raise()). This also works in kontact, since kontact registers
as 'kmail' and handles newInstance itself, to show the kmail part.
svn path=/trunk/kdepim/; revision=376396
22 years ago
George Staikos
05c0b1c046
raise the kmail part in kontact when the tray icon is clicked.
...
What should the behaviour be if the tray icon is clicked while kontact is open,
has the foreground, and the kmail part is hidden? Right now it raises kmail
but minimizes kontact. aKregator has the same behaviour. Should this be
changed?
svn path=/trunk/kdepim/; revision=367695
22 years ago
David Faure
421134df4d
Fix for "kstart --iconify --windowclass kmail kmail" as discussed with Seli.
...
The cases for which this code was added still work (typing kmail while kmail
is running activates it; kmail --check doesn't).
svn path=/trunk/kdepim/; revision=360346
22 years ago
David Faure
50889ae5f2
Fix for "kstart --iconify --windowclass kmail kmail" as discussed with Seli.
...
The cases for which this code was added still work (typing kmail while kmail
is running activates it; kmail --check doesn't).
CCBUG: 73591
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=360345
22 years ago
Till Adam
0c73a919e8
Forward port of ical invitation and reply handling fixes from proko2.
...
svn path=/trunk/kdepim/; revision=358742
22 years ago
Till Adam
e080dec92c
Don't sign or encrypt inline ical invitations,îneither KMail nor OL can
...
handle that.
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=358738
22 years ago
Till Adam
0ce2c0ce83
CVS_SILENT oops
...
svn path=/trunk/kdepim/; revision=358724
22 years ago
Till Adam
4e9687d2b4
CVS_SILENT oops
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=358724
22 years ago
Till Adam
0dea13fe47
Don't append signature to ical replies, OL chokes on them. Detabify.
...
svn path=/trunk/kdepim/; revision=358722
22 years ago
Till Adam
2a69e72be1
Actually this is more correct, the dcop method could be called by non-
...
groupware code.
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=358721
22 years ago
Till Adam
720afad725
Don't allow signatures in ical replies, OL chokes on them.
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=358718
22 years ago
David Faure
5bcf43bd29
Oh, the entry in the .kcfg isn't in the branch. Fixed, thanks Laurent for noticing.
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=358223
22 years ago
David Faure
7ada97e3c1
Fixed "send ical as attachment or in body" vs "auto send" logic, as discussed with Till.
...
In body -> don't show raw ICAL to the user -> autosend=true
As attachment -> allow to type a body -> use autosend setting
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=358159
22 years ago
Till Adam
d0328c9848
This should hopefully fix the problem with disappearing dimap folders (backport revision 1.313)
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=356931
22 years ago
Carsten Burghardt
32ca1c3c6f
This should hopefully fix the problem with disappearing dimap folders
...
svn path=/trunk/kdepim/; revision=356903
22 years ago
David Faure
1a90c6e462
Remove BCC coming from identity on ical invitations ( https://intevation.de/roundup/kolab/issue474 )
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=356682
22 years ago
David Faure
8566ba8240
Remove BCC coming from identity on ical invitations ( https://intevation.de/roundup/kolab/issue474 )
...
svn path=/trunk/kdepim/; revision=356682
22 years ago
Till Adam
44312315ab
Add KMKernel::allFolders(), which returns a list of QGuardedPtrs to all
...
folders from all folder managers. Centralizes iteration over all folder
managers.
svn path=/trunk/kdepim/; revision=356393
22 years ago
Ingo Klcker
676e306d97
Backport of
...
Don't translate the local prefix. It's part of the folder identifier but not a visible string (though it was in a previous version of the summary widget).
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=353795
22 years ago
Ingo Klcker
b431bb7bd4
Don't translate the local prefix. It's part of the folder identifier but not a visible string (though it was in a previous version of the summary widget).
...
svn path=/trunk/kdepim/; revision=353794
22 years ago
Till Adam
8c15ff62d9
Disable wordwrap in the composer for all inline invitation mails, not just
...
for those sent with autosending enabled.
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=353691
22 years ago
Till Adam
b94660837f
Disable wordwrap in the composer for all inline invitation mails, not just
...
for those sent with autosending enabled.
svn path=/trunk/kdepim/; revision=353691
22 years ago
Bo Thorsen
22a56f34e0
Backport: Don't use dcop to call a library method
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=352586
22 years ago
Bo Thorsen
756ae90f58
Don't use dcop to call a library method
...
svn path=/trunk/kdepim/; revision=352583
22 years ago
Bo Thorsen
e4a0615bb6
From the branch: This would appear to be a very big change, but in fact it does absolutely nothing. It just removes an obscene amount of old kroupware code that is no longer used. There are no changes in this patch.
...
svn path=/trunk/kdepim/; revision=352373
22 years ago
Bo Thorsen
a9a4b2ee45
This would appear to be a very big change, but in fact it does absolutely nothing. It just removes an obscene amount of old kroupware code that is no longer used. There are no changes in this patch.
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=352371
22 years ago
Bo Thorsen
70e1bee969
From the branch: Plugging two memleaks - the message was never deleted, and the composewin was not deleted when using automatic sending
...
svn path=/trunk/kdepim/; revision=349931
22 years ago
Bo Thorsen
f174a40941
Plugging two memleaks - the message was never deleted, and the composewin was not deleted when using automatic sending
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=349929
22 years ago
Bo Thorsen
b2d1b67616
From proko2: Make the automatic invitation sending settable
...
svn path=/trunk/kdepim/; revision=349919
22 years ago
Bo Thorsen
6b281a38af
Last part of the proko2 change to make the automatic sending user settable. Accepted for the branch by Ingo.
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=349917
22 years ago
Ingo Klcker
3bd777cf8f
Backport: Make the New Message action from KMail's Kontact plugin respect the folder identity. This made the creation of a new hidden DCOP call necessary.
...
svn path=/branches/KDE_3_3_BRANCH/kdepim/; revision=344181
22 years ago
Ingo Klcker
d1cba8912c
Make the New Message action from KMail's Kontact plugin respect the folder identity. This made the creation of a new hidden DCOP call necessary.
...
svn path=/trunk/kdepim/; revision=344172
22 years ago