Re: [xwiki-users] Everyone can see user's e-mail on myxwiki.org

2013-12-05 Thread vinc...@massol.net
So here’s the story… There was indeed a regression introduced in 5.2 which was 
fixed in 5.2.2, see http://jira.xwiki.org/browse/XWIKI-9652

Your wiki is on 5.2.1 which is why you’re seeing the issue.

I’m releasing 5.2.2 today.

Thanks
-Vincent

On 5 Dec 2013 at 19:15:47, vinc...@massol.net 
(vinc...@massol.net(mailto://vinc...@massol.net)) wrote:

> Hi Patrick,
>  
> On 5 Dec 2013 at 18:18:44, Patrick Masson 
> (mas...@opensource.org(mailto://mas...@opensource.org)) wrote:
>  
> > Sending again as attachments exceeded size limits and my email was sent
> > to moderation…
>  
> I received it the first time!
>  
> > > Hmm, Well I set that to "Yes" (see attached: "Admin:Email.png") and it
> > > does not obfuscate users' emails on their profile page (see attached:
> > > "TestUser.png”).
>  
> Actually I enabled obsfucation on xwiki.org yesterday and it was working. But 
> I checked today and it’s not working anymore either…
>  
> Seems we have a bug.
>  
> Would be great to report an issue in jira (http://jira.xwiki.org).
>  
> Thanks
> -Vincent
>  
> > > Any ideas?
> > > Patrick
> > >
> > > On 12/04/2013 09:43 AM, Thomas Mortagne wrote:
> > >> Yes that's the one.
> > >>
> > >> On Wed, Dec 4, 2013 at 3:39 PM, Patrick Masson wrote:
> > >>> Is this were the setting is...?
> > >>> Administration ? Configuration ? Email
> > >>>
> > >>> Obfuscate Email Addresses
> > >>> This affects only the email addresses stored in object properties of 
> > >>> type
> > >>> Email, as long as the default custom displayer for the Email property 
> > >>> type
> > >>> is not overwritten. Example:a...@domain.org
> > >>>
> > >>>
> > >>> On 12/04/2013 04:45 AM, Thomas Mortagne wrote:
> >  This is true only for a 5.1 -> 5.2 upgrade since before 5.1 there was
> >  not even any concept of obfuscated email and it's been made
> >  configurable and turned off by default in 5.2.
> > 
> >  On Wed, Dec 4, 2013 at 10:42 AM, Dmitry Bakbardin
> >  wrote:
> > > In this case it is logic turn it off for intranet sites.
> > > But imagine the situation, when you make an Upgrade and then realize 
> > > that
> > > all e-mails are public :-)
> > > Next bot search make you database open for everyone? Looks 
> > > problematic,
> > > isn't it?
> > >
> > > Среда, 4 декабря 2013, 10:38 +01:00 от Thomas Mortagne
> > > :
> > >> Note that this option also obfuscate emails for logged in users and
> > >> not only guests (which is a pain in an intranet since it make pretty
> > >> much impossible to find the mail of another user).
> > > Kind regards,
> > >
> > > Dmitry
>  

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


Re: [xwiki-users] Annotations not available

2013-12-05 Thread Patrick Masson

Eduard,

Well I'm sorry I've exhausted you. I sent my previous email before 
seeing this one. I, as Admin, have tried to re-save


http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style

But the Annotations are still not working as expected.

I'll try poking around again tomorrow.

Thanks for all your help,
Patrick


On 12/05/2013 04:52 PM, Eduard Moraru wrote:

Hi Patrick,

Wanting to go to bed, I checked your site and you seem to have resaved the
page I`ve asked you to: AnnotationCode.Script. This seems to have had the
right effect of enabling the Annotations javascript and now the Annotations
button seems to show up. That is great.

However, I see that there are problems in displaying the Annotations box
that pops up when pressing the Annotations button (plus there is no icon
for the Annotations button). This means that you need to re-save (with the
Admin user which has PR) another page which handles the styling of the
Annotations application. This page is:
http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style

Once you handle this step as well, you should be good and the Annotations
app should be running well. Just remember to refresh your browser`s cache
after you resave the Style page. Select some text in a page (where you have
some content, of course), press CTRL+M and the annotation popup should
appear asking you to comment on the selected piece of text.

Hope this helped,
Eduard



On Thu, Dec 5, 2013 at 11:06 PM, Eduard Moraru  wrote:


Hi,

On Thu, Dec 5, 2013 at 9:31 PM, Patrick Masson wrote:


  Eduard,

Thanks but sadly this did not resolve the issue. Here is what I did:



About the annotations tab. You might have used "Look & Feel > Page

Elements

Document metadata visibility > Show document annotations". That

option is

there only for backwards compatibility reasons and should not be used
unless you have a custom annotations class that is different from
XWiki.XWikiComment. If you don't have a custom annotation class, make

sure

to leave it set to "No" as default.

1. Logged in as wiki admin
2. Went to "Administration » Look & Feel » Page Elements"
3. Set the following,
"Show document annotations" to "No"
"Show document comments" to "---"
"Show document attachments" to "---"
"Show document history" to "---"
"Show document information" to "---"
4. Clicked "Save"
5. Went to "Administration » Applications » Annotations"
6. Set the following:
"Annotations are activated" to "Yes"
"Except for the following spaces" [NONE SELECTED]
"Display annotations by default" to "Yes"
"Display annotations highlight by default" to "Yes"
"XWiki class defining annotations structure" to "XWiki.XWikiComments"
7. Clicked "Save"



First of all, to make sure the annotations application is loaded properly
and working, you need to see the "Annotations" button on the right side of
"Edit", "Export" and "More Actions":

The Annotations button does not show up. See:
http://wiki.opensource.org/xwiki/bin/view/Sandbox/WebHome


If that does not show up, then there is a problem with the extension's JSX
not loading up. You might need to resave the page "AnnotationCode.Script"
**with Programming Rights** (generally, as the main wiki's Admin).

I am not sure how to find the page "AnnotationCode.Script".


Whenever we mention a page name in XWiki in the form SomeSpace.SomePage,
that page can be located by going to the URL: http://
:/xwiki/bin/view/SomeSpace/SomePage
In your case, the page I was referring to is:
http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script

Please try to resave that page as Admin (with PR) and then refresh your
browser`s cache (CTRL+F5 if using Firefox, for example).

Does this make the Annotations button show up?

Cheers,
Eduard



  I did find
http://wiki.opensource.org/xwiki/bin/view/Admin/CheckProgrammingRights
I also checked and both my Admin account and the group that account is in
(XWikiAdminGroup) have a green check in the "Program" checkbox on
"Administration » Users & Groups » Rights"

Any help appreciated, thanks,
Patrick





On 12/05/2013 01:15 PM, Eduard Moraru wrote:

Hi Patrick,

About the annotations tab. You might have used "Look & Feel > Page Elements

  Document metadata visibility > Show document annotations". That option is

  there only for backwards compatibility reasons and should not be used
unless you have a custom annotations class that is different from
XWiki.XWikiComment. If you don't have a custom annotation class, make sure
to leave it set to "No" as default. As Vincent already mentioned, the
annotations are supposed to appear together with regular comments in the
"Comments" tab at the bottom of a page.

First of all, to make sure the annotations application is loaded properly
and working, you need to see the "Annotations" button on the right side of
"Edit", "Export" and "More 
Actions":http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HShowannotations

If that does not show up, then there is a problem with the extens

Re: [xwiki-users] Annotations not available

2013-12-05 Thread Patrick Masson


On 12/05/2013 04:06 PM, Eduard Moraru wrote:

If that does not show up, then there is a problem with the extension's JSX
not loading up. You might need to resave the page "AnnotationCode.Script"
**with Programming Rights** (generally, as the main wiki's Admin).

I am not sure how to find the page "AnnotationCode.Script".

Whenever we mention a page name in XWiki in the form SomeSpace.SomePage,
that page can be located by going to the URL: http://
:/xwiki/bin/view/SomeSpace/SomePage
In your case, the page I was referring to is:
http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script

Please try to resave that page as Admin (with PR) and then refresh your
browser`s cache (CTRL+F5 if using Firefox, for example).

Does this make the Annotations button show up?
Yes , that made the Annotations button show up-thanks. Also thanks for 
your help with the nomenclature.


However (I know it never ends, sorry), the functionality is not what I 
expect based on the page you shared: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HShowannotations


First, when I highlight the word that I want to annotate and hit 
"ctrl+m" a text window appears up at the very bottom left hand side of 
the wiki page, almost off the page-not over the text in a window like in 
the screen shots you provided. I have uploaded some screen shots to show 
this from Windows IE, Mac Safari and Ubuntu Firefox and Chrome 
(http://wiki.opensource.org/xwiki/bin/view/OSI+Operations/Enterprise+Wiki+%28XWiki%29#Attachments).


Second, while I can select (highlight) text, write an annotation 
(ctrl+m), save that so that it appears in the comments section of the 
wiki page, the originally selected text is not highlighted in the body 
of the page, again as seen in the screenshots you provided. If you look 
at this page 
(http://wiki.opensource.org/xwiki/bin/view/OSI+Operations/Enterprise+Wiki+%28XWiki%29), 
you will see there are no highlighted words showing the three 
annotations I made.


Perhaps I should add this to JIRA?
Patrick
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] RSS feed and commenting activity

2013-12-05 Thread Dmitry Bakbardin
 Thanks, Vincent!

It's a pity, but rewriting RSS feed is beyond of me ATM. I Issued one more jira 
( XWIKI-9777 )
improvement instead.
 Hope once it would appear in the XWiki's Roadmap.


Четверг,  5 декабря 2013, 22:45 +01:00 от "vinc...@massol.net" 
:
>Hi Dmitry,
>
>On 5 Dec 2013 at 22:00:12, Dmitry Bakbardin 
>(haru_mamb...@mail.ru(mailto://haru_mamb...@mail.ru)) wrote:
>
>> Hi, All!
>> 
>> Activity Stream Macro works fine. One of the options it has to enable RSS 
>> Feed.
>> RSS Feed works fine with document changes, but doesn't include any comments 
>> added to the document.
>> 
>> So finally we have discrepancy: Activity Stream data: ALL CHANGES and it's 
>> feed document CONTEN changes ONLY.
>> 
>> Is there any way to watch also commenting activity in the feed? 
>
>ATM no.
>
>The RSS feed is generated by the Main.WebRss page and this page uses some XWQL 
>query on documents to get changes.
>
>The solution would be to rewrite this page to use the activity stream API to 
>get the changes.
>
>Someone would need to do code that.
>
>Thanks
>-Vincent
>
>
>
>
>


Kind regards,

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


Re: [xwiki-users] Annotations not available

2013-12-05 Thread Eduard Moraru
Hi Patrick,

Wanting to go to bed, I checked your site and you seem to have resaved the
page I`ve asked you to: AnnotationCode.Script. This seems to have had the
right effect of enabling the Annotations javascript and now the Annotations
button seems to show up. That is great.

However, I see that there are problems in displaying the Annotations box
that pops up when pressing the Annotations button (plus there is no icon
for the Annotations button). This means that you need to re-save (with the
Admin user which has PR) another page which handles the styling of the
Annotations application. This page is:
http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style

Once you handle this step as well, you should be good and the Annotations
app should be running well. Just remember to refresh your browser`s cache
after you resave the Style page. Select some text in a page (where you have
some content, of course), press CTRL+M and the annotation popup should
appear asking you to comment on the selected piece of text.

Hope this helped,
Eduard



On Thu, Dec 5, 2013 at 11:06 PM, Eduard Moraru  wrote:

> Hi,
>
> On Thu, Dec 5, 2013 at 9:31 PM, Patrick Masson wrote:
>
>>  Eduard,
>>
>> Thanks but sadly this did not resolve the issue. Here is what I did:
>>
>>
>> > About the annotations tab. You might have used "Look & Feel > Page
>> Elements
>> > > Document metadata visibility > Show document annotations". That
>> option is
>> > there only for backwards compatibility reasons and should not be used
>> > unless you have a custom annotations class that is different from
>> > XWiki.XWikiComment. If you don't have a custom annotation class, make
>> sure
>> > to leave it set to "No" as default.
>>
>> 1. Logged in as wiki admin
>> 2. Went to "Administration » Look & Feel » Page Elements"
>> 3. Set the following,
>> "Show document annotations" to "No"
>> "Show document comments" to "---"
>> "Show document attachments" to "---"
>> "Show document history" to "---"
>> "Show document information" to "---"
>> 4. Clicked "Save"
>> 5. Went to "Administration » Applications » Annotations"
>> 6. Set the following:
>> "Annotations are activated" to "Yes"
>> "Except for the following spaces" [NONE SELECTED]
>> "Display annotations by default" to "Yes"
>> "Display annotations highlight by default" to "Yes"
>> "XWiki class defining annotations structure" to "XWiki.XWikiComments"
>> 7. Clicked "Save"
>>
>>
>> > First of all, to make sure the annotations application is loaded properly
>> > and working, you need to see the "Annotations" button on the right side of
>> > "Edit", "Export" and "More Actions":
>>
>> The Annotations button does not show up. See:
>> http://wiki.opensource.org/xwiki/bin/view/Sandbox/WebHome
>>
>> > If that does not show up, then there is a problem with the extension's JSX
>> > not loading up. You might need to resave the page "AnnotationCode.Script"
>> > **with Programming Rights** (generally, as the main wiki's Admin).
>>
>> I am not sure how to find the page "AnnotationCode.Script".
>>
>
> Whenever we mention a page name in XWiki in the form SomeSpace.SomePage,
> that page can be located by going to the URL: http://
> :/xwiki/bin/view/SomeSpace/SomePage
> In your case, the page I was referring to is:
> http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script
>
> Please try to resave that page as Admin (with PR) and then refresh your
> browser`s cache (CTRL+F5 if using Firefox, for example).
>
> Does this make the Annotations button show up?
>
> Cheers,
> Eduard
>
>
>>  I did find
>> http://wiki.opensource.org/xwiki/bin/view/Admin/CheckProgrammingRights
>> I also checked and both my Admin account and the group that account is in
>> (XWikiAdminGroup) have a green check in the "Program" checkbox on
>> "Administration » Users & Groups » Rights"
>>
>> Any help appreciated, thanks,
>> Patrick
>>
>>
>>
>>
>>
>> On 12/05/2013 01:15 PM, Eduard Moraru wrote:
>>
>> Hi Patrick,
>>
>> About the annotations tab. You might have used "Look & Feel > Page Elements
>>
>>  Document metadata visibility > Show document annotations". That option is
>>
>>  there only for backwards compatibility reasons and should not be used
>> unless you have a custom annotations class that is different from
>> XWiki.XWikiComment. If you don't have a custom annotation class, make sure
>> to leave it set to "No" as default. As Vincent already mentioned, the
>> annotations are supposed to appear together with regular comments in the
>> "Comments" tab at the bottom of a page.
>>
>> First of all, to make sure the annotations application is loaded properly
>> and working, you need to see the "Annotations" button on the right side of
>> "Edit", "Export" and "More 
>> Actions":http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HShowannotations
>>
>> If that does not show up, then there is a problem with the extension's JSX
>> not loading up. You might need to resave the page "AnnotationCode.Script"
>> **with Programming Ri

Re: [xwiki-users] Annotations not available

2013-12-05 Thread vinc...@massol.net

On 5 Dec 2013 at 22:06:36, Eduard Moraru 
(enygma2...@gmail.com(mailto://enygma2...@gmail.com)) wrote:

[snip]

> > I am not sure how to find the page "AnnotationCode.Script".
> >
> 
> Whenever we mention a page name in XWiki in the form SomeSpace.SomePage,
> that page can be located by going to the URL: http://
> :/xwiki/bin/view/SomeSpace/SomePage
> In your case, the page I was referring to is:
> http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script

Or use the Document Index
Or press ctrl+g to jump to a page (make sure you enable hidden documents in 
your user profile though to navigate to hidden documents).

[snip]

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


Re: [xwiki-users] RSS feed and commenting activity

2013-12-05 Thread vinc...@massol.net
Hi Dmitry,

On 5 Dec 2013 at 22:00:12, Dmitry Bakbardin 
(haru_mamb...@mail.ru(mailto://haru_mamb...@mail.ru)) wrote:

> Hi, All!
> 
> Activity Stream Macro works fine. One of the options it has to enable RSS 
> Feed.
> RSS Feed works fine with document changes, but doesn't include any comments 
> added to the document.
> 
> So finally we have discrepancy: Activity Stream data: ALL CHANGES and it's 
> feed document CONTEN changes ONLY.
> 
> Is there any way to watch also commenting activity in the feed? 

ATM no.

The RSS feed is generated by the Main.WebRss page and this page uses some XWQL 
query on documents to get changes.

The solution would be to rewrite this page to use the activity stream API to 
get the changes.

Someone would need to do code that.

Thanks
-Vincent





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


Re: [xwiki-users] Annotations not available

2013-12-05 Thread Eduard Moraru
Hi,

On Thu, Dec 5, 2013 at 9:31 PM, Patrick Masson wrote:

>  Eduard,
>
> Thanks but sadly this did not resolve the issue. Here is what I did:
>
>
> > About the annotations tab. You might have used "Look & Feel > Page
> Elements
> > > Document metadata visibility > Show document annotations". That option
> is
> > there only for backwards compatibility reasons and should not be used
> > unless you have a custom annotations class that is different from
> > XWiki.XWikiComment. If you don't have a custom annotation class, make
> sure
> > to leave it set to "No" as default.
>
> 1. Logged in as wiki admin
> 2. Went to "Administration » Look & Feel » Page Elements"
> 3. Set the following,
> "Show document annotations" to "No"
> "Show document comments" to "---"
> "Show document attachments" to "---"
> "Show document history" to "---"
> "Show document information" to "---"
> 4. Clicked "Save"
> 5. Went to "Administration » Applications » Annotations"
> 6. Set the following:
> "Annotations are activated" to "Yes"
> "Except for the following spaces" [NONE SELECTED]
> "Display annotations by default" to "Yes"
> "Display annotations highlight by default" to "Yes"
> "XWiki class defining annotations structure" to "XWiki.XWikiComments"
> 7. Clicked "Save"
>
>
> > First of all, to make sure the annotations application is loaded properly
> > and working, you need to see the "Annotations" button on the right side of
> > "Edit", "Export" and "More Actions":
>
> The Annotations button does not show up. See:
> http://wiki.opensource.org/xwiki/bin/view/Sandbox/WebHome
>
> > If that does not show up, then there is a problem with the extension's JSX
> > not loading up. You might need to resave the page "AnnotationCode.Script"
> > **with Programming Rights** (generally, as the main wiki's Admin).
>
> I am not sure how to find the page "AnnotationCode.Script".
>

Whenever we mention a page name in XWiki in the form SomeSpace.SomePage,
that page can be located by going to the URL: http://
:/xwiki/bin/view/SomeSpace/SomePage
In your case, the page I was referring to is:
http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script

Please try to resave that page as Admin (with PR) and then refresh your
browser`s cache (CTRL+F5 if using Firefox, for example).

Does this make the Annotations button show up?

Cheers,
Eduard


>  I did find
> http://wiki.opensource.org/xwiki/bin/view/Admin/CheckProgrammingRights
> I also checked and both my Admin account and the group that account is in
> (XWikiAdminGroup) have a green check in the "Program" checkbox on
> "Administration » Users & Groups » Rights"
>
> Any help appreciated, thanks,
> Patrick
>
>
>
>
>
> On 12/05/2013 01:15 PM, Eduard Moraru wrote:
>
> Hi Patrick,
>
> About the annotations tab. You might have used "Look & Feel > Page Elements
>
>  Document metadata visibility > Show document annotations". That option is
>
>  there only for backwards compatibility reasons and should not be used
> unless you have a custom annotations class that is different from
> XWiki.XWikiComment. If you don't have a custom annotation class, make sure
> to leave it set to "No" as default. As Vincent already mentioned, the
> annotations are supposed to appear together with regular comments in the
> "Comments" tab at the bottom of a page.
>
> First of all, to make sure the annotations application is loaded properly
> and working, you need to see the "Annotations" button on the right side of
> "Edit", "Export" and "More 
> Actions":http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HShowannotations
>
> If that does not show up, then there is a problem with the extension's JSX
> not loading up. You might need to resave the page "AnnotationCode.Script"
> **with Programming Rights** (generally, as the main wiki's Admin). If you
> don`t do this, the application can not execute properly and plug itself
> into XWiki's UI on every document.
>
> Hope this helps,
> Eduard
>
>
>
> On Thu, Dec 5, 2013 at 7:20 PM, Patrick Masson  
> wrote:
>
>
>  Resending as attachments exceeded size limits and my email was sent for
> moderation...
>
> On 12/03/2013 12:42 PM, Patrick Masson wrote:
>
> Guillaume,
>
>
> On 12/03/2013 11:47 AM, Guillaume Fenollar wrote:
>
>
>  FTR Vincent, you can see the actual error on Patrick's wiki, since OSI
> wiki
> is available in view to guests (BTW, is this wanted, Patrick?)
>
>  Yes, some (most) wiki pages/spaces should be available to unregistered
>
>  guests to view. Ideally we want all, members and staff: all users can view
> and comment on public pages, members can view edit and comment on public
> pages, staff can view, edit, comment on all pages (public and private). But
> considering my knuckle-headed moves with permissions so far I am trying to
> keep it basic for now.
>
>
>  Patrick, could you explain what you did exactly to "install" this plugin ?
>
>   I did not install any plug-ins. I only referenced the plugin as the page
>
>  I was looking at (http://e

[xwiki-users] RSS feed and commenting activity

2013-12-05 Thread Dmitry Bakbardin
 Hi, All!

Activity Stream Macro works fine. One of the options it has to enable RSS Feed.
RSS Feed works fine  with document changes, but doesn't include any comments 
added to the document.

So finally we have discrepancy: Activity Stream data: ALL CHANGES and it's feed 
document CONTEN changes ONLY.

Is there any way to watch also commenting activity in the feed?

Kind regards,

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


Re: [xwiki-users] Annotations not available

2013-12-05 Thread Patrick Masson

Eduard,

Thanks but sadly this did not resolve the issue. Here is what I did:

> About the annotations tab. You might have used "Look & Feel > Page 
Elements
> > Document metadata visibility > Show document annotations". That 
option is

> there only for backwards compatibility reasons and should not be used
> unless you have a custom annotations class that is different from
> XWiki.XWikiComment. If you don't have a custom annotation class, make 
sure

> to leave it set to "No" as default.

1. Logged in as wiki admin
2. Went to "Administration » Look & Feel » Page Elements"
3. Set the following,
"Show document annotations" to "No"
"Show document comments" to "---"
"Show document attachments" to "---"
"Show document history" to "---"
"Show document information" to "---"
4. Clicked "Save"
5. Went to "Administration » Applications » Annotations"
6. Set the following:
"Annotations are activated" to "Yes"
"Except for the following spaces" [NONE SELECTED]
"Display annotations by default" to "Yes"
"Display annotations highlight by default" to "Yes"
"XWiki class defining annotations structure" to "XWiki.XWikiComments"
7. Clicked "Save"


First of all, to make sure the annotations application is loaded properly
and working, you need to see the "Annotations" button on the right side of
"Edit", "Export" and "More Actions":


The Annotations button does not show up. See: 
http://wiki.opensource.org/xwiki/bin/view/Sandbox/WebHome



If that does not show up, then there is a problem with the extension's JSX
not loading up. You might need to resave the page "AnnotationCode.Script"
**with Programming Rights** (generally, as the main wiki's Admin).


I am not sure how to find the page "AnnotationCode.Script".
I did find 
http://wiki.opensource.org/xwiki/bin/view/Admin/CheckProgrammingRights
I also checked and both my Admin account and the group that account is 
in (XWikiAdminGroup) have a green check in the "Program" checkbox on 
"Administration » Users & Groups » Rights"


Any help appreciated, thanks,
Patrick




On 12/05/2013 01:15 PM, Eduard Moraru wrote:

Hi Patrick,

About the annotations tab. You might have used "Look & Feel > Page Elements

Document metadata visibility > Show document annotations". That option is

there only for backwards compatibility reasons and should not be used
unless you have a custom annotations class that is different from
XWiki.XWikiComment. If you don't have a custom annotation class, make sure
to leave it set to "No" as default. As Vincent already mentioned, the
annotations are supposed to appear together with regular comments in the
"Comments" tab at the bottom of a page.

First of all, to make sure the annotations application is loaded properly
and working, you need to see the "Annotations" button on the right side of
"Edit", "Export" and "More Actions":
http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HShowannotations

If that does not show up, then there is a problem with the extension's JSX
not loading up. You might need to resave the page "AnnotationCode.Script"
**with Programming Rights** (generally, as the main wiki's Admin). If you
don`t do this, the application can not execute properly and plug itself
into XWiki's UI on every document.

Hope this helps,
Eduard



On Thu, Dec 5, 2013 at 7:20 PM, Patrick Masson wrote:


Resending as attachments exceeded size limits and my email was sent for
moderation...

On 12/03/2013 12:42 PM, Patrick Masson wrote:

Guillaume,


On 12/03/2013 11:47 AM, Guillaume Fenollar wrote:


FTR Vincent, you can see the actual error on Patrick's wiki, since OSI
wiki
is available in view to guests (BTW, is this wanted, Patrick?)

  Yes, some (most) wiki pages/spaces should be available to unregistered

guests to view. Ideally we want all, members and staff: all users can view
and comment on public pages, members can view edit and comment on public
pages, staff can view, edit, comment on all pages (public and private). But
considering my knuckle-headed moves with permissions so far I am trying to
keep it basic for now.


  Patrick, could you explain what you did exactly to "install" this plugin ?

  I did not install any plug-ins. I only referenced the plugin as the page

I was looking at (http://extensions.xwiki.org/xwiki/bin/view/Extension/
Annotations+Application) to try and discover the fix for my annotation
problem referenced a plugin, and to make sure it was installed. I simply
looked in the Extension Manager to ensure it was checked. My administration
screen (see attached: XWiki Preferences (XWiki.XWikiPreferences) -
XWiki.png) looks just like the one on that page (
http://extensions.xwiki.org/xwiki/bin/view/Extension/
Annotations+Application#HConfigureannotations). I also have this admin
page where I can make annotations visable or not: XWiki Preferences
(XWiki.XWikiPreferences) - XWiki 02.png




2013/12/2vinc...@massol.net  

  Hi Patrick,

On 2 Dec 2013 at 17:16:38, Patrick Masson (mas...@opensource.org) wrote:

I have

Re: [xwiki-users] Everyone can see user's e-mail on myxwiki.org

2013-12-05 Thread vinc...@massol.net
Hi Patrick,

On 5 Dec 2013 at 18:18:44, Patrick Masson 
(mas...@opensource.org(mailto://mas...@opensource.org)) wrote:

> Sending again as attachments exceeded size limits and my email was sent
> to moderation…

I received it the first time!

> > Hmm, Well I set that to "Yes" (see attached: "Admin:Email.png") and it
> > does not obfuscate users' emails on their profile page (see attached:
> > "TestUser.png”).

Actually I enabled obsfucation on xwiki.org yesterday and it was working. But I 
checked today and it’s not working anymore either…

Seems we have a bug.

Would be great to report an issue in jira (http://jira.xwiki.org).

Thanks
-Vincent

> > Any ideas?
> > Patrick
> >
> > On 12/04/2013 09:43 AM, Thomas Mortagne wrote:
> >> Yes that's the one.
> >>
> >> On Wed, Dec 4, 2013 at 3:39 PM, Patrick Masson wrote:
> >>> Is this were the setting is...?
> >>> Administration ? Configuration ? Email
> >>>
> >>> Obfuscate Email Addresses
> >>> This affects only the email addresses stored in object properties of type
> >>> Email, as long as the default custom displayer for the Email property type
> >>> is not overwritten. Example:a...@domain.org
> >>>
> >>>
> >>> On 12/04/2013 04:45 AM, Thomas Mortagne wrote:
>  This is true only for a 5.1 -> 5.2 upgrade since before 5.1 there was
>  not even any concept of obfuscated email and it's been made
>  configurable and turned off by default in 5.2.
> 
>  On Wed, Dec 4, 2013 at 10:42 AM, Dmitry Bakbardin
>  wrote:
> > In this case it is logic turn it off for intranet sites.
> > But imagine the situation, when you make an Upgrade and then realize 
> > that
> > all e-mails are public :-)
> > Next bot search make you database open for everyone? Looks problematic,
> > isn't it?
> >
> > Среда, 4 декабря 2013, 10:38 +01:00 от Thomas Mortagne
> > :
> >> Note that this option also obfuscate emails for logged in users and
> >> not only guests (which is a pain in an intranet since it make pretty
> >> much impossible to find the mail of another user).
> > Kind regards,
> >
> > Dmitry

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


Re: [xwiki-users] Annotations not available

2013-12-05 Thread Eduard Moraru
Hi Patrick,

About the annotations tab. You might have used "Look & Feel > Page Elements
> Document metadata visibility > Show document annotations". That option is
there only for backwards compatibility reasons and should not be used
unless you have a custom annotations class that is different from
XWiki.XWikiComment. If you don't have a custom annotation class, make sure
to leave it set to "No" as default. As Vincent already mentioned, the
annotations are supposed to appear together with regular comments in the
"Comments" tab at the bottom of a page.

First of all, to make sure the annotations application is loaded properly
and working, you need to see the "Annotations" button on the right side of
"Edit", "Export" and "More Actions":
http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HShowannotations

If that does not show up, then there is a problem with the extension's JSX
not loading up. You might need to resave the page "AnnotationCode.Script"
**with Programming Rights** (generally, as the main wiki's Admin). If you
don`t do this, the application can not execute properly and plug itself
into XWiki's UI on every document.

Hope this helps,
Eduard



On Thu, Dec 5, 2013 at 7:20 PM, Patrick Masson wrote:

> Resending as attachments exceeded size limits and my email was sent for
> moderation...
>
> On 12/03/2013 12:42 PM, Patrick Masson wrote:
>
> Guillaume,
>
>
> On 12/03/2013 11:47 AM, Guillaume Fenollar wrote:
>
>> FTR Vincent, you can see the actual error on Patrick's wiki, since OSI
>> wiki
>> is available in view to guests (BTW, is this wanted, Patrick?)
>>
>>  Yes, some (most) wiki pages/spaces should be available to unregistered
> guests to view. Ideally we want all, members and staff: all users can view
> and comment on public pages, members can view edit and comment on public
> pages, staff can view, edit, comment on all pages (public and private). But
> considering my knuckle-headed moves with permissions so far I am trying to
> keep it basic for now.
>
>
>  Patrick, could you explain what you did exactly to "install" this plugin ?
>>
>>  I did not install any plug-ins. I only referenced the plugin as the page
> I was looking at (http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Annotations+Application) to try and discover the fix for my annotation
> problem referenced a plugin, and to make sure it was installed. I simply
> looked in the Extension Manager to ensure it was checked. My administration
> screen (see attached: XWiki Preferences (XWiki.XWikiPreferences) -
> XWiki.png) looks just like the one on that page (
> http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Annotations+Application#HConfigureannotations). I also have this admin
> page where I can make annotations visable or not: XWiki Preferences
> (XWiki.XWikiPreferences) - XWiki 02.png
>
>
>
>> 2013/12/2vinc...@massol.net  
>>
>>  Hi Patrick,
>>>
>>> On 2 Dec 2013 at 17:16:38, Patrick Masson (mas...@opensource.org) wrote:
>>>
>>> I have a hosted (xwiki.com) Enterprise XWiki and would like to enable
>>> the Annotations feature
>>> (
>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/
>>> Annotations+Application
>>> ).
>>> They do not appear now.
>>>
>>> After reviewing the above page, I am able to activate the Annotations
>>> tab, however the I cannot find out how to turn on / make available the
>>> That’s weird, there shouldn’t be a Annotations tab ;) We merged the
>>> Comments and Annotations tabs a while back, as you can see for example at
>>> http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome  (if you’re
>>> fast enough to check since playground gets reset every night ;)).
>>>
>>> I don’t know why you’re getting the tab ATM.
>>>
>>> annotations tool itself to create the annotations. That is, I do not
>>> have the Annotations tool button in the "Edit" "Export" "More Actions"
>>> header on the top of the page (see attached image).
>>> Annotations are not available to the Admin role, as a registered user or
>>> anonymous user.
>>> I have tried the Ctrl + M (Meta + M) as well, thinking this still might
>>> work even without the button, but nothing happens.
>>> Ctrl+M should work fine always (try it on playground).
>>>
>>> The Annotations plugin is installed (as I said I, can see the
>>> "Annotations" tab on each page across the wiki at the top and bottom
>>> next to "Comments" Attachments" etc.).
>>> What plugin? did you install something?
>>>
>>> I am running the XWiki.DefaultSkin running the "Mint" color theme.
>>> I have tried viewing on Ubuntu Firefox and Chrome; Mac Safari 6 and
>>> Windows IE10.
>>> Within the Annotations Application on the Administration page I have the
>>> settings at:
>>>
>>> * Annotations are activated: YES
>>> * Except for the following spaces: NONE selected
>>> * Display annotations by default: YES
>>> * Display annotations highlight by default: YES
>>> * XWiki class defining annotations structure: XWiki.XWikiComments
>>> (this was already set--default?

Re: [xwiki-users] Annotations not available

2013-12-05 Thread Patrick Masson
Resending as attachments exceeded size limits and my email was sent for 
moderation...


On 12/03/2013 12:42 PM, Patrick Masson wrote:

Guillaume,

On 12/03/2013 11:47 AM, Guillaume Fenollar wrote:

FTR Vincent, you can see the actual error on Patrick's wiki, since OSI wiki
is available in view to guests (BTW, is this wanted, Patrick?)


Yes, some (most) wiki pages/spaces should be available to unregistered guests 
to view. Ideally we want all, members and staff: all users can view and comment 
on public pages, members can view edit and comment on public pages, staff can 
view, edit, comment on all pages (public and private). But considering my 
knuckle-headed moves with permissions so far I am trying to keep it basic for 
now.


Patrick, could you explain what you did exactly to "install" this plugin ?

I did not install any plug-ins. I only referenced the plugin as the page 
I was looking at 
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application) 
to try and discover the fix for my annotation problem referenced a 
plugin, and to make sure it was installed. I simply looked in the 
Extension Manager to ensure it was checked. My administration screen 
(see attached: XWiki Preferences (XWiki.XWikiPreferences) - XWiki.png) 
looks just like the one on that page 
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application#HConfigureannotations). 
I also have this admin page where I can make annotations visable or not: 
XWiki Preferences (XWiki.XWikiPreferences) - XWiki 02.png





2013/12/2vinc...@massol.net  


Hi Patrick,

On 2 Dec 2013 at 17:16:38, Patrick Masson (mas...@opensource.org) wrote:

I have a hosted (xwiki.com) Enterprise XWiki and would like to enable
the Annotations feature
(
http://extensions.xwiki.org/xwiki/bin/view/Extension/Annotations+Application
).
They do not appear now.

After reviewing the above page, I am able to activate the Annotations
tab, however the I cannot find out how to turn on / make available the
That’s weird, there shouldn’t be a Annotations tab ;) We merged the
Comments and Annotations tabs a while back, as you can see for example at
http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome  (if you’re
fast enough to check since playground gets reset every night ;)).

I don’t know why you’re getting the tab ATM.

annotations tool itself to create the annotations. That is, I do not
have the Annotations tool button in the "Edit" "Export" "More Actions"
header on the top of the page (see attached image).
Annotations are not available to the Admin role, as a registered user or
anonymous user.
I have tried the Ctrl + M (Meta + M) as well, thinking this still might
work even without the button, but nothing happens.
Ctrl+M should work fine always (try it on playground).

The Annotations plugin is installed (as I said I, can see the
"Annotations" tab on each page across the wiki at the top and bottom
next to "Comments" Attachments" etc.).
What plugin? did you install something?

I am running the XWiki.DefaultSkin running the "Mint" color theme.
I have tried viewing on Ubuntu Firefox and Chrome; Mac Safari 6 and
Windows IE10.
Within the Annotations Application on the Administration page I have the
settings at:

* Annotations are activated: YES
* Except for the following spaces: NONE selected
* Display annotations by default: YES
* Display annotations highlight by default: YES
* XWiki class defining annotations structure: XWiki.XWikiComments
(this was already set--default?-- when I first visited the page).
I do see a note on the Annotations page, "/If you are using a custom
annotations class other than the previously default/
AnnotationsCode.AnnotationsClass /in the annotations configuration.../"

I have cleared my browser cache after selecting and saving the above.
Hmm that’s strange because I had the same issue on playground.xwiki.organd 
clearing my cache made it work. I’ve created
http://jira.xwiki.org/browse/XWIKI-9759

Make sure you force clear your cache maybe.

Thanks

-Vincent

I have searched the FAQ:

http://www.xwiki.org/xwiki/bin/view/FAQCode/FAQSearch?space=FAQ&text=Annotations

I have searched the lists and found:

*http://xwiki.475771.n2.nabble.com/Annotations-not-working-td7345638.html

*
http://xwiki.475771.n2.nabble.com/Annotations-comments-merge-validation-td7582245.html

This thread indicates XWiki.XWikiComments is correct, "/Basically
the new format is XWiki.XWikiComments class instead of the old /
AnnotationCode.AnnotationClass"
*
http://xwiki.475771.n2.nabble.com/Re-display-issues-in-IE-td7587297.html#a7587298


Any advise appreciated, thanks,
Patrick







--
|| | |  || || |  ||| | |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Sk: massonpj
Ph: (970) 4MASSON
Em:mass...@opensource.org  
Ws:www.opensource.org  
__

Re: [xwiki-users] Everyone can see user's e-mail on myxwiki.org

2013-12-05 Thread Patrick Masson
Sending again as attachments exceeded size limits and my email was sent 
to moderation...
Hmm, Well I set that to "Yes" (see attached: "Admin:Email.png") and it 
does not obfuscate users' emails on their profile page (see attached: 
"TestUser.png").


Any ideas?
Patrick

On 12/04/2013 09:43 AM, Thomas Mortagne wrote:

Yes that's the one.

On Wed, Dec 4, 2013 at 3:39 PM, Patrick Masson  wrote:

Is this were the setting is...?
Administration ? Configuration ? Email

Obfuscate Email Addresses
This affects only the email addresses stored in object properties of type
Email, as long as the default custom displayer for the Email property type
is not overwritten. Example:a...@domain.org


On 12/04/2013 04:45 AM, Thomas Mortagne wrote:

This is true only for a 5.1 -> 5.2 upgrade since before 5.1 there was
not even any concept of obfuscated email and it's been made
configurable and turned off by default in 5.2.

On Wed, Dec 4, 2013 at 10:42 AM, Dmitry Bakbardin
wrote:

In this case it is logic turn it off for intranet sites.
But imagine the situation, when you make an Upgrade and then realize that
all e-mails are public :-)
Next bot search make you database open for everyone? Looks problematic,
isn't  it?

Среда,  4 декабря 2013, 10:38 +01:00 от Thomas Mortagne
:

Note that this option also obfuscate emails for logged in users and
not only guests (which is a pain in an intranet since it make pretty
much impossible to find the mail of another user).

Kind regards,

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



--
 |||  |  |||||  |||| |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Sk: massonpj
Ph: (970) 4MASSON
Em:mass...@opensource.org  
Ws:www.opensource.org  

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




--
|||  |  |||||  |||| |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Sk: massonpj
Ph: (970) 4MASSON
Em: mass...@opensource.org 
Ws: www.opensource.org 


--
|||  |  |||||  |||| |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Sk: massonpj
Ph: (970) 4MASSON
Em: mass...@opensource.org 
Ws: www.opensource.org 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Tag Rules

2013-12-05 Thread Danilo Amaral de Oliveira
Hello People,

How are you?
I am providing the XWiki tool to my IT department. We will use it as central 
point for exchange technical information!
In order to maintain an organized Wiki I am giving some tips to our users, for 
example: always use tags, try to kink other document and always verify the 
hierarchical relation of the document.
But I have some minor doubts that you maybe help me.

Do you establish some good practice to use tags? For example:
try always use just substantive ,
insert at least 3 tags for each document,
use just capital letters, etc

Other question is about the navigator, what do you think that work better with 
XWiki, I am using Firefox but I don’t know if the chrome works better. What do 
you suggest?

Danilo


Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - CTZ-C
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


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


Re: [xwiki-users] Everyone can see user's e-mail on myxwiki.org

2013-12-05 Thread Patrick Masson
Turning on obfuscated email through "XWiki" >> "Administer Wiki" >> 
"Email" >> "Obfuscate Email Addresses" = "YES" does not produce expect 
result. All emails are still visible in "Wiki Home" >> "User Directory"


See: http://osi.xwiki.com/xwiki/bin/view/XWiki/TestOSIuser

On 12/05/2013 05:41 AM, Marius Dumitru Florea wrote:

See 
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52#HEmailAddressObfuscation
and http://jira.xwiki.org/browse/XWIKI-9224 .

Thanks,
Marius

On Wed, Dec 4, 2013 at 12:03 PM, vinc...@massol.net  wrote:


On 4 Dec 2013 at 10:45:35, Thomas Mortagne (thomas.morta...@xwiki.com) wrote:

This is true only for a 5.1 -> 5.2 upgrade since before 5.1 there was
not even any concept of obfuscated email and it's been made
configurable and turned off by default in 5.2.
The concept has been there for several years Thomas (it was even there when I 
joined the project AFAIR). But yes, it wasn’t exposed as a settings in the 
admin UI and it was hardcoded in our sheet before.

Thanks

-Vincent



On Wed, Dec 4, 2013 at 10:42 AM, Dmitry Bakbardin  wrote:

In this case it is logic turn it off for intranet sites.
But imagine the situation, when you make an Upgrade and then realize that all 
e-mails are public :-)
Next bot search make you database open for everyone? Looks problematic, isn't 
it?

Среда, 4 декабря 2013, 10:38 +01:00 от Thomas Mortagne 
:

Note that this option also obfuscate emails for logged in users and
not only guests (which is a pain in an intranet since it make pretty
much impossible to find the mail of another user).


Kind regards,

Dmitry

___
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


--
|||  |  |||||  |||| |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Sk: massonpj
Ph: (970) 4MASSON
Em: mass...@opensource.org 
Ws: www.opensource.org 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem installing extensions: value too long for type character varying(60000)

2013-12-05 Thread Frits Jalvingh
I'm using Postgresql and the database has been created a long time ago. The
error message does not tell what column is in trouble nor which table it's
in, and there seem to be several 8-/ Is there any formal schema for xwiki's
database that I can compare with? Or a way to get more detailed logging
where the error occurs?

Thanks, Frits



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problem-installing-extensions-value-too-long-for-type-character-varying-6-tp7588223p7588271.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] Everyone can see user's e-mail on myxwiki.org

2013-12-05 Thread Marius Dumitru Florea
See 
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52#HEmailAddressObfuscation
and http://jira.xwiki.org/browse/XWIKI-9224 .

Thanks,
Marius

On Wed, Dec 4, 2013 at 12:03 PM, vinc...@massol.net  wrote:
>
>
> On 4 Dec 2013 at 10:45:35, Thomas Mortagne (thomas.morta...@xwiki.com) wrote:
>
> This is true only for a 5.1 -> 5.2 upgrade since before 5.1 there was
> not even any concept of obfuscated email and it's been made
> configurable and turned off by default in 5.2.
> The concept has been there for several years Thomas (it was even there when I 
> joined the project AFAIR). But yes, it wasn’t exposed as a settings in the 
> admin UI and it was hardcoded in our sheet before.
>
> Thanks
>
> -Vincent
>
>
>
> On Wed, Dec 4, 2013 at 10:42 AM, Dmitry Bakbardin  
> wrote:
>>
>> In this case it is logic turn it off for intranet sites.
>> But imagine the situation, when you make an Upgrade and then realize that 
>> all e-mails are public :-)
>> Next bot search make you database open for everyone? Looks problematic, 
>> isn't it?
>>
>> Среда, 4 декабря 2013, 10:38 +01:00 от Thomas Mortagne 
>> :
>>>Note that this option also obfuscate emails for logged in users and
>>>not only guests (which is a pain in an intranet since it make pretty
>>>much impossible to find the mail of another user).
>>
>>
>> Kind regards,
>>
>> Dmitry
> ___
> 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] Wiki manager and MySQL privileges

2013-12-05 Thread Martin Hamant

Hi Guillaume,

Thanks a lot !

Le 29/11/2013 09:49, Guillaume Fenollar a écrit :

Hello Martin,

Thanks for reporting this, I corrected the page, with a grant privileges
applied on every databases. Since 5.0, every xwiki instance is able to
create subwikis (WikiManager always installed), so I guess it's best to
avoid the privileges issues, by giving the good rights from the beginning.

Have a good day

Guillaume Fenollar


2013/11/26 Martin Hamant 


Le 26/11/2013 12:37, Martin Hamant a écrit :

  Hi!

I am running Xwiki 5.2 and trying to create a new wiki from the Wiki
Manager.

If fails with the following message in container logs:  Access denied for
user 'xwiki'@'localhost' to database 'ezr' (where 'ezr' is the wiki
name).

I verified my installation reading the steps specified here :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL

My guess is the 'xwiki' user can't create a new database : what if the
official documentation about xwiki MySQL user for multi-tenant usage ?
Do I have to modify something in MySQL privileges ?

Here is the resulting privileges of "grant all privileges on xwiki.* to
xwiki@localhost identified by 'xxx'"

+---
---+
| Grants for xwiki@localhost |
+---
---+
| GRANT USAGE ON *.* TO 'xwiki'@'localhost' IDENTIFIED BY PASSWORD '***'
|
| GRANT ALL PRIVILEGES ON `xwiki`.* TO 'xwiki'@'localhost' |
+---
---+

 From my understanding of the above , xwiki user only have all privileges
access to xwiki db... So the user can't create any additional xwiki
database !?

Thanks  !



Answering to my own question : Found the answer here :
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/Installation#
HInstallXEMusingDebian28.DEB29PackagesandExtensionManager


  Convert an existing XWiki Enterprise instance

  * In order for XEM to be able to create new wikis on demand, you will
need to give all rights to your database user. For example for
MySQL, execute:
mysql -u root -e "grant all privileges on *.* to xwiki@127.0.0.1
identified by 'xwiki'"


This step is required. (I am using DEB distribution of XWiki.)
Maybe this could be reminded somewhere on http://platform.xwiki.org/
xwiki/bin/view/AdminGuide/InstallationMySQL ?? What do you think ?

___
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] jQuery plugin - Conflict with prototype.js

2013-12-05 Thread Caleb James DeLisle
Actually IIRC you reminded me that I has not documented it and I decided
to put off documenting it because it was new and might change/break
(which it did in 5.1). Now I think you're right and we have reached a
point where it is safe for people to begin using it so I will write some
documentation on it.

Thanks,
Caleb


On 12/04/2013 05:51 PM, vinc...@massol.net wrote:
> BTW might be a good time to document the requirejs feature in XWiki Caleb? 
> (You forgot to do so when you introduced it, you only added it in the release 
> notes but not in the documentation) :)
> 
> Thanks
> -Vincent
> 
> On 4 Dec 2013 at 17:33:08, Ruben M. (r.muel...@kraeuterhaus.de) wrote:
> 
> Hi Caleb, 
> 
> Thanks for your quick answer. 
> 
> Thanks for your hint with require.js, it seems to be an interesting concept, 
> though it might be beyond my js-skills :-) But i think i'll give it a try. 
> 
> I found the following code at stackoverflow: 
> 
> (function (factory) { 
> if (typeof define === 'function' && define.amd) { 
> // AMD. Register as an anonymous module. 
> define(['jquery'], factory); 
> } else { 
> // Browser globals 
> factory(jQuery); 
> } 
> }(function ($) { 
> 
> $.fn.jqueryPlugin = function () { 
> // Put your plugin code here 
> }; 
> 
> })); 
> 
> Is it enough to create a js-File like that and register it in the 
> javascript.vm under 'paths:', or do i have to change more things in that 
> file or somewhere else? (produced errors so far...) 
> I found something about jquery in the require.js in the js-folder. 
> 
> Regards, 
> Ruben 
> 
> 
> 
> ___
> 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