Administration Application Needed Files

11 Messages Forum Options Options
Permalink
Evelina Slatineanu
Administration Application Needed Files
Reply Threaded More
Print post
Permalink
Hi all,

 

For the new Administration application to work properly in an empty wiki
(create users, groups, set rights etc), the following files have to be moved
from XE to Administration:

 

Xwiki.Admin

Xwiki.Users

Xwiki.XwikiUserSheet

Xwiki.XWikiUserTemplate

Xwiki.AdminGroup

Xwiki.AllGroup

Xwiki.Groups

Xwiki.XwikiGroupSheet

Xwiki.XwikiGroupTemplate

Xwiki.Rights

Xwiki.GlobalRights

Xwiki.DefaultSkin

Xwiki.Skins

Xwiki.XwikiPreferences

 

I already sent the patch to JV, we only need votes. I'm  +1

 

Thanks, Evelina

 

_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
Thomas Mortagne
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
On Thu, Jun 26, 2008 at 7:00 PM, Evelina Slatineanu
<evelina.slatineanu@...> wrote:

> Hi all,
>
>
>
> For the new Administration application to work properly in an empty wiki
> (create users, groups, set rights etc), the following files have to be moved
> from XE to Administration:
>
>
>
> Xwiki.Admin
>
> Xwiki.Users
>
> Xwiki.XwikiUserSheet
>
> Xwiki.XWikiUserTemplate
>
> Xwiki.AdminGroup
>
> Xwiki.AllGroup
>
> Xwiki.Groups
>
> Xwiki.XwikiGroupSheet
>
> Xwiki.XwikiGroupTemplate
>
> Xwiki.Rights
>
> Xwiki.GlobalRights
>
> Xwiki.DefaultSkin
>
> Xwiki.Skins
>
> Xwiki.XwikiPreferences

-1 for XWiki.XWikiPreferences at least the one from XE which contains
rights configuration in it.
Plus admin should be able to automatically create the
XWiki.XWikiPreferences page when needed.

>
>
>
> I already sent the patch to JV, we only need votes. I'm  +1
>
>
>
> Thanks, Evelina
>
>
>
> _______________________________________________
> devs mailing list
> devs@...
> http://lists.xwiki.org/mailman/listinfo/devs
>



--
Thomas Mortagne
_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
Sergiu Dumitriu-2
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
In reply to this post by Evelina Slatineanu
Evelina Slatineanu wrote:

>
> For the new Administration application to work properly in an empty wiki
> (create users, groups, set rights etc), the following files have to be moved
> from XE to Administration:
>
> Xwiki.Admin
> Xwiki.Users
> Xwiki.XwikiUserSheet
> Xwiki.XWikiUserTemplate
> Xwiki.AdminGroup
> Xwiki.AllGroup
> Xwiki.Groups
> Xwiki.XwikiGroupSheet
> Xwiki.XwikiGroupTemplate
> Xwiki.Rights
> Xwiki.GlobalRights
> Xwiki.DefaultSkin
> Xwiki.Skins
> Xwiki.XwikiPreferences
>

Since XE will always contain Administration, I see no danger in doing this. In the end XE should
only be an empty shell with several other applications included in it.

So, +1
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
vmassol
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
In reply to this post by Evelina Slatineanu

On Jun 26, 2008, at 7:00 PM, Evelina Slatineanu wrote:

> Hi all,
>
>
>
> For the new Administration application to work properly in an empty  
> wiki
> (create users, groups, set rights etc), the following files have to  
> be moved
> from XE to Administration:
>
>
>
> Xwiki.Admin
>
> Xwiki.Users
>
> Xwiki.XwikiUserSheet
>
> Xwiki.XWikiUserTemplate
>
> Xwiki.AdminGroup
>
> Xwiki.AllGroup
>
> Xwiki.Groups
>
> Xwiki.XwikiGroupSheet
>
> Xwiki.XwikiGroupTemplate
>
> Xwiki.Rights
>
> Xwiki.GlobalRights
>
> Xwiki.DefaultSkin
>
> Xwiki.Skins
>
> Xwiki.XwikiPreferences
>
>
>
> I already sent the patch to JV, we only need votes. I'm  +1

+1

However we need a info box to install the Admin app when the database  
doesn't contain it and when the user clicks on Administration. This is  
while we wait for the Setup Wizard which should force the installation  
of the admin app.

Thanks
-Vincent

_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
Jean-Vincent Drean
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
In reply to this post by Sergiu Dumitriu-2
On Thu, Jun 26, 2008 at 11:04 PM, Sergiu Dumitriu <sergiu@...> wrote:
> Evelina Slatineanu wrote:
>
> Since XE will always contain Administration, I see no danger in doing this. In the end XE should
> only be an empty shell with several other applications included in it.
>

+1 for the same reason.

--
Jean-Vincent Drean
_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
vmassol
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink

On Jun 27, 2008, at 10:42 AM, Jean-Vincent Drean wrote:

> On Thu, Jun 26, 2008 at 11:04 PM, Sergiu Dumitriu <sergiu@...>  
> wrote:
>> Evelina Slatineanu wrote:
>>
>> Since XE will always contain Administration, I see no danger in  
>> doing this. In the end XE should
>> only be an empty shell with several other applications included in  
>> it.
>>
>
> +1 for the same reason.

One question. Imagine:
* I have an empty wiki. I start it.
* XWiki will automatically create a XWikiPreferences object since one  
doesn't exist
* I make modifications to it
* I import the admin app

Won't this overwrite/erase my XWikiPreferences page?

The question really is do we want to allow the user to make any admin  
action on an empty wiki (apart from importing)?

Thanks
-Vincent

_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
vmassol
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
In reply to this post by Thomas Mortagne

On Jun 26, 2008, at 7:27 PM, Thomas Mortagne wrote:

> On Thu, Jun 26, 2008 at 7:00 PM, Evelina Slatineanu
> <evelina.slatineanu@...> wrote:
>> Hi all,
>>
>>
>>
>> For the new Administration application to work properly in an empty  
>> wiki
>> (create users, groups, set rights etc), the following files have to  
>> be moved
>> from XE to Administration:
>>
>>
>>
>> Xwiki.Admin
>>
>> Xwiki.Users
>>
>> Xwiki.XwikiUserSheet
>>
>> Xwiki.XWikiUserTemplate
>>
>> Xwiki.AdminGroup
>>
>> Xwiki.AllGroup
>>
>> Xwiki.Groups
>>
>> Xwiki.XwikiGroupSheet
>>
>> Xwiki.XwikiGroupTemplate
>>
>> Xwiki.Rights
>>
>> Xwiki.GlobalRights
>>
>> Xwiki.DefaultSkin
>>
>> Xwiki.Skins
>>
>> Xwiki.XwikiPreferences
>
> -1 for XWiki.XWikiPreferences at least the one from XE which contains
> rights configuration in it.
> Plus admin should be able to automatically create the
> XWiki.XWikiPreferences page when needed.

Since everyone else is +1 I want to be sure we understand why you're  
against it Thomas.

For me XE = SUM(Applications). So every single page has to belong to  
an application. The best application for XWikiPreferences seem to be  
the Admin one.

Now regarding the fact that XWikiPreferences page is automatically  
created by core. I think we shouldn't have this and by default XE  
should use the xwiki.cfg data only if XWikiPreferences doesn't exist.  
And it should be mandatory to import the Admin app before being able  
to do anything at all in the wiki. Actually the setup wizard should  
force its installation.

Now the question we need to ask ourselves is whether we want an empty  
wiki to fully work without importing anything at all. In that case the  
admin features should be located as plugins/components in the core and  
the Admin app is ONLY the UI part of the admin + possibly some non  
critical (i.e. the wiki can work without them) pages.

WDYT?

Thanks
-Vincent








_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
Thomas Mortagne
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
On Fri, Jun 27, 2008 at 11:18 AM, Vincent Massol <vincent@...> wrote:

>
> On Jun 26, 2008, at 7:27 PM, Thomas Mortagne wrote:
>
>> On Thu, Jun 26, 2008 at 7:00 PM, Evelina Slatineanu
>> <evelina.slatineanu@...> wrote:
>>> Hi all,
>>>
>>>
>>>
>>> For the new Administration application to work properly in an empty
>>> wiki
>>> (create users, groups, set rights etc), the following files have to
>>> be moved
>>> from XE to Administration:
>>>
>>>
>>>
>>> Xwiki.Admin
>>>
>>> Xwiki.Users
>>>
>>> Xwiki.XwikiUserSheet
>>>
>>> Xwiki.XWikiUserTemplate
>>>
>>> Xwiki.AdminGroup
>>>
>>> Xwiki.AllGroup
>>>
>>> Xwiki.Groups
>>>
>>> Xwiki.XwikiGroupSheet
>>>
>>> Xwiki.XwikiGroupTemplate
>>>
>>> Xwiki.Rights
>>>
>>> Xwiki.GlobalRights
>>>
>>> Xwiki.DefaultSkin
>>>
>>> Xwiki.Skins
>>>
>>> Xwiki.XwikiPreferences
>>
>> -1 for XWiki.XWikiPreferences at least the one from XE which contains
>> rights configuration in it.
>> Plus admin should be able to automatically create the
>> XWiki.XWikiPreferences page when needed.
>
> Since everyone else is +1 I want to be sure we understand why you're
> against it Thomas.
>
> For me XE = SUM(Applications). So every single page has to belong to
> an application. The best application for XWikiPreferences seem to be
> the Admin one.
>
> Now regarding the fact that XWikiPreferences page is automatically
> created by core. I think we shouldn't have this and by default XE
> should use the xwiki.cfg data only if XWikiPreferences doesn't exist.
> And it should be mandatory to import the Admin app before being able
> to do anything at all in the wiki. Actually the setup wizard should
> force its installation.
>
> Now the question we need to ask ourselves is whether we want an empty
> wiki to fully work without importing anything at all. In that case the
> admin features should be located as plugins/components in the core and
> the Admin app is ONLY the UI part of the admin + possibly some non
> critical (i.e. the wiki can work without them) pages.

If we consider an empty wiki as unusable the I would be +0 for
including XWikiPreference (I would still think it's not clean and
useless to have it in Admin but it would not be a so strong issue
anymore).
But I don't like this way to see admin application which should be...
an application and not contains useless and arbitrary datas IMO.

>
> WDYT?
>
> Thanks
> -Vincent
>
>
>
>
>
>
>
>
> _______________________________________________
> devs mailing list
> devs@...
> http://lists.xwiki.org/mailman/listinfo/devs
>



--
Thomas Mortagne
_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
Jean-Vincent Drean
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
On Fri, Jun 27, 2008 at 11:34 AM, Thomas Mortagne
<thomas.mortagne@...> wrote:
>
> If we consider an empty wiki as unusable the I would be +0 for
> including XWikiPreference (I would still think it's not clean and
> useless to have it in Admin but it would not be a so strong issue
> anymore).

I think we can consider that an empty wiki is unusable from a user POV.
And the admin app is becoming the minimal package required to be able to use XE.

> But I don't like this way to see admin application which should be...
> an application and not contains useless and arbitrary datas IMO.

I think that for the moment we need to put some default values in a
provided XWikiPreferences, for the panels prefs for example.
BTW the question here is just "do we all agree to move
XWikiPreferences", not "is it normal to provide a default
XWikiPreferences".
I'd like to commit this later today.

Thanks,
JV.
_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
Jean-Vincent Drean
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
On Thu, Jul 3, 2008 at 9:12 AM, Jean-Vincent Drean <jv@...> wrote:

> On Fri, Jun 27, 2008 at 11:34 AM, Thomas Mortagne
> <thomas.mortagne@...> wrote:
>>
>> If we consider an empty wiki as unusable the I would be +0 for
>> including XWikiPreference (I would still think it's not clean and
>> useless to have it in Admin but it would not be a so strong issue
>> anymore).
>
> I think we can consider that an empty wiki is unusable from a user POV.
> And the admin app is becoming the minimal package required to be able to use XE.
>
>> But I don't like this way to see admin application which should be...
>> an application and not contains useless and arbitrary datas IMO.
>
> I think that for the moment we need to put some default values in a
> provided XWikiPreferences, for the panels prefs for example.
> BTW the question here is just "do we all agree to move
> XWikiPreferences", not "is it normal to provide a default
> XWikiPreferences".
> I'd like to commit this later today.
>

No shouts in the meantime, commiting now.

--
Jean-Vincent Drean
_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs
Jean-Vincent Drean
Re: Administration Application Needed Files
Reply Threaded More
Print post
Permalink
Arg, I've applied the patch instead of doing a clean svn move ...

On Thu, Jul 3, 2008 at 5:09 PM, Jean-Vincent Drean <jv@...> wrote:

> On Thu, Jul 3, 2008 at 9:12 AM, Jean-Vincent Drean <jv@...> wrote:
>> On Fri, Jun 27, 2008 at 11:34 AM, Thomas Mortagne
>> <thomas.mortagne@...> wrote:
>>>
>>> If we consider an empty wiki as unusable the I would be +0 for
>>> including XWikiPreference (I would still think it's not clean and
>>> useless to have it in Admin but it would not be a so strong issue
>>> anymore).
>>
>> I think we can consider that an empty wiki is unusable from a user POV.
>> And the admin app is becoming the minimal package required to be able to use XE.
>>
>>> But I don't like this way to see admin application which should be...
>>> an application and not contains useless and arbitrary datas IMO.
>>
>> I think that for the moment we need to put some default values in a
>> provided XWikiPreferences, for the panels prefs for example.
>> BTW the question here is just "do we all agree to move
>> XWikiPreferences", not "is it normal to provide a default
>> XWikiPreferences".
>> I'd like to commit this later today.
>>
>
> No shouts in the meantime, commiting now.
>
> --
> Jean-Vincent Drean
>



--
Jean-Vincent Drean
_______________________________________________
devs mailing list
devs@...
http://lists.xwiki.org/mailman/listinfo/devs