Hi devs,
So this proposal appeared in some of my proposals but right now I created a
proper Proposal/Idea mail for it.
It's about having an 'Administer Page' section in the menus, similar to the
'Administer Wiki' and 'Administer Space' functionality.
The 'Administer Page' will be accessible to global admins, page creators
and users with (edit?/admin?) rights for the page.
>From what we currently have implemented it should contain the 'Rights
Editor' (?editor=rights) at page level.
In the future we could make 'Presentation', 'Page Elements' or 'Panel
Wizard' to be more granular and be set at Page level (have different panels
and style for just one page).
Some screenshots at
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/PageAdministration
Thanks,
Caty
Hi,
We are using mixed naming when referring to a document/page, not only on
different pages, but also in the same context (Rename step for example).
There is also an issue referring to this problem
XWIKI-5401<http://jira.xwiki.org/jira/browse/XWIKI-5401>and we need to
find an answer in order to move forward consistency.
So the question is which version we prefer: "Page" or "Document" ?
I'm voting +1 for "Page".
"Page" is more used IMO, especially in the "Space"/"Page" context.
"Page" is more general than "Document" and better fitted for a platform that
encapsulates all kind of content (not just documents).
Please cast your vote.
Thanks,
Caty
Hi,
According to the javadoc in XWikiDocument:
/**
* The last user that has changed the document's content (ie not object, attachments). The Content author is only
* changed when the document content changes. Note that Content Author is used to check programming rights on a
* document and this is the reason we need to know the last author who's modified the content since programming
* rights depend on this.
*/
private DocumentReference contentAuthorReference;
This means that objectadd or objectremove actions shouldn't change the content author as they do now.
I'm proposing that we fix this.
Do you see any issue?
Thanks
-Vincent
Hi all,
some time ago we wrote about an idea of having an extensible API for
accessing structured data.
The final goal is to have a uniform API for accessing structured data
both on the client (Javascript+REST) and on the server.
We have written a little design document that I am submitting to the
list for comments:
http://design.xwiki.org/xwiki/bin/view/Proposal/ExtensibleAPIforaccessingst…
This idea is also related to other ones, like providing a way for
dynamically extending the REST API, and also to the integration with
client side frameworks like AngularJS.
Thanks,
Fabio
Hello XWiki experts,
in Curriki, we met a bug that seems related to the wysiwyg editor's
ability to accept html.
When it does so, and is input with an image, it fails the html
conversion because of the exception below for the simple (cleaned) content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head></head><body><p>Image</p><p><!--startimage:false|-|attach|-|sunset-dark2.PNG--><img
alt="sunset-dark2.PNG"
src="http://node1.hoplahup.net/xwiki/bin/download/AssetTemp/dgW1kVv9l2mE9xqA/sun…"></img><!--stopimage--></p></body></html>
Yielding the exception:
Caused by: java.lang.NullPointerException: null
at
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.getContext(DefaultDocumentAccessBridge.java:85)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.getAttachmentURL(DefaultDocumentAccessBridge.java:847)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
org.xwiki.rendering.internal.wiki.XWikiWikiModel.getLinkURL(XWikiWikiModel.java:137)
~[xwiki-platform-rendering-xwiki-3.5.1.jar:na]
at
org.xwiki.rendering.internal.wiki.XWikiWikiModel.getImageURL(XWikiWikiModel.java:153)
~[xwiki-platform-rendering-xwiki-3.5.1.jar:na]
at
org.xwiki.rendering.internal.renderer.xhtml.image.DefaultXHTMLImageRenderer.onImage(DefaultXHTMLImageRenderer.java:120)
~[xwiki-rendering-syntax-xhtml-3.5.1.jar:na]
at
org.xwiki.rendering.internal.renderer.xhtml.XHTMLChainingRenderer.onImage(XHTMLChainingRenderer.java:545)
~[xwiki-rendering-syntax-xhtml-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.AbstractChainingListener.onImage(AbstractChainingListener.java:454)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.AbstractChainingListener.onImage(AbstractChainingListener.java:454)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.EmptyBlockChainingListener.onImage(EmptyBlockChainingListener.java:600)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.AbstractChainingListener.onImage(AbstractChainingListener.java:454)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.BlockStateChainingListener.onImage(BlockStateChainingListener.java:796)
~[xwiki-rendering-api-3.5.1.jar:na]
I am not too sure how to debug that.
Clues would be welcome.
thanks in advance.
Paul
Hi,I installed xwiki-enterprise-web-6.4.2.war on tomcat 7. I followed the installation instruction mentioned http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat. But I got following error on main page (http://localhost:8080/xwiki/bin/view/Main/)
org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [action] in context with path [/xwiki] threw exceptionjava.lang.NullPointerException at com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:699) at com.xpn.xwiki.web.Utils.getComponent(Utils.java:756) at com.xpn.xwiki.web.Utils.getComponent(Utils.java:723) at com.xpn.xwiki.web.XWikiRequestProcessor.processPath(XWikiRequestProcessor.java:47) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:154) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHea at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(Sav at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(Set at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCh at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:50 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.jav at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtoco at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:863)
Please help me.Thanks,Glen
Hi devs,
In XWiki, if you send a POST request at the following URL
('MySpace.MyPage' is a document that doesn't exist at the moment)
/bin/save/MySpace/MyPage
with the following HTTP parameters:
* template=MySpace.MyTemplate
* XWiki.XWikiRights_0_users=XWiki.Me
* <others parameters>
with 'MySpace.MyTemplate' a template document and 'XWiki.Me' a user of
the wiki.
2 cases:
1. If 'MySpace.MyTemplate' contains a 'XWiki.XWikiRights' object, then
the resulting document 'MySpace.MyPage' will have this object with its
property 'users' initialize with the value 'XWiki.Me' (see HTTP
parameters)
2. If 'MySpace.MyTemplate' does not contain a 'XWiki.XWikiRights'
object, the resulting document 'MySpace.MyPage' will not contain it
either
### PROPOSAL
Create automatically the objects if they don't exist in the template
document.
###
To make it possible, it seems that we would need to refactor the method
'readObjectsFromForm(EditForm, XWikiContext)' in the
'com.xpn.xwiki.doc.XWikiDocument' class. And probably modify also the
'getObject(String)' from 'com.xpn.xwiki.web.EditForm' class.
2 things to take care:
* It seems there is no unit test for these methods.
* May this proposal be a security problem?
WDYT?
--
Jean
The XWiki development team is proud to announce the availability of XWiki
7.0.
This is the first release of the 7.x cycle. It features many improvements
for extensions, a simplified Wiki Creation Wizard, improved differences
view, integration of a new Tree Widget with the WYSIWYG editor and Index
Application, etc.
Regarding extensions, we now have the ability to organize and filter
extensions by category in the Extension Repository, the install date and
the user that performed the install are now available in the extension
details, the extensions that were installed explicitly are now displayed
distinctly, etc.
We improved the difference views for document history and extension upgrade
process, by showing a difference summary between the two versions, detailed
changes to objects definitions, etc.
Developers may enjoy a new application to edit wiki Skins, a new Finder
Plugin for the Tree Widget and API improvements to the Mail Sender and
Extension Manager modules.
The Watchlist module has a new component based implementation and also
there is an experimental Realtime Watchlist Notification feature.
XWiki also moved to Servlet 3.0.1 which means various old application
servers versions are not supported anymore and the old Lucene search module
was finally retired to Contrib.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70
Thanks
-The XWiki dev team
I checked out the various projects for xwiki (-commons, -rendering,
-platform, and -enterprise) from github yesterday, and have successfully
built all but enterprise project, which fails on the build step for the
windows installer. The error printed alludes to needing a valid JRE, but
according to my java version information, my jre should be fine.
I'm using ubuntu 12.04 LTS, and have tried with and without the unix
profile flag (-Punix) as specified on
http://dev.xwiki.org/xwiki/bin/view/Community/Building (either way gives
the same behavior).
Any thoughts on how to fix this?
- Peter
$ java -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
$ mvn -v
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-46-generic", arch: "amd64", family:
"unix"
$ mvn clean install -DskipTests=true
....
[INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @
xwiki-enterprise-installer-windows ---
[INFO] Configured Artifact: launch4j:launch4j:linux:3.0.2:zip
[INFO] Unpacking
/home/likewise-open/ANT/nixpeter/.m2/repository/launch4j/launch4j/3.0.2/launch4j-3.0.2-linux.zip
to
/home/likewise-open/ANT/nixpeter/Projects/xwiki/xwiki-enterprise/xwiki-enterprise-installers/xwiki-enterprise-installer-windows/target/dependency
with includes "" and excludes ""
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (run-launch4j) @
xwiki-enterprise-installer-windows ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks
main:
Compiling resources
Generated resource file...
LANGUAGE 0, 1
2 RCDATA BEGIN "1.7.0\0" END
18 RCDATA BEGIN "1\0" END
1 ICON DISCARDABLE
"~/Projects/xwiki/xwiki-enterprise/xwiki-enterprise-installers/xwiki-enterprise-installer-windows/target/classes/xe.ico"
10 RCDATA BEGIN "XWiki Windows Installer\0" END
21 RCDATA BEGIN "http://java.com/download\0" END
20 RCDATA BEGIN "32\0" END
9 RCDATA BEGIN "true\0" END
101 RCDATA BEGIN "An error occurred while starting the application.\0" END
102 RCDATA BEGIN "This application was configured to use a bundled Java
Runtime Environment but the runtime is missing or corrupted.\0" END
103 RCDATA BEGIN "This application requires a Java Runtime Environment\0"
END
104 RCDATA BEGIN "The registry refers to a nonexistent Java Runtime
Environment installation or the runtime is corrupted.\0" END
17 RCDATA BEGIN "true\0" END
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] XWiki Enterprise - Parent POM ..................... SUCCESS [2.484s]
[INFO] XWiki Enterprise - Distribution Archetype ......... SUCCESS [0.911s]
[INFO] XWiki Enterprise - UI ............................. SUCCESS [0.081s]
[INFO] XWiki Enterprise - UI - Admin User ................ SUCCESS [1.013s]
[INFO] XWiki Enterprise - UI - Main wiki preferences ..... SUCCESS [0.193s]
[INFO] XWiki Enterprise - UI - Common .................... SUCCESS
[3:07.873s]
[INFO] XWiki Enterprise - UI - Wiki ...................... SUCCESS [14.006s]
[INFO] XWiki Enterprise - Distribution - Parent POM ...... SUCCESS [0.063s]
[INFO] XWiki Enterprise - UI - Wiki All .................. SUCCESS [8.231s]
[INFO] XWiki Enterprise - UI - Main wiki ................. SUCCESS [19.991s]
[INFO] XWiki Enterprise - Data - Parent POM .............. SUCCESS [2.157s]
[INFO] XWiki Enterprise - Data - HSQLDB .................. SUCCESS
[2:44.054s]
[INFO] XWiki Enterprise - UI - Main Wiki All ............. SUCCESS [8.391s]
[INFO] XWiki Enterprise - Web ............................ SUCCESS
[1:55.462s]
[INFO] XWiki Enterprise - Distribution - Jetty ........... SUCCESS [2.178s]
[INFO] XWiki Enterprise - Distribution - Jetty - HSQLDB .. SUCCESS [16.062s]
[INFO] XWiki Enterprise - Installers - Parent POM ........ SUCCESS [0.028s]
[INFO] XWiki Enterprise - Installers - Generic ........... SUCCESS [31.620s]
[INFO] XWiki Enterprise - Installers - Windows ........... FAILURE [0.713s]
[INFO] XWiki Enterprise - Installer - Debian ............. SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Common .... SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - MySQL - Common SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Postgres SQL - Common
SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Tomcat .... SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Tomcat - Common SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Tomcat 7 - MySQL SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Tomcat 7 - Postgres SQL
SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Tomcat 8 - MySQL SKIPPED
[INFO] XWiki Enterprise - Installer - Debian - Tomcat 8 - Postgres SQL
SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9:40.418s
[INFO] Finished at: Wed Mar 25 15:10:01 PDT 2015
[INFO] Final Memory: 123M/983M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (run-launch4j) on
project xwiki-enterprise-installer-windows: An Ant BuildException has
occured: net.sf.launch4j.BuilderException: net.sf.launch4j.ExecException:
java.io.IOException: Cannot run program
"/home/likewise-open/ANT/nixpeter/Projects/xwiki/xwiki-enterprise/xwiki-enterprise-installers/xwiki-enterprise-installer-windows/target/dependency/bin/windres":
error=2, No such file or directory
[ERROR] around Ant part ...<launch4j
configFile="/home/likewise-open/ANT/nixpeter/Projects/xwiki/xwiki-enterprise/xwiki-enterprise-installers/xwiki-enterprise-installer-windows/target/classes/launch4j.xml"/>...
@ 6:183 in
/home/likewise-open/ANT/nixpeter/Projects/xwiki/xwiki-enterprise/xwiki-enterprise-installers/xwiki-enterprise-installer-windows/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :xwiki-enterprise-installer-windows