[xwiki-users] calendar plugin in myexwiki
Is the calendar plugin installed in myxwiki. If not are there any chance it might happen? I tried to install the calendar application but gets this output: $cparams.put(categories, $rqcategories) $cview.getHTMLCalendar($cparams, ) I hope someone can help me -Rune ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] edit on myxwiki is hung-up
Hi is it only my part of the myxwiki that is hungup? If I push the edit button the page loads and loads but doesn't get anywhere. One of the panels is also failing: Error number 4001 in 4: Error while parsing velocity page pulven:Main.WebHome Wrapped Exception: Failed to evaluate content with id Web Home -Rune ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
I would like to use this wiki as a personal/family wiki/block/calendar/photo album Login name: pulven Domain prefix: pulven Thanks -Rune Hylleberg ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Links in mail notification messages.
Well, if you don't want to play with the access to your local network you could try the xwiki.cfg file found in your webapps/xwiki folder (on tomcat it might be different). There you have a section called URLs and it contain this paragraph. I believe it would do the trick. #--- # URLs # #-# The domain name to use when creating URLs to the default wiki. If set, the generated URLs will point to this server #-# instead of the requested one. It should contain schema, domain and (optional) port, and the trailing /. For example: #-# xwiki.home=http://www.xwiki.org/ #-# xwiki.home=http://wiki.mycompany.net:8080/ # xwiki.home= -Rune -Oprindelig meddelelse- Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne af ??? Sendt: 21. september 2009 09:57 Til: XWiki Users Emne: [xwiki-users] Links in mail notification messages. Hello. I've set up Tomcat, MySQL and Xwiki on one of my servers called White (white.mydomain.ru). Xwiki is reachable at http://white.mydomain.ru:8080/wiki Then I've set up Apache on my main server (mail.mydomain.ru) as proxy. Now my Xwiki instance is reachable at http://mail.mydomain.ru/wiki and this link is main for end users. Everything is ok, but notification messages contain links to white.mydomain.ru:8080/wiki, which is not accessbile from internet (only from local network). How can I change it? How to force Xwiki, to write links to mail.mydomain.ru/wiki, instead of white.mydomain.ru:8080/wiki? Thanks in advance. Dmitriy Nikolaev ___ 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] livetable broken if I use MyClas.property
Well, I am using v1.0. But I have now located the error: If I don't uses the _avatar or _image column, it works fine. If I look in the JSON page being used there seems to be a ',' too much. Right after the _avatar line. First the faulty JSON doc_creator : Administrator , _avatar : img src='/xwiki/skins/albatross/noavatar.png' alt='XWiki.Admin' title='XWiki.Admin'/, , first_name : Administrator, first_name_value : Administrator, first_name_url : , last_name : xe.index.users.emptyvalue, last_name_value : , last_name_url : , email : webmas...@xwiki.org, email_value : webmas...@xwiki.org, email_url : } , { And then the one without the _avatar doc_creator : Administrator , first_name : Administrator, first_name_value : Administrator, first_name_url : , last_name : xe.index.users.emptyvalue, last_name_value : , last_name_url : , email : webmas...@xwiki.org, email_value : webmas...@xwiki.org, email_url : } It is easy enough to fix, in the XWiki.LiveTableResultsMacros you should remove the ',' after the lines actually printing the _(columnname) I hope someone in the development team reads this and can apply this changes. -Rune -Oprindelig meddelelse- Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne af Oana Tabaranu Sendt: 14. september 2009 14:21 Til: XWiki Users Emne: Re: [xwiki-users] livetable broken if I use MyClas.property Hi Rune, Which xwiki syntax are you using? Try using 1.0 for the page which contains the code below. Oana Rune Hylleberg wrote: First I got in trouble using my own class, but even if I copy the code from the livetable macro inline documentation : #set($columns = [ _avatar, first_name, last_name, email]) #set($columnsProperties = { first_name : { type : text , size : 10, link : view}, last_name : { type : text , size : 10, link : view}, email : { type : text , size : 20, link : editor}, _avatar : { type : none , size : 20, link : none, html : true, sortable:false } }) #set($options = { className:XWiki.XWikiUsers, translationPrefix : xe.index.users., tagCloud : true, rowCount: 15 }) #livetable(userstable $columns $columnsProperties $options) I get a empty table. It happens in both XE 2.0 M 4 and XE 2.0 RC 1 Am I doing something wrong or is it a bug? -Rune ___ 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
[xwiki-users] uploading and saving attachments
I've made my own upload form because I need to intercept an upload and save it different places at once, potentially resize it in the process. Essentially I use the fileupload plugin. Grep the data and use the $doc.addAttachment(filename, byte[]) function. I do however run into trouble. First It all goes fine, I can upload fine and the attachment is present in both document. But after some time it simply disappears. Ether it is not saved correctly (only in cache?) or something else is terribly wrong. Do I need to call some kind of save function? In the admin dashboard I can see that I made some new documents and uploaded files to them. But on the Document itself there doesn't seem to be history of when the file was uploaded, nor a option to role back. So any help or ideas would be appreciated. Here is the attachment saving part of the code (don't mind the file naming code it works!): #set( $up = $xwiki.getPlugin(fileupload)) #set( $wallCardData = $up.getFileItemData( $wallCardName.toLowerCase() ) ) #if($listtool.size($wallCardData) 0) #set( $ext = #fileextension($up.getFileName($wallCardName.toLowerCase( ## Store the original file in XWiki.WallCards as Space-Page-Filename #set( $oriFileName = ${doc.getSpace()}-${doc.getName()}-$wallCardName$ext ) #set( $oriatt = $xwiki.getDocument( $oriFileDocument ).addAttachment($oriFileName, $up.getFileItemData($wallCardName.toLowerCase()) ) ) #set( $att= $doc.addAttachment( $wallCardName$ext, $up.getFileItemData($wallCardName.toLowerCase())) ) #end -Rune ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Disable password change
Well glad I could help, But javascript only goes so far. For real protection (or paranoid admins) it should also be done at the server, or better at database level. I know most other auth services does this, and for everybody using them the problem is solved. So for the development team, if you would like to make this a real stand-alone wiki/cms-system, it's a small effort to make a strong selling point, - another line in the feature list, etc. -Rune -Oprindelig meddelelse- Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne af Trevor Russ Sendt: 11. september 2009 15:01 Til: XWiki Users Emne: Re: [xwiki-users] Disable password change OK, thanks again for the inspiration Rune. I found a decent open-source password validation script in javascript. I'll stitch it in and see how it works... Trevor ___ 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] livetable broken if I use MyClas.property
First I got in trouble using my own class, but even if I copy the code from the livetable macro inline documentation : #set($columns = [ _avatar, first_name, last_name, email]) #set($columnsProperties = { first_name : { type : text , size : 10, link : view}, last_name : { type : text , size : 10, link : view}, email : { type : text , size : 20, link : editor}, _avatar : { type : none , size : 20, link : none, html : true, sortable:false } }) #set($options = { className:XWiki.XWikiUsers, translationPrefix : xe.index.users., tagCloud : true, rowCount: 15 }) #livetable(userstable $columns $columnsProperties $options) I get a empty table. It happens in both XE 2.0 M 4 and XE 2.0 RC 1 Am I doing something wrong or is it a bug? -Rune ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Disable password change
Wouldn't it be better to set up some password testing instead. Eg. If password doesn't contain a capital letter and a small letter and a number then refuse change. It's properly the same amount of work, and it allows your users to change the password regularly (you might even force that). -Rune -Oprindelig meddelelse- Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne af Trevor Russ Sendt: 10. september 2009 17:02 Til: XWiki Users Emne: [xwiki-users] Disable password change We'd like to disable the ability for a user to change their password (to prevent easy passwords from being used). I could just edit XWikiUserSheet and take out the change password link, but a user could easily find out that changing the password could be done by typing in the appropriate URL. Is there a better way to disable the change password page? Thanks, Trevor ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Xwiki copyright
First and foremost I'm no legal advisor, so you will have to clear this with someone who is. XWiki is released under a LGPL, so I believe you are allowed to write and license you own modules, script, etc. anyway you want to. But if you use adoptions of the existing code you have to release it under the same license, here the LGPG. How it actually works with configuration files, I don't know. Are they considered a part of the licensed code or not? I do believe you are allowed to set up your own version of XWiki and sell it (as in charging money), but you still have to include the original license and all the source code. Here are some easy to understand description of LGPL from Wikipedia The LGPL places copyleft restrictions on the program itself but does not apply these restrictions to other software that merely links with the program. There are, however, certain other restrictions on this software. The LGPL is primarily used for software libraries, although it is also used by some stand-alone applications, most notably Mozilla and OpenOffice.org. Version 3 of the LGPL is constructed by applying a GPL linking exception to version 3 of the GNU General Public License (GPL). And The main difference between the GPL and the LGPL is that the latter can be linked to (in the case of a library, 'used by') a non-(L)GPLed program, and regardless of whether it is free software or proprietary software.[1] This non-(L)GPLed program can then be distributed under any chosen terms if it is not a derivative work. If it is a derivative work, then the terms must allow modification for the customer's own use and reverse engineering for debugging such modifications. Whether a work that uses an LGPL program is a derivative work or not is a legal issue. A standalone executable that dynamically links to a library is generally accepted as not being a derivative work. It would be considered a work that uses the library and paragraph 5 of the LGPL applies. -Oprindelig meddelelse- Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne af Bey Youcef Sendt: 8. september 2009 19:34 Til: XWiki Users Emne: Re: [xwiki-users] Xwiki copyright Thanks Sergiu, I means: add modules, create new templates, adaptation of existing scripts, add new tables in the databasefor creating a functional environment that I may sell it. Is it possible with XWiki? Thanks in advance. y. On Tue, Sep 8, 2009 at 10:13 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On Tue, Sep 8, 2009 at 18:16, Bey Youcefyoucef@gmail.com wrote: Hi All, Is it possible with XWiki to develop a commercial environments and sell them? Probably yes, what do you mean by commercial environments? -- http://purl.org/net/sergiu ___ 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
[xwiki-users] Danish translation
Hi I'm wondering if there are any other Danish users out there. I have been considering translating XWiki to Danish, but a joint effort always yield a better result. If you are interested you can contact me at r...@dpu.dk -Rune ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] no acces to POST data via $request.getName
I would like to grep some data from a file upload, but can't find a way to do it. Here are a simple example {{velocity}} #foreach($prop in $request.getParameterNames()) request.$prop #end {{html}} form action= enctype=multipart/form-data method=post div fieldset legendAttach files to this document/legend div input name=a value= size=40 type=text input name=b value= size=40 type=file input name=c value= size=40 type=text /div div input value=Attach class=button type=submit input value=Cancel class=button type=reset /div /fieldset /div /form {{/html}} {{/velocity}} It returns request.a request.c What happened to 'b', is et a bug or a feature? Are there any way to access the value of 'b'? I've been looking at the java code but haven't found anything claiming it should be gone. -Rune ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] attachemts at page creation
Hi I'm trying to make a page creation dialog. For the sake of clarifying my question here are the things I would like to do 1. On creation of a new page/object there have to be two attachments. Preferable with standardized names. a. So I was thinking of a dialog like upload attachment 1 and upload attachment 2, and save them as attachments in the page with name 'att1' and 'att2' regardless of their original filenames. b. Before they get saved, I must resize them due to copyright protection. And save the original sized attachments someplace where only admins/privileges user access them. 2. A few fields needs to be filled out (not a must, but should be best practis to do at this point). For 2. I have created a normal class, template and sheet. But for 1. I've a little lost. Should I write some kind of velocity or groovy script or do I need to write a new plugin or application? Especial the name mapping and the fact I would like to save the same upload different places bugs me, but there must be a simple solution? Where or how would I save a attachment so only admins can see it? On the same page (constraints on download link, protected attachment)? Create a shadow Space.page? Or all in one page? (there will be 12000 + attachments). Anny help, thoughts or other suggestions are most welcome -Rune (pulven) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users