The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.5 final.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release spanned a bit more than 2 months starting on the 16th of
May 2008 and ending on the 23th of July 2008. During that period we
implemented 166 issues, fixing 91 bugs and adding new features such
as:
* Brand new Administration Application (see http://tinyurl.com/4qym7w)
* The copy page feature is now available from the top menu (Actions > Copy)
* An administrator can modify a user profile or password when
visiting a user profile page
* A message advising to install xwiki-enterprise-wiki is displayed in
the importer when the wiki is empty
* Universal Edit button support (see http://universaleditbutton.org/)
* Lot of improvements in the LDAP authenticator
* New Croatian translation
* New Czech translation
* Updated French translation
* Updated Spanish translation
* Updated German translation
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15
Thanks
-The XWiki dev team
Hi,
I think I found a bug in MyFormAuthenticator. In line 147 remember me is set
to "false" if it is not checked on the login page:
rememberme = (rememberme == null) ? "false" : rememberme;
But the method processLogin() expects it to be NULL if the user doesn't want
to use the remember feature (line 178-187):
if (this.persistentLoginManager != null) {
// did the user request that their login be persistent?
if (rememberme != null) {
// remember login
this.persistentLoginManager.rememberLogin(request,
response, username, password);
} else {
// forget login
this.persistentLoginManager.forgetLogin(request,
response);
}
}
The problem is that if I fix this bug by removing line 147 the login process
doesn't work anymore! I discovered this while I was implementing OpenID
authentication support. I tried to debug it now two days but I didn't
succed. The same problem occurs with my OpenID implementation. I'm need to
tell XWiki that user xy was logged in and tried to do that by setting the
user principal in the request object
request.setUserPrincipal(principal);
but it doesn't work. Is there some documentation about securityfilter
available somewhere? I looked on securityfilter.sourceforge.net and googled
for it but I didn't found anything.
My next question is how I can add a "openid_identifier" property to the
XWikiUsers class as a "XClass" as proposed by Sergiu:
> I wouldn't add a new property to the XWikiUsers class; this leads to very
> thick classes, like
> XWikiPreferences, with properties used only in specific cases. I'd rather
> add a new XClass, for
> example XWiki.OpenIdAccount, and user profiles will have this kind of
> objects attached.
I didn't found any information on that. How is that done? How can I then
search for the user with a specific OpenID identifier?
Thank you very much,
Markus
I've tested the current version of the webdav prototype with the changes
from today (r313).
I've been able to navigate the webdav directories with DAVExplorer, Mac
Folders, Windows XP Web Folders. I was able to view content with all of
these webdav clients. Windows XP opened everything in Internet Explorer
(wiki.txt and images).
With DavExplorer I was able to get wiki.txt on my mac desktop, modify it
and publish it again.
With Mac Folders I was able to directly open wiki.txt in my desktop
application. But I was not able to save it back (I get a first message
saying it has been modified on the server to which I say "ok save
anyway" and then I get an error. I did a drag and drop of a modified
wiki.txt which gave no error but did not modify the document.
With Windows XP I was not able to open wiki.txt from notepad. I got an
error when choosing the wiki.txt file. I was not able to drag and drop a
modified wiki.txt either.
Compatibility is going to be the number 1 problem !
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hi,
Can anyone please tell me on how i can display selected panels for selected
space.
For example
Space Name Right Panel Left Panel
MySpace 1 Panel.panela, Panel.panelb Panel.panelc,
Panel.paneld
MySpace 2 Panel.panelb
Panel.panela, Panel.paneld
Can i change the preference for each space created?
Or do i have to write any velocity script and java code to do that. If so
can anyone provide me with a sample code.
Thanks
--
View this message in context: http://n2.nabble.com/Add-a-panel-for-particular-space-tp579239p579239.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi devs,
As it has been already mentioned a couple of times, I strongly believe
that XWiki Watch should be accessible in a sandbox on xwiki.org, for
everyone to try it out and explore its features and for us to get an
open real-life test of it.
There is a document dedicated to the issues that might prevent this at
http://watch.xwiki.org/xwiki/bin/view/Development/XWatchOnXWikiOrg ,
please fill it in with any opinions you have!
Here's my +1 for having an installation of XWatch publicly available on
xwiki.org, WDYT?
Happy coding,
Anca
Hi XWikiers,
XE 1.5 Final version was supposed to be released today but we've
encountered some issues that must be fixed before final :
1) XWIKI-2564 : With the new AdminUI only the users with the admin
right on Panels can use the PanelWizard (Evelina is working on this)
2) We are currently testing XE 1.5RC1 on myxwiki.org and we suffer
from regular crashes, we are investigating on this.
Proposed dates:
* XE 1.5RC2 - july 18
* XE 1.5 final - promotion of XE 1.5RC2 as final on july 23.
Here's my +1.
Thanks,
JV.
Hi devs,
I've just committed a change that touches lots of files.
"
XWIKI-2464: Align Section title levels with corresponding HTML H
elements and remove the class attribute for section titles
XE-278: Remove "heading-1*" class attribute for sections
XPWATCHLIST-30: Remove "heading-1*" class attribute for sections
XSALBATROSS-33: Align Section title levels with corresponding HTML H
elements and remove the class attribute for section titles
XSDODO-2: Align Section title levels with corresponding HTML H
elements and remove the class attribute for section titles
XSFINCH-8: Align Section title levels with corresponding HTML H
elements and remove the class attribute for section titles
XSTOUCAN-42: Align Section title levels with corresponding HTML H
elements and remove the class attribute for section titles
XWIKI-2568: Continue implementing the new Rendering Architecture
* Added support for ID generation for section titles
* Some small refactorings
"
This means that:
* Section title level 1 now generate a h1 and not a h2, etc.
* There's no longer any class="heading-*" attribute
Consequence:
* You need to verify your apps and if you have templates or XWiki
pages that were explicitely using H elements, you need to modify them
accordingly. If you want to have the same style as section title
you'll also need to include a nested <span> element inside the <h*>
element.
I've modified XE but I haven't touched Curriki, XWS and Watch.
Note that this was required to have a clean new rendering behavior.
Thanks and sorry for the inconvenience.
-Vincent
Hello devs,
This is a small wondering I am having while reviewing selenium tests for
XWiki Watch. Quoting my last remark on XWATCH-182 :
I am still not sure whether or not tests that needs Internet connectivity
are acceptable (such as the tests that add feeds from distant sources as
Google Blog Search, etc.) I tend to think it is acceptable, as the only
case one would try to run the tests offline, he would have to do it
explicitly (with mvn -o), and thus would understand that a test method
with a name like "testAddRSSFeedFromGoogleBlogSearch" could indeed fail.
WDYT ?
Regards,
Jerome
Hi,
I'd like to modify our rendering for section titles and use matching H
tags. For example for "1.1" I'd like to use h2 and not h3 and h1 for
"1".
The main reason for this need (beyond it being more logical) is in the
new rendering. The XHTML parser I use (the one in wikimodel) will
automatically transform h2 into a level 2 section title.
In addition I'd like the HTML class element to be heading-X (e.g.
heading-1, heading-2, etc) instead of heading-1, heading-1-1,
heading-1-1-1, etc.
I have 2 options here:
1) modify the current code to generate the <h> tag and the matching
heading-X class attribute
2) only add new css definitions for heading-X class attributes (and
thus keep the old heading-1-1-1 ones too)
Option 2) is much simpler since option 1 involves modifying our
wysiwyg editor code too (and I don't know it at all).
WDYT?
Thanks
-Vincent
Hi everybody!
I have a question using these macros
{table}
category|sales
money |4
job|4
{table}
{chart:source=type:table;range:A1-B4|type=pie|title=pie in the sky}
{table}
Category | Sales ($)
Category 1 | 1000000
Category 2 | 500000
Category 3 | 500000
Total | = sum(B2:B4)
{table}
{chart:source=type:table;range:A1-B4|type=pie|title=pie in the sky}
I get two charts but they are the same. I can only builds charts relative
too:
{table}
category|sales
money |4
job|4
{table}
any help?
--
View this message in context: http://n2.nabble.com/Charts-and-Tables-tp576594p576594.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi everyone,
For your information, I started coding a "Texifier", i.e. a tool that
converts XWiki pages into a Tex file:
http://playground.xwiki.org/xwiki/bin/view/Main/Texifier
It relies on WikiModel and was written mainly for generating PDF from
XWiki pages using the power of pdflatex.
Comments welcome!
Cheers
Stéphane
Hi guys,
I recently found this blog: http://linuxhaters.blogspot.com/
Although he (OS X user) rants in a pretty heavy way, I found it entertaining
and to a certain degree he has some good points (note: I'm a Linux
supporter, though, dualboot guy).
Cheers,
Squirrel
Hi,
The new XWatch User Interface Proposal is available at:
http://watch.xwiki.org/xwiki/bin/view/Design/NewUIProposal
I'd be glad to get some feedback either on the list or in comments right on
the page.
I would also like to thank Anca, Guillaume and Eduard for their feedback and
help given so far :)
Thanks,
Ecaterina Valica
Hi XWikians,
I have trouble looking at the Syntax Page at
http://platform.xwiki.org/xwiki/bin/viewrev/Main/XWikiSyntax :
Exception:
> Error number 4001 in 4: Error while parsing velocity page Main.XWikiSyntax
> Wrapped Exception: Failed to evaluate content with id XWiki Syntax
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.XWikiSyntax
> Wrapped Exception: Failed to evaluate content with id XWiki Syntax
> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
> at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140)
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423)
> at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)
> at sun.reflect.GeneratedMethodAccessor2346.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
> at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145)
> at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117)
> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226)
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1504)
> at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:608)
> at sun.reflect.GeneratedMethodAccessor2285.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> ......
nice Greetings
Jonas
Hi Artem,
On Jul 21, 2008, at 12:32 AM, amelentev (SVN) wrote:
> Author: amelentev
> Date: 2008-07-21 00:32:54 +0200 (Mon, 21 Jul 2008)
> New Revision: 11388
>
> Modified:
> xwiki-platform/core/trunk/xwiki-core/pom.xml
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/XWikiCacheStore.java
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/XWikiHibernateStore.java
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/XWikiStoreInterface.java
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/jcr/XWikiJcrStore.java
> xwiki-platform/core/trunk/xwiki-core/src/main/resources/META-INF/
> plexus/components.xml
> Log:
> XWIKI-2444: QueryManager in Store
>
> Add QueryManager to main store interface
If I understand correctly the query manager is going to be the new way
to perform queries and it'll replace methods from the *Store classes,
correct?
If this is true I think you should add more javadoc in
#getQueryManager to explain what is the query manager, when it should
be used rather than the other methods of the *Store.
Thanks
-Vincent
Hi
How can i check if a space exists or not ?
I try :
if(context.getWiki().exists(MySpaceName, context)){
(...)
}
but don`t work.
Any ideas ?
Regards,
Bruno Amaro Almeida
Hi
Regarding permissions when creating a new space :
//add the rights for the group
XWikiDocument spaceDoc =
context.getWiki().getDocument(newspace.getSpaceName()+ "." +
"WebPreferences", context);
BaseObject rightsObject =
spaceDoc.getObject("XWiki.XWikiGlobalRights", false, context);
rightsObject.setLargeStringValue("groups",
"XWiki.".concat(MyGroupName));
rightsObject.setStringValue("levels", "view,comment,edit");
rightsObject.setLargeStringValue("users", "");
rightsObject.setIntValue("allow", 1);
spaceDoc.setMetaDataDirty(true);
context.getWiki().saveDocument(spaceDoc,
context.getMessageTool().get("core.comment.createdUser"), context);
context.getWiki().getGroupService(context).flushCache();
context.getWiki().flushCache();
//add the rights for the admin
spaceDoc =
context.getWiki().getDocument(newspace.getSpaceName()+ "." +
"WebPreferences", context);
rightsObject =
spaceDoc.getObject("XWiki.XWikiGlobalRights", false, context);
rightsObject.setLargeStringValue("groups", "");
rightsObject.setStringValue("levels",
"view,comment,edit,delete,admin");
rightsObject.setLargeStringValue("users",
"XWiki.".concat(MyuserName));
rightsObject.setIntValue("allow", 1);
spaceDoc.setMetaDataDirty(true);
context.getWiki().saveDocument(spaceDoc,
context.getMessageTool().get("core.comment.createdUser"), context);
Only the second part works, the first part is overwrited by the second, so,
how can i set one level(s) for a group and another level(s) for a user ?
Thanks !