Favor retirar o meu e-mail da lista. Obrigado. José Roberto 2010/10/16 <users-request@xwiki.org>
Send users mailing list submissions to users@xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.xwiki.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-request@xwiki.org
You can reach the person managing the list at users-owner@xwiki.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..."
Today's Topics:
1. Re: Links to pages in 1.0 syntax don't look good (Thomas Mortagne) 2. Re: Links to pages in 1.0 syntax don't look good (Vincent Massol) 3. Re: XWiki RESTful API: TAGS and unicode (Fabio Mancinelli) 4. Re: Links to pages in 1.0 syntax don't look good (Antonio Goncalves) 5. [Announcement] XWiki Enterprise 2.5 Release Candidate 1 Released (Sergiu Dumitriu)
----------------------------------------------------------------------
Message: 1 Date: Fri, 15 Oct 2010 12:05:15 +0200 From: Thomas Mortagne <thomas.mortagne@xwiki.com> Subject: Re: [xwiki-users] Links to pages in 1.0 syntax don't look good To: XWiki Users <users@xwiki.org> Message-ID: <AANLkTimbQTpazh9JG4HmcTUL41-0qHYfah+1b3zpQyD7@mail.gmail.com<AANLkTimbQTpazh9JG4HmcTUL41-0qHYfah%2B1b3zpQyD7@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi Antonio,
On Fri, Oct 15, 2010 at 11:46, Antonio Goncalves <antonio.mailing@gmail.com> wrote:
Hi all,
Our XWiki instance has been upgraded to a 2.0. We are still using 1.0 syntax and we can see some strange behaviour.
If you look at this page http://www.parisjug.org/xwiki/bin/view/Speaker/all the titles (the name of the speakers) look ok. But if you click to a specific speaker ( http://www.parisjug.org/xwiki/bin/view/Speaker/MagninLaurent), you can see that the title is [Laurent Magnin>Speaker.MagninLaurent] instead of just Laurent Magnin. This doesn't happen to all the pages (ex. http://www.parisjug.org/xwiki/bin/view/Speaker/MartignoleNicolas).
All these pages are in XWiki syntaxe 1.0 and all have the same syntax :
1 [Laurent Magnin>Speaker.MagninLaurent]
Do you know what that could be ?
That looks like a bug, would be great if you could create an issue on http://jira.xwiki.org.
Thanks for catching it, i will look at that.
Thanks, Antonio _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
------------------------------
Message: 2 Date: Fri, 15 Oct 2010 12:10:18 +0200 From: Vincent Massol <vincent@massol.net> Subject: Re: [xwiki-users] Links to pages in 1.0 syntax don't look good To: XWiki Users <users@xwiki.org> Message-ID: <A2EE11A4-9102-44C0-9873-1EE8EEB197FC@massol.net> Content-Type: text/plain; charset=us-ascii
On Oct 15, 2010, at 12:05 PM, Thomas Mortagne wrote:
Hi Antonio,
On Fri, Oct 15, 2010 at 11:46, Antonio Goncalves <antonio.mailing@gmail.com> wrote:
Hi all,
Our XWiki instance has been upgraded to a 2.0. We are still using 1.0 syntax and we can see some strange behaviour.
If you look at this page http://www.parisjug.org/xwiki/bin/view/Speaker/ all the titles (the name of the speakers) look ok. But if you click to a specific speaker ( http://www.parisjug.org/xwiki/bin/view/Speaker/MagninLaurent), you can see that the title is [Laurent Magnin>Speaker.MagninLaurent] instead of just Laurent Magnin. This doesn't happen to all the pages (ex. http://www.parisjug.org/xwiki/bin/view/Speaker/MartignoleNicolas).
All these pages are in XWiki syntaxe 1.0 and all have the same syntax :
1 [Laurent Magnin>Speaker.MagninLaurent]
Do you know what that could be ?
That looks like a bug, would be great if you could create an issue on http://jira.xwiki.org.
Thanks for catching it, i will look at that.
As a workaround (while waiting for Thomas findings) you could convert to 2.0 syntax (it's automatic but you need to clean up the automatic conversion).
Note that 1.0 syntax has been deprecated for more than a year now and will disappear at some point in some future release so you should think about migrating your content to 2.0 syntax.
Thanks -Vincent
------------------------------
Message: 3 Date: Fri, 15 Oct 2010 12:39:52 +0200 From: Fabio Mancinelli <fabio.mancinelli@xwiki.com> Subject: Re: [xwiki-users] XWiki RESTful API: TAGS and unicode To: users@xwiki.org Message-ID: <4CB82F78.5010106@xwiki.com> Content-Type: text/plain; charset=UTF-8; format=flowed
On 10/15/2010 10:27 AM, Volker Lapczynski wrote:
Hello Fabio!
I solved the TAG problem, but still fighting with Umlauts.
TAGs solved: In Autohotkey environment i have to "escape" commas, they must be escaped
as
shown here:
tags=foo`,bar
; --- create a TAG--- Working ;) curl.exe -u "Admin:admin" -X POST -H "Content-type: application/x-www-form-urlencoded" --data-ascii "className=TagClass&property#tags=foo`,bar"
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%/object...
I don't really know what a "Autohotkey environment" is, but I retested it and it works perfectly without any escaping at all (though I am under Ubuntu)
Umlaut:
My code works without umlauts, but with umlaut i get a "0000: HTTP/1.1 405 Method Not Allowed"
page = test page = ??????
Again, tried with a BASH terminal under Ubuntu:
;-make- Runwait curl -u "Admin:admin" -X PUT -d "@1.xml" -H "Content-type: application/xml; charset=UTF-8" http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%
What I did: curl -u "Admin:admin" -X PUT -H "Content-type: text/plain" --data-ascii " Hello world" http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/??????
(Which is equivalent to send an XML with the content information)
Result: page created.
;-upload- RunWait curl -u "Admin:admin" -T "wordlist.txt"
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%/attach...
What I did: curl -u "Admin:admin" -T tagcloud3.png
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/??????/attach... ??
Result: attachment created (though the name is: oaeaOAEA)
;-make tag- RunWait curl -u "Admin:admin" -X POST -H "Content-type:application/x-www-form-urlencoded;charset=UTF-8" --data-binary "className=TagClass&property#tags=test"
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%/object...
What I did: curl -u "Admin:admin" -X POST -d "className=TagClass&property#tags=foo,bar"
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/??????/object...
Result: Object tags created and with foo,bar tags
;-write tag- RunWait curl -u "Admin:admin" -X PUT -H "Content-type: text/plain;charset=UTF-8" --data-binary "%page%`,%page%"
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/%page%/object...
What I did: curl -u "Admin:admin" -X PUT -H "Content-type: text/plain" --data-ascii "??????,??????"
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/??????/object...
Result: tags modified to ??????,??????
Bonus: I also tried with --data-binary as you did and I get the correct result.
So, finally, I cannot reproduce your errors :(
I don't have a Windows box to make tests with it, but I think that a possible cause is the configuration of your Windows terminal that makes curl.exe send some extra stuff that confuses the REST subsystem.
For your information my BASH shell has LANG=en_US.utf8 and gnome-terminal is configured with Unicode (UTF-8)
Maybe somebody else with a Window system can help you better.
-Fabio
------------------------------
Message: 4 Date: Fri, 15 Oct 2010 15:16:42 +0200 From: Antonio Goncalves <antonio.mailing@gmail.com> Subject: Re: [xwiki-users] Links to pages in 1.0 syntax don't look good To: XWiki Users <users@xwiki.org> Message-ID: <AANLkTikR_996Q96_m21f0QvQgDPpk=dGVbrJJUKcnCL_@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1
I followed your advice and turned the 1.0 page into a 2.0. Automatically the page was translated and it works fine. Great. Well, I think I'll use the 2.0 syntax then.
Thanks, Antonio
2010/10/15 Vincent Massol <vincent@massol.net>
On Oct 15, 2010, at 12:05 PM, Thomas Mortagne wrote:
Hi Antonio,
On Fri, Oct 15, 2010 at 11:46, Antonio Goncalves <antonio.mailing@gmail.com> wrote:
Hi all,
Our XWiki instance has been upgraded to a 2.0. We are still using 1.0 syntax and we can see some strange behaviour.
If you look at this page http://www.parisjug.org/xwiki/bin/view/Speaker/ all the titles (the name of the speakers) look ok. But if you click to a specific speaker ( http://www.parisjug.org/xwiki/bin/view/Speaker/MagninLaurent), you
can
see
that the title is [Laurent Magnin>Speaker.MagninLaurent] instead of just Laurent Magnin. This doesn't happen to all the pages (ex. http://www.parisjug.org/xwiki/bin/view/Speaker/MartignoleNicolas).
All these pages are in XWiki syntaxe 1.0 and all have the same syntax :
1 [Laurent Magnin>Speaker.MagninLaurent]
Do you know what that could be ?
That looks like a bug, would be great if you could create an issue on http://jira.xwiki.org.
Thanks for catching it, i will look at that.
As a workaround (while waiting for Thomas findings) you could convert to 2.0 syntax (it's automatic but you need to clean up the automatic conversion).
Note that 1.0 syntax has been deprecated for more than a year now and will disappear at some point in some future release so you should think about migrating your content to 2.0 syntax.
Thanks -Vincent
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- -- Antonio Goncalves (antonio.goncalves@gmail.com) Software architect
Web site : www.antoniogoncalves.org Blog: agoncal.wordpress.com Feed: feeds2.feedburner.com/AntonioGoncalves Paris JUG leader : www.parisjug.org LinkedIn: www.linkedin.com/in/agoncal
------------------------------
Message: 5 Date: Sat, 16 Oct 2010 00:27:02 +0200 From: Sergiu Dumitriu <sergiu@xwiki.com> Subject: [xwiki-users] [Announcement] XWiki Enterprise 2.5 Release Candidate 1 Released To: XWiki Developers <devs@xwiki.org>, XWiki Users <users@xwiki.org> Message-ID: <4CB8D536.6010900@xwiki.com> Content-Type: text/plain; charset=UTF-8; format=flowed
The XWiki development team is pleased to announce the release of XWiki Enterprise 2.5 Release Candidate 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes since XWiki Enterprise 2.5 Milestone 2:
* New macros for the Space List and Tag Cloud * Display user avatars in annotations * A few improvements to the Extension Manager * A few improvements to the User Directory * WYSIWYG and Rendering improvements * A few security and performance improvements
For more information see the Release notes at http://www.xwiki.org/xwiki/bin/Main/ReleaseNotesXWikiEnterprise25RC1
Thanks -The XWiki dev team
------------------------------
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 39, Issue 25 *************************************
-- José Roberto de M. Junior ========================================================================================================================================== Esta mensagem pode conter informações sigilosas e/ou privilegiadas. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não deve usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. ==========================================================================================================================================