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

2015-01-06 Thread Thomas Mortagne
You can access your new wiki on http://zucchini.myxwiki.org. Enjoy ! On Mon, Jan 5, 2015 at 11:11 PM, Steen Klingenberg wrote: > description: Wiki for documenting a private software solution named > Zucchini > > > > owner name: Steen Klingenberg > > > > wiki name: Zucchini > > > > ___

[xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Antoine Berthelin
Hello, I have a question about "create a new wiki" feature on xwiki, regarding the code and after test, this feature create a schema. In Oracle, to create a schema, you have to create user. The problem is : "Oracle administrator don't allow xwiki user to create user/schema" in oracle database ...

Re: [xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Jeremie BOUSQUET
Hello, This is normal, see here [1] New wiki creates a new schema. BR, Jeremie [1] - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Virtualization 2015-01-06 11:49 GMT+01:00 Antoine Berthelin : > Hello, > > I have a question about "create a new wiki" feature on xwiki, regarding the > cod

Re: [xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Antoine Berthelin
Hello, Thanks for your response. Yes, I understand xwiki has to use a new schema for sub wiki for scalability raison etc ... But, in production environnement in a real (big) company, Oracle DBA disallow autorisation on create user / schema operation for xwiki user (only DBA administrator can do t

Re: [xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Thomas Mortagne
Old wiki manager UI used to propose you to force wiki creation when the DB/schema already existed but this feature seems to not be available anymore in the new UI. But as far as I can see this is supported by the wiki manager script API so one solution might be to either customize WikiManager.Creat

Re: [xwiki-users] Show hidden spaces

2015-01-06 Thread Pascal BASTIEN
Hello, (First let me start off by wishing everyone a very Happy New Year.) You can use somethink like this to find hidden space (even if the user don't display hidden doc) #set ($items = $xwiki.search("select doc.space from XWikiDocument as doc where doc.name='WebHome' and doc.hidden = '1'")) #f

Re: [xwiki-users] [AppWithinMinutes] Add Entry by Link from another Page

2015-01-06 Thread Marius Dumitru Florea
You can try something like this: /xwiki/bin/save/MyApp/SomeNewEntry?template=MyAppCode.MyAppTemplate&parent=WebHome&MyAppCode.MyAppClass_0_color=red&form_token=EZAMO0woQCt9mQGvMXPawQ The alternative is to use REST, see http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HObjectresou

Re: [xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Antoine Berthelin
Thanks Thomas, Good idea to use WikiManagerScriptService, I test it, but this service use the same method as UI with database creation, same method == same result :) So, I am writing a patch in Xwiki, I will improve my code and propose a push request in order to add an option on database creatio

Re: [xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Thomas Mortagne
On Tue, Jan 6, 2015 at 5:03 PM, Antoine Berthelin wrote: > Thanks Thomas, > > Good idea to use WikiManagerScriptService, I test it, but this service > use the same method as UI with database creation, same method == same > result :) As I explained in my first mail you have a parameter which indic

Re: [xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Antoine Berthelin
Hello Thomas, Yes, I set failOnExist parameter to false, xwiki don't check it. However, just after, he try to create user and schema. => Throw JDBC exception Antoine 2015-01-06 17:58 GMT+01:00 Thomas Mortagne : > On Tue, Jan 6, 2015 at 5:03 PM, Antoine Berthelin > wrote: > > Thanks Thomas, >

Re: [xwiki-users] Create a new wiki on Oracle database autorisation

2015-01-06 Thread Thomas Mortagne
On Tue, Jan 6, 2015 at 6:11 PM, Antoine Berthelin wrote: > Hello Thomas, > > Yes, I set failOnExist parameter to false, xwiki don't check it. > However, just after, he try to create user and schema. This sounds like a bug to me, you should probably create a bug issue on http://jira.xwiki.org. Thi