Re: [xwiki-users] GWT-WYSIWYG Bugs

2009-04-02 Thread Vincent Massol

On Apr 2, 2009, at 1:22 AM, Marius Dumitru Florea wrote:

 hel-o wrote:
 Hi,



 To remove the list formatting you can either use the outdent button  
 from
 the tool bar or place the caret before item1 and press Shift+Tab.

 The behavior you describe can be reproduced also in the default  
 editor (
 http://www.mozilla.org/editor/midasdemo/ ) and I think it is the  
 correct
 one. It may not be natural at first look, but consider the following
 example:



 Dont know but just tried openoffice and there you remove list  
 formatting with the list formatting butten and change the indent of  
 the list with the outdent button.

 Yes, I know, but the fact that Open Office has this behavior doesn't
 necessarily mean it is the best one. You can open an issue and if  
 others
 share your opinion then we'll have to change the current behavior. My
 worry is that the current behavior is useful in some cases and we  
 could
 loose this advantage.




 3. When you undo the list formating and redo the list formating a  
 paragraph is added between the two list items

 - item1

 - item2

 I need more input on this. How do you get the list in the first  
 place?



 i had an list with two items

 - item1
 - item2

step1



 removed the list formatting with the list formatting button

 item1

 - item2

step2



 and changed the formatting to list formatting again

 - item1

 - item2

step3



 This is somehow normal because you have created two lists. Now, I  
 can't
 think of a reason why the user would want the two lists to be  
 separated
 so I think they should be automatically merged into a single list with
 two items. Can you open an issue for this?

I'm not sure about this one. The current behavior sounds right to me.  
It sounds a bit too magic' to me to merge them automatically and I'm  
sure there are use case where you can have 2 lists one after another.  
This is valid in wiki syntax and we need that to be valid in the  
wysiwyg editor too.

More precisely step2 sounds correct to me since the user is making the  
item outside of the list so you need the new line since it becomes a  
para when you do this.

I'm quite against step3 if we were to automatically merge two lists  
one after another. We could have a join shortcut/icon for joining  
lists (although hitting suppr when placed at the end of item1 should  
do the same).

Thanks
-Vincent

 Thanks,
 Marius


 tried that with the outdent button too, same behavior. also tried  
 it in the default editor mentioned above, same behavior. but theres  
 one difference, if i remove the paragraph (line break) what ever in  
 XWiki i get

 - item1item2

 In the mentioned editor i get

 - item1
 - item2

 hel.

 -
 hel.
 h...@hel.at
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] GWT-WYSIWYG Bugs

2009-04-02 Thread Marius Dumitru Florea
Vincent Massol wrote:
 On Apr 2, 2009, at 1:22 AM, Marius Dumitru Florea wrote:
 
 hel-o wrote:
 Hi,



 To remove the list formatting you can either use the outdent button  
 from
 the tool bar or place the caret before item1 and press Shift+Tab.

 The behavior you describe can be reproduced also in the default  
 editor (
 http://www.mozilla.org/editor/midasdemo/ ) and I think it is the  
 correct
 one. It may not be natural at first look, but consider the following
 example:



 Dont know but just tried openoffice and there you remove list  
 formatting with the list formatting butten and change the indent of  
 the list with the outdent button.
 Yes, I know, but the fact that Open Office has this behavior doesn't
 necessarily mean it is the best one. You can open an issue and if  
 others
 share your opinion then we'll have to change the current behavior. My
 worry is that the current behavior is useful in some cases and we  
 could
 loose this advantage.



 3. When you undo the list formating and redo the list formating a  
 paragraph is added between the two list items

 - item1

 - item2
 I need more input on this. How do you get the list in the first  
 place?



 i had an list with two items

 - item1
 - item2
 
 step1
 

 removed the list formatting with the list formatting button

 item1

 - item2
 
 step2
 

 and changed the formatting to list formatting again

 - item1

 - item2
 
 step3
 
 This is somehow normal because you have created two lists. Now, I  
 can't
 think of a reason why the user would want the two lists to be  
 separated
 so I think they should be automatically merged into a single list with
 two items. Can you open an issue for this?
 
 I'm not sure about this one. The current behavior sounds right to me.  
 It sounds a bit too magic' to me to merge them automatically and I'm  
 sure there are use case where you can have 2 lists one after another.  
 This is valid in wiki syntax and we need that to be valid in the  
 wysiwyg editor too.
 
 More precisely step2 sounds correct to me since the user is making the  
 item outside of the list so you need the new line since it becomes a  
 para when you do this.
 
 I'm quite against step3 if we were to automatically merge two lists  
 one after another. We could have a join shortcut/icon for joining  
 lists (although hitting suppr when placed at the end of item1 should  
 do the same).

I agree: http://jira.xwiki.org/jira/browse/XWIKI-3488

Thanks,
Marius

 
 Thanks
 -Vincent
 
 Thanks,
 Marius

 tried that with the outdent button too, same behavior. also tried  
 it in the default editor mentioned above, same behavior. but theres  
 one difference, if i remove the paragraph (line break) what ever in  
 XWiki i get

 - item1item2

 In the mentioned editor i get

 - item1
 - item2

 hel.

 -
 hel.
 h...@hel.at
 ___
 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] GWT-WYSIWYG Bugs

2009-04-02 Thread hel-o

Hi,


hel-o wrote:

Yes, I know, but the fact that Open Office has this behavior doesn't 
necessarily mean it is the best one. You can open an issue and if others 
share your opinion then we'll have to change the current behavior. My 
worry is that the current behavior is useful in some cases and we could 
loose this advantage.



You are right and i don't think it's necessary to open a issue.

For the second part i think you already made a issue for the relevant things.

Thanks 

hel.



-
hel.
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/GWT-WYSIWYG-Bugs-tp2441118p2573815.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


[xwiki-users] Login action to do before redirecting to a page

2009-04-02 Thread PERINAUD Christophe
Hello,

I try to update automatically the avatar of a user when he logs in (pictures 
are stored in an intranet server)
I checked the login.vm template but it redirects to 
/xwiki/loginsubmit/Xwiki/XWikiLogin after submitting and i don't know how to 
edit (if possible) this page/template.

Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL




This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Ryszard Łach
Hi.

I have a problem with sender address. I have the following configuration:

1. logged in user with email address defined in edit-objects
2. SendPageByEmail from default-1.8.xar with code

#set($sender = $context.user.substring(6))

When I try to send an email the sender is being set to 'XWiki.rlach'.

What else can I check?

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


Re: [xwiki-users] Xwiki Syntax 2.0 by default in 1.8?

2009-04-02 Thread Marius Dumitru Florea
Hi Remi,

Remi wrote:
 Hi all,
 
 I just installed the 1.8 stable new version in hope to solve editors problem. 
 
 It said the new Wysiwyg editor is by default in this version, and i note in 
 near pasts topic that objective was to have XWiki Syntax 2.0 by default for 
 new documents starting in XWiki Enterprise 1.8 final too..
 
 But i can see in right panel Wiki 1.0 syntax set as defaut when i create a 
 page. Is it normal or can I somewhere set 2.0 by default?

Yes, this is normal, but you can change the default syntax for newly 
created pages. See 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringWikiSyntaxesanddefaultSyntax

Hope this helps,
Marius

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


Re: [xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Guillaume Lerouge
Hi Ryszard,

On Thu, Apr 2, 2009 at 1:09 PM, Ryszard Łach ryl...@gmail.com wrote:

 Hi.

 I have a problem with sender address. I have the following configuration:

 1. logged in user with email address defined in edit-objects
 2. SendPageByEmail from default-1.8.xar with code

 #set($sender = $context.user.substring(6))

 When I try to send an email the sender is being set to 'XWiki.rlach'.

 What else can I check?


Are you in a XWiki Enterprise Manager instance? In this case $context.user
would be something like xwiki:XWiki.rlach which means only the first 6 chars
would be trimmed, resulting in XWiki.rlach to be displayed.
What does $context.user returns on your page?
Guillaume

 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




-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Ryszard Łach
W dniu 2 kwietnia 2009 13:53 użytkownik Guillaume Lerouge 
guilla...@xwiki.com napisał:

  What elsecan I check?


 Are you in a XWiki Enterprise Manager instance? In this case $context.user
 would be something like xwiki:XWiki.rlach which means only the first 6
 chars
 would be trimmed, resulting in XWiki.rlach to be displayed.
 What does $context.user returns on your page?
 Guillaume


xwiki:XWiki.rlach

I've tried to trim 12 chars, but it also does not change my login name to
email:


com.sun.mail.smtp.SMTPSendFailedException: 501 rlach: sender address must
contain a domain

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


Re: [xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Guillaume Lerouge
Hi Richard,

2009/4/2 Ryszard Łach ryl...@gmail.com

 W dniu 2 kwietnia 2009 13:53 użytkownik Guillaume Lerouge 
 guilla...@xwiki.com napisał:

   What elsecan I check?
 
 
  Are you in a XWiki Enterprise Manager instance? In this case
 $context.user
  would be something like xwiki:XWiki.rlach which means only the first 6
  chars
  would be trimmed, resulting in XWiki.rlach to be displayed.
  What does $context.user returns on your page?
  Guillaume
 

 xwiki:XWiki.rlach

 I've tried to trim 12 chars, but it also does not change my login name to
 email:


 com.sun.mail.smtp.SMTPSendFailedException: 501 rlach: sender address must
 contain a domain

Try with:
set($sender =
${context.user.substring(12)}...@${request.servername.substring(4)})
Here I've put 4 as I assumed your domain name would be www.something.com
If your domain name is somethingelse.something.com you'll need to change 4
to 14 (the number of chars in somethingelse + the .)
Hope this helps,
Guillaume




 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




-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to change rights correctly in java?

2009-04-02 Thread ladar

Hi,
I'm trying make plugin that allows changing rights of parent page and 
automatically changes rights of its children pages. Now, this plugin is almost 
working, it is really changing the rights of all pages. But when I select 
Edit- Page Access Rights then there are no icons in the rights editor showing 
rights of users and groups for this page.

I have found that when I change rights using the plugin for example for page 
Main and group called Folks, then in Edit-Objects-XWiki.XWikiRights in the 
Groups fields there are two items called Folks (but actually just one group 
Folks exist). So I think this is the problem, but I have no idea what I'm doing 
wrong... Can you help me? Thanks a lot

Here is the part of java code in plugin:
XWikiD
BaseObject objekt =  doc.getObject(XWiki.XWikiRights,true, context);
objekt.set(users, , context);
objekt.set(levels, edit, context);
objekt.setStringValue(groups, Folks);
//  objekt.set(groups, Folks,context); this makes no difference
objekt.setClassName(XWiki.XWikiRights); // probably useless
objekt.set(allow, 1, context);
try{
context.getWiki().saveDocument(doc, context);
}catch(Exception a){}
-- 
View this message in context: 
http://n2.nabble.com/How-to-change-rights-correctly-in-java--tp2575044p2575044.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


[xwiki-users] Use Tags as select list instead of input

2009-04-02 Thread Jeremie

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

Thanks for help,
Jeremie
-- 
View this message in context: 
http://n2.nabble.com/Use-Tags-as-select-list-instead-of-input-tp2575113p2575113.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


Re: [xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Ryszard Łach
W dniu 2 kwietnia 2009 14:27 użytkownik Guillaume Lerouge 
guilla...@xwiki.com napisał:


 Try with:
 set($sender =
 ${context.user.substring(12)}...@${request.servername.substring(4)})
 Here I've put 4 as I assumed your domain name would be www.something.com
 If your domain name is somethingelse.something.com you'll need to change
 4
 to 14 (the number of chars in somethingelse + the .)
 Hope this helps,
 Guillaume


Well, I'm sure something like that should work, but I don't think it should
be resolved this way. I have e-mail addresses in Active Directory, my xwiki
users are being autocreated at first login (with LDAP authorization), they
have email field in xwiki filled in so I'll find out how to use it.

Thanks for your help,

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


Re: [xwiki-users] Sender in SendPageByEmail

2009-04-02 Thread Guillaume Lerouge
Hi,

2009/4/2 Ryszard Łach ryl...@gmail.com

 W dniu 2 kwietnia 2009 14:27 użytkownik Guillaume Lerouge 
 guilla...@xwiki.com napisał:

 
  Try with:
  set($sender =
  ${context.user.substring(12)}...@${request.servername.substring(4)})
  Here I've put 4 as I assumed your domain name would be 
 www.something.com
  If your domain name is somethingelse.something.com you'll need to
 change
  4
  to 14 (the number of chars in somethingelse + the .)
  Hope this helps,
  Guillaume
 

 Well, I'm sure something like that should work, but I don't think it should
 be resolved this way. I have e-mail addresses in Active Directory, my xwiki
 users are being autocreated at first login (with LDAP authorization), they
 have email field in xwiki filled in so I'll find out how to use it.

 Thanks for your help,

 R.

Well, then it's pretty easy:
#set($senderdoc = $xwiki.getDocument($context.user))
#set($senderobject = $senderdoc.getObject(XWiki.XWikiUsers))
#set($emailfield = $senderobject.getProperty(email))
#set($senderemail = $emailfield.value)
#set($sender = $senderemail)
Guillaume


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




-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki Office Milestone 2 released!

2009-04-02 Thread Florin Ciubotaru
The XWiki development team is pleased to announce the release of XWiki 
Office 1.0 Milestone 2.

Go grab it at 
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice !**

XWiki Office is a XWiki.org project that provides integration between 
Microsoft Office and XWiki servers.

For more information about XOffice go at: - 
http://xoffice.xwiki.org/xwiki/bin/view/Main/

Main changes from version 1.0 Milestone 1:
- Improved html filters
- Basic macro support
- Small UI improvements
- Better XWiki 2.0 syntax support
- XWiki 2.0 syntax and non-filtered local html are now set as default.

All active XWord M1 clients and snapshot instances will be automatically 
updated to the latest version.

For details about this release see the Release Notes at:

- http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice10M2

Thanks
-The XWiki dev team

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


[xwiki-users] requesting consistent application of XWIKI-2149 for feed URLs: ?xpage=rdf - ?xpage=plain

2009-04-02 Thread Niels Mayer
A few weeks ago, Marius Dumitru
Floreahttp://jira.xwiki.org/jira/secure/ViewProfile.jspa?name=mfloreaposted
this helpful hint in response to my question
http://n2.nabble.com/support-for-google-sitemaps-and-webmaster-tools--%28and-why-do-xwiki-RDF%27s-give-%22unsupported-file-format%22-%29-tp2468754p2489940.htmlsuggesting
I look at
http://jira.xwiki.org/jira/browse/XWIKI-2149?focusedCommentId=25334page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_25334and
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/feed/FeedPluginApi.java

FYI, it turns out this issue is also the source of bugs that might occur in
a few places in the 1.8 final XAR, including the search-document's
search-feed URL, for example:

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

The following issue has been reopened. *Author:* Niels Mayer,
 http://nielsmayer.comhttp://jira.xwiki.org/jira/secure/ViewProfile.jspa?name=nielsmayer
 *Date:* 02/Apr/09 18:50
 *Comment:*
 I have updated all my sites to 1.8 final and the problem persists. This
 lists exactly what has been updated in the 1.8 final XAR:
 http://morgellonswiki.info/xwiki/bin/view/XWiki/Import

 For example, in
 http://morgellonswiki.info/xwiki/bin/view/Main/WebSearch?text=lymex=0y=0
 note that you go to the URL
 http://morgellonswiki.info/xwiki/bin/view/Main/WebSearchRss?xpage=rdftext=lyme
 when you click the URL button.

 In my browser (firefox 3.0.8) that link displays as an XML file.

 By doing
 http://morgellonswiki.info/xwiki/bin/view/Main/WebSearchRss?xpage=plaintext=lyme

 It displays correctly as other feeds do. In addition to my browser, other
 sites also get errors from using the xpage=rdf form of the feed URL.

 I believe the issue here, and it doesn't just occur in this one place, but
 occurs in numerous places across Xwiki, is that the format for feed URL's
 has changed. Yet many of the documents in the 1.8 Xar still have not been
 converted to the new feed format:


 http://xwiki.markmail.org/message/54t4i2qt6cnnod7l?q=%5Bxwiki-devs%5D+%5BProposal%5D+new+%22/plain/

 Yesterday I've applied Marius's
XWIKI-2149http://jira.xwiki.org/jira/browse/XWIKI-2149patch Extend
the FeedPlugin to allow the creation of RSS/Atom feeds from
any source. New RSS urls with this revamped mechanism are of the type
/xwiki/bin/view/Space/DocRss?xpage=plain (while the current way is
/xwiki/bin/view/Space/DocRss?xpage=rdf). I propose we add an action that
return the plain.vm velocity template as entry point to render the
document, and map a new /feed/ action to it. This would allow us for
example to have a blog feed URL like this : /xwiki/bin/feed/Main/BlogRss
when the blog will actually use this new mechanism for its feed. I would
also like to map an action with a more generic name to it, like /plain/.
xpage=plain is for example used when we create pseudo-REST web services
(for example, all the AJAX/gridview features in XE do use URLs of that
type). I believe it would be nice to have in the service request URL only
parameters linked to the actual service. Thus I would propose we have
something like /xwiki/bin/plain/XWiki/MyService?myparam1=myvalue...

.
Unlike search, the tags document displays an rdf style feed which does
display correctly in Firefox:
http://morgellonswiki.info/xwiki/bin/view/Main/Tags?action=viewTagtag=Lyme
displays RSS Feed link
http://morgellonswiki.info/xwiki/bin/view/Main/TagsRss?xpage=rdftag=Lyme
  [ Show » http://jira.xwiki.org/jira/browse/XE-400 ]
 Niels Mayer, 
http://nielsmayer.comhttp://jira.xwiki.org/jira/secure/ViewProfile.jspa?name=nielsmayeradded
a comment - 02/Apr/09
19:07 Unlike search, the tags document displays an rdf style feed which
does display correctly in Firefox:
http://morgellonswiki.info/xwiki/bin/view/Main/Tags?action=viewTagtag=Lymedisplays
RSS Feed link
http://morgellonswiki.info/xwiki/bin/view/Main/TagsRss?xpage=rdftag=Lyme


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


[xwiki-users] Consider for GSOC idea: import administration enhancement/feature request ??

2009-04-02 Thread Niels Mayer
Not for me... but for some enterprising GSOC applicant: Seems like this
could be a good and achievable closed-end project that doesn't involve
complicated multi-system integration (and multi-points of failure), just
some new xwiki code based on examples already written. Code that IMHO would
be very useful:

On Mon, Mar 16, 2009 at 3:02 PM, Niels Mayer nielsma...@gmail.com wrote:

 In addition to selecting a xar and allowing a user to check to allow the
 xar's content to blindly overwrite the previous entry;  add a third option
 merge.

 When merge is selected, for that selected document, the diffs between the
 uploaded-xar and the current db are presented in a mergediff-in-browser
 style, allowing selection of  original content from the db versus xar.
 clicking ok then collapses the diff and remembers the choices taken.

 When the user has either selected the xar files they want to import
 directly, or used the mergediff tool above to select the contents of the new
 file, they click import and it's done. Note that the mergediff files,
 create a new version, unlike the overwrite done by the current selected
 checkboxes in the import tool.

 Niels
 http://nielsmayer.com


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


Re: [xwiki-users] Xwiki Syntax 2.0 by default in 1.8?

2009-04-02 Thread Ryszard Łach
2009/4/2 Marius Dumitru Florea mariusdumitru.flo...@xwiki.com


 Yes, this is normal, but you can change the default syntax for newly
 created pages. See

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringWikiSyntaxesanddefaultSyntax


I have another problem with syntaxes: my 'Page Syntax' pulldown on editing
page is fixed to xwiki syntax 1.0 and I cannot change it. In xwiki.cfg I
have

xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0
core.defaultDocumentSyntax = xwiki/2.0


In page source I can see

select name=syntaxId id=xwikidocsyntaxinput2 disabled=disabled
option value=xwiki/1.0 selected=selectedXWiki 1.0/option
  option value=xwiki/2.0XWiki 2.0/option
  /select


Is there another place for configuring syntax? I suppose it could change
after importing default 1.8 .xar.

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


[xwiki-users] Deny Public registration Wiki Workspaces

2009-04-02 Thread Chris Ellis
I really love the look and use of the xwiki products, but the lack of
documentation and broken functionality is very frustrating. After finally
getting smtp authorisation working in Enterprize I find the email which is
generated is not forming URLs properly - grrr.

So now I'm back to exploring Workspaces milestone 1.2 and I have found that
setting Public Registration to Allow or Deny makes no difference -
registration is just a matter of supplying a name and email address and
you're in. No admin approval required. This is not acceptable for an admin
setup intended for staff only.

Can anyone explain to me how this might be fixed please?

Cheers

Chris Ellis
Lorne-Aireys Inlet P-12 College
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users