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
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
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
0ce2c0ce83
CVS_SILENT oops
...
svn path=/trunk/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
Carsten Burghardt
32ca1c3c6f
This should hopefully fix the problem with disappearing dimap folders
...
svn path=/trunk/kdepim/; revision=356903
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
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
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
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
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
b2d1b67616
From proko2: Make the automatic invitation sending settable
...
svn path=/trunk/kdepim/; revision=349919
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
Volker Krause
dd48a5eddf
Add KWallet support.
...
Works for mail accounts and SMTP servers, already stored passowrds are migrated to the wallet.
CCMAIL: 76097-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=342067
22 years ago
Till Adam
d49ffb355b
Forward port of fix from the branch:
...
Don't crash when a folder which is a resource folder is deleted, because
the resource is not removed properly from KOrganizer etc since no signals
were emitted in that case. Aggregate the folderRemoved signals of all
folder managers and emit a central folderRemoved(KMFolder*) which stuff
can listen to. Port the filter manager to that.
svn path=/trunk/kdepim/; revision=339422
22 years ago
Tobias Koenig
0156f0844b
Add showMailCalled(), which is used to raise this part in kontact when the
...
dcop method showMail() is called.
svn path=/trunk/kdepim/; revision=339396
22 years ago
David Faure
81e9b4ed5c
Till okayed the fix: create KConfigSkeleton on startup to avoid kconfig group messup
...
This fixes imap folders deleted on startup in the proko2 branch, in particular.
svn path=/trunk/kdepim/; revision=337564
22 years ago
Till Adam
f064f845e2
Iterate over all accounts when checking whether a folder is a trash folder. That not only also finds dimap folders, but it makes it possible to have a folder be a trash folder of a different account, not the one the folder belongs to.
...
Ingo, backport?
CCMAIL: 79007-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=336658
22 years ago
Ingo Klcker
51c11b2c4a
Move the system tray configuration from Network/Receiving to Appearance/System Tray. Use KConfigXT for the settings. Add an appropriate update script (which also prepends 'mailto:' to all mailing list posting addresses so that the addresses work with the new mailing list code).
...
svn path=/trunk/kdepim/; revision=327318
22 years ago
Bo Thorsen
d664aa9baf
Make a legacy option for sending invitations to Outlook users.
...
svn path=/trunk/kdepim/; revision=323117
22 years ago
Ingo Klcker
c8fb566e66
Disable the ugly workaround for the ghost message problem. The problem should now be solved the right way. This workaround was anyway not a good idea because it triggered our warning about unknown messages in the outbox folder if the user has left some messages in the outbox when he quit KMail.
...
svn path=/trunk/kdepim/; revision=322036
22 years ago
Allen Winter
a15d2d6be2
Added new getFrom hidden dcop function.
...
This will be used by the kaddressbook_plugin for getting the From: address
from dragged messages.
svn path=/trunk/kdepim/; revision=322027
22 years ago
David Faure
c5565deb35
KIMProxy is a singleton, with a private destructor. This means you can't delete it.
...
While being at it, removed the member var, not needed anymore.
svn path=/trunk/kdepim/; revision=321103
22 years ago
Karl-Heinz Zimmer
3333406754
Enable other programs to specify an own encoding for each of the attachments passed into an openComposer call.
...
svn path=/trunk/kdepim/; revision=320027
22 years ago
Ingo Klcker
a2f6662b69
Add dcop call timeOfLastMessageCountChange() which will be used by the mail summary in Kontact to determine whether the counts need to be updated.
...
svn path=/trunk/kdepim/; revision=318320
22 years ago
David Faure
a0fb0131a8
perl -pi -e 's,libkdepim/identity,libkpimidentities/identity,' *
...
svn path=/trunk/kdepim/; revision=317529
22 years ago
David Faure
5bfa94afd4
Remove distinction between cleanup() and notClosedByUser(), as discussed on kmail-devel.
...
This removes the "cleanup widget" on exit (*), and removes some discrepancies
(e.g. recent addresses were apparently not saved when kmail was closed by SM),
ensuring that the exact same cleanup is done in all cases (kmail/kontact, SM/closed-by-user).
(*) Bo closed 66433 a bit early. _Now_ it's fixed :)
svn path=/trunk/kdepim/; revision=317010
22 years ago
Karl-Heinz Zimmer
6779a33ee5
Enhance the openComposer function by a charset parameter, to enable KOrganizer to report the charset used for the iCal attachment in event invitation mails.
...
svn path=/trunk/kdepim/; revision=316716
22 years ago
Marc Mutz
cc924efbea
Add an option to configure the composer autosave interval. Patch originally developed in aegypten_branch and posted to kmail-devel by David Faure, changed to include the right amount of whitespace by me on request of Ingo.
...
svn path=/trunk/kdepim/; revision=316526
22 years ago
Till Adam
1a4ba9419b
Nuke the index of the outbox on startup if the outbox folder is a maildir
...
folder, to make ghost messages impossible, which result when KMail crashes
after a message has entered and left a folder within five seconds, which
pretty much only happens for the outbox, and the index is therefor less
than 5 seconds out of date, which is the nfs tolerance.
This is a nasty hack of a workaround, but it should fix the symptom.
CCMAIL: 43931-done@bugs.kde.org
svn path=/trunk/kdepim/; revision=315951
22 years ago
Ingo Klcker
b760389458
Cleanup: - Accessors are to be named foo() but not getFoo(). Moreover they should in general be const.
...
- whitespace and coding style fixes
- getKMMainWidget() can return 0, so add a guard
svn path=/trunk/kdepim/; revision=315642
22 years ago
David Faure
81bf1c52e3
Patch by Nathan Toone to make kontact not exit when closing the window
...
and the systray icon is enabled. (I renamed getSystray to systray)
CCMAIL: Nathan Toone <nathan@toonetown.com>
svn path=/trunk/kdepim/; revision=315609
22 years ago
David Faure
1ac13c7785
Fixed "compact all folders" (copy-n-paste error)
...
svn path=/trunk/kdepim/; revision=314785
22 years ago
David Faure
a2d8633af3
Empty trash on exit, if configured to do so, on kontact exit and when kmail
...
is closed by SM (it's a pretty fast operation, even with thousands of mails)
svn path=/trunk/kdepim/; revision=314607
22 years ago
David Faure
c44c484bb5
Similarly to expiring old mails in the background, this implements compacting
...
mbox and maildir folders in the background.
This fixes compaction not happening in kontact at all, and not happening
either for cached imap folders in kmail. It also makes kmail exit faster.
svn path=/trunk/kdepim/; revision=314475
22 years ago