Re: [xwiki-users] Search: how to return all documents without selecting all language?

2016-11-16 Thread Marius Dumitru Florea
Hi Julio,

As mentioned on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application#HSearchUIConfiguration
the configuration can be found in the Main.SolrSearchConfig page. Edit in
Wiki edit mode and look for "facetQuery". Inside this group you have:

'locale': ["$xcontext.locale", '']

Try

'locale': ['pt', 'pt_BR']

Hope this helps,
Marius


On Wed, Nov 16, 2016 at 8:16 PM, Julio Brum  wrote:

> Hello,
>
> In our XWiki, we have documents in the pt language and pt_BR (I do not know
> why ...). When I use wiki search it returns, by default, only the documents
> in the pt_BR language. To return all documents, it is necessary to mark in
> the filters the language pt and pt_BR (or uncheck all). How do I return, by
> default, all documents of all languages? Our users are having trouble
> finding the documents.
>
>
> Thank you in advance,
> Julio
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] I can't integrate google apps for login with google account.

2016-11-16 Thread waranon
Dear Vincent and Ludovic,


   After I added these configuration """* Its work*""" OMG. Thank you
very much.

   Now I'll tuning the system It's slow and use a lot of memory.


Million Thank
Waranon



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/I-can-t-integrate-google-apps-for-login-with-google-account-tp7601850p7601861.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] I can't integrate google apps for login with google account.

2016-11-16 Thread Ludovic Dubost
Hi

The good news is that the connection to google works. The missing part is
activating the authenticator part:

Have you added these settings in xwiki.cfg

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.GroovyAuthServiceImpl

xwiki.authentication.groovy.pagename=xwiki:GoogleApps.AuthService


This is in the page in the section for v2.1 but it's not mentioned at the
top so we need to improve the documentation about this


Ludovic


To not use this feature



Le 16 nov. 2016 4:19 AM, "waranon"  a écrit :

> Dear All,
>
>
>  I've install XWiki version 7.4.3 and install google apps
> application version 2.1.8.
> I followed by
> http://extensions.xwiki.org/xwiki/bin/view/Extension/
> XWiki+Application+-+Google+Apps.
> - I got secret key and put on Google apps section in XWiki preferences.
>
> *My problem:*
>
> when i test to login with google account. It doesn't show account
> when login completed.
> but I can get google account profile in XWiki and get lists of google
> documentation also.
> Please see my picture in attache file.
> google_account_login.png
> 
> Login_completed.png
> 
> Document_List.png
> 
>
> No account, I can't add and modify any page.
>
> *Finally, Could you suggest me to fix it?*
>
> Thank you everyone.
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/I-can-t-integrate-google-apps-for-login-with-google-
> account-tp7601850.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Search: how to return all documents without selecting all language?

2016-11-16 Thread Julio Brum
Hello,

In our XWiki, we have documents in the pt language and pt_BR (I do not know
why ...). When I use wiki search it returns, by default, only the documents
in the pt_BR language. To return all documents, it is necessary to mark in
the filters the language pt and pt_BR (or uncheck all). How do I return, by
default, all documents of all languages? Our users are having trouble
finding the documents.


Thank you in advance,
Julio
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] I can't integrate google apps for login with google account.

2016-11-16 Thread Vincent Massol
Hi there,

The contributor who contributed this app is Ludovic Dubost. On my side I’ve not 
used it and it’s going to be hard for me to help you at all. 

However, I’ve pinged Ludovic and he said he’ll try to find some time later this 
week to help you.

Thanks
-Vincent

> On 16 Nov 2016, at 04:18, waranon  wrote:
> 
> Dear All,
> 
> 
> I've install XWiki version 7.4.3 and install google apps
> application version 2.1.8.
> I followed by
> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Application+-+Google+Apps.
> - I got secret key and put on Google apps section in XWiki preferences.
> 
> *My problem:*
> 
>when i test to login with google account. It doesn't show account
> when login completed.
> but I can get google account profile in XWiki and get lists of google
> documentation also.
> Please see my picture in attache file.
> google_account_login.png
>   
> Login_completed.png
>   
> Document_List.png
>   
> 
> No account, I can't add and modify any page.
> 
> *Finally, Could you suggest me to fix it?*
> 
> Thank you everyone.
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/I-can-t-integrate-google-apps-for-login-with-google-account-tp7601850.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki translated page strange behaviour

2016-11-16 Thread Vincent Massol

> On 16 Nov 2016, at 13:53, Zoltán Kukk  wrote:
> 
> Yes, it is the source of the problem: I have downloaded, compiled and put
> the the modified
> XWikiDocument.java
> 
> into
> the application and the functions return the expected result for the
> translated page too.
> 
> Thank you!

ok cool. Sorry for the regression…

XWiki 8.4.1 should be released early next week.

Thanks
-Vincent

> 
> Best Regards,
> Zoltán
> 
> On Wed, Nov 16, 2016 at 11:52 AM, Vincent Massol  wrote:
> 
>> Could it be that you are hitting http://jira.xwiki.org/browse/XWIKI-13873
>> ?
>> 
>> Thanks
>> -Vincent
>> 
>>> On 16 Nov 2016, at 11:00, Zoltán Kukk  wrote:
>>> 
>>> Hi Vincent,
>>> 
>>> Thank you, but my problem is not that the objects are not translated.
>>> It is okay that objects are not translated but it is not okay if a
>>> translated page opened then
>>> in the velocity macro of the translated page (or in the sheet of the
>>> attached class) the
>>> $doc.getObject('SomeClass') or $doc.getxWikiObjects() gives no result,
>>> but when I open the page on the default language the functions give the
>>> expected results.
>>> It works as expected in 8.2.1 but in 8.3 and 8.4 I have got the described
>>> behaviour.
>>> 
>>> I have uploded my sample pages in a XAR archive here:
>> http://bit.ly/2eZk0hP
>>> You can import it into a clean XWiki 8.4 zip distribution, the
>> multilingual
>>> must be enabled
>>> and the default language should be set to "hu" and the enabled languages
>> to
>>> "hu","en".
>>> 
>>> In the sample the MyClassSheet contains this velocity macro:
>>> 
 {{velocity}}
 MyClassSheet:
 MyClass: $doc.getObject('MySpace.MyClass')
 Objects: $doc.getxWikiObjects()
 
 #if ( $doc.name != 'MyClassSheet')
 {{include reference=""}}
 #end
 {{/velocity}}
>>> 
>>> 
>>> I have attached two object to the MySpace/MyPage/MySubPage page and the
>>> results are:
>>> for default language:
>>> 
>>> http://localhost:8080/xwiki/bin/view/MySpace/MyPage/
>> MySubPage/?language=hu
>>> MyClassSheet:
>>> MyClass: com.xpn.xwiki.api.Object@626a88b1 *<== OK*
>>> Objects: {MySpace.MyClass=[com.xpn.xwiki.api.Object@1a77a709,
>>> com.xpn.xwiki.api.Object@50dc1019]}  *<== OK*
>>> 
>>> for translated language:
>>> 
>>> http://localhost:8080/xwiki/bin/view/MySpace/MyPage/
>> MySubPage/?language=en
>>> MyClassSheet:
>>> MyClass: $doc.getObject('MySpace.MyClass') *<== WRONG*
>>> Objects: {}  *<== WRONG*
>>> 
>>> Best Regards,
>>> Zoltán
>>> 
>>> On Wed, Nov 16, 2016 at 10:00 AM, Vincent Massol 
>> wrote:
>>> 
 Hi Qkxy,
 
> On 14 Nov 2016, at 17:19, Qkxy  wrote:
> 
> Hi All,
> 
> I have two XWiki 8.3 instances, both are set up for multilangue
>> support:
> default language hu, enabled languages en, hu.
> I have created a page by script in instance 1 and created a hu
 translation
> for this page by the editor.
> The page has many objects.
> I have exported the page as xar from instance 1 and imported into
 instance
> 2.
> When I access the localized page in instance 2 it does not lists its
> objects,
> the $doc.getxWikiObjects() in velocity returns an empty map.
> Do you have any idea what can cause this?
> What could be missing in instance2?
 
 Objects are not translated in XWiki at the moment.
 
 See http://platform.xwiki.org/xwiki/bin/view/DevGuide/
 InternationalizingApplications#HI18nofXWikiObjects
 
 Thanks
 -Vincent
 
> The XML content almost identical on instance1, but the
> $doc.getxWikiObjects() gives a non empty result
> when the localized page rendered.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki translated page strange behaviour

2016-11-16 Thread Zoltán Kukk
Yes, it is the source of the problem: I have downloaded, compiled and put
the the modified
XWikiDocument.java

into
the application and the functions return the expected result for the
translated page too.

Thank you!

Best Regards,
Zoltán

On Wed, Nov 16, 2016 at 11:52 AM, Vincent Massol  wrote:

> Could it be that you are hitting http://jira.xwiki.org/browse/XWIKI-13873
> ?
>
> Thanks
> -Vincent
>
> > On 16 Nov 2016, at 11:00, Zoltán Kukk  wrote:
> >
> > Hi Vincent,
> >
> > Thank you, but my problem is not that the objects are not translated.
> > It is okay that objects are not translated but it is not okay if a
> > translated page opened then
> > in the velocity macro of the translated page (or in the sheet of the
> > attached class) the
> > $doc.getObject('SomeClass') or $doc.getxWikiObjects() gives no result,
> > but when I open the page on the default language the functions give the
> > expected results.
> > It works as expected in 8.2.1 but in 8.3 and 8.4 I have got the described
> > behaviour.
> >
> > I have uploded my sample pages in a XAR archive here:
> http://bit.ly/2eZk0hP
> > You can import it into a clean XWiki 8.4 zip distribution, the
> multilingual
> > must be enabled
> > and the default language should be set to "hu" and the enabled languages
> to
> > "hu","en".
> >
> > In the sample the MyClassSheet contains this velocity macro:
> >
> >> {{velocity}}
> >> MyClassSheet:
> >> MyClass: $doc.getObject('MySpace.MyClass')
> >> Objects: $doc.getxWikiObjects()
> >> 
> >> #if ( $doc.name != 'MyClassSheet')
> >>  {{include reference=""}}
> >> #end
> >> {{/velocity}}
> >
> >
> > I have attached two object to the MySpace/MyPage/MySubPage page and the
> > results are:
> >  for default language:
> >
> > http://localhost:8080/xwiki/bin/view/MySpace/MyPage/
> MySubPage/?language=hu
> >  MyClassSheet:
> >  MyClass: com.xpn.xwiki.api.Object@626a88b1 *<== OK*
> >  Objects: {MySpace.MyClass=[com.xpn.xwiki.api.Object@1a77a709,
> > com.xpn.xwiki.api.Object@50dc1019]}  *<== OK*
> >
> >  for translated language:
> >
> > http://localhost:8080/xwiki/bin/view/MySpace/MyPage/
> MySubPage/?language=en
> >  MyClassSheet:
> >  MyClass: $doc.getObject('MySpace.MyClass') *<== WRONG*
> >  Objects: {}  *<== WRONG*
> >
> > Best Regards,
> > Zoltán
> >
> > On Wed, Nov 16, 2016 at 10:00 AM, Vincent Massol 
> wrote:
> >
> >> Hi Qkxy,
> >>
> >>> On 14 Nov 2016, at 17:19, Qkxy  wrote:
> >>>
> >>> Hi All,
> >>>
> >>> I have two XWiki 8.3 instances, both are set up for multilangue
> support:
> >>> default language hu, enabled languages en, hu.
> >>> I have created a page by script in instance 1 and created a hu
> >> translation
> >>> for this page by the editor.
> >>> The page has many objects.
> >>> I have exported the page as xar from instance 1 and imported into
> >> instance
> >>> 2.
> >>> When I access the localized page in instance 2 it does not lists its
> >>> objects,
> >>> the $doc.getxWikiObjects() in velocity returns an empty map.
> >>> Do you have any idea what can cause this?
> >>> What could be missing in instance2?
> >>
> >> Objects are not translated in XWiki at the moment.
> >>
> >> See http://platform.xwiki.org/xwiki/bin/view/DevGuide/
> >> InternationalizingApplications#HI18nofXWikiObjects
> >>
> >> Thanks
> >> -Vincent
> >>
> >>> The XML content almost identical on instance1, but the
> >>> $doc.getxWikiObjects() gives a non empty result
> >>> when the localized page rendered.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context: http://xwiki.475771.n2.nabble.
> >> com/XWiki-translated-page-strange-behaviour-tp7601835.html
> >>> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki translated page strange behaviour

2016-11-16 Thread Vincent Massol
Could it be that you are hitting http://jira.xwiki.org/browse/XWIKI-13873 ?

Thanks
-Vincent

> On 16 Nov 2016, at 11:00, Zoltán Kukk  wrote:
> 
> Hi Vincent,
> 
> Thank you, but my problem is not that the objects are not translated.
> It is okay that objects are not translated but it is not okay if a
> translated page opened then
> in the velocity macro of the translated page (or in the sheet of the
> attached class) the
> $doc.getObject('SomeClass') or $doc.getxWikiObjects() gives no result,
> but when I open the page on the default language the functions give the
> expected results.
> It works as expected in 8.2.1 but in 8.3 and 8.4 I have got the described
> behaviour.
> 
> I have uploded my sample pages in a XAR archive here: http://bit.ly/2eZk0hP
> You can import it into a clean XWiki 8.4 zip distribution, the multilingual
> must be enabled
> and the default language should be set to "hu" and the enabled languages to
> "hu","en".
> 
> In the sample the MyClassSheet contains this velocity macro:
> 
>> {{velocity}}
>> MyClassSheet:
>> MyClass: $doc.getObject('MySpace.MyClass')
>> Objects: $doc.getxWikiObjects()
>> 
>> #if ( $doc.name != 'MyClassSheet')
>>  {{include reference=""}}
>> #end
>> {{/velocity}}
> 
> 
> I have attached two object to the MySpace/MyPage/MySubPage page and the
> results are:
>  for default language:
> 
> http://localhost:8080/xwiki/bin/view/MySpace/MyPage/MySubPage/?language=hu
>  MyClassSheet:
>  MyClass: com.xpn.xwiki.api.Object@626a88b1 *<== OK*
>  Objects: {MySpace.MyClass=[com.xpn.xwiki.api.Object@1a77a709,
> com.xpn.xwiki.api.Object@50dc1019]}  *<== OK*
> 
>  for translated language:
> 
> http://localhost:8080/xwiki/bin/view/MySpace/MyPage/MySubPage/?language=en
>  MyClassSheet:
>  MyClass: $doc.getObject('MySpace.MyClass') *<== WRONG*
>  Objects: {}  *<== WRONG*
> 
> Best Regards,
> Zoltán
> 
> On Wed, Nov 16, 2016 at 10:00 AM, Vincent Massol  wrote:
> 
>> Hi Qkxy,
>> 
>>> On 14 Nov 2016, at 17:19, Qkxy  wrote:
>>> 
>>> Hi All,
>>> 
>>> I have two XWiki 8.3 instances, both are set up for multilangue support:
>>> default language hu, enabled languages en, hu.
>>> I have created a page by script in instance 1 and created a hu
>> translation
>>> for this page by the editor.
>>> The page has many objects.
>>> I have exported the page as xar from instance 1 and imported into
>> instance
>>> 2.
>>> When I access the localized page in instance 2 it does not lists its
>>> objects,
>>> the $doc.getxWikiObjects() in velocity returns an empty map.
>>> Do you have any idea what can cause this?
>>> What could be missing in instance2?
>> 
>> Objects are not translated in XWiki at the moment.
>> 
>> See http://platform.xwiki.org/xwiki/bin/view/DevGuide/
>> InternationalizingApplications#HI18nofXWikiObjects
>> 
>> Thanks
>> -Vincent
>> 
>>> The XML content almost identical on instance1, but the
>>> $doc.getxWikiObjects() gives a non empty result
>>> when the localized page rendered.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: http://xwiki.475771.n2.nabble.
>> com/XWiki-translated-page-strange-behaviour-tp7601835.html
>>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> 
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki translated page strange behaviour

2016-11-16 Thread Zoltán Kukk
Hi Vincent,

Thank you, but my problem is not that the objects are not translated.
It is okay that objects are not translated but it is not okay if a
translated page opened then
in the velocity macro of the translated page (or in the sheet of the
attached class) the
$doc.getObject('SomeClass') or $doc.getxWikiObjects() gives no result,
but when I open the page on the default language the functions give the
expected results.
It works as expected in 8.2.1 but in 8.3 and 8.4 I have got the described
behaviour.

I have uploded my sample pages in a XAR archive here: http://bit.ly/2eZk0hP
You can import it into a clean XWiki 8.4 zip distribution, the multilingual
must be enabled
and the default language should be set to "hu" and the enabled languages to
"hu","en".

In the sample the MyClassSheet contains this velocity macro:

> {{velocity}}
> MyClassSheet:
> MyClass: $doc.getObject('MySpace.MyClass')
> Objects: $doc.getxWikiObjects()
> 
> #if ( $doc.name != 'MyClassSheet')
>   {{include reference=""}}
> #end
> {{/velocity}}


I have attached two object to the MySpace/MyPage/MySubPage page and the
results are:
  for default language:

http://localhost:8080/xwiki/bin/view/MySpace/MyPage/MySubPage/?language=hu
  MyClassSheet:
  MyClass: com.xpn.xwiki.api.Object@626a88b1 *<== OK*
  Objects: {MySpace.MyClass=[com.xpn.xwiki.api.Object@1a77a709,
com.xpn.xwiki.api.Object@50dc1019]}  *<== OK*

  for translated language:

http://localhost:8080/xwiki/bin/view/MySpace/MyPage/MySubPage/?language=en
  MyClassSheet:
  MyClass: $doc.getObject('MySpace.MyClass') *<== WRONG*
  Objects: {}  *<== WRONG*

Best Regards,
Zoltán

On Wed, Nov 16, 2016 at 10:00 AM, Vincent Massol  wrote:

> Hi Qkxy,
>
> > On 14 Nov 2016, at 17:19, Qkxy  wrote:
> >
> > Hi All,
> >
> > I have two XWiki 8.3 instances, both are set up for multilangue support:
> > default language hu, enabled languages en, hu.
> > I have created a page by script in instance 1 and created a hu
> translation
> > for this page by the editor.
> > The page has many objects.
> > I have exported the page as xar from instance 1 and imported into
> instance
> > 2.
> > When I access the localized page in instance 2 it does not lists its
> > objects,
> > the $doc.getxWikiObjects() in velocity returns an empty map.
> > Do you have any idea what can cause this?
> > What could be missing in instance2?
>
> Objects are not translated in XWiki at the moment.
>
> See http://platform.xwiki.org/xwiki/bin/view/DevGuide/
> InternationalizingApplications#HI18nofXWikiObjects
>
> Thanks
> -Vincent
>
> > The XML content almost identical on instance1, but the
> > $doc.getxWikiObjects() gives a non empty result
> > when the localized page rendered.
> >
> >
> >
> >
> >
> >
> >
> > --
> > View this message in context: http://xwiki.475771.n2.nabble.
> com/XWiki-translated-page-strange-behaviour-tp7601835.html
> > Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki translated page strange behaviour

2016-11-16 Thread Vincent Massol
Hi Qkxy,

> On 14 Nov 2016, at 17:19, Qkxy  wrote:
> 
> Hi All,
> 
> I have two XWiki 8.3 instances, both are set up for multilangue support:
> default language hu, enabled languages en, hu.
> I have created a page by script in instance 1 and created a hu translation
> for this page by the editor.
> The page has many objects.
> I have exported the page as xar from instance 1 and imported into instance
> 2.
> When I access the localized page in instance 2 it does not lists its
> objects,
> the $doc.getxWikiObjects() in velocity returns an empty map.
> Do you have any idea what can cause this?
> What could be missing in instance2?

Objects are not translated in XWiki at the moment.

See 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications#HI18nofXWikiObjects

Thanks
-Vincent

> The XML content almost identical on instance1, but the
> $doc.getxWikiObjects() gives a non empty result
> when the localized page rendered.
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/XWiki-translated-page-strange-behaviour-tp7601835.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users