Hi!
I'm really enjoying the new upgrade wizard. It allows to me to concentrate
in details that never catch my attention before :-)
A minor detail that I would like to clarify. 7.0.1 XWiki Enterprise release
notes reads "Note that you should add xwiki.store.migration=1 so that XWiki
will attempt to automatically migrate...". But this parameter and value
(set to 1) are included in xwiki.cfg by default.
Please, why don't remove this comment from the release notes?
Thanks!
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hi!
On Wed, May 6, 2015 at 4:21 PM, <thomas.mortagne(a)xwiki.com> wrote:
> On Wed, May 6, 2015 at 4:12 PM, Marius Dumitru Florea
> <mariusdumitru.florea(a)xwiki.com> wrote:
> > On Wed, May 6, 2015 at 4:45 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
> >> Helle,
> >> May I?
> >>
> >> i think it is not a xwiki problem because encoding_vowels.txt file is
> an attachment of a web page (it is like a file on FTP site). Xwiki (
> fortunely) doesn't change attachment file content.
> >> If I download your file, file command indicate of course: "UTF-8
> Unicode text, with no line terminators"
> >> I think it is more a browser problem (chrome doesn't detect UTF8
> encoding of your file)
> >> If your attachment is a PDF file, it is the same, it depend of browser
> (if PDF reader are included in it or not)
> >
> >> Htttpheader is for web page an not attachment IMO
> >
> > When you click on the link the browser makes an HTTP request (with
> > headers) without knowing (or caring) what the response may be (HTML,
> > text, binary, etc.). The server (XWiki in this case) sends the HTTP
> > response **with headers**, because the headers tell the browser what
> > to do with the response. The Content-Type header tells the browser
> > that the response contains text content. The Content-Type can also
> > specify the encoding. If no encoding is specified then the browser
> > will attempt to detect the encoding (or use some default / configured
> > encoding) which may not be the expected encoding, like in this case.
> >
> > XWiki needs to specify the right encoding in the Content-Type header.
>
> Problem is that XWiki does not really knows it, not in a generic way.
>
>
Then, please, must I report an issue?
My use case here: we frequently use plain-text files as exchange media for
some sets of simple information that always content accented vowels and ñ
(Spanish names and surnames and institutions' names). In several ways we
promote the use of UTF-8 encoding all along the "chain of producers" of
such files. People accessing then as attached files to XWiki pages
depicting a snapshot at a given time of, for instance, the composition of a
group. Those users occasionally use their web browsers to access that kind
of files. From here, we receive frequent complaints about garbled files.
The solution is so simple as to manually change Text Encoding in the web
browser to UTF-8 or set it by default. But this is out of our scope to
control such settings! Thus, it will be great if we can send that
information to the client, to the browser.
Follow this discussion is no clear to me if the response sent by XWiki must
or can include that information when responding to calls asking for
attached text files. Mustn't it?
Thanks for your time!
Ricardo
> >
> >>
> >> Pascal B.
> >>
> >> --------------------------------------------
> >> En date de : Mer 6.5.15, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com> a écrit :
> >>
> >> Objet: Re: [xwiki-users] struggling with encoding
> >> À: "XWiki Users" <users(a)xwiki.org>
> >> Date: Mercredi 6 mai 2015, 14h34
> >>
> >> On Wed, May 6, 2015 at
> >> 2:08 PM, [IDIS Technical Secretariat] Ricardo
> >> Rodríguez <ricardo.rodriguez(a)idisantiago.es>
> >> wrote:
> >> > Hi!
> >> >
> >> > I've set up a XWiki Enterprise 7.0.1
> >> installation to use UTF-8 as per...
> >> >
> >> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
> >> >
> >> > In spite of this,
> >> only Chrome (both in Windows and Mac OS X platforms) is
> >> > able to correctly show the five accented
> >> vowels contained in an attached
> >> > file
> >> UTF-8 encoded available here...
> >> >
> >>
> >> >
> http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/encoding_vowel…
> >>
> >> If I inspect the HTTP headers
> >> of the response I see:
> >>
> >> Content-Type: text/plain;charset=
> >>
> >> I guess it should have been
> >>
> >> Content-Type:
> >> text/plain;charset=utf8
> >>
> >> I
> >> can reproduce with a fresh XWiki 7.1M1 (Jetty+HSQLDB). Can
> >> you
> >> report an issue?
> >>
> >> Thanks,
> >> Marius
> >>
> >> >
> >> >
> >> Firefox (Windows and Mac OS X), Safari and Omniweb in Mac OS
> >> X and Internet
> >> > Explorer show them
> >> wrongly by default as...
> >> >
> >> >
> http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/badRendering.p…
> >> >
> >> > I've to manually
> >> select UTF-8 encoding the read it correctly or select
> >> > UTF-8 as default encoding for the
> >> browser.
> >> >
> >> > Please,
> >> is it possible to control the encoding used by a browser to
> >> display
> >> > an attached text file from
> >> XWiki server side?
> >> >
> >> >
> >> Thanks!
> >> >
> >> > Ricardo
> >> >
> >> > --
> >> > Ricardo Rodríguez
> >> >
> >> Research Management and Promotion Technician
> >> > Technical Secretariat
> >> >
> >> Health Research Institute of Santiago de Compostela
> >> (IDIS)
> >> > http://www.idisantiago.es
> >> >
> >> _______________________________________________
> >> > 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
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hi!
I've set up a XWiki Enterprise 7.0.1 installation to use UTF-8 as per...
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
In spite of this, only Chrome (both in Windows and Mac OS X platforms) is
able to correctly show the five accented vowels contained in an attached
file UTF-8 encoded available here...
http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/encoding_vowel…
Firefox (Windows and Mac OS X), Safari and Omniweb in Mac OS X and Internet
Explorer show them wrongly by default as...
http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/badRendering.p…
I've to manually select UTF-8 encoding the read it correctly or select
UTF-8 as default encoding for the browser.
Please, is it possible to control the encoding used by a browser to display
an attached text file from XWiki server side?
Thanks!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
The XWiki development team is proud to announce the availability of
XWiki 7.1 Milestone 1.
This release improves the Solr Search UI by making it responsive on
small screens. The users can now sort, paginate and filter the search
results without a page reload. A summary has been added to the
extension diff view in order to ease the navigation of the local code
changes. The WatchList performance has been improved, especially for
the Realtime notification option. The developers can now trigger old
Prototype event listeners from jQuery. A new API is available to
escape wiki syntax. 49 bug fixes and 29 improvements complete this
release and make it 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/ReleaseNotesXWiki71M1
The following people have contributed code to this release:
Clemens Robbenhaar, Denis Gervalle, Ecaterina Moraru (Valica), Eduard
Moraru, Gabriela Smeria, Guillaume Delhumeau, Jean SIMARD, Manuel
Smeria, Marius Dumitru Florea, pabro, Petr Abrahamczik, Sergiu
Dumitriu, Thomas Mortagne, Victor Rachieru, Vincent Massol
Thanks for your support
-The XWiki dev team
Hello,
We experience a few weeks of difficulties in accessing adminitrations
pages XWiki spaces whether with users with administrative authorizations,
as well as the user "superadmin" (not present in the database).
Our context is:
- XWiki 5.4.4
- Authentication via LDAP
We suspect a change of data in database on one or more pages with the side
effects unable to manage now the XWiki instance in its entirety.
We would have an analytical view correction track at the database (Which
table to control, what (s) line (s), what (s) data (s) ?).
Thanking you in advance for items you can give us about it.
Sincerely,
Anthony H.
Hi!
After an update to XWiki Enterprise 7.0.1 from 7.0, I miss the wiki
dashboard in the left column. Before getting mad, please, must I find this
icon/feature in the left column of my site? Must I find a Dashboard space
in the updated wiki?
I've faced some "weird" behaviours that I've been not able to reproduce,
but I'm sure that now we've not a Dashboard space in the XWiki
installation! I'm afraid I'm lost about the "new" extensions and
applications system. I would like to understand why that "dashboard
traveled until XWiki Enterprise 7.0 and failed to go on with 7.0.1.
Please, could you point me in the rigth direction?
Thanks!
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Oh! I forgot to mention we are running 7.0.1 and a custom skin/theme based on the flamingo skin.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 05 May 2015 17:53
To: XWiki Users
Subject: [xwiki-users] Printing pages as displayed
Hi
Is there a way of printing the pages as they are displayed? Ideally printing without the side panel, but with all the different colours/formatting as it appears on the screen would be ideal. At the moment all colours and formatting is stripped if you try to print directly from the page, using the print preview option or by exporting to PDF.
I have tried an export to HTML and then using the local html file to see if that works but it seems that whatever script/css is forcing the print formatting still takes effect on the exported html. I have tried saving the page only directly but it still does the same thing. I have tried Chrome. Firefox and IE.
I have also tried a google search and I have searched for print and printing on the FAQ but there are so many results it may take a few hours to go through them all. I suspect there’s a CSS file I need to modify somewhere (possibly print.css?) that will format the export with the header colours etc. If so, please could someone kindly point me at the correct documentation or provide any tips/hints?
Thanks in advance.
Kind regards,
Mahomed
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
Is there a way of printing the pages as they are displayed? Ideally printing without the side panel, but with all the different colours/formatting as it appears on the screen would be ideal. At the moment all colours and formatting is stripped if you try to print directly from the page, using the print preview option or by exporting to PDF.
I have tried an export to HTML and then using the local html file to see if that works but it seems that whatever script/css is forcing the print formatting still takes effect on the exported html. I have tried saving the page only directly but it still does the same thing. I have tried Chrome. Firefox and IE.
I have also tried a google search and I have searched for print and printing on the FAQ but there are so many results it may take a few hours to go through them all. I suspect there’s a CSS file I need to modify somewhere (possibly print.css?) that will format the export with the header colours etc. If so, please could someone kindly point me at the correct documentation or provide any tips/hints?
Thanks in advance.
Kind regards,
Mahomed
Description: I'm interested in experiment new diagrams plugins to use xwiki
as a software development documentation tool.
owner name: gusehr
wiki name: gusehr
[]'s
Gustavo Ehrhardt
Hi
We completed the upgrade to 7.0.1 and my initial testing is showing that this is now working as expected (i.e. permissions are being applied immediately and users can be members of multiple groups)
Thank you very much for sorting this out!! :-)
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of vincent(a)massol.net
Sent: 18 April 2015 19:03
To: Marius Dumitru Florea; XWiki Users
Subject: Re: [xwiki-users] User Permissions Issue
And 6.4.4 has now been released with a fix! :)
Thanks
-Vincent
On 16 Apr 2015 at 11:00:02, Marius Dumitru Florea (mariusdumitru.florea@xwiki.com(mailto:mariusdumitru.florea@xwiki.com)) wrote:
> We just added a note to the 6.4.3 RN
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki643
> . Check the text in red. Maybe you are facing the same issue.
>
> On Tue, Apr 14, 2015 at 7:22 PM, mahomed wrote:
> > Thanks for still responding Hamster. Am I correct that you are using version
> > 5.4.3 and not version 7? I think it got changed/broken in v6
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
I'd like to know if it's possible for a livetable on the main wiki to list
pages from a subwiki that contain objects of a class defined on the subwiki.
Thanks,
Jamal
--
View this message in context: http://xwiki.475771.n2.nabble.com/Cross-wiki-livetable-tp7594795.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
In my quest to import JSPWiki data into xWiki I found a thread about writing a new Filter Module.
I see the source code of the Confluence Filter but I'm confused about this.
Can I write it as an xWiki component ? Can I write it without embedded it into xwiki source code ?
François B.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Thank you Caleb!
On Apr 28, 2015, at 5:00 AM, users-request(a)xwiki.org wrote:
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: How to Add WYSIWIG toolbar button (Marius Dumitru Florea)
2. SSL on Tomcat 7 Xwiki (Niko B.)
3. Re: SSL on Tomcat 7 Xwiki (Caleb James DeLisle)
4. Re: How to Add WYSIWIG toolbar button (Mahomed Hussein)
----------------------------------------------------------------------
Message: 1
Date: Mon, 27 Apr 2015 21:17:52 +0300
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] How to Add WYSIWIG toolbar button
Message-ID:
<CALZcbBZ4o0qor0vtPxo-XmzkxVK1cus3FmpqFzaRRMt9CgAT0A(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
On Fri, Apr 24, 2015 at 7:27 PM, Mahomed Hussein
<Mahomed(a)custodiandc.com> wrote:
> Hi
>
> I have a problem where users want to highlight text in the WYSIWIG editor and press a button on the toolbar to automatically add the {{code}}, {{warning}} etc. start and end tags to the text. I know how to add a macro button and to style it. But the problem with the macro is that it pops up a form with a text area that you then need to fill in with text you want to put inside the tags. The behaviour I am looking for is similar to highlighting text and then pressing the Bold button on the toolbar.
>
> I have done some digging/searching/googling and found the simpledittoolbar.vm and I?ve customised this and added the copy to my skin. I have added the following code in the relevant sections and it works perfectly when I click Edit>Wiki but it doesn?t show on the toolbar when I click Edit>WYSIWIG. I am running XWiki 7.0
simpledittoolbar.vm affects only the wiki editor.
>
> #set($discard = $syntax10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> #set($discard = $syntax20Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> #set($discard = $confluence10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> So any idea how I can make the button show on the WYSIWIG toolbar? Alternatively how do I make the macro execute on the highlighted text?
It's not simple. You have two options:
(1) Put a button on the toolbar with something like
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
then listen on click and use
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
#getSelectionRange() to access the selected text and then
#getCommandManager() to
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
#execute the 'macroInsert' command. The complex part is to understand
the format of the command parameter. You can check
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
.
(2) Write a plugin for the WYSIWYG editor from Java, but for this
you'll have to recompile the editor and thus you'll end up with a
custom editor, which is harder to maintain over time and may cause
upgrade headaches.
Hope this helps,
Marius
>
> Thanks in advance.
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 2
Date: Mon, 27 Apr 2015 11:57:07 -0700
From: "Niko B." <nikofication(a)gmail.com>
To: users <users(a)xwiki.org>
Subject: [xwiki-users] SSL on Tomcat 7 Xwiki
Message-ID:
<CAB3iuQ45z7VczqhqS56f_o0z1PJ7BzfUci-Yc9+5vXwZmE5-vw(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
I am trying to setup SSL/TLS on xwiki running tomcat7. I am trying to find
the tomcat conf file and the java directory but they dont seem to be in the
default location. Since we are running tomcat, the ssl certificate would
have to be in tomcat correct? Would this be easier in Jetty? Does anyone
have instructions on how to setup SSL/TLS on xwiki or can someone point me
in the right direction?
Thanks in advance!
------------------------------
Message: 3
Date: Tue, 28 Apr 2015 10:11:43 +0200
From: Caleb James DeLisle <cjd(a)cjdns.fr>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] SSL on Tomcat 7 Xwiki
Message-ID: <553F40BF.2010501(a)cjdns.fr>
Content-Type: text/plain; charset=utf-8
I know it's possible to setup tomcat itself to do TLS but personally I would
look at using an Apache/AJP connector or Nginx/HTTP for handling the TLS and
proxying back to the Tomcat server. I know Apache/AJP -> Tomcat to be well
tested but I'll throw in a word for Nginx/HTTP -> Jetty just because I have
a personal soft spot for it :)
Thanks,
Caleb
> On 04/27/2015 08:57 PM, Niko B. wrote:
> Hi,
>
> I am trying to setup SSL/TLS on xwiki running tomcat7. I am trying to find
> the tomcat conf file and the java directory but they dont seem to be in the
> default location. Since we are running tomcat, the ssl certificate would
> have to be in tomcat correct? Would this be easier in Jetty? Does anyone
> have instructions on how to setup SSL/TLS on xwiki or can someone point me
> in the right direction?
>
> Thanks in advance!
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Satire is the escape hatch from the cycle of sorrow, hatred and violence. #JeSuisCharlie
------------------------------
Message: 4
Date: Tue, 28 Apr 2015 09:31:57 +0000
From: Mahomed Hussein <Mahomed(a)CustodianDC.com>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] How to Add WYSIWIG toolbar button
Message-ID: <65b0756296074e7c9bb26c2994633ec9(a)CDC-EX1.cdc.local>
Content-Type: text/plain; charset="utf-8"
Hi Marius
Thank you very much for this info. It is very helpful. Unfortunately I may take me a bit of time to assimilate and understand it all :-) But I will certainly give it a try in the next few weeks. I'll do my best to remember to post my results.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 27 April 2015 19:18
To: XWiki Users
Subject: Re: [xwiki-users] How to Add WYSIWIG toolbar button
On Fri, Apr 24, 2015 at 7:27 PM, Mahomed Hussein
<Mahomed(a)custodiandc.com> wrote:
> Hi
>
> I have a problem where users want to highlight text in the WYSIWIG editor and press a button on the toolbar to automatically add the {{code}}, {{warning}} etc. start and end tags to the text. I know how to add a macro button and to style it. But the problem with the macro is that it pops up a form with a text area that you then need to fill in with text you want to put inside the tags. The behaviour I am looking for is similar to highlighting text and then pressing the Bold button on the toolbar.
>
> I have done some digging/searching/googling and found the simpledittoolbar.vm and I?ve customised this and added the copy to my skin. I have added the following code in the relevant sections and it works perfectly when I click Edit>Wiki but it doesn?t show on the toolbar when I click Edit>WYSIWIG. I am running XWiki 7.0
simpledittoolbar.vm affects only the wiki editor.
>
> #set($discard = $syntax10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> #set($discard = $syntax20Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> #set($discard = $confluence10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> So any idea how I can make the button show on the WYSIWIG toolbar? Alternatively how do I make the macro execute on the highlighted text?
It's not simple. You have two options:
(1) Put a button on the toolbar with something like
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
then listen on click and use
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
#getSelectionRange() to access the selected text and then
#getCommandManager() to
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
#execute the 'macroInsert' command. The complex part is to understand
the format of the command parameter. You can check
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
.
(2) Write a plugin for the WYSIWYG editor from Java, but for this
you'll have to recompile the editor and thus you'll end up with a
custom editor, which is harder to maintain over time and may cause
upgrade headaches.
Hope this helps,
Marius
>
> Thanks in advance.
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
>
>
> _______________________________________________
> 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
------------------------------
Subject: Digest Footer
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
End of users Digest, Vol 93, Issue 57
*************************************
Hi Marius
Thank you very much for this info. It is very helpful. Unfortunately I may take me a bit of time to assimilate and understand it all :-) But I will certainly give it a try in the next few weeks. I'll do my best to remember to post my results.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: 27 April 2015 19:18
To: XWiki Users
Subject: Re: [xwiki-users] How to Add WYSIWIG toolbar button
On Fri, Apr 24, 2015 at 7:27 PM, Mahomed Hussein
<Mahomed(a)custodiandc.com> wrote:
> Hi
>
> I have a problem where users want to highlight text in the WYSIWIG editor and press a button on the toolbar to automatically add the {{code}}, {{warning}} etc. start and end tags to the text. I know how to add a macro button and to style it. But the problem with the macro is that it pops up a form with a text area that you then need to fill in with text you want to put inside the tags. The behaviour I am looking for is similar to highlighting text and then pressing the Bold button on the toolbar.
>
> I have done some digging/searching/googling and found the simpledittoolbar.vm and I’ve customised this and added the copy to my skin. I have added the following code in the relevant sections and it works perfectly when I click Edit>Wiki but it doesn’t show on the toolbar when I click Edit>WYSIWIG. I am running XWiki 7.0
simpledittoolbar.vm affects only the wiki editor.
>
> #set($discard = $syntax10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> #set($discard = $syntax20Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
> #set($discard = $confluence10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
>
> So any idea how I can make the button show on the WYSIWIG toolbar? Alternatively how do I make the macro execute on the highlighted text?
It's not simple. You have two options:
(1) Put a button on the toolbar with something like
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
then listen on click and use
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
#getSelectionRange() to access the selected text and then
#getCommandManager() to
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#…
#execute the 'macroInsert' command. The complex part is to understand
the format of the command parameter. You can check
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
.
(2) Write a plugin for the WYSIWYG editor from Java, but for this
you'll have to recompile the editor and thus you'll end up with a
custom editor, which is harder to maintain over time and may cause
upgrade headaches.
Hope this helps,
Marius
>
> Thanks in advance.
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
>
>
> _______________________________________________
> 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
Hi,
I am trying to setup SSL/TLS on xwiki running tomcat7. I am trying to find
the tomcat conf file and the java directory but they dont seem to be in the
default location. Since we are running tomcat, the ssl certificate would
have to be in tomcat correct? Would this be easier in Jetty? Does anyone
have instructions on how to setup SSL/TLS on xwiki or can someone point me
in the right direction?
Thanks in advance!
Hi
I have a problem where users want to highlight text in the WYSIWIG editor and press a button on the toolbar to automatically add the {{code}}, {{warning}} etc. start and end tags to the text. I know how to add a macro button and to style it. But the problem with the macro is that it pops up a form with a text area that you then need to fill in with text you want to put inside the tags. The behaviour I am looking for is similar to highlighting text and then pressing the Bold button on the toolbar.
I have done some digging/searching/googling and found the simpledittoolbar.vm and I’ve customised this and added the copy to my skin. I have added the following code in the relevant sections and it works perfectly when I click Edit>Wiki but it doesn’t show on the toolbar when I click Edit>WYSIWIG. I am running XWiki 7.0
#set($discard = $syntax10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
#set($discard = $syntax20Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
#set($discard = $confluence10Elements.add(['code', '{{code}}', '{{/code}}', 'page_code']))
So any idea how I can make the button show on the WYSIWIG toolbar? Alternatively how do I make the macro execute on the highlighted text?
Thanks in advance.
Kind regards,
Mahomed
I'm sure we can debate this all day.
XWiki is very simple for end users to use. The actual purpose of the wiki (to allow people to create/edit/view articles/pages) is simple and straight-forward. I have everyone in our organisation using it successfully, and trust me, some of the end users should not be allowed near computers. But they managed to use the system for its purpose just fine. That doesn't mean that they can all install, configure, update and customise XWiki.
I'll give you another analogy. XWiki is like a fine car. Cars are easy to use and drive by almost anyone. But that doesn't mean everyone can fix a car. Even if you know a little bit about how engines work and how to change the oil etc. Some jobs just have to be left to the professionals. XWiki is the same. Everyone can use it very easily. But when it comes to the advanced stuff, if you can't understand the excellent documentation, and no one can help you on the mailing list then the problem is not with XWiki.
I consider myself a very competent engineer and developer, but there are some things that even I find quite advanced in XWiki. That goes to show how powerful it is (and what a great job the developers have done).
Anyway I don’t think this is too constructive for the mailing list so I will stop here. You are entitled to your opinion and I am to mine (I think XWiki is great). If you don't like XWiki then I hope you find something that suits you better. That's the beauty of the internet and open source. You can always find something that suits you or make your own :)
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Pascal BASTIEN
Sent: 22 April 2015 22:23
To: XWiki Users; Maciej Fokt
Subject: Re: [xwiki-users] Clear them all! :p
Hello,I'm sorry, I'm not agree with you : a powerfull system must hide the systems complexity... And it is a wiki : it's mean if there aren't enough simple documentation then anybody (high ueser AND "normal people" with non computer vision) must write a page to contribute and make more available for "simple" user. :-)
IMO we can use a simple xwiki and/or use higher level xwiki and/or a customized one. :-)
Pascal B.
De : Mahomed Hussein <Mahomed(a)CustodianDC.com>
À : Maciej Fokt <maciek.fokt(a)taxi123.pl>; XWiki Users <users(a)xwiki.org>
Envoyé le : Mercredi 22 avril 2015 18h37
Objet : Re: [xwiki-users] Clear them all! :p
That's just the way technology is. The more powerful a system is, and the more options it has, then the more "technical" it is. If you want something that's easy for "no computer" people then I'm afraid you need to use something which has less features and power. A jumbo jet pilot needs to have more experience and knowledge than a Cessna pilot. The jumbo jet has more buttons and features and probably cannot be easily or ever flown by a Cessna pilot. That's just the way things are.
XWiki actually has VERY good documentation (some of the best I've seen, and I've seen a lot of systems). It also has a helpful mailing list. Unfortunately it's not XWiki' s fault if you can't understand the documentation or the help that you have been offered several times here.
I genuinely hope you manage to find a system that you like and works for you.
Kind regards,
Mahomed
-----Original Message-----
From: Maciej Fokt [mailto:maciek.fokt@taxi123.pl]
Sent: 22 April 2015 17:27
To: XWiki Users; Mahomed Hussein
Subject: Re: [xwiki-users] Clear them all! :p
No way... I have back to the 1.1 version and now i haven't settings...
Why XWiki (good, big and helpful toll) can be so hard for "no computer"
people...
Thanks all for help, but XWiki is too hard for me, I think.
W dniu .04.2015 o 18:00 Mahomed Hussein <Mahomed(a)custodiandc.com> pisze:
> He has a problem with his install and I believe he wants to "reset" the
> system so it will be the same as when he installed it for the first
> time. I don't think this is possible without uninstalling, then
> searching and deleting all files/folders related and then installing
> from the beginning.
>
>
> Kind regards,
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Ecaterina
> Moraru (Valica)
> Sent: 22 April 2015 16:30
> To: XWiki Users
> Subject: Re: [xwiki-users] Clear them all! :p
>
> I guess you could revert the WebPreferences history to version 1.1.
>
> For example, in the Administration you have this URL:
> - "xwiki/bin/admin/XWiki/XWikiPreferences"
> You could do:
> - "xwiki/bin/view/XWiki/XWikiPreferences?viewer=history"
> and then on the version 1.1 use "Rollback".
>
> Not sure if this is what you meant.
> Thanks,
> Caty
>
>
> On Wed, Apr 22, 2015 at 6:01 PM, Maciej Fokt <maciek.fokt(a)taxi123.pl>
> wrote:
>
>>
>> Hello,
>>
>> Is there option to return to the first contain and settings? I mean, I
>> want to clear everything. I would like to back to the settings after
>> installation.
>>
>> Greetings,
>> Maciek.
>> _______________________________________________
>> 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
_______________________________________________
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
10 days ago you released 6.4.4 we a few important bug fixes. I now want to
switch from 5.2.1 to 7.0, but I am waiting for the fixes in 6.4.4 to be
included in 7.0. When do you plan to release 7.0.1? And many thanks for an
excellent product!
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWIKI-7-01-tp7594780.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Je serai absent(e) à partir du 25/04/2015 de retour le 04/05/2015.
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
Hello,
I've installed "XWiki Multipage PDF Export" and now.. why all hyperlinks
"transport" me to the my XWiki page online?
I would like to export my all SPACE to PDF but as I said.. I need all
contain, not just links ;)
Greetings,
Maciek.
Hi everybody,
we migrated our XWiki from Windows Server (Tomcat 7, XWiki 6) to Ubuntu
Server 14.10 (Tomcat 8, XWiki 7) installed via the apt repository.
All issues up to now could be solved but I stumbled upon one remaining
issue.
Opening Pages with " in the title/link lead to a tomcat 500 page.
On the Windows instance the pages work.
Could anybody help me to fix this?
Thanks in advance.
Example:
Page: Kunden Appstore "iPad Apps"
Link:
http://10.80.75.216/xwiki/wiki/kunden/view/Some+%26+Space/Kunden+Appstore+%…
Exception:
HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0:
Failed to extract Entity Resource Reference from URL [
http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+
"iPad+Apps"]
type Exception report
message com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL [
http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+
"iPad+Apps"]
description The server encountered an internal error that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number
11007 in 0: Failed to extract Entity Resource Reference from URL [
http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+
"iPad+Apps"]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract
Entity Resource Reference from URL [
http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+
"iPad+Apps"]
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:645)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:593)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:170)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
org.xwiki.resource.CreateResourceReferenceException: Invalid URL [
http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+
"iPad+Apps"]
org.xwiki.url.ExtendedURL.<init>(ExtendedURL.java:109)
org.xwiki.url.internal.standard.StandardURLResourceReferenceResolver.resolve(StandardURLResourceReferenceResolver.java:161)
org.xwiki.url.internal.standard.StandardURLResourceReferenceResolver.resolve(StandardURLResourceReferenceResolver.java:55)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:75)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:45)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:641)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:593)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:170)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
root cause
java.net.URISyntaxException: Illegal character in path at index 74:
http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+
"iPad+Apps"
java.net.URI$Parser.fail(URI.java:2848)
java.net.URI$Parser.checkChars(URI.java:3021)
java.net.URI$Parser.parseHierarchical(URI.java:3105)
java.net.URI$Parser.parse(URI.java:3053)
java.net.URI.<init>(URI.java:588)
java.net.URL.toURI(URL.java:939)
org.xwiki.url.ExtendedURL.<init>(ExtendedURL.java:107)
org.xwiki.url.internal.standard.StandardURLResourceReferenceResolver.resolve(StandardURLResourceReferenceResolver.java:161)
org.xwiki.url.internal.standard.StandardURLResourceReferenceResolver.resolve(StandardURLResourceReferenceResolver.java:55)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:75)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:45)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:641)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:593)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:170)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
note The full stack trace of the root cause is available in the Apache
Tomcat/8.0.9 (Ubuntu) logs.
Hi all,
In XWiki prior to V6, when creating a new wiki using the Wiki Manager,
we had the choice to provision the wiki or not by choosing "Later" from
the wizard.
That 'Later' trick was very useful because it was allowing the wiki
descriptor to be created (but not only it, see below) without adding
content to the wiki.
Then, if you wanted to import a wiki (or subwiki) from another xwiki
instance to the new instance using a database dump, you just had to drop
and recreate the just-created database and import the dump.
This is more or less what is explained here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup. Less because
there is no notion of sub-wiki in this doc, but we will cover this in
another thread. The current one being how to bring a solution to my
current issue.
So the wizard trick was useful.
Now in V7 any new wiki is automatically provisioned, no choice on this.
Today we need to import an existing wiki in a older xwiki to a fresh
xwiki v7 farm. We could export the older wiki as XAR but for some
reason, the admin tool's large export tool
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Export+By+Space+…)
locks after writing 1.7GB (vmassol, is this the other one you suggested
to use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export ? )
Anyway we get used to db level export so we are working through this thread.
We spend the whole day to turn around the problem in V7 until we got
bored to hell :)
1) if you try to create the descriptor by hand, there is something that
prevent it to be listed in the wikimanager.
2) to turn around 1), we've created a 'dummy' wiki using the UI as the
usual manner, then exported a XAR of the 'dummy' wiki descriptor document.
3) Restore the XAR with option "as backup" turned on (the last is very
important).
4) So now we got a descriptor for our wiki. There is still no
corresponding database at this point so we create the database and
import the content.
5) now restart xwiki so the database upgrade occurs. Well.
6) Now we indeed run the imported wiki but next we have to upgrade all
the documents package but no wizard is triggered ? Why : the issue at
this point is there is no folder in the
PermDir/jobs/status/distribution/wiki/<wikiname> which sounds logical
because we created the descriptor "by hand" throught a XAR import which
doesn't include the process of writing initial status.xml files in
PermDir/jobs/status/distribution/wiki/<wikiname>/status.xml
So indeed we're stuck. How do we run the Document Wizard Upgrade at this
point ?
Regards,
--
Martin
Do not get me wrong, I love Xwiki: what I mean it is always possible to make it easyer (like distribution wizard by example). Wizard and advanced doc to goes further is perfect. :-)
To answer at fisrt problem: a database dump (+ DW launched) will be enough to reinit xwiki, no? I don't know if there are one provided in xwiki.org?
(sorry about this mess: it wasn't my goal) :-/
--- En date de : Jeu 23.4.15, Mahomed Hussein <Mahomed(a)CustodianDC.com> a écrit :
> De: Mahomed Hussein <Mahomed(a)CustodianDC.com>
...
>
> Anyway I don’t think this is too constructive for the
> mailing list so I will stop here. You are entitled to your
> opinion and I am to mine (I think XWiki is great). If you
> don't like XWiki then I hope you find something that suits
> you better. That's the beauty of the internet and open
> source. You can always find something that suits you or make
> your own :)
>
...
> >
> > On Wed, Apr 22, 2015 at 6:01 PM, Maciej Fokt <maciek.fokt(a)taxi123.pl>
> > wrote:
> >
> >>
> >> Hello,
> >>
> >> Is there option to return to the first contain and
> settings? I mean, I
> >> want to clear everything. I would like to back to
> the settings after
> >> installation.
> >>
> >> Greetings,
> >> Maciek.