[xwiki-users] Delete document by ID with velocity or direct from database ?

2016-06-02 Thread Ryszard Łach
Hi.

Is there a way to delete (e.g. using Velocity) document by it's ID ? One of my 
documents received bad name (I suppose lack of some input validation in rename 
form), I tried to fix it in xwikidoc table, and now I cannot access it in any 
way. I don't need it, but how to remove it safely?

TIA,

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


[xwiki-users] Filtering boolean values in AppWithinMinutes table

2016-05-24 Thread Ryszard Łach
Hi.

In application created by AppWithinMinutes there is a non-functionality of 
filter on boolean-type columns. Values in such a column are shown as 'Yes/No' 
(with possible translations), but it is not possible to filter them by 'Yes/No' 
- one has to use '0' or '1'. It is very non-intuitive.

Is there a known issue regarding this?

TIA,

Ryszard.

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


Re: [xwiki-users] [Proposal] Comparing XWiki to MediaWiki and Confluence on xwiki.org

2016-05-15 Thread Ryszard Łach


On 2016-05-14 14:47, Vincent Massol wrote:
>> The extensions in XWiki really vary in quality, whereas Confluence has a lot 
>> of very polished plugins. That's at least been my experience, and I think 
>> there's a need to distinguish between high-quality maintained extensions vs. 
>> the more hacky ones.
> Definitely. I’ve also discussed this with others and it’s time that we start 
> curating extensions and introduce some “Editor Picks” or “Recommended” 
> extensions. I’ll start this in another thread real soon.
>

I think, that first simple step to improve extensions could be improving info 
about creating issues regarding extension. I recently tried to create one 
following link from standard extension homepage and didn't make to create it in 
right place.

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


Re: [xwiki-users] Date format in FAQ application

2016-05-04 Thread Ryszard Łach
Anybody, any idea ? I noticed the format is broken also in view/Main/AllDocs 
table.

R.

On 2016-04-25 11:18, Ryszard Łach wrote:
> Nope. I've set it to '-MM-dd hh:m:ss'.
>
> It works in other places (e.g. applications created via AppWithinMinutes) but 
> not in FAQ.
>
> R.
>
> On 2016-04-25 10:59, Marius Dumitru Florea wrote:
>> Setting the Date Format in Administration / Localization doesn't have any
>> effect?
>>
>> On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łach  wrote:
>>
>>> Hi, again.
>>>
>>> How can I correct date format (to include leading zeros) in faq
>>> application? I suppose, that changing the default language of my wiki to
>>> 'pl' has broken the format and now 'Creation date' in list of faq entries
>>> looks like '2016-04-15 09:6:34' .
>>>
>>> TIA,
>>>
>>> R.
>>> ___
>>> 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
> ___
> 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] Date format in FAQ application

2016-04-26 Thread Ryszard Łach
I know.

But, as I wrote, it does not work for the FAQ application.

R.

On 2016-04-26 17:04, Jack wrote:
> You can refer to
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDateformat
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Date-format-in-FAQ-application-tp7599113p7599225.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] Date format in FAQ application

2016-04-25 Thread Ryszard Łach
Nope. I've set it to '-MM-dd hh:m:ss'.

It works in other places (e.g. applications created via AppWithinMinutes) but 
not in FAQ.

R.

On 2016-04-25 10:59, Marius Dumitru Florea wrote:
> Setting the Date Format in Administration / Localization doesn't have any
> effect?
>
> On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łach  wrote:
>
>> Hi, again.
>>
>> How can I correct date format (to include leading zeros) in faq
>> application? I suppose, that changing the default language of my wiki to
>> 'pl' has broken the format and now 'Creation date' in list of faq entries
>> looks like '2016-04-15 09:6:34' .
>>
>> TIA,
>>
>> R.
>> ___
>> 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

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


Re: [xwiki-users] Problem with solr search after language change

2016-04-25 Thread Ryszard Łach
Thanks a lot, I let you know (in few days) if it helped.

Best regards,

R.
On 2016-04-25 07:04, Marius Dumitru Florea wrote:
> On Sun, Apr 24, 2016 at 11:34 PM, Ryszard Łach 
> wrote:
>
>> Hi, again.
>>
>> I still have problem with solr search, even with documents not touched by
>> the language change. Steps to reproduce:
>>
>> 1. Create new page in Sandbox, name 'Sandbox.searchtest'
>> 2. Enter single word in document content ('alamakota'), save
>> 3. Try to search by this word - 0 results
>> 4. Rename document into 'Sandbox.alamakota.WebHome'
>> 5. Search again - 1 result (word found in Location).
>>
>> So, it seems the search does not work by document content. Search debug
>> shows
>>
>> Parsed Query
>> +((objcontent_en:alamakota | objcontent_pl:alamakota |
>> objcontent__:alamakota)^0.4 | spaces:alamakota^0.016 |
>> creator_display:alamakota^0.08 | (title_en:alamakota | title_pl:alamakota |
>> title__:alamakota)^10.0 | (doccontent_en:alamakota |
>> doccontent_pl:alamakota | doccontent__:alamakota)^2.0 |
>> attauthor_display:alamakota^0.016 | author_display:alamakota^0.08 |
>> name:alamakota^10.0 | filename:alamakota^0.4 | (attcontent_en:alamakota |
>> attcontent__:alamakota | attcontent_pl:alamakota)^0.4 |
>> (comment__:alamakota | comment_en:alamakota | comment_pl:alamakota)^0.016 |
>> (doccontentraw__:alamakota | doccontentraw_en:alamakota |
>> doccontentraw_pl:alamakota)^0.4)
>>
>>
>> It seems it does search by 'alamakota' word in objcontent_pl, but how can
>> I find out why it does not find it?
>>
> The search query does include the document content
>
> (doccontent_en:alamakota | doccontent_pl:alamakota |
> doccontent__:alamakota)^2.0
>
> The problem is that the Polish documents are not properly indexed because
> the default Solr's schema.xml doesn't include configuration for the Polish
> language.
>
> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-7.4.2/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-server/xwiki-platform-search-solr-server-data/src/main/resources/xwiki/conf/schema.xml#L255
>
> You need to add
>
>  multiValued="true" />
>
> and then you need to define the text_pl type (check the existing types).
> See also
> https://cwiki.apache.org/confluence/display/solr/Language+Analysis#LanguageAnalysis-Polish
> . Once you have a working configuration it would be great if you could
> share it with us by making a Pull Request on GitHub.
>
> Hope this helps,
> Marius
>
>
>> TIA.
>>
>> R.
>>
>> On 2016-04-22 10:49, Ryszard Łach wrote:
>>> Hi.
>>>
>>> I have a problem with solr search (Xwiki 7.2.4), I suppose it is
>> language-related. My config is:
>>> Multilingual=no
>>> Supported languages = pl
>>> Default language = pl
>>>
>>> I have imported some documents (from .xar-s) from older xwiki instance.
>> Most of them had (wrong) language - it was set to 'en' in old wiki. Because
>> I want to clear up the new installation, I've changed
>> 'xwd_default_language' for this documents in database to 'pl', restartex
>> xwiki, removed solr index.
>>> Is it possible, that I missed something and it that's why I cannot find
>> some documents by part of title?
>>> R.
>>> ___
>>> 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
>>
> ___
> 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] Problem with solr search after language change

2016-04-24 Thread Ryszard Łach
Hi, again.

I still have problem with solr search, even with documents not touched by the 
language change. Steps to reproduce:

1. Create new page in Sandbox, name 'Sandbox.searchtest'
2. Enter single word in document content ('alamakota'), save
3. Try to search by this word - 0 results
4. Rename document into 'Sandbox.alamakota.WebHome'
5. Search again - 1 result (word found in Location).

So, it seems the search does not work by document content. Search debug shows

Parsed Query
+((objcontent_en:alamakota | objcontent_pl:alamakota | 
objcontent__:alamakota)^0.4 | spaces:alamakota^0.016 | 
creator_display:alamakota^0.08 | (title_en:alamakota | title_pl:alamakota | 
title__:alamakota)^10.0 | (doccontent_en:alamakota | doccontent_pl:alamakota | 
doccontent__:alamakota)^2.0 | attauthor_display:alamakota^0.016 | 
author_display:alamakota^0.08 | name:alamakota^10.0 | filename:alamakota^0.4 | 
(attcontent_en:alamakota | attcontent__:alamakota | 
attcontent_pl:alamakota)^0.4 | (comment__:alamakota | comment_en:alamakota | 
comment_pl:alamakota)^0.016 | (doccontentraw__:alamakota | 
doccontentraw_en:alamakota | doccontentraw_pl:alamakota)^0.4)


It seems it does search by 'alamakota' word in objcontent_pl, but how can I 
find out why it does not find it?

TIA.

R.

On 2016-04-22 10:49, Ryszard Łach wrote:
> Hi.
>
> I have a problem with solr search (Xwiki 7.2.4), I suppose it is 
> language-related. My config is:
>
> Multilingual=no
> Supported languages = pl
> Default language = pl
>
> I have imported some documents (from .xar-s) from older xwiki instance. Most 
> of them had (wrong) language - it was set to 'en' in old wiki. Because I want 
> to clear up the new installation, I've changed 'xwd_default_language' for 
> this documents in database to 'pl', restartex xwiki, removed solr index.
>
> Is it possible, that I missed something and it that's why I cannot find some 
> documents by part of title?
>
> R.
> ___
> 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


[xwiki-users] Problem with solr search after language change

2016-04-22 Thread Ryszard Łach
Hi.

I have a problem with solr search (Xwiki 7.2.4), I suppose it is 
language-related. My config is:

Multilingual=no
Supported languages = pl
Default language = pl

I have imported some documents (from .xar-s) from older xwiki instance. Most of 
them had (wrong) language - it was set to 'en' in old wiki. Because I want to 
clear up the new installation, I've changed 'xwd_default_language' for this 
documents in database to 'pl', restartex xwiki, removed solr index.

Is it possible, that I missed something and it that's why I cannot find some 
documents by part of title?

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


[xwiki-users] Customizing flamingo theme

2016-04-22 Thread Ryszard Łach
Hi.

Is there an easy way to add link to Jira Issue Collector to every page in 
xwiki? It should be sufficient to add a some javascript in  ,  but 
looking and Flamingo skin's docs It is not clear to me how to do this.

Best regards,
R.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Date format in FAQ application

2016-04-20 Thread Ryszard Łach
Hi, again.

How can I correct date format (to include leading zeros) in faq application? I 
suppose, that changing the default language of my wiki to 'pl' has broken the 
format and now 'Creation date' in list of faq entries looks like '2016-04-15 
09:6:34' .

TIA,

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


[xwiki-users] Moving AppWithinMinutes app to another location in the same wiki

2016-04-19 Thread Ryszard Łach
Hi.

Is there a way to migrate (xwiki 7.2.4) an application created via 
AppWithinMInutes to another node in the same wiki tree, with all documents 
created by the app ? The easy way (move parent document with all children) 
doesn't seem to work.

TIA,

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


[xwiki-users] Subwiki - How to prevent automatic local user creation ?

2014-11-13 Thread Ryszard Łach
Hi.

I've the following configuration:

* XWIki Enterprise 5.4.5 with path-based subwikis
* Main wiki using LDAP (AD) authentication
* Subwiki with "both local and global users"

I'm trying do configure it so, that Global users will be authenticated
by AD (possibly with some AD-to-Wiki group mappings) and Local users
will be authenticated against xwiki database.

It's almost working. If the Global user is logged in to the main wiki
and then goes to the subwiki - he/she can use it as Global user (which
can be checked looking at the 'profile' or 'preferences' urls included
in the heading bar).
But if the user without prior logging to the main wiki goes straight to
subwiki and enters his AD credentials - a new Local user is being created.

Is there a way to prevent the Local user creation? I suppose, that
changing xwiki.authentication.ldap.trylocal to '0' in xwiki.cfg is not
the solution - I'll lose the ability to have local users in subwiki, right?

In the main wiki it is desire'able, it allows easy joining for each AD
user.

TIA,

R.

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


[xwiki-users] Concept of space owner

2014-08-16 Thread Ryszard Łach
Hi.

I'd like to introduce a concept of space owner - a person who is responsible for
the whole space, it's content, structure etc.

I'd like to designate one of users for each of my spaces and have it's
name/email/avatar displayed in each one WebHome page.

How would you recommend to implement this?

TIA

R.

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


[xwiki-users] Searching on non-english documents

2014-07-14 Thread Ryszard Łach
Hi.

Is there a document describing prefetred settings to have xwiki and solr-based
search working well for non-multilingual, non-en documents?

I have a problem with solr search (xwiki 5.3). My language settings are:

multilingual: no
supported languages: pl,en   
default language: - I'm testing with different values here

and in xwiki.cfg:

xwiki.language.preferDefault=1
xwiki.language.forceSupported=1

Test no 1:
default language: pl

When I create new document, it has (in database) xwd_language = '' and
xwd_default_language = 'pl' - so it looks ok:


  xwd_fullname   | xwd_language | xwd_default_language
-+--+--
 Sandbox.SzukajWNazwieStronyTest |  | pl

I try to search on 'SzukajWNazwie' - solr suggest does suggest this page, but
entering search result the result list is empty.

If i try searching by document content - both search suggest and search result
list are empty.

When I change

default language: en
and create a document, it has properties:

 xwd_fullname | xwd_language | xwd_default_language
--+--+--
 Sandbox.SearchInPageNameTest |  | en

Then:

1. Suggest does find the document by its name, search does too
2. Suggest does not find the document by its content, but search does.

Searching of polish document works as before the change

I'm a little bit confused, I cannot see any consistent rule in the behavior.
Thanks in advance for any tips.

Best Regards,

R.

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


Re: [xwiki-users] Remember password

2012-12-03 Thread Ryszard Łach
Why not to remember password in browser?

R.

On 12/03/12 13:10, wotikar wrote:
>
> Hello group,
>
> Is there an option in Xwiki LDAP connector to let xWiki remember my windows
> username and password for ever? Every day when i want to access the wiki i
> need to login with username and password and that is very annoing.
>
> Please help me out with this great product!
>
>

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


Re: [xwiki-users] Default editing mode for page with object/sheet

2012-11-27 Thread Ryszard Łach
Thanks, it's very helpful.

Cheers,

R.
On 11/27/12 08:47, Marius Dumitru Florea wrote:
>
> You can't and I don't see why you would need to edit in Wiki or
> WYSIWYG mode those pages. Once you add an object with a sheet to a
> page you basically make that page a structured page and thus the user
> needs to edit the structured data when he clicks Edit. It's not a
> plain wiki page any more.
>
> Now, you may want to still use the page content and title to store
> some data besides the structured data from the attached object, which
> is possible and easy to do. You just need to add the content and title
> fields to your sheet, at least in edit mode. You can start with:
>
> {{velocity}}
> ; Title
> : {{html}} value="$escapetool.xml($tdoc.title)"/>{{/html}}
> ; Content
> : {{html}}$xwiki.getTextArea($tdoc.content){{/html}}
> {{/velocity}}
>
> For a more advanced display see the AppWithinMinutes.Title and
> AppWithinMinutes.Content pages from XE 4.3 (or on
> https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes)
>
> Hope helps,
> Marius
>
>> TIA
>>
>> R.
>>
>> ___
>> 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


-- 
jabber: ryszard.l...@jabber.contium.pl
skype: ryszard.lach.contium
CONTIUM S.A. http://www.contium.pl
tel.: (71) 35 84 112
sekretariat: (71) 35 84 100
tel. kom: +48 502 724 115
GPG Key ID: 0x05792F34


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


[xwiki-users] Default editing mode for page with object/sheet

2012-11-26 Thread Ryszard Łach
Hi.

I've created something similar to FAQ application: a simple class,
sheet, template and pages created from template.

The pages are including the sheet, also have an object of the class.

I don't understand why the default edit mode is 'inline form', i.e. when
I create a livetable with 'actions' column, than 'edit' button goes to
'inline form' edit mode.
If a wiki user does not have 'advanced mode' enabled - he can only edit
the form, not the page itself.

How to make 'wiki' or 'wysiwyg' edit mode as default for such pages?

TIA

R.

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


Re: [xwiki-users] Github tracker. was: Re: New Realtime collaborative editing extension.

2012-10-23 Thread Ryszard Łach
I agree.

I'd fill a feature request on jira, but I'm not sure what project should
I fill it against maybe that's also the reason for Caleb to use github?

R.

On 23.10.2012 09:19, Ludovic Dubost wrote:
> Just a quick. You seem to introduce a practice to use the github tracker 
> instead of xwiki.org jira's
>
> Not sure it's a good thing. I'm sure Vincent will agree
>
> Ludovic
>
>
> Envoyé de mon iPhone
>
> Le 23 oct. 2012 à 04:17, Caleb James DeLisle  a 
> écrit :
>
>> One other thing, please report the features which you want and what you 
>> imagine as
>> best on the github tracker, it's easier to close an issue as "won't fix" 
>> than it is
>> to remember an important issue which nobody wrote down ;)
>>
>> Thanks
>> Caleb
>>
>> On 10/22/2012 10:14 PM, Caleb James DeLisle wrote:
>>> Hi,
>>>
>>> Thanks for the complement.
>>>
>>> I just updated it and fixed issue #1. Thanks for reporting it.
>>> Somehow showing who else is editing, showing where they are editing in the 
>>> document
>>> and allowing the user to spawn a chat window with other editors on the page 
>>> are all
>>> interesting possibilities. Right now I think the thing to do is decide 
>>> where there
>>> is the most bang for your buck in terms of feature value and get an idea of 
>>> what's
>>> most natural for the user.
>>>
>>> Thanks,
>>> Caleb
>>>
>>>
>>> On 10/19/2012 07:59 AM, Ryszard Łach wrote:
>>>> Great work!
>>>>
>>>> It looks like good starting point to give xwiki the main (at least for
>>>> me) feature, that makes googledoc sometimes more suitable for
>>>> collaborative editing. It would be really great, if your editor would
>>>> show somehow, where the other editor (person) is now, where is his
>>>> cursor. Maybe a highlight (the whole line) showing the other's cursor
>>>> placement?
>>>> Do you plan to work on such improvements?
>>>>
>>>> R.
>>>>
>>>> ___
>>>> 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
>>
>> ___
>> 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


-- 
jabber: ryszard.l...@jabber.contium.pl
skype: ryszard.lach.contium
CONTIUM S.A. http://www.contium.pl
tel.: (71) 35 84 112
sekretariat: (71) 35 84 100
tel. kom: +48 502 724 115
GPG Key ID: 0x05792F34


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


Re: [xwiki-users] New Realtime collaborative editing extension.

2012-10-19 Thread Ryszard Łach
Great work!

It looks like good starting point to give xwiki the main (at least for
me) feature, that makes googledoc sometimes more suitable for
collaborative editing. It would be really great, if your editor would
show somehow, where the other editor (person) is now, where is his
cursor. Maybe a highlight (the whole line) showing the other's cursor
placement?
Do you plan to work on such improvements?

R.

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


Re: [xwiki-users] My Recent changes is empty

2012-09-25 Thread Ryszard Łach
On 09/25/12 22:15, Juan Carlos Vizueta wrote:
> Yes indeed
>
> Well, what I did was to try to create a link from Xwiki.WebHome to page1
> from wysiwyg editor, which was impossible to do, as I already said
>
> Something weird is that I created a new space too, and the same thing
> happened when trying to create a link from Xwiki.WebHome to Space1.WebHome

Exactly, as Marius wrote, simplify your test case (that's why I'm
cutting most of your mail while quoting).

So, please, create 'Sandbox.page2', and enter into it (source) '[[link
to page 1>>SpaceOfPage1.page1]]', save, view. And let us know if:

* Sandbox.page2 looks 'normal' (has version/history, displays link to page1)
* link to page1 in Sandbox.page2 is correct/clickable (click opens page1)
* page1 still looks as  before

If you answer to some of the above 'it is problem here', then you should
go back to the last step which lead to the problem and repeat it using
some browser-based debuging tool (like Firebug), as Marius suggested.

Let us know what happend.

R.

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


Re: [xwiki-users] My Recent changes is empty

2012-09-25 Thread Ryszard Łach
On 09/25/12 20:40, Juan Carlos Vizueta wrote:
> Hi Ryszard,
>
> Yeah, that's right, everything fine until then, everything gets missy after
> that when trying to link to that page I created from the link button in the
> wysisyg
>
So, you've created a page, let's call it "page1". It looks normal, it
can be found via search, it has a version/history.

Then you create another page (let's call it "page2"), write some text
into "page2", edit it again using wysiwyg, select some text, click
'link->wiki page', you choose "page1" as the target, right?

R.

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


Re: [xwiki-users] My Recent changes is empty

2012-09-25 Thread Ryszard Łach
On 09/25/12 15:28, Juan Carlos Vizueta wrote:
> Hi guys,
>
> The next steps I've repeated over and over again and I'm still having the
> same issues:
my favorite definition of "insanity": expecting different results while
repeating the same activities ;-))
>  - I installed xwiki-enterprise-web-4.1.4.war in tomcat6.0.35,
> then imported xwiki-enterprise-ui-all-4.1.4.xar and configured
> hibernate.cfg.xml to point it to a mysql 5.0.95 brand new database - I
> logged in with with admin/admin - I created a new page called Test - I
let's stop here: you've created a new page, entered something into its
content and clicked 'save'.
Then the content appeared, right?

R.

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


Re: [xwiki-users] Default value for 'static list' class property

2012-09-24 Thread Ryszard Łach
On 09/24/12 09:53, Marius Dumitru Florea wrote:
> Yes, but not in the class. What we usually do is create a "template"
> page that has an object of that type (class) and set there the default
> value for each object property. Then we use this template to create
> new pages. See 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HAuthoringTemplatesandPageDesignSheets
> and http://platform.xwiki.org/xwiki/bin/view/Features/Forms .
>
> Hope this helps,

Yes, I'm using templates too. No idea why I didn't found the simpliest
solution ;-), thanks.

Cheers,

R.



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


[xwiki-users] Default value for 'static list' class property

2012-09-21 Thread Ryszard Łach
Hi.

Is it possible to assign default value for class property of 'static list' ?

TIA,

R.

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


Re: [xwiki-users] Multipage PDF Export and child/parent dependency

2012-09-19 Thread Ryszard Łach
Yes (but I didn't try it)/

My post was about

http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Application

It looks more user friendly, but I have to figure out what's going on
with the heading levels.

Cheers,

R.

On 09/19/12 16:16, Guillaume Lerouge wrote:
> Hi Richard,
>
> did you look at this extension:
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+PDF+Export ?
>
> Guillaume
>
> On Wed, Sep 19, 2012 at 4:04 PM, Ryszard Łach wrote:
>
>> Hi, again.
>>
>> It seems that levels are increased  by one in each document for each
>> parent leading to 'top document', they are not increased only if the
>> parent is empty.
>>
>> What is it for? How one should organize xwiki pages to get one, big
>> structured document in PDF?
>>
>> R.
>>
>> On 09/18/12 15:32, Ryszard Łach wrote:
>>> Hi.
>>>
>>> I'm trying to use
>>>
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Application
>>> . It works almost fine, but I cannot find out how to create document
>>> structure exactly as I need.
>>>
>>> I've created three pages in Sandbox (T1, T2 and T3) with the following
>>> content (xwiki source):
>>>
>>> T1:
>>>
>>> = T1-1 =
>>>
>>> T2:
>>>
>>> = T1-2 =
>>>
>>> T3:
>>>
>>> = T1-3 =
>>>
>>> (T1 stands for "Title1" heading).
>>>
>>> Each one of them has 'Sandbox.WebHome' as their parent.
>>> When I create Multipage export (html or pdf), then in resulting document
>>> heading levels are being changed. This is HTML output:
>>>
>>> T1-1> id="child_1543277317">T2> id="HT1-2">T1-2> id="child_1543277318">T3> id="HT1-3">T1-3
>>> Is there any way to keep the original heading levels intact?
>>>
>>> TIA,
>>>
>>> R.
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>>
>> --
>> jabber: ryszard.l...@jabber.contium.pl
>> CONTIUM S.A. http://www.contium.pl
>> tel.: (71) 35 84 112
>> sekretariat: (71) 35 84 100
>> tel. kom: +48 502 724 115
>> GPG Key ID: 0x05792F34
>>
>>
>> ___
>> 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


-- 
jabber: ryszard.l...@jabber.contium.pl
CONTIUM S.A. http://www.contium.pl
tel.: (71) 35 84 112
sekretariat: (71) 35 84 100
tel. kom: +48 502 724 115
GPG Key ID: 0x05792F34


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


Re: [xwiki-users] Multipage PDF Export and child/parent dependency

2012-09-19 Thread Ryszard Łach
Hi, again.

It seems that levels are increased  by one in each document for each
parent leading to 'top document', they are not increased only if the
parent is empty.

What is it for? How one should organize xwiki pages to get one, big
structured document in PDF?

R.

On 09/18/12 15:32, Ryszard Łach wrote:
> Hi.
>
> I'm trying to use
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Application
> . It works almost fine, but I cannot find out how to create document
> structure exactly as I need.
>
> I've created three pages in Sandbox (T1, T2 and T3) with the following
> content (xwiki source):
>
> T1:
>
> = T1-1 =
>
> T2:
>
> = T1-2 =
>
> T3:
>
> = T1-3 =
>
> (T1 stands for "Title1" heading).
>
> Each one of them has 'Sandbox.WebHome' as their parent.
> When I create Multipage export (html or pdf), then in resulting document
> heading levels are being changed. This is HTML output:
>
> T1-1 id="child_1543277317">T2 id="HT1-2">T1-2 id="child_1543277318">T3 id="HT1-3">T1-3
>
> Is there any way to keep the original heading levels intact?
>
> TIA,
>
> R.
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>


-- 
jabber: ryszard.l...@jabber.contium.pl
CONTIUM S.A. http://www.contium.pl
tel.: (71) 35 84 112
sekretariat: (71) 35 84 100
tel. kom: +48 502 724 115
GPG Key ID: 0x05792F34


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


[xwiki-users] Multipage PDF Export and child/parent dependency

2012-09-18 Thread Ryszard Łach
Hi.

I'm trying to use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Application
. It works almost fine, but I cannot find out how to create document
structure exactly as I need.

I've created three pages in Sandbox (T1, T2 and T3) with the following
content (xwiki source):

T1:

= T1-1 =

T2:

= T1-2 =

T3:

= T1-3 =

(T1 stands for "Title1" heading).

Each one of them has 'Sandbox.WebHome' as their parent.
When I create Multipage export (html or pdf), then in resulting document
heading levels are being changed. This is HTML output:

T1-1T2T1-2T3T1-3

Is there any way to keep the original heading levels intact?

TIA,

R.

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


Re: [xwiki-users] Migration fails

2012-04-17 Thread Ryszard Łach
On 04/17/12 10:50, Moritz Hesse (EA GmbH) wrote:
> Detailed information:
> Error number 0 in 11: Uncaught exception
> Wrapped Exception: Java heap space
> com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
> Wrapped Exception: Java heap space
>   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:254)
>   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
>   at
> org.apache

You have to increase amount of RAM for your JVM process.

See
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToSolveAJavaHeapMemoryError

If you have a big .xar to import, you may have to:

* export your source wiki space-by-space (see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Export+By+Space+Application)
* split your .xar manually (unzip/edit packages.xml/zip part of dirs -
risky if you have weird page names)
* use some BIG machine (I've used EC2 High-Memory instance)

Cheers,

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


Re: [xwiki-users] XWiki and Postgresql not working together ?

2012-04-05 Thread Ryszard Łach
On 04/05/12 01:51, Sergiu Dumitriu wrote:
> Hi Ramon, users,
>
> The upcoming XWiki 3.5.1 should work well. Your options now are:
>
> - wait for 3.5.1 to be released (should be in a few days)
> - use the latest 3.5 snapshot
> - use 3.5 and manually apply the fixes for PostgreSQL:
> -- use
> https://raw.github.com/xwiki/xwiki-platform/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/xwiki.postgresql.hbm.xml
> as the mapping file (don't forget to enable it in hibernate.cfg.xml)
> -- run this script on the database, or each database if you're running
> a virtual wiki farm with more wikis:
> https://raw.github.com/xwiki/xwiki-platform/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/com/xpn/xwiki/store/migration/hibernate/R35100XWIKI7564.sql
>
>
> Personally I'd recommend waiting for 3.5.1, since it's the safest
> approach.

Well, it will work unless you have already entered some non-ascii data -
it is being corrupted while entering xwikircs.xwr_patch. If you've
already broken some data - let me know, I can share some suggestion how
to make the broken versioning at least operational. I've had a bad luck
(better say: didn't check if versioning works after upgrade) and now I
have a few weeks of patches to repair.

In short, we've had to:

* for records craeted before upgrade - import xwikircs data from backup
* for records created between update and switching hibernate mapping to
text - convert non-UTF characters to whatever, what can be entered (and
read) without error to database

Cheers,

R.

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


Re: [xwiki-users] Non-ascii hibernate versioning problem

2012-03-19 Thread Ryszard Łach
On 03/08/12 22:41, Richard Rafalski wrote:
> Hallo Ryszard,
>
> i can confirm this issue. I have the same problem with the german umlaut
> characters, xwiki 3.5, tomcat 7 and postgres 9.1. Also followed the
> recommendations from
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding without
> success.
>

Hi.

It looks like we're getting closer. Could some developer look at the
latest comment?

http://jira.xwiki.org/browse/XWIKI-7539?focusedCommentId=69709&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-69709

R.

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


[xwiki-users] Non-ascii hibernate versioning problem

2012-03-08 Thread Ryszard Łach
Hi.

I have a problem with hibernate versioning of non-ascii characters.  I'm
following all recommendations from
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding (database
Postgresql, DB's locale pl_PL.UTF-8), but it does not work - there is
always a problem with viewing old versions (see
http://jira.xwiki.org/browse/XWIKI-7539).

I'm wondering, if it is possible, that nobody else has that problem.
I've tried with xwiki 3.4, xwiki 3.5, even with xwiki 3.3 launched with
empty postgresql database versioning does not work correct.

The only properly working installation is my old, many times upgraded
xwiki database, where in xwr_patch column of xwikircs table are stored
patches for previous doc versions. All installations where xwr_patch
contains number of large object have problems with versioning.

Any help will be appreciated.

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


Re: [xwiki-users] XWiki and Postgresql not working together ?

2012-02-22 Thread Ryszard Łach
On 22.02.2012 22:15, Vincent Massol wrote:
>> http://jira.xwiki.org/browse/XWIKI-7537
>> > http://jira.xwiki.org/browse/XWIKI-7564
>> > 
>> > From my point of view is xwiki currently not usable with postgresql.
> It seems it works fine if you install XE 3.4 but what's not working is the 
> migration. Apparently Caleb has reproduced the issue but it works if we do 
> what you reported (ie add the materialized clob typedef) but Caleb has found 
> a strange warning in the logs which doesn't look too good (don't remember the 
> exact log, something about some invalid revision) and we still need to look 
> at that.
Is it possible, that my bug report

http://jira.xwiki.org/browse/XWIKI-7539

has something to do with it?

Unfortunately I'm not a developer, but I could prepare a test
environment, if it would help.

Cheers,

Ryszard.

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


Re: [xwiki-users] Status of filesystem attachment storage.

2012-01-24 Thread Ryszard Łach
On 01/24/12 23:03, Vincent Massol wrote:
> Ideally we would not need filesystem storage at all since DBs should be able 
> to stream arbitrary data in a performant manner. In practice only some DBs 
> support this (MySQL doesn't AFAIK).

Is postgresql one of the better ones (in this area)?

R.

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


[xwiki-users] Status of filesystem attachment storage.

2012-01-24 Thread Ryszard Łach
Hi.

Could anyone, please, give any info about status of filesystem
attachment storage?

Is it stable? Does it deal with non-ascii filenames prolerply?

If so - why in 3.4 versions default storage for attachments will be
hibernate?

Cheers,

R.

--

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


Re: [xwiki-users] Display external data using LiveTable Macro

2010-05-11 Thread Ryszard Łach
2010/5/11 Guillaume Lerouge 

>
> Have you looked at
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable too?
>
>
Yes, it wasn't very helpful for me.

I expected, that it would be easy possible to write a small piece of code to
fetch some rows from an external table and use LiveTable macro. After some
tests I realized, that the logic of paging, fetching next result sets etc.
won't work, If I simply generate JSON output from some CGI script - it is at
the LiveResults' side.

Finally we will use XLM-RPC api to create pages with objects of our xwiki
class and use this class with LiveTable macro.

Thanks,

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Display external data using LiveTable Macro

2010-05-11 Thread Ryszard Łach
Hi!
Does anybody know how to display some external data using LiveTable macro? I
can see in doc, that there is an 'url' alternative datasource (alternative
to className and resultsPage), but I cannot find any examples using it.

I've tried to write to the text file the JSON output used by the macro, then
I put the file on some http server and try to use its url in macro
invocation, but it does not work.

TIA,

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with users administration

2009-04-07 Thread Ryszard Łach
2009/4/8 Sergiu Dumitriu 

>
> Hm, nothing weird in here, indeed. I guess this could be a syntax
> problem, since mixing 1.0 and 2.0 is not so well tested yet. Can you try
> setting the default syntax back to 1.0 and see if it works well?
>

I've had similar problem. This works this way:

1. I've turned default syntax to 2.0
2. creating new user creates a page with syntax (regarding macro embeding)
from 1.0 syntax

You can fix it by:

1. turning back default syntax to xwiki/1.0 (for new users)
2. change syntax for users created with xwiki/2.0 by opening url

http://your.wiki/xwiki/bin/edit/XWiki/username?editor=wiki

Then you can change the syntax in right panel.

Regards,

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki Syntax 2.0 by default in 1.8?

2009-04-02 Thread Ryszard Łach
2009/4/2 Marius Dumitru Florea 

>
> Yes, this is normal, but you can change the default syntax for newly
> created pages. See
>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringWikiSyntaxesanddefaultSyntax
>
>
I have another problem with syntaxes: my 'Page Syntax' pulldown on editing
page is fixed to xwiki syntax 1.0 and I cannot change it. In xwiki.cfg I
have

xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0
core.defaultDocumentSyntax = xwiki/2.0


In page source I can see


XWiki 1.0
  XWiki 2.0
  


Is there another place for configuring syntax? I suppose it could change
after importing default 1.8 .xar.

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Ryszard Łach
W dniu 2 kwietnia 2009 14:27 użytkownik Guillaume Lerouge <
guilla...@xwiki.com> napisał:

>
> Try with:
> set($sender =
> ${context.user.substring(12)}...@${request.servername.substring(4)})
> Here I've put 4 as I assumed your domain name would be "www.something.com"
> If your domain name is "somethingelse.something.com" you'll need to change
> 4
> to 14 (the number of chars in "somethingelse" + the ".")
> Hope this helps,
> Guillaume
>

Well, I'm sure something like that should work, but I don't think it should
be resolved this way. I have e-mail addresses in Active Directory, my xwiki
users are being autocreated at first login (with LDAP authorization), they
have email field in xwiki filled in so I'll find out how to use it.

Thanks for your help,

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Ryszard Łach
W dniu 2 kwietnia 2009 13:53 użytkownik Guillaume Lerouge <
guilla...@xwiki.com> napisał:

> > What elsecan I check?
>
>
> Are you in a XWiki Enterprise Manager instance? In this case $context.user
> would be something like xwiki:XWiki.rlach which means only the first 6
> chars
> would be trimmed, resulting in XWiki.rlach to be displayed.
> What does $context.user returns on your page?
> Guillaume
>

xwiki:XWiki.rlach

I've tried to trim 12 chars, but it also does not change my login name to
email:


com.sun.mail.smtp.SMTPSendFailedException: 501 : sender address must
contain a domain

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Ryszard Łach
Hi.

I have a problem with sender address. I have the following configuration:

1. logged in user with email address defined in edit->objects
2. SendPageByEmail from default-1.8.xar with code

#set($sender = $context.user.substring(6))

When I try to send an email the sender is being set to 'XWiki.rlach'.

What else can I check?

R.

-- 
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users