I have recently upgraded from 3.5 to 5.5. The upgrade went fine however after logging in I accidentally hit the cancel button instead of the skip. I now want to rerun the Distribution Wizard but I cannot figure out how to re-trigger it. Can this be done?
Hello! I'm trying to integrate bpmn-js into my xWiki application.
I istalled bpmn-js via bower into xWiki resource folder and then i created a
page with this content:
When the page loads (and the javascript libs are imported) I get some errors
about prototype.js and requirejs (http://pastie.org/9946255). How can I fix
this problem??
--
View this message in context: http://xwiki.475771.n2.nabble.com/Integrate-bpmn-js-into-xWiki-tp7593969.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
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
Hi!
I performed my first install ever of xwiki today using the latest
stable. Running with mysql (on separate hosts) as database. I've
installed my servlet container on Centos 7, with java and tomcat
versions as below:
[root@tomcat-01]# java -version
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.2.el7_1-x86_64 u85-b01)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
Installed Packages
Name : tomcat
Arch : noarch
Version : 7.0.54
Release : 2.el7_1
Since this is my first xwiki installation ever, I would like to share my
experience, problems I faced and unanswered questions below.
>From http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat
I thought that as per example, java settings:
JAVA_OPTS="-Xmx800m -XX:MaxPermSize=192m"
would allow me to install and play around with the application, since
that recommendation is higher than the "small installation" (512M)
reference found here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory
* My first problem appeared when I right after successful installation,
in the sandbox, created an empty testpage with one attachment of 3M in
size. I got an OutOfMemory exception when deleting that attachment.
- Are the documented java memory recommendations still applicable or
should they be considered as outdated for latest stable?
so I updated the java settings to solve the problem:
JAVA_OPTS="-Xmx1400m -XX:MaxPermSize=192m"
* My second problem appeared when I created my first page. The intention
was to create a page with a bunch of image attachments, using an
extension for displaying these images as an image gallery. When
uploading 116 images of individual size ~ 3M, a total size of 374M.
Uploading of files failed after 80 something files had been uploaded to
the page. The disk space on the servlet container server host was full.
In
/var/cache/tomcat/work/Catalina/localhost/xwiki/xwiki-temp/attachment-cache
a total of 6.3G of data had been stored.
- Looking at the checksum of the 2000 something files stored in this
directory there are 86 unique files some of which stored in 29 copies
during the upload process. Is this a desired behavior of the attachment
cache, or is this a bug?
* My third problem was when trying to install an extension. I was really
curious about, and wanted to test, the social login application, that
even is referred to from the administration guide
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HSocialL….
This extension does not install at all on the latest stable. My java
knowledge is limited, but, I interpret the error message as failure to
satisfy requirement of servlet api version 2.5 (maybe since latest
stable xwiki has servlet version prereq of 3.0+).
- Since the documentation only exist in one latest version, should I as
user assume that the documentation is applicable for latest
development-, stable- or long term release?
Now, it might be bad luck, or my failure to understand the xwiki release
process, that my first three tests of the software failed with problems.
I will now try the long term support release hoping that I successfully
can add attachments and install extensions according to my requirements.
Best regards
Johan Eriksson
Hello all,
I have a Database List which items are XWiki pages. Is there a way to make these items displayed as links so that one can access the related page by clicking on it?
Thanks in advance,
Sylvain
Hi,
I need to modify an XWiki application to add some functionality, but I
am new to XWiki and I am having a really hard time understanding it.
I'm running XWiki Enterprise 7.1.2. The FAQ application tutorial
<http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual>
looks promising, but the instructions are outdated and I can't figure
out how to get a finished product that looks like what the tutorial
has. The following instructions are particularly problematic:
> In the code, change the word "Main" with the name of the space where you want you FAQ pages to be created
There is no word "Main".
> If you click on "View the template document" and edit that page in wiki mode, you will see the following code: {{include document="FAQ.FAQClassSheet"/}}
The page is blank, I don't see any code.
> Use the Create top level menu (when using the Colibri skin) or the Create Panel to create the FAQ.WebHome page
I don't see anything marked "Create".
Is there an experienced XWiki developer who would be willing to go
through the FAQ application tutorial and rewrite it to make sense for
the latest version of XWiki?
More generally, it would be very helpful to have a glossary that
defines and relates terms like "application", "page", "document",
"object", "property", "class", "template", and "template provider".
These terms are used in the documentation with little or no
explanation, which adds to the confusion.
-Alex
Hello, I am interested in tracking who downloaded attachments from specific wiki pages. I saw this isn't available in the Stats app. Is this functionality available in any other module/extension?
Thanks,
Assia E. Alexandrova
Sr. Technology Strategist
Information Management Division
Fort Lauderdale Police Department
1300 West Broward Blvd.
Fort Lauderdale, Florida 33312
Tel.: (954) 828-5867
aalexandrova(a)fortlauderdale.gov<mailto:aalexandrova@fortlauderdale.gov>
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient, you are hereby notified that any disclosure, photocopying or distribution of these contents is unauthorized and prohibited by law. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received the e-mail in error; please immediately notify the sender by replying to this e-mail and placing "INCORRECT DESTINATION ADDRESS" in the subject line.
Hi!
The server where our XWiki 7.1.2. installation is running is in CEST
timezone. We do need to read dates in GMT timezone and find this...
How can I format a date in a different time zone in Velocity Template using
DateTool?
http://stackoverflow.com/questions/21691445/how-can-i-format-a-date-in-a-di…
I'm not able to get this running. Please, could somebody provide an example
of using or any other way to transform the date to GMT?
Thank you for your help!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
I've tried searching but can't seem to find anything relevant
I have a fresh install of Enterprise 7.2 Milestone 1. Everything seems to be
running ok except for 1 thing. This problem seems to be the same on the
standalone installer and by installing via the WAR package.
When I click on add and select page it takes me to a page titled "Create
Page" looks the same as the online playground. The problem is when I give
the page a name and click create it creates a new space instead.
For example, if I click in to "Sandbox" and then do create page leaving
location as "Sandbox" and then put in a page name of "TestPage" and then
click create. It takes me me to the WYSIWYG editor where I can put in
content. I then put in some random content for test purposes and click save
and view. Everything looks fine on that front. Now if I go back to the
dashboard however it lists under spaces "Sandbox.TestPage" It seems to be
creating a new space instead of a page.
I have gone to the online playground on the xwiki.org website and tried the
same thing and it seems to be working as expected, creates a page and not
another space.
I have attached a screenshot below, you can see I've tried a couple times
with no luck. Any help would be appreciated.
<http://xwiki.475771.n2.nabble.com/file/n7595617/spaces.png>
--
View this message in context: http://xwiki.475771.n2.nabble.com/Creating-a-new-page-creates-a-space-inste…
Sent from the XWiki- Users mailing list archive at Nabble.com.