#twiki 2012-10-31,Wed

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
PeterThoenytomc20922: yes, you can do that with an apache rewrite rule by changing view to viewauth
if it helps here is the rewrite i use on twiki.org to force auth if a url param is present, with exceptions:
RewriteEngine On
RewriteCond %{QUERY_STRING} !^$
RewriteCond %{QUERY_STRING} !^(slideshow=|note=|skin=text|skin=plain)
RewriteRule view/(.*) /cgi-bin/viewauth/$1
[00:34]
........................... (idle for 2h14mn)
tomc20922Thanks for the rewriter rule. I'll append it. [02:49]
................................................................................................... (idle for 8h14mn)
***[TWikiOrgBot] has quit IRC (Ping timeout: 246 seconds) [11:03]
................................................................................ (idle for 6h39mn)
ChanServ sets mode: +o PeterThoeny [17:42]
............................ (idle for 2h16mn)
morsedl3Hi Folks! After installing the BatchUploadPlugin, I'm getting "Insecure dependency in chmod while running with -T switch" after the zip file uploads.
I see that the plugin start to work, as the first file in the zip file shows up in working/work_areas, e.g. "./working/work_areas/BatchUploadPlugin/259155135/image01.png"
I'm fairly familiar with perl and taint mode, but it's not clear to me how to correct this. Any help most appreciated.
[19:58]
PeterThoeny: bump :) [20:14]
PeterThoenymorsedl3: i have not used this plugin
time to debug
[20:16]
morsedl3PeterThoeny: gotcha. thanks! [20:16]
PeterThoenya quick glance at http://svn.twiki.org/svn/twiki/trunk/BatchUploadPlugin/lib/TWiki/Plugins/BatchUploadPlugin.pm
there is no name validation and taint check done
i invite you to submit a patch
or better yet, request svn commit access
so that you can work directly in the repository
related link:
http://twiki.org/cgi-bin/view/Plugins/ReadmeFirst
[20:18]
morsedl3K, will do. I presume I would do that with the plugin author, correct? I do I request that from you? [20:20]
PeterThoenyhttp://twiki.org/cgi-bin/view/Plugins/PluginsInSubversion [20:20]
morsedl3Again, thanks, and will do. [20:20]
PeterThoenysee "request checkin rights to the subversion repository" link in the second url
just checked http://twiki.org/cgi-bin/view/Plugins/BatchUploadPlugin
it has modification policy PleaseFeelFreeToModify, so yes...
[20:20]
morsedl3PeterThoeny: While I've got you: I don't really need this plugin this instant if I can simply copy files to the appropriate twiki/pub/<topic> dir. But I notice that all files created in /pub seem to have RCS files as well (i.e., ,v extension). So, I'm a bit hesitant to copy files there. I suppose I could do an RCS ci on each, but that seems like a bad idea outside the TWiki itself.
So, IOW, is it required that every file in twiki/pub/<topic> have an associated RCS file? Or will Twiki simply create it later if needed?
[20:23]
PeterThoenytwiki allows files without ,v files as attachments [20:24]
morsedl3OK, perfect, thanks. I'll do that for now and in a few hours I'll tackle getting the BatchUploadPlugin corrected. [20:25]
PeterThoenybut if you simply copy files to the relevant location on the shell level you will miss the attachment meta data in the topic (name, size, comment, user, date), and attachments are not queryable
how big is your twiki deployment?
[20:25]
morsedl3ah, ok, that's not so great...
small, 10 users.
i'll just tackle the plugin first, since that's the "right" way to go about it
[20:26]
PeterThoenysorry, gotta run... [20:34]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)