Re: [tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-17 Thread Lyall
Updated *TiddlerEncryptionPlugin* at 
http://www.remotely-helpful.com/TiddlyWiki/TiddlerEncryptionPlugin.html

Minor version bump.

If you check the code, you will find I had to insert the change in two 
places, rather than one. :)

...Lyall

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/fbJzjHaVsuUJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-16 Thread Udo Borkowski
Kriss sent me the buggy TiddlyWiki and I could track down the problem.

It looks like the problem is caused by the way the TiddlerEncryptionPlugin 
changes the tiddler text after decryption.

In the function CheckTiddlerForDecryption_TiddlerEncryptionPlugin(tiddler) 
the text of the tiddler is changed to the decrypted text using this code:

tiddler.text = decryptedText;

This silent change to the text is not noticed by the DataTiddlerPlugin 
(and possibly other code that is interested in changes to a tiddler).

To notify other code (like DataTiddlerPlugin) about this change one should 
add a line like this:

tiddler.changed();  // notify others about the tiddler change

in the CheckTiddlerForDecryption_TiddlerEncryptionPlugin.

With this extra line the DataTiddlerPlugin will now display the data of 
decrypted tiddlers properly.

Lyall Pearce: If you read this, here the function's code with my changes: 
https://gist.github.com/2714083  


Udo


On Tuesday, May 15, 2012 11:21:11 PM UTC+2, Udo Borkowski wrote:

 Kriss, 

 Could the problem be somewhere in one of the FET-implementations I use in 
 other tiddlers??
 I suppose these makros are not run when they are not displayed on the 
 screen, so they should not be of influence, right ?


 Right, the FET macros only have an effect when displayed/rendered.


 What else can I test or should I provide to figure this one out?


 This all sounds very strange.

 As you cannot reproduce the problem with a new TiddlyWiki, maybe you could 
 copy the buggy one and remove all confidential tiddlers? If this still 
 produces the error you could send me the copied TiddlyWiki and I will have 
 a look. If the bug disappears after you removed some tiddlers maybe you can 
 get an idea what is special about the one that fixed/caused the problem...

 Udo

  
 On Friday, May 11, 2012 11:16:11 AM UTC+2, Kris Meyssen wrote:

 Udo,

 I tried to make a new tiddlywiki (1) and reproduce the issue. 
 Unfortunally after I installed all the different relevant plugins, I still 
 can not reproduce the problem. So I switched back to original file (2) and 
 disabled all plugins via the backstage. By re-enabling them one by one I 
 found that the ForEachTiddlerPlugin is related to the problem. When I 
 disable this in the original file (with all the other plugins enabled), the 
 table is drawn correctly, when I enable it again the table disappears. 
 However, I don't use the FET-macro in the datatiddler or anywhere visibly 
 on the screen... ?!

 I tried to put the FET plugin and FET makro in the new file (1), but this 
 does not reproduce the problem. 
 Could the problem be somewhere in one of the FET-implementations I use in 
 other tiddlers??
 I suppose these makros are not run when they are not displayed on the 
 screen, so they should not be of influence, right ?

 What else can I test or should I provide to figure this one out?

 K





 On Thu, May 10, 2012 at 11:28 PM, Udo Borkowski wrote:

 Hi Kriss,

 could you give me with a complete TiddlyWiki with the plugins installed 
 and a step-by-step description so I can reproduce the problem?

 I never used the TiddlerEncryptionPlugin before and when I tried it now 
 I could encrypt tiddlers but never saw the Decrypt button next to the 
 edit button (as explained in the documentation). So I probably missed 
 something. The Decrypt All worked but this does not seem to refresh the 
 tiddlers.

 Udo

 P.S.: you can send the (zipped) TiddlyWiki to the email given in 
 http://tiddlywiki.abego-software.de/#Contact.


 On Tue, May 8, 2012 at 12:28 PM, Kriss bipah...@gmail.com wrote:

 Hello,

 I have a wiki that I use already for some time with bookmarks, 
 serialnumbers, passwords and the like. It uses the DataTiddlerPlugin and 
 FETmacro and everything works fine.
 Now I have installed the TiddlerEncryptionPlugin and that too seems to 
 work fine.

 However, when I decrypt a tiddler, the showData makro is no longer 
 displayed correctly.

 After decryption, it only shows the tableheader, but not the contents 
 of the table. The rest of the contents of the tiddler is displayed 
 correctly.
 When I look at the contents of the tiddler in edit-mode everything is 
 there, including the data.../data.

 When I exit edit-mode using cancel, the table-contents remains 
 hidden, but when I exit edit-mode using done or ctrl+enter, the 
 table-contents is displayed correctly again...

 Tiddlers with the showData-macro but not marked for encryption display 
 just fine.

 What is going wrong? Anyone an idea?

 I use:
 wiki v2.6.2
 TiddlerEncryptionPlugin v3.2.1
 DataTiddlerPlugin v1.0.6   (tested v1.0.7 as well and got same issue)
 Firefox 11 and firefox portable 10  (also tested on IE6 :-)

 Thank you for your help.
 K

 -- 
 You received this message because you are subscribed to the Google 
 Groups TiddlyWiki group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/tiddlywiki/-/nPrAwY-K0f8J.
 To post to this group, send email to 

Re: [tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-16 Thread Lyall
I have been watching this thread. I will release an update for the 
TiddlerEncryptionPlugin, hopefully, within the next 48 hours.

Thanks very much for identifying this issue.

...Lyall


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/rQ8cnYVHIIEJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-15 Thread Udo Borkowski


Kriss, 

Could the problem be somewhere in one of the FET-implementations I use in 
 other tiddlers??
 I suppose these makros are not run when they are not displayed on the 
 screen, so they should not be of influence, right ?


Right, the FET macros only have an effect when displayed/rendered.


What else can I test or should I provide to figure this one out?


This all sounds very strange.

As you cannot reproduce the problem with a new TiddlyWiki, maybe you could 
copy the buggy one and remove all confidential tiddlers? If this still 
produces the error you could send me the copied TiddlyWiki and I will have 
a look. If the bug disappears after you removed some tiddlers maybe you can 
get an idea what is special about the one that fixed/caused the problem...

Udo

 
On Friday, May 11, 2012 11:16:11 AM UTC+2, Kris Meyssen wrote:

 Udo,

 I tried to make a new tiddlywiki (1) and reproduce the issue. Unfortunally 
 after I installed all the different relevant plugins, I still can not 
 reproduce the problem. So I switched back to original file (2) and disabled 
 all plugins via the backstage. By re-enabling them one by one I found that 
 the ForEachTiddlerPlugin is related to the problem. When I disable this in 
 the original file (with all the other plugins enabled), the table is drawn 
 correctly, when I enable it again the table disappears. However, I don't 
 use the FET-macro in the datatiddler or anywhere visibly on the screen... ?!

 I tried to put the FET plugin and FET makro in the new file (1), but this 
 does not reproduce the problem. 
 Could the problem be somewhere in one of the FET-implementations I use in 
 other tiddlers??
 I suppose these makros are not run when they are not displayed on the 
 screen, so they should not be of influence, right ?

 What else can I test or should I provide to figure this one out?

 K





 On Thu, May 10, 2012 at 11:28 PM, Udo Borkowski wrote:

 Hi Kriss,

 could you give me with a complete TiddlyWiki with the plugins installed 
 and a step-by-step description so I can reproduce the problem?

 I never used the TiddlerEncryptionPlugin before and when I tried it now 
 I could encrypt tiddlers but never saw the Decrypt button next to the 
 edit button (as explained in the documentation). So I probably missed 
 something. The Decrypt All worked but this does not seem to refresh the 
 tiddlers.

 Udo

 P.S.: you can send the (zipped) TiddlyWiki to the email given in 
 http://tiddlywiki.abego-software.de/#Contact.


 On Tue, May 8, 2012 at 12:28 PM, Kriss bipah...@gmail.com wrote:

 Hello,

 I have a wiki that I use already for some time with bookmarks, 
 serialnumbers, passwords and the like. It uses the DataTiddlerPlugin and 
 FETmacro and everything works fine.
 Now I have installed the TiddlerEncryptionPlugin and that too seems to 
 work fine.

 However, when I decrypt a tiddler, the showData makro is no longer 
 displayed correctly.

 After decryption, it only shows the tableheader, but not the contents of 
 the table. The rest of the contents of the tiddler is displayed correctly.
 When I look at the contents of the tiddler in edit-mode everything is 
 there, including the data.../data.

 When I exit edit-mode using cancel, the table-contents remains hidden, 
 but when I exit edit-mode using done or ctrl+enter, the table-contents is 
 displayed correctly again...

 Tiddlers with the showData-macro but not marked for encryption display 
 just fine.

 What is going wrong? Anyone an idea?

 I use:
 wiki v2.6.2
 TiddlerEncryptionPlugin v3.2.1
 DataTiddlerPlugin v1.0.6   (tested v1.0.7 as well and got same issue)
 Firefox 11 and firefox portable 10  (also tested on IE6 :-)

 Thank you for your help.
 K

 -- 
 You received this message because you are subscribed to the Google 
 Groups TiddlyWiki group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/tiddlywiki/-/nPrAwY-K0f8J.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 To unsubscribe from this group, send email to 
 tiddlywiki+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/tiddlywiki?hl=en.


  -- 
 You received this message because you are subscribed to the Google Groups 
 TiddlyWiki group.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 To unsubscribe from this group, send email to 
 tiddlywiki+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/tiddlywiki?hl=en.




-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/Nblz6uOHUYMJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-11 Thread Kris Meyssen
Udo,

I tried to make a new tiddlywiki (1) and reproduce the issue. Unfortunally
after I installed all the different relevant plugins, I still can not
reproduce the problem. So I switched back to original file (2) and disabled
all plugins via the backstage. By re-enabling them one by one I found that
the ForEachTiddlerPlugin is related to the problem. When I disable this in
the original file (with all the other plugins enabled), the table is drawn
correctly, when I enable it again the table disappears. However, I don't
use the FET-macro in the datatiddler or anywhere visibly on the screen... ?!

I tried to put the FET plugin and FET makro in the new file (1), but this
does not reproduce the problem.
Could the problem be somewhere in one of the FET-implementations I use in
other tiddlers??
I suppose these makros are not run when they are not displayed on the
screen, so they should not be of influence, right ?

What else can I test or should I provide to figure this one out?

K





On Thu, May 10, 2012 at 11:28 PM, Udo Borkowski 
udo.borkow...@googlemail.com wrote:

 Hi Kriss,

 could you give me with a complete TiddlyWiki with the plugins installed
 and a step-by-step description so I can reproduce the problem?

 I never used the TiddlerEncryptionPlugin before and when I tried it now I
 could encrypt tiddlers but never saw the Decrypt button next to the
 edit button (as explained in the documentation). So I probably missed
 something. The Decrypt All worked but this does not seem to refresh the
 tiddlers.

 Udo

 P.S.: you can send the (zipped) TiddlyWiki to the email given in
 http://tiddlywiki.abego-software.de/#Contact.


 On Tue, May 8, 2012 at 12:28 PM, Kriss bipah...@gmail.com wrote:

 Hello,

 I have a wiki that I use already for some time with bookmarks,
 serialnumbers, passwords and the like. It uses the DataTiddlerPlugin and
 FETmacro and everything works fine.
 Now I have installed the TiddlerEncryptionPlugin and that too seems to
 work fine.

 However, when I decrypt a tiddler, the showData makro is no longer
 displayed correctly.

 After decryption, it only shows the tableheader, but not the contents of
 the table. The rest of the contents of the tiddler is displayed correctly.
 When I look at the contents of the tiddler in edit-mode everything is
 there, including the data.../data.

 When I exit edit-mode using cancel, the table-contents remains hidden,
 but when I exit edit-mode using done or ctrl+enter, the table-contents is
 displayed correctly again...

 Tiddlers with the showData-macro but not marked for encryption display
 just fine.

 What is going wrong? Anyone an idea?

 I use:
 wiki v2.6.2
 TiddlerEncryptionPlugin v3.2.1
 DataTiddlerPlugin v1.0.6   (tested v1.0.7 as well and got same issue)
 Firefox 11 and firefox portable 10  (also tested on IE6 :-)

 Thank you for your help.
 K

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/tiddlywiki/-/nPrAwY-K0f8J.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 To unsubscribe from this group, send email to
 tiddlywiki+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/tiddlywiki?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 To unsubscribe from this group, send email to
 tiddlywiki+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/tiddlywiki?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-10 Thread Udo Borkowski
Hi Kriss,

could you give me with a complete TiddlyWiki with the plugins installed and
a step-by-step description so I can reproduce the problem?

I never used the TiddlerEncryptionPlugin before and when I tried it now I
could encrypt tiddlers but never saw the Decrypt button next to the
edit button (as explained in the documentation). So I probably missed
something. The Decrypt All worked but this does not seem to refresh the
tiddlers.

Udo

P.S.: you can send the (zipped) TiddlyWiki to the email given in
http://tiddlywiki.abego-software.de/#Contact.


On Tue, May 8, 2012 at 12:28 PM, Kriss bipah...@gmail.com wrote:

 Hello,

 I have a wiki that I use already for some time with bookmarks,
 serialnumbers, passwords and the like. It uses the DataTiddlerPlugin and
 FETmacro and everything works fine.
 Now I have installed the TiddlerEncryptionPlugin and that too seems to
 work fine.

 However, when I decrypt a tiddler, the showData makro is no longer
 displayed correctly.

 After decryption, it only shows the tableheader, but not the contents of
 the table. The rest of the contents of the tiddler is displayed correctly.
 When I look at the contents of the tiddler in edit-mode everything is
 there, including the data.../data.

 When I exit edit-mode using cancel, the table-contents remains hidden,
 but when I exit edit-mode using done or ctrl+enter, the table-contents is
 displayed correctly again...

 Tiddlers with the showData-macro but not marked for encryption display
 just fine.

 What is going wrong? Anyone an idea?

 I use:
 wiki v2.6.2
 TiddlerEncryptionPlugin v3.2.1
 DataTiddlerPlugin v1.0.6   (tested v1.0.7 as well and got same issue)
 Firefox 11 and firefox portable 10  (also tested on IE6 :-)

 Thank you for your help.
 K

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/tiddlywiki/-/nPrAwY-K0f8J.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 To unsubscribe from this group, send email to
 tiddlywiki+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/tiddlywiki?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



Re: [tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-10 Thread Lyall
The decrypt button will only appear if you have the default ToolbarCommands 
shadow tiddler.
I assume that if you have a non-shadow version of this tiddler, that you 
have custom buttons and I did not want to interfere by fiddling with your 
customisations.
In this case, you will need to manually edit your non-shadow 
ToolbarCommands tiddler to include the DecryptThis button.


...Lyall

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/x4d_f9a5Pb0J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Problem with TiddlerEncryptionPlugin and DataTiddlerPlugin

2012-05-08 Thread Kriss
Hello,

I have a wiki that I use already for some time with bookmarks, 
serialnumbers, passwords and the like. It uses the DataTiddlerPlugin and 
FETmacro and everything works fine.
Now I have installed the TiddlerEncryptionPlugin and that too seems to work 
fine.

However, when I decrypt a tiddler, the showData makro is no longer 
displayed correctly.

After decryption, it only shows the tableheader, but not the contents of 
the table. The rest of the contents of the tiddler is displayed correctly.
When I look at the contents of the tiddler in edit-mode everything is 
there, including the data.../data.

When I exit edit-mode using cancel, the table-contents remains hidden, 
but when I exit edit-mode using done or ctrl+enter, the table-contents is 
displayed correctly again...

Tiddlers with the showData-macro but not marked for encryption display just 
fine.

What is going wrong? Anyone an idea?

I use:
wiki v2.6.2
TiddlerEncryptionPlugin v3.2.1
DataTiddlerPlugin v1.0.6   (tested v1.0.7 as well and got same issue)
Firefox 11 and firefox portable 10  (also tested on IE6 :-)

Thank you for your help.
K

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/nPrAwY-K0f8J.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.