From kent+moin at watsen.net Mon Jun 21 08:02:16 2021 From: kent+moin at watsen.net (Kent Watsen) Date: Mon, 21 Jun 2021 12:02:16 +0000 Subject: [moin-devel] moin2 questions In-Reply-To: References: <0100017a2935df8f-92199976-ed40-4547-9cf8-aca6dae88997-000000@email.amazonses.com> Message-ID: <0100017a2e73259d-eff64159-99d8-4c34-b5d3-0a513caca318-000000@email.amazonses.com> First time poster here, though I did significant development work on Moin2 a couple years ago (e.g., the ?ItemPageList? macro and the ?Dokunized? theme). I had to put my dev activities on the back-burner, but? I'm now beginning a new site and I think Moin2 might be a good fit, but have three questions (to determine how much code I need to write to make things work): 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.] 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? 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? Thanks, Kent -------------- next part -------------- An HTML attachment was scrubbed... URL: From kent+moin at watsen.net Tue Jun 22 07:40:48 2021 From: kent+moin at watsen.net (Kent Watsen) Date: Tue, 22 Jun 2021 11:40:48 +0000 Subject: [moin-devel] moin2 questions In-Reply-To: <0100017a2e73259d-eff64159-99d8-4c34-b5d3-0a513caca318-000000@email.amazonses.com> References: <0100017a2935df8f-92199976-ed40-4547-9cf8-aca6dae88997-000000@email.amazonses.com> <0100017a2e73259d-eff64159-99d8-4c34-b5d3-0a513caca318-000000@email.amazonses.com> Message-ID: <0100017a3385da96-51c6ad29-4305-4dd2-a7cb-80035a32ad83-000000@email.amazonses.com> Anyone? Did the message below go thru? Asking because the archive doesn?t show it: https://mail.python.org/pipermail/moin-devel . K. > On Jun 21, 2021, at 8:02 AM, Kent Watsen wrote: > > First time poster here, though I did significant development work on Moin2 a couple years ago (e.g., the ?ItemPageList? macro and the ?Dokunized? theme). I had to put my dev activities on the back-burner, but? > > I'm now beginning a new site and I think Moin2 might be a good fit, but have three questions (to determine how much code I need to write to make things work): > > 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.] > > 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? > > 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? > > > Thanks, > Kent > > _______________________________________________ > moin-devel mailing list > moin-devel at python.org > https://mail.python.org/mailman/listinfo/moin-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasper.olbrich at posteo.de Tue Jun 22 08:03:30 2021 From: jasper.olbrich at posteo.de (Jasper Olbrich) Date: Tue, 22 Jun 2021 12:03:30 +0000 Subject: [moin-devel] moin2 questions In-Reply-To: <0100017a3385da96-51c6ad29-4305-4dd2-a7cb-80035a32ad83-000000@email.amazonses.com> References: <0100017a2935df8f-92199976-ed40-4547-9cf8-aca6dae88997-000000@email.amazonses.com> <0100017a2e73259d-eff64159-99d8-4c34-b5d3-0a513caca318-000000@email.amazonses.com> <0100017a3385da96-51c6ad29-4305-4dd2-a7cb-80035a32ad83-000000@email.amazonses.com> Message-ID: <598e5b78-c532-bfff-df27-d27d19875f0b@posteo.de> On 22.06.21 13:40, Kent Watsen wrote: > Anyone? ? Did the message below go thru? Yes. >> On Jun 21, 2021, at 8:02 AM, Kent Watsen > 2. Can Moin export all its data into a hierarchy of text-files? Isn't this exactly how moin stores the pages on disk? I assume a little shell scripting should do the trick (i.e. picking the last revision of each page). -- Jasper From tw at waldmann-edv.de Tue Jun 22 08:52:54 2021 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Tue, 22 Jun 2021 14:52:54 +0200 Subject: [moin-devel] moin2 questions In-Reply-To: <0100017a3385da96-51c6ad29-4305-4dd2-a7cb-80035a32ad83-000000@email.amazonses.com> References: <0100017a2935df8f-92199976-ed40-4547-9cf8-aca6dae88997-000000@email.amazonses.com> <0100017a2e73259d-eff64159-99d8-4c34-b5d3-0a513caca318-000000@email.amazonses.com> <0100017a3385da96-51c6ad29-4305-4dd2-a7cb-80035a32ad83-000000@email.amazonses.com> Message-ID: 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 > . 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