I'm trying to get to the database schema page on xwiki.org and I get a
"not allowed to view this document" error. How can I access the schema
documentation?
Thanks
Jeff
Hi all.
I had implemented the copy of rights from the document space preferences to the individual document as the user created a new document.
For example, the document space preferences have the following rights:
document name: ABC.WebPreferences
group: A_ADMIN
rights: view, comment, edit
And if the user XYZ (member of A_ADMIN group) who wants to create a new document name "Hello" in ABC space, the rights of A_ADMIN in ABC.WebPreferences should be copied
over to "Hello" document. However, after creating the document, user XYZ was unable to view the newly created document despite it has the rights. I reconfirmed that user XYZ have the
rights to view the document Hello as i login using Admin to verify. These changes are done in SaveAction.java file by appending the code as fellow:
.......
if(tdoc.isNew()) {
// copy all the rights the user is member of from the space.WebPreferences document
tdoc.createNewObject("XWiki.XWikiRights", context);
com.xpn.xwiki.objects.BaseObject bobject = tdoc.getObject("XWiki.XWikiRights", counter); // where counter will start from 0 and then ++++
bobject.setStringValue("allow", 1);
bobject.setStringValue("groups", VALUE_FROM_Space.WebPreferences);
bobject.setStringValue("levels", VALUE_FROM_Space.WebPreferences);
}
tdoc.setMetaDataDirty(true);
xwiki.saveDocument(tdoc, tdoc.getComment(), tdoc.isMinorEdit(), context);
XWikiLock lock = tdoc.getLock(context);
if(lock != null)
tdoc.removeLock(context);
FYI: I am using Oracle 10gR1 as the backend database and xwiki rev 9145
Regards,
Colin
______________________________________________________________________
Search, browse and book your hotels and flights through Yahoo! Travel.
http://sg.travel.yahoo.com
Hello All,
I am Arpit Jain, a final Year undergraduate student of Department of
Computer Science and Engineering at Indian Institute of Technology,
Kharagpur(India).
I would be working on building an online presentation module for Xwiki. This
is my second year at Google Summer of Code. Last year I worked for another
IkiWiki, an another wiki organization.
I hope to have a great time here and to develop something very useful for
the community as a whole. As already mentioned by Vincent, I would be
mentored by Jérôme Velociter.
Good luck to all the Gsocers and happy hacking :)
--
Arpit Jain
Senior Undergraduate Student
Department of Computer Science & Engineering
Indian Institute of Technology, Kharagpur, India.
Ph. : +919733567185
Alt. email: arpit AT intinno.com
Web: http://www.arpitjain.com
I'm running xwiki in RAD 6.1 and I've set up preferences to be multi
lingual, languages of es, en and default language of en. When I visit
any of the wiki pages, only En appears in the top right, not En and Es.
Is there something I'm missing about setting up the wiki as
multi-lingual?
Thanks,
Jeff
Hello devs!
As you probably noticed from Vincent's fwd, I`m in! :)
I`m really looking forward to working on the Offline project under Sergiu's coordination and I hope to get a lot of cooperation from the community to make a better solution for the people who use and need it.
My IRC nick is Enygma` (Enygma was taken :P), my YM is Enygma2002_ro and my SkypeID is Enygma2002.
Please feel free to contact me anytime.
This is going to be a cool summer of code! :)
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Hi guys,
My name is Ecaterina Valică and I am also a GSoc student. I'm gonna work with Anca Luca Paula to make XWatch the nicest thing alive :P
We are going to work on pimpin' it with style, interaction patterns and principles that are going to be implemented with GWT and YUI.
I'm from Iasi, Romania and I hope I can learn many things this summer and make new friends throught this program.
"Spor" in romanian means "enjoy your work and be very productive" (so much words in english)
You can call me Caty :)
Bye
----- Original Message ----
From: Enygma <enygma2002_ro(a)yahoo.com>
To: XWiki Developers <devs(a)xwiki.org>
Sent: Tuesday, April 22, 2008 9:26:41 PM
Subject: Re: [xwiki-devs] [ANN] Official Google Summer of Code projects
Hello devs!
As you probably noticed from Vincent's fwd, I`m in! :)
I`m really looking forward to working on the Offline project under Sergiu's coordination and I hope to get a lot of cooperation from the community to make a better solution for the people who use and need it.
My IRC nick is Enygma` (Enygma was taken :P), my YM is Enygma2002_ro and my SkypeID is Enygma2002.
Please feel free to contact me anytime.
This is going to be a cool summer of code! :)
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
The XWiki development team is pleased to announce the release of XWiki
Workspaces 1.0 RC 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the second, and hopefully last release candidate for the 1.0
version of XWiki Workspaces. This RC 2 release is based on the recent
XWiki Enterprise 1.3.2 release.
Bug we've fixed in XWS since 1.0 RC 1 :
* XWS-10 - Missing validation on workspaces creation form
* XWS-14 - Document creation lightboxes not visibles if the page is scrolled
* XWS-18 - Gallery editing page is a bit screwed up in IE6 & IE7
* XWS-40 - Lightboxes are displayed _real_ bad in IE6
* XWS-44 - Problem with the item creation popup : when we "Cancel & Close"
(the X in the upper-right corner) we are redirected to "undefined"
* XWS-45 - After a registration we should be redirected to
XWSAdmin.ManageUsers (instead of just having an empty page with the
"Registration Successfull" message)
* XWS-48 - The new workspace creation form could be a bit reskinned (on
the XWS.MySpaces page)
* XWS-51 - A user should not be allowed to delete Himself from his
Personnal Space
* XWS-52 - The Administrator (Admin / admin) should not be displayed OR
not be allowed to remove himself from the Admin list of the Organization
Space
* XWS-53 - If we have a workspace title on more than 1 line (around more
than 45-50 characters - space included) the layout is a bit broken
* XWS-57 - Problem when we create a link to a image page - parameter
'viewer=image' is missing
* XWS-67 - There is two links leading to the current user profile in the
top action bar
* XWS-68 - Workspace creation form should be under the workspace list
* XWS-71 - The "Comments" message is too big compared to page title and
other font sizes
* XWS-73 - Under IE browsers, the Admin XWiki toolbar does not work properly
* XWS-75 - Preview fails on unsaved (new) blog article
* XWS-76 - Non-admin registered users can edit but not view their profile
* XWS-78 - Layout issue in edit mode under IE6 (white banner on top +
scrolling disappearing)
For more information, see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10RC2
Regards,
The XWiki dev team
I see there are more changes than just "Upgrade version information"...
tmortagne (SVN) wrote:
> Author: tmortagne
> Date: 2008-04-17 19:08:18 +0200 (Thu, 17 Apr 2008)
> New Revision: 9225
> Modified: xwiki-platform/xwiki-applications/trunk/wiki-manager/src/main/resources/WikiManager/CreateNewWiki
> ===================================================================
> --- xwiki-platform/xwiki-applications/trunk/wiki-manager/src/main/resources/WikiManager/CreateNewWiki 2008-04-17 17:06:48 UTC (rev 9224)
> +++ xwiki-platform/xwiki-applications/trunk/wiki-manager/src/main/resources/WikiManager/CreateNewWiki 2008-04-17 17:08:18 UTC (rev 9225)
> @@ -12,9 +12,9 @@
> <customClass></customClass>
> <contentAuthor>XWiki.Admin</contentAuthor>
> <creationDate>1186676964000</creationDate>
> -<date>1204903048000</date>
> -<contentUpdateDate>1204903048000</contentUpdateDate>
> -<version>394.1</version>
> +<date>1208445240000</date>
> +<contentUpdateDate>1208445240000</contentUpdateDate>
> +<version>23.1</version>
> <title></title>
> <template></template>
> <defaultTemplate></defaultTemplate>
> @@ -189,7 +189,9 @@
> ##
> 1 $msg.get("wikimanager.createwiki")
> #if ($wstepbystep)
> + [$msg.get("wikimanager.action.createwiki.nonstepbystep")>CreateNewWiki#if($documentation)?doc=1#end]
> #else
> + [$msg.get("wikimanager.action.createwiki.stepbystep")>CreateNewWiki?stepbystep=0&#if($documentation)doc=1#end]
> #end
> ##
> #if ($action && $action == "create")
> @@ -427,9 +429,9 @@
> <dl>
> <dt><label for="wikitemplate">$msg.get("wikimanager.wikitemplate")</label></dt>
> <dd>
> - <select name="wikitemplate" id="wikitemplate">
> + #set ($listtemplate=$WikiManager.getWikiTemplateList())
> + <select #if($listtemplate.size() == 0)disabled#end name="wikitemplate" id="wikitemplate">
> <option value="">---</option>
> - #set ($listtemplate=$WikiManager.getWikiTemplateList())
> #foreach ($template in $listtemplate)
> <option value="$template.wikiName">$template.wikiName</option>
> #end
> @@ -444,9 +446,9 @@
> <dl>
> <dt><label for="wikipackage">$msg.get("wikimanager.wikipackage")</label></dt>
> <dd>
> - <select name="wikipackage" id="wikipackage">
> + #set ($listpackage=$doc.getAttachmentList())
> + <select #if($listpackage.size() == 0)disabled#end name="wikipackage" id="wikipackage">
> <option value="">---</option>
> - #set ($listpackage=$doc.getAttachmentList())
> #foreach ($package in $listpackage)
> <option value="$package.getFilename()">$package.getFilename()</option>
> #end
> @@ -534,6 +536,8 @@
> #end
> <div id="actioncreate">
> <br />
> + #if ($request.stepbystep) <input type="hidden" name="stepbystep" value="$request.stepbystep" /> #end
> + #if ($request.doc) <input type="hidden" name="doc" value="$request.doc" /> #end
> <input type="submit" name="actioncreate" value="${msg.get("create")}" onclick="return validate();" />
> </div>
> </fieldset>
> @@ -156,6 +156,9 @@
> wikimanager.prop.wiki.homepage=Home page
> wikimanager.prop.alias.server=Domain name
> wikimanager.prop.alias.homepage=Home page
> +XWiki.XWikiServerClass_visibility_public=Public
> +XWiki.XWikiServerClass_visibility_private=Private
> +XWiki.XWikiServerClass_visibility_template=Template
> ##
> # DOC
> ##
> @@ -168,7 +171,7 @@
> wikimanager.doc.createwiki.desc=Set all the properties of your wiki here. All theses properties can be changed at any time in the wiki's descriptor page.
> wikimanager.doc.createwiki.desc.wikiprettyname=The display name of the wiki.
> wikimanager.doc.createwiki.desc.description=A brief wiki description.
> -wikimanager.doc.createwiki.desc.server=The domain name used to access the wiki. The default domain name suffix is ~~{0}~~. To change it edit this wiki page and search the $DOMAINNAME in TOOLS section.<br />You can add more domains latter in the wiki's descriptor page.
> +wikimanager.doc.createwiki.desc.server=The domain name used to access the wiki. The default domain name suffix is ~~{0}~~. To change it edit this wiki page and search the \"$DOMAINNAME\" in TOOLS section.<br />You can add more domains latter in the wiki's descriptor page.
> wikimanager.doc.createwiki.desc.owner=A global user who will have all the rights on this wiki.
> wikimanager.doc.createwiki.datafrom=When creating a new wiki you obtain by default an empty wiki. You can use wiki template and/or XAR packages as content sources for the new wiki.
> wikimanager.doc.createwiki.datafrom.template=First the wiki template content will be copied in the new wiki. To add more templates in the list set property ~~Visibility~~ of the wiki "template" in its wiki descriptor page.
>
--
Sergiu Dumitriu
http://purl.org/net/sergiu/