Re: [xwiki-users] XWiki 2.0: loosing pull down menus

2009-10-05 Thread Valdis Vītoliņš
Maybe it is skin related problem. What happens, if skin is changed? E.g. http://dev.xwiki.org/xwiki/bin/view/Main/ uses Toucan skin. Valdis Hi all, The advanced edit mode has been switched on. And the menus are lost for Create, View ... mb -Original Message- From:

Re: [xwiki-users] XWiki 2.0: loosing pull down menus

2009-10-07 Thread Valdis Vītoliņš
In my case problem was that xwiki/resources/js/prototype/prototype.js file was missing. See http://jira.xwiki.org/jira/browse/XWIKI-4458 Valdis Hi all, The advanced edit mode has been switched on. And the menus are lost for Create, View ... mb -Original Message- From:

[xwiki-users] Xwiki 2.0 memory leak?

2009-10-16 Thread Valdis Vītoliņš
It seems to me, Xwiki 2.0 has a memory leak (see memory increase form week 41 to week 42). Virtual memory for jsvc process has increased to almost 1GB. Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Xwiki 2.0 memory leak?

2009-10-16 Thread Valdis Vītoliņš
Hi Valdis, On Oct 16, 2009, at 11:05 AM, Valdis Vītoliņš wrote: It seems to me, Xwiki 2.0 has a memory leak (see memory increase form week 41 to week 42). Did you attach something to your mail? Yep, though I sent mail as html, and it was dropped. Hopefully it will go now

Re: [xwiki-users] Xwiki 2.0 memory leak?

2009-10-16 Thread Valdis Vītoliņš
Hi Valdis, On Oct 16, 2009, at 11:05 AM, Valdis Vītoliņš wrote: It seems to me, Xwiki 2.0 has a memory leak (see memory increase form week 41 to week 42). Did you attach something to your mail? Yep, though I sent mail as html, and it was dropped. Hopefully it will go now

Re: [xwiki-users] Xwiki 2.0 memory leak?

2009-10-16 Thread Valdis Vītoliņš
Pk, 2009-10-16 11:50 +0200, Vincent Massol rakstīja: Was XWiki running prior to week 41? Before week 41 1.8.17790 was used. How long has it been running before the leak? More than year (versions 1.4, 1.6, 1.8) Do you know what has been done on the wiki the week of the leak?

[xwiki-users] How to perform global content refactoring with xeclipse

2009-10-24 Thread Valdis Vītoliņš
Hello! I'm experimenting with xeclipse to perform global xwiki content refactoring. Idea is following: get local xwiki copy in files on disk, then perform find/replace using regular expressions on files and upload back to xwiki. (It could be possible using simple import/export though it is more

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Valdis Vītoliņš
I've been told the url http://localhost/xwiki/bin/view/FAQ/ is equivalent to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little shaky on that point. For Xwiki tailing slash is the same as WebHome page. So description above is not correct. Correct explanation is following:

Re: [xwiki-users] Encoding questions

2009-11-23 Thread Valdis Vītoliņš
All progressive mankind is gone to UTF-8 long time ago, exception is Americans and West-Europeans, especially if they run Windows servers;-) So, my advice would be to migrate both systems to UTF-8. But you can try to run some velocity/groovy script invoking iconv on the fly. Something like:

Re: [xwiki-users] Encoding questions

2009-11-24 Thread Valdis Vītoliņš
Yes, it will invoke iconv on every page. If you worry about performance, it should be addressed by page caching, using either Java (such as OScache), or web server (e.g. Apache cache). Another solution could be tweaking header meta tags, but I don't know how to do this in xwiki. Can anybody

[xwiki-users] Probaly cracked Xwiki

2009-12-03 Thread Valdis Vītoliņš
Hello, I'd just like to wan you that it seems my Xwiki site has been cracked few hours ago. One notable change is that copyright string now is Copyright 2004-2007 (c) XPertNet and Contributing Authors I'm still investigating, reason, but please be watchful you also. Valdis

Re: [xwiki-users] Probaly cracked Xwiki

2009-12-03 Thread Valdis Vītoliņš
After investigation I found that somebody somehow deleted /xwiki/bin/admin/XWiki/XWikiPreferences object. So here is question: how can I find, which xwiki document was deleted? (It is easy to find which document was added or modified, but not so about deleted ones). Valdis Hello, I'd just like

Re: [xwiki-users] upgrading standalone xwiki?

2009-12-07 Thread Valdis Vītoliņš
Don't these errors appear because database connector is not added in WEB-INF/lib? Wouldn't it better to include it in xwiki war file to avoid such mistakes? Valdis hi folks, can anyone point me to a step-by-step example of upgrading a standalone xwiki? replacing the contents of

[xwiki-users] Xwiki 2.1 custom style guidlines

2010-01-04 Thread Valdis Vītoliņš
Xwiki 2.1 style management is in intermediate state between standalone css file and online editor. Though currently many style editing possibilities have been dropped/trivialized in comparison to 1.8. Question is: what is the best approach to add necessary additional style elements? Thanks!

[xwiki-users] Your experience about storage requirements and performance of customized Xwiki solutions

2010-01-11 Thread Valdis Vītoliņš
Hello, I'm thinking abut another custom solution based on xwiki. Though I'm worried about storage consumption and performance if there will be 10k objects with ~10 string attributes. My experience with quite small solutions (few hundreds of objects http://odo.lv/Recipes/Recipes1_en and

Re: [xwiki-users] Export and Backup of Wiki Instance

2010-01-12 Thread Valdis Vītoliņš
I use following settings for JVM (e.g. options for tomcat) JAVA_OPTS=-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m I found Xar handy for moving data from one (test) instance to another (production), though for full backup I use MySQL dump. Backup: mysqldump -u root

[xwiki-users] Create custom object using URL get/post/put

2010-01-13 Thread Valdis Vītoliņš
I'm investigating how to use curl or ~like this to create custom object for application integration (it should be authenticated, which seems no problem). I'm studying http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI It is possible to retrieve custom object, but I couldn't find

Re: [xwiki-users] Blogs in 2.1.1

2010-01-15 Thread Valdis Vītoliņš
http://test.odo.lv/Blog/ Credentials for testing I've sent separately. Valdis Can you give me an example, so that I know what to look for? ... ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] Custom properties for XWikiUsers class

2010-01-26 Thread Valdis Vītoliņš
For custom application I need to add more properties for ../xwiki/bin/edit/XWiki/XWikiUsers?editor=class Is it acceptable/recommended way or other (more complicated?) approach would be better? Do you have any experience? Thanks in advance, Valdis ___

Re: [xwiki-users] Registered Users

2010-01-28 Thread Valdis Vītoliņš
Did you try to watch XWiki space? Valdis Is there anyway to get email notifications when new users register? I figured I would put a watch on the preferences, but that didn't seem to help. Any help would be appreciated. Jared Parrish Network Administrator Travelhost, Inc.

[xwiki-users] PDF with UTF characters

2010-02-01 Thread Valdis Vītoliņš
I'm investigating issue http://jira.xwiki.org/jira/browse/XWIKI-4724 Now I can generate right PDF using separate FOP with additional configuration files and invocation parameters. Though I don't know, how to invoke it in such way from Xwiki. Do you have any suggestions/ideas? Valdis

Re: [xwiki-users] PDF with UTF characters

2010-02-04 Thread Valdis Vītoliņš
with test1.bat script. Now questions are: How can I invoke customized FOP with additional parameter for my config file from Xwiki? Or how can I change default font From Times-Roman to Lucida Sans Unicode? Valdis On 02/01/2010 09:47 PM, Valdis Vītoliņš wrote: I'm investigating issue http

Re: [xwiki-users] Custom properties for XWikiUsers class

2010-02-04 Thread Valdis Vītoliņš
For custom application I need to add more properties for ../xwiki/bin/edit/XWiki/XWikiUsers?editor=class Do you have any experience? - Create a XWiki.ExtendUserClass holding your properties - Add an object from this class to your user profiles - Use it to store information

Re: [xwiki-users] Custom properties for XWikiUsers class

2010-02-04 Thread Valdis Vītoliņš
For custom application I need to add more properties for ../xwiki/bin/edit/XWiki/XWikiUsers?editor=class Do you have any experience? - Create a XWiki.ExtendUserClass holding your properties - Add an object from this class to your user profiles - Use it to store

Re: [xwiki-users] PDF with UTF characters

2010-02-04 Thread Valdis Vītoliņš
Many thanks Sergiu! I solved this. My comments are inline. Even the FOP developers say that generating font metrics is not needed, and deprecated. FOP should correctly find and use system fonts, and should correctly work with TTF fonts. I checked this and that's correct. The problem is

[xwiki-users] Avoid adding of XWiki.TagClass object for custom object

2010-02-05 Thread Valdis Vītoliņš
For Xwiki custom objects there is no need to add XWiki.TagClass object for wiki document. How easy it could be adjusted to not add XWiki.TagClass object for these documents, or it isn't worth to investigate/do that? Valdis ___ users mailing list

Re: [xwiki-users] Login Style

2010-02-10 Thread Valdis Vītoliņš
Provide view rights for unregistered user for used ColorTheme document. Valdis Hi Ben, On Fri, Oct 2, 2009 at 4:08 PM, Ben Stewart ben.stew...@eintel.com.auwrote: Greetings Folks, I have setup XEM with application etc to deploy multiple wiki's and it is working a treat. Only one

[xwiki-users] Code snippet to get associated class name for custom object

2010-02-10 Thread Valdis Vītoliņš
Can somebody provide code snippet how to got associated class name for documents in space which have added custom objects? e.g. this simply list different objects in space {{velocity}} #set($hql = where doc.space='Custom' order by doc.name asc) #set($results = $xwiki.searchDocuments($hql, 0, 0))

Re: [xwiki-users] Code snippet to get associated class name for custom object

2010-02-10 Thread Valdis Vītoliņš
, and searching for appropriate documents. I assume, more efficient way would be starting from documents and finding their classes. Another solution would be adding prefix in names, to distinguish them, but this requires data changes. Valdis On 02/10/2010 05:43 PM, Valdis Vītoliņš wrote: Can

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

2010-02-10 Thread Valdis Vītoliņš
Now I have more tricky question -- how to add custom object using Xwiki REST service. By browsing existing ones I assume, I can create linked custom object using POST before, and get object id. Then I add wiki document using PUT and set relation to previously created object. Is it right approach

Re: [xwiki-users] XWord Server URL ?

2010-02-12 Thread Valdis Vītoliņš
Tomcat port number usually is 8180. Check /usr/share/tomcatx.x/conf/server.xml or /etc/tomcatx.x/server.xml (or find file server.xml) and then look for ..HTTP/1.1 Connector on port.. number. Valdis Hi, I have installed XOffice 1.1 M1 to edit files on my XWiki 2.1.1. My previous XOffice

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

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

2010-02-15 Thread Valdis Vītoliņš
Standard ClassSheet template has simpler syntax: $doc.display(propertyname) e.g. {{velocity}} ## You can modify this page to customize the presentation of your object. ## At first you should keep the default presentation and just save the document. = Īsziņa $doc.name = #set($class =

Re: [xwiki-users] How the change a color on a ColorTheme

2010-02-15 Thread Valdis Vītoliņš
At first, choose color theme in /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Presentation Be careful by changing settings. They can be different for each space. Be sure you are changing settings for all xwiki (Wiki administration). Then change chosen one in

Re: [xwiki-users] [Call for comments] Edit UI redesign

2010-02-15 Thread Valdis Vītoliņš
As I see that A and B ar not mutually exclusive but complementary. Correct me If I'm wrong. Probably when B is used, then panels (at least left panels) should not be shown at all. Valdis Hi XWiki Users, Please help the dev team solve a UI design dilemma. Your feedback is very important,

[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] 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

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] 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] 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

[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] 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

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

[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 it possible to upgrade a stand alone xwiki enterprise to version 2.2.3

2010-03-23 Thread Valdis Vītoliņš
All pages which are created as new will not be touched. If you have changed existing Xwiki documents, look at http://lists.xwiki.org/pipermail/users/2009-December/018731.html Valdis P.S. Where is moved content of http://www.xwiki.org/xwiki/bin/view/FAQ/WhoCanIUpdateXWIKIFromAnOlderVersion ? I

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

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] 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

[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] 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.

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-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

[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] 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

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] 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] 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ņš

[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

[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

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

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] 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] 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

[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

[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] 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

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] 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] 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

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

[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] 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] 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] 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] 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

[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

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

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

[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

[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] 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

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

  1   2   >