Re: [xwiki-users] [myxwiki] new wiki request

2015-04-08 Thread Thomas Mortagne
You can access your new wiki on http://bedar.myxwiki.org. Enjoy !

On Tue, Apr 7, 2015 at 1:56 PM, Bedar beda...@gmail.com wrote:
 Hi,

 Firstly, I hope I'm sending this to the correct e-mail, if not please tell
 me so I can avoid making the same mistake in the future.

 Secondly, I would like to create my own personal Wiki. I'm mainly going to
 use it for personal use. This will hold a knowledge base for my IT and
 Webdesign knowledge to present me this in a structured way. While I'm using
 this, I'm also going to evaluate it to use it in an enterprise environment.

 Owner name: Daniël Meyfroot
 Wiki name: bedar.myxwiki.com (bedar89 is also possible, but I prefer
 without numbers)

 Thank you in advance,

 Daniël Meyfroot
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



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


[xwiki-users] XWiki 7 / File Manager and Task Manager applications

2015-04-08 Thread Laurent CARON
Hi,

I'm currently migrating my company's wiki to XWIKI. I've installed version 7.0.

Well, this application rocks but I've got  an annoying problem :

-  I've downloaded the file manager and tried it on both Firefox and 
Chrome. When I open the page, I've just got an empty folder. I tried to click, 
double click, right clic... Nothing happens.

For your information, my xwiki is configured in french, and I'm logged with a 
superadmin account...

Do you have an idea ? Or a fix to help me ?

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


Re: [xwiki-users] Obtaining a XWikiContext

2015-04-08 Thread Marius Dumitru Florea
Or inject the Container component and access the request. See
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-containers/xwiki-platform-container-api/src/main/java/org/xwiki/container/Container.java

Hope this helps,
Marius

On Wed, Apr 8, 2015 at 6:38 PM, Marius Dumitru Florea
mariusdumitru.flo...@xwiki.com wrote:
 One option is to use a RequestInitializer as in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-sheet/xwiki-platform-sheet-api/src/main/java/org/xwiki/sheet/internal/SheetRequestInitializer.java
 .

 Hope this helps,
 Marius

 On Wed, Apr 8, 2015 at 6:20 PM, Nicolas Delsaux nicolas.dels...@gmx.fr 
 wrote:
 Hi,
 for one of our projects, we're creating a XWiki component, based upon this
 documentation
 (http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents).
 In documentation, it is said we can access the XWikiContext, which is also
 said to be deprecated.

 Considering that, and the fact we're running in XWiki 7.0, what is the best
 way to get incoming request parameter ?

 Thanks
 ___
 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] Obtaining a XWikiContext

2015-04-08 Thread vinc...@massol.net
Another option is to get inject a Container component:

@Inject Container container; 

then container.getRequest() 

and if you need to access HTTP parameters: ((ServletRequest) 
container.getRequest).getHttpServletRequest()

Thanks
-Vincent

On 8 Apr 2015 at 17:38:23, Marius Dumitru Florea 
(mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) wrote:

 One option is to use a RequestInitializer as in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-sheet/xwiki-platform-sheet-api/src/main/java/org/xwiki/sheet/internal/SheetRequestInitializer.java
 .
 
 Hope this helps,
 Marius
 
 On Wed, Apr 8, 2015 at 6:20 PM, Nicolas Delsaux wrote:
  Hi,
  for one of our projects, we're creating a XWiki component, based upon this
  documentation
  (http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents).
  In documentation, it is said we can access the XWikiContext, which is also
  said to be deprecated.
 
  Considering that, and the fact we're running in XWiki 7.0, what is the best
  way to get incoming request parameter ?
 
  Thanks
  ___
  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] User Permissions Issue

2015-04-08 Thread Hamster
Here's how I have created the permissions of our spaces:

SpaceAdmin - Thicked all
SpaceEditor - Thicked View, Comment and Edit
SpaceViewer - Thicked View and Comment

So basicly your first screenshot. There's no need apply any Deny rights.
The thicks of the SpaceAdmin will deny those rights for anyone NOT in the
SpaceAdmin group. Thus you need to apply the thicks on View, Comment and
Edit in the other groups.

In order to see these right changes, I always close my browser (IE11) and
open XWiki again.

HTH!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594587.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] User Permissions Issue

2015-04-08 Thread mahomed
Hi

As anyone else got any tips/suggestions/advice/links on a better way of
restricting access to document and even spaces?

The sub-wiki idea may work, but it's a LOT of work (even though we just
started using the Wiki, people have fallen in love with XWiki and we now
have quite an amount data in the system).

Am I correct that in order to get proper use out of the permissions
system, users can only be members of one group (possibly excluding the
XWikiAllGroup)?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594579.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] Obtaining a XWikiContext

2015-04-08 Thread Nicolas Delsaux

Hi,
for one of our projects, we're creating a XWiki component, based upon 
this documentation 
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents).
In documentation, it is said we can access the XWikiContext, which is 
also said to be deprecated.


Considering that, and the fact we're running in XWiki 7.0, what is the 
best way to get incoming request parameter ?


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


Re: [xwiki-users] User Permissions Issue

2015-04-08 Thread mahomed
Hi

Thanks for the response. What you have shown seems to work partially for us.
The issue happens if the user is a member of a group for a different space. 

So taking your example a bit further:

Space1Admin - ticked all 
Space1Editor - ticked View, Comment and Edit 
Space1Viewer - ticked View and Comment 

Space2Admin - ticked all 
Space2Editor - ticked View, Comment and Edit 
Space2Viewer - ticked View and Comment 

If user is member of Space1Viewer and Space2Admin then the user usually ends
up with no access to Space2.

This is where our problem comes up because we need some users to be members
of multiple spaces.

No help from Devs please?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/User-Permissions-Issue-tp7594486p7594593.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] Obtaining a XWikiContext

2015-04-08 Thread Marius Dumitru Florea
One option is to use a RequestInitializer as in
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-sheet/xwiki-platform-sheet-api/src/main/java/org/xwiki/sheet/internal/SheetRequestInitializer.java
.

Hope this helps,
Marius

On Wed, Apr 8, 2015 at 6:20 PM, Nicolas Delsaux nicolas.dels...@gmx.fr wrote:
 Hi,
 for one of our projects, we're creating a XWiki component, based upon this
 documentation
 (http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents).
 In documentation, it is said we can access the XWikiContext, which is also
 said to be deprecated.

 Considering that, and the fact we're running in XWiki 7.0, what is the best
 way to get incoming request parameter ?

 Thanks
 ___
 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