Hi,
We use the standard Colibri Skin with usually a Left and Side pane for
panels.
Most of our panels are for navigation only. (80%)
So the question is:
Can I make the default behavior of a panel be that it is collapsed,
I want that after a click (and new content is loaded) that the panel is
automatically collapsing again (Like a drop down menu)
You click on the collapsed panel
It opens and shows the navigation links
The user selects one.
The webpage is loaded and if the panel is also on that page it is
automatically collapsed again
I do not want cookies (or something else) that remembers the state and
keeps the panel open.
So a simple piece of code that I can add to the panel to get the behavior?
A better version would be to link it to the default user attribute: User
type
So if user-type is simple automatically collapse
if user type is advanced; keep the panels open for faster navigation.
A even better would be to link it to the panel attribute Type and category
something like: If Panel-type is View and Panel-category is navigation.
Then automatically collapse without state memory)
Our goal is to dramatically reduce screen clutter.
For the roadmap of XWiki i would ask if it is possible to add something
about collapsing behavior in either the panel definition or in the
preferences of Site and/or space to define the desired behavior of panels?
Hi All, I want to display Blog of specific category on the main page. I want
to keep the existing content (an image and mostly text) and also include a
section for blog roll tagged as 'News'. Is there a way to display/include
the latest blog entry tagged to a certain category? Thanks in advance for
your time.
-Priti
--
View this message in context: http://xwiki.475771.n2.nabble.com/Display-Blog-of-specific-Category-on-Main…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a class called TaskManager with a property called Reporter that is of a "List of Users" type. What I am trying to do is assign the current user to the Reporter property when a new document is created so that the user does not have to select himself from the user list control, but I would like this field to also remain as read-only so the user cannot change it to someone else.
Using the following code in the TaskManagerSheet, the property gets populated on new, however when it is saved it disappears (not saved into the property). I have narrowed it down to the problem being the 'view' parameter in the $doc.display() function which makes it readonly, however because of this it is not being saved. Is there a way to set a value on new but retain a read-only status
Here is the code that I am using:
#set ($discard = $doc.use('TaskManager.TaskManagerClass'))
#if($doc.isNew())
$doc.set('reporter',$context.user)
#end
: $doc.display('reporter', view)
Hello everyone,
I'm working with a XWiki Enterprise 2.3 on tomcat and Oracle 10;
Since 2 or 3 days, when we upload a new file to a page , the file is
available during 1 min then the file size change to 0kb ;
Any idea?
Thanks for help
Patrick
Anyone is using the Piwik with XWiki?
I have installed it last week and and it is a nice tool however I couldn’t configure the Track Site Search in order to allow the Piwik to track the principal terms searched in my Xwiki.
Someone know how to configure it?
Thank you
Danilo
Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DETI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.
Hi everybody,
I deleted Administration Application in my Xwiki (version 5.1.2) and I
want now to reinstall it. I downloaded the xar at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Applica…
but I have an error message when I try to import it (see attachment).
Any help please ?
Thanks
Pierrick
Good morning to all XWiki Users,
i am installing a new xwiki instance (migration from an older instance) and
want to export/import user preferences like the watchlists, how can I do
that?
Thanks in advance
and best Regards
Silvio
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-Export-user-preferences-tp7588624.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I looked around a bit, but is there a way to list pages/attachments
users have deleted?
--
|| | | |||| || || | |||| ||| | |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Skype: massonpj
sip: OSI-Masson(a)ekiga.net
Ph: (970) 4MASSON
Em: massson(a)opensource.org <mailto:masson@opensource.org>
Ws: www.opensource.org <http://www.opensource.org>
Hi everybody !
I'm using XWiki 5.2.1 and I have a problem with search function in the
Blog space. When I type something in the search bar, only recent pages
are returned so I can't find old articles.
I suppose I have to reindex every pages but I don't know how.
Help please.
Thanks !
Pierrick
Hi,
I'm working with a fresh install of xwiki 5.3 (centos6 + openjdk 1.6 +
tomcat6 + mysql).
I have create a new subwiki (as a template) but whenever I try to create a
new subwiki using this template, i only get a blank wiki, just the standard
deploy.
I have followed these instructions with no luck:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Application
Just after the subwiki creation (from a template) I get a progress bar
indicating that the system is provisioning the wiki. When I click on
"Finalize", I'm automatically redirected to the "Distribution Wizard" page
telling me that I have to install "XWiki Enterprise UI - Wiki". If I skip
the wizard, the wiki is shown as it didn't have any UI.
Looking at catalina.out I don't see anything strange. I have also found out
that the first created wiki template doesn't show in the "Wiki Template"
admin panel. If I create a new template, this new one is shown in "xwiki
index" and "xwiki template". If I try to create a new subwiki using this
second template the error persist.
Anyone with this issue?
Regards,
Jaume
I have installed the docviewer macro, but it doesn't work! Have others
had success with this?
Similarly, I am having trouble with html iframes displaying. I have
tried viewing these pages in a number of different browers with no
success.
Insight?
Paul Pinkerton
KnowledgeNow Project Lead
Hello people,
When I use the "bar" ="/" character in my page names occurs a bug. The page is created but when I access the link complete blank page appears to me! Even I try to delete or rename the page the blank page continues showing to me... How can I delete these pages? Is there some way to avoid the users to create pages with bar ("/") character?
Thank you.
Grupo Energisa
Danilo A. Oliveira
Analista Suporte Aplicacao TI - DETI
e-mail: danilo.oliveira(a)energisa.com.br | tel: (32) 3429-6342
Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately.
Hi,
Is it possible to rotate the Bar Chart shown in
http://extensions.xwiki.org/xwiki/bin/view/Extension/Charting+Samples#HBarC…
Bar (Stacked bar)
So Vertical to Horizontal
If I want to use the Chart Macro:
See my code:
{{chart
type="bar"
params="document:CdLSWorld.GrossMotorData;table:grossMotor;range:B2-F8;series:columns;"
title="GROSS MOTOR"
width="600"
height="500"
/}}
My data from document:CdLSWorld.GrossMotorData
====== GROSS MOTOR ======
(% id="grossMotor" %)
|= |=|=0-25% |=25-50% |=50-75% |=75-95%
| Rolls over (71)| 3| 5| 7| 12| 36
| Sits alone (73)| 6| 9| 12| 20| 50
| Crawls (23)| 9| 11| 15| 19| 48
| Pulls to stand (57)| 9| 12| 16 | 23| 60
| Cruises (49)| 9| 14| 16| 24| 72
| Walks alone (54)| 12| 18| 24| 36| 120
| Runs (29)| 18| 28| 36| 48| 120
Good afternoon,
Not sure if this is the best way, and i'm sorry to bother you with this, but I'm trying to use HolidayRequest on my Xwiki intranet and i'm having a problem with used number of days.
I can't find a field anywhere to define this on a user. If you can give me the directions I would appreciate.
Best regards,
Ricardo Jesus
-----------------------------------------------------------------------------------
Esta mensagem pode conter informacao confidencial. Caso o receptor desta mensagem nao seja o destinatario indicado, e expressamente proibida a copia ou enderecamento desta informacao a terceiros, encontrando-se o destinatario na obrigacao de destruir a presente mensagem e de informar o emissor.
This message may contain confidential information, and is intended only for the individuals named. If you are not the intended recipient you should not distribute or copy this information and must delete this e-mail from your system and notify the sender immediately.
-----------------------------------------------------------------------------------
The XWiki development team is proud to announce the availability of
XWiki 5.4 Milestone 1.
This is an improvement and stability release for things started during
the 5.x cycle.
You can download it here:
http://www.xwiki.org/xwiki/bin/view/Main/Download (please allow a few
hours for the binaries to propagate to the download servers if the
download doesn't work yet)
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki54M1
Thanks
-The XWiki dev team
Hi,
In the wysiwyg section, I tried to customise the options in the menu, but I think I put in a bad value or made a typo, and clicked save. Now the menu won't show display the widgets any more. Please see http://i.imgur.com/FnVd6sE.png.
Is there another way to edit these settings?
Regards,
Sunil
Hi Clemens,
I don't think it's useful for me to make use of the version summary in this case. It doesn't do what I need it to do. I'll find a different approach to solve this problem.
Thanks for your help!
Regards,
Sunil
>Date: Tue, 07 Jan 2014 14:57:13 +0100
>From: Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
>To: users(a)xwiki.org
>Subject: Re: [xwiki-users] Changing the version summary; was: Adding a
> custom field to a page
>Message-ID: <52CC07B9.7040707(a)espresto.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi Sunil,
>
>> Hi,
>>
>> Is it possible to change the value of a page's 'version summary' after it saved? How can I do this using the UI?
>>
>
>You cannot do that via the UI; any change in wiki content should be versioned so everybody can see who changed what.
>In theory it would be possible to make the version summary itself versioned, but so far I know of no wiki system doing this.
>
>What you can do via the UI, however, is delete the revision with the version summary in case you have Admin rights.
>
>E.g. if the problem is concerning the most recent revision, just edit the page and type in the correct version summary, and save the page without changing anything else.
>This will create a new version with the correct version summary.
>Then you can look up the versions in the history tab and press the "Delete" link for the version with the misspelled version summary.
>
>Alternatively in case you do not want to delete the version but need to get rid of some version summary where someone pasted passwords by accident, you can do this directly in the database; the text is in the column XWR_COMMENT of the table xwikircs
>
>Hope this helps
>Clemens
>
>
Hi,
I have a class with a text field for holding a reference to a photo.
I would like to modify the sheet to add - modify objects of this class.
After the modification the sheet should display
- a default image if the object attribute 'photo' is empty (like the avatar
image for a xwiki user)
- a Button to modify the attribute
- When the user clicks on a pop-up like the image selector in the user
avatar.
My issue is that the class was developed in a very early version of XWiki.
On XWiki.org I found:
Attachment Selector Macro
This macro seems pretty close to what I want.
But the sheet is still in wiki version 1.
How can I use the macro in a sheet that is linked to the class?
Gerritjan
Hello XWiki team & users,
First of all thanks a lot for your great work.
I’ve set up XWiki as an intranet website (version 5.2.1).
Currenty I’m trying to customize it with some javascript to make life easier
for the users.
I experimented a bit with jQuery (as I have a bit of experience with it) and
have successfully integrated it into a test page via the jQuery Helpers
Extension
(http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Helpers)
Now I want to include a jQuery Plugin which extends the jQuery functions.
I’d like to try out the live tiles in Windows 8 style from Drew Greenwell
(http://www.drewgreenwell.com/projects/metrojs).
It’s no big deal to get the liveTiles working - On a local webserver without
Xwiki.
Here’s the problem: The functions from metrojs seem to collide with
prototype.js. I experimented a bit with jQuerynoConflict(); , I tried to
rename the functions inside metroJS.js, but nothing worked so far.
Firebug says ‘$ele.attr is not a function’ inside the metrojs-Code in the
console, which I believe is a problem with prototype.js. (See for the XWiki
test page code at the end of the mail – I won’t post the whole MetroJS-Code
here, it’s a little big).
My questions are:
a) Is there a possibility to deactivate / rename / “defuse” prototype.js, or
to listen for another shortcut than $ on this page (something like
prototypeNoConflict();) ?
b) Has anyone of you any experience with jQuery plugins (or even better,
Metrojs!) in XWiki and maybe a hint?
c) Is there a possibility of producing some kind of “liveTiles” with
prototype.js (which I’m not very experienced with)
I know it’s more of a javascript-related question, so thanks a lot for
reading this anyway.
Regards
Ruben
#################
Here’s the current code of my test page (ADMIN is the test space):
{{velocity}}
$xwiki.jsx.use("jQuery.jQuery", {'defer': false})
$xwiki.jsx.use("ADMIN.MetroJS")
$xwiki.ssx.use("ADMIN.MetroCSS")
{{/velocity}}
{{html}}
Carousel Mode: Simple
<div class="red">
<div id="tile1" data-mode="carousel" data-start-now="true"
class="live-tile" data-direction="horizontal" data-delay="3000">
<div> <http://www.drewgreenwell.com/images/sample/1tw.gif> </div>
<div> <http://www.drewgreenwell.com/images/sample/2tw.gif> </div>
<div class="accent emerald"><p class="metroExtraLarge">2 and a
half</p></div>
<div> <http://www.drewgreenwell.com/images/sample/3tw.gif> </div>
<div> <http://www.drewgreenwell.com/images/sample/4tw.gif> </div>
</div>
</div>
{{/html}}
--
View this message in context: http://xwiki.475771.n2.nabble.com/jQuery-plugin-Conflict-with-prototype-js-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I wanted a metawiki space, so as the "Admin" user, I created the "XWiki"
space. Realizing that we already had a "Wiki" space, I deleted the "XWiki"
space. The deletion to surprisinly long time, so I got suspicious and hit
"Cancel". I didn't think much of it until a few days later, when I was no
longer able to log in as "Admin". That was when I remembered that the
"XWiki" space is special. I had deleted a lot more than just a newly
created empty space.
Now I am no longer allowed to log in as "Admin" or "superadmin". Both
accounts worked before, but now both give me the error message "Invalid
credentials". Apparently, all users can log in with their ordinary user
account, but with no admin account I can no longer re-import the XWiki
pages from the XAR file.
The "superadmin" account was enabled when I upgraded to the current XWiki
5.2. It was tested and working, but not any longer.
How on earth to I get around this?
As as side note, I am very surprised that 1) I was able to create the
"XWiki" space, just as any other space, and 2) that I was able to delete
the "XWiki" space with no notification about this space being vital to
XWiki.
Any help or pointers are highly appreciated.
Kind regards,
Peter John Acklam
Xwiki friends,
We had installed Xwiki with default HSQL and have been using it for a couple
of months. We want to migrate to Oracle XE and I am looking for help to
understand if there are steps recommended for the migration (data and ui).
Any suggestions?
Thanks
Priti
--
View this message in context: http://xwiki.475771.n2.nabble.com/Help-Migration-from-HSQL-to-Oracle-db-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I want to use the space name in the page title. Is there a way to
create a reference to this?
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca <mailto:pinkerp@lao.on.ca>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org <http://www.aclco.org>
Further to this - I seem to be having trouble displaying using the
docviewer macro as well! It seems to insert just fine, but there is no
output.
Paul Pinkerton
KnowledgeNow Project Lead
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of
users-request(a)xwiki.org
Sent: January-07-14 1:11 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 78, Issue 9
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific than
"Re: Contents of users digest..."
Today's Topics:
1. Re: subwiki ldap authentication (Kelly Steinke)
2. Re: subwiki ldap authentication (Thomas Mortagne)
3. display external webpage in xwiki page (Paul Pinkerton (ACLCO))
4. Re: display external webpage in xwiki page (Thomas Mortagne)
5. Re: [xwiki-devs] [ANN] Welcome our new committer Clemens
Robbenhaar (Eduard Moraru)
----------------------------------------------------------------------
Message: 1
Date: Tue, 7 Jan 2014 09:15:49 -0700 (MST)
From: Kelly Steinke <ksteinke(a)steel-craft.ca>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] subwiki ldap authentication
Message-ID: <31648105.233.1389111376992.JavaMail.ksteinke@EDM-DEV03>
Content-Type: text/plain; charset=utf-8
Thanks for your quick response Thomas, I was under the impression that
if I chose to set up the subwiki with the option of "Only local users
are available in the wiki" and then change the base_DN to define where
those local users should be authenticated from, that the subwiki could
be used as a totally separate instance where users could go straight to
the login of the subwiki instead of "requesting to join" from the main
wiki.
With your explanation I see that this is not possible, so I will have to
rethink my strategy. Perhaps by changing permissions on the main wiki
spaces so that the users of my subwiki do not see anything on the main
wiki but give them the ability to request to join the subwiki. I tried
this originally but was running into to many problems, as the request
functionality was failing due to them not being able to send
notifications with limited permissions.
If I have some time perhaps I will look into creating a new patch as you
have suggested.
----- Original Message -----
From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
To: "XWiki Users" <users(a)xwiki.org>
Sent: Tuesday, January 7, 2014 8:36:00 AM
Subject: Re: [xwiki-users] subwiki ldap authentication
This is actually a general XWiki behavior: first try to auth on the
current wiki and then on the main wiki and it's true for the LDAP auth
too. Note that this user is supposed to really have been authenticated
and created on main wiki, you should not have a new XWiki user on your
subwiki so you should have the behavior if you log on main wiki and then
go to subwiki (the session keeping the user from main wiki).
You could create a new feature issue on http://jira.xwiki.org for a new
parameter controlling if the LDAP auth should fallback on main wiki or
not for example (like we have an option to control the fallback on
standard auth) and even better provide a patch if you have some Java
experience (it should not be very hard to do, I can help you look at the
right place if you plan to look at it).
On Tue, Jan 7, 2014 at 4:25 PM, Kelly Steinke <ksteinke(a)steel-craft.ca>
wrote:
> I have performed the following steps:
>
> * Installed the LDAP Admin Application on the subwiki.
> * Changed the LDAP BASE_DN to point to a different location than the
main wiki . ( OU=Accounting,OU=myBranch,OU=All
Users,DC=mycompanyt,DC=com ) as opposed to ( OU=All
Users,DC=mycompanyt,DC=com) on the main.
> * Created a new group in my AD called "maintenance_wiki" that has a
membership of users that I wish to authenticate against (as there is the
odd user that I want to authenticate that will not reside in the
OU=Accounting,OU=myBranch,OU=All Users,DC=mycompanyt,DC=com branch).
> * Changed the "Restricted To Group" setting in the LDAP application to
point to my new maintenance_wiki group.
> * Restarted the tomcat services.
>
> After turning LDAP logging on and performing some tests it appears
that If I log on with a user that does not exist in the
"maintenance_wiki" group it will next try to authenticate using the Main
Wiki's search DN as opposed to the more granular one that I have defined
in the Subwiki. So instead of getting an "Invalid Credentials" message,
which I was hoping for, it instead creates the user in the main wiki and
lets the user into the subwiki with the message "ERROR you are not
allowed to view this document or perform this action".
>
> What I was hoping would happen is that the subwiki would only
authenticate users from the search DN defined in the subwiki or that
belong in the group that I defined, and not create accounts for users
that exist in the main wiki's search DN. Is this possible?
>
>
> Kelly Steinke
> Software Developer/System Support
> STEEL-CRAFT DOOR PRODUCTS LTD.
>
> 13504 St. Albert Trail
> Edmonton, AB T5L 4P4
> Bus: 780.453.3761 ext.3310
> Fax: 780.454.1584
> Toll Free: 1.800.463.3667
>
> www.steel-craft.ca
>
> Information contained in this communication may be confidential and is
intended only for the use of the individual(s) named above. If you are
not the named addressee you should not disseminate, distribute or copy
this e-mail. If you have received this e-mail in error please notify the
sender.
> ----- Original Message -----
>
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> To: "XWiki Users" <users(a)xwiki.org>
> Sent: Tuesday, December 31, 2013 12:27:47 AM
> Subject: Re: [xwiki-users] subwiki ldap authentication
>
> Yes you have only one xwiki.cfg which contains the default
> configuration for each wiki but "You can also setup the LDAP
> configuration in the XWiki.XWikiPreferences page by going to the
> object editor. Simply replace xwiki.authentication.ldap. with ldap_.
> For example xwiki.authentication.ldap.base_DN becomes ldap_base_DN."
>
> You can install
> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application
> which is doing exactly that (modifying XWikiPreferences page) in the
> wikis you want to modify.
>
> On Tue, Dec 31, 2013 at 12:52 AM, Kelly Steinke
<ksteinke(a)steel-craft.ca> wrote:
>> Hi all,
>>
>> I just recently upgraded to 5.3 and have now created a sub wiki for
the first time. My main wiki is configured to authenticate using LDAP
and has a base search DN set to an OU called "AllUsers". In Active
Directory the AllUsers OU contains several sub OU's which separate users
according to branch, department ect. Having the LDAP set up to search
the AllUsers OU allows for anyone in our company to use the main wiki by
logging in with their network credentials and works great.
>>
>> When I created the sub wiki, I went through the wizard and selected
to only have local users be available in it, as this sub wiki is to be
used and administrated by a specific department only. What I would like
to achieve now is to have the users of the sub wiki be authenticated
using a different search base than that of the main wiki (aka the OU
that contains only users for that department).
>>
>> So instead of using the following, which is defined in the xwiki.cfg:
>>
>> xwiki.authentication.ldap.base_DN=OU=All Users,DC=mycompanyt,DC=com
>>
>> The sub wiki would use this for authentication:
>>
>> xwiki.authentication.ldap.base_DN=OU=Accounting,OU=myBranch,OU=All
>> Users,DC=mycompanyt,DC=com
>>
>> I read in the documentation " Use cases of configuration to
authenticate users with LDAP " that each wiki in a multiwiki environment
can have its own LDAP configuration, however I am unable to determine
how to do this, as there is only one xwiki.cfg file that contains my
LDAP configuration and there is no mention of any LDAP settings in the
xwiki.preferences page of the sub wiki.
>>
>> any help is greatly appreciated!
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> 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
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 2
Date: Tue, 7 Jan 2014 17:35:32 +0100
From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] subwiki ldap authentication
Message-ID:
<CAPnKnLF_4NYL7_htHYO7cF8vz6b=CR09Os4X3C3oWCA1ykOoeQ(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Actually "Only local users are available in the wiki" is something new
in 5.3 and not everything take it into account, LDAP authenticator is
one of them. You might want to add your use case to
http://jira.xwiki.org/browse/XWIKI-9856 and watch the issue.
On Tue, Jan 7, 2014 at 5:15 PM, Kelly Steinke <ksteinke(a)steel-craft.ca>
wrote:
> Thanks for your quick response Thomas, I was under the impression that
if I chose to set up the subwiki with the option of "Only local users
are available in the wiki" and then change the base_DN to define where
those local users should be authenticated from, that the subwiki could
be used as a totally separate instance where users could go straight to
the login of the subwiki instead of "requesting to join" from the main
wiki.
>
> With your explanation I see that this is not possible, so I will have
to rethink my strategy. Perhaps by changing permissions on the main wiki
spaces so that the users of my subwiki do not see anything on the main
wiki but give them the ability to request to join the subwiki. I tried
this originally but was running into to many problems, as the request
functionality was failing due to them not being able to send
notifications with limited permissions.
>
> If I have some time perhaps I will look into creating a new patch as
you have suggested.
>
>
>
> ----- Original Message -----
>
> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
> To: "XWiki Users" <users(a)xwiki.org>
> Sent: Tuesday, January 7, 2014 8:36:00 AM
> Subject: Re: [xwiki-users] subwiki ldap authentication
>
> This is actually a general XWiki behavior: first try to auth on the
> current wiki and then on the main wiki and it's true for the LDAP auth
> too. Note that this user is supposed to really have been authenticated
> and created on main wiki, you should not have a new XWiki user on your
> subwiki so you should have the behavior if you log on main wiki and
> then go to subwiki (the session keeping the user from main wiki).
>
> You could create a new feature issue on http://jira.xwiki.org for a
> new parameter controlling if the LDAP auth should fallback on main
> wiki or not for example (like we have an option to control the
> fallback on standard auth) and even better provide a patch if you have
> some Java experience (it should not be very hard to do, I can help you
> look at the right place if you plan to look at it).
>
> On Tue, Jan 7, 2014 at 4:25 PM, Kelly Steinke
<ksteinke(a)steel-craft.ca> wrote:
>> I have performed the following steps:
>>
>> * Installed the LDAP Admin Application on the subwiki.
>> * Changed the LDAP BASE_DN to point to a different location than the
main wiki . ( OU=Accounting,OU=myBranch,OU=All
Users,DC=mycompanyt,DC=com ) as opposed to ( OU=All
Users,DC=mycompanyt,DC=com) on the main.
>> * Created a new group in my AD called "maintenance_wiki" that has a
membership of users that I wish to authenticate against (as there is the
odd user that I want to authenticate that will not reside in the
OU=Accounting,OU=myBranch,OU=All Users,DC=mycompanyt,DC=com branch).
>> * Changed the "Restricted To Group" setting in the LDAP application
to point to my new maintenance_wiki group.
>> * Restarted the tomcat services.
>>
>> After turning LDAP logging on and performing some tests it appears
that If I log on with a user that does not exist in the
"maintenance_wiki" group it will next try to authenticate using the Main
Wiki's search DN as opposed to the more granular one that I have defined
in the Subwiki. So instead of getting an "Invalid Credentials" message,
which I was hoping for, it instead creates the user in the main wiki and
lets the user into the subwiki with the message "ERROR you are not
allowed to view this document or perform this action".
>>
>> What I was hoping would happen is that the subwiki would only
authenticate users from the search DN defined in the subwiki or that
belong in the group that I defined, and not create accounts for users
that exist in the main wiki's search DN. Is this possible?
>>
>>
>> Kelly Steinke
>> Software Developer/System Support
>> STEEL-CRAFT DOOR PRODUCTS LTD.
>>
>> 13504 St. Albert Trail
>> Edmonton, AB T5L 4P4
>> Bus: 780.453.3761 ext.3310
>> Fax: 780.454.1584
>> Toll Free: 1.800.463.3667
>>
>> www.steel-craft.ca
>>
>> Information contained in this communication may be confidential and
is intended only for the use of the individual(s) named above. If you
are not the named addressee you should not disseminate, distribute or
copy this e-mail. If you have received this e-mail in error please
notify the sender.
>> ----- Original Message -----
>>
>> From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
>> To: "XWiki Users" <users(a)xwiki.org>
>> Sent: Tuesday, December 31, 2013 12:27:47 AM
>> Subject: Re: [xwiki-users] subwiki ldap authentication
>>
>> Yes you have only one xwiki.cfg which contains the default
>> configuration for each wiki but "You can also setup the LDAP
>> configuration in the XWiki.XWikiPreferences page by going to the
>> object editor. Simply replace xwiki.authentication.ldap. with ldap_.
>> For example xwiki.authentication.ldap.base_DN becomes ldap_base_DN."
>>
>> You can install
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP+Application
>> which is doing exactly that (modifying XWikiPreferences page) in the
>> wikis you want to modify.
>>
>> On Tue, Dec 31, 2013 at 12:52 AM, Kelly Steinke
<ksteinke(a)steel-craft.ca> wrote:
>>> Hi all,
>>>
>>> I just recently upgraded to 5.3 and have now created a sub wiki for
the first time. My main wiki is configured to authenticate using LDAP
and has a base search DN set to an OU called "AllUsers". In Active
Directory the AllUsers OU contains several sub OU's which separate users
according to branch, department ect. Having the LDAP set up to search
the AllUsers OU allows for anyone in our company to use the main wiki by
logging in with their network credentials and works great.
>>>
>>> When I created the sub wiki, I went through the wizard and selected
to only have local users be available in it, as this sub wiki is to be
used and administrated by a specific department only. What I would like
to achieve now is to have the users of the sub wiki be authenticated
using a different search base than that of the main wiki (aka the OU
that contains only users for that department).
>>>
>>> So instead of using the following, which is defined in the
xwiki.cfg:
>>>
>>> xwiki.authentication.ldap.base_DN=OU=All Users,DC=mycompanyt,DC=com
>>>
>>> The sub wiki would use this for authentication:
>>>
>>> xwiki.authentication.ldap.base_DN=OU=Accounting,OU=myBranch,OU=All
>>> Users,DC=mycompanyt,DC=com
>>>
>>> I read in the documentation " Use cases of configuration to
authenticate users with LDAP " that each wiki in a multiwiki environment
can have its own LDAP configuration, however I am unable to determine
how to do this, as there is only one xwiki.cfg file that contains my
LDAP configuration and there is no mention of any LDAP settings in the
xwiki.preferences page of the sub wiki.
>>>
>>> any help is greatly appreciated!
>>>
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>> _______________________________________________
>> 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
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> 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
--
Thomas Mortagne
------------------------------
Message: 3
Date: Tue, 7 Jan 2014 11:45:18 -0500
From: "Paul Pinkerton (ACLCO)" <pinkerp(a)lao.on.ca>
To: <users(a)xwiki.org>
Subject: [xwiki-users] display external webpage in xwiki page
Message-ID: <5ADF7493B6AD244BB1AA71BC4034DA3A09AF44AB(a)ontario.lao.res>
Content-Type: text/plain; charset="us-ascii"
I want to display an external webpage in a wiki page. I have tried a
variety of methods including html using both iframe and embed. I cannot
seem to get the page to display. Ideas?
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca <mailto:pinkerp@lao.on.ca>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org <http://www.aclco.org>
------------------------------
Message: 4
Date: Tue, 7 Jan 2014 17:48:41 +0100
From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] display external webpage in xwiki page
Message-ID:
<CAPnKnLGdC3n6AvUNoiykQn=CYhBP24WBa38u7+4uZsdfPse0eg(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
iframe seems to work well for me, see
http://tuska.myxwiki.org/xwiki/bin/view/Test/Iframe (and
http://tuska.myxwiki.org/xwiki/bin/view/Test/Iframe?viewer=code).
On Tue, Jan 7, 2014 at 5:45 PM, Paul Pinkerton (ACLCO)
<pinkerp(a)lao.on.ca> wrote:
> I want to display an external webpage in a wiki page. I have tried a
> variety of methods including html using both iframe and embed. I
cannot
> seem to get the page to display. Ideas?
>
>
>
> Paul Pinkerton
>
> KnowledgeNow Project Lead
>
> pinkerp(a)lao.on.ca <mailto:pinkerp@lao.on.ca>
>
>
>
> Association of Community Legal Clinics of Ontario
>
> 416-847-1418 or 1-866-965-1416x 5177
>
> www.aclco.org <http://www.aclco.org>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
------------------------------
Message: 5
Date: Tue, 7 Jan 2014 20:10:22 +0200
From: Eduard Moraru <enygma2002(a)gmail.com>
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] [xwiki-devs] [ANN] Welcome our new
committer Clemens Robbenhaar
Message-ID:
<CADGDyY+u4VS82QU0_pJwZKBVG7hGZUBuVqF8aGOiuxZLWH3sqQ(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Congrats Clemens!
-Eduard
On Tue, Jan 7, 2014 at 2:11 PM, Clemens Klein-Robbenhaar <
c.robbenhaar(a)espresto.com> wrote:
> Hi Thomas and all the others,
>
> thanks for the welcome :)
>
> Actually I have been watching the development of XWiki since somewhat
1.6
> (or so I think, it got a bit lost in the mists of my memory),
> but never got around to contribute until recently; so I am happy
> that after much procrastinating I finally managed to start
contributing.
>
> Thanks for the XWiki developer team to accept me into the team!
>
> Cheers,
> Clemens
>
>
> > Hi xwikiers,
> >
> > The committers discussed and voted to include Clemens Robbenhaar in
> > the team which he agreed so a warm welcome to him !
> >
> > He has been very active since he started working on XWiki, he
already
> > spend a lot of time answering questions on the mailing list and on
IRC
> > (more than me I think).
> >
> > On the technical aspect everything I saw from him was good and very
> > clean and he is clearly no afraid to look at advanced stuff (he
spent
> > a long time last month trying to help Kaisen and Denis on migration
> > stuff which I'm
> > sure was not that critically related to his own work).
> >
> > Note that he is working on XWiki for EsPresto AG (don't forget to
add
> > it to http://main.xwiki.org/xwiki/bin/view/Main/Support).
> >
> > I'm sure he will be great addition to the team and it's always a
nice
> bonus
> > to see non XWiki SAS members so active ;)
> >
> > Welcome !
> >
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
------------------------------
Subject: Digest Footer
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
End of users Digest, Vol 78, Issue 9
************************************
Hi xwikiers,
The committers discussed and voted to include Clemens Robbenhaar in
the team which he agreed so a warm welcome to him !
He has been very active since he started working on XWiki, he already
spend a lot of time answering questions on the mailing list and on IRC
(more than me I think).
On the technical aspect everything I saw from him was good and very
clean and he is clearly no afraid to look at advanced stuff (he spent
a long time last month trying to help Kaisen and Denis on migration
stuff which I'm
sure was not that critically related to his own work).
Note that he is working on XWiki for EsPresto AG (don't forget to add
it to http://main.xwiki.org/xwiki/bin/view/Main/Support).
I'm sure he will be great addition to the team and it's always a nice bonus
to see non XWiki SAS members so active ;)
Welcome !
--
Thomas Mortagne
I want to display an external webpage in a wiki page. I have tried a
variety of methods including html using both iframe and embed. I cannot
seem to get the page to display. Ideas?
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca <mailto:pinkerp@lao.on.ca>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org <http://www.aclco.org>