Hello,
I try to use $cookietool without success...
(I try to get my cookie with $request too but I didn't mange either)
Any help to use it?
My need, I created some cookie with javascript + onclick and I need to get them in my velocity code to avoid blinking during loading page (to hide some div if cookie is present)
Thxs
Pascal B
Hi all,
I'm running XWiki 6.2 (Oracle-DB / Tomcat7) with two sub-wikis.
I learned that for each sub-wiki, a database is created. Does anyone know the username and password for the sub-wiki databases? Are they the same as for the main database?
Here's why I'm asking: I'm trying to transfer the wiki including the sub-wikis to a new server, but the XWiki-User is not allowed to create databases there. So I had the admin set up the databases and sent three dumps of the main and sub-wiki databases. After importing, I can't access the wiki, I get an error message like this:
SQL Error: 1435, SQLState: 72000ORA-01435: No such user
So, basically, the question is: How to transfer a wiki including sub-wikis to a new server?
Hello,
I finalized my "ShowHide only right panel" extension.
I use only one JS function and 1 cookie.
Here the code and instruction if you want (like you show me your xar :-) )
---------------------------
To use it:
- you must add this html code in a page (in footer by example)
{{html}}
<label id="BtnSHPanel" class="btn" onclick="ShowHidePanel('#rightPanels',90)" title="Replier/Déplier le panel de droite">⇄</label>
{{/html}}
- add JS Cookie function (Cookie.xar)
- and replace this line in template (or use xwiki object):
./templates/rightpanels.vm
<$bodyTagName id="body" class="skin-flamingo wiki-${xcontext.database} space-${escapetool.xml($doc.space.replaceAll(' ', '_'))} ${bodyAction}body #if($showLeftPanels == "0" || $!request.getCookie('CkPanelhidden'))hideleft#end#if($showRightPanels == "0" || $!request.getCookie("CkPanelhidden"))hideright#end#if($hidecolumns && ($!hidecolumns == 1))hidelefthideright#end #if($showLeftPanels != "0" && $showRightPanels != "0" && $!hidecolumns != 1)content#end panel-left-width-${leftPanelsWidth} panel-right-width-${rightPanelsWidth}">
./skins/flamingo/htmlheader.vm
#if($showRightPanels == "1" || $request.getParameter("forceRightPanels") || $!request.getCookie("CkPanelhidden"))
<div id="rightPanels" class="panels right panel-width-$!{rightPanelsWidth}"#if(($showRightPanels != "1" && $request.getParameter("forceRightPanels")) || $!request.getCookie("CkPanelhidden"))) style="display: none;"#end>
#set($panelUixs = $services.uix.getExtensions('platform.panels.rightPanels'))
---------------------------
My JS function:
----------
function ShowHidePanel(VarPanelId, day) {
//Show or Hide panel depend of cookie
var PHidden = readCookie('CkPanelhidden');
require(['jquery'], function ($) {
if (!PHidden) {
//Hide the panel and save state in a cookie
$('#xwikicontent').append("<p>Debug Hide Panel:VarPanelId "+VarPanelId+"</p>");
createCookie('CkPanelhidden',true,day);
$(VarPanelId).slideUp(0);
}
$('#body').toggleClass('hideleft hidelefthideright');
$('#contentcontainer').toggleClass('hideleft hidelefthideright');
if (PHidden) {
//Show the panel and delete the cookie
eraseCookie('CkPanelhidden');
$(VarPanelId).slideDown(0);
}
});
}----------
(xwiki users list in copy if interested)
Pascal BASTIEN
________________________________
De : Paul-Catalin Cojan <paul.cojan(a)xwiki.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
Envoyé le : Mardi 4 novembre 2014 17h21
Objet : Re: [xwiki-devs] [Contrib] Hide-Show Panels extension
Hello,
I attached the xar.
On Tue, Nov 4, 2014 at 5:59 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
Hello,
>
>Could you send me your xar, plz?
>I'm interested with it (I'm started to work on a similar panel in CSS but I hadn't time to add some JS to make it persistent with cookie + JS) and worked on another job priority before to continue...
>
>I will send you eventually bugs if I encountered some before you publish on e.x.o.
>
>Thanks by advance.
>
>Pascal B
>
>
>
>________________________________
> De : Paul-Catalin Cojan <paul.cojan(a)xwiki.com>
>À : devs(a)xwiki.org
>Envoyé le : Mardi 4 novembre 2014 16h18
>Objet : [xwiki-devs] [Contrib] Hide-Show Panels extension
>
>
>Hello devs! I created an extension that allows to hide and show the left
>and the right panel column. It have only one document XWiki.PanelsShowHide
>with one jsx and one ssx object. I need a repository on
github. The name
>can be : panels-showhide-extension or application-showhide-panels or if
>you have any suggestion. Thank you!
>_______________________________________________
>devs mailing list
>devs(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/devs
>
>
>
The XWiki development team is proud to announce the availability of
XWiki 6.3 Release Candidate 1. This release comes with 16 new Flamingo
themes adapted from Bootswatch and a new application to manage them.
The document index tree and the Navigation panel have been greatly
improved by using a new tree widget which is exposed as a wiki macro.
The developers will be interested by the new WebJar integration
features. This, along with 17 improvements and 33 bug fixes, makes
this release worth trying.
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/ReleaseNotesXWiki63RC1
Thanks
-The XWiki dev team
Hi users and devs,
I would like to have your opinion on the topic of case sensitive vs case
insensitive and which one you prefer in XWiki.
Currently, XWiki is case sensitive. This means the same resource name
(document name, space name, etc) can be written with either small letters
or big letters or a mix.
Examples: You can have both "Main.Test" and "Main.test" as 2 different
documents. Also, you can have "XWiki.Admin" and "XWiki.admin" as 2
different users. This also applies to URLs, as "/Main/Test" is different
from "/Main/test" or "/main/test", so all these 3 are different resources.
Even from this short description, one can already identify possible
problems of this approach.
>From the top 3 operating systems (Linux, Mac an Windows), only Linux is
case sensitive, the other two (more user-focused Operating Systems) are
both case insensitive.
Since XWiki has one of its main targets the Enterprise users, it is safe to
assume that the correct approach would be to also be more user-focused and
simplify things and avoid confusions by being case insensitive as well.
Also, a quick search on existing issues validates the need for this
improvement:
http://jira.xwiki.org/issues/?jql=text%20~%20%22case%20insensitive%22
What do you think? Is it OK to keep XWiki case sensitive, or would you
prefer it case insensitive? Bring arguments.
I have also created a jira issue for this idea:
http://jira.xwiki.org/browse/XWIKI-11412 to track it in the future.
Thanks,
Eduard
Hi All,
Is there a way to stop the Wiki from Re-initializing after every Tomcat restart? I am using version 6.2.3 Enterprise with Tomcat 6 & MySQL.
Thanks,
Doug Pham
I've written several scripts in Groovy that I want to make available to other users, but some of them contain information that I don't wish people to see (queries giving away schema details, connection passwords for JDBC/LDAP, etc). As I understand it if a person is able to view a page in which code is executed they are also able to see the source for that page. That being the case is there a recommended approach to hiding some details from prying eyes?
Hello everybody,
I just started to check out XWiki 5.4.6 in the "standalone" package (Win7, 32bit).
It installed fine and I can play with it locally (http://localhost:8080).
If I put "http://<hostname>.<domain>:8080/" in a browser on a _remote_ machine, I get a HTTP error 500 telling me:
"Error number 11007 in 0: Failed to extract Entity Resource from URL [http://ricardo_tubbs.eboek.local:8080/xwiki/bin/view/Main/]"
Is the standalone version meant to work just locally and that's it?
If not: what should I check or fix in any way?
Thanks,
Holger
Hello all,
I have this odd problem and I'm hoping someone can help. I was messing with permissions and now all my regular users, other than admins can't see any rows in ANY LiveTable. I've checked permissions on every related object I can think of and can't find anything out of the ordinary, but I can't think of anything else that might be causing the issue. Any help is GREATLY appreciated...
Thanks in advance,
Jason
Having made my XWiki site available to other users, I was concerned to find that the site became unusable at one point with client connections eventually timing out. I had no way to diagnose the problem, but eventually I managed to make a (slow) SSH connection to the server and restarted Tomcat, and things seemed to settle back to normal.
The problem is I have no real sense of what happened and how to prevent it happening again. To that end, I'd appreciate any suggestions for monitoring the server and diagnosing poor performance. What do others typically use? I have an Apache2 server passing wiki page requests to Tomcat7 via an ajp connector, and a PostgreSQL database. My guess is that Tomcat is doing most of the work here so that's probably what I need to monitor the most.
Hi there. I'm trying to create a specialized macro for my wiki that is
simply three divs, two of which have css background images that are
attached to the macroclass page.
I've tried rendering the URL into the css style attribute, and I've tried
attaching the image to the same.
I see it done with the the included macros, and I know that I can call
images from other pages, but is there a way to use an image in css?
I love xwiki, but information on this type of stuff is incredibly sparse on
the Internet. Maybe I'm the only person trying to do this stuff...
Thanks in advance! :)
--
Dale Davidson
Technical Writer / Production Diagnostics
www.RanchSystems.com
Thank you all for the quick answers :-)
Sadly none of the proposed syntax work on my Main.WebHome page, but they all work on any other page of the wiki. Is there an option that I might have changed to get this result?
Cheers
Adrien
Hello,
I just installed XWiki on my computer to make a small Wiki for myself and I was unable to display icons on the page Main.WebHome.... Icons work fine on the other pages, but when I write [image.icon.accept] in the editor, the text icon.accept appears on the page instead of the icon.... Is that normal?
Cheers
Adrien
Hello everyone,
If you’re wondering what kept the QA team busy during the last few days,
the answer is a lot of testing and a brainstorming effort in order to
devise a series of statistics for the product, which would be featured with
the product version 6.2.
We believe that the statistics ought to be implemented for the following
reasons:
a) They would allow for better communication between us and the community
b) Each version would be more easily evaluated this way
c) The product’s evolution would be more easily observable by tracking the
changes in these statistics from one version to another
d) A more complete overview on the long-term evolution of the product
would be possible, with an opportunity to analyze a series of items in
detail
We consider some of the above-mentioned items to be quite important. Here
is a list of the most important ones:
- No. of downloads
- No. of active installs
- No. of tests executed / added
- Jira issues fixed - by resolution, by priority, by type
- Jira issues opened - by priority, by type
- Closed vs open tickets
- Stats for important tags: e.g. ie10, mobile, flamingo
- Stats for major features: e.g. flamingo, extension manager, solr
- Top overall issues reporters
- Top non-XWiki SAS issues reporters
- Extensions quality: issues reported (top 10 extensions)
- Extensions quality: issues closed (top 10 extensions)
- l10n translations: existent, missing
- Performance stats
Therefore, your opinion on the following issues would be of great use to
us:
a) The list offered a number of items that we deem important for our
measurements and assessments. We would like to know whether you agree with
the list and we would like to have your opinion regarding other items that
we would consider inserting in the list?
b) Where would you like us to publish the statistics and the conclusions
that would result from their analysis? We were thinking about the following:
- On a ‘Project Health’ page
- On a page designated to each product version (each version would have
its own page with statistics)
- In the test.xwiki.org
- Within a blogpost
- A mix of the above
We await your reply and feedback regarding the viability and usefulness of
our proposal.
Thank you for your time
--
Andreea Zenovia Popescu
QA Engineer @XWiki SAS
Vincent wrote:
> BTW if you have setup some tools and have had successes
> with them to monitor xwiki instances, it would be great if
> you could add some doc about them at
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Monitoring
>
Thanks for the pointers. These sound like useful tools, although I think to cover the situation I encountered (web services looked up) I probably need to get more familiar with the logs, make sure they collect the right stuff, and have a command-line tool to filter it. But yes, I shall certainly contribute any experience I glean back into the wiki.
Dear community,
I tried to migrate a test xwiki instance to 6.x on my red-hat linux server,
and encountered a (fatal) issue: as it requires java 7, in turn, it
requires RHEL >= 5.5 (and I'm on an old RHEL 4.6) due to glibc (thank you,
java...).
Upgrading red-hat on this server is not an option for now, even if it's way
too old I agree, so I hope I'll be able to do this upgrade one day ... :/
But my point is, do you think interesting to add this information in
installation guide somewhere ? [1]
Maybe there's a better place, or maybe it's not needed at all I don't
know... There's already info about java 7 obviously, I'm talking about
specific impact for red-hat.
WDYT ?
Best regards,
Jeremie
[1] - http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation
Hello,
On my Tomcat server / Xwiki 6.2.2, I have this log (catalina.log) when I start my Tomcat
2014-10-29 10:14:51,213 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]]
oct. 29, 2014 10:14:55 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: "Servlet.service()" pour la servlet action a lancé une exception
java.lang.NullPointerException
oct. 29, 2014 10:14:55 AM org.apache.catalina.core.StandardHostValve custom
SEVERE: Exception Processing ErrorPage[errorCode=404, location=/bin/view/Main/DocumentDoesNotExist]
java.lang.NullPointerException
I checked on my Xwiki and effectively Main.DocumentDoesNotExist ... does not exist. :-)
Do you think this log is normal? Do you have the same? I must create a custom Main.DocumentDoesNotExis?
Thxs for any help.
Pascal BASTIEN
Hello All:
I am running into issues with setting up xwiki enterprise platform on my
network. Basically it starts and loads to 100% and not much else I am
thinking it's a configuration issue with something I have left out.
Here is what I am using for xwiki.
Win2012R2
SQL2012
Tomcat/JDBC/JTDS
Is their a definitive install guide for using windows/sql server? The stuff
I have come across isn't as specific as I would like to see.
Any thoughts would be much appreciated and would be happy to post java
output from tomcat.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWIKI-Enterprise-Installation-Issues-tp75…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
6.3 Milestone 2.
This milestone brings a couple of improvements to Extension Manager, Panels
Application and the Space Deletion UI, together with a couple of developer
oriented features such as a JSON service for Solr and a better and cleaner
(HTML5-friendly) way of storing and obtaining in JavaScript information
about the current document.
Also, 31 bugs were fixed in this release, so this makes it yet another
reason to upgrade and try it out.
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/ReleaseNotesXWiki63M2
Thanks
-The XWiki dev team
Hi,
Thanks for clarification.
Our site used multiple color themes, basically because we are a federation
of organizations.
We changed colorThemeInit.vm to do this.
basicly it works, but when in a stylesheetextension:
#template('colorThemeInit.vm') #disclaimer h3 {background-color:
$theme.menuBackgroundColor;}
We always get the color of the default site color theme and not the color
theme that is loaded on the page?
Any solution?
Yes the LESS compiler is running on the server, except for the preview box
of the Flamingo Theme Application.
You should be able to put any valid LESS code in the "advanced" section of
that application.
For example, if you want to set a bootstrap variable that the application
does not handle, you could add:
@modal-content-bg: red;
But you can also add new CSS classes, like:
.myClass{
background-color: red;
}
and this class can use LESS functions and bootstrap mixins:
.myClass{
background-color: darken(red, 10%); // LESS function
.make-xs-column(12); // Bootstrap mixin
}
And the class will be added to the default style.css. I am updating
http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Applica…
I hope this helps,
2014-10-27 16:01 GMT+01:00 Gerritjan Koekkoek <gerritjankoekkoek(a)gmail.com>:
> Does the Less to CSS preprocessor in the Flamingo themes app run on the
> server?
> What documentation is available (or examples of what kind of Less code can
> be entered in the Advanced Less box?
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
I am testing XWiki 5.0.2 (standalone ZIP version) to take a look at some
extensions which don't work with our current XWiki 4.0.
One of these extensions is the Diagram Appication
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Diagram+Application>
I have a couple of questions:
1) In the Diagram Applications, there are nice graphs (computers, network,
etc). I can see those graphics when I am in the edit mode, but as soon as I
"Save & View", those graphics are not displayed anymore! How can I get these
graphics to show?
2) I would like to include a diagram in another page, but if I use the
"Include" macro, I only get the "XML-text" (and not the actual diagram). How
can I "include" a diagram into a page?
Thanks in advance!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Diagram-Application-tp7585510.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Je serai absent(e) à partir du 28/10/2014 de retour le 04/11/2014.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Does the Less to CSS preprocessor in the Flamingo themes app run on the
server?
What documentation is available (or examples of what kind of Less code can
be entered in the Advanced Less box?
Hoi,
in Mediawiki it's possible to insert one's name and the current
date quite easily with four tilde characters: ~~~~.
Is it possible to do this in a convenient way in Xwiki, as well?
And if so, how?
I think it should be possible by creating a macro. However, I
would appreciate if inserting the signature would be a simpler
tag than: {{sign/}}.
meillo