Hello,
Before installing XWiki, I wanted to play around in the Sandbox some to see
if it meets our requirements.
http://playground.xwiki.org/xwiki/bin/view/Sandbox/TestPage1 states:
Click on "Edit" and modify the contents of this page,
then click on "Save & View" to see how they look like on your page!
But there is no 'Edit' menu or button to be found.
And yes, I registered and logged in. Even tried different browsers to make
sure it isn't some pluggin I installed.
Is this supposed to work?
Kind regards,
Herta
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
Je suis absent(e) du bureau jusqu'au 28/12/2015
Je suis actuellement en congés.
En cas d'urgence, merci de contacter le Support Technique Isocel
support-technique(a)isocel.info ou Tel: 05 24 54 99 80
Remarque : ceci est une réponse automatique à votre message "Re:
[xwiki-users] Documentation on Velocity binding for 'config' object?"
envoyé le 18/12/2015 15:08:53.
C'est la seule notification que vous recevrez pendant l'absence de cette
personne.
Thank you for the information. I was able to to go directly to the Invitation.InvitationConfig Document and see where I could edit the snippet of code that accesses the 'guestsActionsPage'. (The Velocity code resides in an object of type "Invitation.WebHome" and there is an item titled "Email message body HTML template"). But I don't see anywhere that I can actually change the value of guestsActionsPage itself.
So I can't find where "$config.get("guestsActionPage") is actually defined. Is somewhere that I can modify its value? Or could it be hard-coded into the application?
I also looked at the XWiki.XWikiServerXwiki document and found an object of type XWikiServerClass. This object has a property named "Server" that is set to "localhost". But that's not what the getExternalURL method seems to be using (it is getting a value that matches the short hostname). Is this the property that you were referring to in your answer?
Thank you again for your help.
-Eric
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Eduard Moraru
Sent: Thursday, December 17, 2015 5:51 PM
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Documentation on Velocity binding for 'config' object?
Hi,
I don`t know the code of the app in question, but specifically to your
questions:
* the document "Invitation.InvitationConfig" seems to be the one holding the configuration object with the "guestsActionsPage" property
* getExternalURL uses the server configuration that you have set in your wiki's descriptor located in the main wiki at "XWiki.XWikiServerXwiki" (for the main wiki) or in "XWiki.XWikiServerWikiname" (for a subwiki).
Hope this helps,
Eduard
On Thu, Dec 17, 2015 at 8:36 PM, deltamind106 <ericj(a)valmarc.com> wrote:
> There is a snippet of Velocity code in the XWiki invitation email
> template that looks like this:
>
>
>
> *$xwiki.getDocumentAsAuthor($config.get("guestsActionsPage")).getExter
> nalURL())*
>
> Where is the 'config' binding for Velocity documented? If I want to
> change the value for "guestsActionPage", where would make this change?
>
> How does the "getExternalURL" method work? Currently, it seems to be
> using the short hostname in the URL it returns, which will not work
> for us since that particular hostname is not published on our DNS
> server. So I need to change the behavior of "getExternalURL" so that it uses an IP address.
> Where would I do that?
>
> Thank you in advance for any help you can provide.
> -Eric
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Documentation-on-Velocity-binding-fo
> r-config-object-tp7597271.html Sent from the XWiki- Users mailing list
> archive at Nabble.com.
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
There is a snippet of Velocity code in the XWiki invitation email template
that looks like this:
*$xwiki.getDocumentAsAuthor($config.get("guestsActionsPage")).getExternalURL())*
Where is the 'config' binding for Velocity documented? If I want to change
the value for "guestsActionPage", where would make this change?
How does the "getExternalURL" method work? Currently, it seems to be using
the short hostname in the URL it returns, which will not work for us since
that particular hostname is not published on our DNS server. So I need to
change the behavior of "getExternalURL" so that it uses an IP address.
Where would I do that?
Thank you in advance for any help you can provide.
-Eric
--
View this message in context: http://xwiki.475771.n2.nabble.com/Documentation-on-Velocity-binding-for-con…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki users and devs,
An important security issue in the XML-RPC module of XWiki (http://extensions.xwiki.org/xwiki/bin/view/Extension/XML-RPC+Integration) was brought to our attention by a community member (thanks Ruben Herold). Specifically if your wiki is available on the internet, it’s possible that an intruder may have had access to local files that can be read by the user under which you’ve started the Servlet Container used for XWiki.
Note 1: The issue actually comes from the version of the Apache XMLRPC module we were using (https://ws.apache.org/xmlrpc/). It’s been fixed in the latest version (3.1.3). We were using version 3.1.
Note 2: ThE XWiki XMLRPC module has been deprecated for a long time now (was replaced by REST) but it was still enabled till XWiki 7.3M1:
* In XWiki 7.3M1 we’ve turned off that feature
* In XWiki 7.4M2 we’ve removed it altogether by default
We recommend that you either upgrade to XWiki 6.4.7, 7.1.4 or 7.3+ or that you turn-off the XML-RPC feature on your wiki **especially if your wiki is open on the internet**.
Turning it off is easy: edit XWiki’s META-INF/web.xml file and comment out or remove the following sections:
...
<!--filter-mapping>
<filter-name>XWikiXmlRpcContextInitializationFilter</filter-name>
<servlet-name>xmlrpc</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping—>
...
<!--servlet>
<servlet-name>xmlrpc</servlet-name>
<servlet-class>com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet</servlet-class>
<init-param>
<description>Sets, whether the servlet supports vendor extensions for XML-RPC.</description>
<param-name>enabledForExtensions</param-name>
<param-value>false</param-value>
</init-param>
</servlet—>
...
<!--servlet-mapping>
<servlet-name>xmlrpc</servlet-name>
<url-pattern>/xmlrpc/*</url-pattern>
</servlet-mapping—>
…
Sorry for the inconvenience.
Thanks
-Vincent Massol on behalf of the XWiki Core dev team
PS: If you need to discuss more about this security issue we recommend that you use XWiki’s security list, see http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists
The XWiki development team is proud to announce the availability of XWiki
7.4 Milestone 2.
This is our last stabilization branch for the XWiki 7.x Cycle. It brings
polishing and stabilization for the Nested Pages feature and the changes in
UI that resulted from it. It is now possible to have template hierarchies,
and to add an automatic redirect when a page is renamed.
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/ReleaseNotesXWiki74M2
The following people have contributed code to this release (sorted
alphabetically):
Guillaume Delhumeau
Sergiu Dumitriu
Marius Dumitru Florea
Vincent Massol
Eduard Moraru
Thomas Mortagne
Manuel Smeria
Thanks for your support
-The XWiki dev team
Hi!
I'm moving an old XWiki installation (XWiki Enterprise 2.4.30451) to a new
box. It currently runs as root in a CentOS/Tomcat/MySQL box serving pages
at port 80. The destination is a Ubuntu/Apache Web Server/Tomcat MySQL
where an Apache virtual host will serve all controller and virtual wikis. A
different application is already running as root in the destination.
I do need to remove the application part of the URL from the pages served
by the new location. This is mainly due to lots of hardcoded URLs I''m not
able to get rid of them now.
This simple virtual host configuration works fine, but I'm not able to
understand how could I remove the "atriumkm", the application, part of the
URL...
<VirtualHost *:80>
ServerAdmin ricardo.rodriguez(a)idisantiago.es
ServerName isabel.idisantiago.es
RedirectMatch permanent ^/$ http://isabel.idisantiago.es/atriumkm/
ProxyPass /atriumkm http://localhost:8080/atriumkm
ProxyPassReverse /atriumkm http://localhost:8080/atriumkm
DocumentRoot /var/www/html
# Logging
ErrorLog /var/log/apache2/isabel.idisantiago.es-error_log
CustomLog /var/log/apache2/isabel.idisantiago.es-access_log common
</VirtualHost>
I've found this thread that it seems to me deals with a similar issue...
http://markmail.org/thread/u5hu7kw6rr2fcacx
... but I'm not able to understand how to get it working.
Please, must I be able to do that by modifying the VirtualHost
configuration? Must I modify web.xml? Something related with xwiki.cfg
parameters? There are a lot of information playing around and concepts I
don't understand well.
Any help will be extremely welcome!
Cheers!
Ricardo
Hi users,
I have installed XWiki 7.3 but when I start the service, you can see in the
attachments what the commando prompt is saying to me.
I have tried to unistall and re-install, I've cheched the environment
variable JAVA HOME and I don't know how to solve this.
Giordano.
Hi users,
I am wondering on how to update the content of a xwiki page, in paticular I
want to add a link to the content that already is in the page. Any
suggestions?
Giordano.
I'm creating a form but I prefer using HTML and bootstrap rather than only
velocity syntax. I have the following problem:
<http://xwiki.475771.n2.nabble.com/file/n7597164/userlist.png>
I want to insert user selection list into the form. By doing the following:
{{velocity}}
{{html velocity="true" }}
<div some html details>
#set( $tempobj = $doc.newObject('Classes.USR'))
$tempobj.display('userslist','edit')
</div>
{{html velocity="true" }}
{{/velocity}}
however I get the {{html}} tag around the search box which I don't want. How
can I remove this?
closing and opening the html before and after the call gives rendering
errors. Is there a way to all the $tempobj.display('userslist','edit')
function without rendering the {{html}} tags?
Which function in java lib will give me a simular output? maybe I can do
this through a java component?
What output does the displayEdit() method in BaseObject class give?
I tried something like this, but did not work, I might be totally wrong..
XWikiContext xcontext = this.xwikiContextProvider.get();
DocumentReference referenceClass = resolver.resolve("Classes.USR");
XWikiDocument doc = xcontext.getDoc();
BaseObject domainObject = doc.getXObject(referenceClass);
String disp = domainObject.displayEdit("userslist", xcontext);
return disp
--
View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-html-parsing-of-user-list-tp7597164…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi users,
I am developing a Java Component that offers APIs through a script service.
Those APIs have to modify space and pages' contents of a wiki, thus I was
wondering on how to do that....I already know that if I want to perform
modifications to a Wiki I must add the "xwiki-platform-oldcore" (in my case
the version 7.3) dependency to my pom.xml but I can't still access the
Classes and methods that I need. Meaning that I can't get the wiki from the
context, and this blocks everything because (if i am not wrong) then I
can't get the DocumentReference and the XWikiDocument that allow me to
perfom modification to the Wiki.
It is something related to the *settings.xml* file in the *.m2* folder?
What I've written in there is the same that i found at this page
http://dev.xwiki.org/xwiki/bin/view/Community/Building# but the
"xwiki-platform-oldcore" doesn't appear nor in the repository folder
neither in the Maven Dependencies....either the dependecy is written in the
pom....
Hope to find some help!
Giordano.
Hi Eduard,
Thank you for that response. I guess I should have detailed that I was
looking to get going in the fastest possible way with a long term, stable
deployment. I thought Jelastic might be a good way to provision but
they're pulling from edge rather than LTS. This might be something worth
looking at so not to discourage new deployments via Jelastic. Just good
customer experience and such...
I may have some time to look into this between semesters.
Best,
Andy
>
> ---------- Forwarded message ----------
> From: Eduard Moraru <enygma2002(a)gmail.com>
> To: XWiki Users <users(a)xwiki.org>
> Cc:
> Date: Wed, 9 Dec 2015 12:18:58 +0200
> Subject: Re: [xwiki-users] Click Deployment Issues with jelastic and wizard
> Hi,
>
> I don`t know about jelastic, but the fastest ways for you to try out XWiki
> would be (in order of simplicity):
>
> 1) Try out the live demo at
> http://playground.xwiki.org/xwiki/bin/view/Main/
> It's perfectly safe to do whatever you want, it is periodically reset. Note
> that not all features will be available though and it's not running the
> latest version.
>
> 2) Ask for a http://www.myxwiki.org account and you will receive a free
> subwiki instance that you can use for non-profit purposes, but with limited
> access (no Programming Rights) and no guarantees. This one has a currently
> a newer version than the playground.
>
> 3) Just grab the a local version of XWiki
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Download and install/unzip
> it on your machine to try out all XWiki's features with full control. No
> difficult setups needed either, just make sure you have the Java runtime
> installed on your machine.
>
> Hope this helps,
> Eduard
>
Good day.
I'm trying to add users to a users list within a object. After I have
instanciated the object on the document which I want to ammend, how do I
"set" and "get" the user list property in a java component? I have:
BaseObject domainObject = doc.getXObject(referenceClass);
domainObj.set("lisfOfUsers", ??user?? , xcontext);
domainObj is of a class where the "lisfOfUsers" is a List of Users property.
Currently I have the username as a string. I have tried creating a User or
XWikiUser object and setting the property with the object but with no
success.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-users-to-a-user-list-form-a-java-c…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Tried To Change skins of Waihonapedia.myxwiki.org.
Got a authorization error. Since That the url give white screen?
Help...
Thanks,
Gerritjan
Verstuurd vanaf mijn iPhone
Import and Export XAR will lost tree hierarchy?
I used to have a multi level tree hierarchy inside my wiki space.
But, when I import it, all the pages are flatten as the direct children of the space WebHome.
I use the default export tools to export a large 100M+ xar file under Xwiki-6.3
I use "Admin Tools" application to import large xar file under Xwiki-7.3.
Is it incompatible with tree hierarchy?
How do I get all the spaces for which the current user has access in a java
component?
I have the following:
List<String> lstSpaces = new ArrayList<String>();
XWikiContext xcontext = this.xwikiContextProvider.get();
XWiki xwiki = xcontext.getWiki();
lstSpaces = xwiki.getSpaces(xcontext);
Although this successfully returns all the spaces, it also returns the
spaces for which the current user has no "view" or other access rights. Also
it seems that the Java .getSpaces is deprecated and I can't seem to find the
new method for this. http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/
seems outdated as xwiki.getSpaces() is still active in this javadoc, with no
alternative. Is there a new javadoc availible?
--
View this message in context: http://xwiki.475771.n2.nabble.com/spaces-for-which-the-current-user-has-acc…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Wanting to get my feet wet with xwiki in the fastest way, I found that
jelastic supports xwiki for easy click deployments. However, I had a few
questions/issues that I hope someone could guide me through:
1) Is it possible in jelastic "click-like' deployment to select a branch
outside of the development (milestone1 in this case) for something the LTS
branch? I could not find anything from a jelastic viewpoint.
2) The Installation Wizard seemed to hang up on what exactly it was doing
without doing some toggling between "view details" and such. Maybe it's
not verbose enough tied in with a combination of newbieness.
3) icons of the css class sort are not manifesting in the default flavor
install (Blog, Dashboard, Statistics, etc...)
4) dropdowns in all cases (users, edit, more actions, etc) do not activate.
With that, I'm encouraged by the idea of xwiki, but I think I want
something more stable if I can figure out how to do that easily.
Thank you
Hi,
I am trying to get to grips with xWiki. I have installed the windows version
and would like to change the directory location of the database & support
files.
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration - this
page tells me that I can change the location used in
environment.permanentDirectory.
I have tried changing this to
environment.permanentDirectory=C:/xwikiFiles/
and also
environment.permanentDirectory=C:\xwikiFiles\
Neither have any affect; the %APPDATA% folder keeps getting used.
I see in the properties file that "Note if the system property
xwiki.data.dir is set then this property is not used."
How can i check if xwiki.data.dir is set? or what do i change so i can
change the data location of an install?
Thanks in advance
--
View this message in context: http://xwiki.475771.n2.nabble.com/Changing-location-of-the-database-etc-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a question on a Children section in the page information section.
I was running on older version of xwiki (3.3) and installed a new version
(7.3). While looking through the new version, I noticed a difference in the
children section of the page information.
In the new version, whenever I add a page, it would display two lines, the
page name and a header line. See example pictures below.
http://i.imgur.com/4bPORus.png
<http://xwiki.475771.n2.nabble.com/file/n7597117/4bPORus.png>
I'm not sure if this is by design, or something is wrong with my install.
When I create a new page and set the terminal flag, the page shows correctly
in the children section without a header line (or it has the same header as
my old pages).
Another example in my production xwiki.
http://i.imgur.com/JQeVbuV.png
<http://xwiki.475771.n2.nabble.com/file/n7597117/JQeVbuV.png>
In the above example, when I create a page, it inserts a header line into
the children section for each page. If I create a page with the terminal
flag set, it doesn't create a second header line.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Page-Information-Children-Display-issue-o…
Sent from the XWiki- Users mailing list archive at Nabble.com.