[tw5] lists, reveal, and newline

2018-08-29 Thread Don Eisele
* a
* b
<$reveal type="nomatch" state="sjdfklsjdfkl" text="" default="">

* c

* d



I'm trying to build some lists that have optionally included lines.   

To make it not just put an asterisk, it seems like you have to add an extra 
newline, but that starts a new paragraph, so it displays a gap.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/938c45bc-ad7e-4d1c-ae67-37a7f033fd5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Question about Node security

2018-08-29 Thread Rob Hoelz
Hi Scott,

So take everything I'm about to say with a giant grain of salt - a lot of 
this assumes that an attacker is *very *interested in your wiki!

If you were sitting in a café with your laptop connected to unencrypted 
WiFi and you were connecting to TiddlyWiki on your laptop from your phone, 
the contents of your wiki would be visible to anyone wanting to sniff 
traffic out of the air.  From a cursory look at the TiddlyWiki server code, 
it looks to me like TiddlyWiki uses basic authentication, which means one 
could easily derive your username and password from this traffic.  Without 
observing traffic an attacker would have a harder time, but I guess they 
could port scan to find open ports on your laptop and try to brute-force 
your username and password - assuming the network operator allows different 
WiFi clients to talk to each other.

Regarding port forwarding, you're in a similar situation - TiddlyWiki 
serves its traffic over HTTP, so anyone between the machine accessing your 
TiddlyWiki and your home router could sniff this traffic.

To fix packet sniffing, this is fairly easy to guard against (I'm not sure 
how technical of a background you have, so be warned - here be dragons!) - 
you could use an HTTPS reverse proxy like nginx with Let's Encrypt to 
provide a certificate to encrypt the traffic between your laptop or router 
and your Android/iOS device.

To protect against brute forcing, you would probably want some mechanism to 
deny a user after a certain number of incorrect tries, like fail2ban.

-Rob

On Wednesday, August 29, 2018 at 5:25:11 PM UTC-5, Scott Kingery wrote:
>
> After some poking around this forum I've been starting my tiddlywiki on my 
> LAN with:
> tiddlywiki .\mytiddlywiki --server 12864 $:/core/save/lazy-images 
> text/plain text/html "myusername" "*MYsecretPassword" 0.0.0.0
>
> It's cool because I can get to my wiki from anywhere on the LAN and works 
> nice on Android and iOS because I can browse to the wiki without much other 
> hassle.
>
> Not too worried about security because the only one who knows about it is 
> me. I am wondering how secure this is if it were on a larger LAN than my 
> house?  Or maybe some port forwarding to get to my server from outside my 
> LAN.
>
> Thanks,
> Scott
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6d80db9-1904-4190-b16c-418b7842b033%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Need tiddler to pop up if selected or tagged with the curren tdate

2018-08-29 Thread TonyM
Mervin,

Let me restate what you want 

You want to indicate a date on given tiddlers such that when that date is 
the same as today you know. I am not sure what you mean by popup, I presume 
you mean will be listed "in your face".


   - I suggest creating a date field "selected-date" on the tiddlers you 
   want selected. We can come to how do you enter the date below.
   - Then I would create a list in a tiddler that is in the default 
   tiddlers such as home, that lists all of those selected-date tiddlers with 
   a date of today.
   However you could make a sidebar tab or menu etc...
   - Then to help make it even clearer I would make a tiddler tagged 
$:/tags/ViewTemplate 
   that will display a message on any tiddler who's selected-date equals today

How do you select the selected-date?

   - You could just enter a date of the form MMDD (technically 
   0MM0DD)
   - Since when you enter the date they are likely to be future dated I 
   think it would be much easier to install the date picker plugin 
   

<$edit-date 
field="selected-date"
format="-MM-DD"
fieldFormat="0MM0DD"
firstday="1"
/>
You could place this any tiddler you what to select the date, or also put 
it in a tiddler tagged $:/tags/ViewTemplate with a condition that determins 
when it is shown. PS Firstday makes Monday the first day of the week. This 
utility shows a nicely formatted calendar to select from or you can enter 
directly.

<$list filter="[is[current]tag[task]]" variable=null>
<$edit-date 
field="selected-date"
format="-MM-DD"
fieldFormat="0MM0DD"
firstday="1"
/>


You set the filter to suit. It determines on which tiddlers you can enter a 
selected date. 

Perhaps in the the same tiddler above you can add this code to indicate if 
any tiddler with the selected-date field is today or not. tagged 
$:/tags/ViewTemplate 
<$list filter="[is[current]has[selected-date]]" variable=null>
selected-date: <$view field=selected-date format=date 
template="-0MM-0DD"/>
<$wikify name=date-now text="<>">
  <$list filter="[{!!selected-date}prefix]" variable=null 
emptyMessage="Not today">
TODAY
  



Then finally in your home tiddler that comes up when you load the wiki your 
could list all tiddlers with a selected-date of today
 
Items with a selected-date of today
<$list filter="[has[selected-date]]">
<$wikify name=date-now text="<>">
  <$list filter="[{!!selected-date}prefix]" variable=null>
<$link to=<> tooltip="Open Tiddler"><
>
  



---


Let me know if you want something different.

Tony

On Thursday, August 30, 2018 at 2:40:12 AM UTC+10, mervin mecklenburg wrote:
>
> I wish for a selected group of tiddlers to pop up if they are selected for 
> the present date.  I know that there are some very good-time management 
> programs out there that do this sort of thing, but I was hoping for a 
> simple solution that can be easily incorporated into tiddlywikis that I 
> have up and running.  I believe that this could be done by using the reveal 
> widget with an appropriate filter, and configuring the control panel to 
> display the revealing widget on startup.  This would be adequate for my 
> purposes.  Does anyone have a solution?
>
> Mervin Mecklenburg
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b45be994-7527-4b9d-987f-6224c4042621%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Question about Node security

2018-08-29 Thread Scott Kingery
After some poking around this forum I've been starting my tiddlywiki on my 
LAN with:
tiddlywiki .\mytiddlywiki --server 12864 $:/core/save/lazy-images 
text/plain text/html "myusername" "*MYsecretPassword" 0.0.0.0

It's cool because I can get to my wiki from anywhere on the LAN and works 
nice on Android and iOS because I can browse to the wiki without much other 
hassle.

Not too worried about security because the only one who knows about it is 
me. I am wondering how secure this is if it were on a larger LAN than my 
house?  Or maybe some port forwarding to get to my server from outside my 
LAN.

Thanks,
Scott

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c81b8614-40d9-45a0-81a0-3a64346333b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Presenting Plainrevs plugin, my take on a tiddler revision system

2018-08-29 Thread Thomas Elmiger
Thanks for making this JD,
– and for bringing it up again, HC!

This came out just before my vacation started and I will have to test it sooner 
or later. 

All the best,
Thomas 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9476046b-f5f6-4bb6-ab14-d46e2bf16915%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Need tiddler to pop up if selected or tagged with the curren tdate

2018-08-29 Thread Thomas Elmiger
Hi Mervin

My solution is one of the complicated ones you don’t want ;–)

Simplified somewhat it would become something  resembling this:

\define ldsbra() [[
\define rdsbra() ]]

\define reminderCheck(reminder-field,tiddler)
<$vars tid="""$tiddler$""" rmf="""$reminder-field$""">
<$wikify name="checkfilter" text='<><>]days:<>[0<>'>
   <$list filter=<>>
<>
   


\end


Loop through all tiddlers with your specific tag here and then call the check 
macro: 

<$macrocall $name=reminderCheck reminder-field=datefield 
tiddler=<>/>

[End of loop]

I assume the date is in a field named „datefield“ in a format starting with 
20180829. Still too complicated? 

Good luck!
Thomas 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/842837b2-377c-4677-a89d-be1408d6a461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to?: Multiple filter by tagging

2018-08-29 Thread 'Surya' via TiddlyWiki
@Tony & Mark:
:-)

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/76f36824-0399-466f-827f-49e5898d2dfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New plugin: Asciidoctor for TiddlyWiki

2018-08-29 Thread bimlas
@TonyM, @Mark

Sorry for late reply, I started to answer your questions, but Vivaldi 
(browser) crashed, but I've got other duties meanwhile... (-_-')

I found a Markdown plugin (http://demo.santosa.family/#tw5-markdown), it's 
parsing the wiki syntax too. It seems a bit buggy, but it basically works 
(at least does something): tried out with this in a Markdown tiddler:

# Mardkown test

<$list filter="[!is[system]]">

* <>



_italic_ **bold**

Anyway, I try to implement parsing of wiki syntax. BTW Asciidoctor has its 
own advanteges:

:good: you can define attributes
:bad:  wiki syntax would be better

In Asciidoctor {good} (variables) at the top of of the tiddler, but {bad}.

This renered as:

In Asciidoctor you can define attributes (variables) at the top of of the 
tiddler, but wiki syntax would be better.

@Mark, I didn't knew that transcluding Asciidoctor tiddlers works - thanks 
for the info, I will add to the doc.

@TonyM

How does it handle page breaks especialy before you know where they will 
> occur?
> Will it display correctly in open new window such we can use the browsers 
> print (including to pdf)?
> Whilst the plugin will render this markup correctly would we then copy our 
> text elsewhere to generate pdfs.


Well, it's handling the split of the tables for example in printing 
(https://imgur.com/a/ewZM5gE) and copy-paste the example in to a word 
processor works (image is not copied: https://i.imgur.com/yzQaesh.png).
Sorry, but I'm not really understand your question - maybe because my main 
language is Hungarian, not English, sorry. :(

@Thomas

I will add this to the documentation, thanks!

PS.: When I try to visit the plugin page in Firefox, loading takes a lot of 
time (but tiddlywiki.com loading is fast). Can you try it, please?

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8a80c70-6fd6-4212-aafe-0d96334537c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New plugin: Asciidoctor for TiddlyWiki

2018-08-29 Thread Thomas Elmiger
Very interesting, thanks for sharing! 

One small issue: the footnote [1] in your demo opens a new empty tiddler. The 
old problem of intra-tiddler links is still unsolved. 

Cheers, Thomas 

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/10df122c-1a96-4dc7-86cf-3e56d675a18f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New plugin: Asciidoctor for TiddlyWiki

2018-08-29 Thread 'Mark S.' via TiddlyWiki
Answering my own question, you can't include widgets.

But I just realized that when you transclude an AsciiDoctor or Markdown 
tiddler, the text gets rendered appropriately. So there's better authoring 
possibilities there than I had previously thought. You could use a regular 
tiddler to present mutliple AD or MD tiddlers. 

Small note: There's no tag tip on the AsciiDoctor icon out in the sidebar.

Thanks!
-- Mark

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/db03099f-003f-4322-9534-43e0d37cc2c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Need tiddler to pop up if selected or tagged with the curren tdate

2018-08-29 Thread 'mervin mecklenburg' via TiddlyWiki
I wish for a selected group of tiddlers to pop up if they are selected for 
the present date.  I know that there are some very good-time management 
programs out there that do this sort of thing, but I was hoping for a 
simple solution that can be easily incorporated into tiddlywikis that I 
have up and running.  I believe that this could be done by using the reveal 
widget with an appropriate filter, and configuring the control panel to 
display the revealing widget on startup.  This would be adequate for my 
purposes.  Does anyone have a solution?

Mervin Mecklenburg

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc21a62c-d231-4860-b2b1-90ffba8101ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New plugin: Asciidoctor for TiddlyWiki

2018-08-29 Thread 'Mark S.' via TiddlyWiki
The first demo & install gave me a 404 message. I'm getting errors (505, 
timeouts) when trying to see the readme at gitlab (the Source code link).

Hopefully gitlab will be working better later. 

For now, a question ...

The reason I don't use markdown with TW is because it won't let me use 
widgets.

Does the same limitation apply to tw5-asciidoctor?

It's kind of a non-starter if it can't support TW widgets. I suppose if 
you're a writer then being able to do massive texts in AsciiDoctor would be 
useful even without widgets.

Thanks!
-- Mark

On Wednesday, August 29, 2018 at 1:05:05 AM UTC-7, bimlas wrote:
>
> Asciidoctor is a lightweight markup language, similar to Markdown, but way 
> more powerfull. It's addictive: once you getting familiar with it, you 
> cannot go back to Markdown.
>
> "Use AsciiDoc for document markup. Really. It's actually readable by 
> humans, easier to parse and way more flexible than XML."
> Linus Torvalds 
>
> Demo + install: https://bimlas.gitlab.io/tw5-asciidoctor/
> Source code: https://gitlab.com/bimlas/tw5-asciidoctor
>
> Asciidoctor website: https://asciidoctor.org/ 
> 
> Asciidoctor vs Markdown: 
> https://asciidoctor.org/docs/user-manual/#compared-to-markdown
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/466b0195-0827-4a8d-a527-74bce1c8398c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: New plugin: Asciidoctor for TiddlyWiki

2018-08-29 Thread Mohammad
Great job!
Thank you bimlas!

Mohammad

On Wednesday, August 29, 2018 at 12:35:05 PM UTC+4:30, bimlas wrote:
>
> Asciidoctor is a lightweight markup language, similar to Markdown, but way 
> more powerfull. It's addictive: once you getting familiar with it, you 
> cannot go back to Markdown.
>
> "Use AsciiDoc for document markup. Really. It's actually readable by 
> humans, easier to parse and way more flexible than XML."
> Linus Torvalds 
>
> Demo + install: https://bimlas.gitlab.io/tw5-asciidoctor/
> Source code: https://gitlab.com/bimlas/tw5-asciidoctor
>
> Asciidoctor website: https://asciidoctor.org/
> Asciidoctor vs Markdown: 
> https://asciidoctor.org/docs/user-manual/#compared-to-markdown
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3d448352-3d79-45f0-8bad-14c2b2bc0d5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Twitter Plugin

2018-08-29 Thread cpjobling
After some experimentation today with Devtools turned on and Google, it 
turns out that the chrome-extension DuckDuckGo Privacy Tracker had started 
to block calls to platform.twitter.com hence the JavaScript 
https://platform.twitter.com/widgets.js needed to render the Twitter 
widgets wasn't being downloaded. 

I couldn't whitelist platform.twitter.com so had to remove the extension 
and Twitter is now working again. 

>From other discussions, it seems that AdBlock Plus may also block 
https://platform.twitter.com/widgets.js.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/97ea3268-fcf8-4e33-be01-31cdf15c88f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] New plugin: Asciidoctor for TiddlyWiki

2018-08-29 Thread TonyM
Bimlas,

Thanks for sharing. I need to evaluate if I should learn this alternate markup, 
it does seem to provide a richer set of choices but can you tell me a couple of 
things.

How does it handle page breaks especialy before you know where they will occur?

Will it display correctly in open new window such we can use the browsers print 
(including to pdf)?

If we use wikitext tranclusions etc.. can they be honored? Perhaps by 
surrounding it as a block?

Whilst the plugin will render this markup correctly would we then copy our text 
elsewhere to generate pdfs.

Thanks in advance but also your contribution to the tiddlywiki platform.

Tony

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7984e776-f161-434e-b7a1-5135712437b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Presenting Plainrevs plugin, my take on a tiddler revision system

2018-08-29 Thread HC Haase
Hi 
I just discovered this. Nice

The plugin's delete button, deletes all the revisions as well. It has a 
different icon, but the caption and hover-text only says "delte this 
tiddler" and nothing about that the revisions will also be deleted. IMO 
there should be no doubt of what you are deleting. I have made adjustments 
to the text. Here are the tiddlers to make the changes.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63efe514-8843-4490-a8c3-c393fd35bee7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


$__language_Buttons_jd_Delete_Caption.json
Description: application/json


$__language_Buttons_jd_Delete_Hint.json
Description: application/json


$__plugins_jd_plainrevs_Buttons_delete.json
Description: application/json


[tw5] Re: Presenting: Whitespace, a negative-spacious, webapp-nostalgic theme

2018-08-29 Thread HC Haase
HI JD
while it is a nice theme, I´me not in this for the looks. 

But a thing that got me really exited is the *feature to add a new tiddler 
from the text string entered in the search bar*. This is brilliant!

 * it saves interface space
 * it simplifies actions and save time
 
when adding some information/knowledge to my wiki, most of the time I have 
to make a search to see if I have a related tiddler that I want to update, 
or I should make a new one. As I already have entered (roughly) the title 
of the new tiddler in the search bar, it seems redundant to then create a 
new tiddler and type the title again. Your solution is elegant, functional 
and simple. 

Is there a chance you could package that bit into a separate plug in?

and can I propose to push this feature to the core? I know it doesn't add 
any new functionality, but IMO it makes TW much more user friendly and 
efficient in a non intrusive way. 
I know adding to the core is a sensitive topic for some, but I would argue 
that this (though a minor thing) will improve how we use TW and would 
benefit the general user. And if you don't want to use it, it doesn't 
destroy the normal interface.

Thoughts?

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/76484524-a291-4e89-bfb5-d32455d04894%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Three small plugins, Login, ServerImages, DownloadBinary

2018-08-29 Thread Jed Carty
Phil,

I updated the login plugin so that it can be used to log into a remote 
server to let you use the twederbob plugin with a server that requires a 
login. I could add some more configuration options that let you set the 
names of the keys in the post body, right now the the keys are 'name' and 
'pwd' which I think is the most likely place where a problem would come up 
with login servers.

One other thing is that the login widget won't do anything if the login url 
isn't on https. Either the page that the widget is on needs to be on https 
and the url given is relative (like '/login') or the url the login info is 
sent to have to start with https.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e6feaae-badf-43b6-a7be-567ccc591d61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddlywiki, Seafile and the iPhone

2018-08-29 Thread PMario
Hi Willy, 

Thanks for sharing your experience with Seafile. ... 

There has been a thread some time ago 
, when 
the project was still in it's early days. ...It seems the WebDav feature 
has been introduced with V2.1, which I demoed in the hangout #33. ... BUT I 
completely missed this feature :(

So it's definitely time to "re-visit" the project and run some more tests.

As Jeremy wrote, it would be nice if you can share your settings. 

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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8bf44db1-5813-43e6-8355-3c799ab0f28c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] New plugin: Asciidoctor for TiddlyWiki

2018-08-29 Thread bimlas
Asciidoctor is a lightweight markup language, similar to Markdown, but way 
more powerfull. It's addictive: once you getting familiar with it, you 
cannot go back to Markdown.

"Use AsciiDoc for document markup. Really. It's actually readable by 
humans, easier to parse and way more flexible than XML."
Linus Torvalds 

Demo + install: https://bimlas.gitlab.io/tw5-asciidoctor/
Source code: https://gitlab.com/bimlas/tw5-asciidoctor

Asciidoctor website: https://asciidoctor.org/
Asciidoctor vs 
Markdown: https://asciidoctor.org/docs/user-manual/#compared-to-markdown

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4ca7d9bf-4011--8fc6-b4044a157ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddlywiki, Seafile and the iPhone

2018-08-29 Thread PMario
Hi Altug,

On Tuesday, August 28, 2018 at 7:31:27 AM UTC+2, Altug Ozcelikkale wrote:

> ... The only problem I have is I can't save the file more than once unless 
> I reload it in browser. The second time I try to save, it will give me a 
> "file changed on server" error. I must accept it is a minor annoyance. I 
> don't know whether you also have this issue.
>

Which TW version do you use? .. We changed the WebDav PUT saver with the 
last version quite a bit. Especially the ETag handling was improved, to 
make it more robust. ... BUT ... 

If your server transfers the TW in "compressed" mode, it seems the ETags 
are different to the file that is saved from the client to the server. ... 
So the second "save" fails. 

You could try to disable the "compression" on the server. ... This should 
fix the problem. .. But makes the download slower. 

I did create an experimental plugin, that doesn't use the ETag, but the 
"last-modified-" info, which also works with if the browser sends the TW 
file in compressed mode. 

Just some thoughts!

-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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/244d8e7a-206f-4e74-841a-caf003b769da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddlywiki, Seafile and the iPhone

2018-08-29 Thread Willy Tanner
Hi Altug

ah, I see, we got our wires crossed here. As I mentioned in my first post, 
Seafile is many things in one, first and foremost it is a file 
synchronisation tool, which can be used to keep files and folders in sync, 
with version history, optional web interface, sharing links etc etc. The 
behaviour you describe is normal for the Seafile companion app (except a 
little detail about which later), the file is downloaded to your phone and 
once saved also synced back to the server and any other machines that are 
connected to that repository.

The point of this thread, however, is that Seafile can if you so wish be 
configured as a Webdav server. In the process you designate a folder on the 
server which then can be accessed from the outside (via your phone or 
another computer) without the need to download the file first. This 
obviously only works when online but if so, one can edit the file and the 
save is done directly on the server. Importantly, the file will be accessed 
via a special URL directly in the browser, not through the Seafile app on 
the phone. 
Note that the Seafile server is by default off but once on, the edits on 
the phone or some other computer are autosaved back and instantly available 
anywhere. 


Question to you, Altug, you were reporting the behaviour of a Tiddlywiki 
file after calling that file from the Seafile app on your phone, correct? 
Can you please check if any saves on your phone were indeed saved back to 
the server by accessing that file from a different computer (not your 
phone, in case the edited file still sits in the cache)? On the iPhone at 
first glance it looks like saving an edit on a local file via the Seafile 
app back to the Seafile repo on the server works but it is purely in the 
phone's cache. No other computer sees that edit nor the phone once you 
force it to reload the content from the server.
If this were different indeed on Android I'd be surprised.

Cheers
Willy




-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/79a9a181-0b85-4cfc-9b4f-10bb9123cca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.