[moin-devel] moin2 questions
Thomas Waldmann
tw at waldmann-edv.de
Tue Jun 22 08:52:54 EDT 2021
Hi Kent,
> Anyone? Did the message below go thru?
Yes, it went through.
> Asking because the archive
> doesn’t show it: https://mail.python.org/pipermail/moin-devel
> <https://mail.python.org/pipermail/moin-devel>.
Not sure how / how often the archive is updated.
>> 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.
>> 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.py
As 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.
>> 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.
Theoretically you could also use any of the existing *_out converters to
create any format you like - but there is no ready-to-use code for that
kind of dump yet.
https://github.com/moinwiki/moin/tree/master/src/moin/converters
>> 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.
Cheers, Thomas
--
GPG ID: 9F88FB52FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393
More information about the moin-devel
mailing list