IRC Archive for channel #xwiki on 26 September 2014
Last modified by Vincent Massol on 2014/09/26 23:45
<OSIMasson> has quit
00:08 <OSIMasson> has joined #xwiki
00:10 <cjd> has quit
00:30 <cjd> has joined #xwiki
00:52 <abusenius> has quit
01:03 <OSIMasson> has quit
01:03 <OSIMasson> has joined #xwiki
01:29 <cjd> has quit
01:33 <cjd> has joined #xwiki
01:41 <Denis> has quit
03:14 <OSIMasson> has quit
03:22 <OSIMasson> has joined #xwiki
03:32 <cjd> has quit
03:37 <cjd> has joined #xwiki
03:40 <OSIMasson> has quit
03:50 <Denis> has joined #xwiki
04:05 <Denis> has quit
04:18 <cjd> has quit
04:42 <cjd> has joined #xwiki
05:44 <cjd> has quit
05:54 <cjd> has joined #xwiki
06:35 <Chuguniy> has quit
06:45 <mflorea> has joined #xwiki
06:50 <msmeria> has joined #xwiki
07:23 <DarkKnightCZ> has joined #xwiki
07:26 <sburjan> has joined #xwiki
07:51 <cjd> has quit
08:05 <DarkKnightCZ> has quit
08:05 <DarkKnightCZ> has joined #xwiki
08:14 <vmassol> has joined #xwiki
08:41 <Denis> has joined #xwiki
08:49 <cjd> has joined #xwiki
08:52 <DarkKnightCZ> is there a way, how to rollback document to previous revision from velocity?
08:55 <woshilapin> has joined #xwiki
08:58 <tmortagne> has joined #xwiki
08:59 <andreeapopescu> has joined #xwiki
09:21 <tmortagne> cjd: where can we put parameters in http://extensions.xwiki.org/xwiki/bin/view/Extension/CommandRunner ?
09:21 <tmortagne> in the first parameter ?
09:22 <cjd> err
09:22 <cjd> wdym?
09:22 <tmortagne> ho to I execute "ls -l" ?
09:22 <tmortagne> s/ho/how/
09:23 <cjd> ahh hah
09:23 <cjd> wait for the next version xD
09:23 <tmortagne> ok :)
09:23 <tmortagne> (I don't really have the need, just wondering)
09:23 <cjd> yeah, that was totally a "I did this in 20 minutes" project
09:24 <cjd> part of the RISCOSS research project and I just thought "oh, I have 5 minutes, I could throw this up on the EM"
09:24 <tmortagne> I don't say it's not good, was just wondering if there was something missing in the documentation ;)
09:24 <cjd> nope, WhatYouSeeIsAllThereIs
09:25 <cjd> I'd like to be able to run executables which are in .jar resources or attachments
09:25 <cjd> and keep a process running for a long time with a Netty NIO connection to it's stdin/stdout
09:26 <tmortagne> note that unless you really need Velocity it's very easy to execute command in Groovy
09:26 <tmortagne> 'ls -l'.execute()
09:26 <cjd> ahh interesting
09:26 <cjd> didn't know that
09:26 <cjd> I need to push stdin to the process though which might be a bit harder
09:27 <tmortagne> there is probably ways to do it
09:27 <tmortagne> in any case it's integrated to the language so I'm sure they tough about that
09:28 <tmortagne> http://groovy.codehaus.org/Process+Management
09:28 <tmortagne> execute does not really execute actually it seems
09:28 <tmortagne> "The execute() method returns a java.lang.Process instance which will subsequently allow the in/out/err streams to be processed and the exit value from the process to be inspected etc."
09:28 <tmortagne> second example
09:29 <cjd> ahh
09:30 <cjd> that's kind of crap because 99% of the problem is those streams (which require 3 threads because they're always blocking)
09:30 <vmassol> btw you can also use the crash integration if you need a shell
09:30 <vmassol> it's very powerful
09:30 <vmassol> http://extensions.xwiki.org/xwiki/bin/view/Extension/CRaSH+Integration
09:31 <tmortagne> crash is more the other way around, communicate with XWiki trough command line
09:31 <vmassol> kind of, there's the version done by jerome
09:31 <vmassol> which you triggered from a web page
09:31 <vmassol> (an xwiki page that is)
09:32 <vmassol> there are several ways to connect to crash
09:32 <vmassol> ssh is one
09:32 <vmassol> nice we're listed here: http://www.crashub.org/embedded.html
09:32 <vmassol> :)
10:26 <spawn57> has left #xwiki
11:01 <AFKGeek> has joined #xwiki
11:05 <Denis> has quit
11:17 <Slashman> has joined #xwiki
11:31 <AFKGeek> has quit
11:38 <AFKGeek> has joined #xwiki
11:41 <tmortagne> vmassol: where is the log going when you use the Windows installer ? ("Active Directory Authentification" on users mailing list)
11:42 <vmassol> the log of the installer?
11:42 <tmortagne> no
11:42 <tmortagne> the log of XWiki
11:42 <vmassol> it's a standalone install
11:42 <vmassol> so same logback.xml file
11:42 <vmassol> I think
11:42 <tmortagne> what ?
11:42 <tmortagne> I'm not talking about configuring the log
11:43 <tmortagne> just see the log
11:43 <tmortagne> where would someone find the log produced by XWiki basically
11:43 <vmassol> again there's no difference with standard xwiki
11:44 <vmassol> so it goes to the current place where jetty is started from
11:44 <tmortagne> vmassol: and where that is ?
11:44 <vmassol> no idea
11:44 <vmassol> it depends where you installed it
11:45 <tmortagne> again I'm talking about the Windows installer
11:45 <vmassol> actually no
11:45 <vmassol> in the .bat
11:45 <vmassol> ok I don't know is the good answer
11:45 <vmassol> just trying to figure it out...
11:45 <vmassol> check the .bat
11:45 <vmassol> I don't remember if it does some "cd"
11:46 <tmortagne> I doubt the guys execute the .bar directly, I guess he is using the shortcuts
11:46 <tmortagne> s/bar/.bat/
11:46 <vmassol> yes but the shortcut calls it
11:46 <tmortagne> you can indicate where it's executed in a shorcut
11:47 <vmassol> yup
11:47 <vmassol> INSTALL_PATH
11:47 <vmassol> workingDirectory="$INSTALL_PATH"
11:47 <vmassol> so it should go in the install directory I guess
11:47 <vmassol> which may not be writeable....
11:48 <vmassol> maybe ther's something I don't understand but it was working in my tests, strange
11:48 <tmortagne> you looked at log file in your tests ?
11:49 <vmassol> no but at the console
11:49 <vmassol> actually
11:49 <tmortagne> sure but you could have a console and nothing written anywhere
11:49 <vmassol> do we save to a log file?
11:49 <tmortagne> in the jetty/hsqldb zip we do
11:49 <vmassol> need to check the jetty conf
11:49 <tmortagne> at least on linux
11:50 <vmassol> ah that's hwy it works
11:50 <vmassol> :)
11:50 <vmassol> we configured jetty to log in the data dir
11:50 <vmassol> <Arg><Property name="xwiki.data.dir" default="."/>/logs/yyyy_mm_dd.output.log</Arg>
11:52 <cjd> <ARGH>
11:56 <tmortagne> we really need to integrate a log displayer in logging administration...
11:57 <tmortagne> pretty much implement tail in a wiki page
11:58 <vmassol> at least that, but I'd also like to bring it to the level of the wiki pages
11:58 <vmassol> ie display errors/warnings that are displayed when viewing a given page
12:08 <Enygma`> has joined #xwiki
12:09 <evalica> has joined #xwiki
13:09 <vmassol> does someone remember if we implemented having a link to a filter in a LT in the end?
13:09 <vmassol> mflorea: any idea?
13:09 <vmassol> nevermind actually I'll do it differently
13:19 <mflorea> vmassol: the live table adds the filters in the "document fragment" part of the URL (after the #)
13:19 <mflorea> so the filter state is saved in the URL
13:19 <mflorea> http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome#|t=extensions&p=1&l=30&s=doc.creationDate&d=desc&name=tree
13:19 <mflorea> for instance
13:22 <sburjan> has quit
14:27 <msmeria> has quit
14:39 <KermitTheFragger> has joined #xwiki
15:16 <Enygma`> has quit
15:18 <evalica> has quit
15:20 <Enygma`> has joined #xwiki
15:21 <evalica> has joined #xwiki
16:08 <Pbas> has quit
16:19 <DarkKnightCZ> has quit
16:37 <vmassol> guys, question:
16:38 <vmassol> should I commit the homrpage app I have locally (it's done already with some func tests) or should I move it to xwiki-contrib and change the package names I have instead and just publish it as an extension?
16:38 <vmassol> evalica, tmortagne, mflorea?
16:39 <cjd> tmortagne: turns out, $services.commandRunner.run("ls -la", "", 1000) does indeed work :)
16:39 <tmortagne> cjd: ok
16:40 <evalica> vmassol: I would really like to play with it as an extension first, before replacing the homepage
16:40 <vmassol> I'm asking because moving to an extension is some work
16:40 <vmassol> and then if I need to move it again it's again some more work
16:40 <mflorea> vmassol: since we haven't agreed on the solution, I also think it would be good to have it as an extension first to see how it works
16:41 <vmassol> mflorea: the question for me is really
16:41 <vmassol> do we see it as slightly better than what exists or not
16:41 <vmassol> if we consider it even slightly better then we should have it IMO
16:41 <vmassol> and then remove it later on when we have a better solution
16:42 <vmassol> (like the new home page for which I started a discussion)
16:42 <vmassol> if we're not sure it's better than I agree
16:42 <vmassol> that it's better to just have it as an extension
16:42 <mflorea> vmassol: it's hard to tell only from the mails. Having it as an extension that can be installed and played with can help
16:42 <vmassol> it's not the mail
16:42 <vmassol> there are plenty of screenshots too :)
16:42 <vmassol> ok
16:42 <vmassol> I'll do it as an extension
16:43 <vmassol> (didn't want to spend more time on it but ok will do)
16:43 <vmassol> screenshots here ftr: http://jira.xwiki.org/browse/XWIKI-10586
16:44 <vmassol> I think the screenshots are pretty good to have an idea (I've just checked them now)
16:46 <evalica> my problem is that this solution seems very complex to me. I never read the whole text the first time and I scan it also now. Even if it allows the users to change the homepage with another page … I would still have preferred to delete the dashboard by pressing delete, than to read all that.
16:46 <evalica> brb
16:47 <evalica> I have a meeting
16:49 <vmassol> it has 2 features: be able to replace with your own content (step 4 and 5) or use another page (steps 2 and 3)
16:49 <vmassol> anyway, doing it as an extension. My only fear is that it stays there as an extension and we don't do anything anytime soon to fix the current issues
16:50 <vmassol> which has been going on forever
16:50 <vmassol> and shame on us, w've never done anything about it
16:50 <vmassol> caty: you had the task to improve it several times
16:50 <vmassol> in the roadmap
16:50 <vmassol> (with JV)
16:50 <vmassol> but in the end nothing was done
16:50 <vmassol> probaby because we were looking for something perfect
16:50 <vmassol> and thus we preferred to not do anything
16:51 <AFKGeek> has quit
16:51 <vmassol> all I know is that GL likes it, Ludovic also foudn it better than what exists so I think it has a good chance of being better than what we have now
16:51 <evalica> the task was to easily change the Welcome Text …. now we want to remove all the Homepage, because we couldn't find a way to use a better gadget
16:51 <vmassol> (and with the test on my wife is was easier by far compared to what we have)
16:51 <vmassol> so if we really do something quickly it's fine to not have it
16:52 <vmassol> quickly = in 6.3
16:52 <vmassol> if it's about wait the next cycle then we should have it
16:52 <vmassol> IMO
16:52 <Enygma`> vmassol: I am going to consider it when handling the issue for 6.3M1
16:52 <Enygma`> the work you did + the mails on the topic
16:52 <vmassol> Enygma`: yup
16:52 <vmassol> what I mean
16:52 <vmassol> is htat committing it is about 10 minutes for me (I think)
16:52 <vmassol> so I'm just hesitating between that vs not doing anything
16:53 <vmassol> (or moving it as an extension, which is about 1 hour)
16:53 <vmassol> anyway, right now from what I hear
16:53 <vmassol> I should take that hour to move to extensions
16:53 <vmassol> *move it
16:54 <vmassol> Enygma`: is that what you think too?
16:55 <vmassol> caty is for that, and so is marius
16:55 <vmassol> I could also commit it on a branch on platform btw… but then no extension to try it out easily
16:55 <Enygma`> I can`t say much since I wanted to handle it at the point. I might even consider that for what we need to do it would be a good start.
16:56 <mflorea> has quit
16:56 <vmassol> or do both
16:56 <Enygma`> I, personally, would prefer to build on top of your work
16:56 <vmassol> commit on branch, then move as extension and publish
16:56 <Enygma`> but I really need to look better at the detaisl
16:56 <Enygma`> (in a meeting now)
16:56 <vmassol> Enygma`: it really depends if we agree about the simple approach I proposed
16:56 <tmortagne> vmassol: I did not followed the related mails but if there is no agreement it would be weird to commit it anyway
16:56 <vmassol> ie no dashboard on home page
16:56 <vmassol> tmortagne: there might be no agreement on what we want to have
16:56 <vmassol> but have a an agreement that t's better than what exists
16:57 <vmassol> I would need to re-read the emails
16:57 <vmassol> I din't think anyone was strongly against it
16:57 <vmassol> caty just said that she doesn't think it solves all issues
16:57 <vmassol> and that she found it a bit complex
16:57 <vmassol> but I doubt that she thinks that the current solution is better
16:58 <tmortagne> vmassol: it's not very clear to me if evalica find it better or not
16:58 <vmassol> indeed it's not 100% clear
16:58 <vmassol> although
16:58 <vmassol> I have peronsally 0 doubt about that and she shouldn't based on what she presented from her usability sessions )
16:58 <vmassol> :)
16:59 <vmassol> personally I don't think it's the end solution
16:59 <vmassol> but I'm sure it's a lot better than what we have
17:00 <vmassol> waiting 5 more minutes
17:00 <vmassol> and I'll start the work of moving the code to contrin
17:00 <vmassol> contrib
17:27 <AFKGeek> has joined #xwiki
17:30 <AFKGeek> has quit
17:30 <tmortagne> has quit
17:32 <andreeapopescu> has quit
17:33 <KermitTheFragger> has quit
17:37 <evalica> has quit
17:39 <woshilapin> has quit
17:46 <woshilapin> has joined #xwiki
17:59 <tmortagne> has joined #xwiki
18:02 <cjd> has quit
18:41 <EA> has joined #xwiki
18:46 <EA> hello! I copied a set of pages to a new subwiki that now has my name all over “Created by” and “Last modified by” fields. I read some of the lengthy discussion the dev team had about fixing/not-changing that behavior.
18:47 <EA> i was wondering if there was ever a solution for rolling back at least the last modified author to the previous author? i.e. so it doesn’t show my name on these copied/moved documents.
18:48 <EA> Would that be counterintuitive to find such a solution? For example, if I rollback an author and save that change, wouldn’t I then be modifying that document and staying as the last modifying author?
18:59 <andreeapopescu> has joined #xwiki
19:04 <andreeapopescu> has quit
19:05 <unfed> has joined #xwiki
19:05 <woshilapin> has quit
19:05 <andreeapopescu> has joined #xwiki
19:08 <cjd> has joined #xwiki
19:09 <andreeapopescu> has quit
19:11 <EA> anyways - I think we’ve decided here to just stick with having my name on the documents as last modifier.
19:11 <EA> has quit
19:11 <cjd> has left #xwiki
19:17 <OSIMasson> has joined #xwiki
19:27 <Slashman> has quit
19:45 <vmassol> has quit
20:11 <abusenius> has joined #xwiki
20:31 <OSIMasson> has quit
20:58 <tmortagne> has quit
21:47 <andreeapopescu> has quit
22:01 <momomomomo> has joined #xwiki
23:45 <OSIMasson> has joined #xwiki