#foswiki 2014-05-14,Wed

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

WhoWhatWhen
***ChanServ sets mode: +o pharvey [00:55]
................ (idle for 1h18mn)
gregg4567 has left [02:13]
................................... (idle for 2h54mn)
ChanServ sets mode: +o CDot [05:07]
.............. (idle for 1h7mn)
ChanServ sets mode: +o MichaelDaum [06:14]
....... (idle for 31mn)
MichaelDaummorning CDot
I think there's something broken in %QUERY probably related to your latest checkins on quoting.
[06:45]
CDothi Micha. A lovely sunny morning here. :-) [06:45]
MichaelDaumcheck this: FOO=%QUERY{ "preferences[name='FOO'].value"}%
the macro doesn't expand at all
[06:45]
CDotCDot tries to think what checkins he has done relating to quoting
oh wait, you mean the %QUERYPARAMS fix?
[06:46]
MichaelDaumI am looking at changeset 17668
no just %QUERY{}%
[06:46]
CDotthere might be a side effect, I suppose, but my changes were only supposed to impact * Set XXX = style macros
what is it about the checkin that you think is at fault?
[06:48]
MichaelDaumnot sure just gut feeling [06:49]
CDotCDot doesn't see any functional changes outside of the GetPreference() branch [06:49]
MichaelDaumstrange enuf it worked yesterday. broken in the morning after svnupping [06:50]
CDotDo you have a testcase? [06:50]
MichaelDaumthe one above [06:50]
CDotis that the full text of the testcase? [06:51]
MichaelDaumthe only update I can imagine being involved is the recent update to Foswiki.pm [06:51]
CDotyes, I can see why you'd be suspicious. I just need the testcase to be able to try it here.
if you can pastebin the topic.txt, that would be best.
[06:51]
MichaelDaumFOO=%QUERY{ "preferences[name='FOO'].value"}% is what I am currently using to dig deeper [06:52]
CDotCDot doesn't see a META:PREFERENCE defining FOO there [06:52]
MichaelDaumit expanded to the empty string before
MichaelDaum heading over to trunk.f.o
shit
[06:52]
CDotit expands to the emtpy string here [06:54]
MichaelDaumhttp://trunk.foswiki.org/Sandbox/QueryTest does just fine [06:54]
CDotCDot does an svn up "just in case" [06:54]
.... (idle for 16mn)
MichaelDaumfixed it
please forget
[07:10]
CDotforgotten :-) [07:10]
MichaelDaumI had a local Foswiki::Serialise::Default hanging around ... which for some reason disturbed serialization done otherwise [07:11]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Serialise::Default [07:11]
CDotyeah; I've seen quite a few problems that traced back to that Serialise module. I'm not that comfortable with it.
mostly my ignorance, I'm sure.
[07:11]
MichaelDaumas long as there is somebody to blame, all is good. [07:12]
GithubBot[foswiki] FoswikiBot pushed 2 new commits to master: http://git.io/33raaw
foswiki/master 7781068 GeorgeClark: Item12475: Simplify @INC...
foswiki/master e3ac4b0 MichaelDaum: Item9693: removing dangling link from sidebar...
[07:15]
***GithubBot has left [07:15]
FoswikiBothttp://foswiki.org/Tasks/Item12475 [ Item12475: Recent additions to CPAN libraries cause issues on some systems ]
http://foswiki.org/Tasks/Item9693 [ Item9693: Documentation updates for Foswiki 1.2.0 ]
[07:15]
...................... (idle for 1h45mn)
wedjathi guys ! :)
is there a way to modify a foswiki page with a shell script or whatever ? foswiki does not seem to have a Rest API or something (or maybe I did not read the right documentation)
i would like to commit page modification from distant hosts
[09:00]
CDotwedjat: the core does not have a REST api, though several plugins do (for example, the CommentPlugin
it depends on what page modification you want to make.
.... and you can also use the =save= script "restfully"
[09:04]
wedjatCDot: thanks for your answer. for example i would like to change a single line in a topic
=save= script ?
[09:05]
CDotin the /bin directory are a number of CGI scripts [09:05]
wedjatoh ok [09:06]
CDotthey are invoked from URLs
they are documented in System.CommandAndCGIScripts
[09:06]
wedjatnice. now i just need to beg my sysadmin to allow these cgi scripts to be executed via the webserver
:)
[09:12]
CDotoh, you have access to the webserver? You don't need to use those scripts then. You can modify the test files directly - though you must be careful to update the %META:TOPICINFO line correctly.
^test^text
[09:14]
***ChanServ sets mode: +o gac410 [09:19]
CDotModAcOst: many thanks for your password, there. I'm sure it'll come in handy.... [09:20]
ModAcOstOh, fuck [09:20]
CDot:-) [09:20]
wedjatCDot: but you're right, the "save" script located in ...foswiki/bin seems to be exactly what i'm looking for [09:21]
MichaelDaumModAcOst, contact Colas to remove it from the irc logs
will do so for WikiRingBot
done
Colas, are you there?
[09:21]
Colasyup [09:23]
MichaelDaumhey :)
could you remove the passwd from the logs, please?
see above
[09:23]
ColasOPK, Done
BTW, I am sorry but I will not be able to attend the assembly saturday (unexpected travel...)
[09:29]
MichaelDaumtoo bad. were are you going to? [09:41]
......... (idle for 41mn)
Colaswe are actually capaining for a political movement for the european elections ( http://nouvelledonne.fr/ ) that tries to promote practical solution akin Roosvelt's "New Deal" to solve the 2008 financial crisis like what was done in 1934 for solving the 1929 crisis. Focusing on practical, immediate solution without party boundaries...
an the main meeting of the region is saturday at Marseille
that's the continuation of http://www.roosevelt2012.com/
BTW, I am trying to push for a foswiki for the internal web site... kind of difficult as the genral public do not know that there exist other wikis than wikipedia
[10:22]
MichaelDaumgood luck for the capain.
yea wikipedia is everywhere around us. too bad too many strange guys have become influential.
[10:28]
ColasActually, it is a good execrise to try to configure a foswiki for this use
I realise we miss somme goodies that are wexpected of "modern" sites
- login by the email
- mobile version
- use of any user nickname, not just WikiWords
On the other hand, people are not aware that it is possible to have WYSIWYG in a wiki. And all the structured wiki stuff is unheard of
[10:36]
jastright now, not having WikiWords for usernames causes trouble in some setups [10:39]
ColasAnd for a French site, the clunky UTF-8 support is problematic [10:39]
jaste.g. if you use LdapContrib & NewUserPlugin, and the LDAP users get a WIKINAME that isn't a WikiWord, no user topic will be created
at least that's the way it was last time I checked
what issues are you seeing with UTF-8 support?
[10:39]
ColasYup, although these are solvable by front-ends. For LDAP it actually works, the plugin build you a WikiWord name from LDAP infos
UTF-8: didn't manage yet to have basic search (grep) work
[10:40]
jasthmm
we use Solr for our wikis so haven't come across that yet
[10:41]
Colasmoreover, it is mandatory for french that searching for ete finds été [10:41]
jastbut it doesn't sound like it should be a big deal
right
you may want to consider using Solr... it's much faster, too :)
needs more RAM, though
[10:41]
MichaelDaumuser names not a WikiWord ... just set AllowLoginNames ... the WikiWord version is just a way to display a user and point to his profile page. [10:42]
Colasno problem with a search engine, but that is part of the "front ends" to install. And scripting via macros may become tricky if user create form fields with UTF-8 strings in them as values [10:42]
jastthe core automatically drops all special characters from form field names
not ideal but workable for most forms
[10:42]
ColasI installed a Solr at work (not for a wiki), nice engine, but quite hard to uderstand.
on the plus side, fowiki allows to build simple apps (document management, issue tracking) so that Mr John Doe do not have too many tools to learn
[10:43]
jastyou get used to Solr fairly quickly
btw this all isn't idle speculation... we've got 50+ UTF-8 wikis in production use
[10:44]
Colasdo you know what locale they chose for the OS? utf-8 too? [10:45]
jastyes [10:45]
Colasthx, will go on this way [10:45]
jastour main issue within the wiki is with collations... that's mostly a locale issue, and locale is very, very hard to implement/fix
we tried tackling that at foswiki camp but didn't get very far
[10:45]
ColasFor search engines, I used mnogosearch., very google-like but it seems not maintained anymore.
for utf-8 I guess problems lies more with perl
[10:46]
jastperl support for utf-8 is okay
it's a bit hairy in 5.8 but later versions are fine
full proper unicode support is a different story... that gets viable if you require at least perl 5.12
[10:46]
***ChanServ sets mode: +o Lynnwood [11:00]
....................................................... (idle for 4h32mn)
ChanServ sets mode: +o CDot [15:32]
................................................... (idle for 4h13mn)
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/9yE-og
foswiki/master 3b7de39 FlorianSchlichting: Item12892: fix typo causing a syntax error / test failure...
[19:45]
***GithubBot has left [19:45]
FoswikiBothttp://foswiki.org/Tasks/Item12892 [ Item12892: Simplify over-complex ImplementationClasses code ] [19:45]
.................... (idle for 1h39mn)
***gregg4567 has left [21:24]

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