IRC Archive for channel #xwiki on 14 April 2015

Last modified by Vincent Massol on 2015/04/14 23:42

<woshilapin> has quit
00:15 <abusenius> has quit
01:23 <gsmeria> has joined #xwiki
01:30 <lucaa> has quit
01:42 <gsmeria> has quit
01:50 <lucaa> has joined #xwiki
01:54 <lucaa> has quit
02:06 <Denis> has quit
03:49 <Denis> has joined #xwiki
05:06 <Denis> has quit
05:06 <martin-h> has quit
05:13 <Denis> has joined #xwiki
05:13 <martin-h> has joined #xwiki
06:05 <Denis> has quit
06:07 <Denis> has joined #xwiki
07:05 <msmeria> has joined #xwiki
07:12 <DarkKnightCZ> has joined #xwiki
07:56 <vmassol> has joined #xwiki
07:57 <woshilapin> has joined #xwiki
08:30 <woshilapin> has quit
08:38 <KermitTheFragger> has joined #xwiki
08:48 <tmortagne> has joined #xwiki
08:54 <Trefex> has joined #xwiki
08:59 <Trefex> has quit
09:08 <tmortagne> has quit
09:09 <tmortagne> has joined #xwiki
09:10 <DarkKnightCZ> has quit
09:11 <DarkKnightCZ> has joined #xwiki
09:19 <woshilapin> has joined #xwiki
09:30 <cjd> has joined #xwiki
09:58 <Trefex> has joined #xwiki
10:04 <Slashman> has joined #xwiki
10:05 <Chuguniy> has joined #xwiki
10:11 <Slashman> has quit
10:17 <DarkKnightCZ> Hi, what would be the best way to create blacklisting for the Document Tree Macro? (i.e. don't show specified spaces
10:17 <lucaa> has joined #xwiki
10:22 <tmortagne> DarkKnightCZ: document tree macro show hidden documents ?
10:26 <Slashman> has joined #xwiki
10:27 <DarkKnightCZ> tmortagne: yup, that is possibility, but that would require to hide every page in those spaces (not applicable), but seems i can just copy the macro and modify the data-url generation
10:29 <DarkKnightCZ> so basically new handleDocumentTreeRequest macro in XWiki.DocumentTreeMacros
11:01 <Trefex> has quit
11:14 <Trefex> has joined #xwiki
11:20 <lucaa> has quit
11:21 <lucaa> has joined #xwiki
11:21 <lucaa> has quit
11:22 <lucaa> has joined #xwiki
11:23 <Chuguniy|2> has joined #xwiki
11:25 <Chuguniy> has quit
11:41 <Chuguniy|2> has quit
11:51 <lucaa> has quit
11:53 <lucaa> has joined #xwiki
12:14 <gsmeria> has joined #xwiki
12:33 <Trefex> has quit
12:44 <lucaa> has quit
12:56 <DarkKnightCZ1> has joined #xwiki
12:59 <DarkKnightCZ> has quit
13:07 <OSIMasson> has joined #xwiki
13:33 <Trefex> has joined #xwiki
13:41 <gsmeria> has quit
13:42 <OSIMasson> has quit
13:42 <gsmeria> has joined #xwiki
13:56 <lucaa> has joined #xwiki
14:21 <vmassol> FTR I'm working on the URL/Resource modules ATM
14:21 <vmassol> Trying to implement an alternate URL scheme to validate that we can have several and to stabilize a bit the APIs
14:22 <vmassol> I'll also prepare some architecture documentation to explain the current URL resolution process
14:22 <cjd> oo oo oo  website.com/xwiki/bin/Main.WebHome :D
14:22 <cjd> or website.com/xwiki/view/Main.WebHome
14:22 <cjd> that would be awesome
14:23 <vmassol> I'm doing this one right now:
14:23 <vmassol> http://design.xwiki.org/xwiki/bin/view/Design/AlternateURLScheme
14:23 <vmassol> so it would be: website.com/xwiki/Main.WebHome
14:24 <cjd> ok, only reason I thought of /bin/ or /view/ was to defend against collisions but if there's another solution for that then I'm happy :)
14:24 <vmassol> right now I'm more focusing on verifying that the APIs are fine rather than focusing on this alternate URL scheme itself (which would need to be firmed up)
14:25 <vmassol> cjd: indeed the URL I mentioned is the shortcut
14:25 <vmassol> website.com/xwiki/WebHome would work too BTW
14:25 <vmassol> it would point to the WebHome page in the Main space in the xwiki wiki
14:25 <cjd> It's slightly annoying (maybe tolerable though) to have a collision in the event that a page is named ... 'jsx' for instance
14:26 <vmassol> when the shortcut leads to collisions you need to use the longer URL format
14:26 <vmassol> (it's explained on the doc I pointed to)
14:27 <cjd> sounds ok for me
14:27 <cjd> collisions are rare
14:27 <cjd> so subwiki:Main.WebHome ?
14:27 <vmassol> we'll still need to decide how we want to handle subwikis
14:27 <cjd> ahh ok
14:27 <vmassol> right now I'm implementing it only in the reference
14:28 <vmassol> so website.com/xwiki/wiki:space.page
14:28 <cjd> /nod
14:28 <vmassol> or if you're deploying as ROOT: website.com/wiki:space.page :)
14:28 <cjd> that's nice because if xwiki is the root webapp then it's really simple
14:28 <cjd> yeah that
14:30 <vmassol> the nice thing is that to implement this new URL scheme I've just had to write 50 lines or code or so
14:30 <vmassol> s/or code/of code
14:31 <vmassol> but that's only for the parsing part…. ;)
14:31 <vmassol> still need to tackle the serialization part...
14:31 <cjd> yeah and sometimes it's 1 line of code but days to find the right way to write it :|
14:58 <Trefex> has quit
15:09 <Chuguniy> has joined #xwiki
15:10 <lucaa> has quit
15:21 <OSIMasson> has joined #xwiki
15:26 <gsmeria> has quit
15:40 <msmeria> has quit
15:40 <lucaa> has joined #xwiki
16:04 <woshilapin> has quit
16:15 <[d__d]> has quit
16:25 <OSIMasson> has quit
16:26 <OSIMasson> has joined #xwiki
16:46 <vfzevaze> has joined #xwiki
17:01 <OSIMasson> has quit
17:10 <KermitTheFragger> has quit
17:39 <vfzevaze> hello dear community!
17:40 <vfzevaze> can someone give me a hand and help to cfg xwiki to use an external mvn repo? I did read and have tried as described in http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Module+Repositories but with no success
17:44 <vfzevaze> please?
17:57 <gsmeria> has joined #xwiki
17:57 <OSIMasson> has joined #xwiki
18:11 <lucaa> has quit
18:12 <tmortagne> vfzevaze: what does not work ?
18:12 <OSIMasson> has quit
18:14 <vfzevaze> i can not install any extension
18:14 <vfzevaze> i have deployd some extensions to the nexus and also added the nexus-xwiki-proxy-repository to the repository group i am using
18:15 <tmortagne> what kind of repository are you adding ?
18:15 <tmortagne> what do you mean exactly by "i can not install any extension"
18:15 <tmortagne> ?
18:15 <vfzevaze> when i try to install some extension it is always empty
18:15 <tmortagne> simple search is not supported for maven repositories
18:16 <tmortagne> you have to use "advanced search" and explicitly indicate id and version you want to install
18:16 <vfzevaze> can't install any extension via the extension manager
18:16 <tmortagne> you can but you have to know what exactly you want to install
18:17 <tmortagne> the search result you get with standard xwiki conf is http://extensions.xwiki.org but when you want to install something from maven central or nexus.xwiki.org you have to indicate the exact id and version
18:20 <vfzevaze> like this? XWiki.AddExtensions&extensionId=macro-commons&extensionVersion=1.0.2
18:21 <vfzevaze> i getting still nothing
18:21 <tmortagne> not in the URL
18:21 <tmortagne> look on the right
18:21 <vfzevaze> ok how about having http://extensions.xwiki.org and custom nexus?
18:21 <tmortagne> you have "Advanced search"
18:21 <tmortagne> you have to indicate the complete id
18:21 <vfzevaze> i did use the advanced search, that is just the result as an example for you to better understand what i did
18:22 <tmortagne> I can't really know your extension id but usually it's the groupid:artifactid if it's a maven artifact
18:22 <vfzevaze> gid and aId?
18:22 <vfzevaze> ok
18:22 <vfzevaze> yei! it worked!
18:23 <vfzevaze> how to have both now? the default and custom extensions? just adding a second line? it will not overwrite the cfg?
18:23 <tmortagne> when you start putting custom stuff you have to list all repositories you want
18:24 <tmortagne> defualt repository are enabled when nothing is indicated
18:24 <tmortagne> you have the default repositories in xwiki.cfg
18:24 <tmortagne> just uncomment them
18:24 <vfzevaze> great thx
18:24 <tmortagne> that's not not force the default repositories in case you don't want them
18:24 <tmortagne> s/not not/to not/
18:25 <tmortagne> vfzevaze: the order in which you indicate them in xwiki.cfg is the order in which they will be tried
18:26 <vfzevaze> alright
18:27 <vfzevaze> which application do i have to install to get the extension manager to list the extensions from the custom maven using the default search?
18:48 <gsmeria> has quit
18:51 <[d__d]> has joined #xwiki
18:53 <tmortagne> has quit
18:55 <Slashman> has quit
18:55 <cjd> has quit
18:57 <lucaa> has quit
19:08 <abusenius> has joined #xwiki
19:11 <Slashman> has joined #xwiki
19:16 <vmassol> has quit
19:41 <vfzevaze> has quit
19:59 <OSIMasson> has joined #xwiki
20:07 <Slashman> has quit
20:17 <Bugen_do> has joined #xwiki
20:55 <Trefex> has joined #xwiki
21:01 <Trefex> has quit
21:02 <lucaa> has joined #xwiki
21:28 <lucaa> has quit
21:30 <lucaa> has joined #xwiki
21:36 <lucaa> has quit
22:07 <OSIMasson> has quit
22:39 <MasterPiece> has joined #xwiki
23:16 <Bugen_do> has quit
23:17 <Chuguniy> has quit
23:42 <woshilapin> has joined #xwiki
Tags:
   

Get Connected