[xwiki-users] Upgrade experience from 1.3 to 1.3.1

2008-04-03 Thread Benjamin Leung
Hi,

First of all, thank you for a great product.

I just finish the upgrade and had some negative experience..  Here's how it
went..

- First, I tried to export my wiki to a xar.. At first it produced an
invalid xar/zip archive..  then I figured that xwiki refuse to produce a
valid archive whenever the 'include history' is not checked.

- I checked the xar and found out there are couple of 0 sized file which
should have contents.. good thing is that I noticed them..

- exported the database

- Then I upgraded the binaries.. and merged the configurations.. all went
well.

- Then, I followed the recommendation regarding importing the new 1.3.1
default wiki.

- WHen I import the default wiki, I received an error message saying that
there 4 documents that I can't import..
- I tried to delete the existing page but received errors during deletion.
- The error say something about the attachment, so I delete the attachments
first.. after I deleted the attachments, I was able to delete the remaining
pages
- after deletion, I was able the import the the rest of the documents.

Horray.. upgrade finished!

- Then I noticed when I tried to login using invalid LDAP credential, I
still get an "Internal Error" which is one of the reason I bother to upgrade
is still here..
- I also noticed that 1.3.1 broke the footnote macro partially..

Other than these, everything seems to work fine!


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


Re: [xwiki-users] Problem with Groovy code

2008-04-03 Thread Ngo Thi Hong Nga
Thank you very much.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with Groovy code

2008-04-03 Thread Sergiu Dumitriu
Ngo Thi Hong Nga wrote:
> Hi, I want to split the words seperated by character "|".
> 
> <%
> String[] sources=new String("hello|world").split("|");
> for (i in 0.. {
> print sources[i]+""
> }
> %>
> 
> but the result is:
> h
> e
> l
> l
> o
> |
> w
> o
> r
> l
> d
> I tried using String[] sources=new String("hello|world").split("\|"); but it
> gives me error.
> How to solve this problem?

split("[|]")

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem with Groovy code

2008-04-03 Thread Ngo Thi Hong Nga
Hi, I want to split the words seperated by character "|".

<%
String[] sources=new String("hello|world").split("|");
for (i in 0.."
}
%>

but the result is:
h
e
l
l
o
|
w
o
r
l
d
I tried using String[] sources=new String("hello|world").split("\|"); but it
gives me error.
How to solve this problem?
-- 
Ngô Thị Hồng Nga
Mobile: 0935 176133
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Valid values for Validation and Encryption Key

2008-04-03 Thread Benjamin Leung
Hi,

I'm trying to the the following two keys.  Could someone tell me what are
the valid values?  (Length, alphanumeric, etc)

xwiki.authentication.validationKey
xwiki.authentication.encryptionKey


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


[xwiki-users] [ANN] XWiki Enterprise 1.4 Milestone 1 Released

2008-04-03 Thread Jean-Vincent Drean
The XWiki development team is pleased to announce the release of XWiki
Enterprise1.4 Milestone 1.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

First milestone of the XWiki Enterprise 1.4 version.

Note that general goals for XWiki Enterprise 1.4 are:

* Switch to Java 1.5
* Improved stats performances
* XMLRPC improvements
* Improved performances (less Javascript files, more optimized
CSS, better caching, etc)
* Skins extensions
* Bug fixes
* More automated tests

For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise14M1

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


[xwiki-users] [Rescheduling] Re: [ANN] Skypecast about the new XWiki Rendering Architecture (31st March, 14:00 GMT+1)

2008-04-03 Thread Vincent Massol
Hi everyone,

Sorry again for proposing a date and not being able to respect it...

Here's a new date proposal that also allows our American friends the  
ability to join the skypecast:

Monday 7th of April (next Monday), 17:00 GMT+1

To join:
https://skypecasts.skype.com/skypecasts/skypecast/detailed.html?id_talk=4119881&hash=1703e1d9e62a2b60ec1b

Thanks
-Vincent

On Mar 28, 2008, at 5:47 PM, Vincent Massol wrote:

> I'm sorry I won't be able to make it. Something came up unexpectedly  
> and I'm back on Tuesday night only.
> I'll replan a presentation for later on in the week.
>
> Sorry
> -Vincent
>
> On Mar 26, 2008, at 4:30 PM, Vincent Massol wrote:
>
>> Hi everyone,
>>
>> I'd like to present to everyone the work I've been doing on the new  
>> rendering architecture for XWiki. Since this is going to be  
>> integrated soon in the XWiki Core I'd like to get some feedback  
>> first.
>>
>> Note that it's a technical discussion but open to everyone  
>> interested.
>>
>> It's best if you have had a look at the following before joining  
>> the discussion:
>> * http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture
>> * http://svn.xwiki.org/svnroot/sandbox/components/xwiki-rendering/
>>
>> Date: 31st March (Monday), 14:00 GMT+1
>> To join you'll need a recent skype version installed.
>> Open the following URL in your browser:
>> https://skypecasts.skype.com/skypecasts/skypecast/detailed.html?id_talk=4067979&hash=93ef03032036b90bc580
>>
>> Note: Skypecasts work only on Windows and Macs AFAIK. Sorry unix  
>> users...
>>
>> Thanks
>> -Vincent
>>
>

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


Re: [xwiki-users] Space rights configuration...

2008-04-03 Thread Sergiu Dumitriu
Bjørnar Libæk wrote:
> Did you solve this?
> 
> I got the same problem when upgrading from 1.1 M4 to 1.1.2. When editing 
> global and space rights, the button "add access right entry" in the 
> GlobalRightsEditorWelcome panel was missing.
> 
> I found a workaround to this by opening the WebPreferences page for the 
> space a wanted to add access rights to,  selecting "edit objects", and 
> added a  XWiki.XWikiGlobalRights object to the page.
> 
> Today, when looking closer into this, I found that this misbehaviour has 
> something to do with the $xwiki.rightsmanager.defaultUi variable. This 
> variable tells which gui to use for acces management. By inspecting the 
> code of the GlobalRightsEditorWelcome panel, I found that the button 
> only is showed when the following condition is true:
>   #if ($xwiki.rightsmanager.defaultUi == "stable")
> But for som reason, this variable was undefined, all though I had 
> "xwiki.rights.defaultUi = new" in xwiki.cfg. What is the relationship 
> between xwiki.rightsmanager.defaultUi and xwiki.rights.defaultUi ? I 
> suspect a typo..  I've never seen the new access right manager in my 
> wiki, so there is obviously something wrong here..
> 
> However, by modifying the condition:
>  #if(!($xwiki.rightsmanager.defaultUi) || $xwiki.rightsmanager.defaultUi 
> == "stable")
> everything is back to normal.
> 

I think this means that the rightsmanager plugin is not enabled. You 
should not keep the same xwiki.cfg during upgrades, but merge the old 
file with the new one, as settings tend to change between versions.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] special rights

2008-04-03 Thread Gabriela Radu

 hello again.
i have tried to solve this paragraph rights for the last couple of days. didn't 
work :)))
i made a var similar to $isAdvancedUser called $isMyUser and tried to give it 
or not access to parts of a page. then i tried to create a macro that i can add 
in my page where i want to protect the text. i was probably doing something 
very much wrong . and so i am starting again. i have read your idea more times 
to be sure i get it:)
i am curious where did u put the #includeTopic('Sandbox.FirstParagraph') or 
more importantly where have u explained what does that mean. i see this as a 
method. i still don;t know if xwiki knows about methods. 
lost :)))




Take care ,
Gabriela Radu :)
www.gabrielaradu.com



- Original Message 
From: [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]>
To: XWiki Users 
Sent: Tuesday, April 1, 2008 1:36:38 PM
Subject: Re: [xwiki-users] special rights

Hi Gabriela,

Gabriela Radu wrote:
> hello..
>  i don't think i get what you said about the rights on space..
> i was talking about sections from the page that can have different rights(to 
> edit or not) then the page.
> this is what i am trying to make... and yep...i said trying. a bit lost. if 
> you have some pointers they are more then welcomed :D
> i have to write something like macros? in .vm files?
> thank you

Sorry if I have not been able to explain myself. In fact, the problem is 
that I am also a bit lost!

Let's try to start again (it will help me with this issue! It is 
important for our group as well):

We are speaking about being able to create a "page" where "sections" can 
have different assigned rights.

Look at this:

http://xepecnet..environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu

It seems a "page" including text, but it only includes five "calls" to 
other "pages". Look at the code:


#includeTopic('Sandbox.Title')

#includeTopic('Sandbox.FirstParagraph')

#includeTopic('Sandbox.SecondParagraph')

#includeTopic('Sandbox.ThirdParagraph')

#includeTopic('Sandbox.FourthParagraph')


In this case I am using a page (a single XWiki entry in a single space, 
in this case, Sandbox.NichitaStanescu) as a "document" metaphor and I 
can assign rights to any of the pieces as you do with any other page. I 
must not be difficult to add a button close to the starting point of 
each paragraph that only appears if the logged user has edit rights on 
each "section" and allow him/her to edit it.

Please, let me know if this makes sense for you! It will be help me to 
decide if this makes sense for me! Then, we could go ahead completing 
this solution.

XWiki is PLENTY of tools/features. The "only" point is to put it in the 
correct order :-)


Cheers,

Ricardo


BTW: I think it is time to add XWiki to your CV ;-)

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

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






  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Space rights configuration...

2008-04-03 Thread Bjørnar Libæk
Did you solve this?

I got the same problem when upgrading from 1.1 M4 to 1.1.2. When editing 
global and space rights, the button "add access right entry" in the 
GlobalRightsEditorWelcome panel was missing.

I found a workaround to this by opening the WebPreferences page for the 
space a wanted to add access rights to,  selecting "edit objects", and 
added a  XWiki.XWikiGlobalRights object to the page.

Today, when looking closer into this, I found that this misbehaviour has 
something to do with the $xwiki.rightsmanager.defaultUi variable. This 
variable tells which gui to use for acces management. By inspecting the 
code of the GlobalRightsEditorWelcome panel, I found that the button 
only is showed when the following condition is true:
  #if ($xwiki.rightsmanager.defaultUi == "stable")
But for som reason, this variable was undefined, all though I had 
"xwiki.rights.defaultUi = new" in xwiki.cfg. What is the relationship 
between xwiki.rightsmanager.defaultUi and xwiki.rights.defaultUi ? I 
suspect a typo..  I've never seen the new access right manager in my 
wiki, so there is obviously something wrong here..

However, by modifying the condition:
 #if(!($xwiki.rightsmanager.defaultUi) || $xwiki.rightsmanager.defaultUi 
== "stable")
everything is back to normal.

B

Vincent Massol wrote:
> On Jan 24, 2008, at 7:47 PM, Aleksandar Vidakovic wrote:
>
>   
>> I had an idea (but don't know if it's stupid ;-)
>>
>> Anyway... could it be that there is a page missing in my space. When I
>> edit the space rights I get this URL:
>>
>> http://localhost:8080/xwiki/bin/admin//WebPreferences?editor=spacerights&global=1&space=
>>
>> As there is a page "WebPreferences" in the XWiki space (and this one
>> allows me to edit rights) I would expect the same page in my space  
>> .
>> 
>
> This WebPreferences page is created automatically by the Admin page  
> when you start setting space rights.
>
> I've just tried with a vanilla 1.2 release and it worked fine for me  
> so it could be related to your environment somehow.
>
> -Vincent
>
>   
>> Completely wrong?
>>
>> Thanks again for your help...
>>
>> Aleks
>>
>> Aleksandar Vidakovic wrote:
>> 
>>> No, I don't have this plugin installed. Installed plugins are:
>>>
>>> - Chatzilla
>>> - delicious
>>> - gTranslate
>>> - Download Statusbar
>>> - Firebug
>>> - Google Gears
>>> - Google Reader Watcher
>>> - Googlepedia
>>> - Scribefire
>>> - Webdeveloper
>>>
>>>
>>> Esbach, Brandon wrote:
>>>   
 Sorry, should have made myself clearer.
 I noticed you were using Firefox, and was just clarifying whether  
 you
 use the Firefox plugin called NoScript (check this by going to  
 Tools ->
 Add-ons).
 The rights editor on Xwiki uses Ajax, which is essentially script  
 sent
 to and from the server.

 What NoScript does, is it disables certain javascript functionality
 depending on the address you are browsing, and I've seen it do weird
 stuff with XWiki in the past.

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