IRC Archive for channel #xwiki on 24 October 2016

Last modified by Vincent Massol on 2016/10/24 22:06

<lgierth> i don't know why xwiki bot highlighted me
00:37 <lgierth> has left #xwiki
03:14 <Aranjedeath> has quit
03:22 <jonesmeier> has quit
03:24 <jonesmeier> has joined #xwiki
03:31 <meatcar> has quit
03:32 <daemoen_> has joined #xwiki
03:32 <daemoen> has quit
03:32 <lynxt> has quit
03:32 <zzeroo> has quit
03:37 <meatcar> has joined #xwiki
03:37 <meatcar> has joined #xwiki
03:38 <lynxt> has joined #xwiki
03:45 <zzeroo> has joined #xwiki
08:19 <msmeria> has joined #xwiki
08:26 <sagarhani> has quit
08:50 <Pbas> has joined #xwiki
08:53 <sdumitriu> has quit
09:10 <sdumitriu> has joined #xwiki
09:13 <mflorea> has joined #xwiki
09:19 <xwikiorg_akshay> has joined #xwiki
09:19 <xwikiorg_akshay> JOIN
09:19 <xwikiorg_akshay> anyone here
09:21 <xwikiorg_akshay> anyone from xwiki organisation
09:21 <xwikiorg_akshay> HELP
09:22 <xwikiorg_akshay> has quit
09:29 <sagarhani> has joined #xwiki
09:40 <gdelhumeau> has joined #xwiki
09:42 <vmassol> has joined #xwiki
09:50 <edvorg> has joined #xwiki
09:59 <edvorg> has quit
10:03 <edvorg> has joined #xwiki
10:04 <sagarhani> has quit
10:05 <sagarhani> has joined #xwiki
10:06 <Slashman> has joined #xwiki
10:18 <tmortagne> has joined #xwiki
10:51 <edvorg> has quit
10:59 <Enygma`> has joined #xwiki
11:37 <vmassol> Pbas: good morning
11:38 <vmassol> I'm ready to apply your new PR but I was looking for the corresponding jira issue
11:38 <vmassol> do we have one?
11:38 <vmassol> (thanks for the your new PR btw! :))
11:38 <Pbas> Hi
11:38 <Pbas> I didn't create a jira issue
11:38 <Pbas> it was a short fix
11:39 <Pbas> ... I'm lazy too
11:39 <Pbas> Is it ok?
11:41 <vmassol> ok that explains why I couldn't find it :)
11:41 <vmassol> yes it would have better to have a jira for this one but it's ok. For next time
11:42 <Pbas> :-[
11:43 <Pbas> Thxs I won't spend some time to find %%) syntax now
11:43 <vmassol> :)
11:44 <Pbas> About icon set
11:44 <Pbas> $services.icon.render('add') display font awesome icon instead glyphicone
11:44 <Pbas> is it normal?
11:45 <vmassol> check your admin ui and see which icon set you're usig maybe?
11:46 <Pbas> yes I checked but
11:46 <vmassol> I see Font Awesome on playgroun for ex
11:46 <Pbas> there are only silk and font awesome
11:47 <Pbas> bootstrap/ glyphicon is missing but you use it on menu
11:47 <vmassol> hmmm this is going beyond my knowledge… asking
11:47 <vmassol> gdelhumeau: could you help us understand htis?
11:47 <Pbas> I'm using jetty package
11:48 <gdelhumeau> glyphicon is never displayed with $services.icon
11:48 <gdelhumeau> the only places where glyphicons are used in on the skin, because the skin depends on bootstrap which embeds glyphicons
11:49 <Pbas> ok then I cannot modify blog to display bootstrap icone?
11:49 <gdelhumeau> our XWiki icon set only supports FA and Silk
11:49 <gdelhumeau> Pbas: not easily
11:49 <gdelhumeau> and I think blog is not using $services.icon AFAIR
11:49 <Pbas> not now ...
11:49 <vmassol> yes but that's a bug that should be fixed
11:49 <vmassol> (blog not using $services.icon)
11:50 <Pbas>
11:50 <gdelhumeau> I would like to offer glyphicons in the XWiki icon set, but they miss a lot of usefull icons
11:50 <Pbas> yes like lock
11:52 <Pbas> ok then I must wait before add $services.icon in blog?
11:52 <vmassol> no IMO you could use it now
11:52 <vmassol> it's just that the blog app has not been updated when we introduced the icon set concet
11:52 <vmassol> *concept
11:53 <Pbas> but font awesome are tiny and not exactly like bootstrap icone
11:53 <vmassol> sure it means that the blog will only have silk and font awesome ATM
11:53 <vmassol> but that seems the best to me
11:53 <vmassol> because that's what we have right now for apps no?
11:53 <vmassol> unless we say
11:53 <vmassol> that apps can use any icon set and not follow the defined one in the admin
11:53 <vmassol> which doesn't seem very ice
11:54 <vmassol> *nice
11:54 <Pbas> Ok I can modify blog and it will be ready when bootstrap icone will come?
11:54 <vmassol> that's my thinking
11:54 <vmassol> but gdelhumeau knows better
11:54 <vmassol> and indeed we need to fix the issue we have right niow
11:54 <vmassol> where the skin uses glyphicons but it's not in the icon set
11:55 <vmassol> @gdelhumeau can an icon set extend another icon set?
11:55 <vmassol> ie if an icon is not foud in the icon set it uses the one from the extended set
11:55 <vmassol> *found
11:55 <vmassol> gdelhumeau: also what's our rule for apps regarding icon set to use?
11:56 <Pbas> $services.icon.render('add', 'Font Awesome',true) can do the job
11:56 <vmassol> can they force the icon set they use?
11:56 <Enygma`> has quit
11:56 <gdelhumeau> vmassol: there is no inheritence concept, only a fallback to silk, but that would be a nice to have
11:56 <vmassol> Pbas: if you name the icon set then you don't obey the admin setting
11:56 <gdelhumeau> I don't plan to support glyphicon for the reason I've mentioned above
11:57 <vmassol> but we can't say that gdelhumeau
11:57 <vmassol> since we use it already :)
11:57 <gdelhumeau> you know what I mean
11:57 <gdelhumeau> not in Skin App
11:57 <vmassol> but then we have the issue raised by Pascal
11:57 <vmassol> that the app icons cannot match the icons of the skin
11:57 <gdelhumeau> yes glyphicon is a bit different than F-A
11:57 <vmassol> how do we solve this issue?
11:58 <vmassol> it's an issue of consistency
11:58 <gdelhumeau> indeed for that kind of use-case it's a problem
11:58 <vmassol> so I guess the question is:
11:58 <vmassol> why do we use glyphicons in the skin? Can't we use font aweseom?
11:59 <gdelhumeau> because I started to work on the skin before the icon app
11:59 <gdelhumeau> we can, for sure
11:59 <vmassol> ok so you're saying that one solution is to start using font awesome in the skin
11:59 <gdelhumeau> yes
11:59 <vmassol> ok cool
11:59 <Enygma`> has joined #xwiki
11:59 <gdelhumeau> that's the only option I think we have
11:59 <vmassol> do we have a jira for this? Has this been discussed already?
11:59 <gdelhumeau> but it could break some compatibility
12:00 <gdelhumeau> because we have velocity macros that except glyphicons in Flamingo
12:00 <gdelhumeau> it has not been discussed
12:00 <Pbas> there will be more icon later on glyphicon ?
12:00 <gdelhumeau> and I don't think we have an issue for this
12:00 <gdelhumeau> Pbas: no
12:00 <gdelhumeau> glyphicon is a paying set of icons
12:00 <gdelhumeau> they only offers a reduced set in bootstrap
12:00 <Pbas> ok I didn't know
12:01 <gdelhumeau> vmassol: I didn't plan to work on this, but I could
12:02 <vmassol> ok cool thanks. Ths is a loose end we have that would be nice to close
12:02 <mflorea> has quit
12:02 <mflorea> has joined #xwiki
12:02 <vmassol> (I guess you could talk to Caty too and work togegther on this)
12:02 <vmassol> gdelhumeau: I'm not saying it's urgent
12:02 <vmassol> just that it would be nice if you could make it progress
12:03 <vmassol> (agree about what we want to do at least and hav esome jira)
12:05 <Pbas> About my PR you can reject it if you want. It is not a problem
12:05 <vmassol> I think you could modify it
12:05 <vmassol> to use the icon script service
12:05 <vmassol> I had renamed the jir issue already
12:05 <Pbas> ok then.
12:06 <vmassol> and it already matches that
12:06 <Pbas> Probably I must increase icone size
12:06 <Pbas> ok I must go (to eat)
12:06 <vmassol> it's icon btw in English ;) (I see you've used "icone" in the PR ;))
12:06 <Pbas> ty
12:06 <vmassol> thanks
12:06 <vmassol> bon app
12:07 <Pbas> merci
12:08 <evalica> has joined #xwiki
12:16 <gdelhumeau> vmassol: I will write a mail during the week
12:17 <vmassol> sure no hurry
12:17 <gdelhumeau> Pbas: so indeed, in the Blog App, the Best Practice is to use the Icon Theme Application
12:18 <gdelhumeau> but for now, bon appétit :)
12:41 <evalica> we have
12:41 <evalica> in order to replace the glyphicon with $service
12:41 <Kubuxu> has left #xwiki
12:48 <dj_xatra> has joined #xwiki
12:49 <dj_xatra> How can I get a wiki page as HTML using the restful API?
13:03 <gdelhumeau> I don't understand
13:03 <gdelhumeau> why do you need REST to get HTML ?
13:04 <gdelhumeau> if you need only the content, just add "?xpage=plain" to the stand URL
13:04 <gdelhumeau> like
13:04 <gdelhumeau> *standard
13:07 <dj_xatra> Argh, you're right
13:07 <dj_xatra> gdelhumeau: sorry, not enough sleep
13:07 dj_xatra slaps self
13:08 <gdelhumeau> :)
13:08 gdelhumeau goes to eat
13:09 <xwikiorg_guest_7> has joined #xwiki
13:10 <xwikiorg_guest_7> hi there
13:11 <xwikiorg_guest_7> i just trying to get ldap up and running with xwiki but when enable ldap i got the following error
13:11 <xwikiorg_guest_7> Failed to initialize AuthService com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl using Reflection, trying default implementations using 'new'.
13:11 <xwikiorg_guest_7> is somehing i'm missing?
13:46 <tmortagne> xwikiorg_guest_7: what version of XWiki is this ?
13:47 <tmortagne> sounds like 8.3 if you don't have com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
13:47 <tmortagne> in which case you should install LDAP Authenticator extension and follow
14:08 <xwikiorg_guest_7> the latest one tmortagne  8.3
14:10 <xwikiorg_guest_7> ah ok
14:11 <tmortagne> xwikiorg_guest_7: see also
14:15 <Pbas> Hi tmortagne, about ldap on xwiki 8.3, can I use same ldap parameter in my xwiki.cfg (instead to set them in ldap extension)?
14:16 <tmortagne> Pbas: the only thing that changed is the name of the class (plus new features)
14:16 <tmortagne> the new authenticator is fully retro-compatible
14:17 <Pbas> Ok then I must change class name in my xwiki.cfg?
14:37 <Slashman> has quit
14:45 <DSpair> has joined #xwiki
14:45 <tmortagne> has quit
14:45 <DSpair> is now known as <D-Spair>
14:46 <xwikiorg_guest_7> hi team i just getting this
14:46 <xwikiorg_guest_7> The user [XWiki.Admin] didn't have programming rights when the job [DEFAULT.xwiki:XWiki.SynchronizeLdapUsers_0] was scheduled.
14:47 <xwikiorg_guest_7> is anything i'm missing is a new installation of xwiki with ldap plugin
14:54 <tmortagne> has joined #xwiki
14:54 <tmortagne>   [WARN] restarting in 10 minutes (to fix useless saves on some extensions)
15:00 <xwikiorg_guest_7> has quit
15:07 <xwikibot> has joined #xwiki
15:17 <msmeria> has quit
15:26 <boubou> has quit
15:52 <Slashman> has joined #xwiki
15:58 <boubou> has joined #xwiki
15:59 <fcharton> has joined #xwiki
16:39 <gdelhumeau> evalica: I just have closed as duplicate
16:39 <gdelhumeau> but I realize you might not agree
16:39 <gdelhumeau> to me is the appropriate issue, even if Oliver has made some interesting mockups there
16:40 <evalica> gdelhumeau: I agree. In comments I have "I think this issue can be closed as duplicate of   "
16:41 <evalica> :) so it's fine, but yes we should gather the proposals in one place.
16:45 <sdumitriu1> has joined #xwiki
16:46 <dj_xatra> has quit
16:52 <Denis> has joined #xwiki
18:27 <fcharton> has quit
18:27 <fcharton> has joined #xwiki
18:32 <fcharton> has quit
18:34 <mflorea> has quit
18:36 <fcharton> has joined #xwiki
19:15 <gdelhumeau> has quit
19:15 <tmortagne> has quit
19:18 <Slashman> has quit
19:18 <Slashman> has joined #xwiki
19:57 <Enygma`> has quit
20:13 <Aranjedeath> has joined #xwiki
20:21 <Chuguniy> has joined #xwiki
20:46 <daemoen_> is now known as <Daemoen>
20:46 <mflorea> has joined #xwiki
20:46 <systemd> has joined #xwiki
21:09 <evalica> has quit
21:20 <Slashman> has quit
21:39 <xwikiorg_guest_7> has joined #xwiki
21:39 <mariop> has joined #xwiki
21:39 <mariop> hi team just a quick question
21:40 <mariop> i just trying to add ldap support to xwiki as per instruction said only need to activate in xwiki.cfg the following:
21:40 <mariop> xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
21:40 <mariop> but i'm getting now a error when start the wiki
21:40 <mariop> Error number 4001 in 4: Error while evaluating velocity template frequentlyUsedDocs.vm com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while evaluating velocity template frequentlyUsedDocs.vm at com.xpn.xwiki.XWiki.evaluateTemplate(
21:48 <mariop> has quit
21:52 <mflorea> has quit
21:55 <vmassol> has quit
22:06 <Chuguniy> has quit

Get Connected