Re: [xwiki-users] Failed to load resource: the server responded with a status of 403 (Forbidden)

2016-02-17 Thread Sonic
Thanks all for help.
*Eduard Moraru*
Yes, it was just a problem with rights. Nothing with the extension.
The Space Macros' view right for XWikiAllGroup was forbidden.
So only XWikiAllGroup' users with admin/programming rights could see
highlighting code.




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Failed-to-load-resource-the-server-responded-with-a-status-of-403-Forbidden-tp7598013p7598027.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 Architecture

2016-02-17 Thread Giordano Ninonà
Thanks Eduard,

I think that I'll change something from those on that page and then I'll
share here so you could tell me if they are correct.
That are for my master thesis so I need to be sure that they are correct :)

Giordano.

2016-02-17 19:11 GMT+01:00 Eduard Moraru :

> Hi,
>
> Well, we`re pretty much in a transition period and a lot of stuff has
> changed. The stuff from OldArchitecture is still pretty useful but slightly
> outdated.
>
> I guess we will eventually come around to having some new diagrams
> eventually, but if in the meanwhile you make yourself some, please don`t
> hesitate to share ;)
>
> Thanks,
> Eduard
>
> On Wed, Feb 17, 2016 at 4:33 PM, Giordano Ninonà <
> giordano.nin...@gmail.com>
> wrote:
>
> > Hi users,
> >
> > Is there any usefull and self-explaining image or diagram which describe
> > the Architecture of XWiki?
> > I am looking for something like this:
> > http://dev.xwiki.org/xwiki/bin/view/Drafts/OldArchitecture
> > but that is not "old" of course!
> >
> > Any help?
> > Giordano.
> > ___
> > 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 Architecture

2016-02-17 Thread Eduard Moraru
Hi,

Well, we`re pretty much in a transition period and a lot of stuff has
changed. The stuff from OldArchitecture is still pretty useful but slightly
outdated.

I guess we will eventually come around to having some new diagrams
eventually, but if in the meanwhile you make yourself some, please don`t
hesitate to share ;)

Thanks,
Eduard

On Wed, Feb 17, 2016 at 4:33 PM, Giordano Ninonà 
wrote:

> Hi users,
>
> Is there any usefull and self-explaining image or diagram which describe
> the Architecture of XWiki?
> I am looking for something like this:
> http://dev.xwiki.org/xwiki/bin/view/Drafts/OldArchitecture
> but that is not "old" of course!
>
> Any help?
> Giordano.
> ___
> 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] Failed to load resource: the server responded with a status of 403 (Forbidden)

2016-02-17 Thread Eduard Moraru
Hi Sonic,

Maybe you have done some rights configuration that you did not intend to.

Can a regular user (not admin) access in view mode the page
Macros/Highlight? If not, then have a look at the rights of the page, at
the rights of the space and even at the rights of the wiki. Having a look
at your groups and the rights given to the groups would not hurt either.

If you want to be extra sure that the problem is fro your configuration and
not coming from the application itself, grab a fresh copy of XWiki 7.1.4
(same version as you have), install the macro, create a regular user, log
in with that user and check if you care reproduce the issue. If you can`t
then, as I said, you really need to look well into your rights setup.

Hope this helps,
Eduard

P.S.: I have not tried the macro myself yet, just doing guesswork here.

On Wed, Feb 17, 2016 at 4:45 PM, Sonic  wrote:

> Hi, vmassol
> When I give admin and/or programming rights for whole xwiki to user, macro
> works well. When I take it back, macro doesn't work. And this message:"the
> server responded with a status of 403 (Forbidden)"
> This is why I think that.
> Maybe something wrong with my Xwiki configuration?
> And my xwiki version is older - 7.1.4.
>
>
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Failed-to-load-resource-the-server-responded-with-a-status-of-403-Forbidden-tp7598013p7598018.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] Failed to load resource: the server responded with a status of 403 (Forbidden)

2016-02-17 Thread Sonic
Hi, vmassol
When I give admin and/or programming rights for whole xwiki to user, macro
works well. When I take it back, macro doesn't work. And this message:"the
server responded with a status of 403 (Forbidden)"
This is why I think that.
Maybe something wrong with my Xwiki configuration?
And my xwiki version is older - 7.1.4.





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Failed-to-load-resource-the-server-responded-with-a-status-of-403-Forbidden-tp7598013p7598018.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


[xwiki-users] XWiki Architecture

2016-02-17 Thread Giordano Ninonà
Hi users,

Is there any usefull and self-explaining image or diagram which describe
the Architecture of XWiki?
I am looking for something like this:
http://dev.xwiki.org/xwiki/bin/view/Drafts/OldArchitecture
but that is not "old" of course!

Any help?
Giordano.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Failed to load resource: the server responded with a status of 403 (Forbidden)

2016-02-17 Thread vinc...@massol.net
Hi Sonic,

On 17 Feb 2016 at 15:00:24, Sonic 
(timurale...@gmail.com(mailto:timurale...@gmail.com)) wrote:

> Hi. I have Highlight macros that doesn't work for users without admin and
> programmers rigths.
>  
> How I use this macro:
> {{highlight language="php" style="monokai"}}
> /public function updateSystemStatus()
> {
> $articules = Articules::where('system_status_id', 5)->get();
> foreach($articules as $articul){
> Status::updateEntitySystemStatus([
> 'entity' => 'articul',
> 'object' => $articul,
> ]);
> $articul->save();
> }
> return 'OK';
> }
> {{/highlight}}/
>  
> Here is what I see as admin in the page's source code:
>  
>  
> And what I see as a user:
>  
>  
> Console output:

I’ve tested your code snippet on XWiki 7.4.1 and it works fine. This macro 
doesn’t need the user to be admin nor have programming rights! Why do you think 
it requires that?

Here’s what I get visually:
https://www.evernote.com/l/AHdARxrg9XhNsJ1SwJY6P6ub96UPiRpDAzA

Thanks
-Vincent

PS: BTW you have an extra “/“ after {{/highlight}} which will make the macro 
fail…

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


[xwiki-users] Failed to load resource: the server responded with a status of 403 (Forbidden)

2016-02-17 Thread Sonic
Hi. I have Highlight macros that doesn't work for users without admin and
programmers rigths.

How I use this macro:
{{highlight language="php" style="monokai"}}
/public function updateSystemStatus()
{
$articules = Articules::where('system_status_id', 5)->get();
foreach($articules as $articul){
Status::updateEntitySystemStatus([
'entity' => 'articul',
'object' => $articul,
]);
$articul->save();
}
return  'OK';
}
{{/highlight}}/

Here is what I see as admin in the page's source code:
 

And what I see as a user:
 

Console output:
 




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Failed-to-load-resource-the-server-responded-with-a-status-of-403-Forbidden-tp7598013.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] Coloring text in WYSIWYG ?

2016-02-17 Thread Bruno


Thank you Vincent for all the  Info.

On my wiki, whith CKEditor, the "Marker" style doesn't display 
highlighted text (nothing appears). The rest works fine.


It's great that I can offer an alternative to the integrated editor.

Thank you and a big congratulations to all the team XWiki !


_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


Le 17/02/2016 10:05, vinc...@massol.net a écrit :
  





On 17 Feb 2016 at 09:42:41, Bruno 
(bruno.joffr...@ec-nantes.fr(mailto:bruno.joffr...@ec-nantes.fr)) wrote:

  
Yes, CKEditor seems to be really interesting !

Do you advise me to include it in my wiki ?

When it’s ready yes (see the thread I pointed you to, which has some info on 
timeframes).

Thanks
-Vincent


Bruno Joffredo

[snip]


Le 16/02/2016 17:18, vinc...@massol.net a écrit :

Note that the future is:
http://markmail.org/message/v7zksylepq2agutj

Thanks
-Vincent


On 16 Feb 2016 at 17:12:45, Bruno 
(bruno.joffr...@ec-nantes.fr(mailto:bruno.joffr...@ec-nantes.fr)) wrote:


Thanks a lot Vincent !

I was looking on xwiki.org. I forgot Google ;)

[snip]


Bruno Joffredo

[snip]


Le 16/02/2016 16:57, vinc...@massol.net a écrit :

Hi Bruno,

Are you sure you googled and couldn’t find it? :)

Because I googled for “xwiki wysiwyg color” and the first link I got was:
http://lists.xwiki.org/pipermail/users/2012-February/021826.html

Thanks
-Vincent
On 16 Feb 2016 at 16:46:50, Bruno (bruno.joffr...@ec-nantes.fr) wrote:


Hello,

Is it possible to color the text (and/or background) in the WYSIWYG
editor, without passing by the source code of the page ?
Is there an extension for that ?
Because some non-technical users will not want to spend time to learn
the XWiki language.

Thank you for all the help you bring me !

___
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] Coloring text in WYSIWYG ?

2016-02-17 Thread vinc...@massol.net
 




On 17 Feb 2016 at 09:42:41, Bruno 
(bruno.joffr...@ec-nantes.fr(mailto:bruno.joffr...@ec-nantes.fr)) wrote:

>  
> Yes, CKEditor seems to be really interesting !
> Do you advise me to include it in my wiki ?

When it’s ready yes (see the thread I pointed you to, which has some info on 
timeframes).

Thanks
-Vincent

> Bruno Joffredo

[snip]

> Le 16/02/2016 17:18, vinc...@massol.net a écrit :
> > Note that the future is:
> > http://markmail.org/message/v7zksylepq2agutj
> >
> > Thanks
> > -Vincent
> >
> >
> > On 16 Feb 2016 at 17:12:45, Bruno 
> > (bruno.joffr...@ec-nantes.fr(mailto:bruno.joffr...@ec-nantes.fr)) wrote:
> >
> >>
> >> Thanks a lot Vincent !
> >>
> >> I was looking on xwiki.org. I forgot Google ;)
> > [snip]
> >
> >> Bruno Joffredo
> > [snip]
> >
> >> Le 16/02/2016 16:57, vinc...@massol.net a écrit :
> >>> Hi Bruno,
> >>>
> >>> Are you sure you googled and couldn’t find it? :)
> >>>
> >>> Because I googled for “xwiki wysiwyg color” and the first link I got was:
> >>> http://lists.xwiki.org/pipermail/users/2012-February/021826.html
> >>>
> >>> Thanks
> >>> -Vincent
> >>> On 16 Feb 2016 at 16:46:50, Bruno (bruno.joffr...@ec-nantes.fr) wrote:
> >>>
> >>>
> >>> Hello,
> >>>
> >>> Is it possible to color the text (and/or background) in the WYSIWYG
> >>> editor, without passing by the source code of the page ?
> >>> Is there an extension for that ?
> >>> Because some non-technical users will not want to spend time to learn
> >>> the XWiki language.
> >>>
> >>> Thank you for all the help you bring me !
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Coloring text in WYSIWYG ?

2016-02-17 Thread Bruno


Yes, CKEditor seems to be really interesting !
Do you advise me to include it in my wiki ?

_

Bruno Joffredo

Ecole Centrale de Nantes

Centre de Ressources Informatiques - Bur. D019

1 rue de la Noë

BP 92101

F-44321 Nantes cedex 3

Tél. 02.40.37.68.06
Mail : bruno.joffr...@ec-nantes.fr 
_


Le 16/02/2016 17:18, vinc...@massol.net a écrit :

Note that the future is:
http://markmail.org/message/v7zksylepq2agutj

Thanks
-Vincent


On 16 Feb 2016 at 17:12:45, Bruno 
(bruno.joffr...@ec-nantes.fr(mailto:bruno.joffr...@ec-nantes.fr)) wrote:

  
Thanks a lot Vincent !
  
I was looking on xwiki.org. I forgot Google ;)

[snip]


Bruno Joffredo

[snip]


Le 16/02/2016 16:57, vinc...@massol.net a écrit :

Hi Bruno,

Are you sure you googled and couldn’t find it? :)

Because I googled for “xwiki wysiwyg color” and the first link I got was:
http://lists.xwiki.org/pipermail/users/2012-February/021826.html

Thanks
-Vincent
On 16 Feb 2016 at 16:46:50, Bruno (bruno.joffr...@ec-nantes.fr) wrote:


Hello,

Is it possible to color the text (and/or background) in the WYSIWYG
editor, without passing by the source code of the page ?
Is there an extension for that ?
Because some non-technical users will not want to spend time to learn
the XWiki language.

Thank you for all the help you bring me !

___
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