Show last authors
1 <Denis2> has joined #xwiki
2 06:01 <Denis> has quit
3 06:14 <cjd_> has joined #xwiki
4 06:14 <cjd> has quit
5 06:24 <mflorea> has joined #xwiki
6 06:53 <Ramona1> has joined #xwiki
7 07:23 <vmassol> has joined #xwiki
8 07:26 <mflorea> has quit
9 07:47 <msmeria> has joined #xwiki
10 08:24 <cjd_> has quit
11 08:26 <vmassol> has quit
12 08:43 <KermitTheFragger> has joined #xwiki
13 09:04 <tmortagne> has joined #xwiki
14 09:05 <cjd> has joined #xwiki
15 09:10 <woshilapin> has joined #xwiki
16 09:46 <mflorea> has joined #xwiki
17 10:18 <evalica> has joined #xwiki
18 10:19 <Enygma`> has joined #xwiki
19 10:27 <vmassol> has joined #xwiki
20 10:45 <Pbas> Hello, FYI myxwiki.org is down since this morning
21 10:48 <tmortagne> restarted it
22 10:48 <tmortagne> checking why it did not restarted automatically
23 10:51 <Pbas> Ok thxs :-)
24 11:08 <Slashman> has joined #xwiki
25 12:29 <ClemensR> has joined #xwiki
26 12:39 <Pbas> has quit
27 12:48 <Denis2> has quit
28 12:48 <Denis> has joined #xwiki
29 13:26 <Pbas> has joined #xwiki
30 14:56 <Ramona1> has quit
31 15:00 <msmeria> has quit
32 15:17 <vmassol> mflorea: importing AWM on exo :)
33 16:01 <sdumitriu1> has quit
34 16:11 <Slashman> has quit
35 16:12 <sdumitriu1> has joined #xwiki
36 16:42 <Trefex> my god
37 16:42 <Trefex> the nested pages with the tree stuff is like the best thing EVER to have been done in xWiki
38 16:48 <vmassol> Trefex: awesome! Can I quote you on this? :)
39 16:48 <Trefex> vmassol: Yes, you can even use my real name
40 16:48 <Trefex> it gives a complete new dimension to organizing our data
41 16:49 <vmassol> yup
42 16:49 <vmassol> what's your real name? :)
43 16:49 <vmassol> ok thanks
44 16:49 <Trefex> PM ;)
45 16:50 <Trefex> while i have your attention :D
46 16:50 <vmassol> hehe
47 16:50 <vmassol> there's always a pirce!
48 16:50 <Trefex> in the page tree gadget, is it possible to exclude certain root nodes
49 16:50 <vmassol> *price
50 16:50 <Trefex> rather than include all of them? :)
51 16:50 <Trefex> vmassol: of course ^--^
52 16:51 <Trefex> like I want to hide Home, XWiki and Sandbox
53 16:51 <vmassol> I don't know the document tree macro that well but I can point you to the doc and mflorea may be able to help
54 16:52 <Trefex> sure, that would work i guess
55 16:52 <vmassol> http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro
56 16:52 <Trefex> also, and that is the last question for today, how can i find out the reference of a document?
57 16:52 <Trefex> you know the XWiki.Main.WebHome:Whatever
58 16:53 <vmassol> Trefex: yeah we need to write some doc for that
59 16:53 <vmassol> basically you can deduce it from the url
60 16:54 <vmassol> if you give me a url I can translate it for you
61 16:54 <Trefex> oh ok
62 16:54 <vmassol> it's:
63 16:54 <vmassol> <wiki name>:<spac1>.<space2>…<spaceN>.<page>
64 16:54 <Trefex> https://lcsb-wiki.uni.lu/xwiki/wiki/lcsbbiocore/view/lcsb-sysadmins/Foreman/
65 16:54 <vmassol> so that would be:
66 16:54 <Trefex> well now that there's no more spaces
67 16:55 <Trefex> how would that work?
68 16:55 <vmassol> lcsb-sysadmins.Foreman.WebHome
69 16:55 <tmortagne> Trefex: no more spaces in the UI
70 16:55 <tmortagne> bu in practice it's still spaces
71 16:55 <Trefex> aha
72 16:55 <ClemensR> spaces are the parent documents
73 16:55 <vmassol> Trefex: have you seen http://platform.xwiki.org/xwiki/bin/preview/Features/ContentOrganization ?
74 16:55 <vmassol> (it has some explanations)
75 16:55 <vmassol> btw Trefex: you're now on http://www.xwiki.org/xwiki/bin/view/References/Testimonials congrats! :)
76 16:56 <vmassol> (and thanks)
77 16:56 <ClemensR> actually it would be csbbiocore:lcsb-sysadmins.Foreman.WebHome ;)
78 16:56 <Trefex> ok ClemensR thanks, so to hide "Home, and Sandbox" I could simply include all the others in that form wikiname:space.WebHome ?
79 16:57 <Trefex> vmassol: that link is behind paywall :D
80 16:57 <vmassol> ah yes thanks ClemensR
81 16:57 <vmassol> missed the wiki part
82 16:58 <vmassol> but you only need it Trefex if you're referencing from another wiki
83 16:58 <OSIMasson> has joined #xwiki
84 16:58 <Trefex> i mean the preview link is not accessible
85 16:58 <vmassol> oh sorry
86 16:59 <cjd> haha it's not a paywall, it's a broken link
87 16:59 <vmassol> right link is: http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization
88 16:59 <cjd> Hmm, maybe we should setup a paywall :)
89 16:59 <cjd> good idea Trefex
90 16:59 <ClemensR> hm, I think the macro only accepts one root ...
91 17:00 <Trefex> nice ! vmassol
92 17:00 <Trefex> ClemensR: well, how do you generate a list of pages then?
93 17:00 <ClemensR> what is does to "extend" the tree is to send JSON requests to XWiki.DocumentTree, which in turn uses stuff in XWiki.DocumentTreeMacro
94 17:00 <Trefex> i mean, either all or nothing or ? :)
95 17:01 <Trefex> btw this is the page tree gadget i'm talking about, i guess it's the same as documenttree?
96 17:01 <ClemensR> and if I have to modify the behaviour of the tree I usually end up modyfing stuff there .... whioch of course changes the behaviour of all document trees :(
97 17:02 <Trefex> just FYI, but the "root" explanation in http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro is completely strange for a novice like me. No clue what you mean that we should put :D
98 17:03 <ClemensR> but it is technically fully correct ;) Hey, there are even examples
99 17:03 <Trefex> then all i need is one mapping to my case?
100 17:04 <Trefex> like using the URL from above
101 17:04 <Trefex> i tried like couple combinations, nothing really works :(
102 17:04 <ClemensR> I guess what you want is having multiple roots, and that does not work
103 17:05 <ClemensR> or what did you try that didnt work ?
104 17:05 <Trefex> ok, is there another way for me to somehow hide some ?
105 17:05 <Trefex> i have a list of stuff, like SpaceA, SpaceB, SpaceC, Home, Sandbox, XWiki
106 17:05 <Trefex> the last three are noise, but could still be useful to keep
107 17:05 <Trefex> especially since the wiki home is in "Home", but shouldn't be shown there
108 17:07 <Trefex> before i had a small velocity script that was removing those entries ClemensR
109 17:07 <ClemensR> yeah, this i where I usually start to patch the XWiki/ DocumentTreeMacros
110 17:08 <Trefex> snief
111 17:08 <ClemensR> because If you look i.e. in the debug console of the browser you can see the result is returned from a request to /xwiki/bin/get/XWiki/DocumentTree?outputSyntax=plain&....
112 17:09 <ClemensR> the macro has a flag to hide, well, hidden pages, but you likely do not want to make the "Home" page hidden ...
113 17:10 <Trefex> ClemensR: another issue i have, is that I created a new Page (Space) and picked the "Dashboard" Template for that, now my velocity macro shows the new space but with a ? next to it
114 17:10 <Trefex> ClemensR: true... that would be quite silly
115 17:11 <ClemensR> hm, but that should bot depend on if you use the "Dashboard" template or not
116 17:11 <ClemensR> or is it shown on the new page itself, before saving ?
117 17:11 <Trefex> no this is after eveerything was created
118 17:12 <Trefex> ClemensR: here is my code: https://paste.fedoraproject.org/299148/14496775/
119 17:12 <Trefex> i guess it's somehow wrong since it's referring to WebHome which I guess doesn't exist then?
120 17:12 <vmassol> has quit
121 17:12 <ClemensR> WebHome exists as soon as you create the page, I am sure
122 17:13 <Trefex> then i dunno what's wrong
123 17:13 <ClemensR> but with nested spaces ... I guess that is the Problem
124 17:13 <Trefex> http://i.imgur.com/wHb31KX.png
125 17:13 <Trefex> this is the output
126 17:13 <ClemensR> one moent, I try to check what $xwiki.spaces does now
127 17:14 <ClemensR> narf, I started the wrong instance, 6.4.6 is not much help here :p
128 17:14 <vmassol> has joined #xwiki
129 17:15 <Trefex> http://i.imgur.com/XnPsOeX.png
130 17:16 <ClemensR> if "sandbox" would be made into an App, as it seems the decistion went, that would then be hidden from that view
131 17:16 <Trefex> how would i do that?
132 17:17 <ClemensR> for "XWiki" I usually made a hard wired patch to XWiki/DocumentTreeMacros - I know my users do not want to see it either
133 17:17 <ClemensR> well, it would just et the "hidden" flag on the Sandbox, you can do that rigth now
134 17:20 <Trefex> i hit the Hidden checkbox
135 17:20 <Trefex> but it still there
136 17:20 <Trefex> i guess that's not what you emant
137 17:20 <Trefex> ah wait, have to tell the macro
138 17:21 <Ramona1> has joined #xwiki
139 17:21 <Trefex> i guess the gadget can't set the hidden flag
140 17:22 <ClemensR> it is set by default
141 17:22 <Trefex> doesn't work
142 17:22 <Trefex> still showing up
143 17:22 <ClemensR> and I have been worng, it is not enoguh to set the "hidden" checkbox on the start page itself
144 17:23 <ClemensR> the tree figures that there are subpages in Sandbox, to it still shows the sandbox itself ... sorry
145 17:23 <Trefex> i also hid them all
146 17:23 <Trefex> still shows up
147 17:25 <KermitTheFragger> has quit
148 17:26 <Trefex> there's also a bug in the UI in my opinion
149 17:27 <Trefex> when you click the arrow next to the house you get the tree of the current wiki
150 17:27 <ClemensR> ow, really, it does :( ... I thought I can hise tio that way
151 17:27 <Trefex> when you click the arrow next to the current wiki you get the tree of the Parent Wiki
152 17:28 <ClemensR> that is likely a bug, should be reported to the JIRA
153 17:28 <ClemensR> with showing the wrong wiki, I mean
154 17:28 <Trefex> yep
155 17:28 <Trefex> for hiding the spaces, it kind of blows
156 17:28 <Trefex> do you know why my velocity actually creates the entry with an "?" ?
157 17:29 <Trefex> otherwise i would just stick with that one for now
158 17:29 <ClemensR> nah, I forgtot it shows attachment, too that is whi it isnt empty :-/
159 17:29 <ClemensR> no, I can only try one thing after the other
160 17:29 <Trefex> :d
161 17:29 <Trefex> :D
162 17:30 * ClemensR creating a subwiki, trying to reproduce the issue with the parent wiki shown ...
163 17:32 <vmassol> Trefex: what version are you using
164 17:32 <vmassol> ?
165 17:32 <Trefex> 7.3
166 17:32 <vmassol> (asking since we fixed some issue for the breadcrumbs tree)
167 17:32 <vmassol> but I think it was done for 7.3 final
168 17:33 <Trefex> should i submit the issue?
169 17:33 <Trefex> i am ready :D
170 17:33 <vmassol> sure go ahead
171 17:33 <Trefex> http://jira.xwiki.org/browse/XWIKI-12894
172 17:33 <Enygma`> has quit
173 17:33 <vmassol> thanks
174 17:38 <evalica> has quit
175 17:38 <Slashman> has joined #xwiki
176 17:41 <mflorea> has quit
177 17:41 <Trefex> ClemensR: ok so two potential issues still to tackle, one is the ? in the velocity script, and the second is perhaps the missing feature of excluding spaces from the documentreee
178 17:41 <Trefex> i guess for the latter one i can create an issue
179 17:45 <ClemensR> the (?) is becasue XWiki things the space path is for a single space
180 17:45 <ClemensR> it shpuld be the same for normal pages
181 17:45 <Trefex> so my code is wrong?
182 17:45 <ClemensR> no longer current so to say
183 17:46 <ClemensR> for example in Sandbox you crate a Page "Test"
184 17:46 <Trefex> ah right
185 17:46 <ClemensR> this page as the path "xwiki:Sandbox.Test.WebHome"
186 17:46 <Trefex> for the documentree macro, i created http://jira.xwiki.org/browse/XWIKI-12895
187 17:46 <ClemensR> and "space part" is Sandbox.Test
188 17:47 <Trefex> ClemensR: ok
189 17:47 <ClemensR> if you look at the (?) link it tries to link to /Sendbox.Test/WebHome or so
190 17:47 <ClemensR> but now for the fix ... need a moment ....
191 17:48 <Trefex> https://lcsb-wiki.uni.lu/xwiki/wiki/lcsbbiocore/create/lcsb-sysadmins.Foreman/WebHome?parent=Main.WebHome
192 17:48 <Trefex> it links to this
193 17:48 <ClemensR> (after rebooting a hanging build server here ....)
194 17:49 * Trefex is fed up with servers today too
195 17:50 <ClemensR> this "$xwiki.spaces" is no good any longer :( it is deprecated anyway, but to find a better solution, hmmm
196 17:51 <ClemensR> if you know your user are not using '.' inside space names there is a workaround, but usually sooner or later someone shows up using a '.'
197 17:51 <Trefex> very true, normally though, they now not to use spaces or weird chars, but hey, nobody is fool proof
198 17:52 <Trefex> can I not use $wiki.getSpaces() ?
199 17:52 <Trefex> or is that the same as $wiki.spaces
200 17:53 <ClemensR> it is the same, and both is deprecared I thought
201 17:55 <ClemensR> but even for me "@deprecated use query service instead" is not really helpful enough atm :)
202 17:55 <Trefex> http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed here it's not marked as deprecated
203 17:55 <Trefex> is not valid anymore?
204 17:55 <Trefex> also how can i know the mapping between velocity and the java objects?
205 17:57 <ClemensR> no, that SRD foir for 5.0 or so
206 17:57 <ClemensR> for the current one see http://platform.xwiki.org/xwiki/bin/view/DevGuide/API
207 17:58 <vmassol> yeah we need to remove that SRD probably now that we have the Scriptnig Documentation app
208 17:59 <Ramona1> has quit
209 18:02 <ClemensR> the one on xwiki.org is only for 7.1.1 however
210 18:04 <ClemensR> and for local installs there is SCRIPTDOC-2 blocking the use if it
211 18:05 <Trefex> what a mess :D
212 18:06 <vmassol> note: adding jean simard aka woshilapin as admin on xwiki.org so that he can update the REST doc
213 18:08 <Trefex> that app is a blessing though
214 18:10 <Trefex> ClemensR: boah, so now we would have to create direct queries to fetch list of spaces? that sucks
215 18:10 <tmortagne> has quit
216 18:11 <vmassol> Trefex: yes I agree it sucks a bit, but just a bit
217 18:11 <ClemensR> Trefex: $xwiki.spaces is not gone, just deprected, and I see in t impl that there is a"named" querty or it
218 18:11 <vmassol> queryManager.getNamedQuery("getSpaces")
219 18:11 <ClemensR> ah, this one
220 18:12 <Trefex> well it sucks only so much as it breaks my script :D
221 18:12 <vmassol> because now you can use all the query manager params
222 18:12 <ClemensR> nah it somethign else
223 18:12 <ClemensR> I think I got it
224 18:12 <vmassol> set the wiki, set the starting index, hwo many items to return, etc
225 18:12 <ClemensR> replace [[$space>>$services.model.createDocumentReference('', $space, 'WebHome')]]
226 18:12 <ClemensR> by * [[$space>>$services.model.resolveDocument("${space}.WebHome")]]
227 18:13 <ClemensR> tmortagne would complain that this is not really an API, but it wordks (mostyl) ;)
228 18:13 <vmassol> woshilapin is spamming us! :)
229 18:14 <woshilapin> http://platform.xwiki.org/xwiki/bin/view/REST/
230 18:14 <Trefex> ClemensR: it seems to work! Not sure how you were able to get this query together, but it shows I could never really contribute code to this project :D
231 18:15 <ClemensR> it is actually here: http://platform.xwiki.org/xwiki/bin/view/ScriptingDocumentation/?url=http:%2F%2Fnexus.xwiki.org%2Fnexus%2Fservice%2Flocal%2Frepositories%2Fpublic%2Farchive%2Forg%2Fxwiki%2Fplatform%2Fxwiki-platform-model%2F7.1.1%2Fxwiki-platform-model-7.1.1-javadoc.jar%2F!%2Forg%2Fxwiki%2Fmodel%2Fscript%2FModelScriptService.html
232 18:15 <Trefex> of course now it shows all nested spaces too D
233 18:16 <ClemensR> and you just used a method that had an explicit single "space" parameter - these are nearly guranteed not to work properly with nested space, hey just cannot
234 18:16 <ClemensR> yes, it does - it did so before
235 18:16 <Trefex> makes sense i guess
236 18:16 <Trefex> there was no nested spaces in 7.1
237 18:16 <Trefex> so i didn't have that problem
238 18:17 <ClemensR> but before the links to nested spaces were broken, now they are not ;)
239 18:17 <vmassol> nice woshilapin :)
240 18:17 <ClemensR> what you want is a query that shows only first level spaces I guess
241 18:17 <cjd> admin rights for 5 minutes, starts deleting spaces
242 18:17 <Trefex> ClemensR: ideally yes, but well i already bugged y'all too much again
243 18:18 <ClemensR> well, actually I lean something that I should have learned in the summer, where nested spaces where in the making :D
244 18:19 <Trefex> you're welcome :P
245 18:19 <ClemensR> a slightly more elaborate @deprecated for xwiki.getSpaces() would be nice, I still think
246 18:19 <ClemensR> I still try tofiguee out trhe right incantation ;)
247 18:20 <vmassol> yep I agree ClemensR
248 18:20 <vmassol> has quit
249 18:21 <Trefex> ClemensR: perhaps i just delete Sandbox from the sub-wikis
250 18:21 <Trefex> i don't need a sandbox in every one of them i guess
251 18:21 <ClemensR> $services.query,getNamedQuery("getSpaces") seems not to work - it is not in the ScriptAPI ?
252 18:22 <ClemensR> yes, some folks just do that ...
253 18:22 <ClemensR> to exclude it from the tree
254 18:23 <abusenius> has joined #xwiki
255 18:26 <Trefex> created a app within minutes, can't delete it now
256 18:26 <Trefex> oh boy, what a day
257 18:29 <ClemensR> why not? should be doable
258 18:31 <Trefex> ClemensR: https://paste.fedoraproject.org/299185/96822651/
259 18:32 <ClemensR> did you try to create it as a nested space ?
260 18:32 <ClemensR> darn, I have no XWiki 7.3 on mysql running ATM
261 18:32 <Trefex> ClemensR: what euh no
262 18:33 <Trefex> i don't know, it's my first try
263 18:33 <Trefex> ah shit
264 18:34 <Trefex> maybe because i called it "Home" ?
265 18:34 <ClemensR> that is odd. can you delete it as a normal space ?
266 18:34 <ClemensR> "Home" should be ok
267 18:35 <ClemensR> ok, and my meddelign with the documenttee macro didt wor because I pated it in one wiki and tested it in another :p
268 18:35 <Trefex> and finally for today, when i clcik on sub-wiki it shows the Home page, but on the left there is the Dashboard app which shows somethig else, how confusing :)
269 18:37 <Trefex> ClemensR: oh man i messed up, now i have two times my App on the left and I can't delete either, emergency help?
270 18:37 <Trefex> even a dirty trick to delete that stuff is OK
271 18:37 <ClemensR> well, click in that app
272 18:37 <Trefex> ya
273 18:37 <ClemensR> and then try to delete it as a space ... ah. one moment
274 18:38 <ClemensR> well, at least not delete it as an app
275 18:38 <Trefex> that doesn't work, the ref to the app in the panel somehow stays
276 18:39 <Trefex> i'm pretty sure it got fucked up with the name "Home"
277 18:39 <Trefex> check this: http://i.imgur.com/7aa6RR3.png
278 18:40 <Trefex> so i can't delete the whole thingy
279 18:41 <Trefex> ok, worked, by deleting as a space, i had to remove the app from the panel using the Applications Panel Admin
280 18:41 <Trefex> that is a bug imho
281 18:43 <ClemensR> I try to reproduce, sorry, a light flue is really slowing me down
282 18:45 <ClemensR> can you check if you have a hidden "HomeCode" space ?
283 18:45 <vmassol> has joined #xwiki
284 18:45 <ClemensR> that is where the application icon is lurking, I think
285 18:46 <Trefex> well I guess now it's gone
286 18:46 <Trefex> since i removed it from the panel and deleted again as a "space"
287 18:46 <ClemensR> hm, for me the application is not in a nested space ....
288 18:47 <Trefex> dunno what happened :S
289 18:47 <ClemensR> ah, did you create it in a subwiki ?
290 18:47 <Trefex> well ya
291 18:47 <ClemensR> ah, sothe "machine learning" is a subwiki, not a space ?
292 18:47 <Trefex> yeaaah !
293 18:47 <Trefex> sorry... :D
294 18:48 <ClemensR> ah, ok that has confused me
295 18:49 <Trefex> what i wanted to do, was create an app that would link to the Home page of the sub-wiki, rather than to the Dashboard
296 18:49 <ClemensR> strange, If I create an app, and name it "Home", I can delete the home page and it is gone from the app panel, too
297 18:50 <Trefex> aha!
298 18:50 <Trefex> http://jira.xwiki.org/browse/XWIKI-12896
299 18:52 <ClemensR> of course when I try to recreate it, it tells me the app still exists
300 18:52 <ClemensR> which is right, the "HomeCode" page is still there
301 18:55 <ClemensR> i.e.actually not the HomeCode page itself, but a bunch of subpages
302 18:55 <vmassol> has quit
303 18:55 <ClemensR> just create the HomeCode.WebHome, then delete it inclusding children, and all should be cleaned up again
304 18:57 <Trefex> I guess it's cleaned up, I can't see anything anymore in the panel, or in the Document Index
305 18:57 <ClemensR> anyway me going home now, see you tomorrow
306 18:57 <Trefex> and you
307 18:58 <Trefex> thanks for all the help
308 18:58 <ClemensR> "Homecode" is hidden, you might be see it if you put "display hidden pages" to "on"
309 18:58 <ClemensR> has quit
310 18:58 <Trefex> where is that option?
311 19:04 <vmassol> has joined #xwiki
312 19:09 <vmassol> has quit
313 19:17 <woshilapin> has quit
314 19:22 <Ramona1> has joined #xwiki
315 19:26 <Ramona1> has quit
316 19:31 <cjd> has quit
317 20:21 <cjd> has joined #xwiki
318 20:26 <Ramona1> has joined #xwiki
319 20:40 <OSIMasson> has quit
320 20:59 <Ramona1> has quit
321 21:01 <vmassol> has joined #xwiki
322 21:48 <Slashman> has quit
323 21:48 <OSIMasson> has joined #xwiki
324 22:19 <vmassol> has quit
325 22:27 <woshilapin> has joined #xwiki
326 23:17 <abusenius> has quit
327 23:36 <benoitc> has quit
328 23:44 <vmassol> has joined #xwiki
329 23:51 <vmassol> has quit

Get Connected