#foswiki 2016-11-16,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 SvenDowideit_ [00:45]
...... (idle for 26mn)
vrurghttps://foswiki.org/Development/FeatureSets [01:11]
gac410Cool ... I'll check it out
btw opened a new blocker for 2.1.3. Hopefully CDot will be around to look at it. MailerContrib having trouble with unicode webnames
:( And I was hoping I could be building this week.
[01:11]
vrurgI saw it. Wished to take a look but then decided not to avoid writing another text. Otherwise I would tune myself for doiing it for another few days. ;) [01:14]
gac410y. gotcha. MailerContrib is CDot's "baby" so hopefully he will have some idea. If I can wrangle some time from him. [01:15]
vrurgI'll to to spare an hour or two tomorrow but not sure if would be able too. The shopping day which we avoided long enough to run out of some supplies. ;) [01:17]
gac410np. I've got test cases and I assume CDot does as well. What I don't understand is ... if I get a "Wide print error" then shouldn't encode_utf8() just fix it. [01:18]
vrurgencode_utf8 does fix it but it seems that by that time the string is already corrupted. [01:19]
gac410Unless it's getting encoded a 2nd time. "print STDOUT" from a CGI App passes it through the response object, right? [01:20]
vrurgBTW, depending on how the contrib gets the strings it may turn out to be a core flaw too allowing some non-encoded strings to slip into.
Not sure if STDOUT is caught by the response.
I'm afraid it's bypassed directly to the web server with no midification.
[01:20]
gac410Well it does make it to the browser as plain text.
The string is valid unicode in the mailnotify script. This is all working flawlessly from the CLI. Notifies unicode web/topic names correctly.
[01:21]
vrurgOk, let's see if CDot can take care of it. Hope he can. To me it's time to prepare some greens for supper salad. :) [01:23]
gac410sounds good. have a good supper. [01:23]
vrurgThanks!
MRI
Wish you good luck on this! Hope everything goes well.
[01:23]
gac410me too for sure. [01:28]
vrurgvrurg is gone. cu! [01:28]
gac410cu [01:28]
........... (idle for 53mn)
Annnnd fixed it. ;P [02:21]
...................... (idle for 1h45mn)
GithubBot[distro] gac410 pushed 1 new commit to Release02x01: https://git.io/vXDjm
distro/Release02x01 9884d56 George Clark: Item14216: Support utf-8 webs/topics in mailnotify...
[04:06]
***GithubBot has left [04:06]
FoswikiBothttps://foswiki.org/Tasks/Item14216 [ Item14216: mailnotify fails with wide character print when run from Web when unicode webnames are in use ] [04:06]
GithubBot[distro] gac410 pushed 1 new commit to master: https://git.io/vXDjO
distro/master f7c5ea6 George Clark: Merge branch 'Release02x01'
[04:06]
***GithubBot has left [04:06]
..................... (idle for 1h42mn)
GuilainC_away is now known as GuilainC [05:48]
.............................. (idle for 2h28mn)
memic_is i need to add extra meta data to images like copyright etc.. is this possible with http://foswiki.org/Extensions/MetaDataPlugin ? [08:16]
***GuilainC is now known as GuilainC_away [08:17]
.................................................................... (idle for 5h35mn)
ChanServ sets mode: +o gac410
ChanServ sets mode: +o Lynnwood
[13:52]
ChanServ sets mode: +o Lynnwood [14:02]
.................. (idle for 1h27mn)
zak256Hi. What is the purpose of Main/WebTopBar ? First I thought this is the default TopBar for all pages, but that seems to be System/WebTopBar. [15:29]
gac410Hi zak256 - We don't ship a Main.WebTopBar that I can find.
There is System.WebTopBar and if missing, System.WebTobBarExample is used.
Unfortunately it's badly named WebTopBar is a system-wide topic. Where as the WebLeftBar can be different per web.
[15:31]
zak256Oh... yes, you're right. That must have been copied there during the migration.
Ok, no problem. We only need one for all the webs.
[15:32]
stefan_slightHello :-)
if the WebLeftBar does not exist in an web - is the system one used?
[15:40]
gac410System.WebLeftBarExample .. I think [15:40]
stefan_slightor is the WebLeftBar Topic automatically copied/generated if i make a new web?
(have tried to checked in my installation - if i go to MyWeb.WebLeftBar the page loads - so i think the page exists..
[15:41]
gac410It depends if it exists in the template web When you create a new web, you can choose the template to use. _default is the default
And _default does ship with a WebLeftBar, so yes it should be created
[15:44]
stefan_slightah ok -
second thing- i found that on mobil devices / smaller screens the sidebar (WebLeftBar) gets hidden..
[15:45]
gac410yes. I'm not sure why/how I've noticed that as well. [15:47]
stefan_slightis there a option/plugin/css to display some sort of button to show it? [15:47]
gac410Not that I'm aware o [15:47]
stefan_slightin the first it makes sense on to small screens... but if you rely on the links in there its not good... ;-) [15:48]
gac410I'm not all that knowledgable on the skins. The person I'd ask is not online right now
yes indeed. Like Login for one.
[15:48]
stefan_slightyes..
or the createnewtopic..
ok i will try to build some css / js to show a button to show the sidebar..
should be relative straight forward..
[15:48]
gac410If you are successful, please share ;) [15:49]
stefan_slightof course
;-)
[15:50]
update: if you have none of the topics 'WebLeftBar' or 'WebLeftBarExample' in a web the sidebar does not show up: Warning: Can't find topic Sandbox.WebLeftBarExample
so foswiki does not fallback to System.WebLeftBar(Example)
[16:02]
gac410hm .. I guess not. I don't do that type of customization very often. [16:03]
....... (idle for 30mn)
***ChanServ sets mode: +o Lynnwood__ [16:33]
memic_is it possible to add extra meta data to images like copyright etc.. with http://foswiki.org/Extensions/MetaDataPlugin ? [16:41]
gac410memic_: Not with that plugin. I'm not sure about the image specific plugins like ImagePlugin .. MetaDataPlugin deals with topic meta
adding information to the exif is a pretty specialized function.
[16:44]
.... (idle for 16mn)
zak256Hmm... Has anybody ever included an %ICON{...}% within an %IF{...}% macro? Right now all I'm getting is <span class= because the quotation mark following the = ends some other expression.
Maybe I need to add, that the IF itself is included within a %SEARCH{...}% :-/
[17:00]
gac410There is an option on the %ICON macro to change the quotes from single to double
eg. %ICON{"pdf" quote="'"}% see Foswiki:System.VarICON
[17:01]
FoswikiBothttps://foswiki.org/System.VarICON [ VarICON ] [17:02]
zak256Too bad... I want to do that in the old environment with Foswiki 1.2.1 :(
quote is apparently not supported there
[17:03]
gac4101.2.1? No such release. We went from 1.1.10 to 2.0.0 [17:04]
zak256sorry... 1.1.2 [17:04]
gac410ah.. yeah that's really old. Be warned, if your server updates cpan or perl versions, you will be hurting. New perl and new cpan modules break a bunch of stuff. [17:05]
zak256Yes... I expect many problems :-( [17:06]
***GuilainC_away is now known as GuilainC [17:06]
zak256Ah... misunderstood....
Well I am working at the migration to the new version, so the old foswiki won't get new perl versions
[17:06]
gac410okay thats good. [17:07]
zak256Unfortunately people still want modifications and additional stuff in the current (old) version :-( [17:07]
gac410Are you testing the ICON in the if string, or just displaying it on condigion. You might be able to delay expansion with $percntICON..... $percnt [17:08]
zak256$percntIF{\"'$formfield(Name)'='foobar'\" then=\"$percentICON{arrowleft}$percent\" else=\"$percentICON{arrowright}$percent\"}$percnt
and this expression in a table cell within the format-parameter of the SEARCH macro
[17:10]
gac410Ah, so already delaying it. hm You could try $dollarpercnt for the ICON to add one more delay, No idea really if it will help. [17:11]
zak256Whoa...
It worked!
Great! Thanks!
[17:12]
gac410There is usually a way ;) But it often makes my head hurt. [17:13]
zak256Yes.... Now I need an IF then=IF...then else... clause :-/
This will look ugly...
[17:13]
....... (idle for 32mn)
***ChanServ sets mode: +o Lynnwood [17:45]
zak256Yes... finished :-) I needed $dollardollarpercentICON within the encapsulated IF macro ....
Now this is the right moment to go home ;-) Bye everyone.
[17:46]
gac410by zak256 [17:47]
***zak256 has left [17:48]
ChanServ sets mode: +o Lynnwood__ [17:55]
.... (idle for 15mn)
stefan_slightgac410: ready :-)
https://foswiki.org/Sandbox/StefanKr%c3%bcger/PatternSkinCssCookbookSidebarToggle
on my installation i have added the button to the System.WebLeftBarWebsList Topic and styled it with some more css to look nice.. ;-)
[18:10]
gac410cool Works well,.
How do you get to the button if it's in a hidden side bar?
(That dynamic webs list topic, btw, can really hurt performance if you have a lot of webs.
[18:11]
stefan_slightcurrently its about 5 webs - if it gets slow i will use a static list -
i have positioned the button with css to a screen-fixed location at the bottom left edge.
[18:17]
gac410Ah... okay understood. [18:18]
stefan_slightso its visible without the sidebar visible..
alternative would be to include it in the top bar or the bottom bar..
regarding the dynamic webs list - is it possible to make a static list that has the same view/hide functionality as the search based one?
we make heavily use of webs that have restricted view access...
[18:18]
gac410The issue with the dynamic list is actually the auth checking. It has to read the WebPreferences and WebHome of every web to get the ACLs. [18:21]
stefan_slighthm ok - so
evertime i want to hide the ones for the user that he has no access to its time consuming..
i think with my current search i exclude sub-webs and on the root level we only have 5 webs..
[18:21]
gac410It is indeed very convenient 5 webs isn't a big issue. Its when you have lots of webs. not that I have a good definition for "lots" [18:23]
stefan_slight;-)
in one or two of these webs we will get lots of subwebs over time i think - with lots i mean 5-20 a year - we have decided to create one subweb for every project we have..
we will see how this goes..
currently i htink i have managed to setup the system for us just fine :-)
and if i get some more time on this i will have a look at the rich options to build things with the foswiki architecture..
do you know if someone had success to use the Extensions.WikiDrawPlugin with the current fosswiki version?
i did not get it to run.. (saving did not work and the ui of the svg-editor also did not seam correct..) but the last update was 2010 so really old..
[18:23]
gac410I've never tried that one.
It was sponsored work for TRIN - an australian gov. sponsored project, that iirc lost funding.
At one point TRIN was probably one of the larges wiki's deployed with foswiki - 100,000's of pages. Used MongoDB for search acceleration.
But once it lost funding, the work gradually died iirc.
[18:38]
.......... (idle for 49mn)
stefan_slight: .. Created Item14219 to pick up your cookbook contribution. Thanks! [19:31]
FoswikiBothttps://foswiki.org/Tasks/Item14219 [ Item14219: Add WebSideBar toggle cookbook contributed by [[Main.StefanKr├╝ger][StefanKr├╝ger]] ] [19:31]
.................. (idle for 1h26mn)
stefan_slightgac410: thanks :-) [20:57]
.... (idle for 15mn)
***GuilainC is now known as GuilainC_away [21:12]

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