Hi,
For the property issue, it would indeed be great to have it by default,
and to increase the default size. Also, there are two tricks you can use
to add it when you have an empty wiki : the first one would consist of
importing a standard XAR before importing your actual wiki, which would
allows you to edit the class with the editor. The second one would be to
use the "propadd" URL action : hit something like
.../xwiki/bin/propadd/XWiki/XWikiPreferences?propname=maxsize_upload&proptype=com.xpn.xwiki.objects.classes.NumberClass
inside your browser. I agree, it's not really convenient, but it can help
on such cases where you are stuck.
Jerome.
30 MB seems indeed a better choice.
Will you add the property to the XWikiPreferences class ? Because one of
the
problenms was that when you started xwiki with an empty database, and
wanted
to reload a backup of your wiki contents, you could not add the
property to the class in the class editor - and that is the time when you
need it the most, since you want to import the XAR of your wiki, which
might
easily be more than the max upload size (if users had uploaded a lot of
attachments).
On 11/22/07, Vincent Massol <vincent(a)massol.net> wrote:
Hi,
Several users are saying that 10MB is too low a default value. I think
I agree with them. Now I can't think of a downside for increasing it
to a higher value. Is there any potential issue increasing it by
default to a higher value?
What could be the a better value? That's a hard question but I'd say
30MB should be fine.
WDYT?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Jean-Vivien MAURICE
Elève Ingénieur Informatique et Gestion, Polytech'Montpellier (ISIM)
E-mail : jean.vivien.maurice(a)gmail.com
Tél. : 0046 7 62 33 20 46
Skype : jean.vivien
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs