Hello,
I am working on creating blog entries using xwiki. I was wondering if it would be possible to create a template for the blog entries so that they will be more structured?
Thank you for your time and help!
Hande Aksac
Hi,
Since I'm rewriting the new Rendering component
(see http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture)
, we need to finalize the new syntax we want to have.
Right now I'v planned to use the same wiki syntax as now
(http://platform.xwiki.org/xwiki/bin/view/Main/
XWikiSyntax#HTextStyles) with only one change: all macros now need to
be closed.
For example: {macro}...{/macro} and {macro:text|param=value|.../}
Is that ok with everyone or do we want to make changes?
Thanks
-Vincent
We need a deprecation strategy, i.e. decide for how long we keep
@deprecated methods/classes.
I propose to keep them for 2 full releases after the current version
is released as final.
For example if a method is deprecated in, say Core 1.3M2 then the
method will be removed in 1.6M1. Of course any major new release can
deprecate anything so a XWiki 2.0 is expected to break backward
compatibility.
So for methods deprecated in 1.0 we can remove them in 1.3M1, M2, etc.
WDYT?
If ok then I'll add this to our dev practice guide too.
Note that for this to be easy anyone deprecating methods should add
the information of when it was deprecated. For example:
/**
* @param time the time in milliseconds
* @return the time delta in milliseconds between the current
date and the time passed
* as parameter
* @deprecated replaced by {@link
com.xpn.xwiki.api.Util#getTimeDelta(long)} since 1.3M2
*/
public int XWiki.getTimeDelta(long time)
{
return this.util.getTimeDelta(time);
}
Here's my +1
Thanks
-Vincent
Hi,
Does anyone know why we have the following LANG property defined in
our startup scripts:
#!/bin/sh
export LANG=fr_FR.ISO8859-1
JETTY_HOME=.
JETTY_PORT=8080
JAVA_OPTS=-Xmx300m
java $JAVA_OPTS -Dfile.encoding=iso-8859-1 -Djetty.port=$JETTY_PORT -
Djetty.home=$JETTY_HOME -jar $JETTY_HOME/start.jar
I think this is bad as it's french and I don't think we should set it
for the user.
That said, if it's there its probably because it was required in the
past, hence my question here.
To summarize: anyone sees any issue if I remove that "export LANG" line?
Thanks
-Vincent
Hello,
I have managed to authenticate users with the Active directory through LDAP.
However, all the users i login were shown the error message
"You are not allowed to view this document or perform this action." when i
am at http://localhost:8080/xwiki/bin/view/Main/WebHome.
I pressume the users records are not in the Xwiki database.
Where and how do i create these records when the user first logon onto xwiki?
Regards,
----- Original Message ----
From: arnaud <adlz(a)netcourrier.com>
To: devs(a)xwiki.org
Sent: Thursday, 15 November 2007 2:01:06
Subject: Re: [xwiki-devs] ntlm with xwiki [END]
hello
FYI it works !!
just had to use the createUserFromLdap from Ldap plugin class
now user are recognized by xwiki and authenticated by ntlm! At last!
----Message d'origine----
>Date: Mon, 12 Nov 2007 22:20:27 +0100 (CET)
>De: "Jerome Velociter" <jerome(a)xwiki.com>
>A: "XWiki Developers" <devs(a)xwiki.org>
>Sujet: Re: [xwiki-devs] ntlm with xwiki
>
>Hi Arnaud,
>
>As far as your problem, I can't really help you much as I've never
>experimented custom auth. I don't know how LDAP binds the users to
actual
>XWiki users, but I suppose for this to work, you should at some point
feed
>XWikiUsers documents/objects with data from LDAP. (since LDAPAuthImpl
is
>only auth, maybe there is something else needed).
>Maybe you can ask this on the users list, as it is both more of a user
>issue, and you could get insights from those who actually use LDAP
>auth/user management.
>
>Good luck with this,
>Jérôme.
>
>>
>> hi again
>>
>> very sorry to disturbing you once again
>>
>> i saw that i can get request from wikicontext
>> so in my own auth class i can get my user
>> no longer need a servlet to send user to the login form
>> great everything is fine BUT
>>
>> first: i still have "you are not allowed to view this document ...."
when
>> the user log in
>>
>>
>> second : i can't log out
>>
>> problem look like xwiki don't know my user
>> (in my AuthImpl i did all that it's found in LDAPAuthImpl...)
>>
>> sorry again
>> (BTW if it's not the right place to ask this kind of questions, tell
me,
>> no problem...)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ----Message d'origine----
>>>Date: Sat, 10 Nov 2007 23:19:23 +0100 (CET)
>>>De: "Jerome Velociter" <jerome(a)xwiki.com>
>>>A: "XWiki Developers" <devs(a)xwiki.org>
>>>Copie à: devs(a)xwiki.org
>>>Sujet: Re: [xwiki-devs] ntlm with xwiki
>>>
>>>Hello,
>>>>
>>>> First of all Sorry for creating a new topic
>>>>
>>>> thanks for your anwser Jerome.
>>>>
>>>> but Actually i have seen this feature
>>>>
>>>> i added jcifs and it works well
>>>> an other hand i have tested impletentetion for ldap its works too
>>>>
>>>> but i want a transparent authentication
>>>> so now the problem is :
>>>>
>>>> i would like to not have form login
>>>> i saw in code that we can define our login page with this property
in
>>>> xwiki.cfg :
>>>> xwiki.authentication.loginpage (if null default is
>>>> /bin/login/XWiki/XWikiLogin)
>>>>
>>>> i've changed this property but no changes when template call
>>>>
>>>> $xwiki.getURL("XWiki.XWikiLogin", "login", "xredirect=$logredir"))
>>>>
>>>> i still got the same url : bin/login/XWiki/XWikiLogin?
>>>
>>>Actually, it's the expected behavior : the call asks for the URL of
the
>>>XWiki.XWikiLogin document, under the login action and with a
xredirect
>>>query string parameter. If you changed your authentication login
page to
>>>XWiki.MyCustomLogin in the conf, the calls to login URL should ask
for
>>>that document IMO. Also, you may have to modidy a bit the skin if
you
>>> want
>>>the users to be redirected to the proper login page any case. If you
are
>>>using albatross skin, you can look over global.vm and login.vm,
there is
>>>also the header.vm file in the webapp/templates folder that calls
for the
>>>login URL.
>>>
>>>Hope it's clear enough, as I'm not sure what you exactly want to do
(In
>>>particuliar, I don't understand why you wany to post username to
>>>loginsubmit action, since you use third-party authentication).
>>>
>>>Tell us how it goes.
>>>
>>>Regards,
>>>Jerome.
>>>
>>>>
>>>>
>>>> the purpose of that is log-in link goes to my servlet , then i do
ntlm
>>>> authentication (it already works), then i post user name to
>>>> /xwiki/bin/loginsubmit/XWiki/XWikiLogin
>>>>
>>>> in the same time i do my own version of authentification (get user
info
>>>> (name mail,etc...) from another ldap without test of password cos
>>>> already
>>>> done with ntlm)
>>>>
>>>>
>>>> So! how can i redirect log-in page ? thanks a lot
>>>>
>>>> ------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> You can implement your own version of the
>>>> com.xpn.xwiki.user.api.XWikiAuthService interface.
>>>>
>>>> There's already a LDAP impl existing (different from the XWiki
default
>>>> one), so you can look over that too as an example.
>>>>
>>>> Then, you must precise in the xwiki.cfg configuration file that
you
>>>> want
>>>> to use your own class, with something like
>>>>
>>>> xwiki.authentication.authclass =
>>>> com.mycompany.mypackage.MyXWikiAuthImpl
>>>>
>>>> Regards,
>>>> Jerome.
>>>>
>>>> _______________________________________________
>>>> devs mailing list
>>>> devs(a)xwiki.org
>>>> http://lists.xwiki.org/mailman/listinfo/devs
>>>>
>>>
>>>
>>>_______________________________________________
>>>devs mailing list
>>>devs(a)xwiki.org
>>>http://lists.xwiki.org/mailman/listinfo/devs
>>>
>>
>> _______________________________________________
>> devs mailing list
>> devs(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>_______________________________________________
>devs mailing list
>devs(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
__________________________________
Yahoo! Movies - Search movie info and celeb profiles and photos.
http://sg.movies.yahoo.com/
Hi,
I'd like to attach an image to the current document but the image is
attached to another document. I couldn't find the answer in the FAQ.
It would be great if the {image:} radeox macro allowed for this.
Right now the only solution I'v found (which is a bit ugly) is to use an
HTML <img> tag as in:
<img src="/xwiki/bin/download/XWiki/Toolbar/image.gif" />
Any other solution I would have missed?
Thanks
-Vincent
___________________________________________________________________________
D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions !
Profitez des connaissances, des opinions et des exp�riences des internautes sur Yahoo! Questions/R�ponses
http://fr.answers.yahoo.com
Hi everyone,
It's getting clear from the dev and user communities that the wiki
editor module is getting kind of bottleneck for document editing and
advanced apps writing. So this is one of the hottest XWiki development
topics this year. Ludovic prototyped a new generation editor entirely
based on GWT 1.4 + GWT RichTextEditor featuring also real-time
collaboration capabilities. On his side, Mikhail from Cognium Systems
investigated several strategies. All current partakers in this project,
can you update the following page with your ideas and links to existing
prototypes?
http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorBasedOnGwt
Let's discuss the various strategies on the list, with pointers to Web
pages whenever possible (yes, email is obsolete [1], we'll have to
bootstrap the new communication tools, and this wysiwyg will be a big
part of them). Beside the technical aspects, we'll have to discuss also
the licensing and the hosting (XWiki versus other independant forges)
aspects.
[1] http://arkub.net/xwiki/bin/view/Blog/Farewell_SMTP
Cheers
Stéphane
--
Stéphane Laurière
slauriere(a)xwiki.com
XWiki http://www.xwiki.comhttp://concerto.xwiki.comhttp://nepomuk.semanticdesktop.org
I'd like to release XE 1.4M1 as soon as possible. It has the following
changes compared to 1.3 :
Release Notes - XWiki Platform - Version 1.4 M1
----------------------------------------------------------------------
Bugs
====
XWIKI-2206 : Cookie domains not compliant with RFC 2019
XWIKI-2130 : Document.getPreviousDocument() and
Document.getPreviousVersion() seems not to work
XWIKI-2255 : Exception while saving some documents
XWIKI-1252 : Blog comment page missing elements like stylesheet
XWIKI-2210 : Can't use differents uid name configuration for the same
ldap server for two differents wikis
XWIKI-2211 : Cannot log in using Internet Explorer
XWIKI-2214 : Changing parameters of number properties fails
XWIKI-2248 : DBTreeListClass needs to support translations
XWIKI-1067 : Generated HTML IDs should be unique for all items when
using a checkbox List as a Class property
XWIKI-2240 : Heading IDs not unique when including multiple documents
XWIKI-796 : Import Wizard fails if one document from the XAR fails to
be loaded
XWIKI-2200 : Import of "homemade" xar doesn't function
XWIKI-2161 : Inconsistent diff API
XWIKI-2215 : LDAP Authenticator should add proper error message in the
context when authentication fail
XWIKI-2201 : LDAP group mapping defined in XWikiPreferences is not working
XWIKI-2208 : LDAP parameter "user_group" is not taken into account.
XWIKI-2202 : LDAP user update corrupt XWiki user page
XWIKI-1903 : New UI - Empty group shows 1 member
XWIKI-1855 : Prevent invalid Class property names from being created
XWIKI-2173 : Remote file inclusion vulnerability
XWIKI-1965 : RightsManageRightsApi and RightsManageUsersApi has wrong names
XWIKI-2247 : The rendering component does not handle \\ and empty line
correctly together
XWIKI-1081 : The show code view renders URL escaped characters when it
shouldn't
XWIKI-662 : User emails should not be displayed in XML view
XWIKI-2209 : XWiki GWT Api breaks UTF translations
XWIKI-950 : eMail (XWiki.sendMessage) defaults to illegal SMTP HELO
XWIKI-2213 : remove api.Attachment#getArchive() and wrap #getAttachmentRevision
XWIKI-2165 : Accidentally created case sensitive document translations
XWIKI-2235 : Cannot deploy XWiki as ROOT application
XWIKI-980 : EventCalendar generates prev-next links forever
XWIKI-2186 : Footnotes cause line breaks in lists
XWIKI-2195 : It is possible to delete a version from the history only
with edit rights
XWIKI-2193 : LDAP error message with stack trace in xwiki.log when
processing invalid LDAP credentials. User gets "Internal Error"
feedback on UI.
XWIKI-921 : When using XWikiDocuments as resource bundles, no default
value is used
XWIKI-2236 : doc#getLastChanges() does not work with the new versioning scheme
XWIKI-2197 : Wrong mapping for 404 errors in web.xml
Improvements
==========
XWIKI-2187 : Document the Context class from the Core APIs properly
XWIKI-68 : History page too big when the document has many versions
XWIKI-2230 : Rename XWikiContext/Context.isVirtual and XWiki.isVirtual
XWIKI-2252 : Add ability to look up all components for a given role
XWIKI-2237 : Boolean class meta properties should be displayed as checkboxes
XWIKI-2160 : Object add and remove markers in the object differences
XWIKI-2207 : The Document API does not allow saving a minor edit
XWIKI-2253 : The attachment archive should be loaded only if it wasn't
already loaded
XWIKI-2196 : Deleting a page : wrong text in the warning message
XWIKI-2212 : Improve the paged view links macro
XWIKI-2198 : When updating backlinked pages during rename, save them
with minorEdit and a proper comment
XWIKI-2245 : RightsManager class sould be public
XWIKI-2219 : Skins should be allowed to have their own macros.vm files
where to put global macros
New Features
==========
XWIKI-2159 : Make revision querying easier by adding
getRevisions(RevisionCriteria) method to Document, add a
CriteriaService to XWiki
XWIKI-2205 : add better Active Directory support - case insensitive username
XWIKI-2175 : Add reverseList(List) method to the Util API
XWIKI-2238 : Cannot find out the type of a class metaproperty from Velocity
XWIKI-2143 : Keyboard shortcuts generic feature + standard keyboard
shortcuts set
XWIKI-2242 : Api to select all objects of a given type matching a
key=value criteria
XWIKI-1966 : Add a methods in XWikiStoreInterface to know if a wiki
name is available
Tasks
====
XWIKI-1867 : Document the new rights UI
XWIKI-1695 : Activate velocity-tools
XWIKI-1242 : Horizontal Line XWiki syntax
XWIKI-2153 : Switch to Java 1.5
XWIKI-2220 : Replace current Velocity configuration code by a Velocity
Component
Release Notes - XWiki Enterprise - Version 1.4 M1
-------------------------------------------------------------------------
Bugs
====
XE-168 : Parent and title field are missing as hidden field in the
inline template
Improvements
==========
XE-214 : Allow specifying a build profile to run Selenium Tests under
the YourKit profiler
XE-207 : Replacement of Rico Accordion with Scriptaculous one
Here's my +1
Please shout if you think there's something missing in this list.
Thanks,
JV.