I have a few pages in my wiki, that "insist" on denying view rights from
registered users.
These pages are generated by form, using a template, following the todo app
example.
they should be created with view for all. edit rights are set by calling:
#setEditors($obj)
############ permissions ################################################
######## allowEdit #####################################################
## set rights to allow creator and contributors to edit
#macro(allowEdit $users)
#if($xwiki.checkAccess($doc.getFullName(),"edit"))
<!-- allowEdit (desObj) $doc $users -->
#set ($rights = $doc.getObject("XWiki.XWikiRights", true))
#set ($result = $rights.set("levels", "edit"))
#set ($result = $rights.set("users", $users))
#set ($result = $rights.set("allow", 1))
$doc.save()
#end
#end
########## setEditors ##################################################
## set owner, contributors, and edit rights
#########################################################################
#macro(setEditors $obj)
#set ($ownr = $obj.Owner)
#if ((!$ownr || $ownr == "" ) && !$doc.getURL.endWith("ClassSheet"))
#set ($needRefresh = true)
#set ($ownr = $doc.getCreator())
#if (!$ownr || $ownr == "")
#set ($ownr = $context.user)
#end
$doc.set("Owner",$ownr,$obj)
#end
#set ($contributors = $obj.Contributors)
##if ($context.user == $ownr)
#set($editors = $contributors+","+$ownr)
<!-- Editors: $editors -->
#allowEdit($editors)
##end
#end
## setEditors ##################################################
For some reason this doesn't always work.
Furthermore, for some pages (but not all), view rights are denied. I try to
set them right, and they revert to their problem state.
For example, in
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/VisualNar…
I set view on for all, but when I leave the page and come back, that right
has disappeared.
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Hi All,
[Nabble told me my last post didn't get sent, so reposting, apologize if it
caused a duplication]
There are few tabs for comments/attachment etc in the new layout for XE 1.6
which is great. However, can I suggest we do not show the details by default
until users click? (which like version 1.5).
The reason is that currently every page made an authentication call. When we
are using LDAP for authentication this may take 1-2 seconds. Since the
comment field is opened by default, it's another 2 seconds delay for until
the page is completely loaded. Reducing this 2 seconds means 40-50% faster
per page which is very significance.
Many Thanks
Art.
--
View this message in context: http://n2.nabble.com/Comment-field-in-XE-1.6-for-page-display-tp1328527p132…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
Does XWiki has any password policies ?. I could see that it accepts the
password even if it is a single character. Or is there any configuration
need to be provided for this ? Please help. I am using XE1.6
Regards
Syam
--
View this message in context: http://n2.nabble.com/Password-Policies-tp1459548p1459548.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I am facing a problem with user registration. An user registers by putting
all the required fields and he gets a page saying that 'Registration is
successfull'. A validation email is also been send to him. If he tries to
login without activation, XWiki logs him in and gives a message 'Your
account is not yet active, because your email has not yet been confirmed.'.
He goes back to his mail box, copies the activation link and paste it on the
same window. But the page remains the same and doesn't allow the user to
activate his account. He need to open a new browser or logout to activate
his account and login to XWiki. This looks like a bug. Any comments on this
? I am using XE 1.6.
Regards
Syam
--
View this message in context: http://n2.nabble.com/Issue-on-Registration-tp1449020p1449020.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office until 12/01/2008.
On holiday! :-)
I won't have my computer with me. If you need help with the IMCS Wiki,
please contact Micah Lau or Shawn Park. Thank you!
Note: This is an automated response to your message "users Digest, Vol 16,
Issue 64" sent on 11/27/08 6:00:04.
This is the only notification you will receive while this person is away.
Dear XWiki Users,
I have a little patch for the "docextra.vm" template which I would like
to submit to the issue tracker, but I am not sure where to post it.
The file to patch is in the SVN repository at
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk
Which category / project in jira does this part belong to?
Is this still "XWiki Core" aka XWIKI or is it one of the skins,
e.g. "XWiki Toucan Skin" aka XSTOUCAN ?
Cheers,
Clemens
Dear all,
I would like to release XEclipse soon. During the last days I've fixed
many of the outstanding bugs thanks also to the effective collaboration
of Eduard Moraru who provided a lot of patches and I think that now
XEclipse is pretty stable, usable and functional.
This release incorporates a lot of features that have been implemented
during the last months. In particular a better integration with the
Eclipse ecosystem, object editor, translation management, page history,
syntax highlighting and completion (thanks to the work done by Malaka
during the last GSoC and Venkatesh) and many other improvements.
There are still many things to do but I think that it's a priority to
have a new version out asap in order to have more feedbacks from users
and to build upon it.
Due to some previous engagements I think I will be able to release it on
Friday or during the weekend.
WDYT?
-Fabio
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 RC 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first release candidate for the 1.7 version.
Changes from 1.7M3:
* Link feature implemented in the new WYSIWYG editor (link to wiki
page, web page, email).
* Work in progress on the new experimental WYSIWYG editor.
* Work in progress on the new XWiki Syntax v2.0
* Reorganized, documented and enhanced xwiki.cfg configuration file
Important bug fixes:
* XWIKI-2873 : Wrong user name is inserted in group during LDAP
membership synchronisation
Note that general goals for XWiki Enterprise 1.7 are:
* Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
* Working JCR (can be used for day to day work instead of Hibernate).
* Blog revamping
* Webdav integration
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17RC1
Thanks
-The XWiki dev team
Hi xwiki-users,
I have a question (or more of a request) regarding the upcoming Pygments
support in XWiki 1.7. We currently use XWiki at work to keep an internal
documentation wiki for our application. We've created a few plugins which
we've used in the following fashion perfectly (XWiki 1.0 syntax):
{code:sql}
DECLARE myDate DATETIME
SELECT myDate = '$xwiki.dateParser.parseDate( "-1b", "yyyyMMdd" )' -- this
gives us the previous business date in yyyyMMdd format
...
{code}
Vincent kindly gave me a heads up regarding XWiki 1.7's Pygments support
(seems to be supported by running it under Jython - VERY exciting :-D). So,
I was wondering... Would something like the above be supported (i.e.
verbatim code, but allow velocity macros to be run inside the code block)?
If not, are there any documentation out there (other than the source code)
detailing steps to create an XWiki macro (found
http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the…
does help a bit if viewed in the code viewer), so that maybe we can
build in support for something like that? Again, thanks for the great work!
Hi,
We (University of Nancy 1, France) are leading a study about enterprise wiki
software. 4 softwares have been selected, and one of them is XWIKI of course
in the XWIKI WORKSPACES version. Our goal is to open the wiki to every
students, teachers, work group, etc ... After some tests, we have some
questions :
The version is XWS 1.1.1, not in virtual mode, with LDAP Authentication.
* Is it impossible to access to the function "WATCH THIS PAGE" in
Workspaces as found in the toolbar of the Enterprise version ?
o How can i add the toolbar (or the functions of the toolbar) of
the Enterprise version which give the
+ "WATCH THIS PAGE" function
+ and EXPORT AS ... as a normal user
o May i modify the template ?
* There is not tags in Workspaces, is there a way to activate them as in
Enterpise version ?
o Whereas i have "xwiki.tags=1" in xwiki.cfg ...
* Comments in blog or wiki are not visible through the RSS
notifications, it is possible ?
* I didn't have found tools for importing another wiki. It is possible
for example from Confluence (i know, you know ... :-) ) :
o
http://confluence.atlassian.com/display/CONFEXT/Universal+Wiki+Converter
o Possible with XWIKI ?
* I18N seem's to be : one language for all spaces
o When as admin user, i select from administration Global
Preferences
+ MULTI LINGUAL=YES
+ Languages = fr,en
+ Default Language = fr
o All spaces fall into EN language ...
o Can we have 2 workspaces in two differents languages ?
Thanks,
Stephane.
--
View this message in context: http://n2.nabble.com/General-questions-about-XWIKI-WORKSPACES-tp1581324p158…
Sent from the XWiki- Users mailing list archive at Nabble.com.