#foswiki 2013-05-24,Fri

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

WhoWhatWhen
***gac410 has left [03:47]
............... (idle for 1h14mn)
igyc has left [05:01]
.... (idle for 17mn)
igyc has left [05:18]
.... (idle for 19mn)
MichaelDaum_ is now known as MichaelDaum
ChanServ sets mode: +o CDot
[05:37]
.......................... (idle for 2h9mn)
SvenDowideitwell. looks like CGI.pm will be removed from Perl in about 12 months time [07:47]
CDotSvenDowideit: interesting; replaced with what? If anything? [07:49]
SvenDowideitno
they're working to reduce the number of unmaintained crud things in perl
and as most perl installs don't need cgi
[07:49]
CDotok; so they will simply remove it, and chop the knees out from under anyone using it? Sounds like perl. [07:50]
SvenDowideityup [07:52]
jastbut it'll still be on CPAN !!11! [07:52]
SvenDowideitmind you, who the heck is silly enough to still use it :)
even crufty old me uses plack for foswiki
apparently it was only in core because it was in perl 4 when there was no cpan, so all libs were in core
which is some ancient history thing i only used for a few years
[07:52]
.... (idle for 18mn)
MichaelDaumdid they follow any deprecation process for CGI that I did not notice ... (and would never have noticed)
plack is the right thing to do ... if done properly, that is without a cgi wrapper.
the biggest obstacle for foswiki is its configure app
[08:12]
...... (idle for 27mn)
PeterSvendsenHi all, if I have a foswiki installed on a server and want a secound foswii to work beside the first one.... how much is needed? [08:41]
jastbasically just the appropriate web server config [08:42]
PeterSvendsenI tried to do a copy of the existing yesterday and changing the localsite yesterday and config... but seems not to work..... both are located under the www directory :/ [08:43]
FloPriWhen i force Statistics from my browser with /bin/statistics/Home i get : statistics script can only be called with POST method
i upgraded my wiki. any ideas were to look, or what i have to update
[08:45]
PeterSvendsendo we know if it is possible to have 2 foswiki installations running at the same time at the same server? [08:54]
CDotPeterSvendsen: yes of course. There are even extensions to help you manage it.
FloPri: you must either call the statistics script with a POST request (i.e. via a form submission), or it can be invoked from the command-line.
[08:56]
PeterSvendsen@CDot thanks... which extention is it.. then I'll try that....
So far I have not been so luckey with it...
[08:58]
FloPriCDot: thx found SiteToolStatistics. now i know how to [09:11]
........ (idle for 36mn)
***ChanServ sets mode: +o SvenDowideit [09:47]
.... (idle for 17mn)
PeterSvendsenThere should exists an extention that should help managing 2 foswiki installations.... any idea what the name is? [10:04]
jastthere's VirtualHostingContrib for hosting an arbitrary number of wikis with one foswiki core
for two wikis it might be overkill, though
[10:10]
PeterSvendsenthanks jast :) [10:14]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/qI3xjA
foswiki/master dc9dd76 MichaelDaum: Item12062:Item12481:...
[10:24]
***GithubBot has left [10:24]
FoswikiBothttp://foswiki.org/Tasks/Item12062 [ Item12062: oopsleaseconflict error in encoding parameters and doesn't accommodate redirectto ] http://foswiki.org/Tasks/Item12481 [ Item12481: working towards 4.0 final ] [10:24]
MichaelDaumtwo separate foswiki installs on the same server is already overkill
using VirtualHostingContrib is comparably simple
you'll notice when installing YAPI (yet another plugin) ... in two places
[10:24]
jast*iff* you want the same plugins in both
but the only case in which VHC is completely out of the question is if you want different versions of the same plugin on two wikis
or if an extension overwrites core stuff that you don't want overwritten in one of the wikis
[10:34]
MichaelDaum... a maintenance nitemare [10:43]
............. (idle for 1h1mn)
andreliHello. We are observing a problem with ImageGalleryPlugin!
ImageGalleryPlugin seem not to update thumbnails when a topic gets called with GET parameter 'refresh=on'
Can somebody please confirm whether this is just us or known to ImageGalleryPlugin Version 6.10?
[11:44]
PeterSvendsen@MichaelDaum If I should have 2 sites running seperate how would you solve it? [11:49]
MichaelDaumPeterSvendsen, I'd always use VirtualHostingContrib as long as the two sites can run from the same code base.
server resources will be used a lot better with less idle processes hanging around
[11:50]
PeterSvendsen@MichaelDaum okay thanks.... is it easy to setup... for a newbie? [11:51]
MichaelDaumtakes a bit of reading up the docu. but then its just fine. see this best practice page http://foswiki.org/Support/LighttpdBestPractice [11:52]
jastI'd say a fair bit of experience with your web server is pretty much required [11:54]
andreli@MichaelDaum: Before I file a bugreport, does 'refresh=on' refresh ipg_... thumbnail files? [11:57]
MichaelDaumandreli, ... as does refresh=img in both ImageGalleryPlugin and ImagePlugin [11:58]
PeterSvendsen@MichaelDaum okay thanks.... I have a foswiki installed and it works.... can I start with that one or do I need to restart my whold installation? [11:58]
MichaelDaumPeterSvendsen, you'll need to rearange the data and pub directories according to the docu of VirtualHostingContrib [11:59]
PeterSvendsenokay :)
thanks
[11:59]
MichaelDaumsee the LighttpdBestPractice page.
this is a complete virtual hosting solution for foswiki based in Lighttpd
andreli, there are a couple of factors why you don't see an update. most probably you are suffering from client side caching.
[12:00]
andreli@MichaelDaum: Does the whole thumbnail refresh depend on some config switch? [12:01]
MichaelDaumno [12:02]
andreliClient cache can not be the problem. I'm checking directly on the file system [12:02]
MichaelDaumanother common gotcha is when loading parts of a page async'li using jquery.loader. the ajax request does not inherit the refresh=img url param from the main page. [12:03]
andreliSo, TopicInteraction Plugin does not update thumbnails then? [12:04]
MichaelDaumnother gotcha is LazyLoadPlugin [12:04]
andreliNo LazyLoadPlugin here [12:04]
MichaelDaumwhat exatly are you testing? [12:04]
andreliBasically: Thumbnails in TopicInteraction attachement lists or in category overviews are wrong.
Instead of a thumbnail we get an image crop of the top left corner
[12:05]
MichaelDaumah okay
now that's a known problem of imagemagick on redhat and suse
they can't crop properly
try this: edit templates/metadata.tmpl and remove the crop="northwest" param in the attachments::thumbnail tmpl::def ... even better create a skin overlay redefining it
[12:07]
andreliOk, but even if crop would be the problem, refresh=on should refresh, no matter crop or resize? [12:10]
MichaelDaumyes
try to load the resize rest handler as defined in attachments::thumbnai in a separate browser tab for testing purposes
also: check your system clock
or any ntpdate daemon that recently turned back the clock using a high offset
[12:10]
andreliThanks for all your valuable ideas. But keep in mind, that newly uploaded images get the correct thumbnail, just old thumbnails get not refreshed [12:12]
MichaelDaumplease, how can I reproduce it. any step by step explanation of what you are doing will help.
try on demo.michaeldaumconsulting.com as well
[12:13]
andreliI fear I can't play with the clock on the server. I will loose contact to the file system
Oh, my test is simple. I would like to see foswiki create the ipg_ prefixed file new.
[12:13]
MichaelDaumI can confirm the problem
and yes TopicInteractionPlugin loads the list of attachments in a separate rest call
this is a bug
the hash of the igp_xxx file isn't recomputed based on sufficient properties to trick work around client side caching
here's how to see the effect: (1) upload a test_image.png (2) upload a different image under the same name or rename an existing png to the same name (3) you'll see the wrong thumbail (4) pick the igp_ img url and load it into a separate tab (5) force-reload the image -> the image changes to the correct thumbnail as stored on the server
this has got nothing to do with the refresh=on url parameter
the error is that the igp_xxx hash is to coarse-grained. it could add the filesize to the calculation and be fine
andreli, what do you think?
[12:17]
foswiki_irc3Hi @all :)
my issue: I am looking for a date picker. i would like to create a html form with a input for a date
[12:21]
andreli@MichaelDaum: Oh, I'm not sure we are talking about the same thing. I want my thumbnails to get updated without uploading a new file. [12:23]
foswiki_irc3but the users type sometimes different time formats into the field. So, my request is to have a date picker. within the form-data edit there is a nice one. for topic view as well? [12:24]
MichaelDaumandreli, then what _are_ you testing? [12:24]
andreliOnly some of the thumbnails are wrong. Newly uploaded files get a right thumbnail. But how do I update the old wrong thumbnails? [12:25]
MichaelDaumsee point (2) in my how-to-repro
is that an accurate description of what _you_ are doing to get the effect?
[12:25]
andreliOf course, I could delete all igp_ files and they will created new, but we mashed some content together and are using foswiki thumbnails outside the wiki. This would not trigger a new creation! [12:27]
MichaelDaumthe server already _did_ create a new igp_ file
using the same thumbnail file name for a different image
so the client doesnt bother reloading it
and serves it from his browser cache
... which is not in sync with what the server has got
[12:27]
andreliYes thumbnail files are present, but to whatever reason, some are northwest crops and not thumbnails. [12:29]
PeterSvendsen@MichaelDaum> In your site demo.michaeldaumconsulting.com how have you made the setup with menu in the top? [12:30]
MichaelDaumthats error number two in your imagemagick library. see the metadata.tmpl discussion we had beforew.
PeterSvendsen, this site is running NatSkin which comes with a default SiteMenu as implemented in http://demo.michaeldaumconsulting.com/Home/SiteMenu
[12:30]
andreliOk, but how can a user get wrong crop images replaced by thumbnail images? With >100K Images, uploading the images again is no option!
@MichaelDaum: But thanks for your input. I have to go to a meeting.
C U
[12:32]
***andreli has left [12:33]
PeterSvendsen@MichaelDaum Sorry for my stupid questions.. but is there somewhere a easy description on how to implement the http://demo.michaeldaumconsulting.com/Home/SiteMenu [12:34]
MichaelDaumthe easiest description of the SiteMenu is:
a bullet list of links
nothing more
[12:38]
PeterSvendsenI think the issue is that I dont get anything if I enter "...../foswiki/bin/view/System/SiteMenu" in my system [12:41]
MichaelDaumdid you install NatSkin? [12:42]
PeterSvendsenNo... I thought is was installed by defauly.. :/
default
[12:43]
MichaelDaumnope. the default pattern skin wasn't designed with a horiz menu in mind. [12:47]
foswiki_irc3ping
maybe somebody has a secound for my request date picker?
[12:50]
PeterSvendsen@MichaelDaum ohh.. I ofcause have a offline server... so I have downloaded the NatSkin and copyed to the server --> D:wwwfoswikilibFoswikiPlugins and entered the configure page.. [12:55]
CDotfoswiki_irc3: the JQueryPlugin includes ui.datepicker [12:55]
PeterSvendsenDoI not need to enable it? [12:56]
foswiki_irc3@CDot THX!!
@CDot. Maybe there is an example?
[12:58]
CDotmaybe. I'd google it, if I were you. [13:02]
PeterSvendsen@MichaelDaum I get this when I try to enter the test page "Warning: your browser isn't supported. Please install a modern one" [13:03]
MichaelDaumPeterSvendsen, which browser do you use? [13:04]
PeterSvendsenI have tried with IE and Latest Firefox [13:05]
MichaelDaum_which_ IE are you using? [13:05]
PeterSvendsenbut it could also just be a installation issue... maybe?!
IE8
[13:05]
MichaelDaumif you _just_ downloaded NatSkin.zip, then yes, you are missing a couple of dependencies.
see http://foswiki.org/Extensions/NatSkin#Dependencies
the deprecation warning (which IEs are considered old) can be configured in configure
[13:06]
PeterSvendsenohhhh f... as the server can not go online I have to check manual [13:07]
MichaelDaumIE8 _is_ old [13:08]
PeterSvendsennot easy :) [13:08]
MichaelDaumI'd never use windows as a server either....but that's up to you. [13:08]
PeterSvendsenit was a must :(
it seems that many or more or less all of the deoendencies are not present
@MichaelDaum if I download all of them and copy it to the server is the xx_installer needed or should it be sufficient to do the copy?
[13:09]
MichaelDaumMichaelDaum wonders why windows as a server is a must ... results are bad: too expensive, too difficult to set up, too slow [13:14]
PeterSvendsencouldnt agree more.. it department..... [13:16]
CDotMicrosoft salesmen carry a secret weapon; a "brain disabling ray". Buy M$ and you never have to think again, ever. ;-) [13:16]
MichaelDaumPeterSvendsen, here's the solution: fire your it department. [13:17]
PeterSvendsenTHAT would be nice.... any good hints ;) [13:18]
MichaelDaumother than that you are on a pretty hopeless task: a non-connected spare box running windows .... someone is trying to trick you out.
chances are good your windows operating system isn't security-patched either
[13:19]
PeterSvendsenI looked for SetVariablePlugin in the foswiki.. but couldnt find it..... does it exists? [13:21]
MichaelDaumerm ... yes? http://foswiki.org/Extensions/SetVariablePlugin [13:22]
PeterSvendsengoogle didnt find it
thanks
[13:22]
MichaelDaumsite:foswiki.org SetVariablePlugin [13:23]
PeterSvendsen@MichaelDaum thanks.. now I have downloaded all the plugins.... now I just need to install them... thanks for your help
Have a nice weekend everyone
[13:33]
MichaelDaumgood luck [13:33]
......... (idle for 41mn)
FloPri@MichaelDaum: Do you know a site where the solr search is described in detail. for example to use + and - in serach query an things like that to do advanches search queries? [14:14]
MichaelDaumFloPri, search for lucene query syntax ... e.g. http://lucene.apache.org/core/old_versioned_docs/versions/2_9_1/queryparsersyntax.html
for best results in SolrPlugin, use the SolrAjaxSearch interface ... NOT the SolrSearch interface.
the non-ajaxed versions will be deleted soon anyway.
make sure your AutoTemplate view rules match 'WebSearch' => 'SolrAjaxSearchView',
not to SolrSearchView
only then will you get access to the proper lucene query syntax in the search field
[14:16]
FloPriMichaelDaum: i dont have the latets version of solr from the trunk, but thanks for the link. I will try to understand what my version can do :-) [14:23]

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