Yay, this is something I have been looking forward to, although I was totally unaware you were actually doing it. The thought of setting up routes as modules has always intrigued me, although I have focused my energies elsewhere.
On Fri, Jun 22, 2018 at 5:36 PM Jeremy Ruston <[email protected]> wrote: > For the last couple of days I’ve been working on a major refactoring of > the web server functionality of TiddlyWiki 5 — it’s the part that lets you > access Node.js wikis from any browser. The work was motivated by > consultancy work I’m engaged on, and builds on some initial work done by > Devin Weaver back in 2016. > > https://github.com/Jermolene/TiddlyWiki5/pull/2679 > > The improvements that are implemented so far include: > > * Refactoring routes as separate modules, making it easier to extend the > server with new functionality > * A new module for serving static file attachments over HTTP > * Adding support for authentication via a trusted header, making it easier > to integrate with corporate single sign on (and Windows authentication) > * A new option for outputting additional debugging information > * Deprecating the existing “—server” command in favour of a new “—listen” > command that uses a newly implemented command line feature for named > parameters that can be specified in any order: > > --listen host:1270.0.0.1 port:8080 pathPrefix:/Total > > Improvements I’m currently working on: > > * Adding support for multiple user credentials for basic authentication > via a CSV file containing usernames/passwords > * Adding support for more fine grained authorisation (ie granting/denying > individual users read/write permission to resources) > > There’s quite a lot of significant new functionality, so I wanted to bring > it up here because this is a good time for questions and suggestions. > > (Just to clear, at this point I’m not planning to make any changes to the > tiddlywebadaptor client that runs in the browser talking to the server; > this round of work is just about enhancing the server). > > Best wishes > > Jeremy. > > -- > 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 https://groups.google.com/group/tiddlywikidev. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/953D329D-CFAC-455A-9DC1-336CB610BC45%40gmail.com > <https://groups.google.com/d/msgid/tiddlywikidev/953D329D-CFAC-455A-9DC1-336CB610BC45%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/CAJ1vdSTDmxWJ%2BDVynGJ2VKuxavhUfTBA8amL3zW2hVrm250Xjw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
