Re: [xwiki-users] Creating Admin User with XWiki REST API...

2016-06-15 Thread jlutz42
All -
I also wanted to add to the post below...  Any help would be great.

How do I add a the default home wiki to a user when I add them via a REST
API.

Thanks,
John



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Creating-Admin-User-with-XWiki-REST-API-tp7599985p7599988.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] Changing border-top color of basic tables

2016-06-15 Thread Andrew Kuang
Thanks for the suggestion! I have thought about this; however, I was hoping
for a more robust solution. Ideally, I'd prefer to not have users do extra
work to have what should be the default behavior.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Changing-border-top-color-of-basic-tables-tp7599949p7599986.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] Xwiki replace " " with "+" on title

2016-06-15 Thread Clemens Klein-Robbenhaar
I think setting the tomcat to use italian codepage characters is not necessary;
UTF-8 should cover all use cases.

If you use URIEncoding="UTF8" in the connector of tomcat, all should be fine.

I tried to reproduce the issue with an XWiki running inside jetty and could not 
reproduce the issue, unfortunately.


- Ursprüngliche Nachricht -
Von: Stefbort
Am:  Wednesday, 15.06.2016, 11:06
An: Xwiki Users
Betreff: Re: [xwiki-users] Xwiki replace " " with "+" on title


> Hi Eduard.
> I am sorry. I used no rigth names.
> 
> "Article" is a wiki page.
> "Space" is a wiki page with dashboard.
> 
> About double titles are showed in the dashboard, in the list "My Recent
> Modification" and if I search I can see two title in the search list.
> If I create a new page after "Save & view" I will redirect in the rigth
> page.
> But now, to try again to write more information, I see more details:
> - if I create a "simple" page I have a "norma" title. When I update the page
> I will have 2 page: one is a original, one is updated. And I will have a new
> title-line in the document automatic list for each version;
> - if I create a page with dashboard I will see the "+" insted " ": the
> original with "{{dashboard/}}" in the text and the second paga (page with
> "+" in the title) with empty text. If I create a new page with location
> inside this i will have 3 news dasboard-page. Example: "Space Two", "Space
> Two", "Space%2BTwo"...
> 
> I will be crazy.
> 
> I can see this to go directly on port 8080 of Tomcat. I do not have any
> reverse proxy.
> OK. Perhaps the problem may be in the Tomcat confogiration? I am using, to
> try, italian layout and italian codepage characters. The database in MariaDB
> is in utf8_bin, as guide suggest.
> When I used the old versione (6.4) I found no problem. Now I don't
> understand.
> 
> I attach two screenshots.
> 
> Thanks.
> 
>  
>  
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Xwiki-replace-with-on-title-tp7599972p7599978.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
> 

mit freundlichen Grüßen
Clemens Klein-Robbenhaar

-- 
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
www.espresto.de

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


Re: [xwiki-users] Changing border-top color of basic tables

2016-06-15 Thread Clemens Klein-Robbenhaar

Not really a good advice, but kind of a workaround:

when I have the problem of styling only tables inside the wiki-content and 
nothing else,
I use the "Approach 2", except that the selector looks like

#xwikicontent>table {
...
}

this selector does not style the livetables, because they are not directly 
nested in the #xwikicontent
but nested inside additional div elements

Of course this approach does not work for tables which are deeper nested in the 
normal content
(i.e. inside info-macros, or sections created with the '((( ... )))' syntax),
but most users do not create theses constructs, and those who do can speak 
wiki-syntax,
and can be brought on board with "Approach 4" because they know (or can be 
taught)  the '(% class="bordered" %)' trick ...
... however so far this has not been necessary for me (because among my folks I 
am the only one who needed this trick, and only once)

HTH
Clemens

- Ursprüngliche Nachricht -
Von: Andrew Kuang
Am:  Tuesday, 14.06.2016, 00:19
An: Xwiki Users
Betreff: [xwiki-users] Changing border-top color of basic tables


> Hi, 
> 
> I was looking into a way to modify the border-top color of tables in XWiki
> (defined in table.less) such that all basic tables have a solid 1px black
> top border (instead of the current solid 1px #ddd definition). I've been
> having trouble with finding a proper way to apply the style only to basic
> tables. Here are a few approaches I have taken:
> 
> *Approach 1.* Override the tables.less file in our own tables_overrides.less
> and make all tables have a black 1px border. 
> *Problem:* This selector is too general, and adds a black border to all
> tables on the page (History pane, Format guide, etc)
>  
> *Approach 2.* Narrow the selector down to #xwikicontent (only the user’s
> content). #xwikicontent .table
> *Problem:* Now all tables in the xwikicontent div have borders and nowhere
> outside; however, other tables (such as those used by live tables) are also
> selected, making the LiveTables look wrong.
>  
> *Approach 3.* Modify only the source where the border-color is defined
> (because table styles simply use @table-border-color variable to define the
> default border-top style
> *Problem:* XWiki uses tables throughout (i.e. History pane) and these tables
> also use @table-border-color, making their border-top black as well.
>  
> *Approach 4.* Create a new table class (i.e. class=“bordered”) so that we
> can specifically select tables defined by CKEditor and nothing else. Hook
> into CKEditor table dialog and set Stylesheet Classes to “bordered” by
> default
> *Problem:* Users creating tables via source editor will have no context of
> adding borders to their table and their tables will not have proper borders
> by default
>  
> As of now, there does not seem to be any clear cut way of selecting only the
> basic tables (because so many other parts of XWiki use that basic table). I
> was wondering if anyone has any insight on a possible solution to this
> issue. Thanks!
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Changing-border-top-color-of-basic-tables-tp7599949.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
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki replace " " with "+" on title

2016-06-15 Thread stefbort
Hi Eduard.
I am sorry. I used no rigth names.

"Article" is a wiki page.
"Space" is a wiki page with dashboard.

About double titles are showed in the dashboard, in the list "My Recent
Modification" and if I search I can see two title in the search list.
If I create a new page after "Save & view" I will redirect in the rigth
page.
But now, to try again to write more information, I see more details:
- if I create a "simple" page I have a "norma" title. When I update the page
I will have 2 page: one is a original, one is updated. And I will have a new
title-line in the document automatic list for each version;
- if I create a page with dashboard I will see the "+" insted " ": the
original with "{{dashboard/}}" in the text and the second paga (page with
"+" in the title) with empty text. If I create a new page with location
inside this i will have 3 news dasboard-page. Example: "Space Two", "Space
Two", "Space%2BTwo"...

I will be crazy.

I can see this to go directly on port 8080 of Tomcat. I do not have any
reverse proxy.
OK. Perhaps the problem may be in the Tomcat confogiration? I am using, to
try, italian layout and italian codepage characters. The database in MariaDB
is in utf8_bin, as guide suggest.
When I used the old versione (6.4) I found no problem. Now I don't
understand.

I attach two screenshots.

Thanks.

 
 





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Xwiki-replace-with-on-title-tp7599972p7599978.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