Re: [xwiki-users] Advice needed for best way to migrate from madiawiki

2014-02-15 Thread Hamster
I have NO experience with migrating from MediaWiki to XWiki, but perhaps
these links can help you:

Extensions (XWiki)
http://extensions.xwiki.org/xwiki/bin/view/Extension/Mediawiki+To+XWiki+Migration+Toolkit

Blogs
http://blogs.encodo.ch/news/view_article.php?id=73
http://blogs.encodo.ch/news/view_article.php?id=74
http://blogs.encodo.ch/news/view_article.php?id=118



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Advice-needed-for-best-way-to-migrate-from-madiawiki-tp7589148p7589152.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem add GadGet in dashboard

2014-02-15 Thread Clemens Robbenhaar
Hi Saulo,

 Good afternoon.
 
 I have a problem to add new gadget in dashboard.
 
 I click the button to add a new gadget, choose the application, configure
 and click on add. The page reloads, but does not display the application,
 someone has gone through this problem?
 
 Currently use xwiki 5.4.1 enterprise.
 
 thank

I am not sure why the page reloads. This looks like something triggered a 
JavaScript error.
Can you see any errors in the JavaScript console? (Ctrl-Shift-J in Firefox,
and I guess F12 in IE and Chrome ...)

Btw, I near thought I could reproduce the issue, but then I figured out the 
gadget actually got added in the lower right corner, completely scrolled out of 
view by the
activity stream ^^

Clemens



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] color schemes

2014-02-15 Thread Clemens Robbenhaar
On 02/05/2014 08:28 PM, Paul Pinkerton (ACLCO) wrote:
 I have several spaces that use custom color schemes.  How do I get the
 global panels to display in the color scheme of the space, not the wiki
 defaults?
 

The way I understand your question is that panels shown in the sidebars should 
show up colored differently in each space.

If a space as its own color theme set up, this is a CSS setting affecting the 
complete page, and the way panels in that page are rendered too.
That is, normally it should be as you asked for. I just tried and set up a 
custom color theme for my sandbox, and it works as expected.

The only thing I noticed is that panels are usually colored relatively neutral 
in the default color themes.
If you want the panel headers to be more colorful you are expected to edit the 
color theme itself. Every color there contains settings for the panel header 
text /
background color and panel text and background color.

Clemens
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Copy page with includes

2014-02-15 Thread Clemens Robbenhaar
On 01/31/2014 04:57 PM, fredb wrote:
 Hi,
 
 I've one page (let's call it Template page) made up of 2 included files. 
 
 Code of Template page is something like this :
 {include document=PageChap1/}
 {include document=PageChap2/}
 
 I'd like to copy Template page to a new page (in the same space) and
 renaming includes at the same time
 
 Is it possible and is there any way (existing script or extension) to do
 that ?
 
 Thanks in advance, 
 

I have not heard of anything like existing like this.
I guess the problem is that one needs to:
 a) find a way to give the copies of PageChap1 and PageChap2 new names
 b) then update the content of the copied template to refer to the copies, not 
the original template chapters.

I am sure a custom scripted solution for this is possible, and depending on the 
UI Requirements it might not even be too difficult, but as far as I know this 
does not exist.

(Come to think of it, one does not even modify the original template in step 
b). For the new page MyNextBook, just call the pages  MyNextBookPageChap1 and
MyNextBookPageChap2 and a template like:

{{velocity wiki=true}}
{{include reference=${doc.name}PageChap1 /}}
{{include reference=${doc.name}PageChap2 /}}
{{/velocity}}

should just work ...)

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Adding users from CSV file

2014-02-15 Thread Clemens Robbenhaar
Hi Michiel,

 Maybe you have the same problem, and want to add many user-accounts in
 bulk. Maybe this script (I wrote) can help you out.
 
 The script can produce a XAR archive that can be uploaded using the
 import-function in the Admin panel.
 After doing so you still need to add these users to the group XWikiAllGroup
 (and additional groups if you like).
 
 Regards,
 Michiel.

Thanks for your contribution! However I am afraid if you attached the script, 
the mailing list software has just eaten the attachment.

If you want you can upload the script at 
http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome

Strictly speaking it is not an extension, but never mind: all kind of XWiki 
related helpers are always welcome there. :)

Clemens




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Adding users from CSV file

2014-02-15 Thread vinc...@massol.net
 



On 15 Feb 2014 at 15:54:45, Clemens Robbenhaar 
(c.robbenh...@espresto.com(mailto:c.robbenh...@espresto.com)) wrote:

 Hi Michiel,
  
  Maybe you have the same problem, and want to add many user-accounts in
  bulk. Maybe this script (I wrote) can help you out.
 
  The script can produce a XAR archive that can be uploaded using the
  import-function in the Admin panel.
  After doing so you still need to add these users to the group XWikiAllGroup
  (and additional groups if you like).
 
  Regards,
  Michiel.
  
 Thanks for your contribution! However I am afraid if you attached the script, 
 the mailing list software has just eaten the attachment.
  
 If you want you can upload the script at 
 http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome
  
 Strictly speaking it is not an extension, but never mind: all kind of XWiki 
 related helpers are always welcome there. :)

Yes you can contribute the script as a “snippet” there or package it as a XAR, 
as you wish.

Thanks
-Vincent


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-02-15 Thread Clemens Robbenhaar
On 02/14/2014 04:44 PM, Hamster wrote:
 I have a problem getting the  D3js example
 http://extensions.xwiki.org/xwiki/bin/view/Extension/D3+Example   to work.
 
 I have a fresh XWiki 5.4 running. I have installed the D3js with the EM. I
 then created a new Space called D3. I created a page called D3.Data and
 pasted the data from the example. I then edited the D3.WebHome and pasted
 the code to display the graph.
 
 But when I click Save  View, I only get a blank page. F5 (refresh) does
 nothing. I then edit the page in the WYSIWYG editor...I can see the graph
 being displayed! I can even use the arrow keys left and right to interact
 with the graph. But when I hit Save  View, the graph is NOT being
 displayed, but part of the velocity code is. If I edit the page in XWiki
 mode, I can see that some velocity code is now being 'escaped' by XWiki.
 
 What am I missing here
 

First thing you are missing is that the extension on the page is just a demo 
for the impatient to view something before even installing something. It 
fetched the javascript
stuff from the D3 website directly; no need to install the D3js extension to 
run it ;)

Then, indeed the WYSIWYG editor does not handle the code snippet gracefully, 
just opening the editor and saving without editing breaks the thing, there is 
just too many
inline script and other not-best-practice stuff in it it goes crazy and 
damages the thing.
Using the Wiki-editor is highly recommended for this beast ;)

But these are all side notes 

What is really puzzeling and what I am starting at for an hour without 
understanding is that the normal view does not show anything.
All I get is a JavaScript Error Refercence d3 not defined.

If you look at it in plain view it should be ok (same as inside the WYSIWYG 
editor frame):

  http://localhost:8080/xwiki/bin/view/D3/WebHome?xpage=plain

It seems one of the libraries XWiki loads in its normal layout conflicts with 
d3 in some way.

(Installing and using the extension as advertized does not work either, as 
the d3:loaded event is never fired, btw ..)

Well, that's as far as I got. Only tested with Firefox, however.

Maybe someone else can shed some more light on this.

Clemens
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] D3js not working on XWiki 5.4

2014-02-15 Thread Clemens Robbenhaar
On 02/15/2014 05:43 PM, Clemens Robbenhaar wrote:
 On 02/14/2014 04:44 PM, Hamster wrote:
 I have a problem getting the  D3js example
 http://extensions.xwiki.org/xwiki/bin/view/Extension/D3+Example   to work.

 I have a fresh XWiki 5.4 running. I have installed the D3js with the EM. I
 then created a new Space called D3. I created a page called D3.Data and
 pasted the data from the example. I then edited the D3.WebHome and pasted
 the code to display the graph.

 But when I click Save  View, I only get a blank page. F5 (refresh) does
 nothing. I then edit the page in the WYSIWYG editor...I can see the graph
 being displayed! I can even use the arrow keys left and right to interact
 with the graph. But when I hit Save  View, the graph is NOT being
 displayed, but part of the velocity code is. If I edit the page in XWiki
 mode, I can see that some velocity code is now being 'escaped' by XWiki.

 What am I missing here

 
 First thing you are missing is that the extension on the page is just a demo 
 for the impatient to view something before even installing something. It 
 fetched the javascript
 stuff from the D3 website directly; no need to install the D3js extension to 
 run it ;)
 
 Then, indeed the WYSIWYG editor does not handle the code snippet gracefully, 
 just opening the editor and saving without editing breaks the thing, there is 
 just too many
 inline script and other not-best-practice stuff in it it goes crazy and 
 damages the thing.
 Using the Wiki-editor is highly recommended for this beast ;)
 
 But these are all side notes 
 
 What is really puzzeling and what I am starting at for an hour without 
 understanding is that the normal view does not show anything.
 All I get is a JavaScript Error Refercence d3 not defined.
 
 If you look at it in plain view it should be ok (same as inside the WYSIWYG 
 editor frame):
 
   http://localhost:8080/xwiki/bin/view/D3/WebHome?xpage=plain
 
 It seems one of the libraries XWiki loads in its normal layout conflicts with 
 d3 in some way.
 

it is actually the requirejs that gets upset that soemone tries tio bypass:
  http://requirejs.org/docs/errors.html#mismatch

d3 smells the presence of requirejs and tries to register itself by there, 
making it inaccessible via the fast  dirty approaches to get things running.

However wrapping the code in a  require(['d3'], function(d3) { ...}); call 
did not work for me either.
Maybe I should really read the documentation to figure out how this works. :D  
However not this weekend, sorry

Clemens


 (Installing and using the extension as advertized does not work either, as 
 the d3:loaded event is never fired, btw ..)
 
 Well, that's as far as I got. Only tested with Firefox, however.
 
 Maybe someone else can shed some more light on this.
 
 Clemens
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 


-- 
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenh...@espresto.com

HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] need help with LDAPS authentication

2014-02-15 Thread Pascal BASTIEN
Hello,

I tried without succes this method:
http://jira.xwiki.org/browse/XWIKI-865
to connect on my ldaps...
I can't connect on my wiki when I use a ldaps server...

Someone managed to connect?
Are they a way to debug this, to found my mistake?
Do you have a documentation about this?

Thxs for your anwer.

Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users