I'm now beginning a new site and I think Moin2 might be a good fit,
Well, moin2 is not released yet, so only use it if you can care yourself for all potential issues.
Also, better try out the stuff first, you can use a local developer setup for that.
I know, same as two years ago when I first started using moin2, which is still going strong :)
1. Can Moin leverage _existing_ "Basic" auth?
* Assuming the Moin URL is underneath another URL protected by
an htpasswd file (i.e., the "Authorization: Basic” HTTP header
is present)
* *And* assuming that the users in the htpasswd file are exactly
the same as known by Moin’s database...
* Is it possible to get Moin to accept this authentication token
without requiring another authentication?
* [I understand that some hackery will be required to ensure a
“password-change” inside Moin is reflected back into the
htpasswd file, but that’s not what this question is about.]
https://github.com/moinwiki/moin/blob/master/src/moin/auth/http.pyAs you see there, if it receives an existing auth header and that works to establish a moin user (username + password must match), it will not request http basic auth by itself, but just use the existing auth.
So, it should work.
Yes it does. It took me a little bit to realize I needed an "auth = [HTTPAuthMoin(autocreate=False)]” line in my wikiconfig.py file.
BTW, I think that all the examples in docs/admin/configure.rst that have the line:
from MoinMoin.auth import FooBar
Should be updated to say:
from moin.auth import FooBar
Yes? Just let me know as I’m prepping a PR with a few other doc tweaks...
2. Can Moin export all its data into a hierarchy of text-files?
* I have a requirement to be able to export the entire system
* A “print” might be acceptable...
* ...but I think that the goal is more for a “raw" view (e.g.,
Markdown)
* Metadata can be discarded, but some (e.g., ACLs) would be nice.
* Anything like this?
https://github.com/moinwiki/moin/blob/master/src/moin/scripts/maint/dump_html.py
This can be used to make a html dump.
Good to know something is there, but `./m dump-html` throws an exception on both my new test system and my two-year old "production” (home-use only) system...
Also good to know that building blocks exist; “markdown_out.py” looks particularly useful.
3. Does Moin support any adaptive-streaming audio/video players
(e.g., Video.JS)?
* This should be an easy “add" if not, but figured I’d ask…
Moin can render audio/video using the html5 tags, but that is rather simple. Not sure what you mean with adaptive-streaming.
From the server’s POV, supporting adaptive streaming really boils down to:
1) preprocess raw media to a few “streaming" formats (e.g., mp4, webm)
2) tweak the HTML returned to include a ‘link’ in <head> and a “script” in <body>
Kent