I will try to get our Admin to update to the latest version, but the detour with the XWiki.WysiwygEditorConfig page in object mode worked, so thanks a lot!
greets
zae.
>>> Marius Dumitru Florea 21.06.12 15.31 Uhr >>>
What version of XWiki Enterprise are you using? We had
http://jira.xwiki.org/browse/XWIKI-7121 at some point but it should be
fixed in the most recent versions. In any case, you can edit directly
XWiki.WysiwygEditorConfig page in object mode and set the plugin and
tool bar configuration properties.
Hope this helps,
Marius
On Thu, Jun 21, 2012 at 11:12 AM, Account wrote:
> Hi,
> i have the same problem, but it didn't work. In the Administration -> WYSIWYG Editor I added the plugin "color" to the plugins and "forecolor" and "backcolor" to the toolbar, but when i hit the save-button all changes are gone and i don't know why.
> thanks in advance,
> zae.
>
>
>>>> Geo Du 24.05.12 0.58 Uhr >>>
> Ok, worked, great.
>
> Thanks very much.
>
> Dave
>
> On Wed, May 23, 2012 at 3:59 AM, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com> wrote:
>
>> On Wed, May 23, 2012 at 6:45 AM, Geo Du wrote:
>> > Hi Marius,
>> >
>> > I went to the Administration --> WYSIWYG Editor, from the General
>> settings,
>> > I can see there are sections for Plugins, Menu Bar and Tool Bar, I added
>> > color and font to the Plugins by using the plus icon button, and then
>> saved
>> > the settings from the save button, then I came to a page with the edit
>> > button to load wysiwyg editor, I found neither color nor font shown up, I
>> > did the same thing for Tool Bar, added color and font there, still no
>> color
>> > no font shown up on the wysiwyg editor, I looked the inline editor as
>> well,
>> > they did not show up either.
>> > On the editor, it had both Menu bar with link, image, table, macro and
>> > import, and Tool bar with bold italic ..., but no font no color showing
>> in
>> > the bar, so how can I add color and font into the bar?
>> >
>> > I checked the macros.vm, it loaded colors like that:
>> > #set($ok = $parameters.put('colors', $services.wysiwyg.config.
>> > getColorPalette()))
>> > #set($ok = $parameters.put('colorsPerRow',
>> > $services.wysiwyg.config.getColorsPerRow()))
>> > #set($ok = $parameters.put('fontNames',
>> > $services.wysiwyg.config.getFontNames()))
>> > #set($ok = $parameters.put('fontSizes',
>> > $services.wysiwyg.config.getFontSizes()))
>> > #set($ok = $parameters.put('styleNames',
>> > $services.wysiwyg.config.getStyleNames()))
>> >
>>
>> > Am I missing anything here?
>>
>> Yes, as indicated on
>>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsa…
>> each plugin provides some features that you can put on the tool bar or
>> menu. In you case, besides adding 'color' and 'font' to the list of
>> plugins, you also need to specify which of their features should be
>> placed on the tool bar (e.g. forecolor, backcolor, fontname,
>> fontsize).
>>
>> Hope this helps,
>> Marius
>>
>> >
>> > Thanks very much for your help.
>> >
>> > Dave
>> >
>> >
>> > On Mon, May 7, 2012 at 3:22 AM, Marius Dumitru Florea <
>> > mariusdumitru.florea(a)xwiki.com> wrote:
>> >
>> >> On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea
>> >> wrote:
>> >> > Hi Dave,
>> >> >
>> >> > On Sat, May 5, 2012 at 4:14 AM, Geo Du wrote:
>> >> >> Hi, Marius,
>> >> >>
>> >> >> Thanks very much for your help, I checked the link
>> >> >>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configurationturned on
>> >> >
>> >> >> the full list of toolbars like the following in xwiki.cfg file, then
>> I
>> >> >
>> >> > Where did you read "xwiki.cfg" or "xwiki.properties" on
>> >> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor(the
>> >> > link I gave you) ?
>> >> >
>> >> >> restarted tomcat, checked the page with wysiwyg editor, nothing
>> >> changed, no
>> >> >
>> >> >> subtoolbar, findtoobar or symboltoolbar showed up, and actually I
>> want
>> >> to
>> >> >
>> >> > There's no subtoolbar nor findtoobar.
>> >> >
>> >> > You don't have to change any configuration file nor to restart the
>> >> > server. You just have to go to the Administration, then to the WYSIWYG
>> >> > Editor section (from the left vertical menu) and there you'll be able
>> >> > to add plugins and features on the tool bar, like stated on
>> >> >
>> >>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigur…
>> >>
>> >> You should see this
>> >>
>> >>
>> http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnter…
>> >> .
>> >>
>> >> > .
>> >> >
>> >> > Hope this helps,
>> >> > Marius
>> >> >
>> >> >> add Text Alignment, Fonts, TextSize, colors to the toolbar, I googled
>> >> >> around, could not find a solution, any more clues? I checked
>> >> >> xwiki.properties file as well, nothing there related to wysiwyg
>> editor.
>> >> >>
>> >> >> Thanks again
>> >> >>
>> >> >> Dave
>> >> >>
>> >> >>
>> >> >> #---------------------------------------
>> >> >> # WYSIWYG Editor configuration
>> >> >> #
>> >> >>
>> >> >> #-# You can configure the toolbars you wish to see in the WYSIWYG
>> >> editor by
>> >> >> defining the
>> >> >> #-# xwiki.wysiwyg.toolbars property.
>> >> >> #-# When not defined it defaults to:
>> >> >> xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
>> >> >> undotoolbar, titletoolbar, \
>> >> >> styletoolbar, horizontaltoolbar,
>> >> >> attachmenttoolbar, macrostoolbar, \
>> >> >> tabletoolbar, tablerowtoolbar,
>> tablecoltoolbar,
>> >> >> linktoolbar, subtoolbar, findtoolbar, symboltoolbar
>> >> >> #-# The full list of toolbars includes the one defined above and the
>> >> >> following ones:
>> >> >> #-# subtoolbar, findtoolbar, symboltoolbar
>> >> >>
>> >> >> Then
>> >> >>
>> >> >> On Wed, May 2, 2012 at 5:27 AM, Marius Dumitru Florea <
>> >> >> mariusdumitru.florea(a)xwiki.com> wrote:
>> >> >>
>> >> >>> Hi Dave,
>> >> >>>
>> >> >>> On Wed, May 2, 2012 at 6:41 AM, Geo Du wrote:
>> >> >>> > Hi, all,
>> >> >>> >
>> >> >>> > I have a problem to add more tools onto the toolbar with xwiki
>> 3.5 I
>> >> am
>> >> >>> > using, I like to add Text Alignment, Fonts, TextSize, colors, but
>> I
>> >> >>> checked
>> >> >>>
>> >> >>> > this link:
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
>> >> >>>
>> >> >>> This is the user documentation. It describes the WYSIWYG editor
>> >> >>> features for simple users.
>> >> >>>
>> >> >>> > it is for 2.0, where is the toolbar configuration information
>> about
>> >> the
>> >> >>> 3.5
>> >> >>> > version? I could not find from the admin guide.
>> >> >>>
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ links to
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
>> >> >>> which has a section "Configure the WYSIWYG editor" which points to
>> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
>> >> >>>
>> >> >>> > Also from the WYSIWYG editor configuration class,
>> >> >>> > https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass
>> ,
>> >> it
>> >> >>> does
>> >> >>> > not define all the tool bar items.
>> >> >>>
>> >> >>> You should use the administration section dedicated for the WYSIWYG
>> >> editor.
>> >> >>>
>> >> >>> Hope this helps,
>> >> >>> Marius
>> >> >>>
>> >> >>> >
>> >> >>> > Would you please point me to the right direction to look at?
>> >> >>> >
>> >> >>> > Thanks very much!!
>> >> >>> >
>> >> >>> > Dave
>> >> >>> > _______________________________________________
>> >> >>> > devs mailing list
>> >> >>> > devs(a)xwiki.org
>> >> >>> > http://lists.xwiki.org/mailman/listinfo/devs
>> >> >>> _______________________________________________
>> >> >>> users mailing list
>> >> >>> users(a)xwiki.org
>> >> >>> http://lists.xwiki.org/mailman/listinfo/users
>> >> >>>
>> >> >> _______________________________________________
>> >> >> users mailing list
>> >> >> users(a)xwiki.org
>> >> >> http://lists.xwiki.org/mailman/listinfo/users
>> >> _______________________________________________
>> >> users mailing list
>> >> users(a)xwiki.org
>> >> http://lists.xwiki.org/mailman/listinfo/users
>> >>
>> > _______________________________________________
>> > users mailing list
>> > users(a)xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello XWiki experts,
in the deployment of our staging environment, we met a strange thing: many exceptions such as:
> Failed to send event [org.xwiki.bridge.event.DocumentCreatedEvent@72dd82d1] to listener [com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl@55b8b91f]
> org.hibernate.MappingException: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
> at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:693) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
> at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1485) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
[...]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addActivityEvent(ActivityStreamImpl.java:313) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.jar:na]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:398) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.j
> ar:na]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.addDocumentActivityEvent(ActivityStreamImpl.java:376) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.j
> ar:na]
> at com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamImpl.onEvent(ActivityStreamImpl.java:886) ~[xwiki-platform-activitystream-3.5.1-SNAPSHOT.jar:na]
> at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:268) [xwiki-commons-observation-local-3.5.jar:na]
> at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:233) [xwiki-commons-observation-local-3.5.jar:na]
> at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403) [xwiki-platform-legacy-oldcore-3.5.jar:na]
What's surprising is that the activitystream jar (3.5.1) is there and its hibernate mapping and that no complaint is made about the lack of such.
Also bizarre is that the same webapp (differences in xwiki.cfg and web.xml only) on our development server does not have this issue.
Is there something I've done wrong?
Thanks in advance
Paul
Hi,
i have the same problem, but it didn't work. In the Administration -> WYSIWYG Editor I added the plugin "color" to the plugins and "forecolor" and "backcolor" to the toolbar, but when i hit the save-button all changes are gone and i don't know why.
thanks in advance,
zae.
>>> Geo Du 24.05.12 0.58 Uhr >>>
Ok, worked, great.
Thanks very much.
Dave
On Wed, May 23, 2012 at 3:59 AM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
> On Wed, May 23, 2012 at 6:45 AM, Geo Du wrote:
> > Hi Marius,
> >
> > I went to the Administration --> WYSIWYG Editor, from the General
> settings,
> > I can see there are sections for Plugins, Menu Bar and Tool Bar, I added
> > color and font to the Plugins by using the plus icon button, and then
> saved
> > the settings from the save button, then I came to a page with the edit
> > button to load wysiwyg editor, I found neither color nor font shown up, I
> > did the same thing for Tool Bar, added color and font there, still no
> color
> > no font shown up on the wysiwyg editor, I looked the inline editor as
> well,
> > they did not show up either.
> > On the editor, it had both Menu bar with link, image, table, macro and
> > import, and Tool bar with bold italic ..., but no font no color showing
> in
> > the bar, so how can I add color and font into the bar?
> >
> > I checked the macros.vm, it loaded colors like that:
> > #set($ok = $parameters.put('colors', $services.wysiwyg.config.
> > getColorPalette()))
> > #set($ok = $parameters.put('colorsPerRow',
> > $services.wysiwyg.config.getColorsPerRow()))
> > #set($ok = $parameters.put('fontNames',
> > $services.wysiwyg.config.getFontNames()))
> > #set($ok = $parameters.put('fontSizes',
> > $services.wysiwyg.config.getFontSizes()))
> > #set($ok = $parameters.put('styleNames',
> > $services.wysiwyg.config.getStyleNames()))
> >
>
> > Am I missing anything here?
>
> Yes, as indicated on
>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsa…
> each plugin provides some features that you can put on the tool bar or
> menu. In you case, besides adding 'color' and 'font' to the list of
> plugins, you also need to specify which of their features should be
> placed on the tool bar (e.g. forecolor, backcolor, fontname,
> fontsize).
>
> Hope this helps,
> Marius
>
> >
> > Thanks very much for your help.
> >
> > Dave
> >
> >
> > On Mon, May 7, 2012 at 3:22 AM, Marius Dumitru Florea <
> > mariusdumitru.florea(a)xwiki.com> wrote:
> >
> >> On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea
> >> wrote:
> >> > Hi Dave,
> >> >
> >> > On Sat, May 5, 2012 at 4:14 AM, Geo Du wrote:
> >> >> Hi, Marius,
> >> >>
> >> >> Thanks very much for your help, I checked the link
> >> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configurationturned on
> >> >
> >> >> the full list of toolbars like the following in xwiki.cfg file, then
> I
> >> >
> >> > Where did you read "xwiki.cfg" or "xwiki.properties" on
> >> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor(the
> >> > link I gave you) ?
> >> >
> >> >> restarted tomcat, checked the page with wysiwyg editor, nothing
> >> changed, no
> >> >
> >> >> subtoolbar, findtoobar or symboltoolbar showed up, and actually I
> want
> >> to
> >> >
> >> > There's no subtoolbar nor findtoobar.
> >> >
> >> > You don't have to change any configuration file nor to restart the
> >> > server. You just have to go to the Administration, then to the WYSIWYG
> >> > Editor section (from the left vertical menu) and there you'll be able
> >> > to add plugins and features on the tool bar, like stated on
> >> >
> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfigur…
> >>
> >> You should see this
> >>
> >>
> http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnter…
> >> .
> >>
> >> > .
> >> >
> >> > Hope this helps,
> >> > Marius
> >> >
> >> >> add Text Alignment, Fonts, TextSize, colors to the toolbar, I googled
> >> >> around, could not find a solution, any more clues? I checked
> >> >> xwiki.properties file as well, nothing there related to wysiwyg
> editor.
> >> >>
> >> >> Thanks again
> >> >>
> >> >> Dave
> >> >>
> >> >>
> >> >> #---------------------------------------
> >> >> # WYSIWYG Editor configuration
> >> >> #
> >> >>
> >> >> #-# You can configure the toolbars you wish to see in the WYSIWYG
> >> editor by
> >> >> defining the
> >> >> #-# xwiki.wysiwyg.toolbars property.
> >> >> #-# When not defined it defaults to:
> >> >> xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
> >> >> undotoolbar, titletoolbar, \
> >> >> styletoolbar, horizontaltoolbar,
> >> >> attachmenttoolbar, macrostoolbar, \
> >> >> tabletoolbar, tablerowtoolbar,
> tablecoltoolbar,
> >> >> linktoolbar, subtoolbar, findtoolbar, symboltoolbar
> >> >> #-# The full list of toolbars includes the one defined above and the
> >> >> following ones:
> >> >> #-# subtoolbar, findtoolbar, symboltoolbar
> >> >>
> >> >> Then
> >> >>
> >> >> On Wed, May 2, 2012 at 5:27 AM, Marius Dumitru Florea <
> >> >> mariusdumitru.florea(a)xwiki.com> wrote:
> >> >>
> >> >>> Hi Dave,
> >> >>>
> >> >>> On Wed, May 2, 2012 at 6:41 AM, Geo Du wrote:
> >> >>> > Hi, all,
> >> >>> >
> >> >>> > I have a problem to add more tools onto the toolbar with xwiki
> 3.5 I
> >> am
> >> >>> > using, I like to add Text Alignment, Fonts, TextSize, colors, but
> I
> >> >>> checked
> >> >>>
> >> >>> > this link:
> >> >>> http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
> >> >>>
> >> >>> This is the user documentation. It describes the WYSIWYG editor
> >> >>> features for simple users.
> >> >>>
> >> >>> > it is for 2.0, where is the toolbar configuration information
> about
> >> the
> >> >>> 3.5
> >> >>> > version? I could not find from the admin guide.
> >> >>>
> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ links to
> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
> >> >>> which has a section "Configure the WYSIWYG editor" which points to
> >> >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
> >> >>>
> >> >>> > Also from the WYSIWYG editor configuration class,
> >> >>> > https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass
> ,
> >> it
> >> >>> does
> >> >>> > not define all the tool bar items.
> >> >>>
> >> >>> You should use the administration section dedicated for the WYSIWYG
> >> editor.
> >> >>>
> >> >>> Hope this helps,
> >> >>> Marius
> >> >>>
> >> >>> >
> >> >>> > Would you please point me to the right direction to look at?
> >> >>> >
> >> >>> > Thanks very much!!
> >> >>> >
> >> >>> > Dave
> >> >>> > _______________________________________________
> >> >>> > devs mailing list
> >> >>> > devs(a)xwiki.org
> >> >>> > http://lists.xwiki.org/mailman/listinfo/devs
> >> >>> _______________________________________________
> >> >>> users mailing list
> >> >>> users(a)xwiki.org
> >> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)xwiki.org
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
We would like to create a second and third instance of BLOG within the Wiki
This is quite easy to do with the BLOG.Management
But having done that there are two important things which we would like to
see differently
- Categories: Now the categories are shared between the BLOGS. We would
like to have a Category structure per BLOG SPACE
- Panels: We would like to have three side panels (last posts, Posts per
category and Archive) showing only posts of that BLOG SPace
The instruction on XWiki,org do not cover these two things.
Who knows how to do this?
Gerritjan
Please forgive me if this is resolved somewhere else, I've spent countless hours trying to figure it out.
But is there not a way to edit the following snippet to make it list the pages in the given space alphabetically??
{{spaceindex space="<space name here>" /}}
I've tried all kinds of things including the suggestions at http://xwiki.475771.n2.nabble.com/sorting-of-space-index-macro-td7549725.ht… and wasn't able to get it to work.
It seems like it should be something really simple to do, I just can't figure it out.
Or if there's another way to get an ordered list of the REAL pages in the space that would be great. I want to use it on the webhome of the space, so I don't want it cluttered up with everything in the Document Index, just the actual pages.
I can live with it showing web preferences and the webhome pages.
Regards,
Janna Cox
Hello,
I’m using Xwiki enterprise 4.1 with LDAP authentication to an Active Directory server. Authentication works fine, but my group mappings don’t work.
I think the problem is that I’m using sAMAccountName as UID_attr, but the memberfields of my groups contain the full ldap-dn of the user. So this way, they do not match and users are not seen as members in the group.
Is my assumption correct? And is there a solution for this problem?
(I have an other site with an OpenLDAP server which has normal uid’s in the group memberfields. This one works fine!)
Regards,
Mark
The XWiki Development team is proud to announce the second release of the 4.x cycle.
This release brings Extension Manager improvements such as merging of configuration documents during extension upgrade, a more gentle learning curve by hiding internal documents from non-technical users, and lots of goodies for the developers such as easy sharing of variables between scripts in different languages.
Download it hot off the press: http://www.xwiki.org/xwiki/bin/view/Main/Download
Other new and notable features include:
* Message sender macro for allowing users to send to the activity stream from any location.
* Global and per-user timezone settings
* Script access to load dependencies from the core using the Component Manager
* Smarter velocity interpretation converts allows strings to be passed to methods which take enums
* Stop run-away scripts after a configurable timeout
* Shorthand HQL queries in the Query Manager
For a full list with examples and explanations, check out the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks everyone who contributed to make the 4.1 cycle a success.
Caleb
Hello,
I'm trying to retrieve all users of a given group, but maybe there is a
problem with my code.
First, this is my code :
{{velocity}}
#set($users = $xwiki.rightsmanager.usersApi.allUsersNames)
#foreach($user in $users)
$user
#if($user.isUserInGroup('Gestionnaires'))
$user
#end
#end
{{/velocity}}
I have 6 users in my group "Gestionnaires" but none of these users is
displayed with this code.
Do you have an idea of why it doesn't work ? Do I forget something ?
Thank you very much in advance for everyone who will answer me ^^
Thanks,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Retrieve-all-users-of-a-given-group-tp757…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello XWiki admins,
I just upgraded a wiki farm from 2.7 to 3.5. No particular problem encountered.
The only annoyance is the MAIN new menu that appears on the top menu
bar. I prefer to hide it, the time to understand what is "Workspace"
and how it works in a XEM context.
What is the easiest way to disable this extra menu ? Thank for your help.
Maxime
I've created an app with app within minutes.
A normal user gets the following error:
Error
You are not allowed to view this document or perform this action.
What can cause this error, the space has the right rights set. (View, Comment and Edit; no Delete or Admin)
No document level security. Other documents in the space can be seen…
The page CdLSATEPrivat/WebHome is generated by app within minutes, but I have modified the documentsheetbinding
The LiveTableViewSheet has been copied from app within minutes space into CdLSATEPrivat space
Is there any groovy scripts that can not be used by normal users?
Gerritjan
Hi,
I am a physician (with an engineering background) in Seattle, Washington,
USA. I am interested in using myxwiki to develop a personal knowledge
management system, particularly for studying anthroposophic medicine.
my username is drmartin1
I request a myxwiki name of "coalesce".
Thanks,
David Martin
> You sure it's exactly the same ? I don't see how you can get "Binding
> to LDAP server with credentials login=[cn=xwiki]" with this
> configuration. It should indeicate
> "login=[uid=xwiki,ou=People,dc=debuntu,dc=local]".
> Maybe you have some configuration set in XWiki.XWikiPreferences page
> which override what you have in xwiki.cfg, did you tried the LDAP UI
> before seting xwiki.cfg ?
You're right, I've tried the LDAP UI before setting the xwiki.cfg. I
removed it, but it seems that XWiki still stores those settings
somewhere. I uninstalled it earlier in web interface and even removed
directories such as
/var/lib/xwiki/data/extension/repository/org.xwiki.platform%3Axwiki-platform-ldap-ui/
and /var/lib/xwiki/data/extension/repository/org.xwiki.platform%3Axwiki-platform-ldap-api/.
LDAP UI extension disappeared in web administration. But still I could
see in catalina.out that message "Binding to LDAP server with
credentials login=[cn=xwiki]", despite the fact my xwiki.cfg was
different.
I did 'locate ldap | grep xwiki' on serrver to find where it may be.
The only things it found are:
/usr/lib/xwiki/WEB-INF/lib/jldap-4.3.jar
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3/_maven.repositories
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3/jldap-4.3.pom
/var/cache/tomcat6/Catalina/localhost/xwiki/aether-repository/com/novell/ldap/jldap/4.3/jldap-4.3.pom.sha1
I have no idea where does LDAP UI store its configuration.
Anyway, after your response, I've tried to install and configure XWiki
UI again (since I'm unable to fully remove its configuration),
according to your proposals. I got different output in catalina.out,
but still no luck:
2012-06-14 14:54:21,163
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE
u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-06-14 14:54:21,173
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_classes: [groupofnames,
groupwisedistributionlist, dynamicgroup, dynamicgroupaux,
groupofuniquenames, group]
2012-06-14 14:54:21,173
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_memberfields: [member,
uniquemember]
2012-06-14 14:54:21,200
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Connection to LDAP server
[127.0.0.1:389]
2012-06-14 14:54:21,209
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Binding to LDAP server with
credentials login=[uid=xwiki,ou=People,dc=debuntu,dc=local]
2012-06-14 14:54:21,244
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5:
LDAP bind failed with LDAPException.
Wrapped Exception: Invalid Credentials
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
(exception same as before)
2012-06-14 14:54:21,245
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki
DB
2012-06-14 14:54:21,276
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user
[xwiki]
2012-06-14 14:54:21,356
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33
And here's my detailed configuration in XWiki's LDAP UI, as (like I
said) I didn't manage to remove it fully (and use xwiki.cfg instead):
LDAP
Yes
LDAP SERVER ADDRESS
127.0.0.1
LDAP SERVER PORT
389
LDAP LOGIN MATCHING
uid={0},ou=People,dc=debuntu,dc=local
LDAP PASSWORD MATCHING
{1}
RESTRICT TO GROUP
LDAP GROUP TO EXCLUDE
LDAP BASE DN
ou=People,dc=debuntu,dc=local
LDAP UID ATTRIBUTE NAME
uid
TRY LOCAL LOGIN
Yes
UPDATE USER FROM LDAP AFTER LOGIN
Yes
LDAP USER FIELDS MAPPING
name -> uid
last_name -> uid
first_name -> uid
fullname -> uid
LDAP GROUPS MAPPING
LDAP GROUPS CACHE EXPIRATION
WHEN TO SYNCHRONIZE LDAP GROUPS
At each authentication of a user
Is this wrong, or perhaps should I use only xwiki.cfg? If so, do you
know where can I find Xwiki's LDAP UI configuration files?
Thanks
Patricia
Thank you for your rapid reply.
> Seems to me that ut should be "uid" and not "cn" here according to
> what you found in your LDAP server.
I've tried "uid" in this part before, but it didn't help. Changed xwiki.cfg to:
xwiki.authentication.ldap.bind_DN=uid={0},ou=People,dc=debuntu,dc=local
xwiki.authentication.ldap.UID_attr=uid
Checked now again - unfortunately, result is the same.
Patricia
Hello,
I am trying to upgrade an old XEM to 3.5.1.
In this XEM there are some custom panels which have been converted to 2.0
syntax and contain code like this:
{{velocity}}
{{html}}
#panelheader("...")
...
#panelfooter()
{{/html}}
{{/velocity}}
Because since 2.7.2 panel macros were converted to 2.0 syntax, because
panel macros from inside macros.vm were modified by calling {{html}} wiki
macro and because we can't use nested {{html}} macros without wiki="true"
parameter, I don't know how to fix this issue besides modifying panel code.
This XEM has more than 70 wikis and this I can't just modify all custom
(converted to 2.0 syntax) panels manually.
Is there a nice solution to this problem ?
Should I open an issue on Jira ?
Raluca.
Hello,
I'm quite new to XWiki. I have a problem with making its log-in work
with OpenLDAP. I'm running Ubuntu server 11.10, my Xwiki version is
4.0, OpenLDAP (slapd) shows version 2.4.25-1.1ubuntu4.1. I've followed
instructions from XWiki documentation here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPAut…
I have user named 'xwiki' in ldap. When I try to log in from my Xwiki,
I get the 'Invalid credentials' message. catalina.out shows this
error:
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] TRACE
u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_classes: [groupofnames,
groupwisedistributionlist, dynamicgroup, dynamicgroupaux,
groupofuniquenames, group]
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConfig - ldap_group_memberfields: [member,
uniquemember]
2012-06-14 10:02:16,919
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Connection to LDAP server
[127.0.0.1:389]
2012-06-14 10:02:16,925
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
c.x.x.p.l.XWikiLDAPConnection - Binding to LDAP server with
credentials login=[cn=xwiki]
2012-06-14 10:02:16,930
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5:
LDAP bind failed with LDAPException.
Wrapped Exception: Invalid Credentials
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:172)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:101)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:305)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:182)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:129)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:273)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:193)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:175)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:242)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:4070)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:172)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:4083)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:5245)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:179)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
[struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
[struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[servlet-api-2.5.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[servlet-api-2.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
[xwiki-platform-legacy-oldcore-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
[xwiki-platform-wysiwyg-server-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-4.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:300)
[catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
[tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
[tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_23]
Caused by: com.novell.ldap.LDAPException: Invalid Credentials
at com.novell.ldap.LDAPResponse.getResultException(Unknown
Source) ~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown
Source) ~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
~[jldap-4.3.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.bind(XWikiLDAPConnection.java:206)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:168)
~[xwiki-platform-legacy-oldcore-4.0.jar:na]
... 47 common frames omitted
2012-06-14 10:02:16,931
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki
DB
2012-06-14 10:02:16,938
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user
[xwiki]
2012-06-14 10:02:16,974
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33
Here is my xwiki.cfg with part regarding LDAP:
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 1
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
xwiki.authentication.ldap.server=127.0.0.1
xwiki.authentication.ldap.port=389
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
#xwiki.authentication.ldap.bind_DN=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP
xwiki.authentication.ldap.bind_DN=cn={0},ou=People,dc=debuntu,dc=local
xwiki.authentication.ldap.bind_pass={1}
#-# The Base DN used in LDAP searches
xwiki.authentication.ldap.base_DN=ou=People,dc=debuntu,dc=local
#-# LDAP query to search the user in the LDAP database (in case a
static admin user is provided in
#-# xwiki.authentication.ldap.bind_DN)
#-# {0} is replaced with the user uid field name and {1} with the user name
#-# The default is ({0}={1})
# xwiki.authentication.ldap.ldap_user_search_fmt=({0}={1})
#-# Only members of the following group will be verified in the LDAP
#-# otherwise only users that are found after searching starting from
the base_DN
# xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# Only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# Specifies the LDAP attribute containing the identifier to be used
as the XWiki name
#-# The default is cn
xwiki.authentication.ldap.UID_attr=cn
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
# xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the
members. Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember
#-# retrieve the following fields from LDAP and store them in the
XWiki user object (xwiki-attribute=ldap-attribute)
xwiki.authentication.ldap.fields_mapping=name=uid,last_name=sn,first_name=givenName,fullname=cn,email=mail,ldap_dn=dn
#last_name=sn,first_name=givenName,email=mail
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# On every login update the mapped attributes from LDAP to XWiki
otherwise this happens only once when the XWiki
#-# account is created.
#-# - 0: only when creating user
#-# - 1: at each authentication
#-# The default is 1
xwiki.authentication.ldap.update_user=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Maps XWiki groups to LDAP groups, separator is "|". The following
kind of groups are supported:
#-# * LDAP static groups (users/subgroups are listed statically in the
group object)
#-# * [Since 3.3M1] LDAP organization units (users/subgroups are sub
object of the provided organization unit)
#-# * [Since 3.3M1] LDAP filter (users/groups are object found in a
search with the provided filter),
#-# | character in the filter need to be escaped with backslash (\).
#-#
#-# Here is an example:
# xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=AdminRole,ou=groups,o=domain,c=com|\
#
XWiki.LDAPUsers=ou=groups,o=domain,c=com|\
# XWiki.Organisation=(cn=testers)
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# Time in s after which the list of members in a group is refreshed from LDAP
#-# The default is 21600 (6 hours)
# xwiki.authentication.ldap.groupcache_expiration=21600
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first created
#-# - always: synchronize on every login
#-# The default is always
# xwiki.authentication.ldap.mode_group_sync=always
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB
authentication with the same credentials
#-# The default is 1
xwiki.authentication.ldap.trylocal=1
#-# The default is 1
xwiki.authentication.ldap.trylocal=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# - 0: normal
#-# - 1: SSL
#-# The default is 0
# xwiki.authentication.ldap.ssl=0
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#-# The default is com.sun.net.ssl.internal.ssl.Provider
# xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
#-# Bypass standard LDAP bind validation by doing a direct password comparison.
#-# If you don't know what you do, don't use that. It's covering very
rare and bad use cases.
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap.validate_password=0
#-# [Since 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used
"when xwiki.authentication.ldap.validate_password"
#-# is set to 1
# xwiki.authentication.ldap.password_field=userPassword
I'm familiar neither with LDAP, nor with OpenLDAP, so I've set the
configuration on localhost port 389 as in this tutorial:
http://www.debuntu.org/ldap-server-and-linux-ldap-clients
LDAP seems to recognize 'xwiki' user properly:
ldapsearch -x -b uid=xwiki,ou=people,dc=debuntu,dc=local
# extended LDIF
#
# LDAPv3
# base <uid=xwiki,ou=People,dc=debuntu,dc=local> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# xwiki, People, debuntu.local
dn: uid=xwiki,ou=People,dc=debuntu,dc=local
uid: xwiki
cn: xwiki
objectClass: account
objectClass: posixAccount
objectClass: top
loginShell: /bin/bash
uidNumber: 1000
gidNumber: 1000
homeDirectory: /home/xwiki
gecos: xwiki,,,
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
When I create the 'xwiki' user in Xwiki registration interface, I can
log in as 'xwiki', but in catalina.out I see that LDAP authentication
failed and the XWiki seems to get credentials from its own database:
[exception as before]
2012-06-14 10:48:24,815
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki
DB
2012-06-14 10:48:24,816
[http://10.1.0.220:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication succeed with
principal [XWiki.xwiki]
I've searched the mailing list and found similar problem in
http://www.mail-archive.com/users@xwiki.org/msg04827.html but it's 4
years old and it didn't help me. I've been trying to solve the problem
with my colleagues, but neither of them could fix it.
I've run out of ideas. Any help would be appreciated.
Patricia
Sorry, more détails here :
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module
Le 13 juin 2012 22:18, "Stéphanie Roulland" <stephanie.roulland(a)gmail.com> a
écrit :
Hello,
Thank you but how can I use the query module ? Is there something special
to do ?
Thanks,
Stéphanie
2012/6/13 Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com>
> Hello,
>
> You can use the query module ...
--
Stéphanie ROULLAND
06.77.99.36.41
-------------------------
Contrat de professionnalisation DCNS
Ingénieur domaine collaboratif
02.29.05.42.23
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwik...
Hello everyone,
I was wondering how I can do that. I want to know all the pages in a certain
space that begin with "123" for exemple.
For exemple, if I have these pages in a space :
- 123456
- abc
- 1245
- 123abc
I only want to have the pages "123456" and "123abc". Does a solution exist
for my problem ?
Thanks,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Does-my-page-s-name-begin-by-tp7579579.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
This is either a feature request or a request for discussing
solutions to the issue of known comment spammers against XWiki
installs.
There's known spammers like davycrokkett(a)hotmail.com (see
http://www.nielsmayer.com/bin/view/XWiki/DavyCrokkett ) which have to
be managed and curtailed for any XWiki install enabling comments.
During registration, it would it be nice to check sites like
http://www.stopforumspam.com/ and prevent registration emails from
going out to known comment spammers.
For example, the aforementioned spammer is listed at
http://www.stopforumspam.com/ipcheck/111.243.227.227
suggesting Current country of origin: Taiwan, Province of China
Date IP Address Username Email
1-Jul-11 07:31 111.243.227.227 coseteene davycrokkett(a)hotmail.com
30-Jun-11 18:29 111.243.227.227 Assusypesound davycrokkett(a)hotmail.com
30-Jun-11 13:43 111.243.227.227 Impuppota davycrokkett(a)hotmail.com
30-Jun-11 11:22 111.243.227.227 Biordaccoma davycrokkett(a)hotmail.com
30-Jun-11 07:01 111.243.227.227 rooviskitte davycrokkett(a)hotmail.com
29-Jun-11 23:59 109.230.222.175 Beethyemegree davycrokkett(a)hotmail.com
29-Jun-11 22:49 111.243.227.227 Kneefshes davycrokkett(a)hotmail.com
29-Jun-11 13:59 111.243.227.227 seltencarne davycrokkett(a)hotmail.com
29-Jun-11 13:31 111.243.227.227 inigneedync davycrokkett(a)hotmail.com
29-Jun-11 11:50 174.142.132.203 Beethyemegree davycrokkett(a)hotmail.com
29-Jun-11 11:50 174.142.132.203 phorilmiplism davycrokkett(a)hotmail.com
29-Jun-11 07:53 111.243.227.227 Agergeevame davycrokkett(a)hotmail.com
29-Jun-11 05:56 111.243.227.227 Atomnegmess davycrokkett(a)hotmail.com
29-Jun-11 05:50 111.243.227.227 Impuppota davycrokkett(a)hotmail.com
It would also be interesting for such flagged users to return a list
of associated IP's (such as above) which could be blacklisted as well.
I guess the correct solution would be to use
http://extensions.xwiki.org/xwiki/bin/view/Extension/Social+Login but
then the spammers would just end up getting twitter, facebook or
foursquare logins and use those instead of hotmail accounts.
-- Niels
http://www.nielsmayer.com
App Within Minutes creates a nice "Add record" button.
After clicking the button a dialog is presented asking for input that is
used to create a new documentname.
This is (more or less, since i modified it slightly) the Java script that
is added to the sheet by the app-within-minutes generator.
My question is due to fact that i'm not a javascript expert, so solution
might be very simple:
I would like to generate the documentname based on user that is clicking
the button
If user in group X then input will be pre populated with 'Full Name" of
that user and popup will not allow user to change this value;
Confirmation would be like "New Question will be made for: [[Gerritjan
Koekkoek]] and user can only proceed or cancel
If user in group y the same behaviour; but now the inputbox would need to
be open for change
Confirmation would be like "New Question will be made for: [[Gerritjan
Koekkoek]] but now user can change the input to 'Andree Benz' meaning that
new question is posted by
Gerritjan Koekkoek on behalf of Andree Benz.
How would you suggest to change below script to get the desired effect?
(see lineindicator ==> of what I thought would be a solution?
var XWiki = (function (XWiki) {
XWiki.EntryNamePopup = Class.create(XWiki.widgets.ModalPopup, {
initialize : function($super, trigger) {
trigger.observe('click', this.showDialog.bindAsEventListener(this));
this.urlTemplate = trigger.up().next('input[type=hidden]').value;
this.input = new Element('input', {type: 'text'});
this.addButton = new Element('input', {type: 'image', src:
'$xwiki.getSkinFile('icons/silk/add.png')', alt:
'$escapetool.javascript($msg.get('cdlsateprivat.CreateNewQuestionAltText'))'});
var container = new Element('div', {id: 'entryNamePopup'});
container.insert(this.input);
container.insert(this.addButton);
$super(container, {
show: {method: this.showDialog, keys: []},
add: {method: this._onAdd, keys: ['Enter']}
}, {
title:
'$escapetool.javascript($msg.get('cdlsateprivat.CreateNewQuestionTitle'))',
verticalPosition: 'top'
});
},
createDialog : function($super, event) {
this.input.observe
this.addButton.observe('click', this._onAdd.bind(this));
$super(event);
},
showDialog : function($super, event) {
$super(event);
==> $this.input.val() == 'Gerritjan Koekkoek' //this line did not work,
how can I get it prepopulated (or suggested) with preferably XWiki variable
this.input.clear().focus();
},
_onAdd : function() {
if (this.input.value != '') {
window.self.location = this.urlTemplate.replace('__entryName__',
encodeURIComponent(this.input.value));
} else {
this.input.focus();
}
}
});
function init() {
var actionBox = $('actionBox');
if(actionBox) {
new XWiki.EntryNamePopup(actionBox.down('.add'));
return true;
}
return false;
}
(XWiki.domIsLoaded && init()) || document.observe('xwiki:dom:loaded', init);
return XWiki;
}(XWiki || {}));
XWiki core development team is proud to announce the availability of XWiki Enterprise 4.1 Release Candidate 1
This is the first and hopefully final release candidate of the 4.1 release cycle. Being a release candidate, this release is sparse on new features concentrating instead on stabilization of the features brought in Milestone 1 and Milestone 2. The 4.1 cycle brings new 3D graphs made with pure XWiki syntax, safer Groovy scripting, and new localization through timezone settings.
Go grab it at http://enterprise.xwiki.org/xwiki/bin/view/Main/Download and let us know what you think.
For more information about the 4.1-rc-1 release, See the Release Notes http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks to everyone who helped out to make this release great.
Caleb
Hello everybody,
I've a simple problem.
I've a text input where people can enter some text.
After, I want to send that text as a param to a javascript function.
However, when user types a quote (simple or double), there is a problem
in my javascript syntax.
I've tred to add backslash but no effect.
Thanks for your help.
Mathieu Canzerini.
Hi XWiki users,
We've prepared a list of the top 10 features we've developed during the ~1 year release cycle for XWiki 3.x (i.e. from 3.0 to 3.5):
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
The XWiki SAS company has also published a blog post about it at:
* English: http://www.xwiki.com/xwiki/bin/view/Blog/10Features3xCycle
* French: http://www.xwiki.com/xwiki/bin/view/BlogFr/10Features3xcycle
As a reminder our main themes for the 3.x cycle were:
* Theme 1: "Building Apps and Distributing them"
• Theme 2: "Polishing"
Note that we've already started the 4.x cycle with the following new themes:
* Theme 1 (top priority): Ease of use
* Theme 2: Quality
So XWiki lovers, WDYT? Was 3.x a good cycle? Do you like what we've achieved during this one year?
Any feedback for us?
Thanks
-Vincent