[tw5] Re: Resize Embedded Video and Audio Objects

2019-05-11 Thread donmor3000
Well, I just created a pull request to Jermolene/TiddlyWiki5. I added this 
attribute to videoparser.js and audioparser.js to scale videos and audios:
style: {type: "string", value: "width: 100%; height: 100%; object-fit: 
contain"}

在 2019年5月12日星期日 UTC+8下午1:43:52,donmor3000写道:
>
> I'm trying to import video and audio into a wiki and use transclusion(e.g 
> {{abc.mp4}}) to insert them into another tiddler, but the video or audio 
> objects inserted always keep their original size, and usually get out of 
> the bound. And I tried to insert objects that is scaled automatically using 
> html like:
> H5 NOT SUPPORTED
> or:
> H5 NOT SUPPORTED
> and it works well, but I have to put the video or audio files outside the 
> wiki file. Is it possible to make html5 objects of these embedded files 
> scaled automatically in further updates?
>

-- 
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/10e783ee-46c8-4efb-896c-15125698a869%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Resize Embedded Video

2019-05-11 Thread donmor3000
Well, I just created a pull request to Jermolene/TiddlyWiki5. I added this 
attribute to videoparser.js and audioparser.js to scale videos and audios:
style: {type: "string", value: "width: 100%; height: 100%; object-fit: 
contain"}

-- 
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/9a9b0536-fadc-4b9c-9586-02046471eb4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Resize Embedded Video and Audio Objects

2019-05-11 Thread donmor3000
I'm trying to import video and audio into a wiki and use transclusion(e.g 
{{abc.mp4}}) to insert them into another tiddler, but the video or audio 
objects inserted always keep their original size, and usually get out of 
the bound. And I tried to insert objects that is scaled automatically using 
html like:
H5 NOT SUPPORTED
or:
H5 NOT SUPPORTED
and it works well, but I have to put the video or audio files outside the 
wiki file. Is it possible to make html5 objects of these embedded files 
scaled automatically in further updates?

-- 
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/ed6af8be-b0a2-4c17-abaf-88b680935945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddlydesktop internal links failing to open in Tiddlydesktop and instead direct to browser

2019-05-11 Thread Reece Shaw
https://www.youtube.com/watch?v=Oe4miqAtgi8&feature=youtu.be

Forgot the video!

On Sunday, May 12, 2019 at 12:31:59 AM UTC-4, Reece Shaw wrote:
>
> Hey Folks,
>
> I've run into a strange issue when utilizing $wikify to render custom 
> fields as formatted wikitext. The premise for the wiki design is to utilize 
> a "UI" tiddler and a "data" tiddler. The UI controls/edits the data 
> tiddler, after which point it can be used to display the data from the data 
> tiddler in any format that I desire, based out of a pre-generated "form" 
> template.
>
> When using the following macro, opening the internally linked tiddlers 
> directs the tiddlywiki file to be opened in my chrome browser instead of 
> opening the expected tiddler.
>
> \define testcon-display-block($field$)
> <$wikify name="md" text={{!!$field$}} type="text/vnd.tiddlywiki" output=
> "html" mode="block"><>
> \end
>
> I uploaded a video to show the behavior as well; additionally I've added 
> the tiddlers in question, attached here.
>
> Trying to understand why this only occurs in tiddlydesktop but works as 
> expected in Chrome.
>
> Thanks in advanced!
>
> -Reece
>

-- 
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/5042329e-8bae-4710-98c4-b0060fe9741b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Tiddlydesktop internal links failing to open in Tiddlydesktop and instead direct to browser

2019-05-11 Thread Reece Shaw
Hey Folks,

I've run into a strange issue when utilizing $wikify to render custom 
fields as formatted wikitext. The premise for the wiki design is to utilize 
a "UI" tiddler and a "data" tiddler. The UI controls/edits the data 
tiddler, after which point it can be used to display the data from the data 
tiddler in any format that I desire, based out of a pre-generated "form" 
template.

When using the following macro, opening the internally linked tiddlers 
directs the tiddlywiki file to be opened in my chrome browser instead of 
opening the expected tiddler.

\define testcon-display-block($field$)
<$wikify name="md" text={{!!$field$}} type="text/vnd.tiddlywiki" output=
"html" mode="block"><>
\end

I uploaded a video to show the behavior as well; additionally I've added 
the tiddlers in question, attached here.

Trying to understand why this only occurs in tiddlydesktop but works as 
expected in Chrome.

Thanks in advanced!

-Reece

-- 
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/89ac1178-6a94-402e-bcb0-f68d298fc481%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


$__world_SRD_macros_testcon-display-block.tid
Description: Binary data


display-testing-env.tid
Description: Binary data


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread TonyM
Mario,

Perhaps a related hack

In an experiment in the past I noted I could build a slightly modified .tid 
exporter such that the tiddler text to export contained field value pairs as in 
the raw tiddler syntax.

Fieldname: field value (from memory)

once this exported tiddlier was reimported these fields became standard tiddler 
fields. It provided a mechanisium for user edits of text to be turned into 
field value pairs.

My thought is this method could be used along with your suggestion without the 
export/import step. Such field value pairs could be used in template tiddlers 
to create and populate fields and even restore default values if the fields are 
deleted. Of course also introducing multiline fields.

\fields
Fieldname: field value
Fieldname2: field value
Multilinetextfieldname:
text on next line indicates multi-
line field handled as you suggest
\end

The above would populate fields with default values if they do not exist, 
including the multiline text fields defined in the tiddlers text body.

Just a hack idea

Regards
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/f8dbda4e-8fb6-4de0-9a2f-db8d1e80a410%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Install TiddlyDesktop on Windows 10 (how to)

2019-05-11 Thread JWHoneycutt

>
> I may have answered my own question
>

I inadvertently downloaded and unzipped several copies of TD

One of them had the file  (nw), an application, with a different icon than 
the others

I have created a shortcut and moved it to the desktop - it works


-- 
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/3a76a757-6b7b-4493-8f8d-157c742ebaeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] One wat to help visualize TW layout

2019-05-11 Thread TonyM
Nice work

It is helpful to have such documentation written for people new to tiddlywiki. 
I can be quite hard for old timers to think like newbies when we understand 
tiddlywiki so well.

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/d3f0cc85-878e-4397-a755-8d4eb5b52418%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Why do Startup Actions not work?

2019-05-11 Thread TonyM
Jeremy,

I belive what I am looking for is actually very simple, but I stand to be 
corrected. I want a trigger at the end of the load process so I can build a 
tiddler with a set of actions triggered without user intervention. Idealy other 
plugins and global macros will be valid at that time. Within this modals should 
operate.

By location hash do you mean the tiddler reference and search value on the uri ?

The info mechanisium already seems to provide all we need to respond to how the 
wiki is linked to. 

My manual work around for now would be a single tiddler in default tiddlers 
that has a big "click me" button that triggers a set of "interactive startup" 
actions. But of course I can't guarantee this is what the user will do. I would 
like this trigger automated, and to free default tiddlers to operate as normal.

If automated, it would be good if safe mode bypassed the startup trigger.

By design reveal could be used to alter which actions are triggered according 
to values found in the info tiddlers.

Regards
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/27729a24-e644-475b-a7ef-7804d3d99f32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] One wat to help visualize TW layout

2019-05-11 Thread A Gloom


Sonething i posted over on doc's.  Feel free to use.


--

A recent general Intro/How To tiddler that I have start up (default 
tiddler) with a recent custom TW I made for someone

*GENERAL DESCRIPTION & INSTRUCTIONS OF SOFTWARE*:

   - TO HELP VISUALIZE THE WIKI SOFTWARE LAYOUT:   If you look at this 
   software as a website home page that will always display, while all its 
   different content can be selectively shown and hidden as sub-pages of the 
   home page.   Content sub-pages are called tiddlers in this software.   In 
   the rest of this page and in the help files, they will be referred to as 
   "tiddlers".

The basic layout of and names used in this software

   - The *left side* is called the story river since tiddlers (content 
   sub-pages), like this tiddler, will open on that side in a "story sequence" 
   from top to bottom in the order you open them.   This will be your viewing 
   and editing area.
   - The *right side* is called the sidebar.   The different tabs are 
   different tables of contents.   This will be your menus and navigating 
   areas.  Clicking on a tab will display its contents.
   - The More & Tools tabs can be ignored for now– they are for wiki tools 
  and functions and will be covered later.
  - The Open tab shows what tiddlers are open in the right side .   
  Recent tab shows recently created and modified tiddlers. 
  - Click on a tab to open it to display its contents below the tab.   
  In each tab will be a listing of tiddlers titles.   Each tiddler in that 
  list is a link to open that tiddler in the left side/story river.
   

-- 
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/6ba8dc65-1dcf-4e8d-b37a-81827554c4f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Does TW use rel="noopener noreferrer" on wikified external links?

2019-05-11 Thread A Gloom

>
>
> Just to confirm that TW5 does indeed add rel="noopener noreferrer” to 
> links created with [ext[url]] and by typing an URL directly.
>

ty for the confirmation

 

> TW’s docs point to this blog post which explains why omitting this 
> attribute can cause private information to be leaked:
>
> https://mathiasbynens.github.io/rel-noopener/
>

Yep, that's what got me on this thread


I'm wondering if the privacy precaution should be posted on doc pages like 
"How to embed PDF and other documents"-- does the automatic no-referer 
appending work with url's in embed/object/iframe html tags that have a src 
attribute?



-- 
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/9a1af813-7f65-4829-8b46-754c09a385aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Install TiddlyDesktop on Windows 10 (how to)

2019-05-11 Thread JWHoneycutt
A very basic question

I am an Apple MacBook user that needed to buy a Windows 10 machine (not in 
my comfort zone)

I do not know how to install TiddlyDesktop for easy access in Windows

I download version 13 (tiddlydesktop-win64-v0.0.13.zip 
)
 
from (https://github.com/Jermolene/TiddlyDesktop/releases)

This unzips to a directory (TiddlyDesktop-master) with several files inside 
but I don't have either of the following filenames

"Unzip into a folder and run TiddlyWiki.app or nw.exe"

So I do not know where to go next

Any help appreciated

JWHoneycutt

-- 
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/0f1cc9fb-3539-498d-8b03-ca12f6f0a125%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] button class tc-btn-rounded for button widget

2019-05-11 Thread A Gloom


I didn't see 'tc-btn-rounded' listed along with 

*Tip:* Set *class* to tc-btn-invisible tc-tiddlylink to have a button look 
> like an internal link.
>

works with images such as TW core svg's

<$button class='tc-btn-rounded' style="margin:2px 0px; padding:5px; 
border:solid 2px;"><$action-navigate $to="#Create new bookmark"/> 
{{$:/core/ui/Buttons/new-tiddler}}



recreates the new tiddler button (with the + icon) found above the search 
bar but with your own button action

also works with text to create circle or oval buttons:

<$button class='tc-btn-rounded' style="margin:2px 0px; padding:5px; 
border:solid 2px;"><$action-navigate $to="#Create new 
bookmark"/>555


creates an oval button labeled 555

the dimensions/shape of the circle/oval determined by:

a single character produces a circle

a single line of several characters produces an oval, width determined by 
length of word

additional lines of text would increase the height of the oval as would 
adfusting the padding of the style attribute

the circle/oval size/shape can also be fine tuned using padding-top, 
padding-bottom, padding-right, padding-left

-- 
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/3672bd79-1689-4c44-85bf-eaeb8a81e9b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread PMario
On Friday, May 10, 2019 at 6:23:37 AM UTC+2, Reece Shaw wrote:
>
> Hey y'all, RK from the discord.
>

Hi
 

If I want to display the text of a user field (say, user-defined-field) 
> *and* format it I have to then workaround by somehow editing Tiddler1 's 
> user-defined-field while also making sure to avoid using $edit-text in a 
> manner that would cause the re-rendering issue. 
>

That's a problem of browser UI focus handling. There are 3 github PR 
s that try to address 
this issue. There is an EXPERIMENTAL test version at tiddlyspot too: 
http://refocusing-inputs.tiddlyspot.com/ ... It allows you to edit the 
"currentTiddler" ...

 

> For a user that wants to build a UI that's a complete headache. There's a 
> lot to be said for the ability to have a multi-line field that is directly 
> attached to the tiddler itself and not as a sub-tiddler
>
>
>1. User defined fields, when made multi-line would not impact core
>
> That's not true. They would have been implemented already, if it wouldn't 
be a problem. 
 

>
>1. We already have the capability to embed multi-line fields into a 
>tiddler, we just have to use a workaround
>
> The problem is, that it also needs to work with the .tid file format. 
Which probably isn't the case for the workarounds. I don't know the 
workarounds, so I'm not sure here. 

>
>1. list filters would become less complex when displaying multiple 
>pieces of data linked to a single tiddler provided the user wishes to have 
>multiple formatted fields
>
> I'm not sure, what this means. 
 

> I am also of the opinion that organizationally multi-line fields are 
> easier to manage. I know it's a personal preference or opinion but 
> sometimes I have trouble navigating particularly long list fields because 
> the data I want to manipulate, change or reorganize might be over 100 
> characters in. Some list fields when manually reorganizing can become 
> cumbersome, and this would help alleviate some of that as well.
>

There are a lot of different views, about, how to work with TW. ... Most of 
the time, it is highly depending on the user preferences and the actual 
use-case. ... We don't have a solution atm. ... 

That's the reason for this thread. I thought the format explained in the OP 
should be OK for users and it should be possible to implement it, with an 
acceptable amount of work. 
 

> In an ideal world I would love if a multi-line-field indicator was just a 
> checkbox next to the indicated field in edit mode. Then, we can default all 
> field editing to single line fields unless the user specifies otherwise. 
> There's a ton of untapped design space therein that can prevent the need 
> for "hacky" workarounds like users trying to over-utilize subtiddlers or 
> creating custom UIs.
>

That's an implementation detail, that should be doable. 

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/afade16d-6e80-4dc3-b46c-d4f9b66a3dd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread PMario
Hi Diego,

On Thursday, May 9, 2019 at 2:55:44 PM UTC+2, Diego Mesa wrote:

This is a nice idea. It also seems related to an "Advanced Edit Mode" I 
> described here: https://github.com/Jermolene/TiddlyWiki5/issues/3308
>

Good catch :)

-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/50ca736a-810b-49a7-bad7-b2dc0b67020f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread PMario
On Saturday, May 11, 2019 at 5:18:20 PM UTC+2, Jeremy Ruston wrote:
...

> If I understand the proposal correctly, the idea is that one could type 
> multiline fields into the main textarea of a tiddler with the following 
> syntax:
>
> \field my-field
> Paragraph 1
>
> Paragraph 2
> \end
>
>
Exactly.
 

> Then, when the user saves the tiddler, the content of the textarea is 
> parsed, the field value(s) extracted and saved into the tiddler in the 
> usual way. I’m assuming that the field pragma wouldn’t be replicated in the 
> text field as well as the specified field?
>

I don't want to store the content 2 times. So the permanent storage would 
be the text area. ... The wiki-store json format may only contain a 
reference, where to find the content.  

.tid file may look something like this 

title: test-tiddler
tags: a b c d
my-field: @@@my-field

\field my-field(type:binary)
0
\end

or something similar. .. Hoping that nobody starts field content with 3 @ :)


If a tiddler is saved, the fields are parsed and stored into the internal 
tiddler store. ... 

The textarea as a permanent store is needed, since the field content needs 
to survive a store-to-html / reload round-trip, which is the main problem 
atm. 
 

> Conversely, when initiating editing a tiddler, multiline fields are 
> prepended to the text of the tiddler and placed in the textarea.
>

right
 

> If I’ve got that right, my first thought is that the idea of a process to 
> convert a tiddler back and forth to a single textarea representation is 
> interesting, and doesn’t present any particular issues if it’s just a UI 
> thing.
>

I think, it's not an UI thing only, since multi line fields need to survive 
the save/reload roundtrip with HTML and the .tid file format.
 

> Re-using the pragma syntax is confusing because this “parsing” is nothing 
> to do with the main wikitext parser; perhaps it would be clearer to use an 
> extended .tid file syntax.
>

I'm sorry about this. ... I just wanted to point out. that there is some 
code, that can read the existing \define ... pragma. ... So it will be easy 
to create _new_ code the can parse the multi line definitions. ... No 
reusing of the existing mechanism involved. 

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/22d4667c-1153-4765-b595-35f830a4002d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] TiddlyWiki 5.1.19 plugin library and IP6 doesn't work

2019-05-11 Thread Jeremy Ruston
Hi ToraxMalu

I think that the problem here is that GitHub Pages (where we host 
tiddlywiki.com) doesn’t support IPv6 (I tested it at 
https://ipv6-test.com/validate.php ).

So, you’d need to host the plugin library somewhere else that does work via 
IPv6, and then create a new plugin library description tiddler along the lines 
of the existing one:

https://tiddlywiki.com/#%24%3A%2Fconfig%2FOfficialPluginLibrary 


Best wishes

Jeremy.



> On 4 May 2019, at 20:24, toraxmalu1 via TiddlyWiki 
>  wrote:
> 
> Hi,
> 
> I tested the startup of tiddly wiki in the Server-Edition (node.js) also woth 
> IP6-Adresses. Well, running on IP4-Adresses I was able to connect to the 
> plugin library.
> 
>  Starting with a 
> bind to a IP6-Adress like [::1] tiddlywiki couldn't find the plugin catalouge.
> 
> Start-Command was this this on the newest node.js-Version:
> 
> tiddlywiki wiki --server 80 "" "" "" "" "" ::1
> 
> Cheers
> 
> ToraxMalu
> 
> 
> 
> -- 
> 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/24bc720b-ef96-4fc4-a4d2-2c8ddd692c1b%40googlegroups.com
>  
> .
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/203A852A-825C-4F39-BD2F-D54C1ED2571F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Dear Tiddlywiki Group admin: please enable tags feature

2019-05-11 Thread Jeremy Ruston
Thanks Josiah, I’ve added a “tiddlydesktop” tag,

Best wishes

Jeremy

> On 6 May 2019, at 11:08, @TiddlyTweeter  wrote:
> 
> Ciao Jeremy
> 
> Request: A "TiddlyDesktop" tag would be useful!
> 
> Best wishes
> Josiah
> 
> -- 
> 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/68e97dce-f69d-4537-bbac-5ae1f0a1eb27%40googlegroups.com
>  
> .
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CB77941B-2A30-4228-9588-FF593F3085F2%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Why do Startup Actions not work?

2019-05-11 Thread Jeremy Ruston
Hi Tony

> Thanks for that overview. If would be helpful if we had a list of what is 
> valid in the existing start action tags.

Currently, startup actions are run early in the startup process, before any of 
TiddlyWiki’s subsystems are initialised apart from the $:/info mechanism. The 
idea is to be able to use environmental factors detected by the $:/info 
mechanism to control the rest of the startup process (e.g. switching language).

As I said earlier, we could add finer grained startup actions that are executed 
later in the process.

> I am keen to test and respond to content or the uri passed to tiddlywiki 
> before the final loading of default tiddlers as I imagine a lot of users 
> would, as opposed to the lower level screen size settings which are 
> undoubtedly needed.

I’d like to make it possible to customise how the location hash is handled. The 
present behaviour is hard coded, but I’ve thought for a while it would be 
useful to refactor it as a startup action that can be customised.

> Perhaps we need another set of start actions at the very end of the startup 
> process for higher level responses. I would expect these would be triggered 
> just before default tiddlers are loaded, perhaps even allowing the default 
> tiddlers to be changed. The key is acting before the user gets to act, a one 
> time trigger, for automation.

Exactly that.

> I was hoping to be able to change tiddlers, trigger a wiki save, even a 
> reload in cirtian circumstances or force a modal that must be responded to 
> before completing startup. Of course a designer may cause an infinite loop 
> but it is a risk that is needed.

Most of that goes beyond what we have at the moment, and some is quite 
challenging: for example, TW5 needs to be up and working in order to display 
modals, and so it’s hard to imagine a way in general in which we can defer 
completing startup until afterwards.

> Given tiddlywiki is a Quine some patterns will allow it to write to itself 
> then call itself. With local storage, savers and the uri from full wikis or 
> static tiddlers I think I can build a serial multi user system, a checkout 
> system even on top of the single file wiki.

It’s an interesting area to experiment.

Best wishes

Jeremy.

> 
> Regards
> 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/23a835d0-c21c-4173-8f8c-d7fb1d20e1da%40googlegroups.com.
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9AF6E7B5-A7D9-43BB-B512-2B24CC691C9F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: IDEA Multi-line Fields ... Possible implementation

2019-05-11 Thread Jeremy Ruston
Hi Mario

If I understand the proposal correctly, the idea is that one could type 
multiline fields into the main textarea of a tiddler with the following syntax:

\field my-field
Paragraph 1

Paragraph 2
\end

Then, when the user saves the tiddler, the content of the textarea is parsed, 
the field value(s) extracted and saved into the tiddler in the usual way. I’m 
assuming that the field pragma wouldn’t be replicated in the text field as well 
as the specified field?

Conversely, when initiating editing a tiddler, multiline fields are prepended 
to the text of the tiddler and placed in the textarea.

If I’ve got that right, my first thought is that the idea of a process to 
convert a tiddler back and forth to a single textarea representation is 
interesting, and doesn’t present any particular issues if it’s just a UI thing. 
Re-using the pragma syntax is confusing because this “parsing” is nothing to do 
with the main wikitext parser; perhaps it would be clearer to use an extended 
.tid file syntax.

However, your comments about re-using the wikitext parser suggest that my 
understanding is way off the mark, and you are thinking of a system where we do 
have to parse every tiddler before we can access its fields. That would have 
profound implications for almost every aspect of how TW5 works.

Best wishes

Jeremy.




> On 10 May 2019, at 05:23, Reece Shaw  wrote:
> 
> Hey y'all, RK from the discord.
> 
> I think there is a lot to be said for making (better) use of multi line 
> fields. Text area with $edit-text has always seemed like a bandaid to a 
> bigger problem with fields.
> 
> Say I'm a user trying to make use of tiddlywiki fields. Ostensibly the 
> difference between the text field and the other fields is very blurred. If I 
> want to display the text field of Tiddler1 as it's displayed when not in edit 
> mode, I'm simply using the $view widget and pointing at the desired tiddler 
> (Tiddler1). 
> 
> If I want to display the text of a user field (say, user-defined-field) and 
> format it I have to then workaround by somehow editing Tiddler1 's 
> user-defined-field while also making sure to avoid using $edit-text in a 
> manner that would cause the re-rendering issue. For a user that wants to 
> build a UI that's a complete headache. There's a lot to be said for the 
> ability to have a multi-line field that is directly attached to the tiddler 
> itself and not as a sub-tiddler
> 
> User defined fields, when made multi-line would not impact core
> We already have the capability to embed multi-line fields into a tiddler, we 
> just have to use a workaround
> list filters would become less complex when displaying multiple pieces of 
> data linked to a single tiddler provided the user wishes to have multiple 
> formatted fields
> I am also of the opinion that organizationally multi-line fields are easier 
> to manage. I know it's a personal preference or opinion but sometimes I have 
> trouble navigating particularly long list fields because the data I want to 
> manipulate, change or reorganize might be over 100 characters in. Some list 
> fields when manually reorganizing can become cumbersome, and this would help 
> alleviate some of that as well.
> 
> In an ideal world I would love if a multi-line-field indicator was just a 
> checkbox next to the indicated field in edit mode. Then, we can default all 
> field editing to single line fields unless the user specifies otherwise. 
> There's a ton of untapped design space therein that can prevent the need for 
> "hacky" workarounds like users trying to over-utilize subtiddlers or creating 
> custom UIs.
> 
> Just some thoughts...
> 
> -Reece
> 
> On Thursday, May 9, 2019 at 11:40:55 PM UTC-4, TonyM wrote:
> Mario,
> 
> There is a discussion of a use case for multi-line fields in Discord General 
> Chat with RK Shaw
> 
> This issue raises my ongoing frustration with editing fields in the current 
> tiddler. I know and have implemented the work around to make it "appear to 
> work".
> 
> We do have a work around however the cognitive load it places on the designer 
> to make it work is immense because it involves "self referential code at a 
> distance".  
> 
> It seems to me we should be able to build a mechanism to hide the complexity 
> from the designer and provide a way to appear to edit the current tiddlers 
> fields, thus empower the use of forms to be simplified.
> 
> Regards
> Tony
> 
> 
> On Thursday, May 9, 2019 at 12:56:58 AM UTC+10, PMario wrote:
> Hi Folks, 
> 
> Just reading an other thread in the group: Change initial field/textarea 
> setup .I 
> had an idea about multi line fields, which are requested here quite a bit. 
> 
> The default UI for inserting fields is a bit "heavy weight", if you have many 
> of them. AND because of the concept, how fields are stored in the html file 
> and the .tid file, it's not possible to use line breaks atm.
> 
> The idea now is, to

Re: [tw5] Re: Does TW use rel="noopener noreferrer" on wikified external links?

2019-05-11 Thread Jeremy Ruston
Hi A, Tony,

Just to confirm that TW5 does indeed add rel="noopener noreferrer” to links 
created with [ext[url]] and by typing an URL directly.

TW’s docs point to this blog post which explains why omitting this attribute 
can cause private information to be leaked:

https://mathiasbynens.github.io/rel-noopener/ 


Best wishes

Jeremy


> On 10 May 2019, at 03:34, A Gloom  wrote:
> 
> I can confirm [[name|http://domain.com/folder ]] 
> also results in rel="noopener noreferrer" being inserted 
>   
> tyvm Tony for checking
> 
> >>
> https://www.w3schools.com/html/ 
> ">Visit our HTML tutorial
> >> does not, but you can do it yourself.
> 
> yep, my html  links get it manually added after I read the advisory here - 
> https://tiddlywiki.com/#HTML%20Links%20in%20WikiText
> 
> -- 
> 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/66677ffe-9601-4a0b-878b-f4a9c8b39253%40googlegroups.com
>  
> .
> 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5DB369E3-E3C9-418B-886D-9ECF59C9287F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-05-11 Thread A Sklpns
Everyone: thank you!
Will try tiddlyserver as soon as I get home. Also: will the batch script idea 
work with TWC's? Thanks again!

-- 
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/bd8503ae-8124-42fc-8e56-0740c911e76f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Saving in chrome

2019-05-11 Thread @TiddlyTweeter
Yeah. Something like that.

Thanks for the thought. I had a look at what you can do on timing in 
Windows batch files and see its not so difficult. When I get some time I 
might play with it. It opens up being able to use others browsers with TW?

J.


On Saturday, 11 May 2019 06:45:38 UTC+2, Mark S. wrote:
>
> I image a batch file could be made that loops on itself, pausing for maybe 
> 5 minutes, and then copying over any changed file. Is that what you're 
> thinking?
>
> On Friday, May 10, 2019 at 9:49:48 AM UTC-7, @TiddlyTweeter wrote:
>>
>> I wonder if it could be honed to auto-restore?
>>
>> On Friday, 10 May 2019 18:29:27 UTC+2, Mark S. wrote:
>>>
>>> Imagine this.
>>>
>>> You start your day by double-clicking your TiddlyWiki file. It loads up 
>>> in your browser. You work throughout the day, saving the usual way. When 
>>> it's time to pack up, you double click on an icon  to transfer your data to 
>>> Google Drive, or wherever your file's home drive is.
>>>
>>> This is a method I suggested at the very start of the Foxalypse. It got 
>>> largely panned.
>>>
>>> The trick is a batch file. When you launch the batch file, it copies the 
>>> latest version of your TW file out of the download directory into it's 
>>> target, home directory.  As you work, your TW file is being saved into your 
>>> downloads directory  with names like "myTW(1), myTW(2)..." The bonus of 
>>> this approach is that you automatically have backups of every save.
>>>
>>> -- Mark
>>>
>>> On Friday, May 10, 2019 at 12:28:45 AM UTC-7, A Sklpns wrote:

 Hello TW friends.
 I am looking for a simple way to save both TW5 and TWC files under 
 Google Chrome.
 Something like the File Backups addon I use with Firefox (works great!).
 Tried the savetiddlers Chrome extension 
 (https://github.com/buggyj/savetiddlers) 
 
 but most of the time it doesn't save TW5's in a Google Drive folder 
 (insufficients permissions error)
 and it never saves TWC.
 Any ideas? Is there possibly as simple a solution for Chrome as 
 Firefox's File Backups addon?

 Thanks in advance
 sklpns

>>>

-- 
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/acd11c76-41b1-416c-b61c-377a6d0ba5d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.