Hi Jeremy,

Firstly, I strongly advise that the best way to add authentication to TW5 
> is via a proxy that couples at the HTTP level, rather than the sort of 
> JavaScript integration that you're looking at here.
>

Conceptually, how would that work? If TW5 is serving on port 8080 and my 
authenticated proxy on port 80, could the proxy not be bypassed? I tried 
reverse engineering another proxy, but had no luck. I'm willing to give 
this another go, however.
 

> Anyhow, the most flexible way to use off-the-shelf library modules within 
> TiddlyWiki5 is to wrap the module up into a plugin. You can see several 
> examples of this within the plugins folder of the TW5 repo - 
> https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki
>

Thanks - that's very useful. I'll investigate this.

It's much easier to help if I can see what you've done. If you know GitHub, 
> the easiest way is for you to fork the tw5 repo, and then make changes to 
> your local fork. It's easy to then review the changes, and to pull in 
> subsequent changes from the tw5 repo.
>

Great - when I work out how to use GitHub, I'll do that.

Best wishes,

Javid

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to