Hello
I just tested Xwiki 7.2 and Windows 2012 LDAP (AD) : work fine for existing
users in the active directory
(account created from Windows)
But if I create a new user from Xwiki I can't see created in the LDAP !
How to update from Xwiki to LDAP ?
In other words is It possible ?
Thanks
Sebastien
--
View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-Updates-issue-from-Xwiki-to-Windows-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I am using a conversion from XWiki syntax to XHTML which is working like a charm. The challenge I have however is the following:
I am running a (test velocity) script from the Sandbox space. I am converting documents in a different space (let’s say AAAA).These documents contain objects with textarea’s where the references are in the form of [[text>>doc:filename]] since it refers to documents in the AAAA space. The conversion of XWiki links is “going down the drain” since the converter is using the Sandbox space to resolve the reference to the page and generates a create reference to the file.
Is there an easy way to set the (default) space (in either Java or Velocity) without having to run the script from the actual space (in this case, the AAAA space)?
Br,
Peter
Hey folks,
I'm from Germany, so already sorry for my bloody english.
I use the xe.panels.navigation for the navigation on my xWiki. Now the
following: I created pages, which has an difference between the url and the
name of the site.
For example:
Title - Page one
Adress - /xwiki/bin/main/different-page-one
This now causes problems in the alphabetical order of the navigation, due to
the fact, that the order is being set by the adress "name".. My questions
is: Can I change this behavior? So that the following code will sort the
pages not by their url name but by their Page name?
The code:
{{velocity}}
#panelheader($services.localization.render('xe.panels.navigation'))
## Escape special characters in macro parameter values.
#set ($openToDoc = $doc.documentReference.toString().replaceAll('([~"])',
'~$1'))
{{documentTree showSpaces="false" showTranslations="false"
showAttachments="false" showDocumentTitle="true"
showChildDocuments="true" finder="true" compact="false"
openTo="document:$openToDoc" root="space:xwiki:Main"/}}
#panelfooter()
{{/velocity}}
Changing the adresses or url's is not a possible solution, due to the
unflexibility of a partner we are working with. Is there a possible change
or do I have to put up a manual navigation?
--
View this message in context: http://xwiki.475771.n2.nabble.com/xWiki-Change-Navigation-scheme-tp7596292.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I use xwiki 6.4 with the forum application. I would like to subscribe to a
forum and receive a notification by mail when a new subject or a comment is
posted. Is it possible with the current version ? I didn't find a way to do
it.
Thanks!
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/ForumApplication-Subscribe-by-mail-tp7596…
Sent from the XWiki- Users mailing list archive at Nabble.com.
First thxs both but it is not what I want try to do.
I want to keep default button "Save, save and contine and Cancel" like usual.
With velocity I added a button to update my class object on my page and redirect to another one. My button working well in view mode but I want to use it in edit mode, then I must save my page before my class object update and redirection if not all page modifications will be lost.
My main problem if I rewrite my code in JS is that I can not update my class object field attached on my page.
(It's a shame it doesn't exist an $xwiki.LaunchSaveCurrentPage)
Can I launch "save page" with javascript? My idea: i launch save my page in JS from edit mode to view mode with param (do redirect on another page). With this way I can keep my nice existant velocity code.
Do you know how if I can launch "save page" in JS then?
I see that a submit in JS go to preview mode, maybe I must modify the action target of #inline before submit?
--- En date de : Lun 5.10.15, Eduard Moraru <enygma2002(a)gmail.com> a écrit :
> De: Eduard Moraru <enygma2002(a)gmail.com>
> Objet: Re: [xwiki-users] How to add a button with confirmation to save my page?
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Lundi 5 octobre 2015, 17h35
> Hi,
>
> You might want to have a look at the javascript
> [1] events that are thrown
> when pressing the
> standard save / save & continue buttons that you
> might
> want to catch and insert a
> confirmation to the user. Depending on the
> user's answer, you can either cancel the
> event or modify the dom (to add
> some
> xredirect input) then let the event finish.
>
> Hope this helps,
> Eduard
>
> P.S.:
> remember to use the event bridge module [2] to be able to
> listen to
> PrototypeJS events from jQuery.
>
> ----------
> [1]
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> [2]
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HBridgingcu…
>
>
> On Mon, Oct
> 5, 2015 at 6:08 PM, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com>
> wrote:
>
> > I think the
> Save action supports an 'xredirect' parameter. So if
> your
> > form has a hidden input field with
> name='xredirect' then the user will
> > be redirected to the specified URL after
> the page is saved. So what
> > you can do
> is:
> >
> > * catch the
> click event on the button
> > * ask for
> confirmation
> > https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm
> > * cancel/prevent the event if no, set the
> value of the 'xredirect'
> >
> parameter otherwise
> >
> > Hope this helps,
> >
> Marius
> >
> >
> > On Mon, Oct 5, 2015 at 5:35 PM, Pascal
> BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> > wrote:
> > > Hi,
> > >
> > > I have my
> application with MyClass, MySheet and MyTemplate.
> > > When I have a new page (based on
> MySheet/Class), in edit mode I can
> >
> modify all my fields of Myclass Object but I want to add a
> button to save
> > my page after
> confirmation...
> > >
> > > For the moment I have a button to
> redirect in a new page BUT I want to
> >
> save current page before redirect if the user agreed a
> confirmation box.
> > >
> > > More precisely on my nice appli, on
> new page in edit mode, I have
> > standard
> Save, Save and continue and cancel button and I want another
> one
> > to ask on clik: "are you sure
> to save current fields modified on current
> > page and open this another page"?
> > > - if yes save current page, add a
> value in a field with velocity and
> > save
> and redirect to another one.
> > > - if
> No stay in edit mode
> > >
> > > Do you have a way to recommend?
> > > (perhaps I must try
> $('#form').submit(function() { with jquery) but
> I
> > don't know if this save my
> page?
> > >
> > >
> Thxs for any help.
> > >
> > > Pascal B.
> >
> >
> > >
> > >
> _______________________________________________
> > > 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
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Ok thanks, would be great if you could create a jira issue at http://jira.xwiki.org and we’ll look at it
Thanks for your help!
-Vincent
PS: Please continue replying on the list and not directly to me ;) (this allows everyone to see the exchange and learn from it - and it’ll be indexed by google for later searches)
On 5 Oct 2015 at 10:49:04, Miroslav Galajda (miroslav.galajda(a)gmail.com) wrote:
Hi, the repro si here. The problem occured when I set the xwiki.showviewaction=0 and then installed the xwiki. There's bigger problem than I've described. If you go into preferences and try to change language, it will not change after save. And this creates the saveandcontinue space.
Mirec
On 5 October 2015 at 10:26, Miroslav Galajda <miroslav.galajda(a)gmail.com> wrote:
Hi, currently I cannot reproduce the problem. It seems OK. But I remember that I've made some xwiki.cfg configuration changes. I was using xwiki.showviewaction=0 setting, to hide view actions and UrlRewriteFilter as described here http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs. I'm going to try setting the xwiki.showviewaction=1 and try it again.
Mirec
On 5 October 2015 at 10:06, Miroslav Galajda <miroslav.galajda(a)gmail.com> wrote:
OK, I'm going to try it again.
Mirec
On 5 October 2015 at 10:04, vincent(a)massol.net <vincent(a)massol.net> wrote:
FTR I’ve done the same thing as you and didn’t get any issue. The only difference is that I’m using the Jetty+HSQLDB distribution and you’re using Oracle.
Maybe there’s a problem with Oracle.
Let us know if you still have saveandcontinue when you start a clean 7.2 *without* making any change and whether the saveandcontinue space appears after you set the language or after you set the mail config.
Thanks
-Vincent
On 5 Oct 2015 at 09:57:48, vincent(a)massol.net (vincent(a)massol.net) wrote:
Try doing this again but without changing anything (don’t change the language preference) and let us know if you still see the saveandcontinue space.
It could be that we have a bug when changing langage prefs?
Thanks
-Vincent
On 5 Oct 2015 at 09:56:11, Miroslav Galajda (miroslav.galajda(a)gmail.com) wrote:
Hi, I wrote that I have clean install on a clean DB (oracle). All what I have done after installation was, that I've loged in as an Admin and have changed language preferences to "sk-sk" and mail configuration. After that I see the saveandcontinue space with the following structure:
saveandcontinue
Mail
MailConfig
XWiki
XWikiPreferences
Can you verify that?
Mirec
On 5 October 2015 at 09:46, vincent(a)massol.net <vincent(a)massol.net> wrote:
Hi Mirec,
On 4 Oct 2015 at 22:10:57, Miroslav Galajda (miroslav.galajda@gmail.com(mailto:miroslav.galajda@gmail.com)) wrote:
> Hi,
>
> after a fresh new installation of xwiki 7.2, I noticed that there's new space called 'saveandcontinue’.
I’ve downloaded a clean 7.2 and checked and there’s no such space. I believe you must have somehow created it.
Maybe you could try reinstalling a clean 7.2 version to check it.
Thanks
-Vincent
> It can be found on the dashboard/welcome page in pages tree. It is also shown in My Recent Modifications panel and in Activity stream, after modification of xwiki preferences and mail settings. This is probably some bug. It seems to me that this is something internal which should not be shown and should not be treated as my modification. The shown pages inside saveandcontinue space are just empty pages. What’s wrong?
>
> Mirec
Hi,
I have my application with MyClass, MySheet and MyTemplate.
When I have a new page (based on MySheet/Class), in edit mode I can modify all my fields of Myclass Object but I want to add a button to save my page after confirmation...
For the moment I have a button to redirect in a new page BUT I want to save current page before redirect if the user agreed a confirmation box.
More precisely on my nice appli, on new page in edit mode, I have standard Save, Save and continue and cancel button and I want another one to ask on clik: "are you sure to save current fields modified on current page and open this another page"?
- if yes save current page, add a value in a field with velocity and save and redirect to another one.
- if No stay in edit mode
Do you have a way to recommend?
(perhaps I must try $('#form').submit(function() { with jquery) but I don't know if this save my page?
Thxs for any help.
Pascal B.
> >
> > I need install
> this extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Video+Macro
> on http://coc.myxwiki.org.
> > Is it possible without PR or a nice admin
> can do it or is it strickly forbidden?
>
> Did you try it? It didn’t
> work?
Yes PR required: "Programming right is required to install extension [org.webjars:video-js-4.11.4] on namespace [wiki:coc]"
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
Hi,
after a fresh new installation of xwiki 7.2, I noticed that there's new space called 'saveandcontinue'.
It can be found on the dashboard/welcome page in pages tree. It is also shown in My Recent Modifications panel and in Activity stream, after modification of xwiki preferences and mail settings. This is probably some bug. It seems to me that this is something internal which should not be shown and should not be treated as my modification. The shown pages inside saveandcontinue space are just empty pages. What’s wrong?
Mirec
Hello XWiki experts,
I'm porting confluence-syntax-pages from a confluence to my shiny new xwiki.
I've made a little tool to grasp the attachments (by hand) and am
copying the page content.
These pages were using two macros that I am try to reprogramme but am
failing thus far.
I succeeded creating the macro with the easy tutorial here
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial,
including content or parameters references in the XWiki 2.1 syntax but
in the confluence syntax I am failing:
- how can I specify macro parameters there?
- confluence macros do not have open and close tags. Does it mean it
cannot have content? If the macro requires content, an error is
displayed constantly that the content is missing.
thanks
Paul
Hi, after fresh new installation of xwiki 7.2, I noticed that there's new space called 'saveandcontinue'.
It can be found on the dashboard/welcome page. It is also shown in My Recent Modifications panel and in Activity stream, after modification of xwiki preferences and mail settings. This is probably some bug. It seems to me that this is something internal which should not be shown and should not be treated as my modification. The shown pages inside saveandcontinue space are just empty pages. What's wrong?
Hi All,
I need to empty recycle bin (both pages and attchments) but I'm not authorized
to do so.
Page:
http://tutos.myxwiki.org/xwiki/bin/view/Main/AllDocs?view=deletedAttachments
Returns:
This document requires programming rights and needs to be saved by an
administrator of this Wiki
Thanks for your help I'm not in a hurry :-).
Best regards
> > Indeed, when using “Always on this
> wiki” we currently require PR. I think we should allow it
> if you’re the owner of the wiki or have admin permissions.
> Maybe you could start a discussion thread on this or create
> a jira issue?
> >
> > For
> now, you can use “On demand” or “only on this page”
> and it should work fine.
> >
Then for the moment, do you have another way I can use to apply a css instruction on all my site ?
Thxs
>
> > The current way
> it works right now is uselessly confusing.
>
> See also http://extensions.xwiki.org/xwiki/bin/view/Extension/Home+Page+Application on
> this topic, where I tried to have the best of both
> worlds.
Thxs a lot, it seem clear and useful (I will use it, hope it's working with 7.1.2)
>
> I didn’t succeed
> in convincing others that it was a good solution though so
> it stayed as an extension.
It's shame, because I'm far to be an xwiki expert but I know very well your product now and I'm still confuse to customize home page (after xwiki.cfg it is the first page to "play" with).
The perfect example:
http://coc.myxwiki.org/xwiki/bin/view/Main/?language=fr (simple text)
http://coc.myxwiki.org/xwiki/bin/view/Main/?language=en (dash board)
and in edit mode some instruction that i don't understand.
Pascal B
> > created your wiki here:
> > http://coc.myxwiki.org/xwiki/bin/view/Main/
Hello,
About my new site on myxwiki.org, I'm very disoriented about the customization of welcome page ...
If i'm login as Admin, Main.WebHome show only this text:
<<<C'est un site web facile à éditer qui aidera les membres de votre équipe à mieux travailler ensemble. Ce wiki se compose de pages organisées par espaces. Vous êtes actuellement sur la page d'accueil (WebHome) de l'espace principal (Main).
Vous pouvez utiliser le bac à sable afin de tester les fonctionnalités de votre wiki.>>
When I'm login as admin if I edit my welcome page this message is displayed on top of gadget dashboard:
<<Vous êtes en train de modifier un tableau de bord défini dans un document différent,coc:WikiManager.Dashboard. Vos changements auront un impact sur toutes les pages incluant cette configuration de tableau de bord. Si vous souhaitez personnaliser cette page, éditez-la en mode WYSIWYG et configurez la macro "tableau de bord" avec un paramètre source vide.>>
I don't understand what's meaning " configurez la macro "tableau de bord" avec un paramètre source vide"? I must edit the source of Main.Welcome and replace {{dashboard source="Main.Dashboard" /}} by {{dashboard source="" /}} ?
If I follow the instruction like a normal user, I'm quickly lost: I can not follow this instruction and I obtain 2 different welcome page depending of language of my browser: english one with dashboard and the french one with the short text "C'est un site web facile à éditer..."
http://coc.myxwiki.org/xwiki/bin/view/Main/?language=frhttp://coc.myxwiki.org/xwiki/bin/view/Main/?language=en
In my advice, xwiki must be simplier to customize welcome page. It is the first impression the most important, isn'it?
(I activated 2 langages on: coc.myxwiki.org, en and fr default)
Thxs
Pascal B.
>
> On 1 Oct 2015 at 08:51:01, vincent(a)massol.net
> (vincent@massol.net(mailto:vincent@massol.net)) wrote:
>
> > I’m ok on
> my side to allow Owner to be able to use the “Always on
> this wiki” visibility for JSX/SSX.
> Allowing PR is another matter and
> I’m -1 for that, it’s too dangerous. With PR you can do
> anything: hack the OS, delete all the wikis of the farm, etc
> (voluntarily or not!).
Yes I'm agree with you. It's too dangerous for groovy code and JAR...
But are there same risk if you allow only full velocity code+xwiki API?
(I don't know if some methods need PR anyway)
>
> Sorry, I
> cannot accept that, I’m a Castle Clash player :)
Lol
I wonder the difference between these game? date creation? or time spending probably? a nightmare!
>
> Just kidding of course, I’ve
> created your wiki here:
> http://coc.myxwiki.org/xwiki/bin/view/Main/
>
> Remember that it obeys the
> rules defined at http://myxwiki.org/xwiki/bin/view/Main/WebHome
>
Ok
Thxs
Pascal B.
Hi,
Could you provide this nice wiki?
description: web site to share some presentation, news and strategies about our clan: "Valhalla" on game: "Clash of clans"
owner name: thorgal aegirsson
wiki name: coc.myxwiki.org
Thxs
Thorgal
Hi all,
I'm new with xwiki and need help before I go crazy here. I just tried to
install the 'proper' .war installation after a being happy with the xwiki
standalone installation. The main reason to switch is not performance (it'll
be a small wiki), but the fact that I can't seem to run it as a service and
it stopped running after not being logged on for a couple of days. Back to
topic...
I chose what seemed like the easiest path to me from the manual install
documentation:
Jetty (9.3.3) + HSQLDB (2.3.3) + xwiki (7.2) on Windows server 2008 R2
(don't have a choice of using something else there)
I think my problem is an utter lack of knowledge of how to configure
jetty+hsqldb.
The good news is that I get to the xwiki initialization screen when I access
hostname:8080/xwiki/
Bad news is that it throws a http 500 error once it's done initializing, see
the log below.
Here is what I did: I literally wet by the documentation and I suspect that
I'm missing the part where I define the hsqldb setup (db location and
connection):
- extracted jetty in a folder
- extracted the xwiki 7.2 .war file into the webapps subfolder in jetty
- copied the hsqldb.jar file in the WEB-INF/lib subfolder in xwiki
- uncommented the HSQLDB part in the hibernate.cfg.xml
- set the directory to environment.permanentDirectory="E:/Data/Wiki/data/"
in xwiki.properties; I used unix-like path even though I'm on windows. Using
\ instead of / did not work either
I did not set up a database, user, etc for hsqldb, is that my problem? The
documentation made it sound like this is not necessary.
I would really appreciate any input because I started over again a few times
already and am lost.
Cheers
Sebastian
--
View this message in context: http://xwiki.475771.n2.nabble.com/HTTP-500-war-installation-with-Jetty-and-…
Sent from the XWiki- Users mailing list archive at Nabble.com.