Re: [xwiki-users] XML-RPC

2007-10-10 Thread Ludovic Dubost

You should try to change the URL to

http://mywiki/xwiki/xmlrpc/confluence;

Chanding mywiki with the url or url:port of your wiki

Ludovic

Israa Taha a écrit :
 Would anyone have an example of using XML-RPC in Java to create a new 
 page in XWiki? I found an example that uses swizzle and Confluence 
 shown below

 import org.codehaus.swizzle.confluence.Confluence;
 import org.codehaus.swizzle.confluence.Page ;

 import java.util.HashMap;

 public class AddPageExample {
 public static void main(String[] args) throws Exception {
 String username = david;
 String password = snarf;
 String endpoint = http://docs.codehaus.org/rpc/xmlrpc;;

 Confluence confluence = new Confluence(endpoint);
 confluence.login (username, password);

 Page page = new Page(new HashMap());
 page.setSpace(SWIZZLE);
 page.setTitle(Test Page);
 page.setContent(This is a test);
 confluence.storePage(page);

 confluence.logout();
 }
 }

 How different would the implementation for XWiki be?

 Thanks.
 

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


-- 
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost 
AIM: nvludo Yahoo: ludovic

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


Re: [xwiki-users] Upgrading to new 1.2rc1

2007-12-10 Thread Ludovic Dubost
)
  

 at 
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
  

 at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  

 at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  

 at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  

 at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  

 at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 

 at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 

 at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  

 at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) 

 at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 

 at 
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
  

 at 
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Unknown Source)
 Caused by: java.sql.SQLException: Can't create/write to file 
 '#sql_fc0_0.MYD' (Errcode: 17)
 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2934)
 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1616)
 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1708)
 at com.mysql.jdbc.Connection.execSQL(Connection.java:3249)
 at com.mysql.jdbc.Connection.execSQL(Connection.java:3178)
 at com.mysql.jdbc.Statement.executeQuery(Statement.java:1203)
 at 
 com.mysql.jdbc.DatabaseMetaData$2.forEach(DatabaseMetaData.java:2382)
 at 
 com.mysql.jdbc.DatabaseMetaData$IterateBlock.doForAll(DatabaseMetaData.java:76)
  

 at 
 com.mysql.jdbc.DatabaseMetaData.getColumns(DatabaseMetaData.java:2256)

 

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


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Registration mails sources ?

2007-12-24 Thread Ludovic Dubost

Validation:

Subject: XWiki.com account validation
To: $email

The user $xwikiname registered on XWiki.com (http://www.xwiki.com) using 
the following email: $email

If you are this person, you can continue the registration by clicking on 
the following link:

http://www.xwiki.com/xwiki/bin/view/XWiki/RegisterNewUserConfirmation?xwikiname=${xwikiname}validkey=$validkey

You can also copy-paste the following validation code: ${validkey} in 
the form on the following page:

http://www.xwiki.com/xwiki/bin/view/XWiki/RegisterNewUserConfirmation

Thank you
The XWiki.com team


Confirmation:

Subject: Welcome to the XWiki.com community
To: $email

Your account on XWiki.com has been confirmed.

Your account: $xwikiname
Your password: $password
Your email: $email

In case of problems or questions, contact the technical support at the 
following address: [EMAIL PROTECTED]

Thanks for your support
The XWiki.com team


I don't have an invitation email around

Ludovic


Paul Libbrecht wrote:
 Ping !

 I'd be greatly helped if someone could send me example content for the 
 validation, confirmation, and invitation mail velocity scripts.


 thanks!

 paul


 You need to have programming rights to execute this code. So if
 $context.hasProgrammingRights() returns false, try to do this in a 
 local
 install with the Admin user.
 Sure, and programming worked as the toString of context works but the 
 loop was empty...
 context is [EMAIL PROTECTED]
 for
 context is $context
 #foreach($prop in $context.vcontext.getKeys()) $prop #end
 #foreach($prop in $context.context.keySet()) $prop #end
 

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



-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Help needed :o) - Xwiki vs. Twiki

2008-01-08 Thread Ludovic Dubost

You can add

#set($showcomments = false)
#set($showattachments = false)

In a page where you don't want to see the comments/attachments block.
To do the same for a space put it in the skin with

#if($doc.space==spacename)
#set($showcomments = false)
#set($showattachments = false)
#end

Ludovic

Josef Pfleger wrote:
 Of course users can still upload files and post comments to the 
 respective urls directly, even with 'showattachments' or 'showcomments' 
 set to 'no'. These settings just tell the skin not to render the HTML, 
 they don't affect any privileges.

 If you want to prohibit commenting, set the according rights (Level 
 'comment') for the page/space. Unfortunately there is no rights level 
 for attachments. Attachments are (hard-coded into XWiki's Core) bound to 
 the 'edit' rights level.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] XWiki micro applications

2008-01-28 Thread Ludovic Dubost

Hi Stefan,

You spotted what XWiki is about. It is particularly for doing this.
For example in our intranet we now have:

- employee contract builder
- human resource information for employees
- expense report application
- sales crm including account, project, contact and task manager
- invoice management application

We plan to have a few more in the future including holidays management, 
customer help desk and support site and if we can find the time a 
proposal builder.

Ludovic

Stefan Rebsamen wrote:
 Hello,

 I'm thinking about introducing XWiki as as general intranet system in
 the the company I work for. Currently we have a dozens different tables,
 list etc. mostly in Excel, wich are used (or better abused) as shared
 task list, inventory list and a lot more. In other words: Quite a mess! 
 From the docs, it appears the XWiki platform provides some functionality
 for creating such micro application directly in XWiki. Has anybody
 actually made any experiences (good or bad) in implementing them in a
 small (50 users) enterprise environment?

 Thanks,
 Stefan

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] getting documents I've been involved in

2008-02-01 Thread Ludovic Dubost

Note also that it requires XWiki 1.2

Ludovic

Sergiu Dumitriu wrote:
 Hi,

 The code from the My recent modifications panel doesn't help much, as 
 it lists only documents which have the user as the most recent author, 
 and not those that were sometime edited by the user.

 A proper query would be:

 select distinct doc.fullName from XWikiDocument doc, XWikiRCSNodeInfo ni 
 where ni.id.docId = doc.id and ni.author = 'the user name'

 This query lists only the name of the documents, not the versions. If 
 you also need the version numbers, use this:

 select doc.fullName, ni.id.version1, ni.id.version2 from XWikiDocument 
 doc, XWikiRCSNodeInfo ni where ni.id.docId = doc.id and ni.author = 'the 
 user name'

 These queries need programming rights, so you will have to write a java 
 plugin that executes them and use the plugin from velocity, or put them 
 in a page that will always have programming rights.

 Sergiu

 [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
   
 Paul Libbrecht wrote:
 
 hello,

 what would be the query to obtain all the documents that a user has 
 been editing, at any revision?

 thanks

 paul
   
 Hi Paul

 Could the code in My Recent Modifications panel help you?

 #set($recentDocs = $xwiki.searchDocuments(where 1=1 and 
 doc.author='$context.user' order by doc.date desc, 5, 0))
 #if($recentDocs.size()  0 || $showEmptyPanels)
 #panelheader($msg.get(My Recent Modifications))
 #set($first = true)
 #foreach($docname in $recentDocs)
 #set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument())
 #if($first == true)
 #set($first = false)
 #else
 span class=pitemseparator | /span
 #end
 span class=panelitema 
 href=$rdoc.getURL(view)$rdoc.displayTitle/a/span
 #end
 #panelfooter()
 #end

 HTH,

 Ricardo

 

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Macros in XWiki.org dev guide

2008-02-01 Thread Ludovic Dubost

At this point, #includeMacros is the way to go.
We would need to see how to have velocity load wiki pages declared in 
the preferences as global Macros. But this is not yet available in XWiki.

One trick which has some  (very slight ) performance cost is to add your 
macros in your skin. This way they are always available.

Ludovic

Paul Grodt wrote:

 That's exactly what I wanted to know, thank you!  Now I wonder if
 there's some way to get the best of both worlds.  Users without disk
 access cannot edit the macros.vm file, and it's a pain to have to
 include the code segments every time you want to use itJust musing
 but there must be a way to write a generic call that fetches a segment
 from a specified object (or page, whatever) on xwiki and then calls the
 contained macro using a variable number of arguments (and only pulls in
 the code once per page).

 But yes, that's what I needed to know to get started, thanks again.

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Idea for improvment of Xwiki Watch

2008-02-05 Thread Ludovic Dubost

Hi,

I think that given your organisation name it is highly probable that you 
need to add proxy authentication on the server configuration.

-Dhttp.proxyUser=
-Dhttp.proxyPass=

Ludovic

HERICHER Benoit DSIC BUA wrote:

 Hi,

 Thank you Anca for your help.
 But it doesn't solve the problem : I don't understand why.
 On the page Watch:Reader, i'm asked for the proxy's authentification 
 but no news are read.
 On the page Watch:Webhome, I select a feed for example googlenews : 
 I'm then directed on the page Watch:Googlenews where I click on the 
 hyperlink Google News : that redirects me on news.google.fr with all 
 the news correctly listed.

 I guess this could be a problem with the proxy's configuration. Any idea?

 Thank you

 Benoît

 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
 de [EMAIL PROTECTED]
 Envoyé : vendredi 1 février 2008 16:38
 À : users@xwiki.org
 Objet : Re: [xwiki-users] Idea for improvment of Xwiki Watch


 Hi there,

 XWiki Watch uses the feed plugin to get the feeds from external sources.
 The feed plugin currently uses the jvm proxy settings so the only thing
 you have to do is to set the java System proxy when starting XWiki. You
 can do that either through:
 -Djava.net.useSystemProxies for a java 1.5+ jvm, which tells the jvm to
 use the system proxy settings
 or by supplying:
 -Dhttp.proxyHost=your_proxy -Dhttp.proxyPort=your_port.

 You can read more about it at
 http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html or
 http://blogs.sun.com/roller/resources/jcc/Proxies.pdf

 Have fun using XWatch,
 Anca

 ___
 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
   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] XWiki - the company - is looking for Interns and Employees for it's Iasi Office

2008-02-26 Thread Ludovic Dubost


Since I'm getting such a great response from the community to help us 
win the vote (the community rulez !), I'm going to ask for some more help.


We are looking for some Interns  (Paris  or even remotely) and/or 
employees for our Iasi Office in Romania.


More info about the profiles we are looking for at

http://www.xwiki.com/xwiki/bin/view/About/Jobs

We are especially looking for Web Developers working on top of the XWiki 
platform (scripting, web technologies, javascript, AJAX, CSS) to work on 
XWiki applications and on client projects.


http://www.xwiki.com/xwiki/bin/view/About/JobsWebDeveloper

We are looking obviously for people that believe in Open Source and it's 
values. We see the XWiki company (currently XPertNet, soon XWiki SAS) as 
a bridge between the business world and the open source world. We want 
XWiki to be both available for free but also easily available for 
companies wanting support and services (maybe that would require a much 
longer email to the community).


In any case if any of you are interested or if you know people that 
might, don't hesitate to forward this around and make it known that 
there is an great open source company looking for more help to make 
great software and provide great solutions.


Thanks for you help

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

begin:vcard
fn:Ludovic Dubost
n:Dubost;Ludovic
org:XWiki
adr:;;10 Rue Pernety;Paris;;75014;France
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:01 45 42 40 90
tel;fax:09 59 26 92 14
tel;home:09 54 26 92 14
tel;cell:06 09 34 92 14
x-mozilla-html:TRUE
url:http://www.xwiki.com
version:2.1
end:vcard

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


Re: [xwiki-users] Cannot use FileUploadPlugin !?

2008-02-28 Thread Ludovic Dubost

Which version of XWiki are you using ?

There is some issue that makes some code empty the file upload list.
Can you try by posting to a page with that in the URL ?xpage=plain

Also you should be able to do this without going to the internal API. 
There is addAttachment in Document

Here is a test code that shows the file upload plugin in action to show 
that you get data:

1 File Upload Snipplet

%
if (request.get(submitter)!=null) {
 def fupl= xwiki.get(fileupload);
 println fupl;
 def myfiles = fupl.getFileItems();
 println {pre}
 println myfiles;
 println {/pre}
 println fupl.getFileName(file)
}
else {
%
form action= enctype=multipart/form-data method=post
table border=0
tr
tdSubmitter:/tdtdinput type=text name=submitter //td
/trtr
tdFile:/tdtdinput type=file name=file //td
/trtr
td colspan=2 align=center
input type=submit /
/td
/tr
/table
/form
%
}
%

Ngo Thi Hong Nga wrote:
 Hi, I want to create a page allowed to upload more files together
 using FileUploadPlugin. I created 2 documents but the FileUploadPlugin
 seems not work, the data return is null and the document
 MySpace.Upload is attached with a file 0KB. Anyone can explain me why
 this happens ? And how to fix ?

 1. MySpace.doc:
 form action=/xwiki/bin/view/MySpace/Upload
 enctype=multipart/form-data method=post
 input type=file name=filepath value= size=40 /
 input type=submit value=Save /
 /form
 2. MySpace.Upload
 %
 import com.xpn.xwiki.plugin.fileupload.FileUploadPlugin;
 import com.xpn.xwiki.doc.XWikiDocument;
 import com.xpn.xwiki.doc.XWikiAttachment;

 print Start upload... ;
 def docu=doc.getDocument();
 FileUploadPlugin fileupload = (FileUploadPlugin)
 context.getContext().get(fileuploadplugin);
 byte[] data = fileupload.getFileItemData(filepath, context.getContext());
 def filename = myfile;
 def attachment = docu.getAttachment(filename);

 print data;
 if (!attachment) {
attachment = new XWikiAttachment(docu, filename);
docu.getAttachmentList().add(attachment);
 }
 attachment.setContent(data);
 docu.saveAttachmentContent(attachment, context.getContext());
 doc.save()

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] [xwiki-devs] Roadmap for XE 1.4

2008-03-14 Thread Ludovic Dubost
[EMAIL PROTECTED] wrote:
 Specific issues to implement/fix
 

 WYSIWYG editor stability
   - Table behavior (a new table editor would be welcome)
   - Whitespace processing 
   - Misbehavior in the presence of code or complex styles

   
Thanks for the WYSIWYG wishlist. We'll take all this into account with 
the new editor.
We believe that by using GWT we can build an editor that is much more 
stable and capable of advanced stuff usefull in the wiki.
This will be possible especially thanks to unit testing since the GWT 
code is java compiled to JS. GWT also gives us the possiblity to have 
browser specific implementation of some of the code which allows to not 
polute the JS code with browser specific stuff when it's not necessary.

Furthermore we will built real-time editing (multiple persons editing 
the same page) in the editor. We already have a prototype working of this.


 Attachment handling
   - memory / resource demands
   - proper versioning (if 2 different users upload the same
 document name)

 Wishlist
 
   - Table of contents macro a la mediawiki
   
There is {toc}. It might just be a style issue to make it like mediawiki.

   - WebDAV would be nice...

   
We also have a prototype of this, though it doesn't currently make it in 
our priority list. We have proposed it for the Google Summer of Code. If 
any student is interested it's a fun project.

 We're looking to contribute the notion of a simple reputation engine
 (user and content rating) that we have in prototype now.

   
Great ! We want it !


Ludovic

 --
 Jim Dowson
 CTO, Global Services, EMC Corporation 
 Linx: (617) 598-0505

 ___
 devs mailing list
 [EMAIL PROTECTED]
 http://lists.xwiki.org/mailman/listinfo/devs

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Privileges on Oracle database

2008-03-29 Thread Ludovic Dubost

In single wiki mode (XWiki Enterprise) it will need read, write to the 
minimum if you pre create the schema from an existing one. If not you 
you will need schema read and write. I don't know which oracle 
privileges that is.

Run it once with all privileges to get the database created in one 
oracle instance. Import that DB in your corporate database. Deactivate 
updateschema in xwiki.cfg.
Then give the oracle privileges one by one.

In multiwiki (XEM) the xwiki user needs to be a DBA to be able to create 
new users.

Ludovic

Anders Andersson wrote:
 Hello!

 I have a question regarding the installation of XWiki. In the
 installation instructions it says I must type these commands:

 connect ...
 create user xwiki identified by xwiki;
 grant all privileges to xwiki;

 However this wiki will be installed on a corporate network on their
 database and application servers and therefor not possible to grant all
 privileges to xwiki. I wonder if it is possible to run the wiki with
 more restrictions on the user xwiki? Which privileges is enough for
 xwiki to operate on the database correctly?

 Thanks for your time and patients. I will be happy to hear from you
 again

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Making the date property the current date as a default

2008-03-29 Thread Ludovic Dubost

In the field, check the box Empty is today and this should work

Ludovic

Hosam Hassan wrote:
 Hello all,

 I am doing something similar to the TODO application here 
 http://www.theserverside.com/tt/articles/article.tss?l=XWiki

 What I want to do is to have a submission date of the TODO which will be the 
 current date so the field is disabled for the user and once he add a TODO the 
 date will be the submission date.

 I installed already the JodaTimePlugin just I don't know how to make that 
 default field.

 Thanks in advance

 Cheers,

 Hosam
   
 

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


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Synchronize two instances of XWiki Enterprise

2008-03-29 Thread Ludovic Dubost

This is complex if the 2 wikis can be edited at the same time. This is 
what XWiki Concerto is about http://concerto.xwiki.com (see video here 
http://tinyurl.com/2b8bgv )
If only one wiki is edited then :

- you should use XML-RPC to read/write from one to the other for simple 
wiki pages
- you can use XAR import export for full wiki pages
- you can copy the DB but have to flush the cache

Ludovic

uwesbr wrote:
 Hi, 
 what is the best way to keep two instances (two different pc) synchronized.
 Will it be enough to copy only the database=

 Regards, Uwe
   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] xWiki functionality / Would it work for our project?

2008-04-05 Thread Ludovic Dubost

Look at this quick example

http://www.ludovic.org/xwiki/bin/view/Cities/

You won't have the rights to add a city but it's fully dynamic and build 
on top of standard XWiki

Ludovic

Guillaume Lerouge wrote:
 Hi Jeff,

 I'm reviewing java, open source CMS and wikis for a project we're soon to
   
 begin.
  The project will mirror some of wikipedias functionality in allowing
 collaboration on content to a set of authorized users, content discussion
 and
 versioning.  There are a couple of items that are driving me to CMSs vs
 Wikis
 and I'm curious of xwiki might fit the bill.
 


 Thanks for giving XWiki a look :-) From your short description I'm almost
 sure it will fit. Let's see how :


   
 1.  I need more control of how the content is presented, i.e. strong
 programmaticly enforced templates
 


 XWiki was _meant_ to provide power user with ways to create templates that
 can be used to define exactly how the content should be displayed on a page.
 For instance, create an account on XWiki.org, log-in, go to this page :
 http://www.xwiki.org/xwiki/bin/view/References/Alenty and click on edit :
 you've got in-place edition that follows the defined template. (Please click
 on Cancel afterwards rather than on Save).


   
 2.  I need something that will store
 portions of the content in separate database fields for more focused
 queries.
 Some of these fields would be text while others would be numerics, dates,
 etc.
 Something like a wikipedia country page but storing the Climate and
 Geology
 sections of geography in their own DB fields and also storing metrics such
 as
 GDP and Population as numbers in a relational database.
 


 XWiki givs you the ability to define classes. A class is basically made of a
 set of properties (I want a country class where countryname will be a
 string property, countrypopulation will be a number property, countrycities
 will be a databaseSimpleList property...) Then you can create new pages that
 instanciate objects of this class : you create a page and add a country
 object to it - now you can store data in your page in a structured manner
 using the object's fields.

 From your description, that's what I'd call a perfect match. :-)

 The best way to understand the potential of XWiki is to check it out by
 yourself. Check out
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Tutorials and specifically
 this one : http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial to
 see how you could leverage XWiki's feature set for your project.

 Hope this helps,

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Boston and/or New York Meetup this week

2008-05-12 Thread Ludovic Dubost


Hello XWiki users and developers,

I'm in Boston today and tomorrow and could be available for a quick 
meetup with users of XWiki if there are some in the area.

I will also be in New York wednesday to saturday.

Anybody interested in an informal Meetup ? I would love to hear what we 
could improve in XWiki and show the latest things we are working on.


Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Admin XAR package

2008-05-28 Thread Ludovic Dubost


I've published an admin XAR package which helps monitoring an XWiki 
instance. It includes a Requests Status, Memory Status as well as a 
selective Import/Export.


http://code.xwiki.org/xwiki/bin/view/Applications/AdminApplication

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] It's voting time again: Help XWiki ! Vote for it's creator at a French radio contest !

2008-06-09 Thread Ludovic Dubost


Hi XWiki users and developers !

It's voting time again.. You have helped me get through to the semi 
final a few month ago, and this week is the voting period for the 
semi-final.  What's less fun is that this time we cannot not the current 
voting result in real time so we have to push as much as we can.


You can vote here (in french too but that should not be too difficult ! Make
sure you select the second person at the top !):

http://www.radiobfm.com/bfm_academie/index.php

This can give a nice additional boost to XWiki !

Thanks to all of you for you continuous support of XWiki and
participation to the lists.

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost



___
devs mailing list
[EMAIL PROTECTED]
http://lists.xwiki.org/mailman/listinfo/devs

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


Re: [xwiki-users] [xwiki-devs] It's voting time again: Help XWiki ! Vote for it's creator at a French radio contest !

2008-06-12 Thread Ludovic Dubost

I was sure somebody would choose Patricia J.

Pascal Voitot wrote:
 finally I preferred voting for a nice looking girl instead of you ludovic...
 Sorry about that :(...




 Pascal the joker



 On Thu, Jun 12, 2008 at 4:37 PM, Ludovic Dubost [EMAIL PROTECTED] wrote:

   
 It still is time to vote and help open source get on radio  again !
 Don't forget your family members or friend can also vote as long as they
 have an email..

 Thanks for all that already voted !
 Ludovic

 Ludovic Dubost wrote:
 
 Hi XWiki users and developers !

 It's voting time again.. You have helped me get through to the semi
 final a few month ago, and this week is the voting period for the
 semi-final.  What's less fun is that this time we cannot not the
 current voting result in real time so we have to push as much as we can.

 You can vote here (in french too but that should not be too difficult
 ! Make
 sure you select the second person at the top !):

 http://www.radiobfm.com/bfm_academie/index.php

 This can give a nice additional boost to XWiki !

 Thanks to all of you for you continuous support of XWiki and
 participation to the lists.

 Ludovic

 

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
   
 --
 Ludovic Dubost
 Blog: http://blog.ludovic.org/
 XWiki: http://www.xwiki.com
 Skype: ldubost GTalk: ldubost

 ___
 devs mailing list
 [EMAIL PROTECTED]
 http://lists.xwiki.org/mailman/listinfo/devs

 
 ___
 devs mailing list
 [EMAIL PROTECTED]
 http://lists.xwiki.org/mailman/listinfo/devs

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] new attach page

2008-07-09 Thread Ludovic Dubost

hi,

You should probably better create a wiki page that uses the same code as 
what you have in the attachments templates.
If this code includes HTML and JS you should protect it from wiki syntax 
using {pre} {/pre}

Ludovic

Nohinder wrote:
 hi,
 if i want to create a new page that contains all the attachments from a
 space, do i have to create velocity pages .vm equivalent to the normal
 attachments page? these pages from what i can tell are used for the attach
 part of the page: docextra.vm, attachments.vm, attachmentsinline.vm,
 editattachments.vm
 so .. my question is: to create a page where to see all the attachments of
 the space.do i have to create vm pages: allattach.vm, allattachments.vm,
 allattachmentsinline.vm, editallattachments.etc?
 cause this way seems long and confuzing.mistakes are easy to make.
 what is your oppinion on this manner? thank you
   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Problems with attachment updates

2008-08-05 Thread Ludovic Dubost

This is due to the browser cache. Have you tried SHIFT- or CTRL- reload.
Unfortunately if we reduce the cache level this is bad for performance.

Maybe we should add the version number of the images to the URL to beat 
the cache and force a reload.

You can workaround by modifying the mindmap macro and adding the 
attachment version number to the URL.

Ludovic


Hoani Cross wrote:
 Hi !

 I'm currently using attachments to have my minmaps shown up on my website
 using a macro. When I update one of my mindmaps, the mindmap displayed still
 the same. If I download the file and open it with Freemind, it's still the
 first version. Worse, if I delete the attachment and use my browser history
 to fetch the attachment again, it resolves and gives me the first version...
 again ! However, using the revisions page gives me the wanted result,
 selecting the last revision return the true revision. I'm using XWiki 1.4 on
 Tomcat [EMAIL PROTECTED] Any clue ?

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] XWiki, Lucene and Oracle together

2008-08-08 Thread Ludovic Dubost

Hello,

Although we are not using this setup, I don't see a reason why Lucene 
would not work on an Oracle setup.
The database and lucene module are separate and the only interaction is 
when Lucene reads documents (which is the same as when you display 
documents in the wiki)

Ludovic

Tamer Sezgin wrote:
 Is there anyone, who runs XWiki Search (Lucene) and Oracle together?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Monitoring and Export Application

2008-08-13 Thread Ludovic Dubost


Hi,

I've fixed the Monitoring application on http://code.xwiki.org (the 
package was corrupted) and published an Import/Export Application.


The Monitoring application includes scripts to check the running 
requests, view the memory consumption and flush the cache.


The Import/Export application includes a selective export, an export by 
date, a single page export and import.


The Applications are available on xwiki.org:

http://code.xwiki.org/xwiki/bin/view/Applications/MonitoringApplication
http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Export-Import Application

2008-09-10 Thread Ludovic Dubost
adoro wrote:
 Hi ,
 I have installed  Import-Export application (downloaded  and imported as
 XAR), but it seems not working.  

 Here  is what I found out while using this app:

 •  Selective Export:  – I can select certain space from a combobox, but no
 pages from this space appear to choose them.
   
What browser are you using ?

 •  Export by date: - I cannot select spaces, but if I input one space and
 click on the export button,  it brings only a couple words of code on the
 page :  $exp.export($context,$xwiki,$request,$response)  

   
You need to resave the Export pages using an Admin account because they 
need programming rights for security reasons

 •  Export a single page: I can choose a separate page with help of light
 box, but  it comes to XML SyntaxError.

   
Can you show also the source of the XML.
 Catalina.out:

 [ERROR] Left side ($action) of '==' operation has null value. If a
 reference, it may not be in the context. Operation not possible.
 Admin.Export [line 2, column 16]
 [ERROR] Left side ($action) of '==' operation has null value. If a
 reference, it may not be in the context. Operation not possible.
 Admin.Export [line 11, column 20]
 [ERROR] Left side ($action) of '==' operation has null value. If a
 reference, it may not be in the context. Operation not possible.
 Admin.Export [line 19, column 20]

 •  Import a single page:  – it displays the source code (S. screenshots)
   

Same as export by date
 Is there any step that I’m missing?

 Our environment: 
  - XE 1.5 ( I have tried with 1.5.1. as well)
  - Tomcat 6.0.16
  - JDK 1.6 Update 7
  - MySQL Community Server 5.0.51a
  - MySQL Java Connector 5.0.8
   

 Thanks in advance,
 Alla

 http://n2.nabble.com/file/n1079545/screenshot_export_from_date.png
 screenshot_export_from_date.png 
 http://n2.nabble.com/file/n1079545/screenshot_export_import_app.png
 screenshot_export_import_app.png 
 http://n2.nabble.com/file/n1079545/screenshot_export_page.png
 screenshot_export_page.png 
 http://n2.nabble.com/file/n1079545/screenshot_import_page.png
 screenshot_import_page.png 

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Treeview and Tableview

2008-09-25 Thread Ludovic Dubost
Sime Suljic wrote:
 Hello!
   
 My XWikisite has two errors:

 1. Treeview working properly, but subdocuments (the documents) have no link.
 When I ask for the link location with the right mouse button I get the
 message:
 javascript: YAHOO.widget.TreeView.getNode ( 'treeview', 23). toggle ()
 You can see here: http://apleti.normala.hr/xwiki/bin/view/XWiki/Treeview
   

The Treeview requires programming rights. You need to save the page as 
an Admin user
 2.Tableview regularly works in Mozilla, but in IE table is empty. For
 example:
 http://apleti.normala.hr/xwiki/bin/view/XWiki/Tableview

   
We've seen this issue on IE when you are not an admin. I've posted a bug

http://jira.xwiki.org/jira/browse/XE-309


 What could be causing these problems. I will be grateful to any help.
 Regards, Sime S.

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] 2 XWiki guys coming to Silicon Valley next week

2008-10-20 Thread Ludovic Dubost


Hi,

We'll be two XWiki guys in the valley Monday - Wednesday. Anybody 
interested in a meetup on monday or tuesday evening ?


Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Wikifarm cpu 100%

2008-11-16 Thread Ludovic Dubost

Also make sure you give sufficient memory to java if you did not change 
the default memory settings..
250Mb to 500Mb

Ludovic

Sergiu Dumitriu wrote:
 Samuel Lee wrote:
   
 Hello,
 I'm running an xwiki farm with 3 xwikis.  Even when loading a simple  
 text page, the request is very slow.

 I'm running on a CentOS box, using java in Tomcat and a mysql  
 database.  Mysql usually hits 99.9% CPU and hangs there for a while.   
 Tomcat goes to about 50%.

 We have it authenticating against an LDAP server, but the slowness  
 occurs even when loading the login screen.

 I've turned off global statistics.

 Any ideas as to what might be going on?
 

 You should see what queries are running on the database, and how much
 time they take.

 As Vincent said, indexes are very important when the number of documents
 increases.

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] PermGen OutOfMemory

2008-11-19 Thread Ludovic Dubost

Hi Gilles,

Here is a typical command line you can add to your java command line

-XX:MaxPermSize=128m -Xms100m -Xmx512m

This can be done by updating this environment variable in the startup 
scripts

CATALINA_OPTS=-server -XX:MaxPermSize=128m -Xms100m -Xmx512m 
-Dfile.encoding=iso-8859-1 -Djava.awt.headless=true

Ludovic

Ducret, Gilles (CH) a écrit :
 Hello everybody,

 Since I have installed xwiki on my Tomcat5 server I have OutOfMemory
 problems.
 These are related to the PermGen space, not the heap space.

 I have read several topics about that with xwiki but with no answers.

 If I remove xwiki from the server the problem disappear.

 This server is hosted by an external provider and I will not be able to
 extend the size of the permgen space.

 Could somebody advice please?

 Could I modify some configuration? E.g Logs?

 This is really anoying because I think this tool is great

 Many thanks in advance

 Gilles

 
  
 This email and any files transmitted with it are confidential and intended 
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error, please notify the system manager 
 ([EMAIL PROTECTED]) and delete the message with any attached files from your 
 system.
 The confidentiality and integrity of this message cannot be guaranteed on the 
 Internet and the sender does not accept liability for its content.
 ***
  
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] XWiki Translation Tool: looking for volunteers

2008-12-03 Thread Ludovic Dubost


Hi all,

We have setup the new translation tool on a production server and we are 
now looking for volunteers to give it a test drive and start updating 
the translations of the XWiki Core.


The new tool is at

http://l10n.xwiki.org

You will need to create an account on this wiki (the xwiki.org does not 
yet work, but we plan to connect it to xwiki.org using the new Open ID 
implementation done in the Summer of Code).


The first thing that we can start with is working on the empty 
translations. For example here are the pages to modify the empty 
translations for a few languages


German: 
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewemptylanguage=de
French: 
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewemptylanguage=fr
Spanish: German: 
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewemptylanguage=es
Polish: German: 
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewemptylanguage=pl


You can view the full list at

German: http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources

and click on View Empty next to your favorite language.

Currently there is no locking mecanism, so I hope we won't have 
conflicts will working on this. The good thing is that of course 
everything is kept in wiki style so with versioning.


Let us know who can test drive the application. Make sure you are 
putting in real translations since we want to use the result for real ! 
Once we start getting some updates I'll document the review process so 
that we can also start doing that. For reviews we will 'elect' reviewers 
that will have the right to review. If you are volunteer for review, 
please tell us by responding to this email.


Thanks
Ludovic


--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] XWiki Translation Tool: looking for volunteers

2008-12-04 Thread Ludovic Dubost

Don't commit in svn.. otherwise we won't be able to merge this with the 
work on L10N

Ludovic

Jean-Vincent Drean wrote:
 Hi Clemens,

 the german translations seems outdated but they aren't. My bad, I've
 commited a version of them that has been updated after
 http://jira.xwiki.org/jira/browse/XWIKI-2617
 I plan to commit this patch along with the corresponding new english
 translations during 1.8 (dec/jan).

 Thanks,
 JV.

 On Thu, Dec 4, 2008 at 1:57 PM, Clemens Robbenhaar
 [EMAIL PROTECTED] wrote:
   
  The observation: at least in the german translations there are a couple
 of keys which do not exist in the main ApplicationResources.properties
 (and are most probably unused).

  Currently I can see one example just in the first page:

 http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewalllanguage=destart=0

  Here a translation is listed for the key status.currentpool
 which is not in the main ApplicationResources.properties, but only in the
 ApplicationResources_de.properties.

  Somewhat confusingly the tool lists the english translation for the
 *previous* key instead (i.e. here No documents found in the selected 
 archive,
 which is the translation for the key nodocstoimport).
  This was a little confusing to me until I figured out what was
 happening.

  Maybe these unused keys shopuld be cleaned up? Is there any way
 contributors could help, or just a matter of the right script to remove
 the unused translation automatically?


  Now a little plea: is it possibe to search for translation keys,
 or at least sort then alphabetically?

  I see one translation for the key rightsmanager.addnewgroup,
 for which the current German version seems to be wrong (it translates to
 add all users to this group instead of add new group). Currently
 I have to page through all the pages and search the tranlation manually.

  More precise plea: if I would plan to implement something like that,
 would there be any interest in it, and are there any pointers where to
 start, and to where submit patches?

 Cheers,
 Clemens

 ___
 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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] XWiki Translation Tool: looking for volunteers

2008-12-04 Thread Ludovic Dubost

Hi,

Great.. thanks for starting working with the tool.. It's great to see 
that we already have translations coming in.

I've added a what's new of all the contributions to the translations on 
the home page:

http://l10n.xwiki.org/xwiki/bin/view/L10N/


Clemens Robbenhaar wrote:
 Hi all,

   We have setup the new translation tool on a production server and we are 
   now looking for volunteers to give it a test drive and start updating 
   the translations of the XWiki Core.
   
   The new tool is at
   
   http://l10n.xwiki.org

  This looks nice!
  I have one observation and one plea.

  The observation: at least in the german translations there are a couple
 of keys which do not exist in the main ApplicationResources.properties
 (and are most probably unused).

  Currently I can see one example just in the first page:

 http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewalllanguage=destart=0

  Here a translation is listed for the key status.currentpool
 which is not in the main ApplicationResources.properties, but only in the
 ApplicationResources_de.properties.

   
  Somewhat confusingly the tool lists the english translation for the
 *previous* key instead (i.e. here No documents found in the selected 
 archive,
 which is the translation for the key nodocstoimport).
  This was a little confusing to me until I figured out what was
 happening.

   
I fixed the bug..

  Maybe these unused keys shopuld be cleaned up? Is there any way
 contributors could help, or just a matter of the right script to remove
 the unused translation automatically?


  Now a little plea: is it possibe to search for translation keys,
 or at least sort then alphabetically?

   
Here is a search page and I've added a panel

http://l10n.xwiki.org/xwiki/bin/view/L10N/WebSearch?text=firstx=0y=0

  I see one translation for the key rightsmanager.addnewgroup,
 for which the current German version seems to be wrong (it translates to
 add all users to this group instead of add new group). Currently 
 I have to page through all the pages and search the tranlation manually.
  
  More precise plea: if I would plan to implement something like that,
 would there be any interest in it, and are there any pointers where to
 start, and to where submit patches?
   
Currently the translation app is not in SVN. It's only as a wiki app on 
http://l10n.xwiki.org
However I've made it quite 'generic'. It can work on a local wiki.

You can export the code from here
http://l10n.xwiki.org/xwiki/bin/view/Admin/Export

We will setup a JIRA project to submit patches. If you create new pages 
you are welcome to create them on l10n.xwiki.org
The only thing important is not to break the tool for current users.

Ludovic
 Cheers,
 Clemens

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] blog listing is very slow

2009-01-05 Thread Ludovic Dubost

Make sure you have created the indexes of your DB

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Database+Administration

If you have more than 500 docs this is absolutely needed.

Ludovic

Elek Márton wrote:
 Can you start by verifying if the problem is in your database, in your
 web server (if you have any) or in XWiki?
 

 I tried it in two different machine with two different configuration
 (tomcat + myql and the  simple XWiki distribution with jetty +
 embedded db) but the results were the same, so I think the problem is
 in the XWiki. (I am planning to profile it with VisualVM or NetBeans.)

 The News page at XWiki.org is also rendered a little slowly for me
 (http://www.xwiki.org/xwiki/bin/view/Main/News?category=nbstart=4 is
 retrieved between 5 and 7 seconds).

   
 Is this a large wiki?
 

 Sure. We are trying to migrate a snipsnap based wiki
 (http://jhacks.anzix.net) to XWiki. We have about 500 blog posts and
 also a lot of wiki pages.

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] interesting opportunity?

2009-01-07 Thread Ludovic Dubost

Hi Yishay,

I'm not sure the level of pricing you are looking for but although we 
don't advertise it a lot (maybe we should) we have a 'pro' version of 
our hosting which is not too expensive. We have done 100 Euros / month 
to a community member before (this is a not supported version on the 
wiki side, just the admin side).

I also saw a while ago that you were looking for some XWiki development 
services ? Did you find them ? Maybe we can help on this too ?

We'll look at cloud foundry. This looks interesting.

Ludovic

Yishay Mor a écrit :
 One of my main concerns with XWiki has been the difficulty in getting a
 reasonably priced Java hosting service. Ideally, I want a service provider
 that gives me the web server stack, but spares me the admin headache. This
 may be just what I need:

 http://www.cloudfoundry.com/
 Cloud Foundry provides automated, outsourced data center management for
 Java applications. It eliminates the expense and distraction of building and
 operating your own data center for your production applications and QA
 environments. And, with no long term contracts, you simply use Cloud Foundry
 for as long as you need. 

 With just a few clicks of the mouse, you deploy your application to a
 load-balanced cluster running on Amazon EC2. Cloud Foundry monitors and
 manages your applications and automatically handles auto-scaling and
 failover. We insulate you from the messy details of using the cloud and
 leave you free to focus on your business.

 Cloud Foundry supports the Apache, Tomcat and MySQL stack. It configures
 MySQL for master/slave replication and uses Apache to load balance across
 one or more Tomcat servers.

 ___
  Yishay Mor, Researcher, London Knowledge Lab
   http://www.lkl.ac.uk/people/mor.html
   http://www.google.com/calendar/embed?src=yishaym%40gmail.com
   +44-20-7837 x5737
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] XWiki+JBoss+SSO Kerberos (Active Directory) on Windows Server 2003

2009-01-12 Thread Ludovic Dubost

Hi,

If you setup an authentication which correctly sets the REMOTE_USER 
field then you should be able to use it with XWiki. You can then use the 
AppServerTrustedAuthentication module to accept your user and create 
it's user page.  You can activate it using this in xwiki.cfg

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.AppServerTrustedAuthServiceImpl

Implementing XWiki in Kerberos itself is a lot of work and not really 
usefull since you can have it in Apache or the App server.

Ludovic

Sebastian Kannengiesser a écrit :
 Hi guys,

 I'm very enthusiastic about getting everything out of the XWiki
 environment I'm about to set up for my company. As a matter of fact,
 right now I'm thinking about the best solution for getting Kerberos
 authentication/authorization to work as all 12000 employees are
 already part of the company's Active Directory.

 I've read the XWiki article about Auth issues and am now thinking
 about what would be the best/easiest/strongest solution.
 The solution mentioned in the Wiki wants to use Apache Webserver mit
 mod_auth_kerb. As for now, I did not succeed in building a working
 mod_auth_kerb module for Win32, which somehow disencourages me to
 follow this suggestion. Anyway I wonder, whether I would only be able
 to authenticate users or whether there would be a way to have XWikis
 builtin auth features cooperate with the Kerberos mechanism. The I
 just came across josso which seems to a framework which can be
 deployed into a JBoss Application Server and work as an authentication
 gateway to any josso-enabled applications running on JBoss. Is XWiki
 capable of doing this? And the question about XWikis auth mechanism
 from before remains. Any other suggestions and hints for such are
 scenario from you guys are highly appreciated , since the whole
 AD/Kerberos/JBoss stuff is rather new to me. Again, many thanx in
 advance for any potential reply on this, it's really important to me.

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] New xwiki user looking for some guidance...

2009-01-12 Thread Ludovic Dubost
Kevin_C a écrit :
 Hi all,

 First, I'm a total wiki newb. I've been tasked with evaluating xwiki for use
 by the state agency I work for in order to determine whether or not xwiki
 can meet our needs as a means to share information both internally and
 externally. From my initial poking around it looks like xwiki will be fairly
 easy to work with once I've had the opportunity to wrap my head around some
 of the seemingly less documented pieces like the Object model and
 development process.

 My first task is to replace a set of existing FAQs that have been done with
 static HTML files. I've worked through the FAQ tutorial but my needs are a
 bit more extensive and I'm not sure exactly how to modify the example to
 meet these needs. Here are the main requirements I'm needing to address:

 1) Support for Categories and Sub-Categories for questions. Used for
 displaying questions grouped by sub-category within each of the main
 Categories.

 Would this just be a matter of adding a category property to my FAQ class?
 How would I then access the full list of Categories from the main space in
 order to link to each set of FAQs?

   
You might want to steal the category/subcategory system of the new blog 
application just released in XWiki 1.8M1 or available as a separate xar here

http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/applications/xwiki-application-blog/1.0-SNAPSHOT/


 2) Within each Category (I figured I'd create each main category as a new
 Space) support for specifying certain users who can add new Questions and
 Answers.

 I think I kind of have an idea on how to do this using the user/group
 frameworks. I just wanted to get an idea of whether this sort of restriction
 is doable within the existing rights system.
   
In general spaces should be used for mainly security purposes. So this 
seems a good reason for your use-case. However wouldn't you want an 
entry to be in multiple categories ? This will be complex with spaces.


 3) Creation of global template for creating/editing and viewing FAQ entries.

 This is similar to the FAQ tutorial with a main difference being the ability
 to specify an existing sub-category or to create a new sub-category for the
 main category the user has permission to create questions/answers for.

   
This could be a reuse of both the FAQ and/or BLOG applications.

 4) Main space that acts as a sort of jumping off point for the FAQs.
 Contains links to all of the main FAQ categories and possibly some general
 information about submitting new questions and such.

 I figured I would create a main space and have the re-usable objects defined
 in it and then have a single page that acts as the entry point to the FAQs.

   
You can create macros and sheets and make the easily available. You can 
insert sheets using #includeForm(pagename) and macros using 
#includeMacros(pagename)
 Are there docs for the xwiki object model? How can I find out what
 properties and methods are available on xwiki objects? Are there docs that
 explain how to use velocity scripting to do custom queries to retrieve the
 data to be displayed in a given page?
   

Check http://platform.xwiki.org
You might want to start with the tutorials
 -
 Does this all seem doable in the xwiki system? 
yes

 Does it make sense to develop
 each major category of FAQ as a Space within the wiki? 
Only if rights is needed
 I'm doing this mainly
 because of the editing restrictions, is it necessary? 
This is a decent reason. You can also store rights using groups on a per 
entry basis. But this is not so easy to manage.
If you are sure each category will have a specific group allowed to edit 
a space is good.

 Can someone provide a
 general idea of how I might go about creating this FAQ system that allows
 questions to be categorized and then fetched/displayed by
 Category/Sub-Category?!?
   
Steal the new blog application

Ludovic

 Thanks!!
 Kevin Cummings
   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] myxwiki.org down?

2009-01-20 Thread Ludovic Dubost

The maintenance operation  which was quite short broke a router and it 
was replaced in about 15 minutes.

Ludovic

Vincent Massol a écrit :
 Looks ok to me.

 There was a maintenance operation that happened a few minutes ago so  
 maybe that was the problem.

 -Vincent

 On Jan 20, 2009, at 6:42 PM, Ajdin Brandic wrote:

   
 Anyone know what's happening with myxwiki.org?

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] danish, norsk and swedisch languages

2009-01-29 Thread Ludovic Dubost

Unfortunately not.. If there are any volunteers to help with the 
translations, we can setup a space to translate to that language on our 
translation tool

http://l10n.xwiki.org/xwiki/bin/view/XE/

We are also looking for volunteers for other languages.

Ludovic

Gerritjan Koekkoek a écrit :
 Hi,

 Are the languagefiles for configuring xwiki in the subject languages?
 Please help...

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Merging xwiki databases

2009-01-30 Thread Ludovic Dubost

Hi,

You have two options here:

- either you want to merge them in the same exact XWiki UI. For this you 
can use XAR export and import to import one into the other (you need to 
be carefull about pages having the same name)
- or you move to XWiki Enterprise Manager and there you can have both 
your wiki live together on the same machine but on 2 different URLs. For 
this you install XWiki Enterprise Manager, create two wikis like you 
would from scratch and either import the wikis using XARs or using MySQL 
database imports into the database created for your 2 wikis.

The second solution has the advantage of keeping your 2 wikis 
independent while sharing the server resource and the Database instance, 
and would allow you to create more wikis in your company.

Ludovic

CASTRO roney a écrit :
 I have two xwikis running on two different servers, with different databases. 
 I want to centralize those xwikis in only one server. Therefore, I'm looking 
 for a way (or a tool) to merge the information present in the xwiki on the 
 server that will be disabled, into the database of the xwiki running on the 
 central server, that will remain active. The structure of the old wiki will 
 remain the same, and will be accessed from a link at the main page of the 
 xwiki that will remain active.
 Does anyone know if it is possible to do that?! If it is, how can I 
 accomplish this?
 Thanks a lot,

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Possible Bug with com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent v1.8

2009-02-11 Thread Ludovic Dubost

Hi,

This should generally work.
Here is a typical Groovy script we often use to add attachments from 
File Uploads
We call it this way for example:

#set($doctitle = $xwiki.getUniquePageName(Space, title))
#set($newdoc = $xwiki.getDocument(Space.${doctitle}))
## attach files if necessary
#set($attachgroovy = $xwiki.parseGroovyFromPage(XWiki.UploadGroovy))
#if($attachgroovy == groovy_missingrights)
  #warning(no prog rights warning)
#else
  #set($nb = $attachgroovy.addAttachments($newdoc, $context))
  #if($nb == -10)
#warning(no prog rights warning)
  #end
   $newdoc.save() or $newdoc.saveWithProgrammingRights().
  #end



---
import com.xpn.xwiki.doc.*;
import com.xpn.xwiki.*;
import com.xpn.xwiki.util.Util;
import java.io.*;
import java.util.*;

public class Ajout {
   public int addAttachments(doc1, context1) {
   def doc = doc1.document;
   if (!context1.hasProgrammingRights())
 return -10;
   def context = context1.context;
   if (context==null)
return -10;
   def xwiki = context.getWiki();
   int nb = 0;
   def fileupload = xwiki.getPlugin(fileupload,context)
   for (fileitem in fileupload.getFileItems(context)) {
if (!fileitem.isFormField()) {
def name = fileitem.fieldName
byte[] data = fileupload.getFileItemData(name, context);
if ((data!=null)(data.length0)) {
String fname = fileupload.getFileName(name, context);
int i = fname.lastIndexOf(\\);
if (i==-1)
   i = fname.lastIndexOf(/);
def filename = fname.substring(i+1);
filename = filename.replaceAll(\\+, );
def attachment = doc.getAttachment(filename);
if (attachment==null) {
  attachment = new XWikiAttachment();
  doc.getAttachmentList().add(attachment);
  // Add the attachment to the document
  attachment.setDoc(doc);
}
attachment.setContent(data);
attachment.setFilename(filename);
// TODO: handle Author
attachment.setAuthor(context1.user);
doc.setAuthor(context1.user);
doc.setCreator(context1.user);
doc.saveAttachmentContent(attachment, context);
nb++;
 }
}
   }
  return nb;
 }
}

Ajdin Brandic a écrit :
 I'm executing some code on Save which attaches a PNG file to a document
 that was edited/saved.
  
 When I call docObj.saveAttachmentContent(attP, context); the attachment
 is save OK but any changes made to my document (ie. text changes) are
 not saved.
 If I comment out this line the text changes are saved, but off course
 not the attachment.
  
 Is this normal behaviour, what do the developers think?
  
 def imgAsBites =
 xwiki.getURLContentAsBytes(http://www.websequencediagrams.com/index.php
 +umlImage, context);   
 def attP = docObj.getAttachment(filenameToSavaAs);
 if(!attP)
   {
 attP = new
 com.xpn.xwiki.doc.XWikiAttachment(docObj,filenameToSavaAs);
 docObj.getAttachmentList().add(attP);
 println NO Attach;
   }   
 attP.setContent(imgAsBites);   
 docObj.saveAttachmentContent(attP, context); 
  
 Regards
 Ajdin
  
  
 

 NOTICE

 This message and any files transmitted with it is intended for the addressee 
 only and may contain information that is confidential or privileged. 
 Unauthorised use is strictly prohibited. If you are not the addressee, you 
 should not read, copy, disclose or otherwise use this message, except for the 
 purpose of delivery to the addressee. 

 Any views or opinions expressed within this e-mail are those of the author 
 and do not necessarily represent those of Coventry University.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Hibernate bug while trying to save modifications

2009-02-18 Thread Ludovic Dubost
#


 ]
   at 
 org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1765)
   at 
 org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2407)
   at 
 org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)
   at 
 org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)
   at 
 org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
   at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142)
   at 
 org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
   at 
 org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
   at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
   at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
   at 
 org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
   at 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:816)
   at 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787)
   at 
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:560)
   at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:131)
   at 
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:124)
   at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1268)
   at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:173)
   at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:190)
   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
   at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
   at 
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
   at 
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
   at 
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at 
 com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at 
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
   at 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
   at 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   at 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
   at 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   at 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   at 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
   at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
   at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
   at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
   at 
 org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
   at 
 org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
   at 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
   at java.lang.Thread.run(Thread.java:619)


 
 I can create and modify other kind of objects generated by this application 
 without any problem.

 In the history of the page/object, I have a version 1.1 created by me before 
 the import on the wiki (the objects have been created today, the import was 
 friday).

 I am not admin on the server, but the last test was on another instance of 
 xwiki on the same server and the configs are the same.

 Did somebody already have this problem ? How can I solve that ?

 Thanks in advance.

 Jean



   


-- 
Ludovic

[xwiki-users] Translation Volunteers needed

2009-02-20 Thread Ludovic Dubost


Hi,

Guillaume (Lerouge) has done incredible work to transform all hardcoded 
strings in XWiki Enterprise to translations strings.


We now have 620 translations strings more 

So we need all the help we can to get these translated before 1.8 final. 
I think we can achieve the following languages:


French: 622 translations to do
German: 629 translations to do
Romanian: 1516 translations to do

French and German were complete before we added the 620 more 
translations, and Romanian we HAVE to be able to do it with the number 
of romanians in the team !
Guillaume will coordinate the French translation. We need a volunteer 
from the Romanian team to coordinate the Ro translation.


Let me know if there are volunteers to coordinate the translations 
effort in Geman or other languages before the final 1.8 release.


Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] danish, norsk and swedisch languages

2009-02-22 Thread Ludovic Dubost
Henning Sprang a écrit :
 On Sat, Jan 31, 2009 at 6:16 PM, Henning Sprang
 henning.spr...@gmail.com wrote:
   
 How, apart from the obvious - setting the language to German and
 searching for missing words - can I check what's missing? (in German,
 mainly)
 

 So, it seems I saw so many links that I didn't come up with the idea
 to click on view (maybe because I didn't want to view the
 translation file, but want to work on the translation). I got that
 now.
   
The approach is to:

1/ Click on view
2/ Click on show empty

 From time to time we will load the original ApplicationResources in 
english language. When we do this we have to run prepare to get the 
additional strings visible in each language.

 Apart from some missing I saw some things that could be optimized a
 little. What's the workflow for this? Just going in and change the
 things that seem not to fit?

You can modify exisiting strings.  Until we have done a full review of 
each language, we should consider the current translation changeable.
Once we have done a first review then we will have some way to see  the 
ones that have changed.

  Or is there a place to discuss some
 things with the guys who did the original translation?
 I don't want to step on other's feet...

   
I'm not sure when and how the original German translation was done.
So we are on our own for it.

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Translation Volunteers needed

2009-02-22 Thread Ludovic Dubost

For the volunteers, the workflow is:

1/ Register on http://l10n.xwiki.org
2/ Visit http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources
3/ Click view empty next to the language you want to work on

For german: 
http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=viewemptylanguage=de

4/ Start filling and don't forget to hit save.

For now this will help make a lot of progress. Once we are up to date 
there are some more advanced functions but we don't need them now.

Ludovic

Ludovic Dubost a écrit :

 Hi,

 Guillaume (Lerouge) has done incredible work to transform all 
 hardcoded strings in XWiki Enterprise to translations strings.

 We now have 620 translations strings more 

 So we need all the help we can to get these translated before 1.8 
 final. I think we can achieve the following languages:

 French: 622 translations to do
 German: 629 translations to do
 Romanian: 1516 translations to do

 French and German were complete before we added the 620 more 
 translations, and Romanian we HAVE to be able to do it with the number 
 of romanians in the team !
 Guillaume will coordinate the French translation. We need a volunteer 
 from the Romanian team to coordinate the Ro translation.

 Let me know if there are volunteers to coordinate the translations 
 effort in Geman or other languages before the final 1.8 release.

 Ludovic

 

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


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Translation Volunteers needed

2009-03-03 Thread Ludovic Dubost

Hi JJ,

I've seen that you have actually finished updating the translations on 
l10n.xwiki.org. You've beaten German to the finish line :)
This is great. Let us know if you have other updates. We could look into 
merging from your ApplicationResources file but this could be a bit 
difficult.
Using the translation tool kind of requires using the web site as the 
reference.

Ludovic

Jose Javier Garcí­a Zornoza a écrit :
 Hello
 I've been working with XWiki enterprise 1.8-rc-1 and I have an improved
 version of the Spanish translation than the one that comes with the
 distribution.
 Till Friday my connection to Internet must be with a GPRS modem with a
 very deficient connection, I've tried to use the translation application
 but with my actual connection is a pain. I have the
 ApplicationResources_es.properties, is this file of interest for
 anyone?, is there anyone working on the Spanish translation?

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Translating shortcuts

2009-03-03 Thread Ludovic Dubost

We seem to have a slight problem with the cases of empty translations. 
The application will always consider them as new.
This is something that needs to be fixed in the application or the 
translations removed.

This is not critical for now.

Ludovic

Hernández Cuchí a écrit :
 Hello All,

  

 I've been translating a little, and I found that there are shortcuts to be 
 translated. I wanted to validate with no change, but they are still in the 
 list of empty translations. 

  

 Why do you want the shortcuts to be translated?

 Why Validate with no change do not work (or maybe I didn't understood the 
 term)?

  

 The language is the Spanish one.

  

 Regards,

  

 Francisco

 **
 IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y 
 está dirigido únicamente 
 para el destinatario/s.
 Si Ud recibe este correo por error, por favor póngase en contacto con su 
 administrador de correo o con el 
 emisor immediatamente y no difunda su contenido a nadie ni haga copias.
 *** Este correo ha sido escaneado de virus y contenido malicioso ***
 **
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Translation Volunteers needed

2009-03-03 Thread Ludovic Dubost
Henning Sprang a écrit :
 On Mon, Feb 23, 2009 at 12:02 PM, Guillaume Lerouge guilla...@xwiki.com 
 wrote:
   
 A XWiki Glossar would be a good thing.
   

 Good idea ! ;)

   
 Also some place for discussion of terms would be good.

   
 Well, what we can for now is that you keep a list of terms you're not sure
 ho to translate. Once you have 10 or 20 of them, you post them here on the
 list with your suggestions and we work together to decide on a term. Once
 this is done you can input them in the transation tool.
 WDYT?
 

 Would be some start.

 Having something in the real translation tool where a wiki page with
 discussions and comments from translaters can be listed and checked
 would be interesting, I think.
   
Well each language has a wiki page.

http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_en
http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_de
http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_fr

And comments can be used.. The big question is how to make people 
realize there are comments.

 And maybe also, in the same place, a link to a place in the wiki in
 the language of choice where the string is used, so it can be seen in
 context. Including the english version for comparison ;)

   
That would be nice but it's not so easy to know on which url the string 
is used.. We could find the template or wiki page and provide a URL to 
the source. But right now this is too much work for the translation tool 
developer (which happened to be me until now)

Ludovic

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Killer App for xwiki

2009-03-05 Thread Ludovic Dubost

We've been thinking about this for a while. It is possible to script 
XWiki to achieve what you say but we haven't made it easy.
We are actually close to it and do not even need a form designer as was 
suggesting Sergiu.

We just need to be able to focus one developer probably for about a 
month just on this and we can get something very cool.

I perfectly agree.. It's a killer app we should have and we are close to it.

If some users that know both sharepoint  and XWiki well can list us what 
makes XWiki great compared to Sharepoint it would really help. We are 
often asked how to differentiate.

Ludovic

Hernández Cuchí a écrit :
 Hello,

  

 In my organization we are debating between XWiki and Sharepoint. There is a 
 functionality that makes sharepoint different from many alternatives, and it 
 is to create forms in an easy way. I've been searching the documentation of 
 xwiki, and even though I found that there are forms, I hadn't found a way of 
 making them in a simple way, I mean, with a form to create the forms. Then, 
 displaying the structured data and being able to copy paste to the office 
 suite.

  

 So here comes the question, is there any easy way to create a formular?

  

 I mean that if there isn't, if someone knowing the technology could do it I 
 would just be awesome.

  

 thanks

  

 --

 Francisco Hernández Cuchí

  

 **
 IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y 
 está dirigido únicamente 
 para el destinatario/s.
 Si Ud recibe este correo por error, por favor póngase en contacto con su 
 administrador de correo o con el 
 emisor immediatamente y no difunda su contenido a nadie ni haga copias.
 *** Este correo ha sido escaneado de virus y contenido malicioso ***
 **
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Killer App for xwiki

2009-03-05 Thread Ludovic Dubost

Needless to say that if any company wants to sponsor this we can find 
people to implement it.

Ludovic

Ludovic Dubost a écrit :
 We've been thinking about this for a while. It is possible to script 
 XWiki to achieve what you say but we haven't made it easy.
 We are actually close to it and do not even need a form designer as was 
 suggesting Sergiu.

 We just need to be able to focus one developer probably for about a 
 month just on this and we can get something very cool.

 I perfectly agree.. It's a killer app we should have and we are close to it.

 If some users that know both sharepoint  and XWiki well can list us what 
 makes XWiki great compared to Sharepoint it would really help. We are 
 often asked how to differentiate.

 Ludovic

 Hernández Cuchí a écrit :
   
 Hello,

  

 In my organization we are debating between XWiki and Sharepoint. There is a 
 functionality that makes sharepoint different from many alternatives, and it 
 is to create forms in an easy way. I've been searching the documentation of 
 xwiki, and even though I found that there are forms, I hadn't found a way of 
 making them in a simple way, I mean, with a form to create the forms. 
 Then, displaying the structured data and being able to copy paste to the 
 office suite.

  

 So here comes the question, is there any easy way to create a formular?

  

 I mean that if there isn't, if someone knowing the technology could do it I 
 would just be awesome.

  

 thanks

  

 --

 Francisco Hernández Cuchí

  

 **
 IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial 
 y está dirigido únicamente 
 para el destinatario/s.
 Si Ud recibe este correo por error, por favor póngase en contacto con su 
 administrador de correo o con el 
 emisor immediatamente y no difunda su contenido a nadie ni haga copias.
 *** Este correo ha sido escaneado de virus y contenido malicioso ***
 **
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   
 


   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Translation Volunteers needed

2009-03-06 Thread Ludovic Dubost

The best way is the Review button.. Once you have checked reviewed 
them they will not come up again.

http://l10n.xwiki.org/xwiki/bin/view/XE/XWikiCoreResources?action=reviewlanguage=de

We don't yet have a trusted reviewers group but it would be great to 
have one at one point.
So for now anybody can review. I think the process should be that a 
review is a second chance to check translations before considering them 
valid.

Ludovic

hel-o a écrit :
 Hi,

 i decided to review all german translations because i found they are not
 really consistent.

 So i used the View All option, but when i save one result page i have to
 get back to the View All again and (i'm not sure) but i think the terms
 are not in the same order when i call the same result page twice (very bad
 for reviewing all terms).

 Whats the best way to edit and review all translation terms of a language?

 Thanks
 hel.


 Ludovic Dubost-2 wrote:
   
 Henning Sprang a écrit :
 
 On Mon, Feb 23, 2009 at 12:02 PM, Guillaume Lerouge guilla...@xwiki.com
 wrote:
   
   
 A XWiki Glossar would be a good thing.
   
   
 Good idea ! ;)

   
   
 ...
 
 Having something in the real translation tool where a wiki page with
 discussions and comments from translaters can be listed and checked
 would be interesting, I think.
   
   
 Well each language has a wiki page.

 http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_en
 http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_de
 http://l10n.xwiki.org/xwiki/bin/view/XE/XEXWikiCoreResources_667368132_xe-statistics-alltime_fr

 And comments can be used. The big question is how to make people 
 realize there are comments.

 
 And maybe also, in the same place, a link to a place in the wiki in
 the language of choice where the string is used, so it can be seen in
 context. Including the english version for comparison ;)

   
   
 That would be nice but it's not so easy to know on which url the string 
 is used.. We could find the template or wiki page and provide a URL to 
 the source. But right now this is too much work for the translation tool 
 developer (which happened to be me until now)

 Ludovic

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

   
   
 -- 
 Ludovic Dubost
 Blog: http://blog.ludovic.org/
 XWiki: http://www.xwiki.com
 Skype: ldubost GTalk: ldubost

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


 


 -
 hel.
 h...@hel.at

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Translation status and improvements

2009-03-07 Thread Ludovic Dubost


I've improved slightly the translation app at http://l10n.xwiki.org
It now supports sorting per the translation keys both for the output 
(the file will be nicer looking) and when translating, which will make 
it easier to translate keys that correspond to the same module together.


In terms of status the great news is that we have the following language 
completed:


- English (obviously)
- French
- German
- Romanian

Translators might want to have a look at the outdated translations. 
These are the already translated keys that have in the mean time changed 
in the english language.

Outdated translations are available from the OutDated link of your language.

Review is also important. It gives a second chance to check 
translations. Also an already translated key that has been changed and 
not reviewed will not be taken into account until it is reviewed.

Review is accessible from the Review link of your language.

In any case I'm really happy with what we have achieve. We now have 4 
complete languages and we can keep track of the changes.

We'll make sure this hard work is going to make it in 1.8 final release.

Thanks to all for the contribution and we welcome other volunteers to 
tackle the other languages.


Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Include a groovy script into another groovy script

2009-03-29 Thread Ludovic Dubost
Hi,

You can use:

def object = xwiki.parseGroovyFromPage(Include.Page1)

Where in Include.Page1 you have a groovy class.
The you can call methods..

It didn't work for you because in page one it's just the groovy class 
without the % % around it

Ludovic

Zik23 a écrit :
 Hi,
 I have two classes in separated pages and I want one of them to extend the 
 other. How should I include the parent class?

 I tried:

 Page 1:
 --
 %

 public class A {
 ...
 }

 %
 --

 Page 2:
 --
 #set($mydoc = $xwiki.getDocument(Include.Page1))
 $mydoc.renderedContent

 %

 public class B extends A {
 ...
 }

 %
 --


 But that's not working, i get this error - unable to resolve class A @ line 3.

 I also tried to use parseGroovyFromPage(), but I wasn't successful.

 So what is the correct way to make it work?
   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] How to navigate user pages as tree structure from main page?

2009-04-08 Thread Ludovic Dubost
://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Google Analytics

2009-04-28 Thread Ludovic Dubost

You need to create a skin in your wiki and override the analytics.vm 
template.
Check out the skin guide on xwiki.org

Ludovic

Vitantonio Messa a écrit :
 And what about a wiki-farm?

 My problem is that I have to use this for one wiki in our wiki-farm: I 
 guess if I put that code in the templates/analytics.vm it will index all 
 the wikis in the farm.

 Is it possible to embed the code in template/analytics.vm directly on 
 the page of the wiki I want to address? We need to count visits only on 
 the main page of the wiki.

 Vito


 Sergiu Dumitriu wrote:
   
 Vitantonio Messa wrote:
 
 Hi all,

 how can I embed the Google Analytics code in XWiki?
 Thanks,

   
 Check out templates/analytics.vm

 All you need to do is uncomment the code (remove #* and *#) and put 
 the right _uacct value.

 

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Google Analytics

2009-04-28 Thread Ludovic Dubost

Sorry you don't even need to override anaytics.vm, you can copy the 
google analytics code snippet into header.vm or footer.vm which is 
already present as a field in skins

Ludovic

Ludovic Dubost a écrit :
 You need to create a skin in your wiki and override the analytics.vm 
 template.
 Check out the skin guide on xwiki.org

 Ludovic

 Vitantonio Messa a écrit :
   
 And what about a wiki-farm?

 My problem is that I have to use this for one wiki in our wiki-farm: I 
 guess if I put that code in the templates/analytics.vm it will index all 
 the wikis in the farm.

 Is it possible to embed the code in template/analytics.vm directly on 
 the page of the wiki I want to address? We need to count visits only on 
 the main page of the wiki.

 Vito


 Sergiu Dumitriu wrote:
   
 
 Vitantonio Messa wrote:
 
   
 Hi all,

 how can I embed the Google Analytics code in XWiki?
 Thanks,

   
 
 Check out templates/analytics.vm

 All you need to do is uncomment the code (remove #* and *#) and put 
 the right _uacct value.

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

   
 


   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Extended ToDo Application

2009-05-19 Thread Ludovic Dubost


We have a Task Manager we have done in our internal Wiki.  It has the 
sequential number feature. It also also to link a task to a page in the 
Wiki. It also includes notifications and panels.


Here is an export that is pretty raw for review. With a little bit of 
work it could be made available as a download.


We could improve it with the LiveTable grid

Ludovic

Michael Beetz a écrit :

Hello.

Thanks fort he reply.

Yes, I am looking for a team-task-manager-thing - therefore I am using the 
TaskManagerApplication yet.  If the intention of the ToDo is different than I am still looking for the 
Wanted Applications - Work Order Management 
http://code.xwiki.org/xwiki/bin/view/Applications/

It pretty fine and easy to link a ToDo to a parent page.  The disadvantage is a huge 
number of pages within the tree.  I do not know the XWike design principles in detail.  
Therefore I couldn't suggest simply the parent relation or a specific link.  From the 
functional point of view:  I'd like to have a local view for the thinks to be done on a 
specific area / page / process ... and the global view who is involved / assigned 
on which issue.

List all by ... Ses, the ToDo.WebHome is doing that.

Create a ToDo based on a sequential number within a space:  Having a lot of 
ToDos needs numbering it.  That's the main request.  And it would be fine to a 
have different groups for different spaces (1 - 1 for ToDos within 
space XYZ, 2 - 2 for ToDos within space ABC).

Thanks again
mb

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of M 
Rawash
Sent: Tuesday, May 19, 2009 12:45 AM
To: users@xwiki.org
Subject: Re: [xwiki-users] Extended ToDo Application

On Sun, 2009-05-10 at 09:42 +0200, Michael Beetz wrote: 
  

Hi all,



hello.

  

The Extended ToDo Application seams to be the more active application (than the 
Task Manager Application).  Is there any way to add these nice features to that 
application too?
-  create a todo linked to a page



you mean like having a wiki page as the todo's parent (a la TaskManager)
or making reference to another wiki page in the todo's body?

  

-  list all todos by page / by assignee / by reporter



doesn't Todo.WebHome already do that (except for the 'reporter' bit)?
does your todo table look different from the one in the screenshot?

judging from an earlier post by you, you seem to be using the
ExtendedTodoApplication as a team-task-manager-thing, that's not the
intended purpose, it's more of a personalised todo list, i'm even
thinking of removing the 'assignee' propriety and limiting todo access
to the original reporter (ideas?)

  

-  create a todo having a sequential number within a space



can you give me an example for that? 



thanks,
M Rawash

___
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

  



--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Extended ToDo Application

2009-05-21 Thread Ludovic Dubost

Yes it is.. my bad.. somehow I thought we had not published it

Ludovic

Vincent Massol a écrit :
 Hi Ludovic,

 Isn't what you wanted to attach the same as
 http://code.xwiki.org/xwiki/bin/view/Applications/ 
 TaskManagerApplication ?

 Thanks
 -Vincent

 On May 19, 2009, at 11:41 PM, Ludovic Dubost wrote:

   
 We have a Task Manager we have done in our internal Wiki.  It has  
 the sequential number feature. It also also to link a task to a page  
 in the Wiki. It also includes notifications and panels.

 Here is an export that is pretty raw for review. With a little bit  
 of work it could be made available as a download.

 We could improve it with the LiveTable grid

 Ludovic

 Michael Beetz a écrit :
 
 Hello.

 Thanks fort he reply.

 Yes, I am looking for a team-task-manager-thing - therefore I am  
 using the TaskManagerApplication yet.  If the intention of the ToDo  
 is different than I am still looking for the Wanted Applications - 
   
 Work Order Management http://code.xwiki.org/xwiki/bin/view/Applications/
 
 It pretty fine and easy to link a ToDo to a parent page.  The  
 disadvantage is a huge number of pages within the tree.  I do not  
 know the XWike design principles in detail.  Therefore I couldn't  
 suggest simply the parent relation or a specific link.  From the  
 functional point of view:  I'd like to have a local view for the  
 thinks to be done on a specific area / page / process ... and the  
 global view who is involved / assigned on which issue.

 List all by ... Ses, the ToDo.WebHome is doing that.

 Create a ToDo based on a sequential number within a space:  Having  
 a lot of ToDos needs numbering it.  That's the main request.  And  
 it would be fine to a have different groups for different spaces  
 (1 - 1 for ToDos within space XYZ, 2 - 2 for ToDos  
 within space ABC).

 Thanks again
 mb

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On  
 Behalf Of M Rawash
 Sent: Tuesday, May 19, 2009 12:45 AM
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Extended ToDo Application

 On Sun, 2009-05-10 at 09:42 +0200, Michael Beetz wrote:
   
 Hi all,

 
 hello.


   
 The Extended ToDo Application seams to be the more active  
 application (than the Task Manager Application).  Is there any way  
 to add these nice features to that application too?
 -  create a todo linked to a page

 
 you mean like having a wiki page as the todo's parent (a la  
 TaskManager)
 or making reference to another wiki page in the todo's body?


   
 -  list all todos by page / by assignee / by reporter

 
 doesn't Todo.WebHome already do that (except for the 'reporter' bit)?
 does your todo table look different from the one in the screenshot?

 judging from an earlier post by you, you seem to be using the
 ExtendedTodoApplication as a team-task-manager-thing, that's not the
 intended purpose, it's more of a personalised todo list, i'm even
 thinking of removing the 'assignee' propriety and limiting todo  
 access
 to the original reporter (ideas?)


   
 -  create a todo having a sequential number within a space

 
 can you give me an example for that?

 thanks,
 M Rawash

 ___
 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


   
 -- 
 Ludovic Dubost
 Blog: http://blog.ludovic.org/
 XWiki: http://www.xwiki.com
 Skype: ldubost GTalk: ldubost

 ___
 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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Extended ToDo Application

2009-05-21 Thread Ludovic Dubost

Right.. I think it's the right thing to do to work on this application...

Michael Beetz a écrit :
 Hi all,

 I'd like to go back to my original post, see below.  I am using the 
 TaskManagerApplication today.  However what's going on?  I've discovered that 
 there is slightly a bit more development on the ToDo then on the TaskMananger.

 Some open issues for the TaskManager:
 - My post Jan, 3rd org.hibernate.QueryException: expecting ''', found 'EOF'
   
I think it's this query that causes issue. It could be a database issue:

select obj.name,prop1.value||' '||prop2.value from BaseObject as obj, 
StringProperty as prop1, StringProperty as prop2,  IntegerProperty as 
prop where obj.className='XWiki.XWikiUsers' and obj.id=prop1.id.id and 
prop1.id.name='first_name' and obj.id=prop2.id.id and 
prop2.id.name='last_name'  and obj.id=prop.id.id and 
prop.id.name='active' and prop.value=1 order by 2

it 's in the IssueClass. You can modify it to:

select obj.name,prop1.value from BaseObject as obj, StringProperty as 
prop1, StringProperty as prop2,  IntegerProperty as prop where 
obj.className='XWiki.XWikiUsers' and obj.id=prop1.id.id and 
prop1.id.name='first_name' and obj.id=prop2.id.id and 
prop2.id.name='last_name'  and obj.id=prop.id.id and 
prop.id.name='active' and prop.value=1 order by 2

to check if this is the case.
 - I am able to maintain tasks (setting the status, reporter, editing the main 
 texts ...) using the object editor only.  It fails using WYSIWYG
   
What error are you getting ?

 - The usage of comments only for the documentation of progress is a bit poor
   
What would you like to see there ?

 - Syntax 2.0

   
We need to have our Intranet upgraded to 1.8.4 to get this done.

Ludovic

 Thanks
 mb

  May, 1st start ==
 Hi all,

 There are two (three) applications handling tasks:  The Task Manager 
 Application and the (Extended) ToDo Application.  AND there is a Wanted 
 Application ... Work Order Management, where you can create a list of 
 workers, and create tasks (define properties like requester dept. and name, 
 project containing the task, date of creation, details, and notes). Assign 
 tasks to a worker, and track hours in each task, finally close tasks. Should 
 be able to extract simple reports, like n. of open/closed tasks, min., max. 
 and average hours per task, listing per requester, and per worker, etc.

 What's the development direction of these applications?  The main advantage 
 of the Task Manager Application is the link to a Wiki Page.  This allows 
 making notes, adding open issues ... to a page - the local view.  The global 
 view is the central list of all open issues.  The two main directions to look 
 for open issues.

 That's what I like, the question is:  What's going on?

 Thanks
 mb
  May, 1st end ==



 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
 Vincent Massol
 Sent: Wednesday, May 20, 2009 8:53 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Extended ToDo Application

 Hi Ludovic,

 Isn't what you wanted to attach the same as
 http://code.xwiki.org/xwiki/bin/view/Applications/ 
 TaskManagerApplication ?

 Thanks
 -Vincent

 On May 19, 2009, at 11:41 PM, Ludovic Dubost wrote:

   
 We have a Task Manager we have done in our internal Wiki.  It has  
 the sequential number feature. It also also to link a task to a page  
 in the Wiki. It also includes notifications and panels.

 Here is an export that is pretty raw for review. With a little bit  
 of work it could be made available as a download.

 We could improve it with the LiveTable grid

 Ludovic

 Michael Beetz a écrit :
 
 Hello.

 Thanks fort he reply.

 Yes, I am looking for a team-task-manager-thing - therefore I am  
 using the TaskManagerApplication yet.  If the intention of the ToDo  
 is different than I am still looking for the Wanted Applications - 
   
 Work Order Management http://code.xwiki.org/xwiki/bin/view/Applications/
 
 It pretty fine and easy to link a ToDo to a parent page.  The  
 disadvantage is a huge number of pages within the tree.  I do not  
 know the XWike design principles in detail.  Therefore I couldn't  
 suggest simply the parent relation or a specific link.  From the  
 functional point of view:  I'd like to have a local view for the  
 thinks to be done on a specific area / page / process ... and the  
 global view who is involved / assigned on which issue.

 List all by ... Ses, the ToDo.WebHome is doing that.

 Create a ToDo based on a sequential number within a space:  Having  
 a lot of ToDos needs numbering it.  That's the main request.  And  
 it would be fine to a have different groups for different spaces  
 (1 - 1 for ToDos within space XYZ, 2 - 2 for ToDos  
 within space ABC).

 Thanks again
 mb

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On  
 Behalf Of M Rawash
 Sent: Tuesday, May

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

2009-05-21 Thread Ludovic Dubost

I created it..

Ludovic

Stéphane Laurière a écrit :
 Bonjour à tous,

 If possible, I'd like to open a wiki named queyracines.myxwiki.org which 
 would
 be used by a non-profit community around the Queyras history and culture (area
 of the Hautes-Alpes in France).

 My id on myxwiki.org is slauriere.

 By the way, the home page of myxwiki.org seems to link wrongly to the port 
 8080
 in the box titled Wikis you view, doesn't it?

 Kind regards

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Problem with WYSIWYG editor and blog

2009-06-13 Thread Ludovic Dubost
Brett Bergquist a écrit :
 I figured the first problem out.  The web.xml is specifying filter 
 dispatcher elements but these are not valid for Servlet 2.3 
 specification.  This comes with Servlet 2.4 specification.  So I change 
 web.xml to read:


 web-app xmlns=http://java.sun.com/xml/ns/j2ee;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=...
   version=2.4

 and removed the DOCTYPE and now the wysiwyg editor is working correctly. 
   

Cool.. you should report a bug on jira.xwiki.org so that we fix this in 
the released version
 Now for the blog problem.   This appears to have something to do with 
 forward only scroll insensitive cursors and probably issuing a 
 resultSet.first or something similar which is trying position a 
 cursor.  From the server log:

 [#|2009-06-13T11:32:21.046-0400|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|2009-06-13
  
 11:32:21,046 [http://192.169.1.6:8080/xwiki/bin/view/Blog/] 
 [httpSSLWorkerThread-8080-0] ERROR util.JDBCExceptionReporter  - 
 This method should only be called on ResultSet objects that are 
 scrollable (type TYPE_SCROLL_INSENSITIVE).
 |#]

 This might have something to do with the why hibernate is creating the 
 result set.  I could try to figure it out, but I am having problems 
   

I don't think the blog would be doing anything special when calling 
hibernate. And since hibernate has no reason not to work with Derby I 
suspect a misconfiguration.
Have you set the Dialect in your hibernate conf ?

Ludovic

 trying to figure out what source code to pull out.  I tried with SVC and 
 pull out all but I ended up downloading all of the branches, all of the 
 tags, etc. before I killed it.  So if you could point me in the right 
 direction with the SVN repository command to pull down, I could give it 
 a look.

 Thanks again for the help.

 Brett

 Ludovic Dubost wrote:
   
 Brett M. Bergquist a écrit :
   
 
 Environment:

 * Glassfish 2.1ur2
 * Windows XP
 * Apache Derby 10.4
 * XWiki Enterprise 1.9.21179

 --
 I just installed this and got it up and running. I downloaded and installed:
 xwiki-enterprise-wiki-1.9.xar

 When I try to use the WYSIWYG editor in Firefox 3, it comes up okay, but
 when I preview or save my pages, the page shows the HTML code, and not
 the wiki code. That is, I see something like this:

 Ptest/PH1 id=HHeading1SPANHeading 1/SPAN/H1Ptest
 again/PP/PPabcdef/P

 
   
 This shows the conversion mecanism is not triggered or failed. There is
 a filter for that in the web.xml.
 Maybe this is linked with the Glassfish config althout be have it
 working on Sun App Server env in one case.
   
 
 in the page instead of the paragraph, heading, etc. If I don't use the
 WYSIWYG editor, it works fine. Any ideas of what I might have done wrong?

 With IE 8, the WYSIWYG editor toolbar is just a bunch of mashed up icons
 also.

 
   
 We haven't done any IE8 testing yet. Any feedback on what's
 working/failing would be great besides the icon issue. A bug report on
 jira.xwiki.org would be cool

   
 
 --
 Also, if I hit on the Blog link, I get an error:

 Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
 Wrapped Exception: Failed to evaluate content with id Web Home
 /xwiki/bin/view/Blog/

 
   
 This one is probably due to a derby incompatibility of the query. Your
 exception should give the exact failure to run the query which we don't
 see in this log

 Thanks for the bug reports

 Ludovic

   
 
 Any ideas on this one?

 So far, I really like what I see however1

 Brett

 Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
 Wrapped Exception: Failed to evaluate content with id Web Home 
 /xwiki/bin/view/Blog/
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing 
 velocity page Blog.WebHome
 Wrapped Exception: Failed to evaluate content with id Web Home 
 /xwiki/bin/view/Blog/
   at 
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
   at 
 com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
   at 
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
   at 
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
   at com.xpn.xwiki.XWiki.include(XWiki.java:3864)
   at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1404)
   at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1364)
   at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at 
 org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389

[xwiki-users] [curriki-devs] Large XAR imports

2009-06-15 Thread Ludovic Dubost


Hi,

I have published a large XAR import script which instead of working with
an uploaded file (which causes an issue because large XAR files - over
20Megabytes -  cannot be attached in the Wiki at all or without a
significant increase in JVM memory settings when hte file is not VERY
large) works with a file on the server file system. Also it works to
import page by page in order to scale to really very large XARs (the
standard import API is also limited since it needs to be able to load
all documents in memory which is of course impossible if the XAR is
bigger than the memory settings of the JVM).

http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippet

We have tested it for some wiki migrations from ISO to UTF which have to
be done using XAR import/export and it worked fine, but it has not been
fully reviewed and can still have some issues. Let me know here if you
experience issues.

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost


___
curriki-devs mailing list
curriki-d...@xwiki.org
http://lists.xwiki.org/mailman/listinfo/curriki-devs

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


Re: [xwiki-users] Live Table Loading... Page never ends

2009-06-15 Thread Ludovic Dubost

Which Live Table are you trying ?

Is it the one installed as a XAR file downloaded from code.xwiki.org, or 
is it the one bundled with XE 1.9/XEM 1.7 ?

Do you see anything in the log or in Firebug (using Firefox) ?

Ludovic

Henk Schouten a écrit :
 Hello,

 Another problem I encounter with my freshly installed XEM 1.7. It seems 
 that the new component Live Table never finishes loading a page list. 
 The animated gif and the text Loading... Page appears and than nothing 
 happens and the page seems frozen Again I have seen this problem 
 both in XEM 1.6.4 and 1.7. I am using tomcat 5.5.27 and Oracle 10G 
 database. The same problem occurs in the Users and Groups section of the 
 Administration page, which makes it very hard to setup a new wiki 
 completely.

 Anyone else who has the same problem? Is there a way to fix this?

 Henk

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Macro in Syntax 2.0

2009-07-03 Thread Ludovic Dubost
Regan Gill a écrit :
 Hi All,

 We upgraded our internal wiki from xwiki 1.6 to xwiki 1.9 recently and
 discovered that our old macro syntax doesn't work any longer because we
 have the default syntax set to 2.0. I had added some custom macros, one
 of which added links to documents stored in a particular location. This
 was connecting our svn document storage with the xwiki documentation and
 was simple enough for all my users to use. 

 ##
 ## Insert a link to a document in the documentation repository
 ## Usage
 ## doclink( repo_path_to_doc  display_name)
 ##
 #macro(doclink $path $name)
 a href=/docs_repo/$path$name/a#end

 My users didn't have to worry about how the repository was managed on my
 xwiki server or use html.

 Now I need to have them do this

 {{velocity}}{{html}}#doclink(repo_path_to_doc
 display_name){{/html}}{{/velocity}}

 Instead of 

 #doclink( repo_path_to_doc  display_name)
   
You can insert the {{html}} element inside the macro to remove the need 
for the velocity item.

And as Vincent says in 2.0 there will be the bridge to velocity macro to 
simplify things and allow macros to be exposed in the Wysiwyg, which is 
what will actually help democratize macros.

Ludovic

 It may not seem like a big deal to a developer, but it is less user
 friendly. I want to continue with the new syntax, but I was wondering if
 this is going to be the permanent syntax for macros.

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Some problems with farm

2009-08-13 Thread Ludovic Dubost

François Cedelle a écrit :
 Hello,

 I'm using XEM 1.7.2 with Tomcat and Apache on Debian
 - I ca  create virtual wiki but i can't modify them. When I try to  
 preview or view my change, I'm automaticly redirected to the xredirect  
 page...
   
You would need to show a log of the URLs called. You can use Firefox's 
LiveHttpHeaders for that.
Without that it's hard to help

 - And if I try to login directly on a virtual wiki, I can't logout...
   
You probably did not change the domain that is in xwiki.cfg. It allows 
to make sure your cookie is shared with all wikis.

Ludovic
 Could you help me ?

 François


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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] [Proposal] XWiki 2.0 Skin Name

2009-08-20 Thread Ludovic Dubost
+1 colibri

Envoyé de mon iPhone

Le 20 août 2009 à 11:14, Jean Couteau cout...@codelutin.com a  
écrit :

 Oana Tabaranu a écrit :
 Ecaterina Valica wrote:

 Vote:
 [ colibri ] +1 Caty, +1 Guillaume, +1 Raluca, +1 Vincent G, +1  
 Thibaut
 [ heron ] +1 Marta



 +1 colibri

 +1 colibri that's a nice name

 -- 
 
 Jean Couteau
 Code Lutin - http://www.codelutin.com
 44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
 Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28

 ___
 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-devs] [Colibri Skin] Color Themes

2009-08-24 Thread Ludovic Dubost

Can we vote on the default one ?

Ludovic

Ecaterina Valica a écrit :
 Hi,

 The new XWiki 2.0 Skin (Colibri) will let you easily change the colors using
 a ColorTheme Class done by Marta.

 Here are some examples of theme customization:

 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/DefaultColorTheme/SchemeDefault.png(Currently
 Default)

 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/AColorTheme/SchemeA.png(A)

 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/BColorTheme/SchemeB.png(B)

 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/CColorTheme/SchemeC.png(C)

 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/DColorTheme/SchemeD.png(D)

 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/EColorTheme/SchemeE.png(E)

 After XWiki's Colibri release would be nice to have a gallery with themes
 submitted by the community.

 Thanks,
 Caty
 ___
 devs mailing list
 d...@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/devs

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Good News for the XWiki Open Source Project: French State Research funding

2009-09-15 Thread Ludovic Dubost


Hi XWiki Community,

I'm happy to share some good news for the XWiki Platform and Community 
that we got today.


We (XWiki SAS) had responded to a French Government Call for Web 2.0 
Projects in early July and we got the good news today that our project 
was selected with 43 other projects (among 340 proposals) to receive 
state funding.


In this project, where the research entity INRIA/ECOO and Open Source 
company Mandriva are also participating, we have proposed to enhance 
XWiki's social features and integrate Real-Time capabilities in XWiki 
(both for editing information and viewing information in real-time).


We already worked with INRIA/ECOO on XWiki Concerto (offline and mobile 
XWiki) which is the specialist in France and probably Europe of 
Operational Transformation Technology (which is used in Google Wave for 
real-time capabilities).


We'll talk more about the features this will bring to XWiki when we 
formally launch the project. We don't know yet how fast it will go to 
formalize the public funding and start the project (it usually takes at 
least a few month).


It's great to be able to continue to work on innovative technologies in 
the Wiki space, which is not that easy as we have already so much work 
to package and polish all the great ideas and features that are already 
in the XWiki platform.


It's also great to see the progress the XWiki software has made in the 
last year, from XWiki 1.8 to XWiki 2.0 coming out soon. The new 
rendering, new Wysiwyg editor, the Office Importer and now the new skin 
are making XWiki do a lightyear of progress in just one year !


Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Continuing XWiki experiments ... Was: The missing quality of xwiki?

2009-09-29 Thread Ludovic Dubost
)
 at 
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
 at 
 org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
 at 
 org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
 at 
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 at org.mortbay.jetty.Server.handle(Server.java:326)
 at 
 org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
 at 
 org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
 at 
 org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
 at 
 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)


 Some left room for improvements I suppose... :-)

 Greetings,   
 Carsten

 P.S.
 Thats still 2.0rc2, I didn't checked f2.0 final yet.
  
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error number 4001 in 4: Error while parsing velocity page TasksCode.NewTask

2009-10-02 Thread Ludovic Dubost
) at 
 java.lang.reflect.Method.invoke(Unknown Source) at 
 org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
  at 
 org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
  at 
 org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) 
 ... 96 more


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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost


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


Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error number 4001 in 4: Error while parsing velocity page TasksCode.NewTask

2009-10-03 Thread Ludovic Dubost

However the query is going to get slower and slower.

Wasn't it just because you had no tasks at all that it returns empty ? 
(I suppose you have check that but it's just to be sure)

Could you try the query with a group by..

Now if your DB does not accept this query it's not so good. Which 
database and version are you using ?

Ludovic


Michael Beetz wrote:
 Hi Ludovic,

 I seems to work using

 #set($id = 1)
 #set ($list = $xwiki.searchDocuments(,BaseObject as obj, IntegerProperty as 
 prop
 where
 doc.fullName=obj.name
 and obj.className='TasksCode.IssueClass'
 and obj.id=prop.id.id
 and prop.id.name='id'
 and prop.id.value  0
 order by prop.id.value desc
 , 0, 0))
 #foreach ($item in $list)
   #set($id = $id + 1)
 #end

 Thanks  Kind regards
 mb

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
 Michael Beetz
 Sent: Saturday, October 03, 2009 12:04 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error 
 number 4001 in 4: Error while parsing velocity page TasksCode.NewTask

 Hi Ludovic,

 It's the query ...
 #set($sql = select max(prop.value)+1 from BaseObject as obj,
 IntegerProperty as prop where obj.className='ITSClasses.IssueClass' and
 obj.id=prop.id.id and prop.id.name='id')

 $xwiki.search($sql)

 It returns always an empty string.  Even there are tasks already defined.

 I've spend some time using $xwiki.searchDocuments(...) to count the task 
 pages ... but I couldn't fix it (It returns either no or all pages)

 Thanks
 mb

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
 Ludovic Dubost
 Sent: Friday, October 02, 2009 9:44 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error 
 number 4001 in 4: Error while parsing velocity page TasksCode.NewTask


 Hi Michael,


 I suspect it is the counter that retrieves the lastest task number. It
 is running a search query with a select max() and we have seen some
 differences based on the MySQL/hibernate combination on the way this
 unique result is returned (as a number directly or as a 1 item list). It
 could be also because in your case it does not return anything (your
 need a first task)

 You should look at this call to search and check what it returns
 exactly and how to retrieve this max number

 This is the code
 #set($sql = select max(prop.value)+1 from BaseObject as obj,
 IntegerProperty as prop where obj.className='ITSClasses.IssueClass' and
 obj.id=prop.id.id and prop.id.name='id')
 #set($id = $xwiki.search($sql).get(0))

 Maybe in your case

 #set($id = $xwiki.search($sql))

 or

 #set($res = $xwiki.search($sql))
 #if($res  $res.size()0)
 #set($id = $xwiki.search($sql).get(0))
 #else
 #set($id = 0)
 #end

 will work.

 Ludovic

 Michael Beetz wrote:
   
 Hi Community,

 I am sorry bothering you.  However I am using the task manager application 
 in a production environment, therefore I have to decide about staying on 
 several single wikis or consolidating them in a farm.

 Is there anybody available instructing me to find that bug?

 I am quite familiar writing code in general; however I haven't done 
 something in Java, eclipse or xwiki yet.  Therefore I would appreciate a 
 link to some useful code snippet as well.

 Thanks for now and in advance
 mb



 
 From: Michael Beetz
 Sent: Wednesday, September 30, 2009 10:06 PM
 To: 'XWiki Users'
 Subject: xwiki 2.0, task manager application,Error number 4001 in 4: Error 
 while parsing velocity page TasksCode.NewTask

 Hi all,

 I am running xwiki 2.0 in a farm.  The Task Manager Application fails 
 creating a new task.  Any hints?

 Thanks
 mb

 Error number 4001 in 4: Error while parsing velocity page TasksCode.NewTask 
 Wrapped Exception: Failed to evaluate content with id New Task

 Error number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
 Wrapped Exception: Failed to evaluate content with id New Task
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing 
 velocity page TasksCode.NewTask
 Wrapped Exception: Failed to evaluate content with id New Task
 at 
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
 at 
 com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
 at 
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
 at 
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
 at 
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
 at 
 com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
 at 
 com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:547

Re: [xwiki-users] [XE 2.0] Live Table : not filtering multiple-valued fields

2009-10-09 Thread Ludovic Dubost
Jeremie BOUSQUET a écrit :
 Hello,

 I'm using the (fantastic) new live tables to display components of a certain
 class.
 Everything works well, except for one thing - but functionality may be
 discutable...

 One of the fields of my class is of type Static List, is displayed as
 checkboxes and has multi-select activated.
 This field is correctly displayed in live table, with type : list, and
 all checked values are displayed separated by a space character (not that
 good though, if some of the values contain spaces...).
 Problem is for sorting and filtering :
 - filtering on a value just leaves the table as it is (displays all entries)
 [Note : it seems in 2.0-RC2, filtering this kind of field removes all
 entries]
   
This would be a bug as filtering should work.  I have this working on 
pre-2.0 livetables.
Create a JIRA..

 - sorting table on this field just changes order, but with no link to values
 (no link I could infer).
   
Sorting is impossible on a multi valued field. In your field definition 
you should say that you don't want sorting

 I believe sorting a multi-valued field is not really a good idea, and I
 wonder what to expect. As order of values is kept, it might have a sense
 maybe. But filtering would be helpful though. I think a line should be
 retained if one of the values matches the filter.

 Except for this case, the live table works perfectly well.

 WDYT ? (did not find any jira about that, maybe missed it).

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] [docs] draft: XE main documentation page

2009-10-11 Thread Ludovic Dubost

We could use the Table of Content which is managed by the collections 
plugin.
I could do some modifications to it to make it more usable for xwiki.org.

We would need to decide exactly how we would like it to behave:

1/ Start from the Space home page or only start from the parent of the 
current page
2/ How many levels do we want to go down
3/ Do we want to follow all links down or do we want to filter some
   - filter the one that are not in the same space
   - follow only direct childs (that have the page as parent)
   - do not follow links that would be marked as a reference (in this 
case we need to add a property to these links)

Ludovic

Roman Friesen a écrit :
 Hello,

 currently the xwiki documentation runs on several wiki instances and
 spaces. Unfortunately it's not structured well too, so it's really very
 hard to find required information. It's my experience.

 I think something like a Table of Content could help indeed. Probably it
 would be fix  dirty solution, but nevertheless a solution.

 Please look at the current draft for that page:
   http://dev.xwiki.org/xwiki/bin/view/Drafts/XEDocMain

 Any feedback/help would be appreciated.

 Regards,
 Roman


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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] managing very large amount of data

2009-10-14 Thread Ludovic Dubost

Hi Yuichiro

EBIHARA, Yuichiro a écrit :
 Hi experts,

 I'm now planning a system that will store 15,000,000+ items of
 structured data and provide a basic CRUD functionality for them.
   
Nice this sounds like an ambitious project...

Are you talking about 1500 pages ? Each page would have how many 
additional meta data fields ?
 While XWiki is the first condidate for me for the time being, I'm
 worried about if XWiki can manage such a large amount of data.

 Can anyone say the largest XWiki systems?

   
Our largest system is currently Curriki.org.. It's more in the 100K of 
pages but with large pages (they have many XWiki objects).
There is also a big volume 20GB. We have many installations running with 
that size (mostly because of attachments).

 Also, I'd also like to know what kinds of considerations are needed to
 build a large XWiki system.
   
You absolutely need to implement custom mapping from your structures. 
Otherwise it will be too big.

 Which database is recommended? MySQL is ok? Is it a good idea to
   
This is a good question. I'm not a mysql specialist and 15 million rows 
is a lot.
Postgres might be a good candidate too for that volume.
You should search on the Internet.

Depending on your confidentially needs, maybe an XWiki storage 
implementation over Google App Engine could be a good candidate.
It also depends on how much time/spending you have for this application.

 manually apply MySQL's partitioned table feature to large tables? And
   
Anything that is transparent to the application and that allows good 
scalability is good

 others...

 Any suggestion would be greatly appreciated.
   
There are some things you need to absolutely avoid like showing in one 
page all the data in a space for example or running a search with rights 
on a common term. That will clearly not work. and just calling it once 
could bring down your install. You might want to write a custom rights 
manager to disable rights altogether if it is an option.


I would also suggest that if you have some budget for this project you 
look into having some support to do it right. Initial choices could be 
tough to fix with that amount of data.
(XWiki SAS provides support http://www.xwiki.com or other experimented 
developers on this list might be able to help)

Ludovic
 Thanks in advance,

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] XWiki at the Enterprise 2.0 Conference in California

2009-10-17 Thread Ludovic Dubost


We did it 

http://enterprise2blog.com/2009/10/drum-roll-please-our-launch-pad-finalists/

I want to all thank you for helping making this happen. This is just 
great for XWiki.


With this conference where we get 5 minutes on stage in the keynote room 
+ a mini-pod in the exposition room, we will get a huge exposure for XWiki.


If there are some Californian's that want to meet while I'm there in San 
Francisco, please tell me. It Nov 2nd, 3rd at the Moscone. I'll probably 
stay a few days after.


Do come see us at the exposition. If you have a great usage of XWiki 
come even more to show it to other potential users of XWiki.

The best way to help XWiki is to spread it's usage.

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Meeting Manager Application

2009-10-17 Thread Ludovic Dubost

Coming soon... I'll let you know when it's published..
I might do it tomorrow if I can find some time

Ludovic

Michael Beetz a écrit :
 Hi all,

 I am looking for a download of the Meeting Manager Application, announced in 
 the Enterprise 2.0 video?

 http://platform.xwiki.org/xwiki/bin/view/Features/Applications#HMeetingManagerApplication

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Meeting Manager Annoucement

2009-10-18 Thread Ludovic Dubost


Hi,

We have published the Meeting Manager application which has been 
sponsored by Groupe Glon.


The meeting manager is an XWiki 2.0 application which allows to plan and 
manage meetings and meeting cycles. It's a very nice and complete 
application.


You can plan your meeting by setting an agenda, adding participants and 
propose a vote for meeting dates (a little like Doodle). You can then 
write your meeting notes.


You can download the Meeting manager application here:

http://code.xwiki.org/xwiki/bin/view/Applications/MeetingManagerApplication

For developers, the source code is available here:

http://svn.xwiki.org/svnroot/xwiki/sandbox/applications/xwiki-application-meetingmanager/


Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Applications: MultiPage Export, Recruitment, Todo Macro

2009-10-18 Thread Ludovic Dubost


Hi,

I've published a few applications we have been using for a little while:

- Multi page export application:

http://code.xwiki.org/xwiki/bin/view/Applications/MultiPageExportApplication

It's an application allowing to generate PDFs or XARs from multiple 
page. In conjunction with the collection plugin it allows to create full 
reports from multiple wiki pages.


- Recruitment application:

http://code.xwiki.org/xwiki/bin/view/Applications/RecruitmentManagementApplication

It's a new version of the already published application. It now included 
user evaluations of candidates.


- Todo Macro

http://code.xwiki.org/xwiki/bin/view/Macros/TodoMacro

A cool todo macro using the Wiki Macro feature of XWiki 2.0. You can add 
todos using the Wysiwyg editor and then manage them directly in view mode.



The source code for these different applications is here:

http://svn.xwiki.org/svnroot/xwiki/sandbox/applications/

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] MultiPage Export - doesn't work (?on a farm?)

2009-10-19 Thread Ludovic Dubost

You did add the CollectionPlugin declaration in the xwiki.cfg file ?

You also need to visit the MultiPageExport.Install and confirm setting 
the programming rights.

Otherwise you need to use Firebug to check what the search service 
returned to you on your search.

Ludovic

Michael Beetz a écrit :
 Hi all,

 I've installed the multi page export on my wiki farm, finished the install 
 page ... and added the jar.  The WebHome looks quite fine; however the search 
 doesn't return anything.

 I am running xem 2.0.1.1, the wiki pages are based on 2.0.1.

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Page Loading Optimization

2009-11-05 Thread Ludovic Dubost

One of the things that would also help giving a much higher perceived 
performance, is reducing the JS and CSS of the Home Page.
A lot of the JS and CSS that are loaded are NOT needed on the home page. 
With a loading of the global JS and CSS in 2 pages instead of one, the 
perceived performance of XWiki gets a huge boost

I've done this with an #if in javascripts.vm and stylesheets.vm in some 
wikis and it was great.

Ludovic

Caleb James DeLisle a écrit :
 Hello,

 This is a topic which I have been most interested in, as you will see from my
 screenshot in http://jira.xwiki.org/jira/browse/XWIKI-2022 loading of 
 javascript
 is the biggest waste of time. I would like to develop some code to store 
 scripts
 in a cache and concatenate commonly used scripts together and serve in a 
 single
 request. I have tested this and it works very well, but I have to make the 
 code
 neat enough for production. Something which will probably wait until we have 
 our
 first foot of snow here because there is lots to do in the fall.

 also see:
 http://jira.xwiki.org/jira/browse/XSKINX-30
 Concatinate always used scripts together and serve in single file.
 and
 http://jira.xwiki.org/jira/browse/XSKINX-9
 Introduce some internal caching mechanism, since minimizing the file is 
 resource intensive


 Caleb James DeLisle

 Thomas Mortagne wrote:
   
 Hi,

 On Thu, Nov 5, 2009 at 17:28, Thibaut Camberlin
 thibaut.camber...@xwiki.com wrote:
 
 Hi all,

 Page Loading time is a very important criteria when developing a web site.
 According to a recent
 surveyhttp://www.webdesignerwall.com/general/users-place-more-weight-on-design/more
 than half people would drive away from a site with slow loading pages.

 There are several interesting issues that could be implemented to
 substantially improve page loading time in XWiki.

 Number one is aggreation of CSS and JS files in order to reduce HTTP
 requests. (For info, we have a total of 25 external CSS and JS files on a
 basic XWiki install when in the best world we would have just 2 - 1 CSS and
 1 JS)
   
 Note that there is already many suggestions in
 http://jira.xwiki.org/jira/browse/XWIKI-2022, you should look at it
 and add yours.

 
 Someone interrested in working on this with me ?

 --
 Thibaut Camberlin
 Project Manager XWiki
 ___
 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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Adding buttons to WYSIWYG toolbar

2009-11-12 Thread Ludovic Dubost

Marius,

It would be cool if we could make this easier. Like already have the 
pref in the wiki and/or have a yes/no for Show fonts and colors in the 
prefs

Ludovic

Trevor Russ a écrit :
 Hi Marius,

 I had even looked at macros.vm in 2.0 to see if it was any different than 
 1.9, but I had 2.0M3 installed in our test environment, not RC1.
 I restarted the server and it worked.

 Thanks for the reply and the clarifications, I do appreciate it.

 Trevor

 On Thu, 12 Nov 2009 10:39:18 +0200 Marius Dumitru Florea wrote:
 ...
   
 Indeed. These two lines were changed in 2.0RC1 due to 
 http://jira.xwiki.org/jira/browse/XWIKI-4221 but the guide still applies.
 
 ...
   
 Otherwise you 
 have to restart (reload) the server (web container, servlet container, 
 application server) because velocity templates like macros.vm are cached 
 at application startup.
 

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

   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Hibernate exceptions when saving documents and objects

2009-11-25 Thread Ludovic Dubost
I suspect you have used some method setStringValue where you should  
have used setDateValue

Ludovic

Envoyé de mon iPhone

Le 25 nov. 2009 à 07:44, Jeremie BOUSQUET jeremie.bousq...@gmail.com  
a écrit :

 Hi,

 I have a groovy script in a page, that loads some data and create  
 pages and
 objects with it.
 Basically for each input data 2 new documents are created, each with  
 2 new
 objects inside (one a custom class, and one for tags  
 XWiki.TagClass).

 For most documents there is no problem, while for some I get the  
 following
 kind of exceptions (always for one of the classes, never for the  
 other) :

 Error number 3201 in 3: Exception while saving document MailArchive.
 MMKSonLinuxpatch22-01
 Wrapped Exception: Row was updated or deleted by another transaction  
 (or
 unsaved-value mapping was incorrect):
 [com.xpn.xwiki.objects.DateProperty#2009-09-14 15:57:26.0]

 The exact same date string is used to save another document/object  
 without
 any problem (the Date fields have exactly same pattern format). I  
 use the
 same SimpleDateFormat for all, and the patterns in the class are  
 copy-paste,
 so why is it ok for one and failure for the other ?
 It's not always a DateProperty that cause issues, it can also be  
 Strings or
 LargeStrings.
 I tried to delete my custom class and recreate it, purge all created
 documents (with doc.delete()), and also to purge all entries that  
 were left
 even after delete(), directly in database (in tables xwikidoc,  
 xwikiobjects,
 xwikistrings, xwikilargestrings, xwikidates and xwikirecyclebin),  
 but it
 seems the same input data will always have document.save() fail this  
 way.
 It seems it's always the second save() for an input data that can  
 fail. This
 second save() targets a different document, object and class, and  
 it's not
 the same groovy variables either. Could it happen that the first save 
 () is
 not completely finished and there is some problem with tables  
 updates ?
 Would I have something else to do to make sure previous transaction is
 finished ?

 I believe it must be something in the data, but it's only strings,
 largestrings and a date, so I don't know how to investigate more...

 Thanks for any help,

 Jeremie

 PS : I'm on XWiki 2.0.3, MySQL 5.1.38, Linux RH Rel 4
 ___
 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-devs] XWiki Logo Challenge

2010-03-26 Thread Ludovic Dubost

I like:

8 - I see engineering in the gears which relates to the platform 
aspect. It's a bit too vertical though. I wonder what it could become 
more horizontal
4A - with different colors for the pencils


Great jobs by all participants.. All the logos have something nice !

Ludovic

Le 26/03/10 12:17, Sergiu Dumitriu a écrit :
 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:

 http://dev.xwiki.org/xwiki/bin/Community/LogoChallenge#HProposals

 You can send your vote:
 - on the mailing list, by replying to this e-mail
 - on twitter, in the format: #xwikilogoproposal_number

 Don't hesitate to nominate several proposals if you feel that they are
 really close and you cannot decide for just one. Sometimes, a bunch of
 fuzzy opinions can lead to a more accurate result.

 IMPORTANT:
 Before choosing a logo based on your personal preference, please try to
 also ask yourself the following questions:
 - Is it distinctive?
 - Is it easy to remember and recognize?
 - Is the design scalable? Could it (or parts of it) be successfully used
 in a 16X16 icon? Would it look good on a very large poster?
 - Can it be used (as it is, or adapted) on both light and dark backgrounds?
 - What would it look like in black and white (not just grayscale)? It's
 ok if some details are lost, but it needs to still look attractive and
 keep the main features.

 Motivating your vote also helps better understand what qualities a logo
 evokes in people's minds.

 Also note that the designs are not final, the selected proposal will be
 further tweaked and perfected, so don't discard a logo just for minor flaws.

 If several proposals come close to being selected, we could organize a
 second round of voting.

 Please send us your votes before March 31st.


 On 03/01/2010 05:57 PM, Jean-Vincent Drean wrote:

 Hi XWikiers!

 It's time to inject new blood in XWiki.org. While discussing about
 improving its look   feel we thought it would be a good time to create
 a new logo for XWiki.org as it's an important part of a website
 design.
 We borrowed the current logo from XWiki.com some time ago and, in
 order to keep the distinction between the company and the Open-Source
 project clear, we think XWiki.org websites and projects need their own
 logo.

 As you may know, we love proposals, that's why we'd like to make the
 logo design an open challenge, anyone interested can join and a vote
 amongst the community will determine the winner. Even if the main
 purpose of the challenge is to have fun, the person whose design gets
 selected will receive XWiki goodies, including his logo printed on a
 t-shirt obviously :) The designer of the selected logo will enter the
 Hall Of Fame, and last but not least reward : the design will be
 spread wide (XWiki Enterprise is more than 1 downloads/month and
 XWiki.org web site more than 5 visits a month).

 The challenge takes place there:
 http://dev.xwiki.org/xwiki/bin/view/Community/LogoChallenge
  



-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


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

2010-04-12 Thread Ludovic Dubost


+1 for 4A

and I'm at this point very -1 on 16 because of the W which has a missing 
arm..

I can't read XWiki in it..

Ludovic

Le 12/04/10 16:44, Sergiu Dumitriu a écrit :

On 04/12/2010 04:30 PM, Thibaut Camberlin wrote:
   

My corrected vote is +1 for 12A.
 

12A has been retired and is no longer a valid option. Please choose
another one.

   



--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Damaged wiki-pages because of getURL returns incorect URL

2010-05-02 Thread Ludovic Dubost
Is this a XEM install ? You havé something which triggers absolute  
URL. Génération and many places don't protect URLs from wiki syntax  
(it's a bug)

Envoyé de mon iPhone

Le 2 mai 2010 à 09:46, Colesnicov Eugen ecolesni...@gmail.com a  
écrit :


 I have a strange situation in my wiki. Some of elements at a standart
 wiki-pages are damaged. For example - Main.Spaces, all user profiles,
 Blogs.WebHome and many-many others (but not all). You can see how  
 they are
 damaged on a attached images.

 http://n2.nabble.com/forum/FileDownload.jtp?type=nid=4992332name=UserProfile_damaged.png

 http://n2.nabble.com/forum/FileDownload.jtp?type=nid=4992332name=Spaces_damaged.png

 This situation exists on fresh XWiki installations on all versions  
 (I tried
 XWiki starting from 2.0), different servlets (I tried jetty   
 glassfish),
 different DB (I tried Oracle  HSQLDB  MySQL).

 I started to analyze situation. Interest, but when I use local server
 address (http://localhost:8080/xwiki) - all is ok, problem shows  
 ONLY if I
 connecting through my internet domain name (http://mysite.com/xwiki).

 I started to compare html-generated code and found, that function  
 getURL
 returns different strings! When I addresses through
 http://localhost:8080/xwiki getURL returns /xwiki/bin/view/ 
 ColorThemes/ with
 class=wikilink. But when I adresses through my site getURL returns
 http://mysite.com/xwiki/bin/view/Main/SpaceIndex?space=ColorThemes  
 with
 class=wikiexternallink.

 If I put option {{html wiki=false}} - these links are ok, but  
 another
 portions of code (where using wiki-syntax inside of html) started to
 damaged.

 Ok - I can one-by-one for all pages put {{html wiki=false}} and  
 change
 wiki-syntax inside of html for a truly html ... I already did it
 successfully for a Main.Spaces. But pages with same problems quite  
 enough
 ...

 Maybe exists another variant? How to say absolutely for a getURL  
 function to
 returns internal link? Or maybe problem with my site config?  
 Unfortunately,
 site-configuration is not under my control ... My Xwiki server  
 placed inside
 internal local network domain, and exists link between my XWiki- 
 Server and
 address on a external site (which is hosted on another server, another
 network). How this link is configured - I don't no. I only said for
 external-site administrators internal path (http://servername:8080/xwiki 
 ) -
 and they did link. If it is problem with external-site address  
 config - I
 need to say something for administrators what need to change,  
 because now
 all looks like that problem is with programming code of XWiki ...

 Thanks beforehand!
 Eugen
 -- 
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Damaged-wiki-pages-because-of-getURL-returns-incorect-URL-tp4992332p4992332.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] PDF export - Footer/Header/View

2010-05-03 Thread Ludovic Dubost


Which version of XWiki are your running on ?

I've been using this succesfully on multiple projects.

--
Can you try directly modifying pdf.css in webapps/xwiki/templates/

--

However, note that pdf.css can only be used to style using id and 
element, but not classes.


There is a patch for this in: http://jira.xwiki.org/jira/browse/XWIKI-4869


Le 03/05/10 19:04, Wilson Leão Neto a écrit :

I've tried with both syntaxes. Either way, it just doesn't work.. :/

I've successfully changed the .vm files. But I'm still not able to apply any
kind of css.

Thanks for the help though.


Best regards,
Wilson


2010/5/3 Sergiu Dumitriuser...@xwiki.com


On 05/03/2010 05:50 PM, Vincent Massol wrote:

On May 3, 2010, at 5:38 PM, Wilson Leão Neto wrote:


Hello Vincent!

Thank you for your answer!

I've followed the tutorial on


http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLookFeel

And I've tried to export the pdf using the URL:



http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdfpdfcover=0pdftoc=0pdftemplate=XWiki.teste1



http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdfpdfcover=0pdftoc=0pdftemplate=XWiki.teste1

The

XWiki.teste1 page has the style textarea property with the following

code

h1 {

 color: white;

 background: black;

 margin-left: 3cm;

 margin-bottom: 9cm;
}

I'm still not able to see any changes in the exported pdf...

Any clues on what I'm doing wrong?

hmmm... Make sure that page is written in XWiki 1.0 syntax maybe. I have

no idea if it works in XWiki 2.0 syntax but probably not since this is some
code older than the new XWiki Syntax 2.0.

It should, since the customization steps are applied on the generated
content. The only place where the rendering engine is used is in pdf.vm,
in a call to $pageDoc.getRenderedContent().


Thanks
-Vincent


Best regards,

Wilson



2010/5/3 Vincent Massolvinc...@massol.net


Hi Wilson,

On Apr 30, 2010, at 6:56 PM, Wilson Leão Neto wrote:


Hello all!

I'm working with XWiki and I'm a newbie... I've read the tutorial

available

on http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule and

the

customization part of the pdf export. I'm still clueless on how to do

it

properly... I have java experience, so I can code what is necessary, I

just

don't know where to go.

All I want to do is change the default template. Changing the footer,
header, TOC and breaking a page on every h1 found.

I would be glad if someone could give me a hint.

PDF export is not done using the new rendering system. It's still using
some older system.
The customization is described here:



http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLookFeel

Thanks
-Vincent


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




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost


--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] PDF export - Footer/Header/View

2010-05-03 Thread Ludovic Dubost
Yes create one.

For the translation either create a translation page or override the  
templates using it

Envoyé de mon iPhone

Le 3 mai 2010 à 21:22, Wilson Leão Neto wilson.leao.n...@gmail.com  
a écrit :

 Hello Ludovic!

 Here it is: XWIKI ENTERPRISE 2.2.5.28407




 There's no pdf.css. Should I create one?



 I have another question. Could you tell me where do I find the  
 content of this msg: $msg.get('core.pdf.tableOfContents').
 I wanna be able to create some more and eventually change the  
 already existing ones.

 Best regards,

 Wilson


 2010/5/3 Ludovic Dubost ludo...@xwiki.com

 Which version of XWiki are your running on ?

 I've been using this succesfully on multiple projects.

 --
 Can you try directly modifying pdf.css in webapps/xwiki/templates/

 --

 However, note that pdf.css can only be used to style using id and  
 element, but not classes.

 There is a patch for this in: http://jira.xwiki.org/jira/browse/XWIKI-4869


 Le 03/05/10 19:04, Wilson Leão Neto a écrit :
 I've tried with both syntaxes. Either way, it just doesn't work.. :/


 I've successfully changed the .vm files. But I'm still not able to  
 apply any
 kind of css.

 Thanks for the help though.


 Best regards,
 Wilson


 2010/5/3 Sergiu Dumitriuser...@xwiki.com

 On 05/03/2010 05:50 PM, Vincent Massol wrote:
 On May 3, 2010, at 5:38 PM, Wilson Leão Neto wrote:

 Hello Vincent!

 Thank you for your answer!

 I've followed the tutorial on

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLookFeel
 And I've tried to export the pdf using the URL:


 http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdfpdfcover=0pdftoc=0pdftemplate=XWiki.teste1
 
 http://10.11.1.221:9086/xwiki/bin/export/Teste/WebHome?format=pdfpdfcover=0pdftoc=0pdftemplate=XWiki.teste1
 The
 XWiki.teste1 page has the style textarea property with the following
 code
 h1 {

 color: white;

 background: black;

 margin-left: 3cm;

 margin-bottom: 9cm;
 }

 I'm still not able to see any changes in the exported pdf...

 Any clues on what I'm doing wrong?
 hmmm... Make sure that page is written in XWiki 1.0 syntax maybe. I  
 have
 no idea if it works in XWiki 2.0 syntax but probably not since this  
 is some
 code older than the new XWiki Syntax 2.0.

 It should, since the customization steps are applied on the generated
 content. The only place where the rendering engine is used is in  
 pdf.vm,
 in a call to $pageDoc.getRenderedContent().

 Thanks
 -Vincent

 Best regards,

 Wilson



 2010/5/3 Vincent Massolvinc...@massol.net

 Hi Wilson,

 On Apr 30, 2010, at 6:56 PM, Wilson Leão Neto wrote:

 Hello all!

 I'm working with XWiki and I'm a newbie... I've read the tutorial
 available
 on http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule and
 the
 customization part of the pdf export. I'm still clueless on how to do
 it
 properly... I have java experience, so I can code what is necessary, I
 just
 don't know where to go.

 All I want to do is change the default template. Changing the footer,
 header, TOC and breaking a page on every h1 found.

 I would be glad if someone could give me a hint.
 PDF export is not done using the new rendering system. It's still  
 using
 some older system.
 The customization is described here:


 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLookFeel
 Thanks
 -Vincent

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



 -- 
 Ludovic Dubost
 Blog: http://blog.ludovic.org/
 XWiki: http://www.xwiki.com
 Skype: ldubost GTalk: ldubost


 -- 
 Ludovic Dubost
 Blog: http://blog.ludovic.org/
 XWiki: http://www.xwiki.com
 Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Table - Pagination / Filtering capabilities

2010-06-30 Thread Ludovic Dubost


Hi,

Table filtering can only work with data available on the page,so you can 
only do that with small volumes of data and need to make sure everything 
is there.


This is why we moved away from that to do LiveTables. They can handle 
very big amount of data with both filtering and pagination.


As you date is in a XWiki.Todo2Class  you should be able to have select 
filter boxes for fields that are List fields


Ludovic

Le 30/06/10 11:56, Aleks87 a écrit :

I have to choose between the normal Table and the Livetable.
I like the possibility to make select boxes with the normal table (using:
class=unsortable selectFilter)
But I have problems with the filtering. If I add pagination and use the
filter field he shows me only the results of the current page.
Livetable finds all pages but I can't make such Filter-Boxes.
Please tell me if I did something wrong with the normal table!

Here is my code:

## The full data to display
#set ($spaceDocs = $xwiki.getSpaceDocsName(Projects-Todo))
#set($itemsPerPage = 3)
#if($request.ipp)
   #set($itemsPerPage = $xwiki.parseInt($request.ipp))
#end
#set($pageNumber = 0)
#if($request.page)
   #set($pageNumber = $xwiki.parseInt($request.page))
#end
#set($startAt = $itemsPerPage * $pageNumber)
#if($startAt  0)
   #set($startAt = 0)
#end
#set($endAt = $itemsPerPage * ($pageNumber + 1))
#if($endAt  $spaceDocs.size())
   #set($endAt = $spaceDocs.size())
#end
#if($startAt  $endAt)
   #set($startAt = $endAt)
#end
#set($totalPages = ($spaceDocs.size() - 1) / $itemsPerPage)
#set($crtPageNumber = $startAt / $itemsPerPage)
#set($spaceDocsInPage = $spaceDocs.subList($startAt, $endAt))


#set ($hql = , BaseObject as obj where obj.name=doc.fullName
  and obj.className='XWiki.Todo2Class' and obj.name'XWiki.Todo2Template'
order by doc.date desc)
#set ($todos= $xwiki.searchDocuments($hql, $itemsPerPage, $startAt))


table id=todoTable class=grid sortable filterable doOddEven
cellpadding=0 cellspacing=0 border=0
   tr class=sortHeader
 thPage/th
 thDescription/th
 th class=unsortable selectFilterPriority/th
 th class=unsortable selectFilterStatus/th
 thDate/th
   /tr
#foreach ($todo in $todos)
   tr
 #set ($todoDoc = $xwiki.getDocument($todo))
 #set ($todoObj = $todoDoc.getObject(XWiki.Todo2Class))
 td[$todo]/td
 td$todoObj.Description/td
 td$todoObj.Priority/td
 td$todoObj.Status/td
 td$todoObj.Date/td
   /tr
#end
/table




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] state of xwiki concerto

2010-07-06 Thread Ludovic Dubost

 Le 06/07/10 17:58, Eduard Moraru a écrit :

Hi,

On 07/06/2010 05:57 PM, Thomas Höschele wrote:

Thanks for the reply Eduard,

However, both options don't seem to be what is most useful.

A third option would be to have an xwiki installation on the pc running on a
MySQL replication Database, and synchronize the Database every time you get
a connection.



Well, yes. That's pretty much Sergiu's argument as well.


Well this is not really enough, as this locks you in read-only mode.
Concerto was meant to provide offline, but you need some additional code 
and storage on both the server and the client to run the replication model.

The replication model is what guarantees solutions to conflicts..

Now conflict are very very rare when you look at the use cases, and a 
much simpler replication model which could fail on conflicts would be 
probably largely enough for most cases.


Concerto is quite overkill for the simple replication scenario. The 
power of Concerto is P2P replication just using a relay network which 
does not store anything. But in this world this scenario does not have a 
big future.


Ludovic


This sounds kind of like Concerto also sharing the Advantages and the
Disadvanges

However, some mid way would be nice in future (the sooner the better) simple
rendering and maybe search in XEclipse would be great.


Yes, XEclipse does need some love. We'll see.

Thanks,
Eduard

Regards


-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von
Eduard Moraru
Gesendet: Dienstag, 6. Juli 2010 16:46
An: users@xwiki.org
Betreff: Re: [xwiki-users] state of xwiki concerto

Hi,

On 07/06/2010 04:07 PM, Thomas Hoeschele wrote:


Just jumping in here, as I have to ask this: is there any Possilibity to


Use XWiki Offline apart from Concerto? I consider this a crucial feature for
a lot of enterprise where employees have to work outside or have no internet
in meetings.


Btw, I thing something like XEclipse with Page preview would suffice.

thank !



Well, XEclipse was originally part of the XWiki Concerto research
project as well. AFAIK, there is currently no XWiki Offline standalone
project.

So there are basically 2 options for offline work with xwiki: Concerto
and XEclipse.

- Concerto involves having a local (in offline work context) xwiki
installation that replicates completely or partially a remote xwiki.
 - Advantage: full featured XWiki experience.
 - Dissadvantage: big footprint, possibly instable due to current status.
- XEclipse involves downloading a set of pages (or entire spaces) and
working in an Eclipse environment.
 - Advantage: light, syntax highlighting, suggestions, etc.
 - Disadvantage: only wiki syntax mode is supported and partial
rendering (since you don't have the wiki's entire contents with you).

Both options synchronize with remote XWiki when internet is available.

Hope this helps.

Thanks,
Eduard


 Original-Nachricht 



Datum: Tue, 6 Jul 2010 09:06:41 +0100
Von: Ponder Museponder.m...@googlemail.com
An: XWiki Usersusers@xwiki.org
Betreff: Re: [xwiki-users] state of xwiki concerto





Hi Eduard,





I have fixed the build issues and now Concerto should be building
without problems.

Please make sure to follow the steps described at
http://concerto.xwiki.org/xwiki/bin/view/Main/Tutorial




Thanks for your efforts in making Concerto available again.





On the other hand, if you can wait a couple of hours, I am sure I will
find a place to host the 80mb jar installer build of Concerto that I
remade and fix the link available at
http://concerto.xwiki.org/xwiki/bin/view/Main/DownloadAndInstall
Please check the page for updates in about 12 hours.




I will give the built installer a go once its available at  the above
link.

Thank you for your interest in Concerto and I would greatly appreciate



your feedback on it, even though the development on this project is
currently suspended.




Sure thing, I'll do that.

P.S.: Please keep in mind that, as Sergiu stated, even though the



project ended successfully, the prototype is not ready for production. I
checked it, and it's running decently with the bundled XWiki Enterprise
1.8.1, but you should not use it for sensitive information.




No worries with it being just a prototype as we will trial it in a
controlled lab environment only.

Thanks again for your efforts - much appreciated!

Regards,
PM.
___
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




--
Ludovic Dubost
Blog

Re: [xwiki-users] accessing to document running macro

2010-10-26 Thread Ludovic Dubost


Here is a trick

{{velocity}}
#set($ok = $context.context.put(mydoc, $doc))
{{/velocity}}
{{groovy}}
println xcontext.mydoc
{{/groovy}}

Ludovic

Le 26/10/10 16:57, Arnaud bourree a écrit :

2010/10/26 Arnaud bourreearnaud.bour...@gmail.com:

2010/10/26 Anca Lucalu...@xwiki.com:


On 10/26/2010 12:28 PM, Marius Dumitru Florea wrote:

Hi Arnaud,

On 10/26/2010 12:38 PM, Arnaud bourree wrote:

Hello,

I develop a macro which display object attached to the current page.
Here summary of my code:
{{goovy}}
def topic = doc.getObject(ActivityReport.TopicClass,
Integer.valueOf(xcontext.macro.params.id))
println |+doc.displayPrettyName(topic, title)+|+topic.get(title)
println |+doc.displayPrettyName(topic, action)+|+topic.get(action)
println |+doc.displayPrettyName(topic, status)+|+topic.get(status)
{{/groovy}}

In my macro page, I put one instance of my TopicClass for development.
That working fine.
In an other page I put an other instance and call my macro.
It display instance from macro page !!!

Indeed. I just tested a wiki macro with this code:

--8--
{{velocity}}
$doc | $xcontext.doc
{{/velocity}}

{{groovy}}
print doc.toString() +  |  + xcontext.doc.toString()
{{/groovy}}
--8--

and the result is:

--8--
Sandbox.FF | Sandbox.WikiMacroTest

Sandbox.WikiMacroTest | Sandbox.WikiMacroTest
--8--

As you can see $doc points to the right document in velocity but to the
wiki macro document in groovy. This looks like a bug to me. Can you
report an issue on http://jira.xwiki.org/jira/browse/XWIKI .

Isn't it this issue: http://jira.xwiki.org/jira/browse/XWIKI-4262 ?


That is not the case as I'm administrator of my wiki and I've all right.
I just upgrade to 2.4.4 and find same issue.
Next step, I upgrade to 2.5 and retry


Sorry Ancra, I read referenced bug to fast, you are true: Thomas
Mortagne said: Another side effect of this is that it makes
impossible to access current document from groovy or any other
non-velocity script macro.

Regards,

Arnaud.


Arnaud.


Thanks,
Anca


Thanks,
Marius


I suppose that I should not used doc to find current document in macro.
But I don't find in
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
how to retrieved current document.
I also test xcontext.doc, but it is same as doc.

So how can find current document (the document which call my macro)?

Regards,

Arnaud.
___
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




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] Interesting calc/sum/summary macros for syntax 2.0

2010-10-26 Thread Ludovic Dubost


Hi,

I've published a macro allowing to do simple calculations inside a Wiki 
table in syntax 2.0.


http://code.xwiki.org/xwiki/bin/view/Macros/CalcMacro

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] [xwiki-devs] [Proposal] XE 3.0 and Roadmap leading to it

2010-11-04 Thread Ludovic Dubost
 started as much as possible and no new stuff)
 - Release XE 3.0 one month after the XE 2.7 release, ie around 18th of 
 January - ie end of January 2011)

 Very important: XE 3.0 should be a maturation/conclusion release, i.e. 
 concluding all the work started in the 2.x series (same as what we did for 
 XE 2.0). It shouldn't be seen as revolutionary stuff that we should add 
 from now on since it'll take a year more before those can be fully 
 stabilized and we would loose the window of opportunity of doing a major 
 release now.

 Note: We shouldn't try to cram too much things in since that'll extend the 
 lead time to release XE 3.0 and we'll loose the stabilization effect.

 WDYT?

 Thanks
 -Vincent



-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost


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


[xwiki-users] LiveTable Macro + LiveTable Generator

2010-11-11 Thread Ludovic Dubost


Hi,

I've worked on a livetable generator and livetable macro which allows to 
generate the livetable configuration directly from the XWiki class.


http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro20Macro

It would be great if some devs could look at it, as it could be a good 
candidate for inclusion in the platform as it would ease creating 
livetables.

The current problematic parts are:

1/ A hack was made for translations as changes to the livetable macros 
were necessary to allow to use the Pretty Names automatically instead of 
translations
2/ It would be great to not even have to give the fields to use in the 
LiveTable and use the information from the class where a checkbox could 
be added for each field saying include in default livetable


This would be a good step towards full CRUD in XWiki. Now that we have 
Templates, we could add a place in the Wiki where all documents can be 
browser per class (using this livetable). We would just need a slightly 
simpler Class Editor which hide the more difficult configurations from 
classes.


The more important work is to support Class Sheets that don't need the 
include macro to be used for documents that have an object of this 
class, and a modification of the inline mode which could disappear.


Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Custom Authentication - Error: You are not allowed to view this document or perform this action

2010-11-24 Thread Ludovic Dubost


Either you see your name at the top right and then your authentication 
service is working, except that your user actually has not rights.
Maybe you forgot to make the calls to create the user page (when it does 
not exist) and add the user to XWiki.XWikiAllGroup


If you don't see your name then your auth service is not working. But I 
would guest is the first problem otherwise you'd probably get the login 
screen again


Once your OracleSSO works we'd love you to share it on the SVN sandbox

http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/authenticators/

Ludovic

Le 24/11/10 22:42, Scardino, Leonard R Jr ERDC-ITL-MS Contractor a écrit :

I've been searching the archive, but coming up short here.

I'm trying to get custom authentication going on XWiki Enterprise 2.6.

I've successfully implemented the XWikiAuthService by extending
XwikiAuthServiceImpl as suggested here :
http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle-s
so/

I have also added the xwiki.authentication.authclass line to my xwiki.cfg.

I'm able to automatically create a new user in xwiki using the
XWiki.createEmptyUser method, and I get logged in.

However, when I get in as that user all I get is  ErrorYou are not
allowed to view this document or perform this action.  No matter what I try
to look at, including the personal profile.

Can anyone tell me what I'm missing here?

The XWiki documentation says that you can implement your own right
management service, but it doesn't say that is necessary.  Is it?

Thanks,

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




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Custom Authentication - Error: You are not allowed to view this document or perform this action

2010-11-24 Thread Ludovic Dubost


You should check context.getUser() (print it in the logs).
If all the rights are set maybe you did not set it properly (the 
'XWiki.' prefix maybe)


Ludovic



Le 24/11/10 23:04, Scardino, Leonard R Jr ERDC-ITL-MS Contractor a écrit :

That's what I was thinking as well, though I don't get logged out, but I
can't see my users profile.  I removed the config line and logged in as the
administrator with the default login.  The user I created seemed to have the
correct permissions.  Also when not using my custom authenticator, I was able
to login as this new user and everything was fine.  But the minute I change
the config back to my authenticator I get the Error  You are not allowed to
view... error.

It does sound like a permissions thing, but I virtually have a fresh install
of XWiki, so I haven't changed any of the permissions or groups or anything.
So I would have thought the XWiki.createEmptyUser method would set my user up
as it needed to be.  Or I would have expected something in the documentation
to tell me to do something myself.

Any other ideas after knowing the above?

Lenny

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: Wednesday, November 24, 2010 3:54 PM
To: XWiki Users
Subject: Re: [xwiki-users] Custom Authentication - Error: You are not allowed
to view this document or perform this action

On 11/24/2010 10:42 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:

I've been searching the archive, but coming up short here.

I'm trying to get custom authentication going on XWiki Enterprise 2.6.

I've successfully implemented the XWikiAuthService by extending
XwikiAuthServiceImpl as suggested here :
http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-o
racle-s
so/

I have also added the xwiki.authentication.authclass line to my xwiki.cfg.

I'm able to automatically create a new user in xwiki using the
XWiki.createEmptyUser method, and I get logged in.

However, when I get in as that user all I get is  ErrorYou are not
allowed to view this document or perform this action.  No matter what
I try to look at, including the personal profile.

Can anyone tell me what I'm missing here?

The XWiki documentation says that you can implement your own right
management service, but it doesn't say that is necessary.  Is it?

Thanks,

If you can log in with this user, and you can click on your profile name
displayed in the top-right menu, and you're not logged out immediately after
that, then it's not a user authentication problem, but a rights issue. Make
sure the user is in the requested groups, and he does have the rights to
view/edit documents.




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Doing a File Exchange App

2011-01-26 Thread Ludovic Dubost


I don't think it exists.

But it should not be too much work. You can use the built in 
PARENT-CHILD relationship between pages for your folder structure and 
the built it file upload for adding files.
Each page would be a FolderClass and use a FolderSheet which would 
display all it's children and attachments in folder mode.


You can then have a tree view or a browsing view.

Ludovic

Le 25/01/11 15:52, Scardino, Leonard R Jr ERDC-ITL-MS Contractor a écrit :

Sorry, I realize the way I worded it I wasn't very clear.  I do want to do
this within XWiki, not a separate application.  Basically I'm curious if
there is an existing XWiki app that would work for me that I didn't see
perusing the extensions page, or some way within XWiki already that would
accomplish this.  So any suggestions along that lines would be most helpful.

I know I can write my own if necessary, but I'd like to not have to re-invent
the wheel if possible.

Thanks,

Lenny



-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Paul Libbrecht
Sent: Monday, January 24, 2011 5:32 PM
To: XWiki Users
Subject: Re: [xwiki-users] Doing a File Exchange App

Outside of XWiki?
I doubt it's as intuitive as XWiki but jFM did a good job for us.
   http://jfm.dev.java.net/

paul


Le 24 janv. 2011 à 23:10, Scardino, Leonard R Jr ERDC-ITL-MS Contractor a
écrit :


I'm being asked to do a File Exchange application in XWiki.  Basically
giving the users the ability to upload and download files for each
others use.  My first thought was to simply use different pages for
collections and have people use the built in file attachment stuff.
However, I'm being told that isn't intuitive enough, so I'm looking to
do some sort of FTP like thing where paths can be created and files
uploaded to those paths to be later downloaded by others.

I guess my question is, does anyone know of an existing app that does
this, or am I going to have to create this myself?

Thanks,

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




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Lucene search Problem with Wiki Farm Member it

2011-02-15 Thread Ludovic Dubost


We have found some issues with the analyzer code that analyzes the wiki 
name.

Though with the english analyzer this should not be a problem.
We are fixing this for the next versions of XWiki.

Now if you are sure the problem is the name of the wiki, rename it and 
use a wiki alias.


The result for the user will be the same URL, but the wiki will have 
internally another name


Ludovic

Le 04/02/11 11:15, Tronicek a écrit :

Hi,
we've updatet XWiki 1.7 XE to 2.7.33656 and are using the Wiki Manager to
have a Wiki Farm.

There is a strange behaviour we have not realized immediately related to
search requests.
It seams that the name of the virtual wiki is causing the problem. Its name
is it and is used as solution base for IT problems.

We can reproduce the problem by:
- create a new virtual wiki with name it (without quotation marks).
- import xwiki-enterprise-wiki-2.7.xar
- search with lucene (no results):
.../view/Main/LuceneSearch?text=sandboxspace=
- search with old engine (see pages):
.../view/Main/WebSearch?text=sandboxspace=

We tried to change the analyzer in xwiki.cfg:
xwiki.plugins.lucene.analyzer=org.apache.lucene.analysis.de.GermanAnalyzer
-  no success

Our virtual wikis are mapped via virtual path (xwiki.cfg:
xwiki.virtual.usepath=1).

It would be nice to keep the virtual wiki name. Is there a workaround to
handle this problem?

Regards,
Rudolf




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] Can XWiki receive mail ?

2011-03-05 Thread Ludovic Dubost


It's a bit comple to be a mail server as it creates administration 
issues and requires a specific subdomain and routing.
An alternate solution is a mailbox and a scheduler job which pools the 
mailbox. All the APIs are already there for that.


What's necessary is define a convention of where the content goes based 
on what is in the email (subject or specific marker or alias target 
address).


I've aleady of few cases where we load emails. On our intranet we load 
job posting in our Recruitment application.


However there is no generic loading mecanism for all of XWiki. I agree 
it could be interesting.
I'm very interested in a feature that would allow an email discussion 
that is captured as comments in the wiki.


Ludovic


Le 02/03/11 14:02, Kevin P. Foote a écrit :

The Apache James Project[1] could fit such a request. I've seen it
integrated into a few large scale frameworks before.

[1] http://james.apache.org/

--
thanks
   kevin.foote

On Wed, 2 Mar 2011, Paul Libbrecht wrote:

-  I would be very interested to such a feature but I note that it is not a 
simple thing.
-
-  The biggest importance of receiving mails is to respond to some 
notifications of actions that were originally created on the XWiki, to my 
feelings. This requires, for example, that a table is properly made to associate 
the responded mail and the action the notification is about.
-
-  Another issue is to attribute the mail... sooo often are people using a 
different email!
-
-  I note that such features as Drupal's MailHandler could be an example; they 
are very fragile.
-
-  One of the worst examples is jira's mail receiving facilities: you can 
respond to jira notifications if this is enabled. This fails really easily and not 
well visibly when a slight change occurs!
-
-  XWiki with its flexible programming might make it possible to make it 
better case by case. Let's hope.
-
-  paul
-
-
-  Le 2 mars 2011 à 06:43, Caleb James DeLisle a écrit :
-
-Every program attempts to expand until it can read mail. Those programs 
which cannot so expand are
-replaced by ones which can. Jamie Zawinski
-  
-XWiki doesn't have any means of receiving mail at the moment, the mail 
sending facility is an
-extension which is bundled by default and I see no reason why an 
extension for receiving mail could
-not be implemented, it just needs to be written.
-  
-Caleb
-  
-On 03/02/2011 12:32 AM, Gérard Turmel wrote:
-Hello
-  
-I would like register somewhere  in XWiki, the  important mails of my 
mailbox.
-For instance to save mail maybe with some attachements in a specific 
Space.
- From my mail reader, just transfer the mail in xwiki mail adress and 
automatically
-the mail would be save in a specific area.
-  
-The idea under this function is for instance to manage a project and to 
maintain
-a list of importants mail about the project (with attachements).
-  
-Is there any solution to manage this functionality ?
-  
-I am under XWiki Enterprise 3.0-milestone-2.34501
-  
-Thanks a lot.
-  
-  
-  
-  
-  
-
**
-Ce message et toutes les pieces jointes sont confidentiels et etablis à 
l'intention exclusive de ses destinataires.
-Toute utilisation ou diffusion non autorisee est interdite.
-Tout message electronique est susceptible d'alteration.
-SISTEER decline toute responsabilite au titre de ce message s'il a ete 
altere, deforme ou falsifie.
-Si vous n'etes pas le destinataire de ce message, merci de le detruire 
et d'informer l'expediteur.
-
**
-This message and any attachments are confidential and intended solely 
for the addressee(s).
-Any unauthorised use or dissemination is prohibited.
-E-mails are susceptible to alteration.
-SISTEER shall not be liable for the message if altered, changed or 
falsified.
-If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.
-
**
-  
-___
-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



--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http

Re: [xwiki-users] Problem with SVG Macro

2011-03-08 Thread Ludovic Dubost


You are talking about this one ?

http://extensions.xwiki.org/xwiki/bin/view/Extension/SVG+Macro

I think you only need to use edit object on the macro (page 
XWiki/SVGMacro)
and change the scope setting to current wiki. This setting did not 
exist at the time.


Ludovic

Le 08/03/11 19:52, Christophe FRAULE a écrit :

Hello,



Using XWIKI 3.0M2 =



1) installing the SVG Macro from the XAR document

2) Granting all access rights  (testing) to the 3 x SVG documents installed
in the Xwiki workspace.



I get:



Unknown macro: svg

 The svg macro is not in the list of registered macros. Verify the
spelling or contact your administrator.



. when an individual user (authenticated and with rights to display the
page) hit one page which include this macro.



I have the following in the xwiki.cfg file:



#-# List of active plugins.

xwiki.plugins=\

 com.xpn.xwiki.monitor.api.MonitorPlugin,\

 com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\

 com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\

 com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\

 com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\

 com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\

 com.xpn.xwiki.plugin.feed.FeedPlugin,\

 com.xpn.xwiki.plugin.ldap.LDAPPlugin,\

 com.xpn.xwiki.plugin.google.GooglePlugin,\

 com.xpn.xwiki.plugin.mail.MailPlugin,\

 com.xpn.xwiki.plugin.packaging.PackagePlugin,\

 com.xpn.xwiki.plugin.query.QueryPlugin,\

 com.xpn.xwiki.plugin.svg.SVGPlugin,\

 com.xpn.xwiki.plugin.charts.ChartingPlugin,\

 com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\

 com.xpn.xwiki.plugin.image.ImagePlugin,\

 com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\


com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\

 com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\

 com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\

 com.xpn.xwiki.plugin.lucene.LucenePlugin,\

 com.xpn.xwiki.plugin.diff.DiffPlugin,\

 com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\

 com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\

 com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\

 com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\


com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \

 com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \

 com.xpn.xwiki.plugin.tag.TagPlugin



What is wrong ?



Many thanks for your help,



Christophe

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




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


[xwiki-users] XWiki deployments with more than 5000 users

2011-04-06 Thread Ludovic Dubost


Hi,

If you are managing an XWiki deployment with more than 5000 users, can 
you please send me an email directly (ludo...@xwiki.com).
You can be very helpful to XWiki by allowing us to use your company as a 
reference for XWiki.


Thanks
Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] [xwiki-devs] XWiki deployments with more than 5000 users

2011-04-08 Thread Ludovic Dubost

Le 06/04/11 22:14, Vincent Massol a écrit :

On Apr 6, 2011, at 9:58 PM, Ludovic Dubost wrote:


Hi,

If you are managing an XWiki deployment with more than 5000 users, can you 
please send me an email directly (ludo...@xwiki.com).
You can be very helpful to XWiki by allowing us to use your company as a 
reference for XWiki.

WDYM Ludovic by using your company as a reference for XWiki?

Do you mean to put it on http://www.xwiki.org/xwiki/bin/view/References/ (in 
this case us = the XWiki Community) or do you mean using the reference on 
xwiki.com (in this case us = XWiki SAS)?
I welcome to add any large deployments on 
http://www.xwiki.org/xwiki/bin/view/References/


In this case it's to be able to use these references for private and/or 
public communication, at least for XWiki SAS. Indeed if you are ready to 
have your deployment referenced by any in the community, do tell about 
any significant usage of XWiki in these lists or on the References pages 
on xwiki.org


Ludovic


Thanks
-Vincent


Thanks
Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] The confusing name 'WebHome'

2011-04-13 Thread Ludovic Dubost


Hi Joris,

This is possible with an xwiki.cfg setting.

#-# The name of the default page of a space. This is displayed when the 
URL specifies a space, but not a document, or neither.

# xwiki.defaultpage=WebHome
#-# Hide the /WebHome part of the URL when the document is the default 
one. Use 0 to hide, 1 to show.

# xwiki.usedefaultaction=0

Ludovic

Le 13/04/11 18:06, Joris Dirks a écrit :

I just had a user renaming a page called 'Webhome' to something she
thought was more appropriate. I understood her reasoning for the name
'intro' but had a hard time explaning why there should be WebHome at
the end of the URL, especially since it isn't an English wiki. Even
when users understand the first page has a fixed name, they are more
accustomed to 'index' (.html, .php).
Of course, when reaching a space, the name WebHome isn't shown,
backlinks (e.g. breadcrumbs) do refer to Example/WebHome instead of
Example/
The biggest improvement imho would be: hide the trailing 'WebHome'
when viewing a WebHome. When editing this page, it can of course be
shown.

How do you all think about this?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users




--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


  1   2   3   >