Re: [xwiki-users] Any plans for swizzle-confluence?

2008-01-15 Thread Vincent Massol

Hi Kalle,

On Jan 14, 2008, at 8:37 PM, Kalle Korhonen wrote:


Hello Xwikiers,

I found swizzle-confluence an easy to use lib to pull data from  
XWiki/Confluence. From previous discussions, I understand XWiki is  
also using it internally. My biggest issue is that the released  
version is using an ancient version of httpclient, but it's fixed in  
the svn.


Yep, that was contributed by Catalin when he was working on the XWiki  
XMLRPC improvements :) He provided several other patches. I think most  
of them if not all are also included in swizzle's SVN.


I've pinged the swizzle guy a few times on the project email list  
during several months, but it seems he's not interested or too busy  
to put up a release.


I've been trying to ping David Blevins a few times myself. Being such  
a nice guy I was surprised that he never answered. After I received  
your mail I was able to find him on IRC. He had never received my  
emails for some reason (spam, etc). He's now working on applying the  
last XWiki patch http://jira.codehaus.org/browse/SWIZZLE-24 but he  
needs help from Catalin to apply it (I've pinged Catalin yesterday but  
not answer so far).


I think XWiki uses your own build for swizzle-confluence. I'd be  
happy if that version was available in some common Maven(2) repo as  
I'm trying to avoid maintaining my own version. Have you guys  
thought about what to do with it, maybe even hosting it as its own  
sub project as part of XWiki?


Sure, but the best is really to work with David  and help him out to  
do releases of swizzle. I know he's been awfully busy but he's ready  
to do a quick release if we can answer the questions he has on our  
latest patch.


Thanks
-Vincent


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


[xwiki-users] Selecting names and titles of documents in a space ?

2008-01-15 Thread Paul Libbrecht


Hello,

what could be the hibernate query to list all documents in a  given  
space?


thanks in advance

paul

smime.p7s
Description: S/MIME cryptographic signature
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Selecting names and titles of documents in a space ?

2008-01-15 Thread Paul Libbrecht

thanks, filed as:

http://www.xwiki.org/xwiki/bin/view/FAQ/ 
CommentDisposerDUneListeDesPagesCreeesDansUnEspace


I did look for a while but that wasn't enough, sorry.
Searching for the word query gives few hits unfortunately!

paul

Le 15 janv. 08 à 16:59, Vincent Massol a écrit :


On Jan 15, 2008, at 4:46 PM, Paul Libbrecht wrote:
what could be the hibernate query to list all documents in a   
given space?

What have you tried?

Try searching the web with google, searching your local install,  
etc.  You should be able to get the answer.


smime.p7s
Description: S/MIME cryptographic signature
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Selecting names and titles of documents in a space ?

2008-01-15 Thread Vincent Massol
Hi Paul,

On Jan 15, 2008, at 5:20 PM, Paul Libbrecht wrote:

 thanks, filed as:

 http://www.xwiki.org/xwiki/bin/view/FAQ/CommentDisposerDUneListeDesPagesCreeesDansUnEspace

Would be great if you could translate it in English since all FAQs are  
supposed to be written in English (I even put a big disclaimer on the  
FAQ page ;)).

BTW I think this could be filed as a code snippet in the code zone and  
referenced from the FAQ page you created.

WDYT?

Thanks again
-Vincent


 I did look for a while but that wasn't enough, sorry.
 Searching for the word query gives few hits unfortunately!

 paul

 Le 15 janv. 08 à 16:59, Vincent Massol a écrit :

 On Jan 15, 2008, at 4:46 PM, Paul Libbrecht wrote:
 what could be the hibernate query to list all documents in a   
 given space?
 What have you tried?

 Try searching the web with google, searching your local install,  
 etc.  You should be able to get the answer.

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


Re: [xwiki-users] Any plans for swizzle-confluence?

2008-01-15 Thread Kalle Korhonen
On 1/15/08, Vincent Massol [EMAIL PROTECTED] wrote:


 I've pinged the swizzle guy a few times on the project email list during
 several months, but it seems he's not interested or too busy to put up a
 release.

 I've been trying to ping David Blevins a few times myself. Being such a
 nice guy I was surprised that he never answered. After I received your mail
 I was able to find him on IRC. He had never received my emails for some
 reason (spam, etc). He's now working on applying the last XWiki patch
 http://jira.codehaus.org/browse/SWIZZLE-24 but he needs help from Catalin
 to apply it (I've pinged Catalin yesterday but not answer so far).

 I think XWiki uses your own build for swizzle-confluence. I'd be happy if
 that version was available in some common Maven(2) repo as I'm trying to
 avoid maintaining my own version. Have you guys thought about what to do
 with it, maybe even hosting it as its own sub project as part of XWiki?

 Sure, but the best is really to work with David  and help him out to do
 releases of swizzle. I know he's been awfully busy but he's ready to do a
 quick release if we can answer the questions he has on our latest patch.


I absolutely agree. I appreciate David's work and willing to help in
whatever is needed for the release. The question in hand is the one for
SWIZZLE-24? Let me know if I can do something. Sorry for using XWiki's
mailing list for this.

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


[xwiki-users] [ANN] Multiwiki search is now working on www.xwiki.org

2008-01-15 Thread Vincent Massol
Hi everyone,

Good news, we've now fixed the search page on http://www.xwiki.org  
(BTW the fix will be in the final XE 1.2 release).

It's now using Lucene to search on all subwikis of xwiki.org

Thanks
-Vincent

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


Re: [xwiki-users] Skins : how they work, how to build one from scratch

2008-01-15 Thread Jerome Velociter
Hi Karim,

   As told in a previous discussion, I am trying to figure out how to
 build a whole new skin in order to better understand how the skin system
 works (or vice-versa). In parallel, I will be writing the missing doc on
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins#HCreatingawholenewskin

   For the moment there is only a couple of phrases stating that the
 minimum templates needed are view, edit, preview and save. I have
 guessed these info after some studying of the structure of other
 templates, any confirmation or correction is welcome.

In fact, there is no real need for a save.vm template : save is an action
of the URL, which is handled by xwiki, and that will send back another
template, according to user choices (click on save or save and
continue for example) ; and result of the save process : view.vm (for
save and view), edit.vm (for save and continue), or exception.vm (if the
save somehow failed) - possibly any template.
I started to write a document that will detail this forwarding process and
the parameters you can use in XWiki forms and urls (can be handy when you
write a skin) :
http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiURLMappings. It's only a
draft now, so can't be taken as complete.


   Next I would like to know what variables should be handled by the
 templates. For example, a test for a parameter that I see often in other
 templates is

 #if ($request.getParameter(raw).equals(1))


What's important for your concern (building a new skin from scratch), is
how much of the default skin behavior you want to keep. If you want to
keep just everything (let's say, code viewer, history viewer, change
viewer, comments  attachments forms and viewers, etc.) then, your best
choice is probably to use that albatross skin as a basis for your new
skin; otherwise you'll have a big amount of code to write, so be sure this
is what you want to do :)

Modifying a copy of the albatross skin (or even better, extending the
albatross skin by overriding only the templates you need to modify/adding
new templates) will allow you to change the layout of rendered html,
add/remove things you want/things you don't want... well, let you free to
decide of your own skin layout and behavior.

Note that it is in the roadmap for XWiki 1.3 to make skin creation easier,
moving every velocity templates to a single place (right now they are
either in templates/ or in skins/albatross/), and introducing a new skin
extension mechanism.

Hope it answer your questions.

Regards,
Jérôme.

   I have guessed that when this is true there is just a code page to be
 displayed, but that does not tell me when and where this parameter is
 set, and if every parameter is set in the $request variable and what
 they mean...

   I have tried to list every parameter by this code, but it doesn't
 work:

 #foreach($param in $request.getParameterNames())
 * $param : $request.getParameter($param)
 #end


   If someone could help me figure out all these things it would really
 help me understand how the skin system works and how to build a new
 skin. Of course you can complete yourself the wiki page but if you don't
 I will do it once I understood the process.

   Thanks.



 Le jeudi 20 décembre 2007 à 16:13 +0100, Karim-Pierre Maalej a écrit :
So e.g. I want to know how to make a site like Curriki. How should
 I
   proceed? And first, in which section should I have a look? There's
   something missing here, maybe just a few words that say to me 'hey
 guy,
   if you want to build a website upon XWiki, it's that way!'
 
  +1, we're mostly documenting features and OpenSource development
  practices. A complete tutorial should be written; for the moment,
 there
  are some articles about setting up XWiki, they used to be linked
  somewhere on xwiki.org.


  To give you a more actual illustration, I am currently working on
 designing a skin for XWiki for the iPhone. It takes me quite a lot of
 time because I have to figure out how all this thing works (the Skins
 section only suggests tweaks to existing skins, and not redesigning a
 whole new one from scratch).

  I intend to write a detailed howto based on my experience when I get to
 it, but for the moment I am right in the middle of the jungle, exploring
 and slowly drawing a map of the continent around me :-)


 ___
 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] [ANN] Multiwiki search is now working on www.xwiki.org

2008-01-15 Thread Paul Libbrecht
Allow me to believe that there's still the FAQ content that is  
missing. Would that be normal because this not in the body of the  
content but in some fields ? In all cases, searching for title  
gives a single result whereas there are many in the fAQ


Also, it should be ideal that on this site, code fragments are  
indexed as well (I think it should be the default) since it's quite  
much about code, so searching for searchDocument should just give  
many results at code.xwiki.org.
(maybe the lucene standard-analyzer needs to be refined for this, not  
sure).


paul



Le 15 janv. 08 à 18:29, Vincent Massol a écrit :


Hi everyone,

Good news, we've now fixed the search page on http://www.xwiki.org
(BTW the fix will be in the final XE 1.2 release).

It's now using Lucene to search on all subwikis of xwiki.org

Thanks
-Vincent

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




smime.p7s
Description: S/MIME cryptographic signature
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LDAP on xwiki

2008-01-15 Thread Your XEN ICT Team - Ricardo Rodriguez
Gaëtan GUYODO wrote:
 I can test it with Active Directory, I'll do that asap.
 Question about java : the latest change is LDAPAuthenticater.java (47 
 kb) 18/jun/2007. How can I compile to have the jar file ?
Hi all,

I've managed to reference all the required classes but Cache. There is a 
Cache.class included in XWiki-1079, so I am guessing this is the class 
we must reference. All the others are included in jar files distributed 
with XWiki but ldap.jar coming from 
novell-jldap-devel-2007.10.12-1unix.zip. It can be downloaded from 
http://developer.novell.com/wiki/index.php/Jldap

Here the error message I get when I run javac...

sh-3.2# javac -cp 
/Library/Tomcat/webapps/xwiki/WEB-INF/lib/xwiki-core-1.2-rc-1.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/commons-lang-2.1.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/commons-logging-1.1.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/ldap-UNKNOWN.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/ldap-UNKNOWN.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/ldap.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/securityfilter-2.0.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/classes/com/xpn/xwiki/ldap/authentication/cache.jar
 
LDAPAuthenticater.java
LDAPAuthenticater.java:61: cannot find symbol
symbol  : class Cache
location: class com.xpn.xwiki.ldap.authentication.LDAPAuthenticater
protected static CacheString, HashMapString,String cache = new 
CacheString, HashMapString,String(21800, 0);
 ^
LDAPAuthenticater.java:61: cannot find symbol
symbol  : class Cache
location: class com.xpn.xwiki.ldap.authentication.LDAPAuthenticater
protected static CacheString, HashMapString,String cache = new 
CacheString, HashMapString,String(21800, 0);
   ^
Note: LDAPAuthenticater.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: LDAPAuthenticater.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
sh-3.2#

I've tried by creating a cache.jar file including only Cache.class, but 
it didn't work.

As you can see, I am not a Java guru! Please, could anybody help with 
this issue? How must I reference Cache.class?

We can not go ahead with XWiki without a fully functional LDAP 
authentication service. So I must find a way of helping with this.

Any help will be welcome! Thanks.

-- 
Ricardo Rodríguez
Your XEN ICT Team

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


Re: [xwiki-users] [ANN] Multiwiki search is now working on www.xwiki.org

2008-01-15 Thread Vincent Massol

On Jan 15, 2008, at 11:35 PM, Paul Libbrecht wrote:

 Allow me to believe that there's still the FAQ content that is  
 missing. Would that be normal because this not in the body of the  
 content but in some fields ? In all cases, searching for title  
 gives a single result whereas there are many in the fAQ

 Also, it should be ideal that on this site, code fragments are  
 indexed as well (I think it should be the default) since it's quite  
 much about code, so searching for searchDocument should just give  
 many results at code.xwiki.org.
 (maybe the lucene standard-analyzer needs to be refined for this,  
 not sure).

I know, I've noticed the issue too.

Everything is supposed to be indexed by the lucene plugin including  
object fields.

I'm checking why not everything is indexed.

-Vincent

 Le 15 janv. 08 à 18:29, Vincent Massol a écrit :

 Hi everyone,

 Good news, we've now fixed the search page on http://www.xwiki.org
 (BTW the fix will be in the final XE 1.2 release).

 It's now using Lucene to search on all subwikis of xwiki.org

 Thanks
 -Vincent

 ___
 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