Re: [xwiki-users] Ajax.Query and cross-site AJAX requests?

2013-01-26 Thread Jerome Velociter

Hi,

Indeed you are hitting the standard same origin policy.

You have 3 possibilities to circumvent it :

* With JSONP requests - if the server supports them, and only for GET 
requests [1]

* With CORS/pre-flight requests - if the server support them [2]
* With a proxy (for example a page on your wiki) that does the URL GET 
or POST, and you hit the proxy with your Ajax requests.


Hope this helps,
Jerome

[1] http://en.wikipedia.org/wiki/JSONP
[2] http://en.wikipedia.org/wiki/Cross-origin_resource_sharing


Le 26/01/13 05:03, xwiki.me...@spamgourmet.com a écrit :

Hi,

I want one of my pages to make a post to another site and insert the 
results into its page.  Right now I've got a JavaScriptExtension that 
looks like:


function doquery() {
new Ajax.Request('http://mat.exon.name/test.php', {
method:'post',
parameters:{
'arg' : document.getElementById('thearg').value,
},
});
return false;
}

I find that this does an OPTIONS request, but not the intended POST.  
If I change the URL to a local page, the POST goes through as 
intended.  Am I tripping up over some kind of XSS defense, and is 
there some way to turn it off?


___
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] How to display a local file

2012-12-06 Thread Jerome Velociter

On 12/06/2012 05:44 PM, Sergiu Dumitriu wrote:

On 12/06/2012 11:39 AM, H.-Dirk Schmitt wrote:

Hi!

I'm looking for a receipt to display a local file inside an xwiki page.

The use case is that this is an intranet documentation provided by xwiki.
Every user in the audience has normally some configuration files in a
standardized location.
The content may differ between for each user (or concrete his
workstation). This is also the reason not to expose the files on a
webserver and use the RemoteCode marco.

Current solution is to at a link [[ConfigFilefile:///etc.]]
It would be nicer to display the content inside the xwiki page.


For security reasons, that kind of thing is not supposed to be doable.

Try using an iframe.


It's also doable using the programming right (providing a macro for 
example), but then again you must be careful what you allow (what paths, 
etc.) so that users can't abuse it and display /etc/shadow or whatever 
they fancy.


Jerome.





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


Re: [xwiki-users] Security check on RSS Aggregator Macro extension

2012-11-20 Thread Jerome Velociter

Hi Fernando,

Actually, I've fixed the issue just after reading xipe's comment back in 
2009, by enclosing everything the macro outputs in {{{verbatim 
markup}}}. See the update line at the top of the blog post.
This was even before XWiki prevented nested scripting by default. Could 
you edit your comment on the macro's extension page since the security 
issue has been addressed even before the macro was released ?


Thanks,
Jerome

On 11/20/2012 05:52 PM, Fernando Correia wrote:

One comment in the blog post[1] about the RSS Aggregator Macro[2] warns
against a serious security flaw: the extension is embedding in the page's
wiki markup strings it reads from the web (RSS feeds); if these strings
contain wiki code such as this:

titleLet's execute some groovy: {{groovy}}println
id.execute().getText(){{/groovy}}/title

then it would allow random code to be executed on the server.

I investigated the issue and my current understanding is that this
vulnerability has been addressed at XWiki itself, when nested scripts[3]
were disabled in v. 2.4M2[4].

Am I correct to assume this vulnerability has been closed and that it's
safe to run this extension?


[1]
http://www.velociter.fr/journal/XWiki-plus-groovy-is-love-the-10-lines-RSS-aggregator-macro

[2]
http://extensions.xwiki.org/xwiki/bin/view/Extension/RSS+Aggregator+Macro

[3]
http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HNestedscripts

[4]
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise24M2#HScriptimprovements
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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


[xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 4.3 Release Candidate 1 released.

2012-11-19 Thread Jerome Velociter
The XWiki development team is proud to announce the availability of 
XWiki Enterprise 4.3 Release Candidate 1.
This is the first and hopefully final release candidate of the 4.3 
release cycle. Being a release candidate, this release contains bugfixes 
and polishing.


You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki43RC1

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How do I write a correct XWQL statement?

2012-11-12 Thread Jerome Velociter

Le 12/11/12 09:37, crocket a écrit :

I tried to execute a Query and saw an error below.

Caused by: org.xwiki.query.QueryException: Exception while translating
[select srv from IN (doc.getObjects(Private.Network Services)) srv
order by srv.port] XWQL query to the [hql] language. Query statement =
[select srv from IN (doc.getObjects(Private.Network Services)) srv
order by srv.port]

Although I read JPQL documents, I couldn't come out with an answer.

Does anybody know how to write a correct XWQL statement?


Have you read 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLanguageExamples 
?


Jerome

___
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] How do I apply monospace wiki markup in a velocity script?

2012-11-11 Thread Jerome Velociter

On 11/11/2012 08:44 PM, crocket wrote:
I just referred to 
http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed , 
but there is no mention of H.

However, it works.

Where can I find the documentation about it?


Strangely the documentation doesn't seem to show inherited methods from 
org.apache.velocity.tools.generic.EscapeTool, but if you click the 
parent link on the escapetool, you'll see getH()


Jerome




On Mon, Nov 12, 2012 at 1:42 AM, Jerome Velociter jer...@velociter.fr 
mailto:jer...@velociter.fr wrote:


On 11/11/2012 05:28 PM, crocket wrote:

{{velocity}}
##hello##
{{/velocity}}

Just prints nothing.

Since ## means the beginning of a comment in velocity, I can't
use ## and
## as monospace wiki markup.


This should work :

${escapetool.H}#hello${escapetool.H}#

Jerome


What can I do?
___
users mailing list
users@xwiki.org mailto:users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org mailto: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] Dynamic number of fields in Class

2012-10-12 Thread Jerome Velociter

Hi,

The scenarios you describe are definitely possible to achieve with XWiki.

The way to realize what you want is to have a several objects per item 
type (and not several fields of the same object).


For example, for a shopping cart you would have for each page with a cart :
- An object of class MyApp.Cart
- N number of objects of class MyApp.CartItem

Then adding/removing items in the cart is simply a matter of 
adding/removing cart item objects from the page.


And yes, users list is the right place for this kind of question. The 
dev list concerns the development of the XWiki software itself.


Hope this helps,
Jerome

On 10/12/2012 10:15 PM, poppakap wrote:

This post has NOT been accepted by the mailing list yet.
Hello all, if this has already been answered, please let me know where, I
have searched all over the place!!

I want to have a class that contains a dynamic number of multiple fields.
Think of it like say a shopping cart. You have one ShoppingCart class that
can contain x number of items. When you edit the shopping cart, you can
click add to add another item, or delete to delete an item from the list.

Or maybe another example would be a RecipeClass, in which you would add in
ingredients and stuff. So you would have a SesameChickenRecipe, and it would
contain maybe 1 chicken, 2 tablespoons of salt, 4 bat wings, and so on.

Is it possible, and if so is there any documentation you can point me to, or
a tutorial, or example??
Also, is it appropriate to post this question in the Xwiki-Users forum or
the Xwiki-Dev forum?

Thanks so much in advance!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Dynamic-number-of-fields-in-Class-tp7581779.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



--
Peace,
—Jerome

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


[xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 4.2 released.

2012-10-02 Thread Jerome Velociter
The XWiki development team is proud to announce the availability of 
XWiki Enterprise 4.2.


This is the third release of the 4.x cycle. This release brings 
extension manager improvements including an experimental install/upgrade 
wizard, new field types (emails, lists of pages, and computed fields), 
new macros (JIRA and content macros), macros improvements (chart and 
documents macros), as well as many other new features and improvements.


You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki42

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki's WYSIWYG editor -- tinyMCE and GWT-based

2012-09-21 Thread Jerome Velociter

Hello,

On 09/21/12 08:00, Marius Dumitru Florea wrote:

Hi Ray,

On Fri, Sep 21, 2012 at 8:42 AM, ray ye ray...@ddaysoft.com wrote:

Hi All,
 Two WYSIWYG editors were included in XWiki --   tinyMCE and GWT-based.

I understand that
1. tinyMCE  was used at the very beginning, and later GWT-based was
used to replace tinyMEC because tinyMCE was buggy, and its performance
was not good (at the time)
2. the version for tinyMCE included in XWiki 4.1.4 is 2.0.6.1 released
on 2006-05-04 ( I checked the code ), and the latest version is 3.5.7
release on 2012-09-20.


My questions are:
1. have any one revisit later release of tinyMCE, since lots have
changed over the 6 years?

None that I know of.


2. for the GWT-based WYSIWYG  solution, is it developed by XWiki? and

Yes. See 
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-wysiwyg


is there a  way that i can get WYSIWYG related codes only, and
integrate it into one of our internal project?

Yes, but not in a straightforward manner, for the moment. Jerome has
started to work on http://jira.xwiki.org/browse/XWIKI-7785 but didn't
had time to finish. The main issues to reuse the code are:

* a dependency on SmartGWT/SmartClient for one of the XWiki specific plugins
* XWiki specific plugins (Jerome started to move them in a separate
module I think). But you can choose to not load them from
configuration.


Indeed I haven't found the time to finish this move yet. It's almost 
there. I've stopped at the point where we need to decide what goes into 
internal and what remains API (because today almost everything is API, 
making backward compatibility complicated).


Another topic I've started to explore is how one could write plugins in 
JavaScript instead of Java for projects outside XWiki, but I've dropped 
it at some point and went back to Java because I wasn't making much 
progress.




This 
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#HUsetheWYSIWYGeditoroutsideXWiki
should work, if you also make sure SmartClient code is present..

Jerome did you push your changes somewhere? I could try to finish your
work when I find some time.


I have a branch on my fork, I'll check if everything is there.

Jerome



Thanks,
Marius


Thank you very much!

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


Re: [xwiki-users] upgrade from 3.5 to 4.1.1 LDAP service is not available. Please verify your installation.

2012-09-10 Thread Jerome Velociter

Hello,

We've decided not to bundle the LDAP service by default. You need to 
install it manually via the extension manager. See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application.


Does this helps ?

Jerome

On 09/10/2012 11:24 AM, Eugen Colesnicov wrote:

shouldbe q931 wrote

Any ideas on the LDAP service is not available. Please verify your
installation. message ?


I have same situation, when I trying new installation of XWiki 4.1.3 (debian
package).
Have some news for the problem:
LDAP service is not available. Please verify your installation?

--
Thanks beforehand!
Eugen Colesnicov



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581222.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



--
Peace,
---Jerome

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


Re: [xwiki-users] upgrade from 3.5 to 4.1.1 LDAP service is not available. Please verify your installation.

2012-09-10 Thread Jerome Velociter

On 09/10/2012 03:48 PM, Eugen Colesnicov wrote:

Jerome Velociter-5 wrote

We've decided not to bundle the LDAP service by default. You need to
install it manually via the extension manager. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application.


Of course, I installed LDAP application via extention manager. In extention
manager I written LDAP - get result LDAP Application 4.0 and installed
this (with all dependences - automatically). Maybe need something else to
install?

Also, I uncommented
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
in xwiki.org

After this step, opened LDAP inside administration and top of page I see
this message:
LDAP service is not available. Please verify your installation.


It looks like a dependency issue. This message is issued when the 
xwiki-platform-ldap-api is not present in the classpath (I agree the 
message itself is not very clear).


I see the dependency is correctly listed in the dependencies section of 
the extension page, at 
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application#HDependencies 
:


org.xwiki.platform:xwiki-platform-ldap-api 4.0

Do you remember if it was listed in the extension UI as a dependency 
when installing the extension ?


BTW Vincent, devs, what's the strategy for not-bundled extensions 
released by the xwiki development team when releasing platform ? Do we 
need to update the extension pages at each release ? Did I miss something ?




--
Best regards
Eugen Colesnicov



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/upgrade-from-3-5-to-4-1-1-LDAP-service-is-not-available-Please-verify-your-installation-tp7579760p7581228.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



--
Peace,
---Jerome

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


Re: [xwiki-users] HOW TO SET IMPORTED SKIN

2012-08-23 Thread Jerome Velociter

Hi Peter,

The Lyrebird skin is a filesystem skin. As of now, you need filesystem 
access to install it. The XAR is ony there to provide a configuration 
interface.


Jerome

On 08/23/2012 01:25 AM, Peter wrote:

Hi XWiki-Community!

First I have no access to the server side of my XWiki-Installation, but I
want to change the skin.
I imported a skin via XAR-File.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Lyrebird+Skin

Then I have a new space with three pages.
And what now?
What do I need to change in Administration/Presentation?

Do I need to add a new Page and add a Skin-Object to it?

I do not know how to proceed.

Thanx for all help
Peter



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/HOW-TO-SET-IMPORTED-SKIN-tp7581004.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



--
Peace,
—Jerome

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


Re: [xwiki-users] System Recommendations

2012-08-02 Thread Jerome Velociter

Hi,

On 08/02/2012 11:36 AM, Schmidt, Thilo (VZ) wrote:

Hello there,

I'm in the planning phase of installing XWiki and wanted to set up an 
XWiki/Tomcat server
and an Oracle server, both running Debian. The wiki will not likely have more 
than a four
digit number of pages, few images saved in the file system and no other files 
uploaded.

What are the experiences for such setup concerning RAM and disk space?


This also depends on how often your wiki is going to be accessed.



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



--
Peace,
—Jerome

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


Re: [xwiki-users] System Recommendations

2012-08-02 Thread Jerome Velociter

On 08/02/2012 12:11 PM, Schmidt, Thilo (VZ) wrote:
  

Hi,

On 08/02/2012 11:36 AM, Schmidt, Thilo (VZ) wrote:

Hello there,

I'm in the planning phase of installing XWiki and wanted to set up an
XWiki/Tomcat server and an Oracle server, both running Debian. The
wiki will not likely have more than a four digit number of pages, few images 
saved in the file system and no other files uploaded.

What are the experiences for such setup concerning RAM and disk space?

This also depends on how often your wiki is going to be accessed.


Thanks,
I'll make the wiki accessible to no more than 75 users in total, so it will be more like 
several hits a day instead of several a second.


For disk space that's going to mostly tied to the size of attachments of 
wiki pages. Besides attachments, wiki pages don't weight much in 
database, so with a few thousand without big attacments you won't have a 
problem there.
For memory with the usage you describe I would say you definitely are 
going to be able to live with Xmx=512M.


Jerome


I hope this is a good enough estimate?


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


--
Peace,
-Jerome

___
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



--
Peace,
—Jerome

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


Re: [xwiki-users] Diff font is

2012-08-01 Thread Jerome Velociter

On 08/01/2012 08:25 AM, Arioch wrote:

MSys Git is standard on Windows and is used by all Git-aware programs.

It's like i would ask you to install windows application just to check
something, and the applicaiton thsat does not work in Wine, but requires
some custom tailored emulator.

Frankly, for you it only takes pressing one button to run build and deploy
script.
For me it takes learning a lot of layers of lot of programs that i don't
have knowledge at all.

It is overkill.

I can learn C++ and Visual Studio and patch MSYS and push it all upstream.
I can run Knoppix or Linux in userspace
I can even delete Windows and spend few month learning all the tricks in
Linux (after few weaks of choosing distro)

To check a one liner in CSS ?


At what point did anybody infer you had to build to test this ?

You could as well just apply the change to instance diff.css file. It's 
in ./resources/uicomponents/viewers/diff.css


Jerome





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Diff-font-is-tp7580425p7580650.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



--
Peace,
—Jerome

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


Re: [xwiki-users] Lyrebird skin (doesn't work)

2012-07-24 Thread Jerome Velociter
Hi Nicolas,

Sorry for the late reply,

Skin's name is lyrebird all in lowercase (same as the folder under skins/
in the webapp).

Let us know if this works for you.

Thanks,
Jerome.

On Tue, Jul 24, 2012 at 10:50 AM, Nicolas Sanitas nicolas.sani...@intech.lu
 wrote:

 Hello all,

 I am very enthusiast about using the Lyrebird skin.

 I downloaded the XAR, imported it in my wiki. But unfortunately
 nothing happen when I enter 'Lyrebird' in the field where we have to
 set the skin. Nor when I add skin=Lyrebird in the parameters of my
 query...

 Could anyone help in setting this skin in my wiki?!

 Thanks for your help,

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




-- 
Jérôme Velociter
Winesquare
http://www.winesquare.net/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] using JSON (how?)

2012-07-24 Thread Jerome Velociter
Hi,

On Mon, Jul 23, 2012 at 2:11 PM, Nicolas Sanitas
nicolas.sani...@intech.luwrote:

 Hi there,

 we have to parse and generate JSON in our code; we wonder wich is the
 bast way/language (Velocity or Groovy) to do that in XWiki?


There is a JSON tool in velocity to do the serializing part :
https://raw.github.com/xwiki/xwiki-commons/master/xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/JSONTool.java

You could propose a patch to add simple Map parsing based on net.sf.json.

In groovy, you have the native JsonBuilder and JsonSlurpers to perform this
kind of things.

Cheers,
Jerome


 Thx by advance,
 Nicolas
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Jérôme Velociter
Winesquare
http://www.winesquare.net/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Search suggest in Lyrebird

2012-07-24 Thread Jerome Velociter

Hello Mathieu,

I haven't got there yet, but that should be possible and not too 
complex. It's a matter of adding the right JavaScript files and styling 
the suggest component with bootstrap.css styles.


Jonathan is going to work on this for his xorange skin for the GSoC. 
When he get there I'll look at it and try to find the time to do the 
same in Lyrebird.


Peace,
--Jerome

On 07/24/2012 04:53 PM, mathieu.canzer...@intech.lu wrote:

Hello everyone,

I installed the Lyrebird Skin and i would like to know if it's possible
to have the Search Suggest application in the top bar (as colibri) ?

Thanks

Mathieu
___
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] [Video] XWiki-G3 demo - Distributed XWiki cluster storing native Java objects

2012-07-04 Thread Jerome Velociter
Hi Caleb,

This is great stuff!

Since XClasses are actually JDO-enhanced Java classes as I understand, is
there, or could we add, an UI to write such classes directly (in groovy for
example) ? It would offer more possibilities than regular XWiki classes :
more complex relationships, other types (blobs, etc.). A mechanism would be
needed to be able to manipulate such objects as native java objects from
the XWiki api I guess.

Does that make sense ?

Jerome

On Wed, Jul 4, 2012 at 12:57 AM, Caleb James DeLisle 
calebdeli...@lavabit.com wrote:

 Hi,

 Over in the XWiki Research Department, we've been working on some exciting
 new developments.
 While XWiki provides industry leading flexibility for defining, storing
 and querying data structures in SQL based stores, we are researching how to
 bring storage to Cassandra distributed NoSQL data store and give you the
 power to define and store your own true Java native Objects.

 In this demonstration we run 2 integrated XWiki/Cassandra nodes and show
 changes propagating from one to the other as we edit pages. We show that
 you can stop one node and the wiki is still fully functional with only one
 node running. Then we restart the downed node and show the edits which were
 made while the node was down propagating over from the running node.

 Here is the demonstration video:

 http://www.youtube.com/watch?v=NngAKdeWuH0

 While this is still in heavy development, we hope to be bringing up live
 nodes for you to play with as soon as possible.

 Thanks,

 Caleb

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




-- 
Jérôme Velociter
Winesquare
http://www.winesquare.net/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Summer 2012 Hackathon

2012-06-29 Thread Jerome Velociter
Hi,

On Fri, Jun 29, 2012 at 5:46 PM, Vincent Massol vinc...@massol.net wrote:

 Hi devs and community at large,

 Every year XWiki SAS (http://xwiki.com) gathers all its employees for a
 Seminar and every year we have an internal hackathon.

 For example here are the results of last year:
 http://www.xwiki.com/xwiki/bin/view/Company/Hackathon2011

 Previously the Hackathon was a 1 day event only. However this year we're
 changing the format; it'll run for 8 days! :)

 Thus we thought it could be a good idea to invite the XWiki Community to
 join us for a mega distributed Hackathon!

 So here's how I think we could organize it:

 * Start date: 20th of July. A mail will be posted on this day to announce
 the start
 * End date: 27th of July. A mail will be posted on this day to announce
 the end
 * Gathering results: from 28th to 6th of August. Everyone who participated
 should reply to the end of hackathon mail with what they did and post their
 stuff on http://extensions.xwiki.org or elsewhere
 * On around the 6th of August we'll have a blog post written on 
 xwiki.orgsummarizing all that was done by everyone

 Those who have participated will also get XWiki T-Shirts.

 Anyone interested in joining the fun?


I definitely will.

I think it would be great to setup a space somewhere to post pictures to,
so that there is better bonding for whomever wants to participate remotely
- like I will.
Idea: make lolcommit mandatory for every hackaton-related commit ! (see
https://github.com/mroth/lolcommits/)

Jerome


 Thanks
 -Vincent
 with my XWiki SAS employee hat

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




-- 
Jérôme Velociter
Winesquare
http://www.winesquare.net/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] Xwiki admin install and migration guides

2012-06-27 Thread Jerome Velociter
Hi,

Great work!

Could you remove the custom styles, so that we have consistent style across
all documentation ? (I remember Caty mentioning this once already).
I'm talking about the (% class=moz-text-plain graphical-quote=true
lang=x-unicode style=font-family: -moz-fixed; font-size: 13px;
wrap=true %)

Thanks
Jerome

On Wed, Jun 27, 2012 at 8:27 AM, Kaya Saman kayasa...@gmail.com wrote:

 Hi,

 I got a personal request from Vincent Massol wanting me to update
 everyone on the status of my documentation project for installing
 Xwiki on non-mainstream systems - by that I mean Linux.

 In writing the documents I had 3, for installing on FreeBSD w/Tomcat,
 Solaris w/Gassfish, and a migration guide.


 These are now complete!


 There are some notes at the bottom of the Migration Guide; don't pay
 any attention to these as they are obsolete with Nexenta merging with
 OpenIndiana.


 http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Install

 http://dev.xwiki.org/xwiki/bin/view/Drafts/Glassfish_Solaris

 http://dev.xwiki.org/xwiki/bin/view/Drafts/BSD_Migration


 I would like these to go 'live' and be put onto the production site if
 applicable!



 Regards,


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




-- 
Jérôme Velociter
Winesquare
http://www.winesquare.net/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Tree navigation like confluence wiki

2011-07-13 Thread Jerome Velociter
Florian,

I've copied your code in a page, wrapped in

{{velocity}}
{{html}}
// the code here
{{/html}}
{{/velocity}}

(so in syntax xwiki/2.0) ; and it works fine for me : I have the + and
folder icons appearing properly.

Can you tell us more about your setup ? (XWiki version, app server, is there
a front-end too, etc.)

Jerome

On Tue, Jul 12, 2011 at 10:18 PM, Florian Rhomberg 
florian.rhomb...@nettania.at wrote:

 Hello!
 Thank you for your response. I tried this code and it looked quite nide but
 I have some problems. Do I have to upload any images?
 Instead of the + tree symbol I get only a small circle like in creating a
 list this small o I hope you know what I mean and instead of the folder
 symbol I get a button and I do not get the search icon. The same is with the
 subfolders. At the moment I only have tried to display the code in a simple
 page.

 And there is only a last question:
 If I create with this code a navigation element and I open a tree an click
 on a subpage will the tree remain open after the page is loaded or not?

 I would generally suggest that such a navigation element like the
 confluence wiki tree should be added to xwiki, because xwiki would be
 perfect to create online helps.

 Thanks,
 Florian

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag
 von Vincent Massol
 Gesendet: Dienstag, 12. Juli 2011 13:34
 An: XWiki Users
 Betreff: Re: [xwiki-users] Tree navigation like confluence wiki

 Also note that we have a tree UI component (the one used in AllDocs's tree
 tab) but we'd like to make it more easy to reuse, see
 http://jira.xwiki.org/jira/browse/XRENDERING-81

 You could also look at
 http://myxwiki.org/xwiki/bin/view/XWiki/Treeview?viewer=code to see how to
 use it for now. It's quite easy to do.

 Thanks
 -Vincent

 On Jul 12, 2011, at 11:54 AM, Jerome Velociter wrote:

  Hello Florian,
 
  First I must say I like this navigation UI from confluence, too.
 
  You might also be interested by a prototype of a new tree UI here :
  http://incubator.myxwiki.org/xwiki/bin/view/Sandbox/SpaceTree
 
  Cheers,
  Jerome
 
  On Tue, Jul 12, 2011 at 11:33 AM, Florian Rhomberg 
  florian.rhomb...@nettania.at wrote:
 
  Hello!
  I want to create a treeview navigation element which looks like the
  left menu on this confluence page:
  http://www.stripesframework.org/display/stripes/Home
  Therefore I created a new navigation element and tried to manipulate
  the original velocity code of the treeview. It is working but I have
  two
  problems:
 
 
  -  The main problem is that if I choose a page from a sublevel
 the
  whole page is reloaded and the sublevel is closed aftwerwards. How
  can I change this, it is very annoying?
 
  -  The second problem is that the menu is not width enough.
 After
  some levels the pages are not displayed properly. How can I prevent
 this?
 
  This is my velocity code:
 
  #panelheader('SpaceTreeMenu')
 
  ## Smartclient
  $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' :
  true, 'defer' : false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' :
  false})## ## TODO: remove this line ## when
  http://forums.smartclient.com/showthread.php?t=3097 will be fixed
  $xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Foundation.js', {'defer' :
  false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Containers.js', {'defer' :
  false})##
  $xwiki.jsfx.use('js/smartclient/modules/ISC_Grids.js', {'defer' :
  false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Forms.js',
  {'defer' : false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_DataBinding.js', {'defer' :
  false})##
  $xwiki.jsfx.use('js/smartclient/skins/Enterprise/load_skin.js', {'defer'
 :
  false})##
  ## XWikiExplorer
  $xwiki.jsfx.use('js/xwiki/xwikiexplorer/xwikiexplorer.js',
  {'forceSkinAction' : true, 'defer' : false})##
 
  div id=XWEWrapper style=height:300px;/div script
  type=text/javascript isc.XWETreeGrid.create({
  ID: Treeview,
  // Example of default values:
  // defaultValue: Main.WebHome,
  // defaultValue: main.recentchan...@lquo.gif,
  defaultValue: ,
  htmlElement: XWEWrapper, // Mandatory HTML wrapper.
  matchElement: true, // Make the widget match HTML wrapper size.
  // Example of data sources:
  // dataSource: isc.XWEDataSource.create({}), // dataSource:
  isc.XWESpaceDataSource.create({ space: Main }),
  dataSource: isc.XWEWikiDataSource.create({}),
  displaySuggest: true, // Display the input at the bottom.
  displayLinks: true, // Node titles are HTML links.
  displayAttachments: true, // Display pages attachments.
  displayAttachmentsOnTop: true // Display attachments before page
 children.
  }).draw();
  /script
 
  #panelfooter()
 
  I hope someone can help me! Thank you!
  Florian
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org

Re: [xwiki-users] [xwiki-devs] Bugfixing day tomorrow

2011-03-17 Thread Jerome Velociter
Let's do it. What should be the keyword on JIRA ? bugfixingday ?

Jerome

On Wed, Mar 16, 2011 at 3:55 PM, Sergiu Dumitriu ser...@xwiki.com wrote:
 Hi community,

 Time flies when you're having fun, so we missed last week's Thursday
 bugfixing day (which would have made it a monthly event). So, tomorrow
 there will be another bugfixing day, in preparation for a clean 3.0 release.

 As usual, everyone is welcome to participate in bugfixing, but not only:
 bug triage and bug reporting is also very much appreciated.
 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 devs mailing list
 d...@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/devs

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


Re: [xwiki-users] Combining RSS feeds...

2011-03-04 Thread Jerome Velociter
Hello Gerritjan,

You might be interested by the XWiki Reader application as well :

http://extensions.xwiki.org/xwiki/bin/view/Extension/Reader%20Application

The reader application is compatible with XWiki Enterprise 2.6 and above.

Jerome.

On Fri, Mar 4, 2011 at 10:53 AM, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
 Hi,

 Within the CdLS community many related organizations publish their latest via 
 RSS feeds.

 What is the best practise if we would like to achieve the following
 Register these feeds somewhere per language
 Create a combination of feeds per language and show it on a visitor 
 accessible page like 10 latest news items with a little icon per source of 
 the item
 off course clicking on the item would bring the visitor to a dynamic page 
 showing the complete news item
 In that page the visitor could navigate to the real page on the web

 If I read the stuff on XWiki.org it looks like xwiki-watch is good for it;
 any alternatives?
 Is xwiki-watch multilanguage?
 can you add xwiki-watch to a existing xwiki installation version 2.7 or higher

 Gerritjan
 ___
 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] download link for Google Document Viwer Macro

2011-02-11 Thread Jerome Velociter
Yes I'm not saying in any case it should replace the office macro.

I's just an alternative. We can't package it anyway since the llicense is
not compatible, we could just distribute it on extensions.xwiki.org.

Though it remains interesting and something to watch. It's possibly not
mature enough yet, but the take is interesting. They plan to add (limited)
support for editing documents in the future. It's also something you could
use if for whatever reason you run in an environment without an OOo server.

Jerome.

On Fri, Feb 11, 2011 at 9:00 AM, Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com wrote:

 On 02/11/2011 02:25 AM, Jerome Velociter wrote:
  Slightly off-topic : I've seen a presentation of WebODF (
  http://www.webodf.org/) at FOSDEM, which would allow to create an office
  viewer macro that does not require an OOo server. Drawback is that it
 does
  not support MS Office files, just ODF files.

 There are other drawbacks too:

 * AGPL licence. If I understood correctly AGPL licence extends GPL only
 with the ability to use the code for creating a service over a network.
 So AGPL licence is still viral if you want to distribute the code. This
 makes WebODF suited for creating web services rather than for being
 packaged in a web application.

 * it relies on JavaScript and thus on client machine. Some of the
 examples from their demo page make my Firefox hang for a while. For some
 I even get the popup to stop the script because it runs for too long.

 * it relies heavily on CSS to make the result look as much as possible
 like the original ODF document. Because of this the result looks
 different across different browsers. Combined with the fact that they
 sink the XML content of the ODF document in the HTML content it makes
 the page heavy.

 * doesn't work in IE at all and some examples don't work in Chrome.

 Besides this, one advantage of using the OpenOffice server (our current
 approach) is that the result is better integrated into the wiki page.
 Office viewer relies on office importer. When you view an office
 document using the office viewer macro you view in fact how the office
 document would look like if it were imported into the wiki page.

 Thanks,
 Marius

 
  Jerome
 
  On Thu, Feb 10, 2011 at 11:08 PM, Marius Dumitru Florea
  mariusdumitru.flo...@xwiki.com  wrote:
 
  On 02/10/2011 10:50 PM, Vito Impagliazzo wrote:
  Thanks a lot!
 
 
  Does Office macro also import pdf files?
 
  No. Office macro uses jodconverter which in turn uses OpenOffice server
  to convert between different office file formats. OpenOffice currently
  can only export an office file to pdf.
 
  Hope this helps,
  Marius
 
 
  Vito
  On Feb 10, 2011 9:26 PM, Vincent Massolvinc...@massol.net   wrote:
  Hi Vito,
 
  It's now been fixed by Jerome.
 
  Thanks for reporting it
  -Vincent
 
  On Feb 4, 2011, at 12:00 PM, Vito Impagliazzo wrote:
 
  Hi
 
  I am trying to download the Google Document Viewer Macro from the
  extensions
  wiki:
 
 
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Google+Document+Viewer+Macro#HPrerequisites26InstallationInstructions
 
  however the download link still refers to the old code wiki (as in
 many
  other extensions). Where can I find the installation file?
 
  thanks
  --
  Vito Impagliazzo
  ___
  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
 ___
 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] download link for Google Document Viwer Macro

2011-02-10 Thread Jerome Velociter
Slightly off-topic : I've seen a presentation of WebODF (
http://www.webodf.org/) at FOSDEM, which would allow to create an office
viewer macro that does not require an OOo server. Drawback is that it does
not support MS Office files, just ODF files.

Jerome

On Thu, Feb 10, 2011 at 11:08 PM, Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com wrote:

 On 02/10/2011 10:50 PM, Vito Impagliazzo wrote:
  Thanks a lot!
 

  Does Office macro also import pdf files?

 No. Office macro uses jodconverter which in turn uses OpenOffice server
 to convert between different office file formats. OpenOffice currently
 can only export an office file to pdf.

 Hope this helps,
 Marius

 
  Vito
  On Feb 10, 2011 9:26 PM, Vincent Massolvinc...@massol.net  wrote:
  Hi Vito,
 
  It's now been fixed by Jerome.
 
  Thanks for reporting it
  -Vincent
 
  On Feb 4, 2011, at 12:00 PM, Vito Impagliazzo wrote:
 
  Hi
 
  I am trying to download the Google Document Viewer Macro from the
  extensions
  wiki:
 
 
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Google+Document+Viewer+Macro#HPrerequisites26InstallationInstructions
 
  however the download link still refers to the old code wiki (as in many
  other extensions). Where can I find the installation file?
 
  thanks
  --
  Vito Impagliazzo
  ___
  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


Re: [xwiki-users] xwiki BulletinBoard - Deprecated usage of getter [com.xpn.xwiki.api.XWiki.getArrayList]

2011-02-07 Thread Jerome Velociter
Hello Leonard,

Is the topic creation working from a user point-of-view, besides the warning
in the logs ?

The warning are not critical, it's just saying the BB application is using
deprecated APIs. The BB probably has not been updated to get rid of the
deprecated calls (The BB application is a contributed application BTW, not
supported by the XWiki Development Team).
Removing the warning by upgrading the code not to use the deprecated APIs is
easy. It's just about changing :

#set($list = $xwiki.getArrayList())
by
#set($list = [])

everywhere $xwiki.getArrayList() is used.

You can also change the log level of the XWiki class to error, not to
display the warnings.

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging

Jerome.

On Mon, Feb 7, 2011 at 10:32 PM, Scardino, Leonard R Jr ERDC-ITL-MS
Contractor leonard.r.scard...@usace.army.mil wrote:

 Ok, I'm not sure what happened, but previously I was able to create a new
 Topic and post to that topic.  Now, even as an admin, when I try to create
 a
 new Topic I get messages like the following in the Tomcat stdout log:

 WARN  internal.DefaultVelocityEngine  - Deprecated usage of getter
 [com.xpn.xwiki.api.XWiki.getArrayList] in xwiki:BulletinBoard.CTAs@126,29
 WARN  internal.DefaultVelocityEngine  - Deprecated usage of getter
 [com.xpn.xwiki.api.XWiki.getArrayList] in
 xwiki:BulletinBoard.TestCategory@126,29

 I had also gotten a similar message when I tried to reply to a post in a
 topic I had already created, but I forgot to capture the message right
 after
 it happened, and so I'm not sure which of the messages in the log came from
 that.  I also deleted that topic trying to see if I could create another to
 fix the problem, but no dice.

 I would have thought this might have come from using a newer version of
 XWiki
 than BulletinBoard expects, but I don't see any documentation saying that
 it
 needs an older version, and I'm pretty sure I installed this plugin after I
 upgraded to 2.7.

 Can anyone give me a hand here?  I'm working on a tight deadline, and had
 this working before.  I need it working again quickly.

 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


Re: [xwiki-users] use of code from Mail Sender Plugin.

2011-02-05 Thread Jerome Velociter
Hi Sophie,

There's no problem in doing that.

The mailsender plugin is not deprecated yet.
It's the plugin technology that is deprecated and should not be used to
create new modules.
I agree the way this information is presented might not be very clear to
newcomers. We should probably review that.

You can use/modify the example from the documentation for your panel.

Cheers,
Jerome

On Fri, Feb 4, 2011 at 5:16 PM, Sophie Alexandre
sophie.alexan...@inria.frwrote:

 Hello,

 Can I use the code given in example in the Mail Sender Plugin in another
 Panel that will develop for the particular use of the XWiki site of my
 company rather than using the whole plugin.
 Is there any trouble with that ?

 And even if this plugin is deprecated ?


 Thanks by advance,

 S.A.
 ___
 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] [myxwiki] new wiki request

2011-01-27 Thread Jerome Velociter
On Thu, Jan 27, 2011 at 3:16 PM, Vincent Massol vinc...@massol.net wrote:
 Hi Paul,

 Please provide all the information as requested on
 http://myxwiki.org/xwiki/bin/view/Main/

(you did not provide us with a name for the wiki, to be used as subdomain)

Jerome.



 Thanks
 -Vincent

 On Jan 27, 2011, at 2:19 PM, Paul Jung wrote:

 Hi Vincent,

 I want set a web site about home Automation and info sharing.

 With best regards

 Paul Jung

 On Wed, Jan 26, 2011 at 08:19, Vincent Massol vinc...@massol.net wrote:
 Hi Paul,

 Can you explain what you intend to do with this wiki? We need a description.

 Thanks
 -Vincent

 On Jan 26, 2011, at 1:58 AM, Paul Jung wrote:

 Please create a xwiki account for me.
 User name: ulju

 With best regards

 Paul Jung
 ___
 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] Live Table filters on columns for stringsdates

2011-01-06 Thread Jerome Velociter
Hoï Jorris,

On Thu, Jan 6, 2011 at 12:37 PM, Joris Dirks joris+xw...@user.stekje.nl wrote:
 Hi Jerome, thanks for the swift reply! As you asked, screenshot (and the 
 code):
 https://wiki.noiv.nl/xwiki/bin/view/Sandbox/lists

Have you tried adding filterable:true to the properties you expect
filters for ? (it seems only one has it right now)

Also I forgot to ask : which version of XWiki NOiV is running ?

Jerome.


 On Wed, Jan 5, 2011 at 6:18 PM, Jerome Velociter jer...@xwiki.com wrote:
 Hi Joris,

 While date filters are not supported yet (also I would like to work on
 that in a not-so-far future), the other property types should work as
 expected.

 We can't see your screenshot since this list does not support
 attachments. Can you post it somewhere on the web and point us to it ?

 Thanks,
 Jerome.

 On Wed, Jan 5, 2011 at 4:34 PM, Joris Dirks joris+xw...@user.stekje.nl 
 wrote:
 I'm having fun with the livetable macro but can't seem to enable
 filtering for certain columns. It seems this is because they aren't
 TextArea but have the type 'String', 'Date' or 'Static List'.
 Screenshot for illustration.

 I am not sure anymore why I made the property 'indieneradres' in my
 example a string when I created a certain class but it bites me in the
 back now. (I probably wanted the form to validate the input). Should I
 just delete that property and make a new one of type TextArea?
 For the column with static list-values, I sort of expected a drop-down
 or multiselect filter of sorts.

 Thanks for your ideas!


 On a related note, the template for shown class shows up in the
 livetable (as IssueTemplate matches the
 option:className:Helpdesk.IssueClass).
 This results in a row with 'emptyvalue' for every value. Does anyone
 know of a quick fix for that?

 ___
 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


Re: [xwiki-users] Live Table filters on columns for stringsdates

2011-01-05 Thread Jerome Velociter
Hi Joris,

While date filters are not supported yet (also I would like to work on
that in a not-so-far future), the other property types should work as
expected.

We can't see your screenshot since this list does not support
attachments. Can you post it somewhere on the web and point us to it ?

Thanks,
Jerome.

On Wed, Jan 5, 2011 at 4:34 PM, Joris Dirks joris+xw...@user.stekje.nl wrote:
 I'm having fun with the livetable macro but can't seem to enable
 filtering for certain columns. It seems this is because they aren't
 TextArea but have the type 'String', 'Date' or 'Static List'.
 Screenshot for illustration.

 I am not sure anymore why I made the property 'indieneradres' in my
 example a string when I created a certain class but it bites me in the
 back now. (I probably wanted the form to validate the input). Should I
 just delete that property and make a new one of type TextArea?
 For the column with static list-values, I sort of expected a drop-down
 or multiselect filter of sorts.

 Thanks for your ideas!


 On a related note, the template for shown class shows up in the
 livetable (as IssueTemplate matches the
 option:className:Helpdesk.IssueClass).
 This results in a row with 'emptyvalue' for every value. Does anyone
 know of a quick fix for that?

 ___
 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] [Community] We need a wiki and volunteers for implementing the new XWiki.org

2011-01-03 Thread Jerome Velociter
Hi Caty,

On Fri, Dec 31, 2010 at 11:45 AM, Ecaterina Moraru (Valica)
vali...@gmail.com wrote:
 Hi,

 Would be very nice to have a development wiki in order to get things going
 on the new XWiki.org proposal:

Should we create a new wiki on the farm, or do we need a fully
isolated dev environment?

I remember discussing this with Vincent once, but can't recall the
output. IMO a wiki on the farm is enough for now (for the skin
development at least).

WDYT ?

Jérôme.

 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/XWikiOrgProposal2
 Maybe Vincent can help with this? :)

 Since the redesign is quite big and lots of spaces|panels|styles need to be
 changed, morphing the current xwiki.org on the go would be quite difficult.
 So, having the development wiki would be much easier to work decentralized
 on different parts of it when people have time.

 There are lot of areas of the proposal that are not covered and would be
 really great to receive proposals and help from other members of the
 community.
 Also the implementation needs volunteers :) so any help is appreciated.  We
 will also use the new xwiki.org logo proposed by the community, so having
 all this ideas come together and be put into action is very exciting.

 Thanks for the support,
 Caty

 Resources:
 - Original Proposal mail: http://markmail.org/message/4erqdhwuzvmtts6p
 - Logo Challenge mail: http://markmail.org/thread/bze35tdm4iojnafa
 ___
 devs mailing list
 d...@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/devs

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


Re: [xwiki-users] Ratings plugin doesn't work in xwiki 2.6

2011-01-03 Thread Jerome Velociter
Hello Zuzana,

Can you paste us the line you've added to xwiki.cfg ?

Also, can you confirm you've restarted your container afternwards ?

Thanks,
Jerome.

On Mon, Jan 3, 2011 at 1:20 PM, Zuzana Zapletalova su...@post.cz wrote:
 Hello,

 I tried to use ratings application but I wasn't able to install Ratings 
 plugin. I followed the instruction:
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Ratings+Plugin

 But when I verified correct installation by writing:
 {{velocity}}
 $xwiki.ratings.name
 {{/velocity}}

 it returns $xwiki.ratings.name instead of ratings.

  I use xwiki 2.6.

 Thanks a lot, Zuzana.
 ___
 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] Timeline and snippets

2010-12-08 Thread Jerome Velociter
Hi Paul,

The second part is a velocity snippet. It has been written at a time there
was only one syntax in XWiki (what we call now syntax xwiki/1.0). In the new
syntaxes (xwiki/2.0 or xwiki/2.1), you need to surround velocity code blocks
by the {{velocity}} macro to get it executed. See
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax for more on this.
If you get the snippet working, it would be great you update it to add the
information you've missed in the first place.

Bye!
Jerome



On Wed, Dec 8, 2010 at 9:38 AM, Paul Harris harris...@gmail.com wrote:

 Hi again,

 I would like to get this working:
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Timeline

 I've looked through the documentation and can't figure out what I'm
 supposed
 to do with all that # code...

 Is there something obvious I'm missing?

 * I've added the javascript line to the bottom of the HTTP Meta info
 (which,
 by the way - i only want to do on the page that has the timeline!),

 * i've copy-pasted that code onto a page, but all i see is the code... no
 timeline

 thanks
 Paul
 ___
 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] Nginx and Php-fpm

2010-12-08 Thread Jerome Velociter
Hi,

This has been done already, please see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/NginX

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/NginXNote that XWiki
does not necessarily needs Apache Tomcat, any servlet container can do :
Glassfish, JBoss, Jetty, Websphere, etc.

Jerome

On Wed, Dec 8, 2010 at 1:51 AM, Eric Tse xxsash...@gmail.com wrote:

 Does anyone how one would install this under Nginx since this uses/wants
 Apache/Tomcat?
 ___
 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] help in setup component development

2010-12-08 Thread Jerome Velociter
Hi Vito,

You are missing XWiki repositories in your Maven config.
You should check out
http://dev.xwiki.org/xwiki/bin/view/Community/Buildingfirst.

I'm adding a note on the writing components page to precise this.

Bye,
Jerome

On Wed, Dec 8, 2010 at 5:35 PM, vimpagliazzo vimpaglia...@gmail.com wrote:


 Hi, I have been trying to setup my eclipse to develop an exception, as
 shown
 here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents.
 However right after importing the project, when I try to run the =mvn
 install= command I get this error:


 v...@vitox:~/workspace/routes-wiki-1.x/RoutesAccessPoint$ mvn install
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building XWiki Macro - Hello World Component
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [resources:resources {execution: default-resources}]
 [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
 resources, i.e. build is platform dependent!
 [INFO] Copying 1 resource
 Downloading:

 http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-component-default/2.5/xwiki-core-component-default-2.5.pom
 [INFO] Unable to find resource
 'org.xwiki.platform:xwiki-core-component-default:pom:2.5' in repository
 central (http://repo1.maven.org/maven2)
 Downloading:

 http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-script/2.5/xwiki-core-script-2.5.pom
 [INFO] Unable to find resource
 'org.xwiki.platform:xwiki-core-script:pom:2.5' in repository central
 (http://repo1.maven.org/maven2)
 Downloading:

 http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-shared-tests/2.5/xwiki-core-shared-tests-2.5.pom
 [INFO] Unable to find resource
 'org.xwiki.platform:xwiki-core-shared-tests:pom:2.5' in repository central
 (http://repo1.maven.org/maven2)
 Downloading:

 http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-component-default/2.5/xwiki-core-component-default-2.5.jar
 [INFO] Unable to find resource
 'org.xwiki.platform:xwiki-core-component-default:jar:2.5' in repository
 central (http://repo1.maven.org/maven2)
 Downloading:

 http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-script/2.5/xwiki-core-script-2.5.jar
 [INFO] Unable to find resource
 'org.xwiki.platform:xwiki-core-script:jar:2.5' in repository central
 (http://repo1.maven.org/maven2)
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 Missing:
 --
 1) org.xwiki.platform:xwiki-core-component-default:jar:2.5

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.xwiki.platform
 -DartifactId=xwiki-core-component-default -Dversion=2.5 -Dpackaging=jar
 -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=org.xwiki.platform
 -DartifactId=xwiki-core-component-default -Dversion=2.5 -Dpackaging=jar
 -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) ch.olsen.routes.wiki:RoutesAccessPoint:jar:1.0-SNAPSHOT
2) org.xwiki.platform:xwiki-core-component-default:jar:2.5

 2) org.xwiki.platform:xwiki-core-script:jar:2.5

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.xwiki.platform
 -DartifactId=xwiki-core-script -Dversion=2.5 -Dpackaging=jar
 -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
 there:
  mvn deploy:deploy-file -DgroupId=org.xwiki.platform
 -DartifactId=xwiki-core-script -Dversion=2.5 -Dpackaging=jar
 -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
1) ch.olsen.routes.wiki:RoutesAccessPoint:jar:1.0-SNAPSHOT
2) org.xwiki.platform:xwiki-core-script:jar:2.5

 --
 2 required artifacts are missing.

 for artifact:
  ch.olsen.routes.wiki:RoutesAccessPoint:jar:1.0-SNAPSHOT

 from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 2 seconds
 [INFO] Finished at: Wed Dec 08 17:18:11 CET 2010
 [INFO] Final Memory: 14M/103M
 [INFO]
 


 Am I missing something?

 do I perhaps have to install the whole xwiki source code base first? how?

 thanks
 Vito
 --
 View this message in context:
 

Re: [xwiki-users] evaluation questions: sorted document tree; XOO; other topics

2010-12-07 Thread Jerome Velociter
Hello Mark,

On Mon, Dec 6, 2010 at 8:54 PM, Mark D. Anderson m...@discerning.com wrote:

 Thanks Ricardo and Vincent.

 I think I have some answer on my questions except this one:

   4. I like the idea of supporting office app clients.
   But it seems there is some clumsiness with XOffice specifying a
 parent:
 http://jira.xwiki.org/jira/browse/XOFFICE-243
   And I can't find any documentation on editing/creating content from
 OpenOffice
   and/or via any webdav client.



For the WebDAV integration please refer to
http://platform.xwiki.org/xwiki/bin/view/Features/WebDAV

Bye,
Jerome


Things like URL conventions, etc.
   This page
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/Architecture
   mentions XOO (Xwiki OpenOffice) but there is nothing else about it:
  
 http://www.xwiki.org/xwiki/bin/view/Main/Search?text=XOOwikinames=space=

 also,
 http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin
 says:
   use imported class (section Installation step 3) called
 XWiki.SortedTreePageClass
 where can i read what that means? (what is importing a class?)

 btw, it occurs to me that the support for section editing makes it viable
 to
 use longer pages, which will help with both page ordering and with export
 to PDF.

 -mda
 ___
 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] Pagination macro with sortable table

2010-11-30 Thread Jerome Velociter
Hello tomasg,

If you want to have dynamic sorting and filtering, you should rather
use the LiveTable component/macro

Checkout :
* http://code.xwiki.org/xwiki/bin/view/Macros/LiveTableMacro
* http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable

Cheers,
Jérôme

On Tue, Nov 30, 2010 at 1:17 PM, tomasg tomas.gr...@gmail.com wrote:

 Hello, I would like to know whether is possible refresh table data when I
 change column for sorting.
 Now, when I click to sort by some column, table is sorted with actual table
 data, not with all data. I expect that is needed to add order by to sql
 query, but what else should I add?
 If this is not possible could I use livetable with data from sql query?

 Thank you


 Here is my code:

 $xwiki.ssfx.use(js/xwiki/table/table.css)
 $xwiki.jsfx.use(js/xwiki/table/tablefilterNsort.js, true)

 #connectDbTEP($dbc)
 #countRooms($pocetMistnosti)

 #set($paginationParameters = {
    'totalItems' : $pocetMistnosti,
    'defaultItemsPerPage' : 15,
    'url' : $doc.getURL('view', $queryParams)
  })
  #pagination($paginationParameters)

 table  id=searchResults class=grid sortable doOddEven
  tr class=sortHeader
    thMístnost/th
    thZodpovědná osoba/th
    th class=unsortableOperace/th
   /tr

   #foreach($row in $dbc.executeQuery(select id_room, mistnost, prijmeni,
 jmeno from room, osoby where room.id_os = osoby.id_os limit
 $paginationParameters.firstItem, $paginationParameters.itemsPerPage))
   tr
    td $row.getString(mistnost) /td
    td $row.getString(prijmeni) $row.getString(jmeno)/td
    td
       EditRoom?id_room=$row.getLong(
       DeleteRoom?id_room=$row.getLong(
    /td
   /tr
   #end
   /table

  #set($discard = $paginationParameters.put('position', 'bottom'))
  #pagination($paginationParameters)
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Pagination-macro-with-sortable-table-tp5787879p5787879.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] [myxwiki] new wiki request

2010-11-30 Thread Jerome Velociter
Hello Brian,

If you are interested in trying out and play with XWiki, you can use
playground.xwiki.org

The myxwiki.org farm is only for wiki you will have a use for.

Sorry if this was not clear. We'll try to improve the message on the home page.

Bye,
Jerome, on behalf of the myxwiki.org community

On Thu, Nov 25, 2010 at 9:34 PM,  br...@icliptv.com wrote:

 would like to check out the xwiki platform

 icliptv


 thx
 ___
 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] [Investigation] User Statuses

2010-11-22 Thread Jerome Velociter
Hello Caty,

For me a key use case of this feature is link/page sharing.

Thoughts sharing in enterprise context is not so key IMHO (some could even
say it's not relevant, just noise).

Page sharing, or Link sharing, in opposition are valuable features in my
opinion.

Key use cases :
* I have finished a first draft of an important document, and want to ask
for a fisrt set of reviews/comments ; but I don't want/need to write a
lengthy blog post - I post a short status update that link to my document.
* I stumbled upon an interesting article/video/etc. on the net, and I want
to share it with my team, I post the link together with a short update to
describe it, and invite others to visit / view the video

So an item with strong value for the user status features as a whole would
be a powerful link detection, a la facebook : possibly with previews of
videos, images, extract/summary of articles, etc.

Jerome.

On Mon, Nov 22, 2010 at 2:19 PM, Ecaterina Moraru (Valica) 
vali...@gmail.com wrote:

 Hi,

 There are some features that need to be investigated during the XE 2.7
 timeframe in order to be able to integrate them in XE 3.0.
 One of them is **User Statuses** and a main definition for it is: On top
 of
 activity stream http://code.xwiki.org/xwiki/bin/view/Macros/ActivityMacro
 ,
 create a User status  twitter integration feature

 The question is what should we integrate and cover if we want to have user
 statuses in XE.
 In order to deploy mockups I need to have some clear requirements and uses
 cases.
 I create some pages on incubator that will gather this mail discussions at:
 Requirements:

 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/UserStatusRequirements
 Use Cases:
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/UserStatusUseCases

 While discussing Activity Stream design we had some design scraps for the
 status casting part
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/UserStatusScrap

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

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


Re: [xwiki-users] component manager not initialized after install

2010-11-13 Thread Jerome Velociter
Hi Scott,

Would you happen to have a full stack-trace you could point us to ?

Can you see any nested error related to a DTMManager ?

Thanks,
Jerome.

On Fri, Nov 12, 2010 at 8:37 PM, Scott McMasters
scott.mcmast...@gmail.com wrote:
 Sorry, I forgot to include that it was version 2.5.1 of the Enterprise
 distribution.

 Thanks again,

 Scott McMasters


 On Fri, Nov 12, 2010 at 8:35 PM, Scott McMasters
 scott.mcmast...@gmail.comwrote:

 Hello,

 I installed XWiki today and when I first tried to view the Wiki, I received
 the following error:

 Error 500: Component manager has not been initialized before lookup for
 [org.xwiki.model.reference.DocumentReferenceResolver] for hint
 [currentmixed]

 Could anyone give me advice about this error message?

 I installed it on Websphere AS 6.1, fix level 23, and Oracle 9g.  I
 modified the Hibernate config file to use Oracle with OracleDialect
 pointing at my database.  I also added the dummy data source.  I added the
 PNG mime-type and restarted WAS.  I added ojdbc41.jar to the WEB-INF/lib
 folder of the WAR.  I did change the Web app context to wiki instead of
 xwiki, but I didn't think that should make a difference.

 Thanks in advance,

 Scott McMasters


 ___
 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] where put macros?

2010-11-03 Thread Jerome Velociter
On Wed, Nov 3, 2010 at 10:47 AM, Guillaume Lerouge guilla...@xwiki.com wrote:
 Hi,

 On Wed, Nov 3, 2010 at 09:10, [Ricardo Rodriguez] eBioTIC. 
 ricardo.rodrig...@ebiotic.net wrote:



 Vincent Massol wrote:
  On Nov 2, 2010, at 11:12 PM, Jerome Velociter wrote:
 
 
  Hi Vincent, all,
 
  See below
 
  On Tue, Nov 2, 2010 at 10:46 PM, Vincent Massol vinc...@massol.net
 wrote:
 
  On Nov 2, 2010, at 7:47 PM, Thibaut Camberlin wrote:
 
 
  On Tue, Nov 2, 2010 at 3:05 PM, Jerome Velociter jer...@xwiki.com
 wrote:
 
 
  Actually I've been thinking maybe we could provide a Macros/ space
  with XE. The home page would be a improved version of the current
  XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
  form to create a new macro, some documentation, etc.)
 
  WDYT?
 
 
  This polishing would empower a standard user to use this XWiki
 advanced
  feature.
 
  I don't quite agree. Standard users shouldn't see this space. it's
 something technical and 99% of wiki users don't want/need to see it (and
 they won't even understand it). So for me this space would need to be hidden
 from simple users (same as for other tech spaces).
 
  Then we should probably hide them from the WYSIWYG tooIbar too, I guess
 ;)
 
  Seriously, the space could be blacklisted, but it should be discussed,
  I'm not sure we want to have only admins seing it (personally I see
  that space as being documentation on macros existing in the wiki
  before being a place to create new macros - so not so technical in
  the end).
 
 
  The reason is simple. Most people come to the wiki as a place where to
 find information (not as contributors) and they'll see the list of spaces
 listed on the home page mixed with spaces containing real content for that
 wiki. All I want is a separation between business content and technical
 content. I'm fine if we have 2 space lists on the home page, one for each
 type of content. But I really don't like to mix the two kind of content.
 

 This categorization would also welcome here. It is been hard to me to
 explain to regular users what is the difference between business
 content and technical content as Vicent called that different nature
 documents. Even talking with tech-skilled people, is by no means easy to
 explain that one thing are contents produced by the community they are
 going to create/support by using a new XWiki installation and the
 contains produced/updated by the XWiki community in subsequent releases.

 To tag in any simple way those contents in a way they could be
 hidden/shown, could even also helps, IMO, the upgrade and backup
 operations.

 Just my two cents.


 +1 for a better separation as well. I regularly give demos of XWiki and
 landing on a first page with all the technical spaces is indeed confusing
 for users.

I agree. Maybe it's time we thing about typed spaces.

It could start with something light such as a XWiki.SpaceClass with
only a pretty name (quite needed too if you ask me) and a category
list

Jerome.


 Guillaume


  Maybe in some distant future we should have an intermediary level
  between Normal users and Admins. BTW do users that chose to be
  Advanced Users in their profile see the blacklisted spaces ?
 
 
  yes.
 
 
  Maybe
  the intermediary level could be this one.
 
 
  I don't think we need one ATM.
 
 
  I'm not sure what the proposal is about exactly.
 
  Well it's not a proposal yet, rather an idea.
 
 
  Some open questions: Would the macros stay where they are currently
 located?
 
  If you ask me some should be moved already (like {{spaces}} and
  {{tags}}), since they are located in documents that already have
  another purpose, and thus can not benefit from a potential
  WikiMacroClassSheet (that for example could display the usage of the
  macro and its parameters ; thus becoming a sort of self-contained
  documentation for the held macro)
 
 
  Well I'm not sure. IMO the dashboard should be moved to a dashboard
 application and that spaces macro could be moved to that dashboard
 application.
  Recent Activity should be moved to an Activity application too and the
 activity macro there too.
 
  Basically I still believe strongly that we need to list all our default
 XE pages and assign them an application. I had done that exercise one and
 created the jira components in XE asa result. Maybe we should revisit this
 and do this mapping now?
 
 
  Shouldn't macros stay with their apps?
 
  Yes they should.
  Right now we don't even have a rule for where to put applications
  documents (in their own space ? with a Code suffix ? in the XWiki
  space ? somewhere else ?)
 
 
  Yes we need to define that too. We've been quite poor in term of wiki
 content organization and as a result I feel that our default wiki content is
 a bit of a disorganized mess. We should improve. Want to lead a proposal?
 
 
  I think the (not existing) UI at Macros.WebHome should retrieve and
  list documents from the entire wiki, not just the Macros space

Re: [xwiki-users] where put macros?

2010-11-03 Thread Jerome Velociter
On Wed, Nov 3, 2010 at 11:52 AM, Jean-Vincent Drean
jean-vinc...@drean.org wrote:
 On Wed, Nov 3, 2010 at 11:32 AM, Jean-Vincent Drean
 jean-vinc...@drean.org wrote:
 On Wed, Nov 3, 2010 at 11:04 AM, Jerome Velociter
 jerome.xw...@gmail.com wrote:
 On Wed, Nov 3, 2010 at 10:47 AM, Guillaume Lerouge guilla...@xwiki.com 
 wrote:

 +1 for a better separation as well. I regularly give demos of XWiki and
 landing on a first page with all the technical spaces is indeed confusing
 for users.

 +1 for a better handling of hidden items in the wiki.

 I agree. Maybe it's time we thing about typed spaces.

 It could start with something light such as a XWiki.SpaceClass with
 only a pretty name (quite needed too if you ask me) and a category
 list


 We indeed need a pretty name for spaces and wikis (currently handled
 in wiki descriptors). I think this could go in the XWikiPreference
 class. Category ? Do we really need to categorize spaces which already
 are categories ?


 Ok I read too fast. If the category is here to be able to mark a space
 as technical, I think it's like using a bazooka to kill a fly

No I think it could be more than that.

You could have spaces of type Content, of type User space, of type
Application or Application code, etc.

. WDYT
 about hiding spaces to basic users when all the pages within the space
 are hidden ? (of course the hidden page feature would need to be
 finished, we'd need APIs to retrieve them for advanced users).

That would work.

Jerome



 Thanks,
 JV.

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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Jerome Velociter
Actually I've been thinking maybe we could provide a Macros/ space
with XE. The home page would be a improved version of the current
XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
form to create a new macro, some documentation, etc.)

WDYT?

Jerome

On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree arnaud.bour...@gmail.com wrote:
 2010/11/2 Thomas Mortagne thomas.morta...@xwiki.com:
 On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
 calebdeli...@lavabit.com wrote:
 If you're contributing a macro then just log in and fgo to this page.
 http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
 It will put the macro in the Macros space and automatically add it to the 
 index.
 Thanks for contributing to code.xwiki.org ;)

 I think Thomas was talking about his how macro space, not where to put
 contributed macro documentation.


 Yes, thanks Thomas,
 I decided to used Macros space.

 Arnaud.


 Caleb

 On 11/02/2010 04:57 AM, Arnaud bourree wrote:
 2010/11/2 Caleb James DeLisle calebdeli...@lavabit.com:
 In your own wiki I think you want to put macros in a space where you will 
 be able to find them
 easily. The XWiki space is full of important internals and I wouldn't 
 recommend putting any macros
 in there.
 Macros sounds like a fine choice.

 I ask question more for macro we contribute to

 Arnaud.


 Caleb

 On 11/02/2010 04:40 AM, Arnaud bourree wrote:
 Hello,

 Where is the best space to put macros?
 I check in some macro from code.xwiki.org, and find that macros are
 commonly put in XWiki, Macros or Macro space.
 I've a preference for Macros as it self explanatory and I think XWiki
 space more dedicated to XE pages.

 What do you think?

 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




 --
 Thomas Mortagne
 ___
 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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Jerome Velociter
Hi Vincent, all,

See below

On Tue, Nov 2, 2010 at 10:46 PM, Vincent Massol vinc...@massol.net wrote:

 On Nov 2, 2010, at 7:47 PM, Thibaut Camberlin wrote:

 On Tue, Nov 2, 2010 at 3:05 PM, Jerome Velociter jer...@xwiki.com wrote:

 Actually I've been thinking maybe we could provide a Macros/ space
 with XE. The home page would be a improved version of the current
 XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
 form to create a new macro, some documentation, etc.)

 WDYT?


 This polishing would empower a standard user to use this XWiki advanced
 feature.

 I don't quite agree. Standard users shouldn't see this space. it's something 
 technical and 99% of wiki users don't want/need to see it (and they won't 
 even understand it). So for me this space would need to be hidden from simple 
 users (same as for other tech spaces).

Then we should probably hide them from the WYSIWYG tooIbar too, I guess ;)

Seriously, the space could be blacklisted, but it should be discussed,
I'm not sure we want to have only admins seing it (personally I see
that space as being documentation on macros existing in the wiki
before being a place to create new macros - so not so technical in
the end).

Maybe in some distant future we should have an intermediary level
between Normal users and Admins. BTW do users that chose to be
Advanced Users in their profile see the blacklisted spaces ? Maybe
the intermediary level could be this one.


 I'm not sure what the proposal is about exactly.

Well it's not a proposal yet, rather an idea.

 Some open questions: Would the macros stay where they are currently located?

If you ask me some should be moved already (like {{spaces}} and
{{tags}}), since they are located in documents that already have
another purpose, and thus can not benefit from a potential
WikiMacroClassSheet (that for example could display the usage of the
macro and its parameters ; thus becoming a sort of self-contained
documentation for the held macro)

Shouldn't macros stay with their apps?

Yes they should.
Right now we don't even have a rule for where to put applications
documents (in their own space ? with a Code suffix ? in the XWiki
space ? somewhere else ?)
I think the (not existing) UI at Macros.WebHome should retrieve and
list documents from the entire wiki, not just the Macros space. Same
as the scheduler (I changed that behavior just recently by the way - I
wanted my application scheduler jobs in my application space, not in
the Scheduler space - see http://jira.xwiki.org/jira/browse/XASCH-56)

Does it mean a new platform/application in svn?

There is already one : the wikibridge I think, with just one
document now (the name is not correct though, I agree)

 What macros go there? When do we use wiki macros vs java macros (we haven't 
 really decided on this I think)?

I'm quite sure you will not agree, but I would say generic (i.e. not
tied to a particular application) wiki macros could go there. For
example {{spaces /}} or even {{activity /}} which goes beyond just the
dashboard app.

 Will java macros also be listed on that home page (they should IMO)?

Yes they should. Maybe not under the exact same form, but they
definitely should be listed and documented here


 Generally speaking I'm rather +1 (I'd like macros to stay in their apps 
 though).

Cool. I'm +1 too and +1 to have the possibility for apps to bring
their own macros.

Jerome.


 Thanks
 -Vincent

 PS: I didn't even know about 
 http://localhost:8080/xwiki/bin/view/XWiki/WikiMacros ;) I wonder why it's 
 not already using a livetable

 Here is my +1.



 Jerome

 On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree arnaud.bour...@gmail.com
 wrote:
 2010/11/2 Thomas Mortagne thomas.morta...@xwiki.com:
 On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
 calebdeli...@lavabit.com wrote:
 If you're contributing a macro then just log in and fgo to this page.
 http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
 It will put the macro in the Macros space and automatically add it to
 the index.
 Thanks for contributing to code.xwiki.org ;)

 I think Thomas was talking about his how macro space, not where to put
 contributed macro documentation.


 Yes, thanks Thomas,
 I decided to used Macros space.

 Arnaud.


 Caleb

 On 11/02/2010 04:57 AM, Arnaud bourree wrote:
 2010/11/2 Caleb James DeLisle calebdeli...@lavabit.com:
 In your own wiki I think you want to put macros in a space where you
 will be able to find them
 easily. The XWiki space is full of important internals and I wouldn't
 recommend putting any macros
 in there.
 Macros sounds like a fine choice.

 I ask question more for macro we contribute to

 Arnaud.


 Caleb

 On 11/02/2010 04:40 AM, Arnaud bourree wrote:
 Hello,

 Where is the best space to put macros?
 I check in some macro from code.xwiki.org, and find that macros are
 commonly put in XWiki, Macros or Macro space.
 I've a preference for Macros as it self explanatory and I think
 XWiki
 space more dedicated

Re: [xwiki-users] [xwiki-devs] [VOTE] [wysiwyg] Displaying the macro id and searching for it in the wysiwyg insert macro wizard

2010-06-23 Thread Jerome Velociter
+1

Jerome.

- Original Message -
From: Anca Luca lu...@xwiki.com
To: XWiki Developers d...@xwiki.org, users@xwiki.org
Sent: Wednesday, June 23, 2010 2:44:14 PM GMT +01:00 Amsterdam / Berlin / Bern 
/ Rome / Stockholm / Vienna
Subject: [xwiki-devs] [VOTE] [wysiwyg] Displaying the macro id and searching 
for it in the wysiwyg insert macro wizard

Hi all,

I wanted to insert a macro in a page using the wysiwyg and I noticed 
that the macros filter (search box on top right) is not searching in the 
macro ids.

For example, if I try to write toc I get no results. If I write 
table I get the Table of contents macro as result, since its name 
matches. I found this a bit annoying in my case, since i know the 
macroid (if I were to write it in the wiki syntax) and I cannot find the 
macro (still, I'm using the wysiwyg because I can never remember macro 
params). Also, I use the search function because it's far easier to 
filter it out then scroll for it in the list.

WDYT about searching in the macro ids as well? (1)

Also, the macro id is not displayed. This is good for simple users for 
which it has no meaning, but there can be a situation when 2 macros have 
the same name and same description (e.g. void description) and users 
would want to be able to differentiate one from the other in the macros 
list, even the simple users, I would say (for example because they 
always want to use one macro of the 2 and they can never tell one from 
the other only by name).

WDYT about displaying the macro is as well? (2) of course pretty small 
and greyed out, like some advanced metadata.

Marius said it's no big deal to implement neither, as long as we agree.

My +1 for both (1) and (2).

Thanks,
Anca



___
devs mailing list
d...@xwiki.org
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] [Idea] Modern skin for modern browsers

2010-06-22 Thread Jerome Velociter

- Ecaterina Valica vali...@gmail.com wrote:

 Hi,
 
 When the CSS3 fever began, Raluca Stavro came to me and asked me what
 I
 think about making a HTML5+CSS3 skin. My first answer was that is not
 gonna
 happen. We invest very much in making our skins have cross-browser
 support
 (especially old versions of IE). This is one of our strengths, but
 also the
 reason we limit ourselves from innovation.
 
 When I'm talking about a modern skin I'm not only referring about
 HTML,
 JS, CSS (having transparency, corners, multiple backgrounds, shadows
 without
 having to triple the code and the number of hacks), but it's about
 all
 cool/experimentation features, that boosts productivity, minimize
 code
 lines, etc. but lack all/old browser support (SVG, location awareness,
 CSS3
 calc etc).
 
 So, in my opinion this would be an experimentation/shiny skin that by
 comparison would make old browsers supporters and lovers to quit their
 old
 behaviors and embrace the future  :)  :p
 
 So, the questions I have are:
 
 1) would this be possible? would anyone want to do this sort of thing?
 I
 know the biggest problem is gonna be the maintenance, but could bring
 lots
 of innovation and productivity.

For lot of cases (that is at least everything that includes JS, and maybe more) 
we should be able to add such new features on top of the existing UI, i.e. 
without the need to create a dedicated skin. Take for example attachment Drag  
Drop in the attachment footer tab. We just detect the feature and offer it if 
supported (do nothing  if not).

 
 2) what feature/improvement/thing do you think it would be the most
 needed
 for a new modern skin (the topic somehow go beyond the skin
 boundaries)?

Right now I think of 
- attachments DD
- upload with progress bar
- growl-like client notifications (w/ WebSocket)
- local drafts (with localStorage)
- a profile picture sizing/cropping tool using canvas
- ... I'm sure a lot more :)

Jerome.

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


Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-17 Thread Jerome Velociter
Hi.

See below

- xManish shresthaman...@gmail.com wrote:

 Jerome Velociter wrote:
  
  Hi Nithya, Manish
  
  Have you checked
 
 http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources
  ?
  
  In particular :
  
  /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}
  HTTP Method: PUT
  * Accepted Media types:
o application/xml (Page element)
o text/plain (Only page content)
o application/x-www-form-urlencoded (allowed field names:
 title,
  parent, content)
  
  Is something not clear about it ? Not working ?
  
  Thanks,
  Jerome
  
  
 
 Hi Jerome,
 Thanks for the reply. I was able to create the page afterwards. Sorry
 for
 the impatience :)

Sorry if my message felt harsh, that was not the intend :)

 However, today I am into different but similiar situation. I need to
 create
 users in XWiki through REST Api.
 Is it possible? How to do it?

Currently, I'm not sure you can perform this as an atomic operation. 
Unless maybe your wiki runs with the implicit XWikiAllGroup setting (see 
http://jira.xwiki.org/jira/browse/XWIKI-2116 )

What you have to do is then use the object REST api ( 
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HObjectresources
 ), creating a page with an object of class XWiki.XWikiUsers
If you don't have the implicit XWikiAllGroup then you need to add an object of 
class XWiki.XWikiGroups with the created user as member, to XWiki.XWikiAllGroup 
document.

I agree an API to directly hit and create users, under /wikis/{wikiName}/users 
would be nice.

Regards,
Jerome.

 
 Thanks,
 Manish
 -- 
 View this message in context:
 http://xwiki.475771.n2.nabble.com/How-to-add-a-page-with-contents-in-xwiki-through-Rest-api-tp4520594p5192646.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] [Vote][Proposal] Rights Management

2010-06-10 Thread Jerome Velociter
Hi Caty, all,

It took me some time and thinking to figure out how the UI works and what the 
yellow highlight means. I'm not sure we reduced complexity, which was one of 
the objective of the UI redesign. If this is basic, I imagine the advanced UI 
will be pretty scary :)

Once you understand it, the UI makes sense. The visual clue that specifiying a 
right to evalica forbid the same right for all group and guest is very good.

Note: I have not followed the thread about this UI redesign (my look at it is 
fresh, for what it worth).

Jerome.


- Ecaterina Valica vali...@gmail.com wrote:

 Hi,
 
 For a while we've been discussing how the new Rights Management UI is
 gonna
 look like. After 5 prototype versions, we may have reached a
 conclusion.
 
 Please take a look at:
 *Prototype*
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights51Space
 *Explanations*
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/RightsProposal
 
 Please cast your vote if this is gonna be the final Rights
 representation,
 so that we may start the implementation.
 my +1
 Any feedback is welcomed and we can still added improvements to this
 version.
 
 The current version is a collaborative work done by me, Denis
 Gervalle,
 Raluca Stavro, Alex Busenius, Roman Muntyanu and many others
 (Guillaume,
 Sergiu, Vincent, Thomas). Thanks everyone for participating in the
 process.
 
 Thanks,
 Caty
 
 p.s: former discussion about mocking process can be seen at
 [Proposal]
 Rights Management UI http://markmail.org/thread/zgzufskvhe6xt6ey
 ___
 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] Display external data using LiveTable Macro

2010-05-12 Thread Jerome Velociter
Hi Ryszard,

If you want to query external URLs you will need to proxy the requests. The 
url parameter is limited by browsers same origin policy. To proxy the request 
you can have a result page with a groovy script that makes the HTTP requests to 
the external URL and outputs it. It has a performance cost, though, since it 
means 2 requests where you would do only one with an internal URL. 
Another alternative is to make the livetable support JSON with padding 
technique (http://en.wikipedia.org/wiki/JSON#JSONP) ; it's not very complex, it 
just needs an alternative method to fetch the data (instead of AJAX request) + 
an option to activate this method. Though it's a bit touchy security-wise, not 
sure we would want to have this available by default (but could be discussed).

Jerome.


- Ryszard Łach ryl...@gmail.com wrote:

 Hi!
 Does anybody know how to display some external data using LiveTable
 macro? I
 can see in doc, that there is an 'url' alternative datasource
 (alternative
 to className and resultsPage), but I cannot find any examples using
 it.
 
 I've tried to write to the text file the JSON output used by the
 macro, then
 I put the file on some http server and try to use its url in macro
 invocation, but it does not work.
 
 TIA,
 
 R.
 
 -- 
 First they ignore you. Then they laugh at you. Then they
 fight you. Then you win. - Mohandas Gandhi.
 ___
 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] [Proposal] Selective Export UI

2010-04-28 Thread Jerome Velociter
 On 04/28/2010 05:17 PM, Guillaume Lerouge wrote:
 Hi,

 On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com
 wrote:

 Hi,

 Please provide feedback for the Selective Export UI:


 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal

 PS. The HTML+CSS is not final and it's tested only in Firefox. It will
 be
 improved if it gets positive feedback.
 If it doesn't display correctly, please use the IMG to visualize.


 I like it a lot. I only have one outstanding question: what happens for
 a
 space with 1000+ documents in it? How does the UI scale?

 I'm asking because given the current implementation of our treeview I
 know
 that this can be a huge PITA.

 We're NOT going to use the current treeview, no way.

In my opinion we should actually aim to replace the treeview with this one
(that's why I initially referred to it as a new 'extensible' treeview, in
the sense it could be used for navigation in its simplest mode, but could
be extended for selection).

I'd also like to see how it scale (in terms of UI) to a large number of
documents.

What about the parent/children relationship? Should we imitate what the
current treeview does? If we were to replace the treeview by this new one,
should it behave as the old one, or should it display the pages flat ?

Jerome.


 Guillaume


 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 devs mailing list
 d...@xwiki.org
 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] XWiki Logo Challenge

2010-03-30 Thread Jerome Velociter
I vote for +0.9 for 16B and +0.1 for 4A

I feel 16B catches the spirit of XWiki.org quite good -
http://twitter.com/jvelo/status/11142009451

Jerome.


 My favorite is 15.

 * nice work done for 15 but i find the logo too similar to Atlassian
 logo (any basic human based logo would look too Atlassiannish to me i
 think)


 I strongly disagree that just because it represent a people, it is
 Atlassian
 like, they do not hold the exclusivity of people logos.
 Atlasian logo is like a weight-lifter that lift the world, very straight
 on
 its foot. Nothing to do with a happy jumping man, using really curved
 shape
 at all !

 XWiki is about peoples sharing information and compare to most other logo,
 15 is one that have the most interesting evocation.
 Without dash, in red or another color, avoiding blue (even if I like it)
 and
 probably using a more curved font to improve, if needed, the clear
 difference it have with the Atlassian logo.
 I would be curious to see what Vishal could propose with some more work.

 19 would be my second choice, since it is curved, and even nice straight
 logo like 7, 8 or 16 evoke to me some inflexibility or technicality, which
 is frightening.

 12 could be interesting as a continuation on the initial theme, but it
 would
 be less distinctive with XWiki.com, probably a nice evolution for them not
 for the open-source one.

 1, 2 and 13 are not scaling. 17 is nice, but not scaling and evocation is
 inappropriate. Appart for not being easy to scale, I feel 4 is not
 readable
 for newcomers, using only 2 pencils, could probably helps there.

 Many thanks to all designers anyway for their proposal and please do not
 feel hurt by my remarks that I really hope to be constructive.

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



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


Re: [xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.2.1 Released

2010-02-27 Thread Jerome Velociter
On 2/27/10 12:33 PM, Thomas Mortagne wrote:
 The XWiki development team is pleased to announce the release of XWiki
 Enterprise and XWiki Enterprise Manager 2.2.1.

 This is a bug fix release for the 2.2 branches.

 It fixes mainly too important regressions around documents parents
 handling and xar import so if you are using 2.2 you should really
 upgrade to 2.2.1.

 New features

  * XWIKI-4922 - XWiki translation into catalan language
  * XWIKI-4938 - Provide an action for sub queries

 Improvements:

  * XWIKI-4926 - Finish covering DocumentAccesBridge with new
 DocumentReference and AttachementReference
  * XWIKI-4884 - Hide the first and last new line when editing a
 standalone macro
  * XWIKI-4909 - Upgrade to Pygments 1.2.2
  * XAADMINISTRATION-113 - Make registration page configurable from
 administration sheet
  * Updated translations

 Important Bugs fixed:

  * XE-607 - Cannot use Main.Dashboard as a space dashboard of a
 blacklisted space
  * XE-605 - Documentation about html macro is wrong in XWikiSyntax page
  * XE-604 - Link to RSS feed on dashboard when used as space
 dashboard points to global RSS feed
  * XWIKI-4929 - XWikiDocument#getParent and setParent does not
 serialize/resolve the reference based on the document but on the
 current context
  * XWIKI-4907 - Can't link to recently modified pages
  * XWIKI-4856 - Charset errors on macro insertion
  * XWIKI-4878 - Code macro 2.0 - extra newline inserted
  * XWIKI-4915 - Code macro 2.0 - inline language=none uses non-monospace 
 font
  * XWIKI-4948 - DocumentModelBridge should not contain any set methods
  * XWIKI-4672 - Freestanding image/links should be protected in
 xwiki/2.0 renderer when before or after word that could break it when
 parsed
  * XWIKI-4413 - Livetable does not properly empty its cache when
 sorting order change
  * XWIKI-3899 - The LiveTable does not filter correctly documents
 when the + character is used in the filter key
  * XSCOLIBRI-199 - Syntax highlighting uses non-monospace font
  * XSCOLIBRI-194 - In inline mode, the fullscreen UI doesn't use
 the current theme


* XWIKI-4937 Importing a new document with 'add new version to existing 
history' loses first version of the document

 For more information see the Releases notes at:
 http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise221
 and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM221

 Thanks
 -The XWiki dev team
 ___
 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] Registering an event listener automatically

2010-02-24 Thread Jerome Velociter
On 2/24/10 5:24 PM, Caleb James DeLisle wrote:
 If you're talking about an eventListener in a groovy script, I think
 it's done with a scheduler. You can look at Vincent's IRC bot which
 does that very thing.
 http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/

We should probably think about initializable scripts to avoid having 
to perform this scheduler trick.

An object of class XWiki.InitializableScript with a script text area?

Jerome.



 Caleb James DeLisle


 Rieken, Joshua wrote:
 Hello,

 I need to find the best way of registering an event listener automatically 
 on wiki startup. Right now I have to manually register the listener in a 
 manner similar to the one illustrated in the Groovy Notification Tutorial 
 (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial).

 Thanks in advance for any help.

 - Joshua

 ___
 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


Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Jerome Velociter
On 2/24/10 5:49 PM, Vincent Massol wrote:

 On Feb 24, 2010, at 5:30 PM, Jerome Velociter wrote:

 On 2/24/10 5:24 PM, Caleb James DeLisle wrote:
 If you're talking about an eventListener in a groovy script, I think
 it's done with a scheduler. You can look at Vincent's IRC bot which
 does that very thing.
 http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/

 We should probably think about initializable scripts to avoid having
 to perform this scheduler trick.

 An object of class XWiki.InitializableScript with a script text area?

 Yes we have this need that we've discussed with Thomas in the past. I don't 
 think we have a jira issue if you want to create one.

http://jira.xwiki.org/jira/browse/XWIKI-4936

Jerome.


 Thanks
 -Vincent

 Jerome.



 Caleb James DeLisle


 Rieken, Joshua wrote:
 Hello,

 I need to find the best way of registering an event listener automatically 
 on wiki startup. Right now I have to manually register the listener in a 
 manner similar to the one illustrated in the Groovy Notification Tutorial 
 (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial).

 Thanks in advance for any help.

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

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


Re: [xwiki-users] LiveTable column titles

2010-02-19 Thread Jerome Velociter
On 18/02/10 15:04, Josh wrote:
 Guillaume Lerouge wrote:
 Hi Joshua,

 On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
 joshua_rie...@reyrey.comwrote:

 I am using the LiveTable macro to build a table similar to the one in
 XWiki.Tableview. I have custom columns and I want to display a column's
 pretty name as its header, but I can't find a way to pass a column pretty
 name in the column properties or otherwise set the column header. The only
 way I've found to set this column header pretty name is to pass a
 translationPrefix option in the table options.

 Is there any way to set the column headers to a pretty name without
 changing / creating translation keys in the core?


 Yes.

 - Create a page named something like Space.LivetableTranslations
 - In this page, add your keys in the following way:
 prefix_columntitle=Column title nice translation
 - Go to the administration, in the Programming section, and add
 Space.LivetableTranslations in the internationalization document 
 bundles
 field  save


 Ah, excellent. Thanks.

 I do agree with Vincent that this should not be mandatory. It would be
 nice to have a name parameter or something similar in the column options.

Done. This will be possible starting with XE 2.3M1

See http://jira.xwiki.org/jira/browse/XWIKI-4912

Regards,
Jerome.


 -Joshua

 You're done :-)

 Guillaume

 ___
 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


Re: [xwiki-users] LiveTable column titles

2010-02-19 Thread Jerome Velociter
On 19/02/10 16:47, Jeremie BOUSQUET wrote:
 Hello,

 I'd like to ask for a precision ... Will it replace the translation  page
 feature, or be another possibility (or maybe will we have to give a
 translation property name to have old behaviour ?)

The strategy will be :

- If a column displayName option is passed, this is the name that wins
- If not, and if a translation prefix is passed, then it used
- and if not, the column technical name is used (doc.title for example)

Jerome.

 Thanks,
 Jeremie

 2010/2/19 Jerome Velociterjer...@xwiki.com

 On 18/02/10 15:04, Josh wrote:
 Guillaume Lerouge wrote:
 Hi Joshua,

 On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua
 joshua_rie...@reyrey.comwrote:

 I am using the LiveTable macro to build a table similar to the one in
 XWiki.Tableview. I have custom columns and I want to display a column's
 pretty name as its header, but I can't find a way to pass a column
 pretty
 name in the column properties or otherwise set the column header. The
 only
 way I've found to set this column header pretty name is to pass a
 translationPrefix option in the table options.

 Is there any way to set the column headers to a pretty name without
 changing / creating translation keys in the core?


 Yes.

  - Create a page named something like Space.LivetableTranslations
  - In this page, add your keys in the following way:
  prefix_columntitle=Column title nice translation
  - Go to the administration, in the Programming section, and add
  Space.LivetableTranslations in the internationalization document
 bundles
  field   save


 Ah, excellent. Thanks.

 I do agree with Vincent that this should not be mandatory. It would be
 nice to have a name parameter or something similar in the column
 options.

 Done. This will be possible starting with XE 2.3M1

 See http://jira.xwiki.org/jira/browse/XWIKI-4912

 Regards,
 Jerome.


 -Joshua

 You're done :-)

 Guillaume

 ___
 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

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


Re: [xwiki-users] Still issues with livetables

2010-02-12 Thread Jerome Velociter
Hello Jeremie,

On 2/12/10 2:41 PM, Jeremie BOUSQUET wrote:
 Hello,

 I still have issues with livetables ... I'm willing to investigate, but a
 little help would be appreciated :)

 I'm basically wanting to show 2 fields of a custom class of mine. There are
 some hundreds of objects of this kind in my wiki.

 So I add the following in a page in 2.0 syntax

 {{velocity}}
 #set($collist = [ subject, startdate])
 #set($colprops = {
 subject : { type : text , link:view, size :
 50, filterable: true, sortable:true},
 startdate :  { type : text, filterable:false,
 sortable:true}
   })
 #set($options = { className:My.Class,
tagCloud:true,
rowCount: 10 })

 #livetable(myclass $collist $colprops $options)
 {{/velocity}}

 This results in an empty array displayed ... If I filter by typing 3 to 4
 letters of an existing subject, then SOMETIMES, it displays the related
 objects, but not always. Result is identical if I put the velocity part in
 1.0 syntax page. Tried to play and remove most of the fields options, still
 the same behaviour.

 I have retrieved the URL that generates the JSON data from the logs, put it
 in my browser, and it generates some JSON with 10 elements, as expected.
 There was an exception on date formatting though, so I removed the
 startdate field from the list, but still the same behaviour.

Can you check and make sure the JSON is valid ?

You can use http://www.jsonlint.com/ for example

Thanks,
Jerome.


 How could I investigate this issue ? Do you think it might be related to my
 installation ? Because all other livetables in the wiki work well, except
 some of them that are linked to custom classes (alldocs works pretty well).
 Could it be some special characters in subject text ? ('/', '[', ... ?)


 I'm on xwiki 2.2-RC2, tomcat 6, linux RH4.

 Thanks for help,
 Jeremie
 ___
 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] Security Level in JIRA

2010-02-10 Thread Jerome Velociter
On 2/10/10 11:46 AM, Guillaume Lerouge wrote:
 Hi Alex,

 On Wed, Feb 10, 2010 at 1:26 AM, Alex Buseniusthe_unkn...@gmx.net  wrote:

 Hello,

 How can I specify a security level mentioned in JIRA help
 (http://jira.xwiki.org/jira/secure/ShowConstantsHelp.jspa#IssueTypes)
 for a new issue?


 I think you need to create the issue, save it and then edit it again since
 the first issue creation screen doesn't display the security level IIRC.

That would not make much sense, since notifications emails are sent upon 
issue creation.

 From what I recall the field name is not security but confidentiality.

Jerome.


 Guillaume


 Regards,
 Alex Busenius
 ___
 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] IE 6 - Panels and footpage are not visible

2010-01-29 Thread Jerome Velociter
Max Bonbhel wrote:
 In IE 6 Panels and footpage are not visible for the whole wiki and all users. 
 It works proprely with Firefox.
 I'm using XWIKI 1.4.1 (I know that's old) hosting in JUG farm.

 There is a plan to upgrade version of XE in JUG FRAM ?

Hello Max,

Yes, we have this in the pipe and did not forget about it.
Right now we can not engage firmly on a date, but we'll come back to you 
soon - hopefully not too late :)

Cheers,

Jerome


 Any help,

 Thanks,
 ___
 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] Problem with a Downloaded Macro (RSSAggregator)

2010-01-25 Thread Jerome Velociter
Hello Rick,

You need to save the macro document (Macros.RssAggregatorMacro IIRC) 
with a user that has the programming access level granted.

Jerome.


Rick Hadsall wrote:
 I'm getting this after installing the RssAggregator macro XAR and using it in 
 a page:

 Failed to execute macro: groovy

 org.xwiki.rendering.macro.MacroExecutionException: You don't have the right 
 to execute this script
  at 
 org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:134)
  at 
 org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50)
  at 
 org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
 etc...


 Ideas? 

 Rick

 ___
 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] Contributed macro column for syntax 2.0

2009-12-17 Thread Jerome Velociter
On 12/17/09 3:54 PM, Jeremie BOUSQUET wrote:
 Hello,

 Good news as I created one, but had problems with flow in page that seem to
 be solved in this one, thanks to {{section}} I believe.

 But I see a little issue with this {{column}} and {{section}} macros, I
 pasted sample code in a page, and it works, but if I edit in WYSIWYG mode,
 it seems I have no way to edit the content of the {{section}}. Editing the
 macro properties just allow to modify the justify option, but to change
 the columns inside, you have to go for Wiki edit mode.

 If you want I can add it in JIRA ... Do you feel it as an issue or an
 improvement ? (or maybe just an issue from my side)


Indeed, there is a bug. Very likely on the macro side. Please create a 
JIRA issue, I'll fix it and releases 1.0.1

BTW the macro is in SVN, at 
http://svn.xwiki.org/svnroot/xwiki/contrib/projects/xwiki-macro-column/ 
if you want to contribute to it :)

Note that even with the bug fixed, we still have the general problem of 
how to edit rich macro content with the WYSIWYG. We've discussed this 
several times on the lists but sofar haven't moved forward nor decided 
on anything.

Cheers,
Jerome.

 Thanks and regards,
 Jeremie

 2009/12/16 Jerome Velociterjer...@xwiki.com


 Hello dear all,

 I've contributed a {{column}} macro for syntax 2.0 on code.xwiki.org.

 You can check it out at
 http://code.xwiki.org/xwiki/bin/view/Macros/Column20Macro

 Please report any issue you would have with it as well as feature
 requests on http://jira.xwiki.org/jira/browse/XCONTRIB under the Column
 Macro 2.0 component. (Doing this will help making the macro better and
 possibly integrating it later as a bundled macro with XE).

 Thanks and Regards,
 Jerome.
 ___
 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


Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Jerome Velociter
Note that it's easy to create a new code macro that would use a 
client-side library for coloring (or even an external service).

Check out 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial for 
more info.

Jerome.

On 12/16/09 7:04 PM, Carlo Camerino wrote:
 Hi,

 I would like to know if there is a way to change the default appearance of
 the code macro.
 Can I make it look like the one in confluence or the one in moin?

 thanks
 carlo
 ___
 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] Access to Bindings in Python

2009-12-09 Thread Jerome Velociter
Try xcontext instead. context is reserved in JSR223 so we had to 
rename it. See http://markmail.org/message/o2trzrnv5xts6x6v

Hope this helps,
Jerome.

On 12/9/09 2:50 AM, Josh Eastburn wrote:
 The documentation seems to indicate that bindings normally available in
 Velocity like $context should be available in other scripting languages, but
 accessing 'context' in Python (e.g. if context.action == 'inline':) always
 gives me problems. Any help?

 Thanks,

 Josh
 ___
 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] content being duplicated

2009-11-17 Thread Jerome Velociter
Hello Alex,

Does it happen on all pages, or just the one you've pointed to ?

Do you have some particular (JavaScript) extensions that are in mode 
Always Use ?

Jerome.

On 11/17/09 9:41 AM, Alex Voss wrote:

 Hi Guillaume,

 I have removed the duplicate content using the wiki editor and will use
 this one for a while, then switch back to WYSIWYG if it works to see if
 I can reproduce the problem. I know that it does not happen every time I
 edit with WYSIWYG (which I normally use).

 More than happy to add to your evidence. I am using CentOS 5.4 with
 MySQL 5.0, Tomcat 6.0 with .war deployment of xwiki enterprise 2.0.2. My
 brower is Firefox 3.5.5 on a Mac.

 Best,

 Alex

 Guillaume Lerouge wrote:
 Hi Alex,

 On Tue, Nov 17, 2009 at 2:04 AM, Guillaume Lerougeguilla...@xwiki.comwrote:

 Hi Alex,

 On Tue, Nov 17, 2009 at 1:16 AM, Alex Vossav...@cs.st-andrews.ac.ukwrote:

 Hi,

 I am having an interesting problem: content is getting duplicated in my
 XWiki. This seems to affect only one page in my wiki (at least I have
 noticed it only there).

 Interesting problem indeed :-)


 Parts of the content of the page get duplicated
 on that same page, see:


 https://e-research.cs.st-andrews.ac.uk/site/bin/view/Research+in+a+Connected+World+Book/
 (I will leave this unmodified for a few days)

 This is not just an artefact in the output. When I edit the content, the
 duplication is there. I can remove it and it disappears but the problem
 seems to re-occur. Any ideas what might be going on?

 Are you editing that page with the wiki editor or with the WYSIWYG editor?
 Can you confirm whether it happens with both editors or only with one of
 them?

 I think I've seen this behavior take place with the WYSIWYG editor in the
 past due to wrongly closed links and content that got duplicated in link
 labels but I haven't been able to reproduce it in a while...

 The best would be for you to provide a full step-by-step description of
 what you're doing when you edit that page and how to reproduce the problem
 locally.


 I've tried reproducing your issue on
 http://guillaume.myxwiki.org/xwiki/bin/view/Main/RandomTest but I wasn't
 able to make it happen so far.

 By the way, which browser / OS are you using?

 Guillaume


 Guillaume


 Best wishes,

 Alex

 --
 Alexander Voss
 SICSA Advanced Research Fellow
 School of Computer Science
 University of St Andrews
 http://www.cs.st-andrews.ac.uk/~avoss
 The University of St Andrews is a charity registered in Scotland : No
 SC013532
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



 --
 Guillaume Lerouge
 Product Manager - XWiki SAS
 Skype: wikibc
 Twitter: glerouge
 http://guillaumelerouge.com/






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


Re: [xwiki-users] how to declare in a js script that the editor can have more than one id

2009-11-11 Thread Jerome Velociter
On 11/11/09 1:10 PM, Marius Dumitru Florea wrote:
 Hi,

 Bubulina wrote:
 Hello,
 I found this link :
 http://code.xwiki.org/xwiki/bin/view/Modules/WysiwygEditorModule. It is an
 useful one, but if i wanna edit more than one html element(in this case
 textarea that has the id=demo) then it does now what to do.
 i tried making an array of hookedIds but that does not help either.
 my case scenario is something like this:
 i have a table with multipleinput type=text .. or textarea . they are
 grouped in a table(which had an id..thinking that if all elements are
 integrated in an table that has an id i am doing a step forward..quess not).
 each field has an id because when i press Edit i wanna edit all those
 elements from the table, except some labels lets say. So, folowing the
 example from the link above i tried, made a table, created input types and
 labels. just like a normal table. i gave ids to all the elements that i
 wanna edit later on. then when i call the editor on load in javascript, i
 have this variable there:hookId. this one can receive only one id?. my scope
 is to add as many ids as i need to so that when i press the edit button to
 be ablet to edit those   

 You need to instantiate as many editors as text-areas-to-be-replaced you
 have. In other words, each WYSIWYG editor instance replaces just one
 text area. That's why when you configure a WYSIWYG editor instance you
 specify just one hook id. So if you have:

 textarea id=foo/textarea
 textarea id=bar/textarea

 in order to replace both you have to wrote something like:

 Wysiwyg.onModuleLoad(function() {
 new WysiwygEditor({hookId:'foo'});
 new WysiwygEditor({hookId:'bar'});
 });

 Of course, it's more elegant if you mark all text areas to be replaced
 with a CSS class like:

 textarea id=foo class=richtextarea/textarea
 textarea id=bar class=richtextarea/textarea

 and then have:

 Wysiwyg.onModuleLoad(function() {
 $$('.richtextarea').each(function(textArea) {
   new WysiwygEditor({hookId:textArea.id});
 });
 });

Maybe we could offer that by default in xwiki.js, WDYT ?

Would be interesting in the case we would force the displayer of 
textarea object properties to add the CSS class when the XWiki class is 
configured to use the WYSIWYG.

(note I'd rather make the selector $$('textarea.rich') FWIW)

Jerome.

 Note that in case you want to edit properties of XWiki objects then it's
 easier to use the wysiwyg_editProperties velocity macro.

 Hope this helps,
 Marius


 this is a long shot, but it's my best idea yet. if you think there is
 something wrong in the logic, please tell me. did anybody ran into such
 stuff?
 thank you
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

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


[xwiki-users] [ANN] New Top Level Project : XWiki Contrib

2009-11-09 Thread Jerome Velociter
Hello all,

We are happy to inform you a new Top Level Project as been created : 
XWiki Contrib. (see http://www.xwiki.org/xwiki/bin/view/Main/Forge for a 
list of all Top Level Projects).

As its name state, The *XWiki Contrib Project* provides hosting for 
projects related to XWiki. These projects are not part of the official 
XWiki distributions and are not maintained by the XWiki development team.

The idea is that anyone with a project can be hosted in the XWiki 
Contrib project. XWiki Contrib can provide projects with:
* A SVN directory in the XWiki repository
* Issue tracking on XWiki's JIRA instance
* Documentation pages on xwiki.org websites.

To find out more about it and get the all the details, we encourage you 
to read the XWiki Contrib introduction at http://contrib.xwiki.org/

Now don't hesitate to request hosting for your project on the dev list 
or to bother us with any question related to this project.

Thanks,
Jerome, on behalf of the XWiki Development Team.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] New Top Level Project : XWiki Contrib

2009-11-09 Thread Jerome Velociter
Side note mainly for people working in the former SVN sandbox :

The sandbox is now part of the XWiki Contrib project, which means your 
project has been moved. Likely under 
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/ if it has not been 
inactive for a too long period, under 
http://svn.xwiki.org/svnroot/xwiki/contrib/retired/ otherwise.

Four projects have been promoted directly in the projects directory 
(at http://svn.xwiki.org/svnroot/xwiki/contrib/projects/ ) since they 
have been released already (in their case, they were available for 
download on code.xwiki.org ; note released could also mean a first 
working version is tagged in SVN). Those projects are :
- xwiki-application-meetingmanager
- xwiki-application-multipageexport
- xwiki-application-recruitmentmanager
- xwiki-macro-todo

Jerome.

On 11/9/09 8:28 PM, Jerome Velociter wrote:
 Hello all,

 We are happy to inform you a new Top Level Project as been created :
 XWiki Contrib. (see http://www.xwiki.org/xwiki/bin/view/Main/Forge for a
 list of all Top Level Projects).

 As its name state, The *XWiki Contrib Project* provides hosting for
 projects related to XWiki. These projects are not part of the official
 XWiki distributions and are not maintained by the XWiki development team.

 The idea is that anyone with a project can be hosted in the XWiki
 Contrib project. XWiki Contrib can provide projects with:
 * A SVN directory in the XWiki repository
 * Issue tracking on XWiki's JIRA instance
 * Documentation pages on xwiki.org websites.

 To find out more about it and get the all the details, we encourage you
 to read the XWiki Contrib introduction at http://contrib.xwiki.org/

 Now don't hesitate to request hosting for your project on the dev list
 or to bother us with any question related to this project.

 Thanks,
 Jerome, on behalf of the XWiki Development Team.
 ___
 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] [myxwiki] new wiki request

2009-10-16 Thread Jerome Velociter
Hello Lumar,

I could not find a user with username lumar on myxwiki.org.

Can you please register at 
http://www.myxwiki.org/xwiki/bin/register/XWiki/Register so that we can 
create your wiki?

Thanks,
Jerome

On 10/16/09 2:37 AM, Lumar V. Bértoli Jr. wrote:

  * Explain what you'd like to use this wiki for

  I want to use this wiki for organize my family's informations.

  * Give the user name that will be the admin of the wiki. This is the
username under which you'll have registered on myxwiki.org

  lumar

  * Provide the domain namr prefix that you'd like for you wiki
(that's the name that will be used before myxwiki.org to access
the wiki).

  lumar




 Thanks for offering this service.

 Lumar
 ___
 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] Panel items by name

2009-10-13 Thread Jerome Velociter
Hello,

you can use the velocity $sorttool, bundled by default with XWiki.

http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HXWiki27sVelocityAPI
http://velocity.apache.org/tools/releases/velocity-tools-1.2/javadoc/org/apache/velocity/tools/generic/SortTool.html

AFAIR, I'd try something like :

#foreach($subdoc in $sorttool.sort($xwiki.getSpaceDocsName($doc.web)))

Jerome.

On 10/13/09 9:19 PM, Alexandre Souza wrote:
 Hi,

 I want to sort the items in a panel by name.
 I'm using as follows, but the items in the panel are not in alphabetical
 order.
 How can I do this with the same code below?

 #set($web = $doc.web)
#panelheader('Name')
  #foreach($subdoc in $xwiki.getSpaceDocsName($doc.web))
  #if($subdoc!='WebPreferences'  $subdoc!='WebHome')
  - [${doc.web}.${subdoc}]
  #end
  #end
#panelfooter()


 Thanks,
 Alexandre Souza
 ___
 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] playground authentication issue

2009-10-12 Thread Jerome Velociter
On 10/12/09 7:57 PM, roman.frie...@ropardo.de wrote:
 Hi Vincent,

 1) what about to allow all (also unregistered) users to play with sandbox and 
 blog?

We'll be able to do that when we will have (re-)implemented the captcha 
on edit (planned for 2.1)

Jerome.

 2) just to show an info message like You need an extra user for Playground?

 In every case allow to see the Playground Main for all users, also for 
 registered on dev/platform/xwiki.org :)

 Regards,
 Roman

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von 
 Vincent Massol
 Gesendet: Montag, 12. Oktober 2009 18:38
 An: XWiki Users
 Betreff: Re: [xwiki-users] playground authentication issue

 Hi Roman,

 On Oct 12, 2009, at 6:35 PM,roman.frie...@ropardo.de  wrote:

 Hi,

 if I'm logged in at dev.xwiki.org and call
 http://playground.xwiki.org/xwiki/bin/view/Main/WebHome
 the following error occurs:
  You are not allowed to view this document or perform this
 action.
 If I log out, the error doesn't occur and I can see the Playground
 Main
 page.
 If I I create (register) an extra user for playground.xwiki.org (with
 the same user id), it woks well.

 It's a little bit confusing...

 Indeed, playground has nothing to do with the documentation wiki at
 xwiki.org. You should absolutely not create a user on xwiki.org just
 to play since xwiki.org is not to play. People need to register to
 xwiki.org only if they intend to improve the documentation. Otherwise
 testing/playing is for playground.xwiki.org...

 The home page on playground.xwiki.org explains that you need to
 register to use it.

 What can we do to make it less confusing?

 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


Re: [xwiki-users] Doc Viewer Macro

2009-10-10 Thread Jerome Velociter
Strange... works good when hitting the URL manually (i.e. I can download 
and read the PDF.)

Do you confirm the macro works for PDF externals to the site ?

Maybe we have to look at generated headers to see why google wouldn't 
take PDF from XWiki attachments.

Jerome.

hel-o wrote:
 Also tried that. Not working too. 

 http://semantic-web.hel.at/bin/view/Glossary/Heuristik

 hel.


 Jerome Velociter-2 wrote:
 Hi,

 hel-o wrote:
 Hi,

 one usage question.

 macro is working. I'm trying to show an attached pdf in the macro. What
 is
 the correct url vor that?

 http://domain/bin/view/space/page/heuristik.pdf does not work
 It would be http://domain/bin/download/space/page/heuristik.pdf

 Of course for this to work, the pdf has to be viewable from the outsied 
 (i.e. google) withouth the need to login on the wiki.

 In a future version, I might add support for wiki-style reference, like 
 attach:heuristik.pdf or attach:space.p...@my.pdf.

 Hope this helps,
 Jerome

 PS: Please, don't hesitate to improve the macro documentation with 
 in-wiki document this usage.


 Thanks
 hel.


 Jerome Velociter-2 wrote:
 hel-o wrote:
 I imported it on a virtual Wiki the Macro is not available and when i
 try
 to
 view the DocViewerMacro Page i get the following
 Right. Wiki macros can only be added in the main wiki as of version 2.0, 
 and are available in all wikis.
 We plan to implement local wiki macros - isolated from one wiki to 
 another, with the possibility to have global macros visible from all 
 wikis -, in version 2.0.1 AFAIK (Vincent, can you confirm ?)

 Jerome.
 2009-10-02 16:31:34,152
 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro]
 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN 
 doc.XWikiDocument   - Failed to displ\
 ay field [description] in [view] mode for Object [XWiki.DocViewerMacro]
 2009-10-02 16:31:43,891
 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro]
 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR
 internal.DefaultVelocityEngine  - Exception in ma\
 cro #template at /templates/view.vm[line 19, column 5]
 2009-10-02 16:31:47,774
 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro]
 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN 
 web.XWikiAction - Uncaught except\
 ion: Error number 0 in 11: Uncaught exception
 Wrapped Exception: PermGen space

 Will also try on the main wiki.

 hel.



 Jerome Velociter-2 wrote:
 Hello Hel,

 There is nothing more to do.
 I've just tested on a XE 2.0, it works straight after import. You
 should 
 find the macro in the WYSIWYG macro dialog. You can also visit 
 XWiki.DocViewerMacro document : its usage is illustrated.

 If you think the installations instructions are still not clear,
 please 
 let us know what would have helped you, and how they could be
 improved.

 Thanks,
 Jerome.

 hel-o wrote:
 Hi,

 I'd like to use this macro. I imported the xar but couldn't find any
 other
 instructions for installation or use.

 Is this macro ready for use in 2.0?

 Thanks
 hel.


 -
 semantic-web.hel.at
 h...@hel.at

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


 -
 semantic-web.hel.at
 h...@hel.at

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



 -
 semantic-web.hel.at
 h...@hel.at

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




 -
 semantic-web.hel.at
 h...@hel.at


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


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

2009-10-10 Thread Jerome Velociter
Hi Roman,

Nice initiative, we need to organize better and generally improve our docs.

Quick remark : the valid english is Common Usage, Advance Usage, not 
Using.

I think the Common Usage (should we say Basic Usage ?) section would 
benefit from a short introduction explaining that XWiki is a wiki, and 
what a wiki is, before the list of links.
I would say the Understanding XWiki section could be located just 
after Common Usage, as it is still information basic users 
can/should read (as opposed to Advance Usage).

Programming of the Content sounds a bit weird, but the idea is there. 
Why not Programming in the wiki ?

Hope this helps,
Jerome

On 10/10/09 6:59 PM, Roman Friesen wrote:
 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

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


Re: [xwiki-users] XWiki request object argument list

2009-10-08 Thread Jerome Velociter
Hi Joshua,

The request object exposed a script API is nothing else than a Java 
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html

So you can call getParameterNames, for example in velocity :

{{velocity}}
#foreach($paramName in $request.parameterNames)
* $paramName
#end
{{/velocity}}

Hope this helps,
Jerome.

Rieken, Joshua wrote:
 Hi again,

 Is there a way to programmatically get a list of all arguments in an HTTP 
 request?
 I know you can access each argument if you know its name (e.g., 
 request.confirm), but
 is there a way to get a container of all provided arguments?

 Thanks,
 -Joshua-
 ___
 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] Doc Viewer Macro

2009-10-02 Thread Jerome Velociter
Hello Hel,

There is nothing more to do.
I've just tested on a XE 2.0, it works straight after import. You should 
find the macro in the WYSIWYG macro dialog. You can also visit 
XWiki.DocViewerMacro document : its usage is illustrated.

If you think the installations instructions are still not clear, please 
let us know what would have helped you, and how they could be improved.

Thanks,
Jerome.

hel-o wrote:
 Hi,

 I'd like to use this macro. I imported the xar but couldn't find any other
 instructions for installation or use.

 Is this macro ready for use in 2.0?

 Thanks
 hel.


 -
 semantic-web.hel.at
 h...@hel.at


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


Re: [xwiki-users] [xwiki-devs] Who can design nice and unique color themes for xwiki.org

2009-09-25 Thread Jerome Velociter
Jean-Vincent Drean wrote:
 +1 with that.
 Personal preference: I would prefer colorful backgrounds instead of a
 dark one (sad).
   

+1.

Could not we keep something close to the color scheme we already have 
(for backgrounds) ? (red for watch, blue for manager, green for XWS, etc.)

Jerome.

 Thanks,
 JV.

 On Fri, Sep 25, 2009 at 8:23 AM, Vincent Massol vinc...@massol.net wrote:
   
 Thanks Cati.

 I don't like that we change the text colors since I find it's hard to
 read on white for several of them. I'd prefer we only change the
 background color and leave the rest unchanged actually.

 WDYT?

 Thanks
 -Vincent

 On Sep 24, 2009, at 11:06 PM, Ecaterina Valica wrote:

 
 [Proposal 1]

 Color Variations for xwiki.org :

 XE - http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XE/XE.png
 XWATCH -
 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XWATCH/XWATCH.png
 XMANAGER -
 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XMANAGER/XMANAGER.png
 XWORKSPACES -
 http://incubator.myxwiki.org/xwiki/bin/download/ColorThemes/XWORKSPACES/XWORKSPACES.png
 
   
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

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

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


[xwiki-users] [Fwd: [xwiki-devs] Who can design nice and unique color themes for xwiki.org]

2009-09-24 Thread Jerome Velociter
I'm sure we have users that are good at colors too!

Would someone like to propose a theme for xwiki.org (or one of its 
sub-sites) ?

Jerome.

 Original Message 
Subject:[xwiki-devs] Who can design nice and unique color themes for 
xwiki.org
Date:   Thu, 24 Sep 2009 17:20:17 +0200
From:   Vincent Massol vinc...@massol.net
Reply-To:   XWiki Developers d...@xwiki.org
To: XWiki Developers d...@xwiki.org



Hi,

Since we're upgrading xwiki.org to 2.0 it would be nice to use the new  
colibri skin.

So who can design nice and unique color themes for xwiki.org?

Thanks
-Vincent

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

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


Re: [xwiki-users] The missing quality of xwiki?

2009-09-23 Thread Jerome Velociter
Hello Carsten,

Thanks for your email, it's very valuable feedback.

I will try to answer just your last question

In short : Yes it's worth downloading XWiki :)

You can check out what others have built with XWiki at 
http://www.xwiki.org/xwiki/bin/view/References/
You can take a look at http://www.curriki.org in particular, which demo 
well some of the extensibility features of XWiki. Curriki is a 
collaborative Web site or open educational resources, and is built using 
XWiki as a platform.

Now, of course not everything is perfect. On usability, we've invested a 
lot recently on this aspect for our XWiki Enterprise product (and we 
will continue to do so in future releases), but certainly less on the 
xwiki.org web site itself, which is something I agree we have to work on 
as well.

Again, thanks for your email. I hope you will find in XWiki what you are 
looking for.

Regards,
Jerome.

Carsten Heyl wrote:
 Hi anyone!

 Here is my transcript of trying to find out something about XWikis quaility.


 1. I started at the home page.

 Hey looks quite good. Not too much info, main Products presented well,
 good navigation.
 Looks promising.

 2. So take a look at the Products presented so prominent.

 Well done. Good overview about the products.

 3. So what problems do people have with XWiki, lets take a look at the FAQ.

 What the ?

 We want to use Wiki for structuring Information and XWiki itself does 
 not get a simple FAQ right?
 (Compare thet to http://ant.apache.org/faq.html)

 Hmm... maybe they got overwhelmed lately?

 No, latest changes date back to March of 2009.

1. The F in FAQ stands for frequently, so a split betwenn FAQ and 
 QA may be useful.
2. 204 Questions without any structuring? (compare to e.g. the ant 
 link above)
3. 73 unanwered FAQs?

 OK, so the XWiki don't care much for questions and usability?
 Hmmm can't believe that, lets try more.

 3. So what does it feel to use xwiki? Any sandbox or demo available?

 Hey great, main navigation contains a Playground, lets give it a try.

 Reading ... second generation (sounds promising) and how to start
 (they guide me, good!).

 So lets start.
 Configuring your wiki by clicking on the 'Administration' link at the 
 top right.

 Hmm, no Administration link, only Log-In and Register.
 Any info on the Log-In-Page? No.
 Does demo/demo work? No.
 Any info on the Playground-Startpage? No.
 Hey there is a sandbox-Space, lets dig. Hmm, no way to edit, just 
 Menus Show and Print.
 Maybe problems due to a brand new update? Hmm.
 Need to register? Lets try.
 This will allow you to edit pages, once the admin gives you appropriate 
 rights. OK, lets try nevertheless.

 4. While waiting for the mail, lets explore the playground via Quick 
 Links.

 Index - Hmmm, velocity errors and endless Loading ...
 What's New - RSS Included and my Registration is in, too. Looks good.
 Hmm Adminstrator changed XWikiPreferences, maybe the cause of my problems?
 Taking a look at the page.
 To edit preferences, please use the Administration page.  - If I only 
 could ...
 Blog - Lets add an Article - OK, needs Log-in. No Registration-EMail yet :-/
 Calendar - just some velocity code on the page, no calendar. :-(
 Photo-Album - Yeah someone managed to upload a photo.
 Tags - To tag a document, edit it and enter the tags. OK, later. (No 
 Registration-EMail yet)

 2 of 6 give errors right awy, hmmm gets disappointing.

 5. While waiting for the mail, lets explore the playground via What's New.

 Mail - Error number 4001 in 4: Error while parsing velocity page 
 XWiki.Mail Wrapped Exception: Failed to evaluate content with id Mail
 JavaScriptExtension - Hmmm looks pretty empty the page, can't figure out 
 what it is good for.
 StyleSheetExtension - Same here. Maybe thats part of the extensability, 
 but where would I find Information about the Extension and how to use it?
(The Information-Tab on he page does not help me.)
 AllDocs - Hmms same as Index, yeah it's the same page, so does not work.
 TreeView - even more empty than the Extension-Pages
 TableView - some endless loading, got bored after 2 minutes waiting for 
 loading to complete.

 Hmmm, not much Information for a wiki.


 My question to the xwiki users mailing list and the xwiki team.

 Does that represent typical xwiki experience?
 Does that represent the quality of care of the xwiki developers?
 Is it worth downloading xwiki and spending more time digging into it?

 Somewhat disappointed but not totally scared (yet :-),
 Carsten Heyl







 ___
 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] How to change space URL

2009-09-23 Thread Jerome Velociter
Guillaume Lerouge wrote:
 Hi Philippe,

 On Thu, Sep 10, 2009 at 3:00 PM, PHILIPPE BANCOURT 
 philippe.banco...@arkea.com wrote:

   
 One of our spaces has parenthesis in its name. That has created problems
 with the use of the URL , which contains (e) symbols.
 I tried to rename the space, unsuccessfully it delete it so I rolled back.

 Is there a way to change a space's URL ?

 

 Since a space is made of all the pages located within that space, the only
 way to change a space URL is to change the name of all the pages located in
 that space. You might be able to achieve this using a script.
   

For example. using this snippet 
http://code.xwiki.org/xwiki/bin/view/Snippets/RenameSpaceSnippet

Jerome.
 Guillaume


   
 Thanks for answer,










 Philippe Bancourt
 Crédit Mutuel Arkéa
 Intranet, Pôle Services  Technologie.
 Tél. 02 98 00 21 17
 Mob. +33 677401103
 email : philippe.banco...@arkea.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


[xwiki-users] [myxwiki] XWiki Enterprise 2.0 RC 2 Upgrade

2009-09-21 Thread Jerome Velociter
Hello,

myxwiki.org has been upgraded to XE 2.0 RC 2, if you own a wiki hosted 
there you should have a look at :
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20RC2

We also strongly recommend an upgrade to the latest wiki version. To 
upgrade you must download XE 2.0 RC 2 XWiki XAR from :
http://www.xwiki.org/xwiki/bin/view/Main/Download
And follow the upgrade guide available at :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments

To be notified of the myxwiki.org server upgrade you can follow myxwiki 
on twitter:
http://twitter.com/myxwiki

Thanks,
Jerome, on behalf of the myxwiki.org community
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is there any way to view all the pages created by an user

2009-09-10 Thread Jerome Velociter
Asiri Rathnayake wrote:
 2009/9/10 Hernández Cuchí, Francisco Ricardo francisco.hernan...@oepm.es

 Hi, brief question,



 Is there any way to view all the pages created by an user?


 try:

 #set($hql = where doc.creator='XWiki.UserName')
 #set($results = $xwiki.searchDocuments($hql, 0, 0))

 results will contain all the documents created by  XWiki.UserName user.

 For more examples see:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPrivilegedAPIsearch

The proper link is in fact :

http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples#HPublicAPIsearchDocuments

(you don't need to run a privileged search for this query, searchDocuments 
works fine as Asiri wrote)

Jerome


 - Asiri



 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

 ___
 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] Find Currently Logged In Users

2009-09-10 Thread Jerome Velociter
Hello,

This has been discussed in the past, see :

http://markmail.org/message/t6jazxmra6i732zk
http://markmail.org/message/uncktuyyudvltqjn

Thanks,
Jerome


Dilipkumar Jadhav wrote:
 Hello guys,
 Is there a way to find all the currently logged in users?
 For load testing purposes, it would be nice to know if we could get a head
 count of all those who are logged in.
 Thank you.

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

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


[xwiki-users] [myxwiki] XWiki Enterprise 2.0 Milestone 4 Upgrade

2009-08-27 Thread Jerome Velociter
Hello,

myxwiki.org has been upgraded to XE 2.0 Milestone 4, if you own a wiki
hosted there you should have a look at :
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M4

We also strongly recommend an upgrade to the latest wiki version. To
upgrade you must download XE 2.0 Milestone 4 XWiki XAR from :
http://www.xwiki.org/xwiki/bin/view/Main/Download
And follow the upgrade guide available at :
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUpgradingwikidocuments

XWiki Enterprise 2.0 Milestone 4 introduce a new skin : Colibri, declined
in several themes (it will be the default skin in future releases). Don't
hesitate to try it for your wiki on myxwiki and give us feedback about it.
Check
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M4#HColibriskin
for more information.

To be notified of the myxwiki.org server upgrade you can follow myxwiki on
twitter:
http://twitter.com/myxwiki

Thanks,
Jerome, on behalf of the myxwiki.org community.

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


Re: [xwiki-users] Is there a pilot in Workspace ?

2009-07-22 Thread Jerome Velociter
Hello,

Hervé Agnoux wrote:
 Hi,

 I have plainty problems with XWiki Workspace, and no response. 
 Perhaps my 
 english ?

 Last of them : I'm trying FAQTutorial 
 (http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial) ; first step 
 is search XWikiClasses.

The FAQ is an application for XWiki Enterprise. It's adaptable to XWiki 
Workspaces quite easily, though this require a little work from a 
developer (You can check out how other Workspaces applications are made, 
like the Blog or Files for example).

 Result (from Admin) : no document.

We've made the choice to hide all technical documents in workspaces even 
for the administrator users, since for most of them they do not make any 
kind of sense. You can point your browser to XWiki/XWikiClasses manually.

 I can't include a simple FAQ in workspace ?

 So XWiki Workspace doesn't work for me ?

Right now no developer is actively working on Workspaces. If you have 
technical insight and a little experience with XWiki you will be able to 
achieve adapting the FAQ to XWS. There is a draft tutorial targeting 
application creation in Workspaces at 
http://workspaces.xwiki.org/xwiki/bin/view/Drafts/WorkspacesApplicationDevelopmentTutorial.

Hope this helps,
Jerome


 ___
 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] mktree application

2009-05-25 Thread Jerome Velociter
Hello,

Dilipkumar Jadhav wrote:
 Hello everyone,
 I just finished updating an application 'mktree' and have created the
 application page in the codes section.
 This is just a simple script borrowed from the work of Matt Kruse and
 converts basic ul-li list to collapsible tree.
 I had to devise this since we are using this tree to drill-down to
 possible resolutions based on error symptoms.
 The helpdesk support has to chose between various nodes of the tree to reach
 a possible resolution.
 Of all the trees I saw, this was by far the simplest of all  easiest to
 implement. With a size of 4kb it was definitely not going to affect
 performance of the pages.
 This is my first ever contribution to the XWiki project. It is a very small
 contribution but I hope someone somewhere will find it useful.
 A big thanks to Jerome for his hint which helped me finish this application.

 Also, I have some questions about developing applications.
 1. What is the recommended size of the application .xar file? Is there a
 upper limit / benchmark beyond which the performance of the page in a wiki
 will be affected?

No there's not really an upper limit. Just the import of the XAR can be 
limiting, since XWiki right now has to load the whole XAR in memory. 
Even this should not be a problem if you stay reasonable (for example, 
the skin editor application 
http://code.xwiki.org/xwiki/bin/view/Applications/SkinEditorApplication 
embeds the dojo library + bespin code). Couples of mega bytes is 
definitely not an issue.
 2. What is the general opinion about plugins/applications developed in
 JQuery or some other javascript library?  I've been through a page on
 XWiki.org which rationalizes the use of javascript libraries. However, is
 JQuery completely off the list? Will this javascript library cause conflict
 with prototype  script.aculo.us? I've implemented a tooltip plugin based on
 the updated jTip library. I was really interested in contributing the
 tooltip application to XWiki.

Applications (or front-end extensions/plugins), are free to use any 
library they need. The good practice is to use the bundled libraries 
(prototype, scriptaculous, etc) versus non-bundled libraries (jquery, 
dojo or other) as much as possible, since it makes the pages smaller and 
it does not force the client to load a new file.

Of course, this is not always possible, for example when you want to use 
a tiers library which itself is based on a non-bundled library like 
jquery (like in your case). If you have to do this, right now there are 
too approaches : either you include the library as a JSX (so paste the 
code in a JSX object in a wiki document), or you attach the .js file to 
the document and inject the needed script tag from a JSX extension 
that makes use of this library (something like : document.write('script 
src=$doc.getAttachmentURL(mylib.js) ...') ; which is the preferred way 
for big libraries, since JSX objects have a limit in terms of content size.
In the future we will probably makes it easier for extensions to require 
external libraries from attachments, with a new SX plugin for example.

The conclusion is that it's better to use prototype if your need is a 
framework for DOM manipulations, AJAX, OOP-style javascript, etc; 
because it's bundled already in every page XWiki renders ; and use other 
libraries only when you really need it, of course taking care they are 
compatible with the ones bundled by default (there should be no problem 
with jQuery as far as I know, and there is non for sure using dojo).

Hope this helps.
Jerome

 Thank you all.
 ___
 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] new application css+image

2009-05-10 Thread Jerome Velociter
Hello,

If minus.gif is attached to the document that holds the SSX object, 
the right line is :

ul.mktree  li.liOpen.bullet { cursor: pointer; background:
url($doc.getAttachmentURL(minus.gif))  center left no-repeat; }

($doc instead of $xwiki)

Make sure you also said Yes to the parse content option of the SSX, 
and it should all work fine :)

Cheers,
Jerome


Dilipkumar Jadhav wrote:
 Hello friends,
 I am trying to use the work of Mark Strauss (mktree) found at
 http://www.javascripttoolbox.com/lib/mktree/ in xwiki application/plugin
 that allows creation of collapsible tree from a static ul and lit list.
 So far, I had it working through by adding the javascript and the css file
 by adding the actual path of these files in the presentation section of
 the admin dashboard.
 However, I wanted it to be more organized and make it available on demand.
 So i created the jsx and the ssx files in place of the javascript and the
 css files.
 So far so good.
 However, there are images that were referred by the css file which worked
 fine in the previous setup (basically they assign a plus and minus sign on
 the right of the ul and li elements).
 Now, I've attached these image files to the ssx. But I am not able to get
 the ssx to work with the images. The Javascript works fine from the jsx. The
 tree does collapse and expand as expected. However, the images from the
 style sheet does not show up.
 I've used the following line in the object edit mode of the ssx page:

 ul.mktree  li.liOpen.bullet { cursor: pointer; background:
 url($xwiki.getAttachmentURL(minus.gif))  center left no-repeat; }

 ...here minus.gif is attached to the ssx page. But no go.
 I did go through the various resources on skin customizations and the
 addsizes extension tutorial. I could not understand the use velocity to
 attach images technique in the addsizes tutorial. Is there a simpler way to
 make the ssx pick up the image files and behave just like a normal css
 file?...
 Any help would be appreciated.
 Thank you all.
 ___
 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] ModalBox Application Xar deleted

2009-05-07 Thread Jerome Velociter
Hi,

The link to download is now fixed on the Modal Box application page. It 
was 
http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplicationDownload, 
without the final s.
Sorry for that.

Cheers,
Jerome.

Dilipkumar Jadhav wrote:
 Hello friends,Found out that the page where the new ModalBox Application Xar
 is to be downloaded is a deleted page
 URL :
 http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplicationDownloads

 It looks like a really cool app to have on the wiki. For me, it will be a
 nice workaround to the balloon styled tooltip I had requested help with on
 the mailing list some time back.
 Hope the modal box is available soon...
 ___
 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] Problem with HSQLDB Database please Help!!

2009-05-06 Thread Jerome Velociter
Hi Remi,

Remi wrote:
 Thanks,
 I resolve my problem increasing limit size of java with the -Xmxsizem
 parameter!
 it was by default on -Xmx300m, and i need -Xmx600m.

 In order to understand...i would like to know what is really loaded in
 memory?

 Xwiki need to load all the database in memory?

No. XWiki caches in memory a maximum number of documents that you can 
configure.

  all the pages with join
 files? i thought one of interest of a database is to don't load all
 information? Our base is still pretty small today, it means in one year we
 will need 8Go of RAM? or we must change for Mysql?

HSQLDB is not meant for production instances in any case. It is a 
convenience distribution for testing. In a near future we will write a 
warning message next to the standalone distributions (jetty + HSQLDB) 
download links to state this clear and avoid any confusion.

For a production environment you will need to install XWiki in your own 
servlet container and configure it to use your own database.
Please refer to 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually
 
(and http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ in general).

If you need, XWiki SAS (http://www.xwiki.com) can provide you hosting or 
consulting to get the best out of your XWiki installation. 
http://www.xwiki.com/xwiki/bin/view/Services/

Regards,
Jerome.


 Thank you for your help



 Remi wrote:
 Thank you for your answer, but i need explanations.

 (0) Restart your container. And relaunch: What is the container? how? the
 java ? uninstalling and reinstalling it?
 (1) how to do? where can i manage theses settings?



 Niels Mayer wrote:
 On Tue, May 5, 2009 at 3:40 AM, Remi
 remi.pierr...@conseiltechno.comwrote:

   see in error message several lines with Cannot create
 PoolableConnectionFactory (Out of Memory) or Caused by:
 java.sql.SQLException: Out of Memory, but i need real help to
 understand
 and fix my problem.

 (0) Restart your container. And relaunch. Check to see if this error is
 still there:

 Wrapped Exception:  com.xpn.xwiki.XWikiException: Error number 0 in 3:
 Exception while hibernate execute Wrapped Exception: Could not create a
 DBCP
 pool. There is an error in the hibernate configuration file, please
 review
 If so, beg for additional assistance on list...  (Does this error arise
 from
 an out of memory condition or indicate  version mismatch between db and
 software?).

 Independently of that, eliminate out of memory error from possibilities:

 (1) Increase the memory on your java process. I've been running a vhosted
 1.8 system happily for over a month now, nonstop, with the following
 settings (YMMV, I'm running two large apps in tomcat):

 tomcat2040  0.5 60.2 1835160 1230408 ? Sl   Apr03 267:28
 /usr/java/default/bin/java -server -Xms160m -Xmx1024m -XX:PermSize=160m
 -XX:MaxPermSize=320m -Djavax.servlet.request.encoding=UTF-8
 -Dfile.encoding=UTF-8 -DjavaEncoding=UTF-8 -Djava.awt.headless=true ...

 Note the gargantuan 1.2g process size... but it just keeps running... It
 always eventually reaches it's 1.2g (-Xmx1024m) limit but doesn't give
 out
 of memory errors.

 (2) Check on additional customizations as needed. Increase fixed limits
 in
 your SQL connector, or in the db it itself? For example with
 MySQLhttp://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQLyou
 need to increase: -- max_allowed_packet=32M ...

 (3) Look into logs more carefully, and run some of the queries that are
 failing directly into your database. Potentially related, issues with
 large
 attachments:
 http://n2.nabble.com/Bug-%3A-unable-to-delete-attached-files-in-virtual-wikis-tp2434930p2440147.htmland
 http://n2.nabble.com/Hibernate-exception-when-trying-to-delete-attachment-tp2503343p2504053.html

 (4) Consult
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances
 for additional tips on Process size, turning off Monitoring, changing
 cache
 size, etc.

 Niels
 http://nielsmayer.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


[xwiki-users] Modal window UI component for XWiki (was Re: Javascript issue)

2009-05-06 Thread Jerome Velociter
Hi Adjin

I've added on code.xwiki.org a modal box extension based on 
http://www.wildbit.com/labs/modalbox/
You can find it here 
:http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplication

Starting with XWiki 1.9 Milestone 2 (to be released very soon), there 
will be a modal popup UI component that you will be able to reuse, too.
Check it on the release notes 
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19M2#HNewreusable7E7Ecomponents7E7E
 
(Note the releases notes are still work in progress until the actual 
release, there are even more new things in this release!)

Cheers,
Jerome.

Ajdin Brandic wrote:
 Hi

 I'm using a modal window (subModal) in my xwiki and things work fine
 until I try to use it while in 'inline' mode and using Firefox 3.0.10
 (IE works).
 The problem is that the modal window opens and closes straight away
 making the parent page go from 'inline' to 'preview' mode!!
 Looks like js method 'window.setTimeout' is not executing. 

 Has anyone had js probs in the past??  Do xwiki developers have any
 idea?


 I can see two errors in the Error console:
 Error: Permission denied to get property XULElement.accessibleType
 Source File:
 http://localhost:8082/xwiki/resources/js/prototype/prototype.js
 Line: 2015

 And 

 Error: Permission denied to get property XULElement.accessibleType
 Source File:
 http://localhost:8082/xwiki/bin/jsx/scripts/subModal?language=en
 Line: 1
 (Problem here is that xwiki displayed js script on one line)


 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

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


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

2009-04-30 Thread Jerome Velociter
Sergiu Dumitriu wrote:
 Frantisek Kall wrote:
 Hello Jerome,
 I understand MyXWiki.org is for non-profit organizations and individuals. I
 regularly download new (windows) versions and test them locally. Sometime
 system doesn’t function properly and I´m not sure if problem is in my
 installation or in system in general. So I´m looking for place, where I can
 test functionality and by sure that XWiki server is configured well. 
 Playground (http://playground.xwiki.org/xwiki/bin/view/Main/ ) would be
 enough, but there is no latest version usually. Recommend me how  I should
 do it, please. 

 Should we have a playground on the myxwiki farm, too?

Yes, why not.
There would be 2 things to keep in mind for people test-driving XWiki 
using it:
- we update the farm to development milestones (and sometimes even 
snapshots - it happened), so it's not latest stable version, it's 
really latest. (This means instabilities, though we try to avoid them 
can occur)
- as a consequence, features will be exposed for which no stable release 
exist yet. So the test drive will not be 100% the reflect of what can be 
installed by an organization in a production environment.

If we make that clear (on the home page for example), I don't see any 
issue creating a playground on myxwiki.

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


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

2009-04-29 Thread Jerome Velociter
Hello Frantisek,

MyXWiki.org is a free service offered by XWiki SAS 
(http://www.xwiki.com) for non-profit organizations and individuals. For 
company needs, XWiki SAS offers pro hosting and support 
(http://www.xwiki.com/xwiki/bin/view/Services/Hosting).
To test drive the last version of XWiki Enterprise you can download the 
standard distributions we provide at:
http://www.xwiki.org/xwiki/bin/view/Main/
Download#HXWikiEnterprise
We've updated the home page of myxwiki.org to better explain the rules 
of the community farm.

Thanks for your understanding,
Jerome, on behalf of the MyXWiki community.

Frantisek Kall wrote:
 I'm using XWiki (1.3) in our company. For testing of new functionality
 (especially in wysiwyg editor) I need the newest version of well configured
 XWiki. I registered as kaferos and I would like to use twig as server
 name.

 Thanks

 Frantisek Kall



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


Re: [xwiki-users] Components in XWiki

2009-04-12 Thread Jerome Velociter
Bálint Kriván wrote:
 Hi!

 On Sat, Apr 11, 2009 at 10:26 PM, Jerome Velociter jer...@xwiki.com wrote:

 Hi,

 Bálint Kriván wrote:
 Hi!

 As the beginning I would like to say Hi! everyone, I'm new to XWiki.

 I've read this guide:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
 I've got the main picture about this but how can I compile this component
 mvn install in the root directory of your component (where the pom.xml
 is).

 check
 http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
 for more info on building (which maven version to use, how to configure
 maven, etc.)


 Thanks for your help! It works, just a little question:
 I had to do this:
 $ mvn install:install-file -DgroupId=org.xwiki.platform
 -DartifactId=xwiki-core-component -Dversion=1.8-SNAPSHOT -Dpackaging=jar
 -Dfile=./xwiki-core-component-1.8.jar

 Because for mvn install it said that he need that dependency. So I've
 installed it as it suggested (from WEB-INF/lib). Is it okay? Or is it a
 recommended way how to install dependencies?

This should not be necessary. Have you setup your settings.xml config 
file as detailed on the building guide ?

Maven should download automatically that dependency from here 
http://maven.xwiki.org/snapshots/org/xwiki/platform/xwiki-core-component/1.8-SNAPSHOT/


 (Should I?) and how can I include it in my XWiki installation?
 just drop the built jar in the WEB-INF/lib/ folder of your XWiki
 application


 Thanks. Is XWiki realize the components in run-time? Or I have to restart
 it? (I've copied it and started, so I don't know if it works if I just copy
 it while XWiki still running.)

You have to restart.

Jerome.



 that should be all.


 Thank for your fast help!



 Jerome
 So for example: I've make a HelloWorld component and I would like to use
 it
 in a wiki page like this (using groovy):

 %
 def greeter =
 com.xpn.xwiki.web.Utils.getComponent(org.xwiki.component.HelloWorld.ROLE);
 println greeter.sayHello();
 %

 How can I do that? What are the missing steps I need to do (currently i'm
 having a directory with tree like this:

 pom.xml
 src/main/java/org/xwiki/component/HelloWorld.java
 src/main/java/org/xwiki/component/internal/DefaultHelloWorld.java
 src/main/resources/META-INF/plexus/components.xml
 src/test/java/org/xwiki/component/HelloWorldTest.java

 )?

 Thanks for reading and your guidance!

 --
 Regards,
 Bálint Kriván
 ___
 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


Re: [xwiki-users] Components in XWiki

2009-04-11 Thread Jerome Velociter
Hi,

Bálint Kriván wrote:
 Hi!

 As the beginning I would like to say Hi! everyone, I'm new to XWiki.

 I've read this guide:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents
 I've got the main picture about this but how can I compile this component

mvn install in the root directory of your component (where the pom.xml 
is).

check 
http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven 
for more info on building (which maven version to use, how to configure 
maven, etc.)
 (Should I?) and how can I include it in my XWiki installation?

just drop the built jar in the WEB-INF/lib/ folder of your XWiki 
application

that should be all.

Jerome

 So for example: I've make a HelloWorld component and I would like to use it
 in a wiki page like this (using groovy):

 %
 def greeter = 
 com.xpn.xwiki.web.Utils.getComponent(org.xwiki.component.HelloWorld.ROLE);
 println greeter.sayHello();
 %

 How can I do that? What are the missing steps I need to do (currently i'm
 having a directory with tree like this:

 pom.xml
 src/main/java/org/xwiki/component/HelloWorld.java
 src/main/java/org/xwiki/component/internal/DefaultHelloWorld.java
 src/main/resources/META-INF/plexus/components.xml
 src/test/java/org/xwiki/component/HelloWorldTest.java

 )?

 Thanks for reading and your guidance!

 --
 Regards,
 Bálint Kriván
 ___
 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] Use Tags as select list instead of input

2009-04-07 Thread Jerome Velociter
Vincent Massol wrote:
 Maybe this documentation would help:
 http://code.xwiki.org/xwiki/bin/view/Applications/TagApplication

Indeed, it's all there, so this make the FAQ entry useless.

I could not find it (nor a link to it) in the 2 places I looked for:

- Features on enterprise.xwiki.org
- search for tags (ok, the tag application is on the second result 
page and I did not click, bad assumption from me here)

All that to say 2 things (which are actually almost the same) :
- It's not natural to look for user documentation on code.xwiki.org
- We need more internal links. Mainly because our search is not yet 100% 
relevant, and because it's not natural to look for user documentation in 
application space on code.xwiki.org. I would have been able to find it 
if it were linked from the Features space, ;ike:
 Features - Organize your documents (Spaces and Tags) - Tag 
application on code.xwiki.org

Just to brainstorm on documentation findability,
Jerome.

 Thanks
 -Vincent

 On Apr 7, 2009, at 7:38 AM, Jerome Velociter wrote:

 Hi Jeremie,

 Jeremie wrote:
 Hi all,

 It'm trying to use tags as a more structured categorization  
 feature.

 First I saw that in tagedit.vm, we can change to a select list  
 instead of an input field for entering tags. I changed this in the  
 displayEdit property for XWiki.TagClass, but without effect.

 In tagedit.vm we have (XWiki 1.5) :

 #set($displayType =  
 $ 
 xwiki 
 .getDocument 
 (XWiki.TagClass).xWikiClass.tags.getProperty('displayType').value)
 #set($possibleTags = $tdoc.tagsPossibleValues)
 

 First line is ok and says select, but $tdoc.tagsPossibleValues is  
 always empty ...

 So my question is : where is defined the list of possible tags for  
 page(s) ? I though it was the tags field of page XWiki.TagClass,  
 but it seems it's not ...
 I didn't even know this feature! I checked the code of
 getTagsPossibleValues in XWikiDocument.java
 (http://fisheye2.atlassian.com/browse/~raw,r=11430/xwiki/xwiki- 
 platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/doc/ 
 XWikiDocument.java),
 the list is constructed based of pipe-separated values in the tags
 property of XWiki.TagClass (this is the moment I discovered that tags
 are stored as a static list, too ;))

 So if you say tag1|tag2|tag3 here, this is what
 $doc.tagsPossibleValues will return you (as a list).

 Hope this helps.
 When you successfully do have the tags displayed as a select list with
 finished list of possible values, what would be cool is that you  
 create
 a FAQ entry for it to explain how you did.

 Cheers,
 Jerome.
 Thanks for help,
 Jeremie
 ___
 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


Re: [xwiki-users] Users and Groups administration

2009-04-06 Thread Jerome Velociter
Hi Alain,

That's indeed not the correct behavior.

Which version of XWiki was used ? In which browser ?

Thanks in advance,
Jerome.

alain.pe...@snecma.fr wrote:
 Hi,

 I report again a trouble which has not received help (well, I'm sure it's a
 stupid trouble), but, really, I'm stocken with this XWiki behavior :

 The trouble : if, as Admin in Administrator wiki, I insert for example 2
 users. I don't see them in the right category Users UI.
 The page tells Display rows from 1 to 3 out of 3 (which is right) but the
 users and not displayed.
 Same beahevior with the Groups UI : Display rows from 1 to 2 out of 2
 (obviously XWikiAdminGroup and XWikiAllGroup), but the groups are not
 displayed.

 This is for a deployment of xwiki on Tomcat 5.5 and MySQL DB, because with
 the standalone deployment (Jetty and HSQLDB), I get the right behavior :
 groups and users are displayed.

 I checked my config as far as I can :
   - in xwiki.cfg, I have the directive
 xwiki.users.initialGroups=XWiki.XWikiAllGroup
   - I have imported the right xwiki.xar
   - my hibernate parameters seem right
   - my directory templates is same as xwiki standalone

 I made again several times full new deployments (DB, XWiki, parameters) and
 always the same behavior.

 Well, thousands of thanks for help



 #
  This e-mail and any attached documents may contain confidential or 
 proprietary information. If you are not the intended recipient, please advise 
 the sender immediately and delete this e-mail and all attached documents from 
 your computer system. Any unauthorised disclosure, distribution or copying 
 hereof is prohibited.

   Ce courriel et les documents qui y sont attaches peuvent contenir des 
 informations confidentielles. Si vous n'etes  pas le destinataire escompte, 
 merci d'en informer l'expediteur immediatement et de detruire ce courriel  
 ainsi que tous les documents attaches de votre systeme informatique. Toute 
 divulgation, distribution ou copie du present courriel et des documents 
 attaches sans autorisation prealable de son emetteur est interdite.
 #
 ___
 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] Use Tags as select list instead of input

2009-04-06 Thread Jerome Velociter
Hi Jeremie,

Jeremie wrote:
 Hi all,

 It'm trying to use tags as a more structured categorization feature.

 First I saw that in tagedit.vm, we can change to a select list instead of an 
 input field for entering tags. I changed this in the displayEdit property for 
 XWiki.TagClass, but without effect.

 In tagedit.vm we have (XWiki 1.5) :

 #set($displayType = 
 $xwiki.getDocument(XWiki.TagClass).xWikiClass.tags.getProperty('displayType').value)
 #set($possibleTags = $tdoc.tagsPossibleValues)
 

 First line is ok and says select, but $tdoc.tagsPossibleValues is always 
 empty ...

 So my question is : where is defined the list of possible tags for page(s) ? 
 I though it was the tags field of page XWiki.TagClass, but it seems it's 
 not ...

I didn't even know this feature! I checked the code of 
getTagsPossibleValues in XWikiDocument.java 
(http://fisheye2.atlassian.com/browse/~raw,r=11430/xwiki/xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java),
 
the list is constructed based of pipe-separated values in the tags 
property of XWiki.TagClass (this is the moment I discovered that tags 
are stored as a static list, too ;))

So if you say tag1|tag2|tag3 here, this is what 
$doc.tagsPossibleValues will return you (as a list).

Hope this helps.
When you successfully do have the tags displayed as a select list with 
finished list of possible values, what would be cool is that you create 
a FAQ entry for it to explain how you did.

Cheers,
Jerome.

 Thanks for help,
 Jeremie

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


Re: [xwiki-users] How to create initial Organization Space in Xwiki workspace?

2009-03-30 Thread Jerome Velociter
Hello Manfred,

 From what I understand you are trying to do something not very orthodox 
: installing XWiki Workspaces on top of an existing XWiki Enterprise. 
This is doable, but not documented. If you check 
http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/#HInstallingandrunningtheWARdistribution
 
you will see that XWS comes with its own WAR file (since it needs some 
extra templates/plugins/config to work correctly).

Note that XWS does embed XWiki Enterprise, so if you install the XWS 
war, you have a working XE too, and all the work is done for you. The 
only thing that affects XWiki Enterprise when installing XWS are a 
couple of velocity templates that XWS overrides (but you need them to 
have XWS work properly)

If you really want to do it the other way around (i.e. install XE first, 
then XWS on top), please let me know, and I'll give you some guidelines. 
Note that there is no released versions that has been tested with XE 
1.8, so there is no guarantee it will even work without having to change 
code.

Hope this helps,
Jerome.

Manfred wrote:
 Hi,

 I'm feeling a little dumb at the moment since I expected doing the action I'm 
 struggling with to be so obvious as to be almost default, but I would 
 appreciate being pointed in the right direction. I have not found a specific 
 answer by searching the FAQ or this mailing list so maybe I'm experiencing 
 something abnormal or haven't configured something correctly.

 In Xwiki workspaces after installation I get to the page:

 The organization's space has not been created yet

 As a member of the group of Administrators, you are allowed to create the 
 Organization's own workspace. Click the link below if you wish to create the 
 organization's own workspace.
 Create the organization space $newspace.set(spacetype, workspace)
 Warning: You have not created your personal space yet.

 http://myserverip:8080/xwiki/bin/view/XWiki/XWikiPreferences?section=OrganizationSpace
 and I see:
 ---
 Show the available categories 

 * General
 * Workspaces
 * Users
 * Groups

 $newspace.set(spacetype, workspace) $newspace.set(spacetype, 
 workspace)

 Click on this button if you wish to create your organisation's space. The 
 organisation's space includes every user on this XWiki Workspaces. It 
 features a blog, a wiki, a file manager and a photo album. You may want to 
 create it if you wish to publish information meant to address all your users 
 at once.
 Define your new workspace's basic settings
 Space name
 Mandatory - You can enter up to 50 more characters for your new space title :
 $newspace.display(displayTitle,edit)
 Description
 Optional - You can enter a short text describing the purpose of this 
 workspace :
 $newspace.display(description,edit)
 Applications
 Choose the applications you want to install in your workspace from the list 
 below :
 Access level
 Select an access level for this workspace :
 $newspace.display(accesslevel,edit)
 Color
 Choose a background color for your workspace :
 $newspace.display(color,edit)

 

 Its not clear to me how to create this Organization Space.

 Apparently the above is giving me the syntax I can use, but where is it 
 entered?

 It doesnt appear to be as simple as clicking on the button 'Create the space' 
 because that does nothing for me. I can see the browser showing the ip of the 
 xwiki server when I click but I get no feedback from the server telling me 
 there's a problem or even that it received my mouse click.

 Then higher up on the page there's some text with a light bulb which states 
 Click on this button if you wish to create your organisation's space. Well I 
 don't see any suitable button near this text only a button much further down 
 the page - the one I described above.

 To get to this point I installed Ubuntu 8.10 server in a VM, added Java 6, 
 Tomcat 6, Postgresl8.3 and setup the xwiki database and 
 xwiki-enterprise-web-1.8.war in the container and also loaded 
 xwiki-enterprise-wiki-1.8.xar default pages. I can login as Admin, create new 
 users, groups, import the Word addin, etc but didnt see much in the way of 
 user workspaces, so then loaded xwiki-workspaces-wiki-1.2-milestone-1.xar 
 which duly overwrote some of the existing enterprise xar default pages and I 
 logged in as the default Admin user.

 I'm not getting any errors reported, everything appears to be working, but 
 despite rummaging around the xwiki website I havent found any comprehensive 
 admin doc that explain the way forward for a 1st time admin/user. e.g. 
 http://workspaces.xwiki.org/xwiki/bin/view/AdminGuide/ tells me hardly 
 anything. I am using Firefox 3.07 both on localhost Ubuntu and remote client 
 Windows to access XWiki. As far as I can tell Firefox is not blocking any 
 pages from loading. I also tried IE7, 

Re: [xwiki-users] Programming rights in virtual wiki

2009-03-26 Thread Jerome Velociter
Hel-o,

Only users registered on the main wiki can be granted programming access 
level. But they can save pages with the programming rights on sub wikis.

Jerome.

hel-o wrote:
 Hi,

 is there a way to give programming rights to a user in a virtual wiki?

 Thanks
 hel.

 -
 hel.
 h...@hel.at


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


Re: [xwiki-users] [xwiki-devs] support for google sitemaps and webmaster tools? (and why do xwiki RDF's give unsupported file format?)

2009-03-12 Thread Jerome Velociter
Niels Mayer wrote:
 Has anybody figured out a way to get xwiki to generate a Google sitemap as
 an alternative to RSS feeds? (see
 http://www.google.com/webmasters/tools/docs/en/protocol.html ). Also, video
 sitemaps (
 http://www.google.com/support/webmasters/bin/answer.py?answer=80472cbid=sw9kur0v6z6jsrc=cblev=topic)
 would be useful to index xwiki attachments and media on media search
 engines ( http://video.google.com/ ). Video sitemaps are predicated on MRSS:

 *Using an mRSS feed as a Video Sitemap* back to
 tophttp://www.google.com/support/webmasters/bin/answer.py?answer=80472cbid=sw9kur0v6z6jsrc=cblev=topic#Top

 Google supports mRSS http://search.yahoo.com/mrss, an RSS module that
 supplements the element capabilities of RSS
 2.0http://cyber.law.harvard.edu/rss/rss.htmlto allow for more robust
 media syndication. If you publish an mRSS feed for
 the video content on your site, you can submit the feed's URL as a Sitemap.
 For detailed information on creating an mRSS feed, including samples and
 best practices, please see the Media RSS
 specificationhttp://search.yahoo.com/mrss.
 Google also supports RSS 2.0 using enclosures tags for video content and
 thumbnail urls.

 **Sitemaps seem to use their own protocol:

 *XML Sitemap Format*

 The Sitemap Protocol format consists of XML tags. All data values in a
 Sitemap must be 
 entity-escapedhttps://www.google.com/webmasters/tools/docs/en/protocol.html#escaped.
 The file itself must be UTF-8 encoded.

 A sample Sitemap that contains just one URL and uses all optional tags is
 shown below. The optional tags are in italics.

 ?xml version=1.0 encoding=UTF-8?
 urlset 
 https://www.google.com/webmasters/tools/docs/en/protocol.html#urlsetdef 
 xmlns=http://www.sitemaps.org/schemas/sitemap/0.9;
url 
 https://www.google.com/webmasters/tools/docs/en/protocol.html#urldef
 loc 
 https://www.google.com/webmasters/tools/docs/en/protocol.html#locdefhttp://www.example.com//loc
*lastmod 
 https://www.google.com/webmasters/tools/docs/en/protocol.html#lastmoddef2005-01-01/lastmod
 changefreq 
 https://www.google.com/webmasters/tools/docs/en/protocol.html#changefreqdefmonthly/changefreq
 priority 
 https://www.google.com/webmasters/tools/docs/en/protocol.html#prioritydef0.8/priority*
/url
 /urlset

 The Sitemap must:

- Begin with an opening urlset tag and end with a closing /urlsettag.
- Include a url entry for each URL as a parent XML tag.
- Include a loc child entry for each url parent tag.


 Niels
 http://nielsmayer.com

 PS: google sitemap support sounds like a good entry-level GSOC project. :-)
 Probably just a big hack to existing code in Main.WebRss?xpage=rdf and
 Main.BlogRss?xpage=rdf. Probably a 1 day project for someone that knows
 how

 PPS: why does http://nielsmayer.com/xwiki/bin/view/Main/WebRss?xpage=rdfwork
 in many places, display correctly in firefox 3, but when used to
 generate a sitemap in google webmaster tools, it fails. (Meanwhile roller
 blogger's RSS feed succeeds):

 roller/NielsMayer/feed/entries/atom
 Atom Feed 5 hours ago OK 32  xwiki/bin/view/Main/BlogRss?xpage=rdf
 -- 5 hours ago Errors --  xwiki/bin/view/Main/WebRss?xpage=rdf
 -- 5 hours ago Errors

 The reported problem coming from xwiki's xpage=rdf feeds:

 *Unsupported file format*

Just an idea... maybe they expect the .xml extension ?

Jerome
 Your Sitemap does not appear to be in a supported format. Please ensure it
 meets our Sitemap guidelines and resubmit. 
 Helphttp://www.google.com/support/webmasters/bin/answer.py?answer=35738hl=en
  [image:
 Help]

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

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


Re: [xwiki-users] groovy web service

2009-03-11 Thread Jerome Velociter
Hi

Dan Svoboda wrote:
 I'm implementing some Ajax to change page content using a web service,  
 and I'm stumped.

 Here's the web service code:

 %
response.setContentType(application/x-json)

def success = Successful Ajax Web Service call!
 %
 {
   rdoc: %=success%
 }

 Here's the javascript Ajax call:

 !-- AJAX Web Service Call --
   script type=text/javascript
function getRenderedDoc() {
window.alert(Function Called);
  new Ajax.Request(
  // Here we make the asynchronous call to our previously  
 created web service.
  // Note that we are using the XWiki API from velocity to  
 compute the exact URL we want to hit.
  // This is possible since the entire page will be evaluated  
 by the velocity engine before being sent to
  // the client from which this javascript function will be  
 executed.
  // We precise the number of entries we want to retrieve using  
 the limit parameter. The second parameter,
  // xpage=plain is mandatory, this force XWiki to render the  
 called document with the plain.vm velocity
  // template, thus not returning the whole skin. If we forget  
 this parameter, we will not receive a valid JSON
  // and our client will not work.
  /1.8/bin/view/Main/WebService?xpage=plain,
  {
method: 'get',
onSuccess: function(transport) {

Have you checked with Firebug the response is the JSON you expected ? 
You can

console.log(transport.responseText);

to make sure.

Hope this helps.
Jerome.

 // first, we evaluate the JSON result to make it  
 manipulable as javascript objects
 var res = eval( '(' + transport.responseText + ')' );

 var rendcontent = res.rdoc;
 var rdiv = document.getElementById(div_Space_Rhodopsin);
 while( rdiv.childNodes.length = 1 ) {
   rdiv.removeChild( rdiv.firstChild );
 }

 var pTag = document.createElement(p);
 pTag.innerHTML = rendcontent;
 rdiv.appendChild(pTag);
 }
 } );
}
 /script
 I call the function from an anchor tag: a  
 href=javascript:getRenderedDoc()Test Ajax/a

 The alert is displayed, but I'm not seeing any update on my page. All  
 of the DOM manipulations have been independently verified with text  
 literals outside of the Ajax.Request.

 Thanks.

 Dan Svoboda



 ___
 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


  1   2   3   >