Re: [Enigmail] [PATCH] save/restore pgpRules.xml contents together w/ other enigmail, prefs

2015-07-30 Thread Kai Michaelis
> On 07/14/2015 05:36 PM, Patrick Brunschwig wrote: >> On 14.07.2015 14:09, Kai Michaelis wrote: >>> This patch extends the save/restore profile function so that it >>> saves the contents of pgpRules.xml too. When restoring a saved >>> profile all existing per-recipient rules are _deleted_ and >>>

Re: [Enigmail] [PATCH] save/restore pgpRules.xml contents together w/ other enigmail, prefs

2015-07-16 Thread Patrick Brunschwig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > On 07/14/2015 05:36 PM, Patrick Brunschwig wrote: >> On 14.07.2015 14:09, Kai Michaelis wrote: >>> This patch extends the save/restore profile function so that it >>> saves the contents of pgpRules.xml too. When restoring a saved >>> profile all ex

Re: [Enigmail] [PATCH] save/restore pgpRules.xml contents together w/ other enigmail, prefs

2015-07-16 Thread Kai Michaelis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Patrick, you're right about the rulesToObject and objectToRules functions. I'll move them into rules.jsm. Writing the rules file to disk in backupPrefs will result in two files. One with the saved Enigmail preferences and the pgpRules.xml. As I

Re: [Enigmail] [PATCH] save/restore pgpRules.xml contents together w/ other enigmail, prefs

2015-07-16 Thread Kai Michaelis
Hello Patrick, you're right about the rulesToObject and objectToRules functions. I'll move them into rules.jsm. Writing the rules file to disk in backupPrefs will result in two files. One with the saved Enigmail preferences and the pgpRules.xml. As I understand ticket #469 the use case for the sa

Re: [Enigmail] [PATCH] save/restore pgpRules.xml contents together w/ other enigmail, prefs

2015-07-14 Thread Patrick Brunschwig
On 14.07.2015 14:09, Kai Michaelis wrote: > This patch extends the save/restore profile function so that it saves > the contents of pgpRules.xml too. When restoring a saved profile all > existing per-recipient rules are _deleted_ and replaced with the ones > in the saved profile. Hi Kai From what

[Enigmail] [PATCH] save/restore pgpRules.xml contents together w/ other enigmail, prefs

2015-07-14 Thread Kai Michaelis
This patch extends the save/restore profile function so that it saves the contents of pgpRules.xml too. When restoring a saved profile all existing per-recipient rules are _deleted_ and replaced with the ones in the saved profile. --- ui/content/pref-enigmail.js | 70 ++