#foswiki 2013-04-04,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 CDot [05:51]
............... (idle for 1h13mn)
SvenDowideitweeeeeee, Foswiki docco being imported directly to sharepoint, what a bizzare thing
SvenDowideit reads http://mysharepoint.site/site/Wiki/System/DevelopingPlugins.aspx
[07:04]
...... (idle for 25mn)
oh wow. System.DocumentGraphics has a lot of attachments
i thought we got rid of that
(makes it easier for me though, as i'm only uploading true attachments
[07:30]
..... (idle for 24mn)
CDotSvenDowideit: no, but it's been bugging me for ages. Someone we know has added almost twice as many more to it. [07:54]
SvenDowideitpfft :)
we added bazillions more with famfamfam
plus we have a simple way to expand it, using tmpl's
did you make your foswiki+webserver using plack?
cos i did a plack on - its on github
and once i've released the fos/twiki to sharepoint tool, i plan on updating foswiki onnastick to remove apache and use plack spawned from the systray menu it has
[07:55]
CDotno, I used HTTP::Daemon [07:57]
SvenDowideitgiggle [07:58]
CDothowever I abandoned it after I discovered that HTTP::Daemon has buffering problems [07:58]
SvenDowideitassuming i do get back to it, i'll bundle it as a PlackEngineContrib - even though iirc its a lie [07:59]
CDotyou can get socket lock-ups, because HTTP::Daemon tries to sysread from IO::Socket, but perl buffers the IO. So you get a buffer underrun.
which the author knows about, but has never fixed
[07:59]
SvenDowideitwonnerful [08:00]
CDotCDot doesn't know how to fix it either. [08:00]
SvenDowideitwriting .net code while sick is bizzare
there are way too many choices to deal with
[08:00]
CDotI wrote the HTTP::Daemon thing while sick, and ended up even sicker :-( [08:03]
SvenDowideitcomiserations :/
i spent the first week of my cold making cakes and stuff for the girls - so at least i had fun
[08:03]
CDotI wonder if it's the same one doing the rounds here. With the cold weather, people are dropping like flies. [08:05]
SvenDowideitit'll be interesting to see if i can inject uwiki js into sharepoint-wiki
SvenDowideit dribbles off to talk to the kids
[08:06]
.......... (idle for 46mn)
MichaelDaumMichaelDaum never used DocumentGraphics other than some rare use %ICON. He prefers %JQICON as it has got access to the original FamFamFam sets without any TMPL magic. [08:52]
.................... (idle for 1h39mn)
Myqdoes anyone have a good method of editing topics without using the web interface? Is Data::Foswiki the only option? [10:31]
..... (idle for 24mn)
CDotMyq: depends what you mean by "editing". You can edit topics using a plain-text editor, you can serve them using webdav and edit using anything, you can use Data::Foswiki and edit through perl - there are loads of options.
so it rather depends on your application
[10:55]
MyqHi CDot [10:56]
CDothi [10:57]
MyqI'm trying to use Emacs to edit topics directly, but Foswiki doesn't recognise the changes unless I edit it again via the website and save. The changes show up when I click edit.
and the other problem is saving changes the owner to me rather than www-data, so apache can't see it any more.
i was wondering if i'm missing something obvious
i hate copying and pasting back and forth to a text editor
[10:57]
CDotI see. No, you are not missing anything; you are trying to manually edit the contents of a database, so you are flying close to the sun [10:58]
Myqyeah, i know :P
it's just faster that way
[10:58]
CDotyou *can* manually edit if you take care to maintain the META:TOPICINFO lines
you can also use "rcs" on the command line to check-in changes to the history
[10:59]
Myqi tried both but can't seem to get it to work
emacs will handle the RCS, and I tried the same commit message (save topic)
[10:59]
CDotFoswiki uses the META:TOPICINFO line, so you have to maintain that
I'm not sure what you mean by "FOswiki doesn't recgnise the changes". What do you mean by "recognise"?
[11:00]
MyqYes, I tried to do that too. It didn't seem to work though. Maybe I didn't obtain the lock correctly or something. It just seemed like _more_ of a hassle maintaining both META and RCS than just copying and pasting from the website.
i mean,
I edit BlahTopic.txt
ci with message "save topic"
META updated to current time
revision number bumped
in META and RCS
etc
but it doesn't show up in http/
but when I _edit_ that page via the browser
my changes are there in the box
and show up if i click save without any modifications
so i'm not getting something correct between the META and RCS
so I was hoping there was an easier way to rapidly change lots of text outside of the web interface
[11:01]
CDotsounds like you have caching enabled in foswiki [11:04]
MyqI can just use the firefox plugin if there's not a trivially easy way
oh
lemme check
possibly!
[11:04]
CDotor caching in the browser, of course [11:04]
Myqnah, i checked that
ah, you're right about the caching
I'll try again
is it safe to just go with RCS?
I read that foswiki will use that first if it's available and that META is fallback
[11:04]
CDotyou read wrong :-( [11:06]
Myqhmm, other way around?
:P
oh, i see
The code is written to trust the =META:TOPICINFO unless the .txt file is more recent than the .txt,v. If that is not the case, there will be no read of the history.
so i can ignore the RCS commit message
There's talk of deprecating META [[http://foswiki.org/Development/RemoveDuplicationInTheStore][here]], so I got confused and thought that META is not so important
[11:07]
MichaelDaumMETA is important
Myq, you most probably enabled Foswiki's page cache.
[11:17]
Myqyou're right. it works after disabling cache
Hi Michael
[11:17]
MichaelDaumhey :) [11:18]
MyqAssuming I manually update META correctly, is what I'm doing safe enough? [11:18]
MichaelDaumdepends [11:18]
Myqco with RCS, edit, update META, ci with RCS [11:18]
MichaelDaumI wouldn't bother with rcs
unless you _really_ need revision control
[11:19]
Myqoh, even better :)
for some things, yes
that's why i use a wiki :P
[11:19]
MichaelDaumay [11:19]
Myqit's my personal knowledge repo
my brain's github
[11:19]
MichaelDaumso true
I could not live without it
[11:19]
Myqit runs locally so no big deal if i stuff something up, but I use it for lots of notes and such [11:20]
MichaelDaumyet I use the web interface exclusively [11:20]
Myqoh, i can't live without keyboard shortcuts to move around and modify text
regex replace
etc
[11:20]
MichaelDaumI am working on a CodeMirrorPlugin
this will impl a code editor for foswiki
[11:21]
MyqCDot mentioned a few options like webdav and such. All of those were different to editing the .txt files directly?
You know what would be really cool is to use git as a back end. I've seen some wikis start changing to that
seems fantastic
[11:22]
MichaelDaumMyq, we discussed a git backend quite some here on foswiki
and decided against it
because it doesn't lent itself to a multi-user setup as required by a web application
imagine 100 users checking in simultaneously ...
git can't handle this
given that you have one git repo for all of the content ... not one git repo per topic as that would defeat most of the advantages of git
and thats what other projects do: one git repo per page. I can't see the advantage over rcs then
the best alternative right now is CDot's PlainFileStoreContrib
instead of waiting for rcs to dribble out old revs from an ever growing ,v file, PFS just gets it from the disc.
[11:30]
Myqah, that's true. i was thinking repo / web
is PFS ready to use? i played around with the plugin a few days back and it didn't seem to be functional
[11:35]
MichaelDaumit isn't? [11:36]
Myqit was a very cursory look, i may not have set it up correctly
i was mostly trying to figure out how i could edit in emacs :)
[11:36]
MichaelDaumI wonder if you could use fuse to mount foswiki using CDot's webdav adapter ... and then edit on the fs. [11:38]
MyqI'll give it a try.
the only problem i have now is permissions/owner changing to me from apache on save but a simple macro can deal with that.
[11:39]
MichaelDaumor run apache or lighttpd as your own user [11:44]
Myqdangerous :) [11:44]
MichaelDaumlocalhost:localport [11:45]
Myqeasier to just sudo -u www-data emacs
I'll be apache, better than apache be me :)
so PFS is ready to go and the future of foswiki, right?
[11:45]
MichaelDaumseems so
I wouldnt call it the future of foswiki
for corporate environments integrating webdav or cmis is preferable
[11:46]
Myqi'm looking at it now. i think i hadn't actually installed the contrib when i tried it
Just one more question if you have time. Is FormPlugin being abandoned for FlexFormPlugin?
[11:47]
MichaelDaumnot that I know. however the main developer of FormPlugin hasn't been seen on the project for quite some time. so it seems this work is abandoned irrespectively of FlexFormPlugin.
both plugins have different use cases
FormPlugin is an html form builder
[11:52]
Myqyeah, I like FormPlugin, but it seems development has stalled, so I was just wondering [11:53]
MichaelDaumFlexFormPlugin is rendering Foswiki's DataForms in a more flexible way.
I personally never felt the need to use FormPlugin.
[11:53]
MyqI'm lazy to write HTML, and its convenient for using input in other inputs [11:55]
MichaelDaumknowledge about the basic web tech is more universal [11:56]
Myqfor the average wiki user? [11:58]
MichaelDaumthe average wiki user doesnt create forms. [12:01]
Myqha, fair enough. but it makes it easy to use input as variable elsewhere in the form [12:03]
MichaelDaumyea maybe I should revisit FormPlugin paying more attention at its merits. [12:04]
MyqFor apps, it's useful when making new topics to grab a value and use it as part of the new topic's name
for some use cases, it's better than AUTOINC001
[12:05]
...... (idle for 26mn)
***ChanServ sets mode: +o gac410 [12:31]
ChanServ sets mode: +o Lynnwood [12:42]
.......... (idle for 47mn)
Myq has left [13:29]
.................... (idle for 1h37mn)
ChanServ sets mode: +o pharvey [15:06]
......... (idle for 44mn)
CDotCDot is staggered by the speedup achievable by removing one regex from RcsLiteHandler [15:50]
........... (idle for 53mn)
***[LOGGER_FOSWIKI] has quit IRC (Ping timeout: 252 seconds) [16:43]
..... (idle for 20mn)
TBoxHi, I'm trying the SafeWikiPlugin, and it gives me a warning that AllowInlineScript is on. I disable AllowInlineScript and I get an error that AllowInlineScript is deprecated and I should use SafeWikiPlugin. I'm worried I'm misunderstanding how these options work. What's the preferred setting? [17:03]
CDotTBox: it's OK that AllowInlineScript is on. SafeWikiPlugin will deal with the script.
Not sure where that warning is coming from; depends on which "it" you mean.
[17:13]
TBoxThe configure tool, on the extension page, the warning is listed under the safewikiplugin. [17:19]
....... (idle for 33mn)
***gac410 has left [17:52]
[LOGGER_FOSWIKI] has quit IRC (Ping timeout: 245 seconds) [18:05]
...... (idle for 27mn)
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/vmlCgg
foswiki/master 330d3e8 CrawfordCurrie: Item11476: accelerate RcsLite for large numbers of revisions. There is still a fundamental problem with the way RCS organises the file that makes fast reading difficult, but the changes here will at least accelerate those operations that only require a subset of the history....
[18:32]
***GithubBot has left [18:32]
FoswikiBothttp://foswiki.org/Tasks/Item11476 [ Item11476: Improve RcsLite worst-case performance and use it as default ={Store}{Implementation}= ] [18:32]
CDotTBox: yeah, just ignore it, configure doesn't realise SafeWikiPlugin is installed. [18:46]
***CDot has quit IRC (Quit: Leaving.)
[LOGGER_FOSWIKI] has quit IRC (Ping timeout: 248 seconds)
[18:47]
.................. (idle for 1h29mn)
s7726Having an issue with a new setup, all searches that also search the body text are returning an error
If I limit the search to the Topic Title I don't get the error, but Text Body and Both, return the error
Could not perform search. Error was: 'tempfile' can't be called as a method at /usr/local/Foswiki-1.1.8/lib/Foswiki/Sandbox.pm line 506
[20:16]
................ (idle for 1h16mn)
***TBox has quit IRC (Quit: Page closed) [21:34]
............ (idle for 58mn)
ChanServ sets mode: +o gac410 [22:32]
............. (idle for 1h2mn)
ChanServ sets mode: +o gac410 [23:34]

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