From james.wagner at verizon.com Fri Oct 2 12:38:38 2020 From: james.wagner at verizon.com (james.wagner at verizon.com) Date: Fri, 2 Oct 2020 16:38:38 +0000 Subject: [moin-user] Looking for MiniPage macro for Moin 1.9 Message-ID: <4f17ab1d1e324bab9d2e766627f8f077@scwexch17apd.uswin.ad.vzwcorp.com> The MiniPage macro is no longer working for us in all instances. Googling around I determine I need the version compatible with 1.9. I went to http://moinmo.in/MacroMarket/MiniPage and the download section shows a number of versions; all which are attachments to the page, except for the 1.9 version. That points to an external site. When I click on that, going to http://hg.moinmo.in/moin/extensions/file/tip/data/plugin/macro/MiniPage.py I get a "502 Bad Gateway" error. Does anyone know where I can get this version of the MiniPage macro? It is my understanding I'm getting this error due to some issues with the parameter parsing. My SystemInfo is: Python Version: 2.7.5 MoinMoin Version: 1.9.10 The last version in MiniPage.py is: Version 1.8.4-6 refactored for 1.8.4 added parameter escaping I'd appreciate a pointer to the newer version, or given the macro isn't that much code if someone knows "Oh, you just change line X from to ", that would work too. :) Thanks much, James. From paul at boddie.org.uk Fri Oct 2 16:34:09 2020 From: paul at boddie.org.uk (Paul Boddie) Date: Fri, 02 Oct 2020 22:34:09 +0200 Subject: [moin-user] Looking for MiniPage macro for Moin 1.9 In-Reply-To: <4f17ab1d1e324bab9d2e766627f8f077@scwexch17apd.uswin.ad.vzwcorp.com> References: <4f17ab1d1e324bab9d2e766627f8f077@scwexch17apd.uswin.ad.vzwcorp.com> Message-ID: <1886408.az6OjtzN2A@jason> On Friday, 2 October 2020 18:38:38 CEST James J Wagner via moin-user wrote: > The MiniPage macro is no longer working for us in all instances. Googling > around I determine I need the version compatible with 1.9. I went to > http://moinmo.in/MacroMarket/MiniPage and the download section shows a > number of versions; all which are attachments to the page, except for the > 1.9 version. That points to an external site. When I click on that, going > to > http://hg.moinmo.in/moin/extensions/file/tip/data/plugin/macro/MiniPage.py > I get a "502 Bad Gateway" error. Does anyone know where I can get this > version of the MiniPage macro? At some point, the MoinMoin repositories were migrated to Git, largely for the usual reasons about Git's supposed popularity, it being more likely to get people to contribute, and so on. In practice, what this means is that you now need to look here for various Moin-related things: https://github.com/moinwiki However, the extensions repository, which may have been more Reimar's work than Thomas's (or at least the code I was using from it was being maintained by Reimar), doesn't appear to be on GitHub even amongst Reimar's repositories: https://github.com/ReimarBauer?tab=repositories Despite all this, the original repository page referenced above is archived: https://web.archive.org/web/20140915221259/http://hg.moinmo.in/moin/ extensions/file/tip/data/plugin/macro/MiniPage.py So maybe this might help. > It is my understanding I'm getting this error due to some issues with the > parameter parsing. My SystemInfo is: > > Python Version: 2.7.5 > MoinMoin Version: 1.9.10 > > The last version in MiniPage.py is: Version 1.8.4-6 refactored for 1.8.4 > added parameter escaping > > I'd appreciate a pointer to the newer version, or given the macro isn't that > much code if someone knows "Oh, you just change line X from to > ", that would work too. :) I did check to see if my ancient clone of the repository might have had some useful code, but it seems to be too ancient. Paul P.S. If you're using MiniPage as a workaround for the limited built-in Moin table parser, there is always this alternative table parser I wrote quite some time ago: https://moinmo.in/ParserMarket/ImprovedTableParser From james.wagner at verizon.com Fri Oct 2 19:36:00 2020 From: james.wagner at verizon.com (james.wagner at verizon.com) Date: Fri, 2 Oct 2020 23:36:00 +0000 Subject: [moin-user] [E] Re: Looking for MiniPage macro for Moin 1.9 In-Reply-To: <1886408.az6OjtzN2A@jason> References: <4f17ab1d1e324bab9d2e766627f8f077@scwexch17apd.uswin.ad.vzwcorp.com> <1886408.az6OjtzN2A@jason> Message-ID: Thank you so much. I followed the url mentioned under: Despite all this, the original repository page referenced above is archived: which took me to the extensions area but I couldn't drill down into it and find the macro. However, once I entered the full url in the search box it was there: http://hg.moinmo.in/moin/extensions/file/tip/data/plugin/macro/MiniPage.py Here is the full url: https://web.archive.org/web/20140915221259/http://hg.moinmo.in/moin/extensions/file/tip/data/plugin/macro/MiniPage.py I copied this to my macro area and the macro now works. James. -----Original Message----- From: moin-user [mailto:moin-user-bounces+james.wagner=verizon.com at python.org] On Behalf Of Paul Boddie Sent: Friday, October 02, 2020 2:34 PM To: moin-user at python.org Subject: [E] Re: [moin-user] Looking for MiniPage macro for Moin 1.9 On Friday, 2 October 2020 18:38:38 CEST James J Wagner via moin-user wrote: > The MiniPage macro is no longer working for us in all instances. Googling > around I determine I need the version compatible with 1.9. I went to > https://urldefense.proofpoint.com/v2/url?u=http-3A__moinmo.in_MacroMarket_MiniPage&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=bxyINmqPzd-hmPWifumsmMtaY_fYFEoJjlxCXtOFXo8&s=f-ijgyPD0MeEo4H0yd9O4mLx-HlD0uLXRrbUhUXyqto&e= and the download section shows a > number of versions; all which are attachments to the page, except for the > 1.9 version. That points to an external site. When I click on that, going > to > https://urldefense.proofpoint.com/v2/url?u=http-3A__hg.moinmo.in_moin_extensions_file_tip_data_plugin_macro_MiniPage.py&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=bxyINmqPzd-hmPWifumsmMtaY_fYFEoJjlxCXtOFXo8&s=yycQuRLFSU8puvIm-5OoJWmxJhK3ux1uM7QEbJKiOwU&e= > I get a "502 Bad Gateway" error. Does anyone know where I can get this > version of the MiniPage macro? At some point, the MoinMoin repositories were migrated to Git, largely for the usual reasons about Git's supposed popularity, it being more likely to get people to contribute, and so on. In practice, what this means is that you now need to look here for various Moin-related things: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_moinwiki&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=bxyINmqPzd-hmPWifumsmMtaY_fYFEoJjlxCXtOFXo8&s=dEhgdKOh8SDeqIorlTUQN5BVDnAxUNucFOTGA9O3KVI&e= However, the extensions repository, which may have been more Reimar's work than Thomas's (or at least the code I was using from it was being maintained by Reimar), doesn't appear to be on GitHub even amongst Reimar's repositories: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ReimarBauer-3Ftab-3Drepositories&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=bxyINmqPzd-hmPWifumsmMtaY_fYFEoJjlxCXtOFXo8&s=WWhnQFm7QCq9cuun6ZjkNVvWCWxz6RC-UPj6Hoj9eL8&e= Despite all this, the original repository page referenced above is archived: https://urldefense.proofpoint.com/v2/url?u=https-3A__web.archive.org_web_20140915221259_http-3A__hg.moinmo.in_moin_&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=bxyINmqPzd-hmPWifumsmMtaY_fYFEoJjlxCXtOFXo8&s=rwdWNrh7YkUZdQKTi9RJCBOrEw62nuJqJi2_mysTWm4&e= extensions/file/tip/data/plugin/macro/MiniPage.py So maybe this might help. > It is my understanding I'm getting this error due to some issues with the > parameter parsing. My SystemInfo is: > > Python Version: 2.7.5 > MoinMoin Version: 1.9.10 > > The last version in MiniPage.py is: Version 1.8.4-6 refactored for 1.8.4 > added parameter escaping > > I'd appreciate a pointer to the newer version, or given the macro isn't that > much code if someone knows "Oh, you just change line X from to > ", that would work too. :) I did check to see if my ancient clone of the repository might have had some useful code, but it seems to be too ancient. Paul P.S. If you're using MiniPage as a workaround for the limited built-in Moin table parser, there is always this alternative table parser I wrote quite some time ago: https://urldefense.proofpoint.com/v2/url?u=https-3A__moinmo.in_ParserMarket_ImprovedTableParser&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=bxyINmqPzd-hmPWifumsmMtaY_fYFEoJjlxCXtOFXo8&s=ox2sSG9RoARAVIeySiOv1uEK71tMjv2bKkmtBDUPgbg&e= _______________________________________________ moin-user mailing list moin-user at python.org https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.python.org_mailman_listinfo_moin-2Duser&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=bxyINmqPzd-hmPWifumsmMtaY_fYFEoJjlxCXtOFXo8&s=yejW-aM8OkxVFvushRUDqmJkBoseMFKzuIfnyy43E9E&e= From james.wagner at verizon.com Tue Oct 13 14:43:51 2020 From: james.wagner at verizon.com (james.wagner at verizon.com) Date: Tue, 13 Oct 2020 18:43:51 +0000 Subject: [moin-user] [E] Re: Looking for MiniPage macro for Moin 1.9 In-Reply-To: <6e6757929bfa4cfba06152848d36d253@scwexch17apd.uswin.ad.vzwcorp.com> References: <4f17ab1d1e324bab9d2e766627f8f077@scwexch17apd.uswin.ad.vzwcorp.com> <1886408.az6OjtzN2A@jason> <20201003151503.24943871@erker.lan> <6e6757929bfa4cfba06152848d36d253@scwexch17apd.uswin.ad.vzwcorp.com> Message-ID: <7d08e469996042e18a5984a0ce9835d7@scwexch17apd.uswin.ad.vzwcorp.com> Resending with the correct moin-user address. James. -----Original Message----- From: Wagner, James J Sent: Tuesday, October 13, 2020 12:42 PM To: Lars Kruse ; "moin-user at python.org\" "@mx0a-0024a201.pphosted.com Cc: Wagner, James J Subject: RE: [moin-user] [E] Re: Looking for MiniPage macro for Moin 1.9 Lars, I know it looks like the version contained in the link is older, but it is the version that works. The original version I had was the 1.8.4-6 version: MODIFICATION HISTORY: Version 1.3.3-1 Version 1.3.3-2 Updated for Moin1.6 Version 1.6.0-3 refactored Version 1.7.1-5 refactored for 1.7 Version 1.8.4-6 refactored for 1.8.4 added parameter escaping @copyright: 2005-2008 by Reimar Bauer (R.Bauer at fz-juelich.de) @copyright: 2011 by Remco Boerma (r.boerma at drenthecollege.nl) @license: GNU GPL, see COPYING for details. and that is the version that did _now_ work with 1.9. I think it is because of the escaping. The much smaller version, without the escape code works. Just to verify, I've copied the version that works here. Thanks, James. # -*- coding: iso-8859-1 -*- """ MoinMoin - MiniPage Macro This macro is used to write multi line markup into a table. Add a linefeed for a new line e.g. ||Buttons ||<><>|| ||Section ||<><>|| @copyright: 2005-2012 by MoinMoin:ReimarBauer @license: GNU GPL, see COPYING for details. """ from MoinMoin import wikiutil def execute(macro, text): request = macro.request text = ''.join(text) text = text.replace('\\n', '\n') Parser = wikiutil.searchAndImportPlugin(request.cfg, "parser", request.page.pi['format']) return wikiutil.renderText(request, Parser, text) -----Original Message----- From: Lars Kruse [mailto:lists at sumpfralle.de] Sent: Saturday, October 03, 2020 7:15 AM To: Wagner, James J ; "moin-user at python.org\" "@mx0a-0024a201.pphosted.com Subject: Re: [moin-user] [E] Re: Looking for MiniPage macro for Moin 1.9 Hello James, Am Fri, 2 Oct 2020 23:36:00 +0000 schrieb James J Wagner via moin-user : > Here is the full url: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__web.archive.org_web_20140915221259_http-3A__hg.moinmo.in_moin_extensions_file_tip_data_plugin_macro_MiniPage.py&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=LE6JyEfrStdJBZTVmVs8VP5WNeicHGo6xl_1aP2rCTA&s=16Hq146sTAmNdxP-jPq_MNaUJbqj3_0t8m3QfWfqIoQ&e= > > > I copied this to my macro area and the macro now works. I was tempted to update the MiniPage download link [1], but I noticed that the above links seems to contain a smaller/older version of the plugin, compared to MiniPage-1.8.4-6.py [2]. At least it lacks a part of the documentation header and one line regarding escaping of special characters. Thus I would suggest to simply remove the first line from the download table [1] and mention the compatibility of MiniPage-1.8.4-6.py with moinmoin 1.9. @James: could you please verify, that MiniPage-1.8.4-6.py [2] also works for you? Cleaning up the outdated link would probably be helpful for others. Cheers, Lars [1] https://urldefense.proofpoint.com/v2/url?u=https-3A__moinmo.in_MacroMarket_MiniPage&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=LE6JyEfrStdJBZTVmVs8VP5WNeicHGo6xl_1aP2rCTA&s=qtGeApMZpnXvoQuHKiZLWQK552EDfwiQqnAy4r41FDg&e= [2] https://urldefense.proofpoint.com/v2/url?u=https-3A__moinmo.in_MacroMarket_MiniPage-3Faction-3DAttachFile-26do-3Dview-26target-3DMiniPage-2D1.8.4-2D6.py&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=1yO6HiBOn7V7BOkEODddd1LJlH3stVIUtVM6286z-9A&m=LE6JyEfrStdJBZTVmVs8VP5WNeicHGo6xl_1aP2rCTA&s=_GP5s4O0eJsv5fi0hppskm7vzbBIdTv6kdF1XG3Gkm8&e= From tw at waldmann-edv.de Mon Oct 26 17:45:33 2020 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Mon, 26 Oct 2020 22:45:33 +0100 Subject: [moin-user] Help testing moin 1.9.11 Message-ID: <138bfaa1-1bc0-1542-edff-915e0bac7b82@waldmann-edv.de> I'll make a new MoinMoin Wiki maintenance release (with updates and critical security fixes) soon and would appreciate independent testing beforehands, see there: https://github.com/moinwiki/moin-1.9/issues/68 If you use moin 1.9 or if you maintain a distribution package, please help testing. -- GPG ID: 9F88FB52FAF7B393 GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393 From lists at sumpfralle.de Tue Oct 27 19:15:57 2020 From: lists at sumpfralle.de (Lars Kruse) Date: Wed, 28 Oct 2020 00:15:57 +0100 Subject: [moin-user] Help testing moin 1.9.11 In-Reply-To: <138bfaa1-1bc0-1542-edff-915e0bac7b82@waldmann-edv.de> References: <138bfaa1-1bc0-1542-edff-915e0bac7b82@waldmann-edv.de> Message-ID: <20201028001557.12a233a5@erker.lan> Hello Thomas, Am Mon, 26 Oct 2020 22:45:33 +0100 schrieb Thomas Waldmann : > I'll make a new MoinMoin Wiki maintenance release [..] this is great - thank you! > If you use moin 1.9 or if you maintain a distribution package, please > help testing. I use the Debian package (1.9.9-1) in multiple environments and I would be glad to help with testing. In order to test the changes since 1.9.9, I quickly tried to generate a patch suitable for the Debian packaging: git diff 1.9.9.. -- $(find MoinMoin -type f | grep -vE "^MoinMoin/(support/pygments|web/static/htdocs/applets/FCKeditor|support/werkzeug|support/parsedatetime|support/passlib)" | grep -v "/_tests/") (the excluded files are not part of the Debian package) But the above changeset fails to apply cleanly. This is probably caused by patches included in the Debian package. Cleaning up these collisions manually seems to be doable (only a few files), but before I do this, I would like to hear opinions, whether this approach would be useful at all. I could imagine that the changes regarding the expected 3rd party tools (e.g. werkzeug) could break MoinMoin when being used with the version of werkzeug packaged for Debian stable (Buster). In this case, my attempt would be futile, anyway. I would appreciate any hints, how I could test the changes in an environment using the Debian package of MoinMoin. (but maybe this is just not feasible ...) Cheers, Lars