This is probably best in the developers list. Maybe Alexis can give you a
hand with this. From what I know the user documents *do* have to exist in
the wiki. But I'm afraid I don't know enough to point about the LDAP
implementation to point you out in the right direction...
Luis.
---------- Forwarded message ----------
From: Matthew Conway <conway(a)tripadvisor.com>
Date: Jul 28, 2005 4:47 PM
Subject: [xwiki-users] Question about authentication
To: xwiki-users(a)objectweb.org
I'd like to be able to use XWiki with an alternate source for user
authentication and I thought creating my own auth service might do the
trick. However, on further thought, I'm not sure how this would work -
doesn't the XWiki user document still need to exist as a place to store
user settings (e.g email notification plugin stores an object there)? I
dug around a bit in the LDAP service code, and don't see anywhere where
it creates the xwiki user document, so I'm wondering what I'm missing.
I was thinking that maybe it should should auth the user then create the
user doc if it doesn't already exist. I guess the code/pages I have
that register that user could also send a message to xwiki to create the
user, but for LDAP user management clients that may not be possible, so
I must be missing something.
Is there a better way to do auth that I don't know about? Our user data
is in a set of DB tables.
Thanks,
Matt
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.orgmailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Luis Arias
http://www.xwiki.comhttp://www.innover-entreprendre.net
skype : kaaloo
+33 6 14 20 87 93 mobile
I'm currently trying to create a survey feature :
http://www.xwiki.org/xwiki/bin/view/Dev/Polls
Currently, it works without complete translation and a painful piece of
code :
http://club-beta.mandriva.com/xwiki/bin/view/Survey/SatisfactionSurvey
I'm facing somes problems :
- Translatable property value doesn't exists, useful for ListClass
properties.
- Separated label and value in select (ListClass).
- No getBooleanValue method in BaseCollection.
Not real problems :
- Lack of documentation. At least commented XWiki API Documentation
could be really helpful.
- 'Turns You Crazy' API : The difference between Document and
XWikiDocument is thin but crucial, same with Class and BaseClass and
many others. It's sometimes killing simplicity in the name of
abstraction : doc.getxWikiClass().getXWikiClass().getFieldList()
So if you could help or give me any hints/advice to add this feature in
xwiki, or if an more easy/universal way to add this feature in xwiki
exists, tell me.
Best regards,
Tim
--
http://people.tryphon.org/~tim/
Hi,
I've just tried Jeremi's packaging
(http://www.xwiki.org/releases/xwiki/xwiki-package-jetty-0-9-840.zip).
Well done! This is great and make it very simple to try out XWiki. It's very
cool :-)
Some small comments:
1/ Remove xwiki.log that should not be there before starting xwiki
2/ What's the difference between ext, lib and extra/lib?
3/ There are licenses in both etc/ and license/ directories. Maybe they
could be regrouped together?
4/ In webapps/ there's a index.html~ file that should be deleted
5/ It didn't work when I executed start.bat (see attached log). I had to
manually create the logs/ directory.
6/ http://localhost:8080/xwiki/ points to a page with a link to the wiki. It
should point directly to the wiki. Actually http://localhost:8080 should
point to the wiki IMO.
Again those are all very minor. This is a great install.
-Vincent
Hi all,
just working with XML/RPC interface, namely the renderContent(String token, String spaceKey, String pageId, String content) method. The documentation (on confluence site) says: "If 'content' is provided, then that is rendered as if it were the body of the page (useful for a 'preview page' function)". I expect the method returns valid and complete HTML code as is returned during "preview" of wiki pages.
Is this expectation correct?
Unfortunatelly, the code returned does not seem to be complete and valid HTML, there are <html> and other formal elements missing (this is a minor problem). The major problem is, that the code does not refer to any stylesheet; the page is rendered in "default" style, where tables has no borders etc.
Any hints?
Thanks,
~sp
Hi,
Thierry Grandsart is an intern working on ergonomics for XWiki. He has
been working on studying the different wikis and making some
recommandations on the XWiki interface.
We'd like to include you in giving us feedback about his proposals and
particpating in the discussion around them.
He has started publishing a first sketch of a new interface proposal for
XWiki at
http://www.xwiki.org/xwiki/bin/view/Dev/Ergonomics
Other proposals will follow and will be put up to discussion..
Don't hesitate to comment on the XWiki document or in the JIRA task at
http://jira.xwiki.org/jira/browse/XWIKI-109
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Xavier MOGHRABI wrote:
> xWiki works with UTF-8 Characters after some modifications, live example is on
> http://zh.objectweb.org
>
> There are some modifications to do in the code of xWiki, you need to configure
> xWiki to manage UTF-8 and to use a database without non UTF-8 code.
Whether use of non-English _names_ of documents is possible?
I have made all that is written in
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
But Russian names of documents displays incorrectly. On zh.objectweb.org
too.
From a code I have understood, it of that request.getPathInfo and
getParametr (for parameters in uri) are not decoded in utf.
It so, or I have incorrectly setup xwiki?
(or it is servlet api bug?)
I set SetCharacterEncodingFilter off by add ignore=false and rewrite
XWikiServletRequest.get, getPathInfo, getParameter to decode from
ISO-8859-1 tо UTF-8
Names now working fine, but i found next problem:
when i click on new,unedited link [newlink], open edit form. In this
form field "Parent" fills not decoded.
PrepareEditForm.setParent called 2 times, first call is decoded (from
PrepareEditForm.reset), second - not decoded (from beenutils).
Main questions:
1 That second PrepareEditForm.setParent call for?
2 Why it is not decoded?
3 How i may decode it?
Now i`m decode in setParent. This is bad idea, but works..
Soon i will open http://usunet.ru/wiki/ - Ural State University XWiki.
~Environment~:
Gentoo Linux, LANG="ru_RU.UTF-8"
Sun JDK 1.5.0.04, JAVAOPTS="-Dfile.encoding=UTF-8"
Tomcat 5.0.27-r6
DB: empty unicode db on PostgreSQL v8.0.3
(Sorry my English)
--
Artem Melentev, UralSU, CS301. jabber: amelentev(a)jabber.ru
Right.. It's a good time to regenerate some API docs.. I'll try to make
a pass this week on documenting a little the API and then regenerate
some documentations..
Actually you should post this to xwiki-dev as it is of interest to the
whole developer community and not only the Summer of Code students..
Anybody knows good documentation tools besides javadoc to show an API..
Ludovic
Bikash Agarwalla a écrit :
> Hi, I have been looking at xwiki docs to understand current
> architecture and came across the following arch figure:
>
> http://www.xwiki.org/xwiki/bin/download/Main/XWikiArchitecture/xwiki.jpg
>
> It is impossible to read this figure - the other figures on
> http://www.xwiki.org/xwiki/bin/download/Main/XWikiArchitecture, when
> magnified, show clearly the method names etc, but this one doesn't.
>
> I understand that the docs are probably outdated, I wanted to point
> this out and find out if there is any version of this figure which may
> be easier to read.
>
> Thanks,
> Bikash
> _______________________________________________
> soc-students mailing list
> soc-students(a)xwiki.org
> http://mailing.xwiki.org/mailman/listinfo/soc-students
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Well, I have some good news and some bad news.
The good news is that I just burrowed ahead and did
manage to [files attached]:
a. Add
b. Retrieve
c. Delete
a Page via the implementation that is available in the
most-current release of XWiki.
The bad news is:
a. The delete function was not, in fact completely
engineered/tested, but the work-around was
trivial, so I just fixed it in my local version.
b. The methods that are designed for solving your
problem, however:
i. getUser,
ii. addUser,
iii. addGroup,
iv. getUserGroups,
v. addUserToGroup
have not yet been coded.
So, in order to have the benefits of an xmlrpc-based
implementation, you'll need to get the development
team to complete the Confluence emulation code.
Since they already have a zillion items in their
backlog, you might find a quicker solution by pulling
the pieces out of Mr. Lauriere's 'extended profiles',
and using that as the basis for your import.
Terry
P.S.
I'm still very willing to go the 'extra mile' to build the
attached into a capability for you [and others], but
grepping through the code to discover how the API
handles the necessary Hibernate mapping to the
XWiki-proprietary database schema is not exactly the
way my granddaughter expects me to entertain her
during the dog days of her summer vacation. You might
spend some time looking at what the implementation of
'Add User', 'Add Group' and 'Add User To Group'
functionality appears to be, and maybe it will prove
to be just a few hours of code and test to insert those
method invocations into the corresponding methods of
com.xpn.xwiki.xmlrpc.ConfluenceRpcHandler.
----- Original Message -----
From: "Paul Dlug" <paul.dlug(a)gmail.com>
To: "tcorbet" <tcorbet(a)ix.netcom.com>
Sent: Sunday, July 17, 2005 11:15
Subject: Re: [xwiki-users] Creating users as a batch
I'm not particularly in a rush, I'm actually on vacation this week.
I'm very interested in having an XML-RPC type interface to do this and
other things. I'm going to have more needs along these lines as time
progresses, we're rolling out the wiki across our entire organization.
Please let me know if I can help in any way, I do have a good deal of
experience in developing XML-RPC interfaces, though no experience with
confluence.
Thanks,
Paul
On 7/16/05, tcorbet <tcorbet(a)ix.netcom.com> wrote:
> Paul,
>
> You can, no doubt, accomplish your task of creating 150 accounts
> through the XWiki application's U/I than I can design/write/test
> and document a solution. But, if you can tolerate probably four
> or five days of delay, I would be willing to create a utility for
> batch loading of users.
>
> From what I have been able to find in the way of documentation
> of XWiki's support of the Confluence-defined, Wiki-related
> xmlrpc methods, I think I could cobble together the necessary
> Java code. Probably the correct input would be an XML Schema
> .xsd file defining the User/Group attributes with use of a validating
> SAX parser so that you would get some helpful error messages
> when the inevitable incorrect input sneaks into your .xml input file.
>
> Of course, the way software requirements just keep expanding, I
> would anticipate that you really want the inverse utility as well --
> a dump into .xml of the currently-registered users. I am assuming
> that there is some other 'system of record' where your users are
> defined, so the 'dump-from-XWiki' output would give you a
> text file that could just be 'diffed' against whatever other list of
> users exists for a quick check on the sanity of things.
>
> I have no need for these utilities for my own modest sub-system,
> but if they would benefit you and others, I would be willing to
> undertake the development as I do need to write similar code for
> import-export of some other XWiki objects via xmlrpc in any case.
>
> ----- Original Message -----
> From: "Paul Dlug" <paul.dlug(a)gmail.com>
> To: <xwiki-users(a)objectweb.org>
> Sent: Saturday, July 16, 2005 07:38
> Subject: [xwiki-users] Creating users as a batch
>
>
> Is there any way to create users in a batch? I'm facing the need to
> create about 150 accounts at once, we have registration turned off
> because we want control of the users and we want to choose their
> WikiName's for them.
>
> It would also be necessary to put them in groups as a batch also. Is
> this problem as simple as just inserting rows directly into the
> database or are there other things I need to take into consideration?
>
>
> Thanks,
> Paul
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> >
> > --
> > You receive this message as a subscriber of the
xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>