[tw] Re: [TW5] Let the creator field be required for every new tiddler
Hey, thank you guys for your answers. I like this solution! It's nearly perfect for our tiddly project. :) Thanks a lot! Greetings tueb Am Mittwoch, 28. Januar 2015 12:14:10 UTC+1 schrieb Stephan Hradek: Would it be enought to set this as the first tiddler to display? $reveal state=$:/status/UserName type=match text= Please set your username first. $edit-text tiddler=$:/status/UserName tag=input type=text/ /$reveal $reveal state=$:/status/UserName type=nomatch text= If {{$:/status/UserName}} is not your name, please change it here $edit-text tiddler=$:/status/UserName tag=input type=text/ /$reveal -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
Hi Tobi On Wed, Jan 28, 2015 at 2:00 AM, Tobias Beer beertob...@gmail.com wrote: I never actually looked at the core to find what disables script tags. I'd be curious to figure out how to enable them. Anyone wanting to mess with your data would do the same thing. I prefer to know myself how that's done. It's not hard to find. If you search the source tree for script (including quotes) you'll see this in config.js: exports.htmlUnsafeElements = script.split(,); Then search for htmlUnsafeElements to find where it is used in $:/core/modules/widgets/element.js: var tag = this.parseTreeNode.tag; if($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) { tag = safe- + tag; } var domNode = this.document.createElementNS(this.namespace,tag); Note that script tags are allowed in text/html tiddlers because they are safely sandboxed in an iframe. Best wishes Jeremy. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
Hi Danielo If a folder within a wiki folder contains a tiddlywiki.files file, then TW just processes the specified files, and doesn't scan the folder or it's subfolders. Can you share the relevant wiki folders? Best wishes Jeremy. On Tue, Jan 27, 2015 at 9:27 PM, Danielo Rodríguez rdani...@gmail.com wrote: I sould like to hear something from the core-gurus. Thank you all. El martes, 27 de enero de 2015, 15:52:09 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile calls deserializeTiddlers passing the extension as type. And the deserializeTiddlers function imports the file even if the extension is not recognized, treating it as a plain text file, so every file should be imported. Then, why it is not importing all the files inside the tiddlers file, or even better, all the tiddlers specify on the defualt-tiddlers-location option? El martes, 27 de enero de 2015, 15:43:14 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile seems to rely on the registered extensions to load a tiddler. Based on this information, I think at least mp3,pnj,jpg, and basically all file types that TW can understand should be correctly included as tiddlers. But this is not happening, and I don't understand why. Dioes anyone have any clue? El martes, 27 de enero de 2015, 15:15:33 (UTC+1), Danielo Rodríguez escribió: Meta files can be also used, which are easier to build, but they did not accept relative notation, so we are facing a similar problem. I found that in the core there is a map on file types based on its extension: https://github.com/Jermolene/TiddlyWiki5/blob/ 7abe9aa53d9b1ec19e2afe1c5ace1c7633b0d5ce/boot/boot.js#L1748 But it does not see to work when scanning folders. Maybe a boot module for that is enough, but I would like to see any example. Is there any part of the core that does something similar? Where is the code that scans the tiddlers folder recursively? El martes, 27 de enero de 2015, 15:03:17 (UTC+1), Felix Küppers escribió: Good point. There are many node js projects that deal with glob notations. Maybe it is possible to use a node module for this purpose. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Editor Prototype Mk II
I do not miss an undo button. Mouse is not far away and right mouse button undo removes the last change I made. I didn't know about the mouse undo option. Now I've added research how that works though I'm a bit fearful of Undo unless there is a matching Redo. The table helper for excel is pure gold ;-) Thank you. I can't estimate how much time I spent converting those tables manually. When I first tried your demo I found that it really worked the best having the preview window open. The version today works very well without. I have 2 friends I have been trying to get to use TW. They were both here when I tested, so I asked them to try your demo. They are not skilled computer users but both said, that they would definitely give TW another go with this. And that ultimately is what started me off down this path. The commands for bold, underline, and such are far from obvious. I use superscripts and subscripts routinely and I sometimes forget what the codes are. The new user who hasn't mastered these things has to go back and forth between several web pages to extract the necessary information. My observations are that most of them get frustrated and quit before they get deep enough into TiddlyWiki to appreciate it. Even those who have seen what it can do appear to be unlikely to use it on their own because of this educational barrier. And while the bookmarklets and keyboard snippets work well, no new user who is having problems figuring out how to bold text is ever going to figure out how to install those. But if the commands are right there in front of them in the form of buttons that are familiar looking because they resemble the buttons they see in other programs, the barrier is gone. Your friends' comments are exactly what I would expect. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
Hi Pau node --version #but still no reply. That seems very weird; if node were not installed one would expect to see an error message. That makes me wonder whether there's an issue with the package manager that you're using; I've no experience with apt-get myself, sadly. Best wishes Jeremy On Wed, Jan 28, 2015 at 1:23 PM, Pau Deluca pau...@alamier.com wrote: Hi there! I intend to make a full translation into spanish of TW5. I've been advised to translate the tiddlers working locally on node.js, after forking and branching Jeremy's TW5 repository. However, TW5 nor node seem to work. (e.g.:, I type tiddlywiki --version and get no reply at all). I would like to ask you help to figure out what could I doing wrong: My SO is LinuxMint 17.1-64. Git is previously installed, user and email duly configured. These are the operations I made, for you to check. 1. Github: Forked https://github.com/jermolene/TiddlyWiki5 as https://github.com/PauDeLuca/TiddlyWiki5 2. Github: Branched master as translES and established translES as default. 3. Console: Created folder /home/pau/GIT 4. cd GIT 5. git clone https://github.com/PauDeLuca/TiddlyWiki5 6. cd TiddlyWiki5/ 7. git checkout -b translES #everything ok so far. 8. sudo apt-get install node #positive response. I thought that node would be installed along with npm, but it's not. I then install npm: 9. sudo apt-get install npm 10. sudo npm install -g tiddlywiki. #I get the following: 11. npm http GET https://registry.npmjs.org/tiddlywiki npm http 304 https://registry.npmjs.org/tiddlywiki /usr/local/bin/tiddlywiki - /usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js tiddlywiki@5.1.7 /usr/local/lib/node_modules/tiddlywiki #I then check if TW is installed by: 12. tiddlywiki --version #no reply at all. After checking with Jeremy, I type: 13. node --version #but still no reply. My geekness is totally overwhelmed, I fear. I don't know where the error is. Any hint or advise would be well received. In the meanwhile, I'll start translating directly on my local copy of TW5, hoping the pain to join the translated tiddlers to the fork will not be too much. Thank you all. P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Let the creator field be required for every new tiddler
Hi Stephan, While it won't help with editing conflcts, that sounds like a good practice. Added here: Review UserName On Startup @ tb5 http://tb5.tiddlyspot.com/#Review%20UserName%20On%20Startup While instructional, I don't see a need for any reveals, though. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
Excellent! The times of complaining about google groups have come to an end. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
Nothing to apologise. I'll better let node aside by now and get hands on translating. I'll retry on node when coming up to the server side of TW. 2015-01-28 15:02 GMT+01:00 Jeremy Ruston jeremy.rus...@gmail.com: Apologies, it wasn't about blame, so much as the size of the pool of people who may be able to help; a problem with installing Node.js is a nice straightforward thing to search for on google for example, Best wishes jeremy On Wed, Jan 28, 2015 at 2:01 PM, Paulus pau...@alamier.com wrote: Not blaming anyone. Just asking in case someone recognises the case and gives a helping hand. I'll work in the browser, on my local copy. P.-) 2015-01-28 14:53 GMT+01:00 Jeremy Ruston jeremy.rus...@gmail.com: On Wed, Jan 28, 2015 at 1:36 PM, Pau Deluca pau...@alamier.com wrote: No issues experienced with apt-get, nor referred on linuxmint forums, as far as I know :( OK, but you can see that the problem we're faced with now has nothing to do with TiddlyWiki: it's that node.js isn't properly installed. That makes it hopefully a much more common problem to diagnose :) Best wishes Jermey. El miércoles, 28 de enero de 2015, 14:30:05 (UTC+1), Jeremy Ruston escribió: Hi Pau node --version #but still no reply. That seems very weird; if node were not installed one would expect to see an error message. That makes me wonder whether there's an issue with the package manager that you're using; I've no experience with apt-get myself, sadly. Best wishes Jeremy On Wed, Jan 28, 2015 at 1:23 PM, Pau Deluca pau...@alamier.com wrote: Hi there! I intend to make a full translation into spanish of TW5. I've been advised to translate the tiddlers working locally on node.js, after forking and branching Jeremy's TW5 repository. However, TW5 nor node seem to work. (e.g.:, I type tiddlywiki --version and get no reply at all). I would like to ask you help to figure out what could I doing wrong: My SO is LinuxMint 17.1-64. Git is previously installed, user and email duly configured. These are the operations I made, for you to check. 1. Github: Forked https://github.com/jermolene/TiddlyWiki5 as https://github.com/PauDeLuca/TiddlyWiki5 https://github.com/PauDeLuca/TiddlyWiki5 2. Github: Branched master as translES and established translES as default. 3. Console: Created folder /home/pau/GIT 4. cd GIT 5. git clone https://github.com/PauDeLuca/TiddlyWiki5 6. cd TiddlyWiki5/ 7. git checkout -b translES #everything ok so far. 8. sudo apt-get install node #positive response. I thought that node would be installed along with npm, but it's not. I then install npm: 9. sudo apt-get install npm 10. sudo npm install -g tiddlywiki. #I get the following: 11. npm http GET https://registry.npmjs.org/tiddlywiki npm http 304 https://registry.npmjs.org/tiddlywiki /usr/local/bin/tiddlywiki - /usr/local/lib/node_modules/ tiddlywiki/tiddlywiki.js tiddlywiki@5.1.7 /usr/local/lib/node_modules/tiddlywiki #I then check if TW is installed by: 12. tiddlywiki --version #no reply at all. After checking with Jeremy, I type: 13. node --version #but still no reply. My geekness is totally overwhelmed, I fear. I don't know where the error is. Any hint or advise would be well received. In the meanwhile, I'll start translating directly on my local copy of TW5, hoping the pain to join the translated tiddlers to the fork will not be too much. Thank you all. P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to a topic in the Google Groups TiddlyWiki group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/4kjj00MvXD0/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit
[tw] Translating TW5 to spanish: Issues making TW5 work on node.
Hi there! I intend to make a full translation into spanish of TW5. I've been advised to translate the tiddlers working locally on node.js, after forking and branching Jeremy's TW5 repository. However, TW5 nor node seem to work. (e.g.:, I type tiddlywiki --version and get no reply at all). I would like to ask you help to figure out what could I doing wrong: My SO is LinuxMint 17.1-64. Git is previously installed, user and email duly configured. These are the operations I made, for you to check. 1. Github: Forked https://github.com/jermolene/TiddlyWiki5 as https://github.com/PauDeLuca/TiddlyWiki5 2. Github: Branched master as translES and established translES as default. 3. Console: Created folder /home/pau/GIT 4. cd GIT 5. git clone https://github.com/PauDeLuca/TiddlyWiki5 6. cd TiddlyWiki5/ 7. git checkout -b translES #everything ok so far. 8. sudo apt-get install node #positive response. I thought that node would be installed along with npm, but it's not. I then install npm: 9. sudo apt-get install npm 10. sudo npm install -g tiddlywiki. #I get the following: 11. npm http GET https://registry.npmjs.org/tiddlywiki npm http 304 https://registry.npmjs.org/tiddlywiki /usr/local/bin/tiddlywiki - /usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js tiddlywiki@5.1.7 /usr/local/lib/node_modules/tiddlywiki #I then check if TW is installed by: 12. tiddlywiki --version #no reply at all. After checking with Jeremy, I type: 13. node --version #but still no reply. My geekness is totally overwhelmed, I fear. I don't know where the error is. Any hint or advise would be well received. In the meanwhile, I'll start translating directly on my local copy of TW5, hoping the pain to join the translated tiddlers to the fork will not be too much. Thank you all. P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
On Wed, Jan 28, 2015 at 1:36 PM, Pau Deluca pau...@alamier.com wrote: No issues experienced with apt-get, nor referred on linuxmint forums, as far as I know :( OK, but you can see that the problem we're faced with now has nothing to do with TiddlyWiki: it's that node.js isn't properly installed. That makes it hopefully a much more common problem to diagnose :) Best wishes Jermey. El miércoles, 28 de enero de 2015, 14:30:05 (UTC+1), Jeremy Ruston escribió: Hi Pau node --version #but still no reply. That seems very weird; if node were not installed one would expect to see an error message. That makes me wonder whether there's an issue with the package manager that you're using; I've no experience with apt-get myself, sadly. Best wishes Jeremy On Wed, Jan 28, 2015 at 1:23 PM, Pau Deluca pau...@alamier.com wrote: Hi there! I intend to make a full translation into spanish of TW5. I've been advised to translate the tiddlers working locally on node.js, after forking and branching Jeremy's TW5 repository. However, TW5 nor node seem to work. (e.g.:, I type tiddlywiki --version and get no reply at all). I would like to ask you help to figure out what could I doing wrong: My SO is LinuxMint 17.1-64. Git is previously installed, user and email duly configured. These are the operations I made, for you to check. 1. Github: Forked https://github.com/jermolene/TiddlyWiki5 as https://github.com/PauDeLuca/TiddlyWiki5 https://github.com/PauDeLuca/TiddlyWiki5 2. Github: Branched master as translES and established translES as default. 3. Console: Created folder /home/pau/GIT 4. cd GIT 5. git clone https://github.com/PauDeLuca/TiddlyWiki5 6. cd TiddlyWiki5/ 7. git checkout -b translES #everything ok so far. 8. sudo apt-get install node #positive response. I thought that node would be installed along with npm, but it's not. I then install npm: 9. sudo apt-get install npm 10. sudo npm install -g tiddlywiki. #I get the following: 11. npm http GET https://registry.npmjs.org/tiddlywiki npm http 304 https://registry.npmjs.org/tiddlywiki /usr/local/bin/tiddlywiki - /usr/local/lib/node_modules/ tiddlywiki/tiddlywiki.js tiddlywiki@5.1.7 /usr/local/lib/node_modules/tiddlywiki #I then check if TW is installed by: 12. tiddlywiki --version #no reply at all. After checking with Jeremy, I type: 13. node --version #but still no reply. My geekness is totally overwhelmed, I fear. I don't know where the error is. Any hint or advise would be well received. In the meanwhile, I'll start translating directly on my local copy of TW5, hoping the pain to join the translated tiddlers to the fork will not be too much. Thank you all. P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Using Macro Substitution as a filter parameter
I mean that the operator section{$:/temp/findby!!section} should only be applied to the filter if the field value is not Any I'll try to post an example in the next day or so. Alan On Wednesday, January 28, 2015 at 2:43:44 AM UTC-5, Stephan Hradek wrote: Am Mittwoch, 28. Januar 2015 08:42:13 UTC+1 schrieb Stephan Hradek: Could you please post a fully (non-)working example? I have difficulties in understanding what you're trying to do by just looking at an image. I'd prefer to be able to play around a bit with real data and not try to make up test data which I made up on my own and which need not match what you had in mind. I'm especially extremely astonished about this part: [title[$:/tmp/findby]!section[Any]] What do you think should this do? I have no clue what the meaning should be. Especially because there is no such filter like section. P.S. Maybe I know! that part means: Get the tiddler titled $:/tmp/findby but only if it's field section does not contain Any!? -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
Apologies, it wasn't about blame, so much as the size of the pool of people who may be able to help; a problem with installing Node.js is a nice straightforward thing to search for on google for example, Best wishes jeremy On Wed, Jan 28, 2015 at 2:01 PM, Paulus pau...@alamier.com wrote: Not blaming anyone. Just asking in case someone recognises the case and gives a helping hand. I'll work in the browser, on my local copy. P.-) 2015-01-28 14:53 GMT+01:00 Jeremy Ruston jeremy.rus...@gmail.com: On Wed, Jan 28, 2015 at 1:36 PM, Pau Deluca pau...@alamier.com wrote: No issues experienced with apt-get, nor referred on linuxmint forums, as far as I know :( OK, but you can see that the problem we're faced with now has nothing to do with TiddlyWiki: it's that node.js isn't properly installed. That makes it hopefully a much more common problem to diagnose :) Best wishes Jermey. El miércoles, 28 de enero de 2015, 14:30:05 (UTC+1), Jeremy Ruston escribió: Hi Pau node --version #but still no reply. That seems very weird; if node were not installed one would expect to see an error message. That makes me wonder whether there's an issue with the package manager that you're using; I've no experience with apt-get myself, sadly. Best wishes Jeremy On Wed, Jan 28, 2015 at 1:23 PM, Pau Deluca pau...@alamier.com wrote: Hi there! I intend to make a full translation into spanish of TW5. I've been advised to translate the tiddlers working locally on node.js, after forking and branching Jeremy's TW5 repository. However, TW5 nor node seem to work. (e.g.:, I type tiddlywiki --version and get no reply at all). I would like to ask you help to figure out what could I doing wrong: My SO is LinuxMint 17.1-64. Git is previously installed, user and email duly configured. These are the operations I made, for you to check. 1. Github: Forked https://github.com/jermolene/TiddlyWiki5 as https://github.com/PauDeLuca/TiddlyWiki5 https://github.com/PauDeLuca/TiddlyWiki5 2. Github: Branched master as translES and established translES as default. 3. Console: Created folder /home/pau/GIT 4. cd GIT 5. git clone https://github.com/PauDeLuca/TiddlyWiki5 6. cd TiddlyWiki5/ 7. git checkout -b translES #everything ok so far. 8. sudo apt-get install node #positive response. I thought that node would be installed along with npm, but it's not. I then install npm: 9. sudo apt-get install npm 10. sudo npm install -g tiddlywiki. #I get the following: 11. npm http GET https://registry.npmjs.org/tiddlywiki npm http 304 https://registry.npmjs.org/tiddlywiki /usr/local/bin/tiddlywiki - /usr/local/lib/node_modules/ tiddlywiki/tiddlywiki.js tiddlywiki@5.1.7 /usr/local/lib/node_modules/tiddlywiki #I then check if TW is installed by: 12. tiddlywiki --version #no reply at all. After checking with Jeremy, I type: 13. node --version #but still no reply. My geekness is totally overwhelmed, I fear. I don't know where the error is. Any hint or advise would be well received. In the meanwhile, I'll start translating directly on my local copy of TW5, hoping the pain to join the translated tiddlers to the fork will not be too much. Thank you all. P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to a topic in the Google Groups TiddlyWiki group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/4kjj00MvXD0/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to
Re: [tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
Am Mittwoch, 28. Januar 2015 12:49:27 UTC+1 schrieb Jeremy Ruston: Note that script tags are allowed in text/html tiddlers because they are safely sandboxed in an iframe. I'm not sure, whether or not I understand sandboxed correctly. Please go to tiddlywiki.com Set a username Create a New Tiddler Paste this into the tiddler: script type=text/javascript alert(hooray!\n\n + Your username is ' + window.parent.$tw.wiki.getTiddlerText($:/status/UserName) + '\n\n + + And this wiki is called ' + window.parent.$tw.wiki.getTiddlerText($:/SiteTitle)+'); /script Set the type to text/html Finish editing Hooray! -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Editor Prototype Mk II
I know you are looking for feedback, so here goes. Your edit toolbar is cool. Most essential though if anyone is going to use it would be *undo*. I showed it to several non tiddlywiki people and they said abandon wiki markup and go straight to html. The business world does not use wiki markup. Tiddlywiki will always have markup as far as I know, but people who don't use and wont use markup will use this if it is user friendly. I have always wondered why we have an edit window with markup and a preview instead of an editable preview with a toolbar like your's and a separate editable code preview if you wanted to type it in html code or markup. Anyway, I will be following this tread waiting for an *undo* button or Ctrl-z to work. Andrew, thank you for your feedback. I appreciate that you made the effort. I'll assume that you, like me, were unaware of the mouse right click Undo. Would that be sufficient or do you think the toolbar needs an explicit Undo button? Are you aware that you can enter tiddlers in html in the editor? Presumably someone who knows html but is weak in markdown or wikitext could do anything they wanted in html instead. Again, thanks for your feedback -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Using Macro Substitution as a filter parameter
Thanks, Jed, That's a cool example If you know what the filters will be you can use the select widget to set a field to the entire filter string and use a text reference for the filters. Added here: filter from field @ filters http://filters.tiddlyspot.com/#filter%20from%20field. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Configure a default 'new tiddler'
You guys are awesome. Thank you so much... On Tuesday, January 27, 2015 at 9:35:39 AM UTC-5, Bill Denbigh wrote: I would like to create a 'default style' for a new tiddler, when i press the + button i want the tiddler to open with some text already completed, simple stuff like headings and created date and such. I'm sure there is a simple way of doing it but for the life of me i can't find it, can someone please direct me to the correct location to look for the information / keywords to search on / anything... :) Thanks, Bill -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
No issues experienced with apt-get, nor referred on linuxmint forums, as far as I know :( El miércoles, 28 de enero de 2015, 14:30:05 (UTC+1), Jeremy Ruston escribió: Hi Pau node --version #but still no reply. That seems very weird; if node were not installed one would expect to see an error message. That makes me wonder whether there's an issue with the package manager that you're using; I've no experience with apt-get myself, sadly. Best wishes Jeremy On Wed, Jan 28, 2015 at 1:23 PM, Pau Deluca pau...@alamier.com javascript: wrote: Hi there! I intend to make a full translation into spanish of TW5. I've been advised to translate the tiddlers working locally on node.js, after forking and branching Jeremy's TW5 repository. However, TW5 nor node seem to work. (e.g.:, I type tiddlywiki --version and get no reply at all). I would like to ask you help to figure out what could I doing wrong: My SO is LinuxMint 17.1-64. Git is previously installed, user and email duly configured. These are the operations I made, for you to check. 1. Github: Forked https://github.com/jermolene/TiddlyWiki5 as https://github.com/PauDeLuca/TiddlyWiki5 2. Github: Branched master as translES and established translES as default. 3. Console: Created folder /home/pau/GIT 4. cd GIT 5. git clone https://github.com/PauDeLuca/TiddlyWiki5 6. cd TiddlyWiki5/ 7. git checkout -b translES #everything ok so far. 8. sudo apt-get install node #positive response. I thought that node would be installed along with npm, but it's not. I then install npm: 9. sudo apt-get install npm 10. sudo npm install -g tiddlywiki. #I get the following: 11. npm http GET https://registry.npmjs.org/tiddlywiki npm http 304 https://registry.npmjs.org/tiddlywiki /usr/local/bin/tiddlywiki - /usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js tiddlywiki@5.1.7 /usr/local/lib/node_modules/tiddlywiki #I then check if TW is installed by: 12. tiddlywiki --version #no reply at all. After checking with Jeremy, I type: 13. node --version #but still no reply. My geekness is totally overwhelmed, I fear. I don't know where the error is. Any hint or advise would be well received. In the meanwhile, I'll start translating directly on my local copy of TW5, hoping the pain to join the translated tiddlers to the fork will not be too much. Thank you all. P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
Hi Stephan Good catch. It seems to depend on the browser: Firefox seems to allow the cross domain access, but Safari and Chrome do not allow it in my tests. I'll investigate whether adding the sandbox attribute improves things. Best wishes Jeremy. On Wed, Jan 28, 2015 at 1:32 PM, Stephan Hradek stephan.hra...@gmail.com wrote: Am Mittwoch, 28. Januar 2015 12:49:27 UTC+1 schrieb Jeremy Ruston: Note that script tags are allowed in text/html tiddlers because they are safely sandboxed in an iframe. I'm not sure, whether or not I understand sandboxed correctly. Please go to tiddlywiki.com Set a username Create a New Tiddler Paste this into the tiddler: script type=text/javascript alert(hooray!\n\n + Your username is ' + window.parent.$tw.wiki.getTiddlerText($:/status/UserName) + '\n\n + + And this wiki is called ' + window.parent.$tw.wiki.getTiddlerText($:/SiteTitle)+'); /script Set the type to text/html Finish editing Hooray! -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] drop here or click escape to cancel
If that's the case, why does it say click? Surely it should say press? Peter On Monday, November 10, 2014 at 9:52:20 PM UTC, Birthe C wrote: When you drag at tiddler into your wiki, you see the green bar...and until you drop, you can press esc on your keyboard to cancel. Birthe Den mandag den 10. november 2014 22.35.46 UTC+1 skrev dlu...@emich.edu: Every time I import a tiddler, there is a persistent green bar that appears at the top of my browser window that says Drop here (or click escape to cancel). It remains there until I refresh the browser window. And there is nothing to click. What am I supposed to click? -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: [TW5] drop here or click escape to cancel
Hi Peter On Wed, Jan 28, 2015 at 9:10 AM, Peter Miller pmil...@liv.ac.uk wrote: If that's the case, why does it say click? Surely it should say press? Well spotted, I guess that's a typo. I've fixed it for 5.1.8: https://github.com/Jermolene/TiddlyWiki5/commit/ba971a2d2b2e909a37d0434e4b0b804893c4dc77 Best wishes Jeremy. Peter On Monday, November 10, 2014 at 9:52:20 PM UTC, Birthe C wrote: When you drag at tiddler into your wiki, you see the green bar...and until you drop, you can press esc on your keyboard to cancel. Birthe Den mandag den 10. november 2014 22.35.46 UTC+1 skrev dlu...@emich.edu: Every time I import a tiddler, there is a persistent green bar that appears at the top of my browser window that says Drop here (or click escape to cancel). It remains there until I refresh the browser window. And there is nothing to click. What am I supposed to click? -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
I can't see any difference. Where are those new features? Like Me Too Topic or Mark favorite Reply? El miércoles, 28 de enero de 2015, 10:09:55 (UTC+1), Jeremy Ruston escribió: Arc Acorn discovered that Google Groups has several permission settings that I didn't know about. I've now made the following configuration changes to both of these discussion groups: ! Posting Permissions Change Add references from None to All members of group. I've no idea what references are but thought they may be worth exploring Change Post Announcements from None to All members of group. Might be useful (we may want to restrict it to managers, I guess) Change Me Too Topic from None to All members of group. Change Post Rich Text Format from None to All members of group. ! Moderation Permissions Change Edit Own Posts from None to All members of group Change Mark Duplicate from None to All members of group Change Mark Favorite Reply On Any Other User's Topics from None to All members of group Let me know how it goes, Best wishes Jeremy -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Let the creator field be required for every new tiddler
Would it be enought to set this as the first tiddler to display? $reveal state=$:/status/UserName type=match text= Please set your username first. $edit-text tiddler=$:/status/UserName tag=input type=text/ /$reveal $reveal state=$:/status/UserName type=nomatch text= If {{$:/status/UserName}} is not your name, please change it here $edit-text tiddler=$:/status/UserName tag=input type=text/ /$reveal -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
Go to tiddlywiki.com Create a New Tiddler Paste this into the tiddler: script type=text/javascript alert(Hooray); /script Set the type to text/html Finish editing Hooray! -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Configure a default 'new tiddler'
Thanks, Jed, Added here... Create Tiddler From Template @ tb5 http://tb5.tiddlyspot.com/#Create%20Tiddler%20From%20Template Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Some theme changes
Hi Shash I could achieve what I really wanted but the problem now is Seamless theme doesn't seem to work. Can you show us what's going wrong? Best wishes Jeremy Is there any way to get the seamless theme into my style sheet and get it to work. The only thing i want to remove is the box around the tiddler. Any help is really appreciated. Thanks! Shash -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] New Google Group Settings
Arc Acorn discovered that Google Groups has several permission settings that I didn't know about. I've now made the following configuration changes to both of these discussion groups: ! Posting Permissions Change Add references from None to All members of group. I've no idea what references are but thought they may be worth exploring Change Post Announcements from None to All members of group. Might be useful (we may want to restrict it to managers, I guess) Change Me Too Topic from None to All members of group. Change Post Rich Text Format from None to All members of group. ! Moderation Permissions Change Edit Own Posts from None to All members of group Change Mark Duplicate from None to All members of group Change Mark Favorite Reply On Any Other User's Topics from None to All members of group Let me know how it goes, Best wishes Jeremy -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Editor Prototype Mk II
Hi Stephen I like your buttons. You do not have too many, I would not miss any of them. They are clear and understandable. I use Windows 7 and Firefox 35.01. I tried your demo yesterday and it worked, but I found that some of the changes I had made was gone when I saved the tiddler. It was as if I had to apply the same changes twice. After several tries I came to the conclusion that it was mostly the last change that disappeared. Making one change more (That I did not need or wanted solved that problem) I just tried your last incarnation and those problems are gone. I do not miss an undo button. Mouse is not far away and right mouse button undo removes the last change I made. The table helper for excel is pure gold ;-) When I first tried your demo I found that it really worked the best having the preview window open. The version today works very well without. I have 2 friends I have been trying to get to use TW. They were both here when I tested, so I asked them to try your demo. They are not skilled computer users but both said, that they would definitely give TW another go with this. I hope more people will try it out primarily people with other OS and browser. Birthe -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
me too. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Can I have ribbon on a specific tiddler?
Yes, you could create a Conditional ViewTemplate Section http://tb5.tiddlyspot.com/#Conditional%20ViewTemplate%20Section. Set a field *ribbon* for every tiddler you want to show it. Then create a conditional template checking for it, e.g. $list filter=[all[current]has[ribbon]] div class=ribbon {{!!ribbon}} /div /$list Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
Hi Danielo On Wed, Jan 28, 2015 at 9:24 AM, Danielo Rodríguez rdani...@gmail.com wrote: I can't see any difference. Where are those new features? Like Me Too Topic or Mark favorite Reply? I'm not the expert on Google Groups, I'm afraid, but I guess these things are documented in the Google Groups help. For me at least I'm seeing an edit option for my own posts. Best wishes Jeremy El miércoles, 28 de enero de 2015, 10:09:55 (UTC+1), Jeremy Ruston escribió: Arc Acorn discovered that Google Groups has several permission settings that I didn't know about. I've now made the following configuration changes to both of these discussion groups: ! Posting Permissions Change Add references from None to All members of group. I've no idea what references are but thought they may be worth exploring Change Post Announcements from None to All members of group. Might be useful (we may want to restrict it to managers, I guess) Change Me Too Topic from None to All members of group. Change Post Rich Text Format from None to All members of group. ! Moderation Permissions Change Edit Own Posts from None to All members of group Change Mark Duplicate from None to All members of group Change Mark Favorite Reply On Any Other User's Topics from None to All members of group Let me know how it goes, Best wishes Jeremy -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Combining numbered and bullet lists breaks the numbering
Perhaps this should be mentioned in the documentation. It is, the very last section in... Lists in WikiText http://tiddlywiki.com/#Lists%20in%20WikiText Perhaps those long tiddlers need a little splicing up. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Using Macro Substitution as a filter parameter
That works well for one variable. The problem is that I have two: section and sourcedoc so I need to try to get concatenation working. Alan On Wednesday, January 28, 2015 at 9:02:17 AM UTC-5, Tobias Beer wrote: Thanks, Jed, That's a cool example If you know what the filters will be you can use the select widget to set a field to the entire filter string and use a text reference for the filters. Added here: filter from field @ filters http://filters.tiddlyspot.com/#filter%20from%20field. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
El miércoles, 28 de enero de 2015, 14:07:47 (UTC+1), Jeremy Ruston escribió: Hi Danielo Hello Jeremy, glad to see you here again. If a folder within a wiki folder contains a tiddlywiki.files file, then TW just processes the specified files, and doesn't scan the folder or it's subfolders. I deducted this from the code comments. Anyway, I have folders where NO tiddlywiki.files is present and it is not importing the images or the plain text files. Can you share the relevant wiki folders? I don't understand this request. Is any normal wiki folder with text files and images inside it (as an example, I expect .js and css files to be imported too) Regards. Best wishes Jeremy. On Tue, Jan 27, 2015 at 9:27 PM, Danielo Rodríguez rdan...@gmail.com javascript: wrote: I sould like to hear something from the core-gurus. Thank you all. El martes, 27 de enero de 2015, 15:52:09 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile calls deserializeTiddlers passing the extension as type. And the deserializeTiddlers function imports the file even if the extension is not recognized, treating it as a plain text file, so every file should be imported. Then, why it is not importing all the files inside the tiddlers file, or even better, all the tiddlers specify on the defualt-tiddlers-location option? El martes, 27 de enero de 2015, 15:43:14 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile seems to rely on the registered extensions to load a tiddler. Based on this information, I think at least mp3,pnj,jpg, and basically all file types that TW can understand should be correctly included as tiddlers. But this is not happening, and I don't understand why. Dioes anyone have any clue? El martes, 27 de enero de 2015, 15:15:33 (UTC+1), Danielo Rodríguez escribió: Meta files can be also used, which are easier to build, but they did not accept relative notation, so we are facing a similar problem. I found that in the core there is a map on file types based on its extension: https://github.com/Jermolene/TiddlyWiki5/blob/ 7abe9aa53d9b1ec19e2afe1c5ace1c7633b0d5ce/boot/boot.js#L1748 But it does not see to work when scanning folders. Maybe a boot module for that is enough, but I would like to see any example. Is there any part of the core that does something similar? Where is the code that scans the tiddlers folder recursively? El martes, 27 de enero de 2015, 15:03:17 (UTC+1), Felix Küppers escribió: Good point. There are many node js projects that deal with glob notations. Maybe it is possible to use a node module for this purpose. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: [TW5] Strange duplicate display of tiddlywiki in browser window
Hi Peter Good idea. I've added a note in GettingStarted for 5.1.8: https://github.com/Jermolene/TiddlyWiki5/commit/2db6cbed2d1f81483251c49c75721f066cfd6a29 Best wishes Jeremy. On Wed, Jan 28, 2015 at 5:05 PM, pMotz peter.mottis...@gmail.com wrote: My guess is that a number of new users will encounter this problem, so it would be worth addressing. A comment in the GettingStarted tiddler is probably sufficient. Something like If the TiddlyWiki you downloaded does not behave as expected make sure you clicked the green download button and *did not* use the browser save page function. Best wishes, Peter. On Wednesday, 28 January 2015 16:36:33 UTC, Jeremy Ruston wrote: On Sat, Jan 24, 2015 at 9:29 PM, PMario pmar...@gmail.com wrote: This TW is definitely broken. An empty.html file is at least 1.2 MByte in size. You file is smaller, so you may have downloaded it with File: Save as dialog, which doesn't work. Click the big green button download empty or download full and try again. -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. This is an interesting problem that has cropped up since the early days of TW Classic. In all browsers but Firefox, the File/Save menu option saves a snapshot of the HTML file that was loaded from the server. Firefox, no doubt with good intentions, doesn't do that: it saves a snapshot of the current state of the DOM. In the case of TiddlyWiki, that means that the DOM elements that have been generated by JavaScript are also saved, leading to the double sidebar that you saw. Back in TW Classic we engineered a specific warning message that appeared when re-opening a TW file that had been saved with File/Save on Firefox. I'm not sure if it's worth doing that for TW5. I mean, the basic problem is that File/Save isn't how one saves changes in TiddlyWiki. Best wishes Jeremy. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: [TW5] Strange duplicate display of tiddlywiki in browser window
My guess is that a number of new users will encounter this problem, so it would be worth addressing. A comment in the GettingStarted tiddler is probably sufficient. Something like If the TiddlyWiki you downloaded does not behave as expected make sure you clicked the green download button and *did not* use the browser save page function. Best wishes, Peter. On Wednesday, 28 January 2015 16:36:33 UTC, Jeremy Ruston wrote: On Sat, Jan 24, 2015 at 9:29 PM, PMario pmar...@gmail.com javascript: wrote: This TW is definitely broken. An empty.html file is at least 1.2 MByte in size. You file is smaller, so you may have downloaded it with File: Save as dialog, which doesn't work. Click the big green button download empty or download full and try again. -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. This is an interesting problem that has cropped up since the early days of TW Classic. In all browsers but Firefox, the File/Save menu option saves a snapshot of the HTML file that was loaded from the server. Firefox, no doubt with good intentions, doesn't do that: it saves a snapshot of the current state of the DOM. In the case of TiddlyWiki, that means that the DOM elements that have been generated by JavaScript are also saved, leading to the double sidebar that you saw. Back in TW Classic we engineered a specific warning message that appeared when re-opening a TW file that had been saved with File/Save on Firefox. I'm not sure if it's worth doing that for TW5. I mean, the basic problem is that File/Save isn't how one saves changes in TiddlyWiki. Best wishes Jeremy. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
Tiddlers without a title are rejected here, deep in wiki.addTiddler: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L855 OK, as I supposed. Thank you very much for confirming it. I think the logical place to handle this is within loadTiddlersFromFile. I succesfuly edited the boot to achieve this this way if(ext !== .json tiddlers.length === 1 ) { metadata = fs.existsSync(metafile) ? fs.readFileSync(metafile,utf8) : undefined ; if(metadata) { tiddlers = [$tw.utils.parseFields(metadata,tiddlers[0])]; } else if( !tiddlers[0].title ){ console.log(Tiddler without title: ,JSON.stringify(tiddlers), filepath ); tiddlers[0].title = filepath.replace(/(.*[\/\\])+/,); } } But this does not seems to apply for the files that are located at unnoficial folders such as those specified by default-tiddlers-location neither for files located at other wikis that you import via importWikis. Are those files managed in a different way? -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
Hi Danielo default-tiddlers-location is currently only used for writing newly created tiddlers; tiddlers aren't automatically read from it during startup. Wikis imported via importWikis should get your modified title handling though, are you sure that they are not? Best wishes Jeremy On Wed, Jan 28, 2015 at 9:00 PM, Danielo Rodríguez rdani...@gmail.com wrote: Tiddlers without a title are rejected here, deep in wiki.addTiddler: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L855 OK, as I supposed. Thank you very much for confirming it. I think the logical place to handle this is within loadTiddlersFromFile. I succesfuly edited the boot to achieve this this way if(ext !== .json tiddlers.length === 1 ) { metadata = fs.existsSync(metafile) ? fs.readFileSync(metafile,utf8) : undefined ; if(metadata) { tiddlers = [$tw.utils.parseFields(metadata,tiddlers[0])]; } else if( !tiddlers[0].title ){ console.log(Tiddler without title: ,JSON.stringify(tiddlers), filepath ); tiddlers[0].title = filepath.replace(/(.*[\/\\])+/,); } } But this does not seems to apply for the files that are located at unnoficial folders such as those specified by default-tiddlers-location neither for files located at other wikis that you import via importWikis. Are those files managed in a different way? -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
Hi Stephan, Go to tiddlywiki.com Create a New Tiddler Paste this into the tiddler: script type=text/javascript alert(Hooray); /script Set the type to text/html Yes, that will do things in an encapsulaed iframe, but not in the context of TiddlyWiki. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Editor Prototype Mk II
I agree with Mario SVG is excellent for TiddlyWiki buttons and it makes your icons usable across platforms(phones, tablets, traditional computers). I have just started with SVG and found Tobias added the Google SVG editor to his TidlyWiki as a Tiddler http://tb5.tiddlyspot.com/#SVG-Edit, very awesome and convenient. If I had more experience making SVG's I would take a stab at the Icons but alas I am too much of an SVG NOOB. Thank you very much for creating this Toolbar as I think it makes it faster and easier for someone just starting out. I also really like the Editor TAB in the Preview Window to give you help on things you might not know how to do. So even if you are experienced with the [[Tiddlers]] and *Bullet Points you can still get help when needed for things you might not use a lot. Totally unrelated I find myself using the Community Search https://rawgit.com/erwanm/tw-aggregator/master/tw-community-search.html a lot these days and it has been very helpful. Rich Shumaker -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Using Macro Substitution as a filter parameter
Looks like a good place to use a javascript macro... That may indeed be a viable way to achieve this... *#1427 allow text-references and variables anywhere in a filter expression* https://github.com/Jermolene/TiddlyWiki5/issues/1427 @Jeremy, (how) can a js macro acces a variable number of parameters? Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
Change Mark Duplicate from None to All members of group Only group managers should be able to do this. I'd suggest we see how it goes first and if it's not working out or never used (properly) it can be disabled again. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
Good stuff! - but I am not seeing an Edit button in the dev forum. On Wednesday, January 28, 2015 at 3:09:51 AM UTC-6, Jeremy Ruston wrote: Arc Acorn discovered that Google Groups has several permission settings that I didn't know about. I've now made the following configuration changes to both of these discussion groups: ! Posting Permissions Change Add references from None to All members of group. I've no idea what references are but thought they may be worth exploring Change Post Announcements from None to All members of group. Might be useful (we may want to restrict it to managers, I guess) Change Me Too Topic from None to All members of group. Change Post Rich Text Format from None to All members of group. ! Moderation Permissions Change Edit Own Posts from None to All members of group Change Mark Duplicate from None to All members of group Change Mark Favorite Reply On Any Other User's Topics from None to All members of group Let me know how it goes, Best wishes Jeremy -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Let the creator field be required for every new tiddler
Thanks for the reminder, Danielo... On tiddlydrive I put this on the sidebar and I make the subtitle of the wiki to tell you the username you are using. In case no username is set then you can read you are witting as anonymous in red. Again, also... Added here: Review UserName On Startup @ tb5 http://tb5.tiddlyspot.com/#Review%20UserName%20On%20Startup Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
It's not hard to find. If you search the source tree for script (including quotes) you'll see this in *config.js*... Thanks for the pointers. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
Ok, now it is working for me. Maybe it took some time. El miércoles, 28 de enero de 2015, 15:15:07 (UTC+1), Tobias Beer escribió: Excellent! The times of complaining about google groups have come to an end. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Let the creator field be required for every new tiddler
On tiddlydrive I put this on the sidebar and I make the subtitle of the wiki to tell you the username you are using. In case no username is set then you can read you are witting as anonymous in red. El miércoles, 28 de enero de 2015, 15:13:44 (UTC+1), Tobias Beer escribió: Hi Stephan, While it won't help with editing conflcts, that sounds like a good practice. Added here: Review UserName On Startup @ tb5 http://tb5.tiddlyspot.com/#Review%20UserName%20On%20Startup While instructional, I don't see a need for any reveals, though. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: [TW5] Icon menus demo
Hi Jed Great stuff, looks good, particularly the custom control panel tabs, I'm impressed with your attention to detail, Best wishes Jeremy. On Mon, Jan 26, 2015 at 3:33 PM, Birthe C strikkeglad...@googlemail.com wrote: Hi Jed, Waw, and most things easy to change according to user preference. I really like the Right Menu Pop Out on Hover Style - or maybe not the green so much, but easy to change ;-) I did not find a way to use SideBar. I did try the button Toggle Old Sidebar from the menus, but it is covered by the leftmenu icons. Birthe -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
Hi Danielo I deducted this from the code comments. Anyway, I have folders where NO tiddlywiki.files is present and it is not importing the images or the plain text files. In both those cases you'll need a filename.meta file to give the created tiddler an explicit title. Best wishes Jeremy. Can you share the relevant wiki folders? I don't understand this request. Is any normal wiki folder with text files and images inside it (as an example, I expect .js and css files to be imported too) Regards. Best wishes Jeremy. On Tue, Jan 27, 2015 at 9:27 PM, Danielo Rodríguez rdan...@gmail.com wrote: I sould like to hear something from the core-gurus. Thank you all. El martes, 27 de enero de 2015, 15:52:09 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile calls deserializeTiddlers passing the extension as type. And the deserializeTiddlers function imports the file even if the extension is not recognized, treating it as a plain text file, so every file should be imported. Then, why it is not importing all the files inside the tiddlers file, or even better, all the tiddlers specify on the defualt-tiddlers-location option? El martes, 27 de enero de 2015, 15:43:14 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile seems to rely on the registered extensions to load a tiddler. Based on this information, I think at least mp3,pnj,jpg, and basically all file types that TW can understand should be correctly included as tiddlers. But this is not happening, and I don't understand why. Dioes anyone have any clue? El martes, 27 de enero de 2015, 15:15:33 (UTC+1), Danielo Rodríguez escribió: Meta files can be also used, which are easier to build, but they did not accept relative notation, so we are facing a similar problem. I found that in the core there is a map on file types based on its extension: https://github.com/Jermolene/TiddlyWiki5/blob/7abe9aa53d9b1e c19e2afe1c5ace1c7633b0d5ce/boot/boot.js#L1748 But it does not see to work when scanning folders. Maybe a boot module for that is enough, but I would like to see any example. Is there any part of the core that does something similar? Where is the code that scans the tiddlers folder recursively? El martes, 27 de enero de 2015, 15:03:17 (UTC+1), Felix Küppers escribió: Good point. There are many node js projects that deal with glob notations. Maybe it is possible to use a node module for this purpose. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
In both those cases you'll need a filename.meta file to give the created tiddler an explicit title. Both? Do you mean for both types of files right? In which part of the boot.js code is this stated? There is no option to take the file-name as tiddler name by default? We have everything that we need right now: default type and parser for many file types, why don't implement this? Can be this created as a startup module? Best wishes Jeremy. Can you share the relevant wiki folders? I don't understand this request. Is any normal wiki folder with text files and images inside it (as an example, I expect .js and css files to be imported too) Regards. Best wishes Jeremy. On Tue, Jan 27, 2015 at 9:27 PM, Danielo Rodríguez rdan...@gmail.com wrote: I sould like to hear something from the core-gurus. Thank you all. El martes, 27 de enero de 2015, 15:52:09 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile calls deserializeTiddlers passing the extension as type. And the deserializeTiddlers function imports the file even if the extension is not recognized, treating it as a plain text file, so every file should be imported. Then, why it is not importing all the files inside the tiddlers file, or even better, all the tiddlers specify on the defualt-tiddlers-location option? El martes, 27 de enero de 2015, 15:43:14 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile seems to rely on the registered extensions to load a tiddler. Based on this information, I think at least mp3,pnj,jpg, and basically all file types that TW can understand should be correctly included as tiddlers. But this is not happening, and I don't understand why. Dioes anyone have any clue? El martes, 27 de enero de 2015, 15:15:33 (UTC+1), Danielo Rodríguez escribió: Meta files can be also used, which are easier to build, but they did not accept relative notation, so we are facing a similar problem. I found that in the core there is a map on file types based on its extension: https://github.com/Jermolene/TiddlyWiki5/blob/7abe9aa53d9b1e c19e2afe1c5ace1c7633b0d5ce/boot/boot.js#L1748 But it does not see to work when scanning folders. Maybe a boot module for that is enough, but I would like to see any example. Is there any part of the core that does something similar? Where is the code that scans the tiddlers folder recursively? El martes, 27 de enero de 2015, 15:03:17 (UTC+1), Felix Küppers escribió: Good point. There are many node js projects that deal with glob notations. Maybe it is possible to use a node module for this purpose. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
Hi Danielo Both? Do you mean for both types of files right? Yes, that's right. You might have: myimage.jpg myimage.jpg.meta mytextfile.txt mytextfile.txt.meta In which part of the boot.js code is this stated? You can see in loadTiddlersFromFile the code that loads a meta file if present: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L1387 If the title isn't specified then it doesn't currently reuse the filename as the title. It could be made to do so but has some subtleties: a single file can yield multiple tiddlers (think TW HTML files, and .json and .multids) There is no option to take the file-name as tiddler name by default? We have everything that we need right now: default type and parser for many file types, why don't implement this? Can be this created as a startup module? It would be a question of changing boot.js. I agree that it would be useful. Best wishes Jeremy Best wishes Jeremy. Can you share the relevant wiki folders? I don't understand this request. Is any normal wiki folder with text files and images inside it (as an example, I expect .js and css files to be imported too) Regards. Best wishes Jeremy. On Tue, Jan 27, 2015 at 9:27 PM, Danielo Rodríguez rdan...@gmail.com wrote: I sould like to hear something from the core-gurus. Thank you all. El martes, 27 de enero de 2015, 15:52:09 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile calls deserializeTiddlers passing the extension as type. And the deserializeTiddlers function imports the file even if the extension is not recognized, treating it as a plain text file, so every file should be imported. Then, why it is not importing all the files inside the tiddlers file, or even better, all the tiddlers specify on the defualt-tiddlers-location option? El martes, 27 de enero de 2015, 15:43:14 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile seems to rely on the registered extensions to load a tiddler. Based on this information, I think at least mp3,pnj,jpg, and basically all file types that TW can understand should be correctly included as tiddlers. But this is not happening, and I don't understand why. Dioes anyone have any clue? El martes, 27 de enero de 2015, 15:15:33 (UTC+1), Danielo Rodríguez escribió: Meta files can be also used, which are easier to build, but they did not accept relative notation, so we are facing a similar problem. I found that in the core there is a map on file types based on its extension: https://github.com/Jermolene/TiddlyWiki5/blob/7abe9aa53d9b1e c19e2afe1c5ace1c7633b0d5ce/boot/boot.js#L1748 But it does not see to work when scanning folders. Maybe a boot module for that is enough, but I would like to see any example. Is there any part of the core that does something similar? Where is the code that scans the tiddlers folder recursively? El martes, 27 de enero de 2015, 15:03:17 (UTC+1), Felix Küppers escribió: Good point. There are many node js projects that deal with glob notations. Maybe it is possible to use a node module for this purpose. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: [TW5] node.js tiddlywiki over ssl possible
Hi Captain Packers The TW5 source doesn't currently support acting as an SSL server. As Daniel says, the expectation is that in production people would want to terminate their SSL connection with something more standard than TiddlyWiki. Best wishes Jeremy On Sun, Jan 25, 2015 at 12:53 PM, Daniel Baird danielba...@gmail.com wrote: You can do SSL directly from a node server -- I don't know if Jeremy has actually done it with the TW server, but it's not especially difficult. However it's often a good idea to do SSL through a well-used and mature proxy like nginx or apache. Then your attack service is a bit narrower (well not exactly narrower.. just more battle-tested). Cheers ;Daniel On 23 January 2015 at 08:25, Captain Packers drdl...@gmail.com wrote: So I need to set up a proxy server? On Thursday, January 22, 2015 at 11:58:00 AM UTC-5, PMario wrote: TW doesn't need MySQL + PHP + Perl So you basically would have enough with an xa Apache environment and apache set up as a proxy. Do you want to expose your node tw to the web? -mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Daniel Baird objoke: I had a problem and decided to solve it with threading. Now, have problems. two I -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Theme tweaks for TableOfContentsMacro
On Tuesday, January 27, 2015 at 12:00:36 PM UTC-7, Shash wrote: Hi all, I am trying to use the Tabbed version of TableOfContentsMacro. I wish to change the background of the tabs.. Is there a easy way to achieve this with stylesheets. Thanks! Shash I have looked at this a little and didn't see an obvious solution, I will hopefully have time to look again soon. The macros are defined in the tiddler $:/core/macros/toc if you want to try looking at modifying them -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: New Google Group Settings
On Wednesday, January 28, 2015 at 10:09:51 AM UTC+1, Jeremy Ruston wrote: ! Moderation Permissions Change Edit Own Posts from None to All members of group IMO ok. Change Mark Duplicate from None to All members of group Only group managers should be able to do this. Every post has a mark as complete now. IMO only the OP author, managers should be able to set this option -mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Editor Prototype Mk II
The disappearing formatting seems to be fixed. The last 3 icons seem to be fine now. The icons should be SVGs. The PNGs don't scale well with a browser zooming factor. If you convert h2heading /h2 imo it should be !! heading 2 ... see the space. It has much better readability in edit mode. There are some problems with activate formatting and selected text. ... I think I'll create a video for those, since they are complicated to explain in text only. have fun! mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
El miércoles, 28 de enero de 2015, 22:51:04 (UTC+1), Jeremy Ruston escribió: Hi Danielo Hello Jeremy, Wikis imported via importWikis should get your modified title handling though, are you sure that they are not? Yes they are. This is a small mix of confusing things from my side. For some reason I lived in a reality where tiddlers created under default tiddlers location were loaded at boot. Also I got a tiddlywiki.files file on the wiki I was importing. Now I removed that file it is importing the files at the tiddlers sub-folder of the wiki being imported . It is behaving as expected. The big confusion for me, as I said, is that I was expecting tiddlers at default tiddlers location to be loaded also. default-tiddlers-location is currently only used for writing newly created tiddlers; tiddlers aren't automatically read from it during startup. What is the added value of this feature then? You create tiddlers that are displayed until you reboot the server. This is confusing (for me it was!! it took a complete read of filesystem.js to understood). I have plans to use TW as a centralized index for certain folders. This is accomplished with a small TW subfolder on the folder that I want to include on the index. Something like git does. There are two ways to do this: - something like git, where you have to build the index again when you add new files, - With tiddlywiki automatically scaning the folder pointed by default-tiddlers-location The structure is like this Folder with files |_Regular files |_Regular files |_TW folder |_ tiddlywiki.info |_shell.script to build tiddlywiki.files. It points to its parent directory |_ tiddlers/tiddlywiki.files Then when you add new files, you just run the shell.script to build again the tiddlywiki.files file. Similar to git add. This have the advantage that you can define sets of rules on which tags add, pre and post sections and so on based on extension, but it depends on you building the index. I is soo close right now to the automatically load process directly from TW5 that is frustrating to not reach that objective. Could you point me in the good way of doing this? Maybe editing the loadtiddler function from filesystemadaptor ? Regards -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] [TW5] Action Increment widget
I have cleaned up my action-increment widget and added some documentation http://inmysocks.tiddlyspot.com/#ActionIncrementWidget the widget itself is $:/plugins/inmysocks/MathyThing/action-increment.js I have been considering submitting a pull request but I am not sure if it would be generally useful enough to warrant it. So I wanted to get peoples opinions before I do. Also if anyone wants to try breaking it or find bugs I missed that would be good too. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Looking for a few good TW5'rs!
Hi all, I should have posted this over a week ago but we did move this conversation to the Dev group in case anyone here is interested and not aware of that. We do plan to have a hangout tomorrow morning which I will try to record and Friday is the registration day so its still not too late! Please join us in that other thread and regardless if you go through this training, make the meetings, or not, know that your support, help, and the work you have already done in all this is so greatly appreciated and will be recognized. So many excellent people and outstanding works here in this community! Thanks, On Friday, January 16, 2015 at 3:13:56 PM UTC-7, Ed Dixon wrote: I am wide open so what ever time works best for our group here as we come together (anytime) works for me. Since the registration for the event is a webex on the 30th I figure we can work out those details as that approaches and hopefully have our first meeting after that orientation. But just shooting from the hip here at this point? On Fri Jan 16 2015 at 3:06:32 PM RichShumaker richshuma...@gmail.com wrote: Very Cool Stuff. I would like to help if I can so I guess the question is when are you getting together? Rich Shumaker -- You received this message because you are subscribed to a topic in the Google Groups TiddlyWiki group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/tiddlywiki/OPHbcxm_75g/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] issue running in ubuntu 14.04
ok this is driving me nuts after unpacking the zip i tried to run the nw and nothing. So i ran it from the terminal and it gave me a libudev0 error so i created a symbolic link from libudev0 to libudev1 cause libudev0 is gone in ubuntu 14.04 and then i got it to launch so i moved it to my home folder and then it wouldn't launch again so i did the terminal launch again and it gave me a error with somthing like a suid sandbox thing that i couldn't solve. I really like the empty verison and want to try out the desktop and just cant get it running? -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: issue running in ubuntu 14.04
Even tried the 2nd and 3rd releases after that and they had an error w/ NVCtrl?? -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
I'm thinking that this maybe worth a plugin. From within tiddlywiki, and only in the node versions (node.js and node-webkit). At the control pannel, for example, you select the folders you wan to include, and the plugin will scan them recursively (just the newly added folders, and the older ones on demand). Then the plugin will add the scanned files to the tiddlywiki.files file in the same directory than the wiki is. This is self-contained within tiddlywiki and does not pollute the scanned folders. The only problem here is the routes: is there any way to make the routes linux and windows compatible? I know that it is possible with relative routes, but what about absolute ones? Sounds this feasible? Regards. El miércoles, 28 de enero de 2015, 23:18:17 (UTC+1), Danielo Rodríguez escribió: El miércoles, 28 de enero de 2015, 22:51:04 (UTC+1), Jeremy Ruston escribió: Hi Danielo Hello Jeremy, Wikis imported via importWikis should get your modified title handling though, are you sure that they are not? Yes they are. This is a small mix of confusing things from my side. For some reason I lived in a reality where tiddlers created under default tiddlers location were loaded at boot. Also I got a tiddlywiki.files file on the wiki I was importing. Now I removed that file it is importing the files at the tiddlers sub-folder of the wiki being imported . It is behaving as expected. The big confusion for me, as I said, is that I was expecting tiddlers at default tiddlers location to be loaded also. default-tiddlers-location is currently only used for writing newly created tiddlers; tiddlers aren't automatically read from it during startup. What is the added value of this feature then? You create tiddlers that are displayed until you reboot the server. This is confusing (for me it was!! it took a complete read of filesystem.js to understood). I have plans to use TW as a centralized index for certain folders. This is accomplished with a small TW subfolder on the folder that I want to include on the index. Something like git does. There are two ways to do this: - something like git, where you have to build the index again when you add new files, - With tiddlywiki automatically scaning the folder pointed by default-tiddlers-location The structure is like this Folder with files |_Regular files |_Regular files |_TW folder |_ tiddlywiki.info |_shell.script to build tiddlywiki.files. It points to its parent directory |_ tiddlers/tiddlywiki.files Then when you add new files, you just run the shell.script to build again the tiddlywiki.files file. Similar to git add. This have the advantage that you can define sets of rules on which tags add, pre and post sections and so on based on extension, but it depends on you building the index. I is soo close right now to the automatically load process directly from TW5 that is frustrating to not reach that objective. Could you point me in the good way of doing this? Maybe editing the loadtiddler function from filesystemadaptor ? Regards -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
Please look further down the thread. The encapsulated javascript can access window.parent.$tw and its children. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Theme tweaks for TableOfContentsMacro
Hi Shash You could try something like this. In a stylesheet tiddler: .my-table-of-contents .tc-table-of-contents { background: red; } .my-table-of-contents .tc-tabbed-table-of-contents .tc-table-of-contents .toc-item a { border-color: green; } Then wrap the toc with a DIV like this: div class=my-table-of-contents $macrocall $name=toc-tabbed-internal-nav tag=TableOfContents selectedTiddler=$:/temp/toc/selectedTiddler unselectedText=pSelect a topic in the table of contents. Click the arrow to expand a topic./p missingText=pMissing tiddler./p/ /div Best wishes Jeremy. On Wed, Jan 28, 2015 at 4:03 PM, Jed Carty inmyso...@gmail.com wrote: On Tuesday, January 27, 2015 at 12:00:36 PM UTC-7, Shash wrote: Hi all, I am trying to use the Tabbed version of TableOfContentsMacro. I wish to change the background of the tabs.. Is there a easy way to achieve this with stylesheets. Thanks! Shash I have looked at this a little and didn't see an obvious solution, I will hopefully have time to look again soon. The macros are defined in the tiddler $:/core/macros/toc if you want to try looking at modifying them -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
Hi Pau, From tiddlywiki --version #no reply at all. I'd say /usr/local/bin is not in your PATH (eventhough I would have expected at least a response from you shell complaining that it can't find the command). What about: export PATH=/usr/local/bin:$PATH tiddlywiki --version Xavier Cazin. -- Xavier Cazin On Wed, Jan 28, 2015 at 4:38 PM, Danielo Rodríguez rdani...@gmail.com wrote: Hello paul did you tried locate node? try with locate node -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
TiddlyWiki is designed to block JavaScript in wiki text content to make sure that it is safe to share wiki text content. It's necessary so that we can explore multi-user server configurations and federation. If the act of viewing content authored by someone else causes executable JS code to run then it becomes possible for a malicious actor to, for example, craft a message that actually contains code to steal or delete your personal information. So, in TW5, there is a strict distinction between wiki text tiddlers (text/vnd.tiddlywiki) and JavaScript module tiddlers (type text/javascript, and with a module-type field). That allows us to filter content from other sources to ensure that we don't allow executable code. Obviously, these aren't concerns for many users who are working privately. We can serve their needs with a plugin that explicitly enables inline JavaScript, but it's not something that will ever be supported directly by the core. Best wishes Jeremy. On Wed, Jan 28, 2015 at 4:15 PM, Jimmy Armand jimmy.arma...@gmail.com wrote: Yeah but I think that this method is not really nice since I want to put the javascript in a tiddler (text/vnd.tiddlywiki) On Wednesday, 28 January 2015 06:44:47 UTC-5, Stephan Hradek wrote: Go to tiddlywiki.com Create a New Tiddler Paste this into the tiddler: script type=text/javascript alert(Hooray); /script Set the type to text/html Finish editing Hooray! -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: [TW5] Strange duplicate display of tiddlywiki in browser window
On Sat, Jan 24, 2015 at 9:29 PM, PMario pmari...@gmail.com wrote: This TW is definitely broken. An empty.html file is at least 1.2 MByte in size. You file is smaller, so you may have downloaded it with File: Save as dialog, which doesn't work. Click the big green button download empty or download full and try again. -m -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. This is an interesting problem that has cropped up since the early days of TW Classic. In all browsers but Firefox, the File/Save menu option saves a snapshot of the HTML file that was loaded from the server. Firefox, no doubt with good intentions, doesn't do that: it saves a snapshot of the current state of the DOM. In the case of TiddlyWiki, that means that the DOM elements that have been generated by JavaScript are also saved, leading to the double sidebar that you saw. Back in TW Classic we engineered a specific warning message that appeared when re-opening a TW file that had been saved with File/Save on Firefox. I'm not sure if it's worth doing that for TW5. I mean, the basic problem is that File/Save isn't how one saves changes in TiddlyWiki. Best wishes Jeremy. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
In which part of the boot.js code is this stated? You can see in loadTiddlersFromFile the code that loads a meta file if present: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L1387 If the title isn't specified then it doesn't currently reuse the filename as the title. It could be made to do so but has some subtleties: a single file can yield multiple tiddlers (think TW HTML files, and .json and .multids) I thin this is handled on this line: (https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L1396) if(ext !== .json tiddlers.length === 1 fs.existsSync(metafile)) { Also I think that the deserializeTiddlers function takes care of searching tiddlers inside a particular file . Isn't it? It goes through all the known parsers (so json and HTML files will be correctly parsed ). What is the problem then? There is no option to take the file-name as tiddler name by default? We have everything that we need right now: default type and parser for many file types, why don't implement this? Can be this created as a startup module? It would be a question of changing boot.js. I agree that it would be useful. Best wishes Jeremy Best wishes Jeremy. Can you share the relevant wiki folders? I don't understand this request. Is any normal wiki folder with text files and images inside it (as an example, I expect .js and css files to be imported too) Regards. Best wishes Jeremy. On Tue, Jan 27, 2015 at 9:27 PM, Danielo Rodríguez rdan...@gmail.com wrote: I sould like to hear something from the core-gurus. Thank you all. El martes, 27 de enero de 2015, 15:52:09 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile calls deserializeTiddlers passing the extension as type. And the deserializeTiddlers function imports the file even if the extension is not recognized, treating it as a plain text file, so every file should be imported. Then, why it is not importing all the files inside the tiddlers file, or even better, all the tiddlers specify on the defualt-tiddlers-location option? El martes, 27 de enero de 2015, 15:43:14 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile seems to rely on the registered extensions to load a tiddler. Based on this information, I think at least mp3,pnj,jpg, and basically all file types that TW can understand should be correctly included as tiddlers. But this is not happening, and I don't understand why. Dioes anyone have any clue? El martes, 27 de enero de 2015, 15:15:33 (UTC+1), Danielo Rodríguez escribió: Meta files can be also used, which are easier to build, but they did not accept relative notation, so we are facing a similar problem. I found that in the core there is a map on file types based on its extension: https://github.com/Jermolene/TiddlyWiki5/blob/7abe9aa53d9b1e c19e2afe1c5ace1c7633b0d5ce/boot/boot.js#L1748 But it does not see to work when scanning folders. Maybe a boot module for that is enough, but I would like to see any example. Is there any part of the core that does something similar? Where is the code that scans the tiddlers folder recursively? El martes, 27 de enero de 2015, 15:03:17 (UTC+1), Felix Küppers escribió: Good point. There are many node js projects that deal with glob notations. Maybe it is possible to use a node module for this purpose. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
In fact what would be nice is to be able to import javascript directly in the tiddler, like we can do with the style/style tags. With css it's easy: Create a tiddler put your css et voilà The same would have been nice (a major nice to have IMO) to have On Tuesday, 27 January 2015 14:43:24 UTC-5, PMario wrote: Hi Jimmy, TiddlyWiki 5 doesn't use jQuery anymore. script tags in the tiddler source are not executed, due to security restrictions. The tw2/source tree is only there to test the TWclassic build procedure. Can you explain, what you want to achieve? -mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
Yeah but I think that this method is not really nice since I want to put the javascript in a tiddler (text/vnd.tiddlywiki) On Wednesday, 28 January 2015 06:44:47 UTC-5, Stephan Hradek wrote: Go to tiddlywiki.com Create a New Tiddler Paste this into the tiddler: script type=text/javascript alert(Hooray); /script Set the type to text/html Finish editing Hooray! -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
What is the problem then? There's no problem, the necessary code just needs to be written and tested :) Best wishes Jeremy. On Wed, Jan 28, 2015 at 4:12 PM, Danielo Rodríguez rdani...@gmail.com wrote: In which part of the boot.js code is this stated? You can see in loadTiddlersFromFile the code that loads a meta file if present: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L1387 If the title isn't specified then it doesn't currently reuse the filename as the title. It could be made to do so but has some subtleties: a single file can yield multiple tiddlers (think TW HTML files, and .json and .multids) I thin this is handled on this line: ( https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L1396) if(ext !== .json tiddlers.length === 1 fs.existsSync(metafile)) { Also I think that the deserializeTiddlers function takes care of searching tiddlers inside a particular file . Isn't it? It goes through all the known parsers (so json and HTML files will be correctly parsed ). What is the problem then? There is no option to take the file-name as tiddler name by default? We have everything that we need right now: default type and parser for many file types, why don't implement this? Can be this created as a startup module? It would be a question of changing boot.js. I agree that it would be useful. Best wishes Jeremy Best wishes Jeremy. Can you share the relevant wiki folders? I don't understand this request. Is any normal wiki folder with text files and images inside it (as an example, I expect .js and css files to be imported too) Regards. Best wishes Jeremy. On Tue, Jan 27, 2015 at 9:27 PM, Danielo Rodríguez rdan...@gmail.com wrote: I sould like to hear something from the core-gurus. Thank you all. El martes, 27 de enero de 2015, 15:52:09 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile calls deserializeTiddlers passing the extension as type. And the deserializeTiddlers function imports the file even if the extension is not recognized, treating it as a plain text file, so every file should be imported. Then, why it is not importing all the files inside the tiddlers file, or even better, all the tiddlers specify on the defualt-tiddlers-location option? El martes, 27 de enero de 2015, 15:43:14 (UTC+1), Danielo Rodríguez escribió: loadTiddlersFromFile seems to rely on the registered extensions to load a tiddler. Based on this information, I think at least mp3,pnj,jpg, and basically all file types that TW can understand should be correctly included as tiddlers. But this is not happening, and I don't understand why. Dioes anyone have any clue? El martes, 27 de enero de 2015, 15:15:33 (UTC+1), Danielo Rodríguez escribió: Meta files can be also used, which are easier to build, but they did not accept relative notation, so we are facing a similar problem. I found that in the core there is a map on file types based on its extension: https://github.com/Jermolene/TiddlyWiki5/blob/7abe9aa53d9b1e c19e2afe1c5ace1c7633b0d5ce/boot/boot.js#L1748 But it does not see to work when scanning folders. Maybe a boot module for that is enough, but I would like to see any example. Is there any part of the core that does something similar? Where is the code that scans the tiddlers folder recursively? El martes, 27 de enero de 2015, 15:03:17 (UTC+1), Felix Küppers escribió: Good point. There are many node js projects that deal with glob notations. Maybe it is possible to use a node module for this purpose. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy...@gmail.com -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
Hello Jeremy, May you can fill the gaps in my investigation : I know that the first function called is loadTiddlersFromPath, which calls itself recursively for each folder. Then for each file it calls loadTiddlersFromFile, who extracts all posible data based on extension from fileExtensioninfo. Then if it has a metadata file it is parsed, but before this the Tiddlers array is filled with information from deserializeTiddlers, who receives the extension, content, and fields. So a complete tiddler should be at the Tiddlers array, because deserializeTiddlers has a fallback deserializer of txt for unknown extensions or types. So the only thing left is the title. Then loadTiddlersFromFile returns an object that can represent one or more tiddlers, which are pushed to the Tiddlers array. At which point are the Tiddlers without title discarded? At which point would be better to include the title if no meta is given? Thank you. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)
It make sens. Thanks! On Wednesday, 28 January 2015 11:25:39 UTC-5, Jeremy Ruston wrote: TiddlyWiki is designed to block JavaScript in wiki text content to make sure that it is safe to share wiki text content. It's necessary so that we can explore multi-user server configurations and federation. If the act of viewing content authored by someone else causes executable JS code to run then it becomes possible for a malicious actor to, for example, craft a message that actually contains code to steal or delete your personal information. So, in TW5, there is a strict distinction between wiki text tiddlers (text/vnd.tiddlywiki) and JavaScript module tiddlers (type text/javascript, and with a module-type field). That allows us to filter content from other sources to ensure that we don't allow executable code. Obviously, these aren't concerns for many users who are working privately. We can serve their needs with a plugin that explicitly enables inline JavaScript, but it's not something that will ever be supported directly by the core. Best wishes Jeremy. On Wed, Jan 28, 2015 at 4:15 PM, Jimmy Armand jimmy@gmail.com javascript: wrote: Yeah but I think that this method is not really nice since I want to put the javascript in a tiddler (text/vnd.tiddlywiki) On Wednesday, 28 January 2015 06:44:47 UTC-5, Stephan Hradek wrote: Go to tiddlywiki.com Create a New Tiddler Paste this into the tiddler: script type=text/javascript alert(Hooray); /script Set the type to text/html Finish editing Hooray! -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
As I see, in debian-based distributions (as mine is), there is some confusion between node and nodejs... (sh@##~f|#½|!!) It turns out that instead of installing node, I should have invoqued nodejs. I have now found the way to go. So, the correct sequence for ubuntu-based systems is: *sudo apt-get install nodejs npm* *sudo npm install -g tiddlywiki* Then, in order to check whether TW is installed or not: *nodejs tiddlywiki --version* After that, you get response from TW: 5.1.8-prerelease. So, It seems that I finally got the things working. I now have to check the rest, in order to proceed. Thanks, Danielo, Xavier and Jeremy for the patience. Yours, P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
Hello paul did you tried locate node? try with locate node -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
Hi Pau That's great, glad you're up and running. The need to use `nodejs` instead of `node` will unfortunately break the existing batch files. I've made a ticket: https://github.com/Jermolene/TiddlyWiki5/issues/1434 Best wishes Jeremy. On Wed, Jan 28, 2015 at 6:48 PM, Paulus pau...@alamier.com wrote: As I see, in debian-based distributions (as mine is), there is some confusion between node and nodejs... (sh@##~f|#½|!!) It turns out that instead of installing node, I should have invoqued nodejs. I have now found the way to go. So, the correct sequence for ubuntu-based systems is: *sudo apt-get install nodejs npm* *sudo npm install -g tiddlywiki* Then, in order to check whether TW is installed or not: *nodejs tiddlywiki --version* After that, you get response from TW: 5.1.8-prerelease. So, It seems that I finally got the things working. I now have to check the rest, in order to proceed. Thanks, Danielo, Xavier and Jeremy for the patience. Yours, P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Translating TW5 to spanish: Issues making TW5 work on node.
Thanks, mate! I can finally get TW work on node. Now let's see if I manage to do the rest before next release is due :D 2015-01-28 20:02 GMT+01:00 Jeremy Ruston jeremy.rus...@gmail.com: Hi Pau That's great, glad you're up and running. The need to use `nodejs` instead of `node` will unfortunately break the existing batch files. I've made a ticket: https://github.com/Jermolene/TiddlyWiki5/issues/1434 Best wishes Jeremy. On Wed, Jan 28, 2015 at 6:48 PM, Paulus pau...@alamier.com wrote: As I see, in debian-based distributions (as mine is), there is some confusion between node and nodejs... (sh@##~f|#½|!!) It turns out that instead of installing node, I should have invoqued nodejs. I have now found the way to go. So, the correct sequence for ubuntu-based systems is: *sudo apt-get install nodejs npm* *sudo npm install -g tiddlywiki* Then, in order to check whether TW is installed or not: *nodejs tiddlywiki --version* After that, you get response from TW: 5.1.8-prerelease. So, It seems that I finally got the things working. I now have to check the rest, in order to proceed. Thanks, Danielo, Xavier and Jeremy for the patience. Yours, P.-) -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to a topic in the Google Groups TiddlyWiki group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/4kjj00MvXD0/unsubscribe. To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: TW5 rules to import files based on its extension.
Hi Danielo I know that the first function called is loadTiddlersFromPath, which calls itself recursively for each folder. Then for each file it calls loadTiddlersFromFile, who extracts all posible data based on extension from fileExtensioninfo. Then if it has a metadata file it is parsed, but before this the Tiddlers array is filled with information from deserializeTiddlers, who receives the extension, content, and fields. So a complete tiddler should be at the Tiddlers array, because deserializeTiddlers has a fallback deserializer of txt for unknown extensions or types. So the only thing left is the title. Then loadTiddlersFromFile returns an object that can represent one or more tiddlers, which are pushed to the Tiddlers array. At which point are the Tiddlers without title discarded? At which point would be better to include the title if no meta is given? Tiddlers without a title are rejected here, deep in wiki.addTiddler: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L855 I think the logical place to handle this is within loadTiddlersFromFile. Best wishes Jeremy. Thank you. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: Editor Prototype Mk II
Hi Stephen Congratulations, this is a terrific piece of work. I'd echo your warnings to users about being cautious with using it in it's present form, but I'm sure that we can figure out ways to smoothly integrate the functionality. Best wishes Jeremy. On Wed, Jan 28, 2015 at 1:45 PM, 'Stephen Kimmel' via TiddlyWiki tiddlywiki@googlegroups.com wrote: I know you are looking for feedback, so here goes. Your edit toolbar is cool. Most essential though if anyone is going to use it would be *undo*. I showed it to several non tiddlywiki people and they said abandon wiki markup and go straight to html. The business world does not use wiki markup. Tiddlywiki will always have markup as far as I know, but people who don't use and wont use markup will use this if it is user friendly. I have always wondered why we have an edit window with markup and a preview instead of an editable preview with a toolbar like your's and a separate editable code preview if you wanted to type it in html code or markup. Anyway, I will be following this tread waiting for an *undo* button or Ctrl-z to work. Andrew, thank you for your feedback. I appreciate that you made the effort. I'll assume that you, like me, were unaware of the mouse right click Undo. Would that be sufficient or do you think the toolbar needs an explicit Undo button? Are you aware that you can enter tiddlers in html in the editor? Presumably someone who knows html but is weak in markdown or wikitext could do anything they wanted in html instead. Again, thanks for your feedback -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.