IRC Archive for channel #xwiki on 28 March 2012
Last modified by Vincent Massol on 2012/10/18 19:22
13:57 <xwikibot> has joined #xwiki
14:01 <vmassol> should we stop the build manager role now that we're stabilized again?
14:01 <vmassol> we could stop it till we find ourselves in a bad shape again and then restart it
14:01 <vmassol> right now it means every developer should pay attention to build results and look at them every day
14:21 <Rajan_Mistry> has joined #xwiki
14:25 <Rajan_Mistry> has left #xwiki
14:29 <+sburjan> vmassol: the extension is still broken, so it isn't just an install issue, this would require more investigation. it seems the WebDav URL was modified since 2008 when the extension was created. so ATM, it deserves its "dead" status
14:30 <vmassol> we need a maintainer for it
14:31 <vmassol> you could be that maintainer if you wanted…. :)
14:33 <+sburjan> I need time + knowledge :)
14:33 <sdumitriu> has joined #xwiki
14:33 <+sburjan> not familiar with FF extensions, webdav, etc
14:37 <vmassol> and? :)
14:38 <vmassol> (it's more a question of being interested instead of already knowing)
15:03 <evalica> has quit
15:03 <evalica1> has joined #xwiki
15:04 <+sburjan> okay, I fixed the malformed URL thing , but still doesn't run because of auth issues :D
15:07 <sdumitriu> has quit
15:09 <+sburjan> which dunno how to fix because the application who wants to open the file should to auth, and this is beyond :)
15:11 <+sburjan> I'll save the fix maybe one day someone with experience will want to continue and fix it all the way
15:18 <DrLou__> has joined #xwiki
15:20 <DrLou__> is now known as <DrLou>
15:31 <+mflorea> vmassol: what homePath are you using to configure OpenOffice on Mac?
15:32 <vmassol> mflorea: it's working automagically
15:32 <vmassol> for libreoffice
15:32 <vmassol> but I've documented it on the office view doc on e.x.o
15:33 <+mflorea> same for me, but Oana has issues with XE 3.1 (the autodetection could be more recent)
15:40 <vmassol> guys are you aware of this: https://github.com/xwiki/xwiki-platform/commit/e42540beec122abc099cd4d344f4d14b98311bb6#diff-1
15:40 <vmassol> ?
15:41 <vmassol> it doesn't look good to me....
15:52 <vmassol> Denis: ping
15:56 <CIA-120> Ecaterina Moraru (Valica) master * r11a8385 https://github.com/xwiki/xwiki-platform/commit/11a8385a52c4a4f50f55fbc272ecb1318542d3d2 / (4 files in 4 dirs): XWIKI-7664: In CSS properties values use $theme.notificationErrorColor for error or destructive actions - http://git.io/bCk_yQ
15:56 <CIA-120> Ecaterina Moraru (Valica) master * re0973f6 https://github.com/xwiki/xwiki-enterprise/commit/e0973f6b8dc5b2f5e3869b0e9245e9225c121bf8 / xwiki-enterprise-ui/src/main/resources/XWiki/SharePage.xml : XWIKI-7664: In CSS properties values use $theme.notificationErrorColor for error or destructive actions - http://git.io/9Bkcig
15:57 <evalica1> is now known as <evalica>
15:58 <lucaa> has quit
16:13 <sdumitriu> has joined #xwiki
16:15 <lucaa> has joined #xwiki
16:25 <Enygma`> has joined #xwiki
16:50 <qwebirc87138> hi guys, I cannot manage to query all the groups having read access to the "current page", could you pleas help me?
16:50 <qwebirc87138> *please :p
16:52 <vmassol> qwebirc87138: sorry but I don't know this part
16:55 <qwebirc87138> thanks anyway
16:59 <vmassol> AndreasJonsson: I'm here if you need more details ;)
17:12 <@cjd> qwebirc87138: I can't raddle off a query but I can assure you that an exhaustive query would be pretty horrible and would take a very long time to complete.
17:13 <+Denis> vmassol: pong
17:14 <@cjd> users can have permission to view the page, or they can have cascading permission from the space, or it can be from the wiki, users are in groups and groups can be in other groups so if it is possible to query exhaustively, it would be about a page of SQL.
17:15 <@cjd> If you want an inexhaustive "best guess" query, that would be easier but there will of course be edge cases which slip through
17:28 <Enygma`> has quit
17:30 <Enygma`> has joined #xwiki
17:32 <pulasthi> has joined #xwiki
17:37 <qwebirc87138> thanks cjd
17:39 <qwebirc87138> I've been asked by users to add a remark in any page, showing the groups to which the given page is accessible/visible
17:39 <qwebirc87138> but it seems quite complicated..
17:42 <@cjd> You could make a feature request on the jira tracker and since there is currently development on a high speed caching permissions module, I think that is something which would be possible to add a function for.
17:43 <Enygma`> has quit
17:44 <qwebirc87138> and how about making it at space level ?
17:45 <qwebirc87138> do you know how the space and groups are connected?
17:45 <qwebirc87138> if that query would have better performances
17:45 <@cjd> groups are xwiki objects and spaces are "virtual" namespaces for documents
17:45 <Enygma`> has joined #xwiki
17:46 <@cjd> a space is just the part of the document name before the ".", you don't need to use mkdir and rmdir to create and remove spaces.
17:46 <qwebirc87138> I see
17:47 <@cjd> checking permissions on a space is done by checking the XWikiGlobalRights objects in the WebPreferences document in that space
17:47 <@cjd> if there is no such document or it has no applicable rights objects, it defers to the permissions for the whole wiki.
17:48 <@cjd> So if you make some assumptions like "no deny permissions means everyone can view it" AKA: "all groups have permission to view on the wiki level" then it can be simplified.
17:48 <@cjd> Also you would want to assume that groups are not members of other groups because if they are, the query is recursive
17:50 <qwebirc21732> has joined #xwiki
17:50 <qwebirc87138> has quit
17:51 <qwebirc21732> sorry got disconnected
17:51 <qwebirc21732> I'll make that assumption
17:51 <qwebirc21732> so given a page
17:51 <qwebirc21732> I could check for the global rights of its space
17:52 <@cjd> yes
17:52 <sdumitriu> has quit
17:52 <qwebirc21732> but still.. could you help me by querying the group having read access to a given space ?
17:53 <qwebirc21732> I was able to do it the other way around, like given the spaces, check if the user has access to it..
17:53 <@cjd> hmm I think there's a function for this
17:53 <qwebirc21732> but I cannot retrieve the list of groups having read access to a given space
17:54 <Enygma`> has quit
17:54 <@cjd> using the permissions system is faster than asking the database because a lot of this information is cached.
17:55 <Enygma`> has joined #xwiki
17:56 <sburjan> has quit
17:56 <qwebirc21732> I'll investigate further tomorrow, but thanks for your time cjd
17:57 <@cjd> sure thing
17:58 <@cjd> pulasthi: http://178.32.188.9:8080/ <-- still very broken but running entirely on cassandra
17:58 <@cjd> performance results are encouraging
18:00 <@cjd> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18:00 <pulasthi> cjd: cool, it loaded pretty quickly even with the fact that i am connected through my phone
18:00 <@cjd> 22603 wikinode 20 0 1056m 388m 21m S 0 7.6 1:05.85 java
18:01 <@cjd> 388M of ram is not horrible, I would really like to drive it down further
18:01 <@cjd> ofc in a lot of cases, the standard library is your enemy :(
18:03 <@cjd> mmm gotta setup another one so I can kill them one at a time to reinstall and cassandra will shift the data over
18:04 <ssavi> has joined #xwiki
18:04 <pulasthi> cjd: hmm its seems you've been working on this a lot :)
18:05 <@cjd> Most of it was done over the summer, I just had to revamp the design and get a better understanding of how DN and Cassandra actually works
18:20 <pulasthi> cjd: cool, it seems you will be able to finish it soon :)
18:20 <vmassol> has quit
18:21 <@cjd> heh porting all of the functions and features over is a one-by-one project
18:21 <@cjd> soon, we'll have a base to build on
18:23 <pulasthi> ahh
18:26 <pulasthi> anyway its come a long way
18:26 <pulasthi> cjd: i have to go, catch you later :)
18:28 <@cjd> see ya
18:40 <Enygma`> has quit
18:44 <mflorea> has quit
18:48 <sdumitriu> has joined #xwiki
18:49 <pulasthi> has left #xwiki
18:57 <Enygma`> has joined #xwiki
19:04 <jvdrean> has quit
19:08 <gdelhumeau> has quit
19:16 <DrLou> has left #xwiki
19:16 <evalica> has quit
19:19 <abusenius> has joined #xwiki
19:23 <Enygma`> has quit
19:32 <vishnu> has joined #xwiki
19:43 <ssavi> has quit
19:43 <vishnu> hi sdumitriu :)
19:44 <@sdumitriu> Hi vishnu
19:44 <vishnu> I'm back, this time succesfully tracing out the error :D
19:44 <@sdumitriu> Any luck?
19:44 <vishnu> here it is!
19:44 <vishnu> http://pastebin.com/hp8UdGSm
19:44 <@sdumitriu> Hm...
19:45 <@sdumitriu> Could you update the sources and try to compile again?
19:46 <@sdumitriu> Looks like you might have been building an older xwiki-platform on a newer xwiki-commons, just after an important change
19:47 <vishnu> ohh.. ok.. I will do that and let you know :)
19:48 <ssavi> has joined #xwiki
19:56 <vmassol> has joined #xwiki
19:57 <lucaa> has quit
20:04 <vmassol> has quit
20:08 <jjstautt> has joined #xwiki
20:11 <jvdrean> has joined #xwiki
20:13 <jjstautt> does anyone here know of a guide on how to migrate from XWiki to mediawiki? We're switching to Dreamhost and they don't allow you to install XWiki.
20:13 <jjstautt> my google searches just show results for going in the opposite direction
20:14 <@sdumitriu> jjstautt: You're the first one to ask this, as far as I remember
20:14 <@sdumitriu> What version of XWiki are you currently using?
20:15 <jjstautt> umm.. I'll have to get back to you on that.
20:17 <jjstautt_> has joined #xwiki
20:19 <jjstautt_> XWIKI ENTERPRISE 2.5-MILESTONE-1.30995
20:20 <jjstautt_> sorry, had to vpn to find out.
20:21 <jjstautt> has quit
20:21 <jjstautt_> is now known as <jjstautt>
20:25 <vmassol> has joined #xwiki
20:26 <@sdumitriu> OK, that should have some support for mediawiki syntax
20:26 <@sdumitriu> vmassol: Do you know if we have rendering (output) support for mediawiki, or just parsing?
20:26 <vmassol> just parsing
20:27 <@sdumitriu> Hm...
20:28 <@sdumitriu> jjstautt: Looks like there's no direct support for converting content from the xwiki to the mediawiki syntax
20:28 <@sdumitriu> But it shouldn't be too hard to add a renderer for it
20:28 <vmassol> we have the other way around
20:28 <vmassol> you can convert mediawiki to xwiki syntax
20:28 <jjstautt> hmm. ok. thanks anyways.
20:28 <@sdumitriu> It's just some Java code to write
20:30 <@cjd> Re: [xwiki-devs] [VOTE] Changing our deprecation strategy: I'm a bit concerned that the 4 years number is punting. There is always going to be another tomorrow and it'll always be easier to say "lets break compat tomorrow".
20:30 <jjstautt> has left #xwiki
20:30 <@cjd> Not to point fingers, these things just kind of happen..
20:30 <vmassol> cjd: so far we've done the opposite
20:31 <vmassol> and this doesn't preclude exceptions
20:31 <vmassol> they'll just have to be voted that's all
20:31 <@cjd> Has there been a big scripting api break before?
20:31 <vmassol> we have never removed any api so far (except by mistake) - AFAIK
20:32 <vmassol> (scripting api I mean)
20:32 <@cjd> hmm.. I think we will want to vote on it in a year if we really are going to do this.
20:32 <vmassol> right now I can go ahead and just removed everything
20:32 <vmassol> becuase that's our **current** vote and rule
20:32 <vmassol> ther's no point in waiting more
20:32 <sdumitriu> has quit
20:32 <vmassol> it's just ridiculous right now
20:33 <vmassol> and doesn't work
20:33 <@cjd> I'm +1 to remove stuff now, we just vote on it and it's done.
20:33 <vmassol> errr?
20:33 <vmassol> what stuf?
20:33 <@cjd> There are a few things in the scripting api which are deprecated IIRC.
20:34 <vishnu> has quit
20:34 <@cjd> On another node, I'm willing to help identify and isolate methods which can be removed or made private.
20:35 <vmassol> anyway please vote and if you have better ideas suggest it in your response
20:35 <vmassol> thanks
20:35 <@cjd> ok
20:36 <sburjan`> has quit
20:45 <Faryshta_> has quit
20:54 <faryshta> I updated my milestone proposal http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/faryshta/3001
21:01 <sdumitriu> has joined #xwiki
22:09 <ssavi> has quit
22:11 <polx_> has joined #xwiki
22:12 <sburjan`> has joined #xwiki
22:13 <polx> has quit
22:13 <polx_> is now known as <polx>
22:27 <ssavi> has joined #xwiki
22:28 <cjd> has quit
22:31 <cjd> has joined #xwiki
22:37 <polx> has quit
22:39 <cjd> has quit
22:45 <cjd> has joined #xwiki
22:51 <cjd> has quit
22:53 <vmassol> has quit
22:53 <polx> has joined #xwiki
22:56 <abusenius> has quit
22:57 <cjd> has joined #xwiki
23:01 <polx> has quit
23:05 <polx> has joined #xwiki
23:09 <Faryshta_> has joined #xwiki
23:12 <cjd> has quit
23:15 <cjd> has joined #xwiki
23:38 <cjd> has quit
23:40 <jvdrean> has quit
23:44 <cjd> has joined #xwiki
23:48 <florinciu> has joined #xwiki
23:55 <cjd> has quit
23:59 <cjd> has joined #xwiki