[xwiki-users] How to see setting changes in XWiki preferences?

2015-04-12 Thread Valdis Vītoliņš
In XWiki configuration document extra panel is not shown, therefore one cannot easily see changes between settings. What is best/easiest way to enable this (e.g. enable showing document extra panel, or something other)? Thanks! Valdis ___ users

[xwiki-users] Description and priority list for XWiki translations

2015-02-19 Thread Valdis Vītoliņš
I'm updating XWiki translations in http://l10n.xwiki.org/ and after resource redesign I wonder where should I start. Can you provide some list of description/priorities for all XWiki platforms and files, which should be translated first to cover needs of the most usual XWiki users. Thanks!

[xwiki-users] Invitation to the conference Open Europe: Open Data for Open Society February 18.-19., 2015, Latvia

2015-01-28 Thread Valdis Vītoliņš
Hello, XWikiers! Sorry for offtopic, but I feel my message will reach correct audience :-D As a member of Latvian Open Technology Association (LATA) I'm pleased to invite you to the conference Open Europe: Open Data for Open Society which will take place 18th-19th of February, 2015, Riga

Re: [xwiki-users] [myxwiki] new wiki request

2014-12-19 Thread Valdis Vītoliņš
Enjoy! -Vincent PS: Remember the stability of myxwiki.org is not guaranteed! See http://myxwiki.org But usually it's not bad though. See for example: http://stats.pingdom.com/n04jhbg6a16x/910468/2014/12 http://stats.pingdom.com/n04jhbg6a16x/910468/2014/11 Valdis

Re: [xwiki-users] localization string missing - xe.blog.code.title

2014-11-11 Thread Valdis Vītoliņš
Probably you need to set object title value for .../Blog/WebHome document. Note that this is not document title, but object title open it in form/object editor. Valdis Hi everybody!!! Please, allow me some small talk... I'm really happy to be here again once I've managed to get and start

[xwiki-users] Flamingo skin in action

2014-09-28 Thread Valdis Vītoliņš
Thanks to all XWiki'ers for Flamingo skin! You can look at it in action at http://ante.lv/ and it is much more mobile-friendly. I used {{container}} macro for 1/2 column layout for home page. I still had to do some adjustments in XWiki.StyleSheetExtension object to hide some unnecessary items

Re: [xwiki-users] [myxwiki] new wiki request

2014-09-10 Thread Valdis Vītoliņš
Probably for your simple needs you can also use https://etherpad.mozilla.org/ Valdis Hi. Try XWiki cloud services and see if it fits. http://www.xwiki.com/lang/en/Offer/XWikiCloud Or Download XWiki Windows Installer and be happy =). Regards. 2014-09-10 1:48 GMT-03:00 Hush ed

Re: [xwiki-users] myxwiki sends multiple notification emails

2014-08-28 Thread Valdis Vītoliņš
I think it would be better, to change default XWiki settings in WEB-INF/xwiki.cfg for watchlists from major to none Valdis Ok I think I found all of them this time. On Thu, Aug 28, 2014 at 9:32 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: Looks like there was watchlist jobs on

Re: [xwiki-users] Write to logger using Velocity

2014-08-26 Thread Valdis Vītoliņš
You need to say that following will be velocity script with opening/closing tags like this: {{velocity}} #set($logger = $services.logging.getLogger(My script)) $logger.info(foobar) {{/velocity}} Valdis ___ users mailing list users@xwiki.org

Re: [xwiki-users] how the page wiki are saved?

2014-08-15 Thread Valdis Vītoliņš
XWiki object model is not simply/directly related to database schema. It is somehow true for simple document (xwikidoc table), but properties of custom objects are distributed around several tables regarding to value type. (It allows adding arbitrary objects without extending schema):

[xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Valdis Vītoliņš
I've used http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import snippet and http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Platform+-+WikiStream+-+UI application to migrate XWiki to the new server. In both cases they show incorrect document creation and last change

Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Valdis Vītoliņš
/syntaxId hiddenfalse/hidden object class ... /versions/xwikidoc Valdis Could you print the XML located in the XAR file for the the example you gave ? Maybe the issue is at export level. On Mon, Jul 21, 2014 at 9:24 AM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I've used http

Re: [xwiki-users] Incorrect creation and modification dates after importing documents from xar

2014-07-21 Thread Valdis Vītoliņš
for the the example you gave ? Maybe the issue is at export level. On Mon, Jul 21, 2014 at 9:24 AM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I've used http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import snippet and http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki

Re: [xwiki-users] installing xwiki as deb packages : use and stick to super stable branch

2014-07-18 Thread Valdis Vītoliņš
Probably you can mark installed package for hold using: sudo apt-mark hold xwiki-enterprise-common or sudo aptitude hold xwiki-enterprise-common Valdis Hi, It seems stable and super stable xwiki packages are all contained in the same repository at http://maven.xwiki.org/stable/ (and the DEB

[xwiki-users] StackOverflowError after XWiki startup

2014-07-17 Thread Valdis Vītoliņš
I have installed new XWiki 6.1 instance, using Debian package. I increased Tomcat7 VM settings in /etc/default/tomcat7 to JAVA_OPTS=-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC But after I restart tomcat, anyway get exception: ... INFO: Deploying

Re: [xwiki-users] StackOverflowError after XWiki startup

2014-07-17 Thread Valdis Vītoliņš
. On Thu, Jul 17, 2014 at 11:12 AM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I have installed new XWiki 6.1 instance, using Debian package. I increased Tomcat7 VM settings in /etc/default/tomcat7 to JAVA_OPTS=-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m -XX

Re: [xwiki-users] StackOverflowError after XWiki startup

2014-07-17 Thread Valdis Vītoliņš
Thanks, Thomas! I added paragraph on http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#HSettingupnewXWikiinstancewithoutreinstalling please check that this is correct solution. Valdis On Thu, Jul 17, 2014 at 12:31 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: Thanks

[xwiki-users] http://www.myxwiki.org/ is down

2014-03-29 Thread Valdis Vītoliņš
Can anybody check/restart myxwiki.org site? Thanks! Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] crash on tomcat 7.0.47 with xwiki 5.4.2

2014-03-12 Thread Valdis Vītoliņš
You need to increase permanent space (parameter -XX:MaxPermSize), which is used for static objects, and which is never deallocated, e.g. -XX:MaxPermSize=256m Valdis Hello, With xwiki 5.4.1 I hadn't crash of xwiki but with the last version 5.4.2 I have 2 crash per day... Log indicate :

[xwiki-users] Search stops working in LiveTable with custom JSON results page after few characters entered

2014-01-13 Thread Valdis Vītoliņš
As LiveTable is document oriented and cant show several objects attached to the document, I have created customized JSON page following to guide in http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable It even works for document name and space. But for other fields filtering stops working

Re: [xwiki-users] XWiki with Piwik

2014-01-10 Thread Valdis Vītoliņš
Add piwik tracking code to .../xwiki/templates/htmlfooter.vm file in file system resulting ~like this: /div## xwikimaincontainerinner /div## xwikimaincontainer #if($isInServletMode) !-- Piwik -- script type=text/javascript var pkBaseURL = ((https: == document.location.protocol) ?

Re: [xwiki-users] Help: Migration from HSQL to Oracle db

2014-01-08 Thread Valdis Vītoliņš
Maybe you lost permissions when changed XWikiPreferences page during import. IMHO safer way for full XAR file import is using superadmin account (set in xwiki.cfg file). Valdis Dmitry, I had attempted the exact steps you had listed but faced the below error - 2014-01-07 12:49:23,194

Re: [xwiki-users] XWiki space partially deleted

2014-01-08 Thread Valdis Vītoliņš
There is no Space object in XWiki model, it is property of XWiki document. Therefore by creating space you actually create Space.WebHome document. As there was XWiki.WebHome document already, it probably ignored adding new one. Try to restart XWiki and hope it will recreate insufficient objects,

Re: [xwiki-users] help how to inherit a class from another

2014-01-06 Thread Valdis Vītoliņš
. 2014/1/5 Valdis Vītoliņš valdis.vitol...@odo.lv If you mean these classes defined in class editor defined in .../xwiki/bin/view/XWiki/XWikiClasses AFAIK these doesn't support extension. So, you need to use composition instead. Add object

Re: [xwiki-users] help how to inherit a class from another

2014-01-05 Thread Valdis Vītoliņš
If you mean these classes defined in class editor defined in .../xwiki/bin/view/XWiki/XWikiClasses AFAIK these doesn't support extension. So, you need to use composition instead. Add object with type of the common class, and for few other documents add another object with type of extended class.

Re: [xwiki-users] How to enable Google Analytics for Xwiki?

2013-11-29 Thread Valdis Vītoliņš
Workaround for this could be personalized Skin: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins Leave everything else empty, but for footer add GA code somewhere at the end of original one (from XWiki 5.2): #if($isInServletMode)## Visible only in a page div id=footerglobal

Re: [xwiki-users] How to enable Google Analytics for Xwiki?

2013-11-28 Thread Valdis Vītoliņš
I have used GA only on locally hosted XWiki instaces. Maybe there is something wrong on myxwiki.org? Valdis Hi, One more question before I (may) give up: is there anyone who managed to make Google Analystics works for a Wiki hosted on myxwiki.org ? Thanks for your answers, -- View

[xwiki-users] Style for span in XWiki 2.x syntax

2013-11-27 Thread Valdis Vītoliņš
Is it possible in XWiki 2.x syntax to set span style? E.g.: Normal (%style=color: red;%) red normal makes following normal also red. Only solution I could get working was embedded html code, e.g.: normal {{html clean=false}}span style=color: red;{{/html}}red{{html clean=false}}/span{{/html}}

Re: [xwiki-users] How to enable Google Analytics for Xwiki?

2013-11-22 Thread Valdis Vītoliņš
Try to re-save settings in object editor mode, or import this page from the XAR file. Valdis Hi, Some other info for the community to help me solve this issue: - I have checked my google analytics account : yet it is set to classic (and not universal) = the same in the Google Analytics

[xwiki-users] How to debug XWiki extensions

2013-11-22 Thread Valdis Vītoliņš
This question mainly arised from discussion about GA plugin, http://lists.xwiki.org/pipermail/users/2013-November/026937.html but I've noticed, that sometimes other extensions, e.g. http://extensions.xwiki.org/xwiki/bin/view/Extension/FullCalendar +Application

[xwiki-users] Advanced statements for Livetable extraParams

2013-11-11 Thread Valdis Vītoliņš
I'm wondering what are advanced possibilities for extraParams property for Livetable macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable% 2BMacro#HParameter24options E.g. how/does it support: like, greater, less, not, and, or, grouped statements? Thanks! Valdis

Re: [xwiki-users] XWiki vs Xwiki or brandname vs forename

2013-11-11 Thread Valdis Vītoliņš
vinc...@massol.net wrote: Hi vaL, (sorry I'm too lazy to write your full name ;)) see below On May 29, 2013, at 6:38 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I'm just curious about brandname such as XWiki versus generic forename such as Xwiki. For example

Re: [xwiki-users] How to avoid not viewable documents in livetable?

2013-11-08 Thread Valdis Vītoliņš
, so that even the simple count method fully checks access rights. But that is going to be very taxing on performance, so it's not something that can easily be implemented. On 11/07/2013 04:34 PM, Valdis Vītoliņš wrote: Got it right with /xwiki/bin/view/XWiki/LiveTableResultsMacros

[xwiki-users] How to avoid not viewable documents in livetable?

2013-11-07 Thread Valdis Vītoliņš
I have the same kind of objects: part of them are publicly available, but others ar private. Using Livetable macro, for anonymous user it shows entries with documents (without hyperlinks), which actually are not accessible. With note under table: (*) Some documents require special rights to be

Re: [xwiki-users] How to avoid not viewable documents in livetable?

2013-11-07 Thread Valdis Vītoliņš
Got it right with /xwiki/bin/view/XWiki/LiveTableResultsMacros changing to following (diff lines): 190 - #gridresult_buildRowJSON($item $rows) 190 + #if($xwiki.getDocument($item).hasAccessLevel('view')) 191 + #gridresult_buildRowJSON($item $rows) 192 + #end

Re: [xwiki-users] Return to edit view with previous sheet after validation error

2013-10-28 Thread Valdis Vītoliņš
' when the validation fails, I think. To be tested. Hope this helps, Marius On Sat, Oct 26, 2013 at 4:13 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: In general I use custom edit sheet passed as a get/post parameter as described in http://extensions.xwiki.org/xwiki/bin/view/Extension

[xwiki-users] Return to edit view with previous sheet after validation error

2013-10-26 Thread Valdis Vītoliņš
In general I use custom edit sheet passed as a get/post parameter as described in http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet +Module and validation with groovy according to: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with +validation+and+tooltips Problem

[xwiki-users] Livetable with 100k objects

2013-10-11 Thread Valdis Vītoliņš
Has anybody experienced (or, at least, evaluated) how Livetable behaves with more than 100k objects? I have to import historical data and I'm not sure will it work smoothly (one of doubts is immediate like... type search after each typed letter in column head). Thanks! Valdis

[xwiki-users] Livetable with several attached objects to the document

2013-10-09 Thread Valdis Vītoliņš
Is it possible with Livetable macro to show all (more than one) attached object do the document? Thanks! Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Livetable with several attached objects to the document

2013-10-09 Thread Valdis Vītoliņš
Thanks! I'll try to create my custom implementation according to http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable +Macro#HAllAttachments Valdis Something like the Attachments Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Attachments+Macro ? -- View this

Re: [xwiki-users] tutorial to develop full fledged websites on xwiki?

2013-09-22 Thread Valdis Vītoliņš
Look at http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial Valdis Skin is good . But I always look to see xwiki to be competitive with wordpresss where user can play a lot with UI. So if there is brief tutorial where we can see what are all common needs of any CMS site

Re: [xwiki-users] Hiding the Top Level Menu /Page Menu links?

2013-09-22 Thread Valdis Vītoliņš
Create XWiki.StyleSheetExtension with code in content, e.g.: #if(!$xcontext.userReference) #contentmenu, .leftmenu { display:none; } #end See more at http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial Valdis Hi All, If i want to hide top level menu(like

Re: [xwiki-users] XWiki/2.1 analogue for #message(message) macro

2013-09-10 Thread Valdis Vītoliņš
I decided, that the most elegant solution was to add custom XWiki macro called message whith body: {{velocity}}(% class=box plainmessage% )((($xcontext.macro.content))){{/velocity}} http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial Valdis I'm migrating documents to XWiki/2.1

Re: [xwiki-users] XWiki/2.1 analogue for #message(message) macro

2013-09-10 Thread Valdis Vītoliņš
because it looks a little bit less nice that the other style (round corners, margin for the text), right? Thanks -Vincent On Sep 10, 2013, at 11:26 AM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I decided, that the most elegant solution was to add custom XWiki macro called

[xwiki-users] XWiki/2.1 analogue for #message(message) macro

2013-09-03 Thread Valdis Vītoliņš
I'm migrating documents to XWiki/2.1 syntax and wonder, what would be the precise analogue for #message(message) macro, which produces following HTML: div class=plainmessagemessage/div I found only similar ones: quote which produces blockquotequote/blockquote (IMHO works only for single

[xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Valdis Vītoliņš
1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get paramsMain.test?xpage=plainoutputSyntax=plain]] 2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id#id]] Thanks! Valdis

Re: [xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax

2013-08-29 Thread Valdis Vītoliņš
On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: 1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get paramsMain.test?xpage=plainoutputSyntax=plain]] 2. What is correct syntax for link in the same page with some ID

Re: [xwiki-users] XWiki design and doubts

2013-08-27 Thread Valdis Vītoliņš
2.- #if($xwiki.getUser().isUserInGroup(XWiki.DemoGroup)) $response.sendRedirect($xwiki.getURL('Some.Document')) #end -- Where should I place this commands? Put this code e.g. in Main.WebHome page surrounding by {{velocity}} or you can create macro:

Re: [xwiki-users] video tag (solved)

2013-08-27 Thread Valdis Vītoliņš
It appears now this tag is filtered out by newer Apache proxy version (hate these standards naciz)... And I found out that I had unnecessary option for ApacheProxy: /etc/apache2/ ... ProxyHTMLDoctype XHTML ... See more at

[xwiki-users] video tag again

2013-08-26 Thread Valdis Vītoliņš
I'm using video tag on old XWiki 2.7 with 1.0 syntax, though I cannot to get it shown on XWiki 5.1 with 2.0/2.1 syntax. Sergiu said in http://lists.xwiki.org/pipermail/users/2011-July/020245.html that {{html clean=false}} should be used, but it still filters video tag out... Valdis

Re: [xwiki-users] video tag again

2013-08-26 Thread Valdis Vītoliņš
Thanks, it works for me also, if I connect to the tomcat port directly. It appears now this tag is filtered out by newer Apache proxy version (hate these standards naciz)... Valdis Hi, On Aug 26, 2013, at 2:32 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I'm using video tag on old

Re: [xwiki-users] XWiki design and doubts

2013-08-26 Thread Valdis Vītoliņš
... The problem i have found is. 1.- Project manager can create new spaces http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access +Rights#HPreventregularusersfromcreatingnewspaces 2.- I dont't know how to fix the initial space for Operators (they appear in Main Space)

Re: [xwiki-users] piwik anyone?

2013-08-23 Thread Valdis Vītoliņš
I use piwik and I'm satisfied with it. Reports can be seen at: http://odo.lv/piwik/ Valdis Hello XWiki users, did anyone made experiments with Piwik? It seems to be an open-source (GPL unfortunately) analytics tool which would compete well with Google Analytics. thanks in advance.

[xwiki-users] Syntax and execution rules for parsed CSS and Javascript objects

2013-08-22 Thread Valdis Vītoliņš
I'm trying to move all velocity macro customizations from files to the database according to http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial Though I can't find out syntax and execution rules (e.g. order) for parsed entries. E.g. to implement different styles for

Re: [xwiki-users] Syntax and execution rules for parsed CSS and Javascript objects

2013-08-22 Thread Valdis Vītoliņš
Thanks Clemens and Marius! I updated http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HHowtouseVelocityinparsedcontent with additional notes. Valdis Hi Valdis, it seems in the StyleSheetExtensions / JavaScriptExtensions only the basic variables are defined, like

Re: [xwiki-users] Is xwiki suitable as a blog now?

2013-08-20 Thread Valdis Vītoliņš
To handle pictures better, I use following macro: #macro(picture $img, $width) a href=/xwiki/bin/download/$doc.space/$doc.name/$img{image:$img| width=$width}/a#end Width parameter is optional, fixed width or percents can be used. And user is able to click on picture to see bigger picture. See

[xwiki-users] Syntax 1.0 is not shown as syntax option

2013-08-20 Thread Valdis Vītoliņš
I've changed XWiki 5.1 configuration file .../xwiki/WEB-INF/xwiki.cfg line to the: ... xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0, xwiki/2.1 ... but Document Syntax combo box still shows only XWiki 2.1 XWiki 2.0 as possible options. Where could be the catch? Valdis

Re: [xwiki-users] SSO/SAML/STS example provided on Github

2013-05-30 Thread Valdis Vītoliņš
Hello! I have created another variant for XWiki authenticator, using SAML Security Token Service (STS) authentication. It is pushed in Github fork https://github.com/ValdisVitolins/sandbox/tree/master/authenticators/xwiki-authentication-sts and I'd be happy if you will include it (doing some

[xwiki-users] XWiki vs Xwiki or brandname vs forename

2013-05-29 Thread Valdis Vītoliņš
I'm just curious about brandname such as XWiki versus generic forename such as Xwiki. For example in languages I know (Latvian, English, Russian) any forename (given name for person or dog, city or ship name, etc.) starts with capital and then, if not all characters are capital, it follows with

Re: [xwiki-users] [myxwiki] new wiki request

2013-05-23 Thread Valdis Vītoliņš
Kévin, you can probably include following velocity script in your pages. #if($request.getRequestURL().substring(7,32)! =www.familleassociative.fr) ## (please count characters yourself!) $response.sendRedirect(http://www.familleassociative.fr/${request.getRequestURL().substring(32)}) #end And

[xwiki-users] How to continue table in new row with content from referenced document

2013-05-22 Thread Valdis Vītoliņš
I'd like to continue table from main document with content from referenced document, but can't get it right. I have TableIncl document: |cc|cc |dd|dd And then I use following: |aa|aa |bb|bb {{include reference=Test.TableIncl/}} I get table from TableIncl shown inside bb cell. If I put empty

Re: [xwiki-users] How to continue table in new row with content from referenced document

2013-05-22 Thread Valdis Vītoliņš
On Wed, May 22, 2013 at 3:43 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I'd like to continue table from main document with content from referenced document, but can't get it right. I have TableIncl document: |cc|cc |dd|dd And then I use following: |aa|aa |bb|bb

[xwiki-users] How to send all custom object content in e-mail

2013-05-11 Thread Valdis Vītoliņš
Is it way to get whole Custom object content to be send it in the mail? I do it in Groovy as it is described in http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial I know it could be done by redoing the same formatting as in the class sheet, but, as I need to notify about

[xwiki-users] Edit and save custom document from view action

2013-05-03 Thread Valdis Vītoliņš
I have customized document (i.e. attached object of the custom class to document) and I'd like to change its status from the view mode. I tried to modify ClassSheet for view mode with following HTML: form method=post action=/xwiki/bin/edit/$doc.space/$doc.name input type=hidden

Re: [xwiki-users] java.lang.ClassCastException: com.xpn.xwiki.doc.XWikiAttachment cannot be cast to com.xpn.xwiki.api.Attachment

2013-04-29 Thread Valdis Vītoliņš
of the XWikiDocument should solve your problem. I hope this helps Edo On Thu, Apr 25, 2013 at 4:31 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I'm writing custom listener to send e-mail after document updates according to: http

Re: [xwiki-users] redirecting 302 responses

2013-04-28 Thread Valdis Vītoliņš
Ricardo, then look also at: http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs Valdis Thanks, Vladis! Please, read below... From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Valdis Vītoliņš [valdis.vitol...@odo.lv] Sent

Re: [xwiki-users] redirecting 302 responses

2013-04-27 Thread Valdis Vītoliņš
Ricardo, if your intention is to shorten Xwiki URLs permanently, look at http://odo.lv/Recipes/XwikiShortURLs_en BTW, I have question to Xwiki developers — why status 302 (found) is used? IMHO, to train crawlers for changes, 301 (moved permanently) seems more appropriate. Valdis Oops! Please,

Re: [xwiki-users] Body attributes are lost when apache proxy filter is used — solved

2013-04-24 Thread Valdis Vītoliņš
of spaces is produced by colorThemeInit.vm foreach loops, I replaced each pair of leading spaces with only one. (Note that increasing ProxyHTMLBufSize didn't help.) Valdis On Mon, Apr 22, 2013 at 8:17 PM, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: I'm working on shortening Xwiki instance

[xwiki-users] Body attributes are lost when apache proxy filter is used

2013-04-22 Thread Valdis Vītoliņš
I'm working on shortening Xwiki instance URLs (see details in http://odo.lv/Recipes/XwikiShortURLs_en ) and strangely I can't do it for newer Xwiki instance (it works for odo.lv which uses 2.7 version). I found out that HTML is broken, when proxy server rewrites hyperlinks for preduced XHTML

[xwiki-users] How to solve Xwiki SAML authentication

2013-04-11 Thread Valdis Vītoliņš
I found out that Xwiki SAML module from https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-authentication-saml differs significantly from what I have. It works according to: http://docs.oasis-open.org/wsfed/federation/v1.2/os/ws-federation-1.2-spec-os.html And is implemented

Re: [xwiki-users] How to package all necessary jars for xwiki-authentication-saml?

2013-04-01 Thread Valdis Vītoliņš
dependency:copy-dependencies to get all dependencies of your jar in target/dependencies and select the one you don't have in your XE instance. Make sure to pull first because I modified a bit the opensaml dependency which was provided. On Fri, Mar 29, 2013 at 10:29 PM, Valdis Vītoliņš

Re: [xwiki-users] SSO/SAML: issue with example provided on Github

2013-03-29 Thread Valdis Vītoliņš
Nicolas, If you'd be able to rebuild this module that it at least compiles and does something, I'd also be interested in trying it and contributing to its development. Valdis Hi Nicolas, If I remember correctly I wrote this authenticator and I think it requires some code in XWiki pages to

[xwiki-users] How to package all necessary jars for xwiki-authentication-saml?

2013-03-29 Thread Valdis Vītoliņš
Thanks, Thomas, I tried https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-authentication-saml again and now it compiled successfully. Though when tried to access WebHome page I got exception, from which IMHO important part is: ... Caused by:

Re: [xwiki-users] help

2010-05-10 Thread Valdis Vītoliņš
Xwiki doesn't send e-mail directly but rather use SMTP server (sendmail, postfix in Linux systems) which by default runs on the same host where Xwiki and listens on port No 25. Go on Xwiki- Administer Xwiki- General and there should be ~ like: ... SMTP Server: 127.0.0.1 Port:25 or nothing (as 25

Re: [xwiki-users] Why the created and last modified time are wrong?

2010-04-28 Thread Valdis Vītoliņš
Please add following code in some page (xwiki 1.0 syntax) $datetool.get('dd.MM. HH:mm') Save and check what date is shown in page. If shown time is wrong, then server simply doesn't have correct time and/or time zone. Valdis Hi All, I have installed XWiki Enterprise 2.2.1.27354 on my

[xwiki-users] $response.sendRedirect with status 301

2010-04-22 Thread Valdis Vītoliņš
Xwiki allows to redirect from one xwiki page to other using $response.sendRedirect(http://new_url;) code. Though response header status ir 302 (found, i.e. moved temporarily), but I need 301 (moved permanently). Is it way to set this status for response? Valdis

Re: [xwiki-users] [xwiki-devs] XWiki Logo Challenge, Round 2

2010-04-20 Thread Valdis Vītoliņš
We should believe in evolution, not in intelligent design ;-) For me topology (i.e. shapes of character) looks good, though I'd like right part for w parallel to slope parts of X and k, with iki size adjusted accordingly (probably they need to be smaller then). Wouldn't it be better? Valdis

Re: [xwiki-users] [xwiki-devs] XWiki Logo Challenge, Round 2

2010-04-14 Thread Valdis Vītoliņš
Readability is better, but for me upper right backgoing serif for w seems unnecessary. In place of (ascii art): \// \ /\\/\/iki only in this way: \/ /\\/\/iki Then X can be bigger and w can be aligned with k. What do you think? Valdis I completely agree with Marius, I would also add that

Re: [xwiki-users] XWiki Logo Challenge, Round 2

2010-04-12 Thread Valdis Vītoliņš
Agree that small icon for http://dev.xwiki.org/xwiki/bin/download/Community/LogoChallengeRound2/final1.png looks good, but for bigger sizes it looks for me as squirrel with flightskin :-) Therefore I choose 16 with straight W as it seems more ordered.

[xwiki-users] Your ideas to save number in custom object using Groovy code?

2010-04-09 Thread Valdis Vītoliņš
I'm trying to save custom object values, and can only for strings using advanced script from http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial For Number type (tried integer and long), I couldn't save value in any way. Tried explicitly define as int daudzums and

Re: [xwiki-users] Your ideas to save number in custom object using Groovy code?

2010-04-09 Thread Valdis Vītoliņš
Investigating http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema and trying other number formats got it working for float (xwikifloats table). Groovy code: .. Float daudzums daudzums = Float.parseFloat(string) ... Actually I need only integer eg 11 in place of 11.0 but this is minor

Re: [xwiki-users] FW: A new Wiki install

2010-03-31 Thread Valdis Vītoliņš
I'm still wondering why people run Java applications on Windows. Running on Linux is much easier. Don't get me wrong. In 2001 I did presentation in international conference recommending Sharepoint as a new powerful tool for collaboration and knowledge exchange. But that was looong time ago, and

Re: [xwiki-users] XWiki Logo Challenge

2010-03-26 Thread Valdis Vītoliņš
+3 Proposal 19 +2 Proposal 5 +1 Proposal 16 B Valdis Hi Community, The XWiki Logo proposal period is now closed, many thanks to everyone who participated. It is now the time to vote the new logo amongst the 19 proposals available here:

[xwiki-users] Unneded Blog RSS pages

2010-03-26 Thread Valdis Vītoliņš
I'm looking at access logs and found that my site through all historical development has 3 blog RSS feeds: Main/BlogRss - not linked from anywhere but created in 2005 Blog/GlobalBlogRss - linked from global site RSS feed (another is WebRSS) Blog/BlogRss - linked from Links panel. Probably two of

Re: [xwiki-users] Is it possible to upgrade a stand alone xwiki enterprise to version 2.2.3

2010-03-23 Thread Valdis Vītoliņš
a bit complicated for me too bad ... On Tue, Mar 23, 2010 at 7:37 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 03/23/2010 07:30 PM, Valdis Vītoliņš wrote: All pages which are created as new will not be touched. If you have changed existing Xwiki documents, look at http

[xwiki-users] Xwiki integration with SMS

2010-03-17 Thread Valdis Vītoliņš
I'm investigating how to integrate Xwiki with SMS sending software. (see http://en.wikipedia.org/wiki/Short_message_peer-to-peer_protocol ) Have you any thoughts recommendations regarding to tools (http://smppapi.sourceforge.net/ http://code.google.com/p/jsmpp/ ) approaches, etc? Thanks in

Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-10 Thread Valdis Vītoliņš
Why don't you use database list? IMHO this is better, especially because then user can modify values without changing design. So, use them if there are no other design constraints. Valdis Hi, Is there a way to modify the values of the options in the select element (html) associated with

Re: [xwiki-users] Questions about XWiki: translations for macros

2010-03-05 Thread Valdis Vītoliņš
- objects can not be translated (see XWIKI-69http://jira.xwiki.org/jira/browse/XWIKI-69). In my words a page can not be translated if it uses a template. Using conditions in macros is not a good workaround for end-users. Is there another way to implement this feature ? Do you have

[xwiki-users] Localization testing howto for review

2010-03-01 Thread Valdis Vītoliņš
Please review localization testing page http://l10n.xwiki.org/xwiki/bin/view/L10N/TranslationTesting Update/move (add links to it) where it is necessary. Thanks, Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Valdis Vītoliņš
One of problem with xwiki is that resources are quite distributed. Due to virtual wikis for www.xwiki.com, www.xwiki.org, dev.xwiki.org, l10n.xwiki.org even I am confused (though I have started using xwiki quite long time ago) where to find info (except for google) and where to put new entries

Re: [xwiki-users] Where to improve the translation, resource file or l10i.xwiki.org

2010-02-28 Thread Valdis Vītoliņš
Hi, I have some question about translation. 1. Is the ApplicationResources_zh.properties exported from l10i.xwiki.org? But I find the resources file in xwiki 2.2.1 release package is not the same as the resource file I get from l10i.xwiki.org. *.properties file generated from

Re: [xwiki-users] Search for translations

2010-02-24 Thread Valdis Vītoliņš
Actually I'd like to change it once more because for me searching by (poorly) translated text, not the key is more usual. What do you think? Yes good idea. I could easily do a extended search form I guess like: o search in translated o search in original o search in key It is

Re: [xwiki-users] Translations discussion

2010-02-24 Thread Valdis Vītoliņš
Will the new page http://l10n.xwiki.org/xwiki/bin/view/Discussions/German be ok? Valdis Hi, id also like to suggest, that we come to some form of cooperation in doing the german translation since i did most part of it till yet (and hope that not all of it is incorrect german :). One

Re: [xwiki-users] Getting a user preference as a list

2010-02-23 Thread Valdis Vītoliņš
Method to get chosen list is .getListValue('value') Valdis Hello, I'm trying to get the value of a property in XWikiPreferences of type Database List that has mutiple-select capability. When I do $xwiki.getUserPreference(property_name), it returns a string that is a representation of

Re: [xwiki-users] Group Access Rights, File Retrieve, and Livetable Options

2010-02-19 Thread Valdis Vītoliņš
There is another macro #gridresultwithfilter() similar to live table, but with query options. http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiGridComponentTutorial http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable Though it is not documented and I cannot prepare working examples. For

[xwiki-users] Search criteria for Livetable macro

2010-02-18 Thread Valdis Vītoliņš
What is syntax to add filtering criteria for livetable macro? http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable It seems there should be possibility to add something for $options = ... part. Thanks, Valdis

Re: [xwiki-users] Search criteria for Livetable macro

2010-02-18 Thread Valdis Vītoliņš
and the initial and in the WHERE parameter. See this page for more info (though I think it needs to be expanded with a more exhaustive list of queryable object fields): http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples -Joshua Valdis Vītoliņš wrote: What is syntax

Re: [xwiki-users] Adding custom object using Xwiki REST service

2010-02-18 Thread Valdis Vītoliņš
It can be done in once by setting all object properties (including template, field names an dvalues). At first look at code of the xwiki generated submission form, and get names of all fields. Then add name=value for properties (e.g. using curl with GET): curl -u user:password -d

[xwiki-users] Adding custom object usinf groovy or velocity

2010-02-18 Thread Valdis Vītoliņš
Following velocity allows to create simpe xwiki document: #set ($mydoc = $xwiki.getDocument(Sandbox.Test1)) $mydoc.setContent(sdfsdf) $mydoc.save() But How can I create custom object? http://hans.gerwitz.com/projects/snipsnap-to-xwiki shows some ideas but I can't make it working for me. Another

Re: [xwiki-users] Display a well rendered field

2010-02-15 Thread Valdis Vītoliņš
It seems your default editor is WYSIWYG, but text field is simple text. You need to set textarea field to FullyRenderedText (Xwiki 1.x version) or WYSIWYG (2.x version) mode. Valdis Hello all, I have a class with text fields. When i want to display the value of one of them, i only have a

  1   2   >