#foswiki 2017-02-16,Thu

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

WhoWhatWhen
***ChanServ sets mode: +o Lynnwood [01:24]
LynnwoodLynnwood retracts earlier comment about template for pub htaccess file. It's there. don't know how I missed it. [01:25]
............................................................................ (idle for 6h18mn)
***ChanServ sets mode: +o cdot [07:43]
................................................................. (idle for 5h20mn)
ChanServ sets mode: +o Lynnwood [13:03]
..... (idle for 24mn)
ChanServ sets mode: +o gac410 [13:27]
............ (idle for 56mn)
LynnwoodMorning all. gac410 - I was just going to give the 2.1.3 vmware distribution a try and that link on the download page doesn't work as expected (like the other links).
The first time i tried it, i then clicked "download' on the next page and it downloaded Foswiki-2.1.3.tgz instead.
[14:23]
gac410let me check. :( [14:24]
LynnwoodThe link _looks_ correct.
(just judging by the url)
I was able to navigate to it eventually...
[14:24]
gac410Ah... crap. The file was named 7z2 not 7z [14:25]
Lynnwoodah, when first clicking on the link, I now see temporary error message at top-right "The "/foswiki/2.1.3/Foswi..wiki-2.1.3-vmware.7z" file could not be found or is not available. Please select another file."
ok, that would explain it.
[14:26]
gac410hm I wonder why that changed. The BuildingARelease doc does say to generate 7z2. hm....
I wonder how to rename it. The correct name should be 7z, I think. But to rename I may also need to re-sign it? And fix all the md5/sha1 files
I can point to the 7z2 name in the Download page, But that changes the name for all releases as it's a template. :(
Nope... simple to fix. Done. The ReleaseForm had a select filetype - just had to add 7z2 as a suffix
[14:26]
LynnwoodWhat the heck is a 7z2 archive... guess i need to look that up. [14:33]
gac410No such thing. Longer term I really need to figure out how to rename the file. :(
At least that I could find.
[14:33]
Lynnwoodwhat is the suffix suppose to be?
7z?
[14:34]
gac410It's probably a typo in BuildingARelease I just c/p the command to generate the 7z file .. yes
No, it's a typo in Foswiki:Development.VirtualMachineImages
[14:34]
FoswikiBothttps://foswiki.org/Development.VirtualMachineImages [ VirtualMachineImages ] [14:35]
gac410Compress the image with 7z: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on Foswiki-2.1.2-vmware.7z2 Foswiki.vmwarevm/ [14:35]
Lynnwoodhmmm. in my mac, I just changed the suffix to 7z and then mac recognized file. But when I double-clicked on it, i got error message saying the archive was incomplete. [14:36]
gac410I had a lot of trouble uploading, Finally had to use sftp from the CLI. But I'm pretty certain I downloaded and uncompressed to test. I'll try it again. :(
There is also an archive on https://github.com/foswiki/distro/releases/tag/FoswikiRelease02x01x03
[14:37]
Lynnwoodit worked that time.
The download link worked and the archive is unpacking ok (after I changed suffix)
[14:40]
gac410At least my original version here seems correct. p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)
Processing archive: Foswiki-2.1.3-vmware.7z2                                                                                                                                                                        
.. Everything is Ok
There does not seem to be an obvious rename. I wonder if I can just change the name in the form on github/sourceforge. But I still need to re-upload the md5 files as they have the name embedded.
This will have to be for later. Have to get ready for Dr's appt. If for some reason I have to upload again... that takes forever.
So let me know how you make out with the vm image. I did test boot it, but could use feedback on how it goes
I added a note about the suffix to the download page for now.
[14:41]
.... (idle for 15mn)
LynnwoodThe vm image loaded up nicely. [15:06]
gac410great. thanks [15:06]
LynnwoodI was going to make a note about setting the NAT port forwarding: rather than going to command line, one could just use the setting interface. [15:06]
gac410sure. [15:07]
LynnwoodUnder "Settings", then "Network", then under "advanced" for the NAT adapter, click "Port Forwarding".
Other then it being a bit tricky to find, it's easy to enter.
I guess one could set up the "host" interface as "Adapter 2"
[15:09]
......... (idle for 43mn)
zak256Hi. Is it possible to specify more than one "order" in a search somehow?
I would like to sort a search-result-list first by a formfield value and then by another formfield value.
[15:53]
...... (idle for 26mn)
Lynnwoodzak256 - the basic SEARCH macro does not provide for more than one order. However, Extensions.DBCachePlugin does.
It's a very useful (and in most cases faster) search option.
[16:20]
zak256Hmm... didn't know that plugin. It is a complete replacement for SEARCH ?
If it does, what I assume right now that it does, it looks very promising. Just what we need...
So it queries the local cache instead of the actual wiki text files?
[16:22]
Lynnwoodthat's correct. that's why it's faster
It co-exist fine with regular search
[16:27]
zak256cool...
From Extensions.DBCacheContrib:
Reusable code that treats forms as if they were table rows in a database
Reusable code that caches Foswiki topics, and provides fast searches of the content.
Which of these is correct?
[16:27]
LynnwoodDBCachePlugin and DBCacheContrib go together.
DBCacheContrib is kind of the back-end and DBCachePlugin provides multiple macros that utilize the cache
if you install DBCachePlugin, DBCacheContrib will automatically be installed also.
[16:28]
zak256Yes I get that. I just don't understand these both descriptions from the latter. [16:30]
Lynnwoodoh... yea... i guess both are true... but the second is more useful.
more to the point i mean
[16:30]
zak256okay.
Is that the same cache that you can configure in "configure"?
[16:31]
Lynnwoodi guess the first statement in referring to the way that form values can be referenced.
No, that's different.
[16:31]
gac410Lynnwood: you said: "Under "Settings", then "Network", then under "advanced" for the NAT adapter," .... Are you talking about vmware settings? or something in the ubuntu image. [16:32]
LynnwoodThe cache in configure (which i don't actually use much) provides for caching pages for faster loading. [16:32]
gac410I do all the testing under qemu ... I don't have windows or vmware readily available.
I maintain a qcow2 disk image, and then convert it to vmware vmdk for distribution.
[16:32]
Lynnwoodgac410 that statement was referring to the VirtualBox settings for the VM.
I was looking at Support.HowToRunVirtualMachineImageOnVirtualBox
specifically, down under "Option 1: NAT + Port-forwarding (default)"
[16:33]
gac410Ah... I don't use that either ;) Just plain old qemu [16:35]
zak256Okay, so both caches can coexist without problems I guess? [16:35]
Lynnwoodmost of your instructions on that page provide the screenshots from VirtualBox app, except that one part.
zak256 - yes, they are completely separate and stay out each others way.
They do quite different things...
The cache that's part of core creates static versions of every topic for faster loading.
[16:35]
zak256Lynwood: okay, great. Thanks for the explanaition. Now I need to install and configure these some day.
...and DBCache just is for cached searches?
[16:36]
LynnwoodDBCacheContrib creates it's one db of all the topic content for faster queries. [16:36]
zak256ok, got it [16:37]
gac410They were not my instructions .. I don't think. ... I guess I edited at one point, but Colas did all the screen grabs. [16:37]
LynnwoodDBCache doesn't exactly cache searches... it creates a cache of all topic data for faster queries...
I think there is a plugin somewhere that caches searches...
but that would be different.
gac410 I could create a screen grab for that one step.
[16:37]
zak256yes, I meant that [16:38]
gac410The other option I suppose would be Solr for searching. But I'm not familiar with that either. [16:38]
Lynnwoodyes, there is Solr... but that involves a lot more overhead. [16:38]
gac410Lynnwood: That's just a contributed page, nothing really official - It's a wiki :D Go for it. [16:39]
zak256But in the end, isn't that the same: core-cache caches pages for faster loading, DBCache caches pages for faster queries? Maybe these could be combined somehow? [16:39]
gac410y, That's why I'm unfamiliar with it. [16:39]
LynnwoodDBCache is easy to install and provides lots of invaluable features. [16:39]
gac410Core cache captures the rendered HTML ... very different than caching topic content for searches. [16:39]
Lynnwoodzak256 - one place DBCache really shines is where you need to do nested searches. [16:39]
zak256cool. we *definitely* need that
how is refreshing done?
[16:40]
LynnwoodIt's all automatic. There are some options, but basically the cache is updated every time a topic changes. [16:41]
gac410Core cache is also "per user" and "per distinct query params" And refresh is handled by capturing topic dependencies. [16:41]
zak256Okay, so if there are frequent changes of topics, the DBCache would be almost constantly regenerated?
Well... I just have to try it out. It sounds very promising.
[16:44]
..... (idle for 20mn)
***cdot has left [17:05]
Lynnwoodzak256 - the DBCache is not completely regenerated on each change of a topic. Only that record is updated. It adds very little overhead to the server. [17:19]
zak256okay [17:20]
LynnwoodNow, the first time the DBCache is generated, that can take some time, particularly if the installation is large. However, with new or relatively small installation, even this happens pretty much invisibly.
There is a command to force creation of the the dbcache but that's not really necessary unless you're adding this to a existing sizable installation.
it will automatically be created when it's needed.
btw, i might also mention one of the _very_ useful features that DBCache provides automatically: if you create a DataForm that include "TopicTitle" field, _or_ if you define a topic preference setting of called TOPICTITLE, any links to those topics will automatically _display_ the Topic Title value.
[17:21]
zak256Lynwood: Is that documented somewhere? [17:27]
LynnwoodThis makes it very easy to provide more readable (i.e. non-CamelCase and properly spaced) titles.
y, i think so... just a sec.
[17:27]
gac410IIRC the plan is to add TOPICTITLE as a standard part of 2.2 [17:28]
LynnwoodIt's kind of covered here: https://foswiki.org/Extensions/DBCachePlugin#TOPICTITLE [17:29]
zak256What do you mean with "any links to those topics will automatically _display_ the Topic Title value" ? [17:30]
gac410And I can't find a feature request covering TOPICTITLE, but I'm pretty sure something was planned in that area. [17:30]
zak256So if I write something like "... see ThisPage for more details." is that expanded somehow? [17:30]
gac410Foswiki:Development.TopicDisplayName and Item13835 [17:31]
FoswikiBothttps://foswiki.org/Tasks/Item13835 [ Item13835: Title Field in Natedit gone, even when used ] https://foswiki.org/Development.TopicDisplayName [ TopicDisplayName ] [17:31]
........ (idle for 35mn)
Lynnwood[12:30:52] <zak256> So if I write something like "... see ThisPage for more details." is that expanded somehow? - that's correct [18:06]
......... (idle for 40mn)
FoswikiOnSlack1<itaki> Hello @m_ueberall & gac410 and Foswiki Gurus.
<itaki> Here is the good news:
<itaki> I gave the life for my Foswiki web site: https://istenovaisguvenligi.com with your supports.
<itaki> I would like to thank you very much all of you. I am so happy to be here.:slightly_smiling_face:
[18:46]
gac410Glad we could help.
And thanks for letting us know Often we only hear more when it's bad news ;)
[18:51]
FoswikiOnSlack1<itaki> I want to write a "success story" with Foswiki. Unfortunately there is no related field in Foswiki web site. :slightly_smiling_face: as it is in Twiki. [19:02]
<itaki> I am also looking forward to succeeding in "SocialSharePlugin" and "BlogAddOn" for my web site.
<itaki> Bye for now.
[19:08]
........ (idle for 36mn)
gac410itaki: We don't have a "Success story" page but we do have Foswiki:About.ExampleSites. They get displayed on the https://foswiki.org/ landing page, in the section titled "Showcase" [19:45]
FoswikiBothttps://foswiki.org/About.ExampleSites. [ ExampleSites ] [19:45]
FoswikiOnSlack1<itaki> I know about those sites built with Foswiki. In order to learn about them I also created a user name for some of those sites which enables me to do that.
<itaki> When I reach to the satisfying look /skin for my website I will make a screenshot to be listed there :slightly_smiling_face:
[19:50]
<itaki> Unfortunately, technical support team of my hosting provider (TMD) couldn't install NatSkinPlugin for my Foswiki so far. They need your support :slightly_smiling_face: They are working on it more than 5 months without succeeding. :worried: [20:02]
gac410Unfortunately that's not one I really know much about. NatSkin has many parts, maintained by Michael Daum.
There are a whole mess of extensions that go along with it. It's pretty complicated.
[20:02]

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