I was wondering if the files that are uploaded on XWiki are stored in any
particular folder on the server?
Or is it just the tables in the DB that have information on them?
We are exploring the ways in which the files uploaded can be directly added
to a SVN repository. For this, I need to know the location of the files once
they are uploaded.
Thanks
dede (JIRA) wrote:
>
> dede commented on XWIKI-1573:
> -----------------------------
>
I'm tired of this spammer. I keep deleting his account, and he keeps
creating it. I'm trying a new strategy: I changed his password. Let's
see if that works.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi, devs.
While reviewing our attachment archive implementation I found following
methods in com.xpn.xwiki.api.Attachment:
/**
* @return the rcs archive of the attachement
*/
public Archive getArchive() {
return attachment.getArchive();
}
It returns unwrapped JRCS archive which Has modify methods.
So user can change attachment archive without proper rights.
Also there are public archive-specific methods in api.Attachment such as
getVersions, getAttachmentRevision.
So I found no usecases of getArchive method.
This method can be replaced by api.Attachment.getAttachment().getArchive()
with checking programming right.
next method:
public XWikiAttachment getAttachmentRevision(String rev) throws
XWikiException
{
return attachment.getAttachmentRevision(rev, getXWikiContext());
}
returns unwrapped XWikiAttachment, but should return api.Attachment.
So i propose to delete api.Attachment#getArchive() and modify
getAttachmentRevision to return Attachment.
Another question: is this fix needed for 1.3 brunch?
Here is my +1 for fix it in trunk.
--
Artem Melentyev
Hello,
I'd like to release the 1.0 version of the SpaceManager plugin.
You can see the features it implements on
http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin. I will
update this document with installation notes and javadoc API as soon as it
is released.
Here is my +1 for it.
Regards,
Jerome.
I was asked to post to the list about this.. things have been busy, so
it's taken me awhile.
There are a few things that really bug me about the XWikiAllGroup:
1) It requires an XWikiGroups object to be created for every
registered user, which is a pain in the butt when there are thousands
2) It is possible for the XWikiAllGroup to get out of sync with actual
registered users: When users are deleted, it does not automatically
remove the corresponding object from XWikiAllGroup, and if there is a
strange window with the cache (which I've seen happen) objects for new
users are not correctly added to the XWikiAllGroup document.
The XWikiAllGroup is special (just as XWikiGuest is special). It's my
view that the document a) shouldn't have to really exist, and b)
shouldn't actually have to have XWikiGroups objects for every user
attached to it. If someone is a valid user, they're in
XWikiAllGroup.. that's it. The default contents of the XWikiAllGroup
document could either be a link to the XWikiUsers page, or a repeat of
the query displaying all of the users in the system.
So it's my thought that the auth code should be modified to treat
XWikiAllGroup as a special entity in the future. I know I'll be more
than happy to delete the XWiki.XWikiAllGroup document as soon as I
have the chance.
On Wed, Feb 13, 2008 at 11:32 PM, Erin Schnabel (JIRA) <jira(a)xwiki.org> wrote:
> Make XWiki.XWikiAllGroup a "special" group, rather than a real document with objects attached.
> ----------------------------------------------------------------------------------------------
>
> Key: XWIKI-2116
> URL: http://jira.xwiki.org/jira/browse/XWIKI-2116
> Project: XWiki Core
> Issue Type: Bug
> Components: Authentication and Rights Management
> Affects Versions: 1.2.1, 1.2, 1.1, 1.0
> Reporter: Erin Schnabel
>
>
> I've seen XWiki.XWikiAllGroup get out of sync: There are users in XWIki.XWikiAllGroup that don't exist, and users that exist that aren't in XWIki.XWikiAllGroup.
>
> It seems to me that XWiki.XWikiAllGroup is special. It should be treated in auth code as a magic word, like superadmin or XWiki.XWikiGuest, to mean "any user that exists in the DB for that wiki" (XWikiGuest doesn't live in the DB.. ).
>
> These "AllGroups" would still hold different members: xwiki:XWiki.XWikiAllGroup, xwiki_virtual:XWiki.XWikiAllGroup
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
--
'Waste of a good apple' -Samwise Gamgee
Hi all,
Now I only have pom.xml, the guide says I should run->Ant Building,
however, I haven't found build.xml in my project. What should I do to build
xwiki in Eclipse but not run mvn install?
Regards,
Switchoo
On Mar 14, 2008, at 12:02 AM, sdumitriu (SVN) wrote:
[snip]
> @@ -179,6 +178,8 @@
> LOG.error("Remember Me function will be disabled!!");
> return;
> }
> + protectedUsername = protectedUsername.replaceAll("=",
> "_");
> + protectedPassword = protectedPassword.replaceAll("=",
> "_");
I think these statements would warrant a nice comment explaining why
we're doing this.
Same where the opposite operation is performed.
Thanks
-Vincent
Writing java code not not necessary unless developing a pluign.
You may want to look at
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
The is the best place to start with velocity code in wiki pages to build
applications to extend xwiki.
Thanks
Sachin
Message: 5
> Date: Thu, 13 Mar 2008 16:27:49 +0100
> From: "Jean-Vincent Drean" <jv(a)xwiki.com>
> Subject: Re: [xwiki-devs] Developing/Extending XWiki
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <c58832290803130827r62d31d22ke208fed3d00674a(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> you might be interested by this article written by Vincent :
> http://www.theserverside.com/tt/articles/article.tss?l=XWiki
> This article explains how to create simple applications inside XWiki
> using xwiki development capabilies (objects and classes).
>
> JV.
>
> On Thu, Mar 13, 2008 at 3:57 PM, Kamna Jain <kammy.scorpi(a)gmail.com>
> wrote:
> > Hello,
> >
> > Thanks Guillaume and Sergiu.
> > I have another Question:
> >
> > We are looking at using XWiki to build an appication to be used within
> the
> > company. I downloadd the XWiki Enterprise and am running it local on my
> > system. I have started customizing the pages just to get a feel of how
> the
> > application would look.
> > Say, for example as a developer, if I wanted to insert an HTML form into
> one
> > of the pages and ask users to fill that in for me. How exactly should I
> > process the user input. Should I write Java code which will be a part of
> the
> > XWiki Enterprise package or will it be a part of the XWiki Platform
> core?
> > I am a little confused on this issue. Any insight will help immensely.
> >
> > Thanks
> >
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
>
>
There is a slight bug in xwiki skin.
in editinline.vm please add the following line:
<input type="hidden" name="parent" value="$!request.parent" />
where other hidden params are added.
I have posted a JIRA issue on the same, but looks like nothing has been done
on this front.
Thanks
Sachin
Message: 6
> Date: Thu, 13 Mar 2008 16:34:47 +0100
> From: "nitin wankhede" <nwankhede(a)gmail.com>
> Subject: Re: [xwiki-devs] Creating Pages based on available Templates
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <1f6741640803130834l2b8ec6a8r4fa7da5cb579181e(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Sergiu,
>
> Thanks for the information, I understand how NewPage panel works.
> I have created a drop down list of templates and Spaces. Now i want users
> to
> select the template and Space from the drop down while creating new pages.
> While doing this i can create new page with selected parate but new page
> always created in current space.
>
> Do you know why this is happening.
>
> Below is the modified code:
>
>
> #if($hasedit)
> #panelheader($msg.get("Create New Page"))
> <form method="post" action="$doc.getURL("view","xpage=create")" onsubmit =
> "cancelCancelEdit()">
> <div class="padded centered">
> #set($spaces = $xwiki.spaces)
> #set($first = true)
> <select name="parent" class="panelselect" >
> #foreach($space in $spaces)
> #if($first)
> #set($first = false)
> #else
> ## <span class="pitemseparator">|</span>
> #end
> #if($space == $doc.web)
> <option value=${space}.WebHome>${space}</option>
> #else
> <option value=${space}.WebHome>${space}</option>
> #end
> #end
> </select>
>
> <select name="template" class="panelselect">
> <option value="MySpace.tempClassTemplate">Screen template</option>
> <option value="MySpace.Report Template">Report Template</option>
> </select>
> <div class="padded centered">
> <select name="tocreate" class="panelselect">
> <option value="page">New Page\*</option>
> <option value="space">New Space</option>
> <option value="post">New Blog Post</option>
> </select>
> </div>
>
> <input type="text" name="title" value="Title" class="panelinput"
> style="margin:auto;" onfocus="if(this.value=='Title') this.value=''"
> onblur="if(this.value=='') this.value='Title'"/>
> </div>
>
> <div class="padded centered" style="text-align:center;">
> <input type="submit" class="button" style="margin:auto;"
> value="$msg.get("create")"/>
> </div>
> <p style="font-size:0.75em;padding-left:8px;">*New pages are created in
> current space</p>
> </form>
> #panelfooter()
> #end
>
>
>
>
> On 3/13/08, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> >
> > nitin wankhede wrote:
> > > Hi All,
> > >
> > > We are building Knowledge managment system for our internal use. We
> want
> > > to give an option to user so that he/she can create new page in
> selected
> > > space based on templates. I tried modifying the Create New panel by
> > > adding drop down list of templates and existing spaces
> > > respectively, however not able to create new pages in selected space
> > > using available templates. Please reply if you know how to solve
> this.
> > >
> >
> > The panel is just an interface, the real code that creates pages is in
> > /templates/create.vm (if you're using XE 1.3) or in
> > /skins/albatross/create.vm
> >
> > --
> > Sergiu Dumitriu
> > http://purl.org/net/sergiu/
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
>