Hi,
I want add to RSS feed text from each post of my Blog. But I don't know how
to insert all text. In RSS feed I see only description and no all text of my
blog post. I check Main.WebRss but I don't see how to show all text in RSS
feed. How to show all text from post in RSS feed ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Text-from-Blog-in-RSS-feed-tp7598685.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Folks,
i really like the nested feature. I am writting a book and tried different
approaches. From my point of view i like the software Scrivener
(https://www.literatureandlatte.com/), but this has the problem that the
versioning and multiuser-editing is not possible. Also i used
https://titanpad.com/. This has great multiuser-function but a bad
content-editor and no image-usage.
So i tried xwiki with the new nested feature and my citations-extension. Now
i have all i need which is really great. If i could ask for an additional
feature then i like a change highlightning from different users, so a
collaborative writting is possible (like in titanpad). Now i have over 300
pages as book with a great layout, pictures and citations in one system and
can also get a PDF and so on. Thank you ...
But i thing the nested thing is real worth to get to 8.x.
PS: The redicrect-flag by renaming a page causes a lot of trouble to me
because i not recognize it first. Could it be deselected by default?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/GREAT-Nested-Feature-tp7598676.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I had a question regarding resource calls in XWiki. Currently, they are
being made to my local environment and I would like to know if there is any
simple way to modify the calls to fetch the resources from a CDN. I was
able to replicate my desired functionality by extending the
AbstractSkinExtensionPlugin and its API class; however, to fully implement
the changes would require overriding all the classes for jsfx, jsx, jsrx,
ssx, etc. Is there any simpler way to do this?
To clarify, I'd like to change the url being hit by the script tag from '
https://mywebsite/resources/js/file.js' to '
https://cdnwebsite/mywebsite/resources/js/file.js'.
Thank you!
Best,
Andrew
Restored back to 7.4.2 (files and database). Not sure how to proceed. Can't upgrade with resolving this issue.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:52 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkInstalledExtension(AbstractInstallPlanJob.java:877)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:769)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:43 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
When I attempt to upgrade back to 8.0, I get the Distribution Wizard and that attempts to upgrade and then fails:
Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
class org.xwiki.extension.InstallException: Failed to resolve extension
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:690)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Failed to create an install plan for extension dependency [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:607)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: class org.xwiki.extension.InstallException: Extension [org.xwiki.platform:xwiki-platform-distribution-flavor-8.0] is already installed on namespace [wiki:xwiki]
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkInstalledExtension(AbstractInstallPlanJob.java:877)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:769)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:605)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:574)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:831)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:688)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:339)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:297)
at org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:231)
at org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:43 PM
To: 'XWiki Users'
Subject: RE: Upgrade To 8.0 - Permissions / Admin Pages Problem
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
Downgraded to 7.4.2, that seemed to work fine but only user that has Edit right is still only Admin and no ability to access administer pages.
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 4:12 PM
To: XWiki Users
Subject: Upgrade To 8.0 - Permissions / Admin Pages Problem
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
After the upgrade (from 7.4.2), I got the Distribution Wizard, but it seemed to stop at one point and gave me 2 options: Later & Never. I have no idea why. I hit Later, then restarted, did not get the wizard again. We are able to login, but the only user that can Edit is the "Admin" account, and no account has links (access) to the "admin" pages.
I'm not sure what to do to fix this problem.
25-Mar-2016 11:00:14.478 INFO [Core extension repository updater] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1327)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1313)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:330)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:213)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.java:209)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository.java:134)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 11:12 AM
To: XWiki Users
Subject: 7.4.2 To 8.0 Failure
I followed our exact process in this upgrade that we have done with all previous versions and now we are getting this error. Any pointers as to what changed that could cause this?
HTTP Status 404 - /xwiki
type Status report
message /xwiki
description The requested resource is not available.
________________________________
Apache Tomcat/8.0.23
25-Mar-2016 11:26:48.480 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
25-Mar-2016 11:26:48.480 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/xwiki] startup failed due to previous errors
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 11:17 AM
To: 'XWiki Users'
Subject: RE: 7.4.2 To 8.0 Failure
25-Mar-2016 11:00:14.478 INFO [Core extension repository updater] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1327)
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1313)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1196)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:330)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:213)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.java:209)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository.java:134)
at java.lang.Thread.run(Unknown Source)
Keith Davis (214) 906-5183
From: Keith Davis
Sent: Friday, March 25, 2016 11:12 AM
To: XWiki Users
Subject: 7.4.2 To 8.0 Failure
I followed our exact process in this upgrade that we have done with all previous versions and now we are getting this error. Any pointers as to what changed that could cause this?
HTTP Status 404 - /xwiki
type Status report
message /xwiki
description The requested resource is not available.
________________________________
Apache Tomcat/8.0.23
I followed our exact process in this upgrade that we have done with all previous versions and now we are getting this error. Any pointers as to what changed that could cause this?
HTTP Status 404 - /xwiki
type Status report
message /xwiki
description The requested resource is not available.
________________________________
Apache Tomcat/8.0.23
I am creating a knowledge base for a local municipal code which follows a typical book hierarchy. I plan on using nested pages to create a pages hierarchy for navigating and searching the code text at different levels. For example each end page would have a space path like so:
Title 19.Part 2.Chapter 4.Section 100
Title 19.Part 2.Chapter 4.Section 200
etc.
Currently I am using a Velocity macro to create links to each child page and at the chapter level I also start including the child pages. I then follow the links to make the child pages. This works relatively well but has a couple of disadvantages. 1) It is slow to create each page by repeatedly following the links, selecting the template and pasting the next tier of code. 2) It hardcodes the child page names which if changed (say due to a typo) must be updated by hand each time.
I am wondering if there is a more efficient way that I can automate the page and link creation process. Ideally I would have a way to create the complete page hierarchy by providing the names and levels of each page with the same code in each page providing a link to each child of that page. Then I could paste the content text into each page at the end of the branch. I have done something similar to this using Jeykell but that is much simpler as it is static content based on the file structure. If I am going about this all the wrong way I am open to other suggestions.
Regards,
Jesse
To all XWiki users,
If you’re upgrading from a version of XWiki < 7.2 and moving to a version > 7.2 (don’t use 7.2 or 7.3, you should use 7.4.2), then you should read this page:
http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization
It explains the concept of Nested Pages and explains how to migrate your content.
Hope it helps,
Thanks
-Vincent
Does XWiki support markdown syntax?
This commit-history link makes it seem so:
https://github.com/xwiki/xwiki-rendering/pull/1. But I don’t remember
reading about markdown syntax on the XWiki Syntax guide.
Thanks,
Chetan
Hi Users,
i made a custom xar-file because i want to import some content into XWiki
8.0. But it seems to stuck. i can upload the file but it is never imported.
The request.log show only
127.0.0.1 - - [20/Mrz/2016:20:51:39 +0000] "POST
/xwiki/bin/upload/XWiki/XWikiPreferences HTTP/1.1" 302 -
127.0.0.1 - - [20/Mrz/2016:20:51:40 +0000] "GET
/xwiki/bin/get/XWiki/XWikiPreferences?xpage=packagelist&forceTestRights=1
HTTP/1.1" 200 946
127.0.0.1 - - [20/Mrz/2016:20:51:41 +0000] "POST
/xwiki/bin/get/XWiki/XWikiPreferences?xpage=packagedescriptor&package=B.xar
HTTP/1.1" 200 133
so i have no clue whats wrong. My created xml-files seem correct. Can i send
you an example, so you can test why it is not working? I have no idea.
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/XAR-Import-tp7598556.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks!
----------------------------------------------------------------------
Date: Tue, 22 Mar 2016 12:33:25 +0100
From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Selenium Application: On LGPL 2.1?
Message-ID:
<CAPnKnLHCtW8snPLCAH_+_+2B-UTkHVh3S9hdFNq4efrYUhQS3w(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
It was actually a mistake, it's fixed now
On Tue, Mar 22, 2016 at 1:02 AM, Peredo, Francisco <fperedo(a)amazon.com> wrote:
> Hi Xwiki team!
>
>
>
> Would it be possible to also offer this http://extensions.xwiki.org/xwiki/bin/view/Extension/Selenium+Application as LGPL 2.1 (the same as the rest of Xwiki) ?
>
>
>
> Thanks
>
> Regards,
>
> Francisco
>
_______________________________________________
ClassHealthDimensions
Class properties
-key (key: String)
-parent (parent: Database List)
-title (title: Computed Field)
-description (description: Computed Field)
Parent attribute specified as Database List
XWiki Class Name: WaihonaCode.classHealthDimensions (where WaihonaCode is the space where class is defined)
Id Field Name: key
Value Field Name: title
I would like to create a tree of objects with a few objects having no parent (top-level)
The other objects should have one parent referencing a object of the same class
But when creating a object the database list remains empty?
What am I missing?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
I thought I remember seeing the option to require a user to change their password at the next login using the 8.0 Milestone 1 but I am running the latest 8.0 and I don't see it. Am I imagining this?
Regards,
Jesse
Hi extension authors,
Since we have a new LTS branch I just released a 7.4 based version of
a pom you can use as parent for you extensions.
See https://github.com/xwiki-contrib/parent for more details.
The current versions are:
* 6.4-1
* 7.4
--
Thomas Mortagne
I thought I would give updating to Xwiki 8.0 a go tonight but ran into an error. I just updated to 7.4.2 the other day so I wasn’t expecting an issue but when I run:
sudo apt-get update
I get the following error at the end of the update:
...
Get:46 http://security.ubuntu.com trusty-security/universe Translation-en [73.8 kB]
Ign http://maven.xwiki.org stable/ Translation-en_US
Ign http://maven.xwiki.org stable/ Translation-en
Fetched 5,290 kB in 3s (1,626 kB/s)
Reading package lists... Error!
E: Problem parsing dependency Conflicts
E: Error occurred while processing xwiki-mysql-common (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/maven.xwiki.org_stable_Packages
E: The package lists or status file could not be parsed or opened.
I tried deleting all the files from /var/lib/apt/lists/ as suggested in some askubunu post but the error continues.
I don’t know that this error actually has anything to do with the recent update but it is stopping me from updating. Any help is appreciated. Thanks!
Regards,
Jesse
Hello all,
I have a question about these case:
http://lists.xwiki.org/pipermail/users/2014-July/028689.html
i would love to implement exactly the same our wiki ( we are using some
forms where employees put in simple data like wo they called over the day).
I created an app with app within minutes, everything is working fine,
but i would also like to skip the name dialog in App Within Minutes and
replace it with an auto generated random number, so the user should be
directly in the edit URL.
I think the best advise came from Ludovic, but my scripting knowledge is
not as good to understand the advise from him directly,
so can someone give me a little further explanation of how to script my
own Burton using the document api and than
redirection the user to the edit URL.
I would be very grateful for an advice what helps me to accomplish these
goal.
Thanks
Felix
description:
I would like to use XWiki for personal use, especially as a
knowledge base that I build up across multiple computing devices.
owner name:
JasonTiller
wiki name:
bells-n-bytes
Thank you for your time,
---Jason
I'm trying to set up a XWiki site using container (tomcat)
authentication. The authentication pat is working fine, but I'm having
any issue when initialising the site for the first time.
Normally (without authentication) xwiki spots that the wiki doesn't
exist, and creates it (presumably using some magical user it creates).
But when I have authentication the initial wiki creation step does not
happen and you go straight to a "page can't be found" message, even if
the authenticated use is part of the XWikiAdminGroup.
Is there any solution to this, or must the wiki be created before any
authentication is put in place?
Thanks
Tim
Hi
For my XWiki deployment, I need the search results to be customized. I
would like to move the contents of the search results page under source
control, so that I can use our continuous deployment system.
What is the best way to do this?
I've tried to move the search result page (and its macros) to a skin file
and include a #template(filename) link in the wiki page — but I have a
feeling this may not be a good way to do it.
I've noticed some files under webapps/resources/uicomponents/ — can I add
my files there? If I did, how do I let the UI know that it should read a
particular file?
If there is some XWiki documentation around this, could you point me to it
please? I was not able to find anything around that.
Thanks in advance
Debajit
Ubuntu 14.0.4 xwiki repo install
kept original xwiki.cf and /etc/xwiki/hibernate.cfg.xml then manually
edited to add newness then restarted tomcat
distribution wizard ran and completed, changed xwikiadmin users, but
logged on as superadmin to resolve
however, now "Pages" fails to display
looks like
http://pasteboard.co/2kA88wLR.png
Cheers
I have been looking around for this but coming up blank. Can anyone point me in the right direction as to how you change the default text styles? I am just looking to tweak the header and body font sizes and font family across the entire wiki. I don’t want to change the text for other elements like the drawer, buttons, panels etc.
Thanks for any information that you can provide.
regards,
Jesse
The XWiki development team is proud to announce the availability of XWiki 8.0.
This is the first release of the 8.x cycle. This version introduces a
new experimental minimal XWiki distribution and a new Distribution
Wizard step to create the first user with administration right instead
of importing the Admin user. It also adds many improvements related to
nested spaces on copy and rename features, location picker, link
syntax. Various new option have been added to the chart macro and as
usual you will find many more improvements in the detailed release
note.
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/ReleaseNotesXWiki80
The following people have contributed code to this release (sorted
alphabetically):
acotiuga
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Manuel Smeria
Marius Dumitru Florea
Sergiu Dumitriu
Thomas Mortagne
vasquez
Vincent Massol
Thanks for your support
-The XWiki dev team
I have 2 pages that are new created (one is nested in the other) that are showing up in the Orphaned Pages panel, but they are not orphaned AFAIK. I have a link to the first one, Windows 10, on the Home page. What is the criteria for being "orphaned"?
Keith Davis - MCSA, ZCE
P.R.I.D.E. - I.T. Director / Senior Developer
www.pridedallas.com<http://www.pridedallas.com/>
Mobile (214) 906-5183
Hi
Is there a dsl or another possibility to create Xwiki applications that can
be done using an existing IDE, such as Eclipse or IntelliJ?
I am working on a model driven application, meaning we use a lot of Ecore
and UML to generate artifacts, and it would be good if we can generate XWiki
applications too.
Thanks and regards
--
View this message in context: http://xwiki.475771.n2.nabble.com/DSL-or-other-external-way-to-create-Xwiki…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
We want to use search's voice in xwiki.
Is it possible to integrate voice search in xwiki ? (for example, Google
Speech or MS Speech or etc).
--
View this message in context: http://xwiki.475771.n2.nabble.com/Voice-Search-tp7598454.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki 6.4.8.
This is the last release of the 6.4.x cycle. It contains important bug fixes found in XWiki 6.4.7 and earlier.
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/ReleaseNotesXWiki648
The following people have contributed code to this release (sorted alphabetically):
acotiuga
Guillaume Delhumeau
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi
I am making a small change to the UI for the search suggestions, for which
I need to update or override xwiki-min.js
I would like to understand — how is xwiki.js minified to xwiki-min.js? It
looks to me like this is done statically (I went through the Skin extension
documentation
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Skin+Extension+Plugin>,
but when exactly the minification happens is still unclear to me)
If I want to update xwiki.js or xwiki-min.js, what is the best way to do
it? Previously I was adding another JS file called xwiki_overrides.js and
including that in "javascript.vm" which added additional listeners, but I
that is not very efficient for my current needs. Any pointers are welcome.
Thanks in advance
Debajit
Hi,
A couple of days ago, Nicolas Lemoine (and Jean Coury, as far as I
understood) from XWiki SAS did a nice analysis on what XWiki should offer
in terms of notifications, from a more general and user-focused point of
view.
They had a look of how other applications, services or even operating
systems handle user notifications and produced an interesting overview [1],
extracted a list of use cases [2] and created an UI proposal [3] that might
be useful when we start working on it for XWiki.
They`ve asked me to send the mail for them on the community and maybe get
some opinions on the conclusions and even new ideas to where we could take
it.
WDYT?
Thanks,
Eduard
P.S.: I`ve forwarded this mail to the users list, at Vincent's suggestion,
in the hopes of getting some input from our users as well ;)
----------
[1]
http://design.xwiki.org/xwiki/bin/view/Proposal/NotificationSystemforApps_A…
[2]
http://design.xwiki.org/xwiki/bin/view/Proposal/NotificationSystemforApps
[3]
http://design.xwiki.org/xwiki/bin/view/Proposal/NotificationSystemforApps#H…
Hello,
I realized an export of my wiki via the tool located in the
administration of XWiki.
But when I try to import the XAR on another instance of XWiki, just at
the end, an error is produced and the archive is not added.
In fact, I have a problem with the first wiki, the XWikiGroup group
doesn't work, and so all users have administrator rights until I disable
thoses rights for each user (but each new user have admin rights).
So I installed a new XWiki server, and I try to retrieve the articles
already created in the first one.
Is it possible to export an entire space with his daughters ?
How can I recover my first wiki pages ?
Thank you.
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
Hello,
You can use a stylesheetextension object + CSS instruction (and firebug to identify id/class elements to modify)
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HM…
Pascal B
--------------------------------------------
En date de : Jeu 3.3.16, Personal <jesse(a)abrightfamily.com> a écrit :
Objet: [xwiki-users] Changing Global Text Style Settings
À: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 3 mars 2016, 7h04
I have been looking around for this
but coming up blank. Can anyone point me in the right
direction as to how you change the default text styles? I am
just looking to tweak the header and body font sizes and
font family across the entire wiki. I don’t want to change
the text for other elements like the drawer, buttons, panels
etc.
Thanks for any information that you can provide.
regards,
Jesse
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I'm setting up a XWiki 7.4 site with a pt_BR localization and am updating
empty translations as I go along according to our use cases. In the process
I've run into a couple of problems.
Firstly, on the Blog Archive panel, the months are being displayed in
English. If I log into l10.xwiki.org and do a search for existing
translation keys like the following:
Original text: January
Language: pt_BR
Status: Not dead
Other fields all blank
the result returned has two keys, both of which are translated.
How can I do the translation for the months in the blog panel? Note that if
I switch the localization to another language such as fr, I see that the
months are translated properly.
Secondly, on the live tables on my soon to be production instance, the range
phrase at the top of the live tables (such as the User Index) is showing up
half English/half Portuguese as 'Results 1-10 out of 40 por página de 10'.
If I switch the language to fr, the problem remains with the phrase showing
up as 'Results 1-10 out of 40 par page de 10'. But if I set up a clean
instance of XWiki, I see that the phrases are translated properly for both
pt_BR and fr. Clearly, I've been futzing with something(s) that I should not
have touched. Can anyone give me some pointers on how to diagnose the
problem and restore the system to its proper behaviour?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Does anyone know how to get the branches of the document translated? As per
the attached image, the Sandbox page is translated at the top of the tree (I
guess because I updated the title in the translation page), but not at the
branch. Other pages such as Meetings and the Calendar are translated in both
places. Also the Attachments page is not translated in the expanded tree. I
am running Xwiki 7.4.2 localized to pt_BR.
<http://xwiki.475771.n2.nabble.com/file/n7598383/Sele%C3%A7%C3%A3o_041.png>
--
View this message in context: http://xwiki.475771.n2.nabble.com/Document-tree-branches-not-translated-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The wiki for the Emperor of Ice Cream; an ice cream and motorcycle gang.
The user registered is: EmperofIceCream
Wiki name is EmperofIceCream before .myxwiki.org
thank you,
ray
Hello,
I installed xwiki a few days ago and I'm still learning the ropes. I created
a new class called VersionInformation with its associated template and
sheet.
I'm able to create objects and display them in a livetable, but I have a
hard time using the queryFilters option.
My class has a Version field which I'd like to filter on.
Here is my code:
{{velocity}}
#set($columns = ["Name", "CoreTag", "ReleaseDate"])
#set($columnsProperties = {
"Name": { "link" : "none" }
})
#set($options = {
"className":"Development.Resources.Version
Information.VersionInformationClass",
"tagCloud" : true,
"rowCount": 20,
"queryFilters" : $4_0QueryFilter
})
#livetable("4_0_VersionInformation" $columns $columnsProperties $options)
{{/velocity}}
I have no clue as to how the 4_0QueryFilter variable should be created. I'm
guessing something along the lines of
#set($4_0_QueryFilter = $services.query.xwql("Version='4.0'") )
but that doesn't work. I tried other variations on that with a WHERE
statement, with the .execute() and so on but no success so far.
Can somebody help me out on this?
Thanks
Phil
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-filter-livetable-tp7598115.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm pretty sure this can't be done currently, but I still wanted to double
check.
It seems that Chrome and Firefox prevent linking to local files - so the
IFrame macro, when pointing to file://someserver/somefile.html, doesn't
display anything.
For some reason IE allows it, so I do see the content of my frame when
displaying the page with IE.
I was thinking maybe the xwiki.getURLContent would fetch the content of my
local html file and generate the content server side so that my web browser
wouldn't know the difference, but it doesn't seem to work with my file://
link.
Does somebody have an idea of how I could go about including a local html
file in xwiki pages?
Thanks,
Phil
--
View this message in context: http://xwiki.475771.n2.nabble.com/Including-local-file-webpage-tp7598333.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have update the XWiki 6.4.2 to 7.1.4 with using
"xwiki-enterprise-jetty-hsqldb-7.1.4.zip" on window server with success then
i import 6.4.2 xar to 7.1.4 and import some ui,such as
xwiki-platform-watchlist-ui.xar,o-rg.xwiki.platform-xwiki-platform-admin~.xar,o-rg.xwiki.platform-xwiki-platform-activ~.xar
etc.
when i do some thing in the XWiki/XWikiPreferences
What causes the following error?
error.error <http://xwiki.475771.n2.nabble.com/file/n7598342/error.error>
--
View this message in context: http://xwiki.475771.n2.nabble.com/oddity-after-upgrade-from-6-4-2-to-7-1-4-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Someone asked the following question on a feedback survey on xwiki.org but didn’t leave this email address so it’s hard to respond to him/her… :)
Thus I’m doing it here. The question is "Could you please provide md5 sum of releases (war files at least) to assist the process of automatic deployment via saltstack. “
The answer is that we’re already providing thus! We actually provide both md5 and sha1 as can be seen here for version 7.4.2 of the WAR:
http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/enterprise/xwi…
Specifically:
* md5: http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/enterprise/xwi…
* sha1: http://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/enterprise/xwi…
Thanks
-Vincent
On 6 Mar 2016 at 13:40:42, Response Report (report(a)formassembly.com) wrote:
Your form "Downloading XWiki (xwiki.org)" has received the following response:
Submitted on: 06/03/16 13:40:41
Completion time: n/a
Tell us about
Q. Utility
R. Other
Q. Usage
R. At home
Q. Period
R. Less than 6 months
Q. System
R. Linux
Q. Version
R. Latest
How would you grade our
Q. Usability
R. 2
Q. Simplicity
R. 2
Q. Stability
R. 4
Q. Design
R. 4
Q. Speed
R. 4
Would you like to get into details?
Q. Suggest Improvements
R.
Q. Anything else
R. Could you please provide md5 sum of releases (war files at least) to assist the process of automatic deployment via saltstack.
Where should we send the data?
Q. Send to
R.
Who are you?
Q. Name
R.
Q. Email
R.
Q. Job Title
R.
Q. Country
R.
Ubuntu 14.04 with xwiki installed from xwiki repo
after apt-getupdate and apt-get dist-upgrade and a reboot, ran through
the distribution wizard on first login, no errors seen, but the front
page looked like http://pasteboard.co/1ZhrOEed.png
I followed "The wizard fails to appear at startup" on
http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard
and deleted the .../jobs/status/distribution/status.xml file, then
restarted, the distribution wizard was not seen, but the "pages" are
now working again
Cheers
The XWiki development team is proud to announce the availability of XWiki
8.0 Release Candidate 1. This release candidate brings a couple of
improvements, notably the ability to register a user from the Distribution
Wizard and to auto-generate the main wiki descriptor at start up. The Chart
Macro comes with new parameters and the UI for page rename/copy has better
labels. On the technical side, this release brings the first, experimental,
version of the minimalistic XWiki distribution.
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/ReleaseNotesXWiki80RC1
The following people have contributed code to this release (sorted
alphabetically):
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Marius Dumitru Florea
Thomas Mortagne
vasquez
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi,
Is it possible to create a new object of a custom class using the RESTful API?
The documentation page only lists the following POST method, which
doesn't accept a class name:
/wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects[?start=offset&number=n]
I have tried things like the following:
curl -u Admin:admin -X POST -H "Content-type: text/plain" -H "Accept:
application/xml" -d "@test.xml"
http://localhost/xwiki/rest/wikis/xwiki/spaces/Test/pages/Test/objects/XWik…
Where test.xml contains some variation on:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<properties xmlns="http://www.xwiki.org">
<property type="com.xpn.xwiki.objects.classes.TextAreaClass" name="Text">
<attribute value="Text" name="name"/>
<attribute value="Test" name="prettyName"/>
<attribute value="0" name="unmodifiable"/>
<attribute value="0" name="disabled"/>
<attribute value="100" name="size"/>
<attribute value="10" name="rows"/>
<attribute value="" name="customDisplay"/>
<attribute value="Text" name="editor"/>
<attribute value="6" name="number"/>
<attribute value="0" name="picker"/>
<attribute value="" name="validationMessage"/>
<attribute value="" name="validationRegExp"/>
<value>
This is some text.
</value>
</properties>
Curl returns this:
<html>
<head>
<title>Status page</title>
</head>
<body>
<h3>The method specified in the request is not allowed for the resource identifi
ed by the request URI</h3><p>You can get technical details <a href="http://www.w
3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>
Simpler syntax without the XML file still fails for me. In fact, I
can't seem to even get the basic "create object" method to work, even
without the class. For example:
curl -u Admin:admin -X POST
http://localhost/xwiki/rest/wikis/xwiki/spaces/Test/pages/Test/objects
Just comes back with a "malformed syntax" error.
Is there an example anywhere of how to do this?
Thank you,
Aaron
I am looking to modify the editor in two ways:
1) I would like to change the default editor to the new CKEditor per these instructions: http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#H… I get stuck at: "In order to open the CKEditor by default (i.e. replace the default editor) you can edit the CKEditor.EditMenuEntry page in Objects mode..."
2) I would like to change the “Is Minor Edit” to checked by default and these are the only instructions I can find: http://lists.xwiki.org/pipermail/users/2009-August/012857.html I can locate many files in the /usr/lib/xwiki/templates folder that start with the word ‘edit’ but none of them are ‘editactions.vm’.
I am sorry if these are two totally different questions but they both seem to be related, as in each case I am unable to find the avenue for changing the default editor behavior. Thanks for your time.
Regards,
Jesse
Hello all,
I created an application on xwiki Enterprise 7.4 and it works.
<http://xwiki.475771.n2.nabble.com/file/n7598300/xwikiapplication.bmp>
One issue I face is for all users I see the option to "Edit Application"
(see attached picture), I would like to limit this only to a specific group.
Where can I change the access rights?
I searched the forum but could not find any response, if the answer is very
simple pardon me I am new to use wiki tools :-)
Thanks in advance for your reponse,
Chandra
--
View this message in context: http://xwiki.475771.n2.nabble.com/Issue-after-creating-application-in-xwiki…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I just found out that all my (LDAP auth) users have administrator rights
on the wiki !
This is the case for only a short time. I did not update or that sort of
thing.
Yet, if I look at the rights of groups and users, everything looks good.
Even if I clearly prohibits the administration rights to XWikiAllGroup,
all users always have admin rights !
I don't understand what's happening !
Do you have an idea ?
Regards,
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
Hi All,
Tell me please is it possible to use in MacroProperties classes fields with values from external sources?
For example I have list of project from Jira or Redmine and I would like to select one project from ListBox from "Insert Macro” dialog box
So for example I have macro issues and it has mandatory parameter project. I can write follow macro {{issues project=“PROJECT_NAME”}} In such case I have to know PROJECT_NAME which is existed but If I don’t know it, I could be able to select Macro-> Insert Macro select My Macro and select project from combo box
But all I see it is possible to use only Enum classes for this dialog…
Best regards,
Maksim Birukov
--- En date de : Jeu 3.3.16, vincent(a)massol.net <vincent(a)massol.net> a écrit :
> De: vincent(a)massol.net <vincent(a)massol.net>
> Objet: Re: [xwiki-users] Fw : Re: How to disable versionning for a document
> À: "XWiki Users" <users(a)xwiki.org>
> Cc: "XWiki Users" <users(a)xwiki.org>
> Date: Jeudi 3 mars 2016, 16h41
> Hi Pascal,
>
>
> On 2 Mar 2016 at 14:53:55, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr))
> wrote:
>
> >
> >
> > --- En date de : Mer 2.3.16, vincent(a)massol.net
> a écrit :
> >
> > > De: vincent(a)massol.net
>
> > > Objet: Re: [xwiki-users] How to disable
> versionning for a document
> > > À: "XWiki Users"
> > > Date: Mercredi 2 mars 2016, 12h19
> > >
> > >
> > > On 2 Mar 2016 at 11:50:30, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr))
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have a page
> > > cronly updated with RESTful API and I want disable
> document
> > > versionning for this page only.
> > >
...
> > …
>
> Ok thanks. Why do you want to delete the revisions (it
> shouldn’t matter if there are a lot)? :) XWiki should
Good to know :-) => less code to write for me ;-)
> support a lot of revisions (even though we have some perf
> issues at some places when there’s are too many revisions
> and we need to fix this ;)).
>
> Otherwise, what you’re looking for is http://jira.xwiki.org/browse/XWIKI-500 but
> there’s little chance this is going to be implemented
> anytime soon (I’m not even sure there’s a consensus on
> it!).
>
great feature (no simple to implement)!
btw "spring cleaning" on http://jira.xwiki.org/ is a good idea :-)
Please guys, I have to graduate in 20 days and I can´t do it if I am not
able to test my software.
At least tell me how can I completely unistall everything from my machine
so I can perform a clean isntallation of XWiki Enterprise.
Giordano.
2016-03-01 19:30 GMT+01:00 Giordano Ninonà <giordano.ninona(a)gmail.com>:
> I don't really know what is going on, I start to get error during the
> loading phase after I click on "XWiki Home Page" icon on my desktop.
> In the attachments you can find my terminal after I started the service
> (Terminal1.PNG) and a portion of the errors that I get after I click on
> "XWiki Home Page" icon. (Terminal 2.PNG, and Terminal 3.PNG).
>
> Giordano.
>
> 2016-03-01 19:03 GMT+01:00 Giordano Ninonà <giordano.ninona(a)gmail.com>:
>
>> HI users,
>>
>> I was in the final testing phase of my component, like always I have ran
>> my Xwiki (version 7.3) then I have deleted the pages that I have to create
>> automatically with my component as well as those apges containing XClass
>> and the sheets. I don't know what I have done uncorrectly, but the point is
>> that now the terminal is saying that there is an* Error number 3202:
>> Exception while reading document [...] *for all the ages that I have
>> deleted, inside the wiki there is no pages to delete.
>>
>> I have unistalled and re-installed my XWiki, and I have tried to create
>> a new wiki with the same identifier and the problem presists.
>>
>> Any help?
>> Giordano.
>>
>
>
Hello,
I try to list the connected users.
I fall on "Connected Users List Macro" but it dates from 2014.
Should I use this extension or is there another way to list open
connections ?
Thank you,
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
Hi Pascal,
On 2 Mar 2016 at 14:53:55, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) wrote:
>
>
> --- En date de : Mer 2.3.16, vincent(a)massol.net a écrit :
>
> > De: vincent(a)massol.net
> > Objet: Re: [xwiki-users] How to disable versionning for a document
> > À: "XWiki Users"
> > Date: Mercredi 2 mars 2016, 12h19
> >
> >
> > On 2 Mar 2016 at 11:50:30, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr))
> > wrote:
> >
> > > Hi,
> > >
> > > I have a page
> > cronly updated with RESTful API and I want disable document
> > versionning for this page only.
> >
> > I’m interested in knowing more about the use
> > case to see if there’s a generic need.
>
> Sure :-) I must read json data from another web site to display it on myxwiki.org web site.
> This one:
> https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanD…
> but myxwiki.org log show a certificate problem when i use $xwiki.getURLContent API
> (In fact https://api.clashofclans.com/v1/clans/%23L9CGQYC?Authorization=Bearer xxxxxx with Bearer authentication)
>
> Then my solution, is to add a local cron to:
> - wget my json data from https://set7z18fgf.execute-api.us-east-1.amazonaws.com/
> - use curl to upload json data in a page of myxwiki.org with RESTful api
> This page will be update periodicaly (1 or 2 time per week or less), then I need to wipe history of this updated page.
>
> …
Ok thanks. Why do you want to delete the revisions (it shouldn’t matter if there are a lot)? :) XWiki should support a lot of revisions (even though we have some perf issues at some places when there’s are too many revisions and we need to fix this ;)).
Otherwise, what you’re looking for is http://jira.xwiki.org/browse/XWIKI-500 but there’s little chance this is going to be implemented anytime soon (I’m not even sure there’s a consensus on it!).
Thanks
-Vincent
> > I’ve added this snippet not long ago that you
> > could find useful for this:
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Revisions+From+…
>
> It is usefull :-)
>
> Thxs
>
> Pascal B
Hello,
I quickly tested the latest version of CKEditor. Here are my remarks :
* when I push the "Source" button, nothing appears. On the button, the
loading sign turns without ever stopping
* the style "Marker" is invisible
* is it possible to add a button for "Typewriter Text" (useful for the
code or configuration files)
* the horizontal line is invisible
Regards,
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
We try to move two Apps Within A Minute to another xwiki installation. The
files import properly but no icon appears on the left site under
applications. How can we achieve that the Apps Within A Minute will appear
as a real application and not only as pages.
Thank you!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Moving-Apps-within-a-minute-to-another-Xw…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi users,
Yesterday I was testing my java component and after I have deleted some
pages from my wiki (I am running XWiki Enterprise 7.3) I started to get
some errors and malfunctioning such as: I don't see anymore any pages under
the "Deleted pages" index and when I try to delete some nested pages the
wiki is telling me that the deletion would affect several childern even if
those children are not diplayed anywhere. If I agree I got errors becase "I
don't have the permission to delete them" even if I am logged as
administrator.
When I see that I am not even able to call the methods from my java
component through the script service,( those method are in charge of
creating new pages as well XClasses and XObjects) I have decided to
unistall XWiki Enterprise and re-install it. Unfortunately I see that I
have the same errors.
Moreover after I have started the XWiki, before I click on the "XWiki Home"
icon on my desktop, I have noticed in the terminal the following warnings:
*[main] WARN ltInstalledExtensionRepository - Invalid extension
[org.xwiki.platform:xwiki-platform-wiki-ui-common-7.3] on namespace
[wiki:WIKINAME] (InvalidExtensionException: No compatible extension is
installed for dependency
[org.xwiki.platform:xwiki-platform-wiki-ui-common-7.3]*
And I get this warning for each wiki that I have created BEFORE I
UNISTALLED IT.
After I try to call my methods (that should creates wiki pages Xclasses and
Xobjects) it start working until I get a bunch of Exceptions and some ERROR
3002 and some ERROR 2002. The strange thing is that a couple of days ago it
worked fine.
So finally my question is how can I COMPLETELY delete everything that is
related to XWiki Enterprise in my computer and then perform a clean XWiki
Enterprise installation?
I hope to get a quick answer because this is my master thesis project and I
only need to perform some final testing as I am graduating in 40 days.
Please help me in find a solution
Giordano.
Hi
Which versions of Wildfly has Xwiki been tested on, if any?
I'm trying to deploy on 9.0.2 and am getting the following error - and it
fails to deploy:
17:19:23,505 ERROR [io.undertow.request] (
http://localhost:8080/xwiki/bin/view/Main/) UT005023: Exception handling
request to /xwiki/bin/view/Main/: javax.servlet.ServletException:
com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract
Entity Resource Reference from URL [
http://localhost:8080/xwiki/bin/view/Main/]
at
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL [
http://localhost:8080/xwiki/bin/view/Main/]
at com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:808)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:752)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:236)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:191)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
... 55 more
Caused by: java.lang.RuntimeException: Failed to locate wiki descriptor for
alias [localhost]
at
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:80)
at
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
at
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
at
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
at
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
at
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
at
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
at
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
at
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:64)
at
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
at
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
at
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
at com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:805)
... 59 more
Caused by: org.xwiki.wiki.manager.WikiManagerException: Failed to locate
XWiki.XWikiServerClass document for wiki alias [localhost]
at
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:128)
at
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
at
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
at
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
... 71 more
Caused by: org.xwiki.query.QueryException: Exception while translating
[where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name
like 'XWikiServer%'] XWQL query to the [hql] language. Query statement =
[where doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name
like 'XWikiServer%']
at
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:123)
at
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
at
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
... 74 more
Caused by: com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception
while reading document [xwiki:XWiki.XWikiServerClass]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:989)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1634)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1680)
at com.xpn.xwiki.XWiki.getXClass(XWiki.java:5890)
at com.xpn.xwiki.XWiki.getClass(XWiki.java:5903)
at
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497)
at
org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
at
org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
at
org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
at org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
at
org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
at
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:90)
... 77 more
Caused by: org.hibernate.HibernateException: Could not create a DBCP pool.
There is an error in the Hibernate configuration file, please review it.
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:232)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853)
... 89 more
Caused by: java.sql.SQLException: Cannot load JDBC driver class
'org.hsqldb.jdbcDriver'
at
org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2139)
at
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
at
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
... 99 more
Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at org.xwiki.classloader.URIClassLoader$1.run(URIClassLoader.java:193)
at org.xwiki.classloader.URIClassLoader$1.run(URIClassLoader.java:180)
at java.security.AccessController.doPrivileged(Native Method)
at org.xwiki.classloader.URIClassLoader.findClass(URIClassLoader.java:179)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at
org.xwiki.classloader.xwiki.internal.ContextNamespaceURLClassLoader.loadClass(ContextNamespaceURLClassLoader.java:176)
at
org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2131)
... 102 more
Thanks
--
Anton Hughes
I started out with my system configured to use the hibernate attachment
storage and then later converted it to file storage using the Database to
Filesystem porter in the Admin Tools extension. Initially everything
appeared to work fine. Attached images reappeared on the pages after I ran
the porter. But now I'm finding that, if I load a new version of an
attachment image, the page continues to display the old version of the image
instead of the new one. If I edit the page, delete the image and then
reinsert it, the updated version is displayed in the WYSIWYG view. But after
I Save & View the page, the old version of the image is displayed. Even if I
delete the attachment completely from the list of attachments and the page
and then reload the new version (so that the old version is no longer
listed) and add it back to the page, the old version is still displayed.
My environment is as follows:
Debian 8, Java openjdk-7-jre-headless, postgresql 9.4.6, tomcat8
The problem occurs in both my production system on 7.4.1 and a new VM
created from scratch with 7.4.2.
Note that, in order to get the porter to work, I had to replace the groovy
script with the new version provided by Caleb as per
http://xwiki.475771.n2.nabble.com/Admin-Tools-database-to-filesystem-porter…
--
View this message in context: http://xwiki.475771.n2.nabble.com/New-versions-of-attachments-not-recognize…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi users,
I'm trying new ways to spread the word about XWiki. One approach that seems
to be popular right now are review websites such as Getapp and G2Crowd. For
instance Drupal has a page on G2Crowd
<https://www.g2crowd.com/products/drupal/reviews>, so I thought it could be
interesting to try it out too.
In order to see whether this could work well for XWiki, I have created a
page on G2Crowd: *https://www.g2crowd.com/products/xwiki/reviews
<https://www.g2crowd.com/products/xwiki/reviews>*
It would be very cool if you could spend a bit of time to add a review of
your experience with XWiki there!
Thanks and happy XWikiing,
Guillaume
Hi all,
In various web applications these days it is now possible to copy and paste images into web pages which makes the process of adding an image to a document online so much easier as you do not need to save it off somewhere, then upload it. Copy and paste makes the process so much more efficient.
See the upload feature on http://imgur.com/ for example, where they also support drag and drop.
Thanks,
Stuart
Disclaimer: The contents of this E-mail plus any attachment is intended for the use of the addressee only and is confidential, proprietary and may be privileged. It will not be binding upon Trace Group or any group company (Trace). Opinions, conclusions, contractual obligations and other information in this message in so far as they relate to the official business of Trace must be specifically confirmed in writing by Trace. If you are not the intended recipient you must not copy this message or attachment, use or disclose the contents to any other person, but are requested to telephone or E-mail the sender and delete the message and any attachment from your system. Trace takes all reasonable precautions to ensure that no virus or defect is transmitted via this e mail, however Trace accepts no responsibility for any virus or defect that might arise from opening this E-mail or attachments.
--- En date de : Mer 2.3.16, vincent(a)massol.net <vincent(a)massol.net> a écrit :
> De: vincent(a)massol.net <vincent(a)massol.net>
> Objet: Re: [xwiki-users] How to disable versionning for a document
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Mercredi 2 mars 2016, 12h19
>
>
> On 2 Mar 2016 at 11:50:30, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr))
> wrote:
>
> > Hi,
> >
> > I have a page
> cronly updated with RESTful API and I want disable document
> versionning for this page only.
>
> I’m interested in knowing more about the use
> case to see if there’s a generic need.
Sure :-) I must read json data from another web site to display it on myxwiki.org web site.
This one:
https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanD…
but myxwiki.org log show a certificate problem when i use $xwiki.getURLContent API
(In fact https://api.clashofclans.com/v1/clans/%23L9CGQYC?Authorization=Bearer xxxxxx with Bearer authentication)
Then my solution, is to add a local cron to:
- wget my json data from https://set7z18fgf.execute-api.us-east-1.amazonaws.com/
- use curl to upload json data in a page of myxwiki.org with RESTful api
This page will be update periodicaly (1 or 2 time per week or less), then I need to wipe history of this updated page.
...
>
> I’ve added this snippet not long ago that you
> could find useful for this:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Revisions+From+…
It is usefull :-)
Thxs
Pascal B
Hi,
We use version 7.1.2. We created some groups in xwiki. And set up them in
LDAP menu. For example, perform next actions:
1. Create xwiki group `test`.
2. In LDAP menu in group mapping section input group name `xwiki.test` and
group in LDAP for mapping `CN=test.... `
It works, users login and appear in group, but after few weeks we see many
duplicated entries in group. If really in group must be ~200 users then
today I see ~4000. This problem exist almost in all LDAP groups.
Why xwiki duplicate user entries in groups? How to delete duplicated entries
in groups ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Duplicated-entries-in-group-from-LDAP-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
The login page of XWiki is situated in the XWiki space. From this space
it is not possible to load pages with a XMLHttpRequest in javascript. I
want to work around this by creating a seperate login page with exactly
the same content as the current XWiki login page.
I would like to know if this will pose a security risk or not. I do not
understand why it should but I am asking you to make sure I am not
forgetting anything.
If you like I can share the procedure with you because I think it can be
an improvement over the current situation.
Kind regards,
Jan-Paul Kleijn
Hi Users,
i try to create a hql-query which gives me all documents which contain a
custom object and and a defined property. As properties i have in the object
a multiselect user-list. Now i want to get all documents in which a specific
user is selected in the object. How can i write the hql?
I tried something from
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples but
nothing seems to work because i always get no results.
Could you help me?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/HQL-Query-on-custom-object-with-user-list…
Sent from the XWiki- Users mailing list archive at Nabble.com.
In 7.4.1 (standalone installation) I'm trying to create a new skin using A.
and C. in http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins. I've a
couple of different variations but can't figure out what I'm doing wrong.
The steps I followed are:
1. Login as Admin - URL is http://localhost:8080/xwiki/bin/view/Main/
2. Edit URL and go to http://localhost:8080/xwiki/bin/view/Main/MySkinPage/
3. I see that the page does not exist and follow the 'edit this page' to
create it.
4. Press the Create button and then Save & View.
5. Open the Objects editor and select the XWiki.XWikiSkins class - press Add
6. In the object properties, set the Name to 'My New Skin'
7. Set the base skin to 'flamingo' - Press Save & View.
8. Select the Test this skin link and everything looks fine.
9. Go to Administer Wiki -> Presentation.
10. Set both the Stylesheet and Stylesheets fields to Main.MySkinPage
11. Set the Skin field to 'My New Skin' and press Save.
12. This results in a Java error
...
Caused by: java.net.URISyntaxException: Illegal character in path at index
9: /skins/My New Skin/admin.vm
...
I thought maybe the error was that spaces were not allowed. So I created a
new instance and followed the same steps but in steps 6 and 11 used
'MyNewSkin'. Then the browser showed the following:
Error
You are not allowed to view this page or perform this action.
The URL was
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globala…
I also thought that maybe in step 11 I need to use Main.MySkinPage instead.
This resulted in the same error, i.e.
Error
You are not allowed to view this page or perform this action.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Not-able-to-create-new-skin-tp7598159.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I have the following question.
I have an main wiki (xwiki) and a subwiki (test)
I want to access objects from class ’space.someclassClass’ located on a page ‘space.somepage' in the main wiki
When in the subwiki, I have a query such as:
String query = "select name.value from XWikiDocument doc, BaseObject obj, StringProperty name where doc.fullName=obj.name and obj.className=‘space.someclassClass’ and” +
"obj.className<>’space.someclassTemplate’ and name.id.id=obj.id order by doc.title"
List<java.lang.Object[]> results = (List<java.lang.Object[]>) (List) this.queryManager.createQuery(query, Query.XWQL).setWiki(“xwiki").execute();
This gives me the name.value of the property of the object in the main wiki.
What I need however is something like:
String query = "select obj from XWikiDocument doc, BaseObject obj where doc.fullName=obj.name and obj.className=‘space.someclassClass’ and” +
"obj.className<>’space.someclassTemplate’ order by doc.title”
I expect this to return a BaseObject. When displaying this (toXMLString()), it is however an empty object:
<?xml version="1.0" encoding="UTF-8"?>
<object>
<name>space.somepage</name>
<number>0</number>
<className>space.someclassClass</className>
<guid>3c145abe-b334-4801-a100-24c8ef2eea9f</guid>
</object>
There is no way (that I have tried) that would give me the object of class “xwiki:space.someclassClass” that contains the properties that I need (and get using the first query).
I expect that it might have to do with the context but I’m not that familiar with it that I know how to do this.
Can someone please shed some light on this?
With kind regards,
Peter Huisman
Hi,
I have a page cronly updated with RESTful API and I want disable document versionning for this page only.
I want to save a little bit storage :-)
Is it possible and how?
If not I suppose I must schedule a full history wipe?
Thxs.
Pascal B
Hi All,
Could you please help me with information about debugging client part!
I don’t understand why I have in the GWT development mode this error:
[ERROR] Errors in 'org/xwiki/gwt/wysiwyg/client/converter/HTMLConverter.java’
[ERROR] Line 22: The import org.xwiki.component cannot be resolved
[ERROR] Line 32: Role cannot be resolved to a type
As I see this package org.xwiki.component.annotation exists in the xwiki-commons-component-api and client part includes this package as maven dependency...
I use file start_wysiwyg_noserver_debug.sh where I added maven dependencies now it looks like :
XE_VERSION=7.4;
GWT_VERSION=2.6.0;
GWT_INCUBATOR_VERSION=2.0.1;
SMART_GWT_VERSION=2.4;
M2_REPO=~/.m2/repository;
APP_DIR=`dirname $0`/webapps/xwiki;
java \
-Xmx1024m \
-Xdebug \
-Xnoagent \
-Djava.compiler=NONE \
-Xrunjdwp:transport=dt_socket,server=y,address=5006,suspend=y \
-cp \
$M2_REPO/org/xwiki/platform/xwiki-platform-gwt-dom/$XE_VERSION/xwiki-platform-gwt-dom-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-gwt-user/$XE_VERSION/xwiki-platform-gwt-user-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-oldcore/$XE_VERSION/xwiki-platform-oldcore-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/commons/xwiki-commons-component-api/8.0-SNAPSHOT/xwiki-commons-component-api-8.0-SNAPSHOT.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-client/$XE_VERSION/xwiki-platform-wysiwyg-client-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-server/$XE_VERSION/xwiki-platform-wysiwyg-server-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-client/$XE_VERSION/xwiki-platform-wysiwyg-client-shared-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-plugin-api/$XE_VERSION/xwiki-platform-wysiwyg-plugin-api-$XE_VERSION.jar:\
$M2_REPO/com/google/gwt/gwt-user/$GWT_VERSION/gwt-user-$GWT_VERSION.jar:\
$M2_REPO/com/google/gwt/gwt-dev/$GWT_VERSION/gwt-dev-$GWT_VERSION.jar: \
com.google.gwt.dev.DevMode \
-noserver \
-port 8080 \
-war $APP_DIR/resources/js/xwiki/wysiwyg \
-startupUrl xwiki/bin/edit/Sandbox/Test?editor=wysiwyg \
org.xwiki.gwt.wysiwyg.Wysiwyg
Best regards,
Maxim Birukov
Hello,
Is it possible to make the default editions are minor and not major ?
Regards,
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
HI users,
I was in the final testing phase of my component, like always I have ran my
Xwiki (version 7.3) then I have deleted the pages that I have to create
automatically with my component as well as those apges containing XClass
and the sheets. I don't know what I have done uncorrectly, but the point is
that now the terminal is saying that there is an* Error number 3202:
Exception while reading document [...] *for all the ages that I have
deleted, inside the wiki there is no pages to delete.
I have unistalled and re-installed my XWiki, and I have tried to create a
new wiki with the same identifier and the problem presists.
Any help?
Giordano.
Hi,
Sorry, I've not been getting the replies to these messages. I've re-subscribed to the list, so hopefully that is now resolved :)
I tried copy and pasting images on the http://playground.xwiki.org site, but didn't have any luck. I was copying these images directly from MS Word, but I also did try copying from a web browser (in this instance Chrome). Does that mean the demo site is not using the CKEditor and the out of the box editor doesn't support the copy and paste?
Thanks,
Stuart
From: Stuart Stephen
Sent: 23 February 2016 10:47
To: 'users(a)xwiki.org'
Subject: Feature Request: Allow copy & paste of images into WYSIWYG editor
Hi all,
In various web applications these days it is now possible to copy and paste images into web pages which makes the process of adding an image to a document online so much easier as you do not need to save it off somewhere, then upload it. Copy and paste makes the process so much more efficient.
See the upload feature on http://imgur.com/ for example, where they also support drag and drop.
Thanks,
Stuart
Disclaimer: The contents of this E-mail plus any attachment is intended for the use of the addressee only and is confidential, proprietary and may be privileged. It will not be binding upon Trace Group or any group company (Trace). Opinions, conclusions, contractual obligations and other information in this message in so far as they relate to the official business of Trace must be specifically confirmed in writing by Trace. If you are not the intended recipient you must not copy this message or attachment, use or disclose the contents to any other person, but are requested to telephone or E-mail the sender and delete the message and any attachment from your system. Trace takes all reasonable precautions to ensure that no virus or defect is transmitted via this e mail, however Trace accepts no responsibility for any virus or defect that might arise from opening this E-mail or attachments.
The XWiki development team is proud to announce the availability of XWiki
7.4.2.
This is a bugfix release that fixes important bugs discovered in the 7.4.1
version.
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/ReleaseNotesXWiki742
The following people have contributed code to this release (sorted
alphabetically):
Alexandru Cotiugă
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi,
For authorisation on xwiki inside local network we use LDAP (users login
with password). But we want use apache authorisation also from external
network.
We want use next scheme: user authenticate on apache and after xwiki take
only login (without password) and gives access to user.
How we may do it ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Authorisation-through-apache-tp7598161.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
As a test of this extension I have added the following to the end of Sandbox Test Page 2:
{{include reference="Sandbox.testpage1"/}}
The inclusion is shown on the information panel at the right but no text is shown in view mode. It appears I am missing something, any help is appreciated. Thanks!
Regards,
Jesse
Hello xwiki users,
I would like to allow my users to connect to my XWIKI instance using
their GoogleApp account (email).
If I understood correctly, I have to use the social login application
for this (http://extensions.xwiki.org/xwiki/bin/view/Extension/Social+Login+Applicati…).
I tried to set it up but I couldn't get it to work.
I wanted to know if anybody has been able to set it up for a Google
authentication?
Could anybody please help me on the meaning of the errors I get?
------------------------------------------------------
-> First some details about my installation:
- The whole is installed on a Windows 2012 R2 machine
- Java 1.8.0_73 (32-bit)
- Apache Tomcat8 (32-bit)
- Tomcat details:
initial memory pool: 512 MB
maximum memory pool: 1024 MB
and parameter additional parameter:
-XX:MaxPermSize=196m
- MySQL 5.7 database
- XWIKI Entreprise 7.4
- Tomcat is accessible behind a local Apache2.4 reverse proxy (hence
the 127.0.0.1 src on requests, I guess)
(I can give more details if necessary)
------------------------------------------------------
-> Here is what I did to install the extension:
1. I installed the extension using the extension manager.
2. I followed the guide under "For version 2.0 and above" found on
the extension page:
a. The formatting I used for "oauth_consumer.properties" is as such:
www.google.com.consumer_key =
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.comwww.google.com.consumer_secret = xxxxxxxxxxxxxxxxxxxxxxxx
b. "org.xwiki.social.authentication.internal.SocialAuthServiceImpl"
set as my authclass
c. The login.vm file went into my
".../webapp/xwiki/skins/flamingo" folder, which corresponds to my
current skin
d. I have set "Google" as my only provider in the XWIKI Administration
3. I couldn't find anything to fill into the Google form fields
for the callback (oauth2callback)
Is this normal? I may not understand this authentication method
enough, feel free to correct me.
(I also tried with these details: "http://mydomain" and
"http://mydomain/xwiki/bin/login/XWiki/XWikiLogin", same result in the
logs)
4. XWIKI webapp reloaded
------------------------------------------------------
-> Now the issue:
- My login page looks like this: http://i.imgur.com/UgbWK3o.png
- A click on "Sign in with Google" only cause the page to reload
with this URI "http://mydomain/xwiki/bin/login/XWiki/XWikiLogin?sl_provider=google&xredire…",
but nothing else happens.
- The login form doesn't work anymore using the administrator credentials
------------------------------------------------------
-> This is what appears in Tomcat's access.log when I try to login
(both using the form with the admin user and clicking on "Sign in with
Google"):
127.0.0.1 - - [26/Feb/2016:12:02:24 +0100] "POST
/xwiki/bin/loginsubmit/XWiki/XWikiLogin HTTP/1.1" 200 11168
127.0.0.1 - - [26/Feb/2016:12:02:27 +0100] "GET
/xwiki/bin/login/XWiki/XWikiLogin?sl_provider=google&xredirect=
HTTP/1.1" 401 11188
------------------------------------------------------
-> Here is the content of the last catalina.log. However I don't think
that those are relevant to this problem.
http://pastebin.com/cUKy52R3
I'll have to look around for the "SEVERE" memory ones.
I also have a lot of "Illegal access: this web application instance
has been stopped already." java errors in my tomcat8-stderr.log file.
------------------------------------------------------
-> More relevant here I guess, this is what appears in the
tomcat8-stdout.log file for each click on "Sign in with Google":
http://pastebin.com/WbewAQmK
Upon some login attempts, the URI contains
"?sl_provider=google&xredirect=/xwiki/bin/view/Main/?srid=xXxXxXxX",
but the logfile shows the same error.
------------------------------------------------------
Would anyone be able help me?
Many thanks
Guillaume
Hi All,
I have recently upgraded to 7.4 and it appears that now the bulletin board application is failing after you press the "Add a new category..." or "Add a new article..." links with the following error:
org.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script.
I have ensured that the global rights are set for the entire wiki as follows and that all pages have a content author set with script rights:
Looking through the code it looks like the new category and topic pages are created via a from submission like it is suggest here:
https://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+create+a+new+page+based+…
I am guessing that when these pages are created that perhaps the content author is not set, which is causing the script macro error. Has anybody came across this problem and perhaps could give me a clue as to how to resolve it? We use this application for our team to store help desk resolutions and I would hate to loose the ability to record them.
Thanks,
Kelly
Hello experts!
Business ask me if Xwiki can have statistic - how many times users played an
audio script. The script can be in page as jwplayer macro or as attached
file or however.
Any idea?
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-many-times-users-played-an-audio-scri…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Your code seems correct.
The mediawiki parser in xwiki may not support the full mediawiki syntax and it has some limitations. Maybe you’re hitting them. In order for us to improve it, it would be very nice if you could create some jira issues at http://jira.xwiki.org/browse/XRENDERING/component/12460 providing some input content so that we can reperoduce the issue and fix it.
There’s another solution for you which will work better. It’s to generate HTML from the wikipedia page and then use the XWiki HTML parser to read them. This parser is much stronger than the mediawiki one I belive.
Thanks
-Vincent
On 26 Feb 2016 at 09:25:23, alm (grails.master@gmail.com(mailto:grails.master@gmail.com)) wrote:
> I am reposting this as I am not sure if registered user on XWiki-Users forum
> can see it. Kindly request from registered XWiki-Users forum user to reply a
> blank message to confirm.
>
>
> I have mediawiki format text for wikipedia article on Speed I used xwiki
> libaries to convert but the conversion to HTML5 is very poor. This is the
> code I used:
>
>
> try {
>
>
> String str = FileUtils.readFileToString(new
> File("SpeedwikiText.txt"), "UTF-8");
> // XWIKI
>
> // Initialize Rendering components and allow getting instances
> EmbeddableComponentManager componentManager = new
> EmbeddableComponentManager();
> componentManager.initialize(this.getClass().getClassLoader());
>
> // Get the MediaWiki Parser
> Parser parser = componentManager.getInstance(Parser.class,
> "mediawiki/1.0");
>
> // Parse the content in mediawiki markup and generate an AST (it's also
> possible to use a streaming parser for large content)
> XDOM xdom = parser.parse(new StringReader(str))
>
> // Generate XHTML out of the modified XDOM
> WikiPrinter printer = new DefaultWikiPrinter();
> BlockRenderer renderer =
> componentManager.getInstance(BlockRenderer.class, "html/5.0" ) ; //
> "xhtml/1.0");
> renderer.render(xdom, printer);
>
> // The result is now in the printer object
>
> FileUtils.writeStringToFile(
> new File("xwiki" + name + ".html"), printer.toString());
>
> } catch(Exception e) {
> System.out.println(e.getMessage());
> }
>
>
> There are many issues:
> math symbols or formula are not converted and the html output is something
> like
> v = \\frac{d}{t}, where is speed.
>
> Top header is missing. (Speed)
>
> tables are not formatted properly.
>
> References section is incomplete.
>
> Ideally I would like HTML to be exactly look like in wikipedia including
> images where image links are pointing to images hosted on wikimedia and are
> display in the same location as in wikipedia. Is this achievable and what do
> I need to need in above code?
>
>
Is there any way to specify that the PDF viewer should display the bookmarks by default. It is specified in the initial view information in the pdf - and so works in Acrobat (and Reader), but doesn't using the pdfviewer macro. (BTW, this macro works better for my users than the PDF macro, so I'm inclined to leave it as is if no solution.)
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca<mailto:pinkerp@lao.on.ca>
Skype: pinkerp.lao<skype:pinkerp.lao>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org<http://www.aclco.org/>
My understanding is that I should be able to replace the Admin user with
another user that I've created and added to the Admin group. But when I
delete the Admin user using the other user in the Admin group, I find that
the document tree no longer loads.
My configuration is as follows:
XWiki Enterprise WAR 7.4.1
Debian Jessie
Java openjdk-7-jre-headless
Tomcat 8
Postgresql 9.4/9.5 - The release notes state that 9.5 is the supported
version for 7.4.1 but I could not find a 9.5 JDBC driver so I tried it with
both 9.4 and 9.5 versions of Postgresql (in both cases using the 9.4 JDBC
driver).
This might be related to XWIKI-13025 'The document tree doesn't load on
Postgres' since the problem does not seem to occur with the standalone
installation.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Deleting-Admin-user-causes-document-tree-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have mediawiki format text for wikipedia article on Speed
<https://en.wikipedia.org/wiki/Speed> I used xwiki libaries to convert
but the conversion to HTML5 is very poor. This is the code I used:
try {
String str = FileUtils.readFileToString(new
File("SpeedwikiText.txt"), "UTF-8");
// XWIKI
// Initialize Rendering components and allow getting instances
EmbeddableComponentManager componentManager = new
EmbeddableComponentManager();
componentManager.initialize(this.getClass().getClassLoader());
// Get the MediaWiki Parser
Parser parser = componentManager.getInstance(Parser.class,
"mediawiki/1.0");
// Parse the content in mediawiki markup and generate an AST (it's also
possible to use a streaming parser for large content)
XDOM xdom = parser.parse(new StringReader(str))
// Generate XHTML out of the modified XDOM
WikiPrinter printer = new DefaultWikiPrinter();
BlockRenderer renderer =
componentManager.getInstance(BlockRenderer.class, "html/5.0" ) ; //
"xhtml/1.0");
renderer.render(xdom, printer);
// The result is now in the printer object
FileUtils.writeStringToFile(
new File("xwiki" + name + ".html"), printer.toString());
} catch(Exception e) {
System.out.println(e.getMessage());
}
There are many issues:
math symbols or formula are not converted and the html output is something
like
v = \\frac{d}{t},</math> where <math>v</math> is speed.
Top header is missing. (Speed)
tables are not formatted properly.
References section is incomplete.
Ideally I would HTML to exactly look like in wikipedia including images
where image links are pointing to images hosted on wikimedia and are display
in the same location as in wikipedia. Is this achievable and what do I need
to need in above code?
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/convert-mediawiki-article-on-wikipedia-to…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I can no longer make a XAR export of our wiki. The essential error message
in catalina.out seems to be
"Invalid white space character (0x1) in text to output (in xml 1.1, could
output as a character entity)"
Alas, there is no information about which wiki page contains this invalid
character. I can, of course, export parts of the wiki and repeat the
process until I find the offending page, but I suspect there has got to be
a more efficient way.
The full, relevant section of catalina.out on our test server is included
below.
Thanks in advance for any tips!
Cheers,
Peter John Acklam
2016-02-19 09:36:17,163 [
http://wiki-test/xwiki/bin/export/XWiki/XWikiPreferences?editor=globaladmin…]
WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 11015 in 11:
Exception while exporting
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:84)
~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:417)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
[struts-core-1.3.10.jar:1.3.10]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
[struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
[struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
[struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
[xwiki-platform-wysiwyg-server-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
[tomcat-websocket.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
[xwiki-platform-resource-servlet-7.4.1.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
[catalina.jar:8.0.30]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
[catalina.jar:8.0.30]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
[catalina.jar:8.0.30]
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
[catalina.jar:8.0.30]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
[catalina.jar:8.0.30]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)
[catalina.jar:8.0.30]
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)
[tomcat-coyote.jar:8.0.30]
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
[tomcat-coyote.jar:8.0.30]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
[tomcat-coyote.jar:8.0.30]
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
[tomcat-coyote.jar:8.0.30]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_66]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_66]
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util.jar:8.0.30]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
Caused by: org.xwiki.filter.FilterException: Failed to write element
at
org.xwiki.filter.xml.internal.output.FilterStreamXMLStreamWriter.writeCharacters(FilterStreamXMLStreamWriter.java:158)
~[xwiki-commons-filter-xml-7.4.1.jar:na]
at
org.xwiki.filter.xml.internal.output.FilterStreamXMLStreamWriter.writeElement(FilterStreamXMLStreamWriter.java:145)
~[xwiki-commons-filter-xml-7.4.1.jar:na]
at
org.xwiki.filter.xar.internal.output.XAROutputFilterStream.beginWikiDocumentRevision(XAROutputFilterStream.java:349)
~[xwiki-platform-filter-stream-xar-7.4.1.jar:na]
at sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source) ~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_66]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_66]
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
~[xwiki-commons-filter-api-7.4.1.jar:na]
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:63)
~[xwiki-commons-filter-api-7.4.1.jar:na]
at com.sun.proxy.$Proxy88.beginWikiDocumentRevision(Unknown Source) ~[na:na]
at
org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.writeRevision(XWikiDocumentLocaleEventGenerator.java:167)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:116)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107)
~[xwiki-platform-filter-instance-oldcore-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:229)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:195)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:161)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:130)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:54)
~[xwiki-platform-filter-instance-api-7.4.1.jar:na]
at
org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)
~[xwiki-commons-filter-api-7.4.1.jar:na]
at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:337)
~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:77)
~[xwiki-platform-legacy-oldcore-7.4.1.jar:na]
... 50 common frames omitted
Caused by: com.ctc.wstx.exc.WstxIOException: Invalid white space character
(0x1) in text to output (in xml 1.1, could output as a character entity)
at
com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:458)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at
javanet.staxutils.IndentingXMLStreamWriter.writeCharacters(IndentingXMLStreamWriter.java:209)
~[stax-utils-20070216.jar:na]
at
org.xwiki.filter.xml.internal.output.FilterStreamXMLStreamWriter.writeCharacters(FilterStreamXMLStreamWriter.java:156)
~[xwiki-commons-filter-xml-7.4.1.jar:na]
... 72 common frames omitted
Caused by: java.io.IOException: Invalid white space character (0x1) in text
to output (in xml 1.1, could output as a character entity)
at
com.ctc.wstx.api.InvalidCharHandler$FailingHandler.convertInvalidChar(InvalidCharHandler.java:55)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at com.ctc.wstx.sw.XmlWriter.handleInvalidChar(XmlWriter.java:629)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at
com.ctc.wstx.sw.BufferingXmlWriter.writeCharacters(BufferingXmlWriter.java:586)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
at
com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:456)
~[woodstox-core-asl-4.4.1.jar:4.4.1]
... 74 common frames omitted
The XWiki development team is proud to announce the availability of XWiki
8.0 Milestone 2.
This milestone improves some performance and caching issues of the LESS
module and continues improving and fixing usability aspects of Nested Pages.
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/ReleaseNotesXWiki80M2
The following people have contributed code to this release (sorted
alphabetically):
Alex Cotiuga
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Manuel Smeria
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hello, users of XWiki!
I just have released the first version (alpha) of a new application to help
you convert your existing (terminal) pages to nested pages after an upgrade
to a recent wiki (7.4.x is the targeted version).
This tool is available and can be installed directly with Extension
Manager. All informations are there:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+…
The application *does not currently apply the migration*. It only computes
a plan which say what actions should be done. The purpose, right now, is
only to test the tool without affecting any wiki.
There is an option to simply convert your pages to nested pages (Space.Page
=> Space.Page.WebHome) so they can have children (which they cannot while
being terminal). But, by default, the migrator tries to preserve the
existing hierarchy of pages (based on the "parent" field of each page) by
moving the pages under their parent page. So if you have SpaceA.PageA with
SpaceB.PageB as parent, the proposed migration will be SpaceA.PageA =>
SpaceB.PageB.PageA.WebHome.
In the future, the plan will also contain actions for preserving the
configured preferences (right now, if a page is moved, all the preferences
from its previous space are not applied to it anymore), and rights.
This version is a first step in order to have a very complete tool. A
design document have been written with more informations (
http://design.xwiki.org/xwiki/bin/view/Proposal/UpgradeToNestedPages).
I would love to see some of you testing this application, the user
interface, and judging the proposed plans. Don't hesitate to give your
feedbacks. Please tell me if you have other ideas that I have not listed in
the design document, like features that I have not think about.
Thanks a lot,
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
After importing a large number of spaces in my wiki, my server through the
following error when browsing which causes browsing delays.
22016-02-19 17:11:04,982
[http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-Com…]
WARN o.h.u.JDBCExceptionReporter - SQL Error: 1406, SQLState: 22001
2016-02-19 17:11:04,983
[http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-Com…]
ERROR o.h.u.JDBCExceptionReporter - Data truncation: Data too long for
column 'XWS_VALUE' at row 1
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.Admin
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:658)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:160)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1564)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1508)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1503)
at
org.xwiki.commons._CMP_WikiV3.script.PageBuilder.recentVisitedMiciUpdate(PageBuilder.java:2419)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:126)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:56)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:692)
at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1854)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:821)
at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1854)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:821)
at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570)
at
com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556)
at
com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1876)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
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(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
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:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.hibernate.HibernateException: Failed to commit or rollback
transaction. Root cause []
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:1022)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:649)
... 170 more
Caused by: org.hibernate.exception.DataException: could not update:
[com.xpn.xwiki.objects.StringProperty#component[id,name]{id=-3231836267878261431,
name=recent}]
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2494)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2821)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:113)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:185)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:1015)
... 171 more
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too
long for column 'XWS_VALUE' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4235)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2441)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2366)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2350)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2594)
... 183 more
2016-02-19 17:11:05,081
[http://192.168.0.35:8080/xwiki/bin/view/SDomain/HW_DEV/0_LIB/Components-Com…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.searchDocuments] in
52:xwiki:SDomain.HW_DEV.0_LIB.Components-CommercialPC.Library
Description.WebHome@17,27
any ideas what causes this? I'm running ubuntu server, tomcat 7 and mysql
setup.
Thanks
Gerrie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Server-SQL-error-tp7598052.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have attempted to look through the forums for the answer, unfortunately,
most of the information is *very* dated (2007, 2008, etc).
Xwiki V 7.4.1
I am having issues with disabling user registration. We do not want
unauthorized users to be able to register themselves. I have looked through
various permissions options, and I do not even have the 'unauthenticated
users' entry in the Users list, so I can't exactly remove register from this
user since it does not exist.
Steps to setup so far:
Install .war into tomcat
Leave wizard and use the 'never' option.
Login as superadmin, import .xar archive
Create a new user, and begin revoking rights from guests/unauthenticated
users.
Unfortunately, I have not found any way of actually disabling the
registration page and requiring an admin to create the account as we prefer
to do.
Looking forward to any info.
Thanks,
Daemoen
--
View this message in context: http://xwiki.475771.n2.nabble.com/Disable-User-Registration-tp7598049.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is possibile to view a simple example to call xwiki restful get documenti
using ajax jquery and json with Admin\admin authentication ? Tanks a lot.
Andrea Ferroni
I'm a bit desperate. We have newly installed XWiki (Enterprise
8.0-milestone-1) and I'm trying to get familiar with very basic page
editing.
For some reason every single link like [[whatever]] shows "WebHome" as a
text. I need to use [[whatever>>whatever]] with all links to show what it
actually is. It doesn't act like that on xwiki playground (or any other
wiki) so I don't know what could be wrong.
A steps I do:
1) open: http://url.com/view/NET/String/
2) click edit > Source
3) write: [[Number]]
4) Save and View
5) and I see "WebHome(?)" with link
http://url.com/create/NET/Number/WebHome?parent=NET.String.WebHome
6) after click and template selection it creates new page, which look ok, I
save that one
7) and the original link shows now as "WebHome" with link
http://url.com/view/NET/Number/
So.. how can I convince it to actually show "Number" instead of "WebHome"
without writing [[Number>>Number]] every single time?
--
View this message in context: http://xwiki.475771.n2.nabble.com/All-links-are-shown-as-WebHome-tp7598043.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am looking for an extension that adds div.xcontent as the body of an email
but populates it in an outlook message rather than sending from xwiki.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Mailto-Extension-tp7598041.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Let me share with you my comments about the WYSIWYG editor :
* when inserting tables, borders are hardly visible. Internal and
external borders, 1 pixel solid would be more visible
* same thing with the horizontal ruler that is invisible :-(
* lists are not flexible. For example, if I insert code or contents of
a configuration file under a 2nd or 3rd level bullet, I can't take
back my list after this insertion at the same level. I can't do that :
o XWiki setup :
+ code :
apt-get update
apt-get clean
apt-get install xwiki-enterprise-tomcat8-mysql
+ during the installation, let dbconfig take care of the MySQL
configuration
* a box to highlight code or file configuration content in monospace
and background-color will be great ! Like that :
# We need a workers file exactly once
# and in the global server
JkWorkersFile /etc/libapache2-mod-jk/workers.properties
# Our JK error log
# You can (and should) use rotatelogs here
JkLogFile /var/log/apache2/mod_jk.log
# Our JK log level (trace,debug,info,warn,error)
JkLogLevel info
# Our JK shared memory file
JkShmFile /var/log/apache2/jk-runtime-status
* or that :
<property name="connection.url">jdbc:mysql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">MOT.DE.PASSE</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="dbcp.poolPreparedStatements">true</property>
<property name="dbcp.maxOpenPreparedStatements">20</property>
Thank you for your excellent work !
Signature mails
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06
Mail : bruno.joffredo(a)ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr>
_________________________________________________
Hello everyone,
I am trying to modify the way the table of content (toc) macro behaves on
xwiki, and I have a few questions concerning that.
1- Is there anywhere else the macro is defined besides in macros.mv? the
changes I've made there did not show up on my xwiki instance after I
restarted it.
2- what is the point of macros.txt? I was not able to find documentation
for what xwiki is doing with that.
3- how would you recommend going about writing a new toc macro? I've been
doing that using velocity on a dedicated xwiki page, but I'm not able to
call some of the methods that toc macro is using, namely this call:
#set ($tocData = ${tdoc.getTOC($init, $max, $numbered)})
Thanks!
I have an existing instance of xwiki with some users and would like to
convert it to authenticate against an Active Directory server. I tried
setting up a new test instance of xwiki in a VM and was able to get it to
authenticate against AD. But in the test, the user directory was empty
(except for Admin) - so it created a new user at login. I'd appreciate some
help on the next step of configuring the system so that an existing xwiki
user authenticates against an existing AD entry.
I configured the test system as follows:
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=servername
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=subdomain\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=DC=subdomain,DC=domain
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.trylocal=0
Other details that may or may not be relevant:
- the AD login IDs contain periods which are not allowed in the xwiki names.
For the xwiki users that already exist, the login names are the same as
those in AD except that the period is replaced by an underscore
- there are xwiki 'users' with no corresponding entry in AD. Those xwiki
entries should not be allowed to login.
- the exception to the above point is the Admin user. If I add one of the
users with a corresponding AD entry to the Admin group, would that user be
able to do everything that the Admin user can do?
A nice to have would be to also bring the AD groupings/organizational units
across to xwiki. Is their an easy way to do this?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Convert-existing-xwiki-instance-to-Active…
Sent from the XWiki- Users mailing list archive at Nabble.com.