On Thu, 24 Jul 2008 19:13:12 +0300, rssh wrote
> On Thu, 24 Jul 2008 19:02:20 +0300, rssh wrote
> > Good day, community.
> >
Yet one update: looks like this is error in xwiki:
(from XWiki.java:
)
try {
// Try to get it from context
skin = (String) context.get("skin");
if (skin != null) {
return skin;
}
// Try to get it from URL
if (context.getRequest() != null) {
skin = context.getRequest().getParameter("skin");
}
if ((skin == null) || (skin.equals(""))) {
skin = getUserPreference("skin", context);
}
if (skin.equals("")) {
******************** - must be skin!=null || skin.equals("")
*** (so, I think that error is here).
skin = Param("xwiki.defaultskin", getDefaultBaseSkin(context));
}
} catch (Exception e) {
****************** (!)
--- why we don't log anything (may be in debug mode)
skin = getDefaultBaseSkin(context);
}
Can anybosy from core team quicly say: is such errors possible or I forgott
something very basic ?
If this error is possible, I will submit patch during next few days.
Also I'm a bit frustrated by number of empty generic catch bloks in
XWiki.java. Debugging such code can become a hard task.
About cited part from xwiki.cfg: I guess that FileNotFoundException must be
catched with logging only in debug mode, any other Exception must be logged in
warnings.
> > Small question about customizing xwiki:
> > - I want to customize skin, by creating own skin (with name 'x'),
> > After reading http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
> > I do next sequences of steps:
> >
> > a) creating directory <xwiki-base>/skins/x,
> > b) copying all files from touckan to x
> > c) changing default skin in xwiki.cfg grom touckan to x
> > d) copying file templates/view.vm to x
> > e) customizing view.vm (writing onethins inside)
> >
> > Last step does not work; i. e. if I change view.vm, nothing changed
> > in xwiki.
> >
> > So, question: it is such problem with my installation, or I missed something
> > during creation of skin ?
> >
>
> self-moderation: whith ?skin=x additional parameter all works.
>
> So: is exists way, where xwiki.defaultskin parameter from xwiki.cfg
> is incorrect ?
>
> > --
> > Ruslan Shevchenko
> > GradSoft. http://www.gradsoft.ua
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
> --
> Ruslan Shevchenko
> GradSoft. http://www.gradsoft.ua
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua
Hi devs,
I saw the release note of xe 1.6
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15,
which says
1. Mail sender plugin now supports SMTP authentication
But I can't config it in the xwiki administration. Any one can tell me
how to config stmp username and password?
2. UTF-8 characters are now all correctly rendered in PDF exports
I add some Chinese in a xwiki page, and export it as pdf. However, the
Chinese characters still are ???. I see some fonts are added to xwiki.
Can I use other fonts by config something?
Thanks.
Sincerely,
Wang Ning
Hi Fabio,
Yesterday I mainly look at how the velocity scripting use in the xwiki
pages.
Velocity scripting can be used mix with the xwiki script.But then there has
to be a way to separate the velocity scripts from other syntax.Such as to a
separate partition.since every velocity script starts with # I'm thinking of
using that to separate from the rest of the syntax.
At the moment the current editor identify macros (#info,#warning) as
separate partitions () .But since they are also velocity macros they
should also move to the velocity partition as well.
According to my findings Thus there will be no problem of separating all the
velocity syntax from the rest of by looking at the # character at the start
of the line
WDUT of that. Is this correct.
Then I can start by moving all the macros to a separate partition
-- Malaka Ekanayake
CSE UOM
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.5 final.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release spanned a bit more than 2 months starting on the 16th of
May 2008 and ending on the 23th of July 2008. During that period we
implemented 166 issues, fixing 91 bugs and adding new features such
as:
* Brand new Administration Application (see http://tinyurl.com/4qym7w)
* The copy page feature is now available from the top menu (Actions > Copy)
* An administrator can modify a user profile or password when
visiting a user profile page
* A message advising to install xwiki-enterprise-wiki is displayed in
the importer when the wiki is empty
* Universal Edit button support (see http://universaleditbutton.org/)
* Lot of improvements in the LDAP authenticator
* New Croatian translation
* New Czech translation
* Updated French translation
* Updated Spanish translation
* Updated German translation
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise15
Thanks
-The XWiki dev team
Hi,
I think I found a bug in MyFormAuthenticator. In line 147 remember me is set
to "false" if it is not checked on the login page:
rememberme = (rememberme == null) ? "false" : rememberme;
But the method processLogin() expects it to be NULL if the user doesn't want
to use the remember feature (line 178-187):
if (this.persistentLoginManager != null) {
// did the user request that their login be persistent?
if (rememberme != null) {
// remember login
this.persistentLoginManager.rememberLogin(request,
response, username, password);
} else {
// forget login
this.persistentLoginManager.forgetLogin(request,
response);
}
}
The problem is that if I fix this bug by removing line 147 the login process
doesn't work anymore! I discovered this while I was implementing OpenID
authentication support. I tried to debug it now two days but I didn't
succed. The same problem occurs with my OpenID implementation. I'm need to
tell XWiki that user xy was logged in and tried to do that by setting the
user principal in the request object
request.setUserPrincipal(principal);
but it doesn't work. Is there some documentation about securityfilter
available somewhere? I looked on securityfilter.sourceforge.net and googled
for it but I didn't found anything.
My next question is how I can add a "openid_identifier" property to the
XWikiUsers class as a "XClass" as proposed by Sergiu:
> I wouldn't add a new property to the XWikiUsers class; this leads to very
> thick classes, like
> XWikiPreferences, with properties used only in specific cases. I'd rather
> add a new XClass, for
> example XWiki.OpenIdAccount, and user profiles will have this kind of
> objects attached.
I didn't found any information on that. How is that done? How can I then
search for the user with a specific OpenID identifier?
Thank you very much,
Markus
I've tested the current version of the webdav prototype with the changes
from today (r313).
I've been able to navigate the webdav directories with DAVExplorer, Mac
Folders, Windows XP Web Folders. I was able to view content with all of
these webdav clients. Windows XP opened everything in Internet Explorer
(wiki.txt and images).
With DavExplorer I was able to get wiki.txt on my mac desktop, modify it
and publish it again.
With Mac Folders I was able to directly open wiki.txt in my desktop
application. But I was not able to save it back (I get a first message
saying it has been modified on the server to which I say "ok save
anyway" and then I get an error. I did a drag and drop of a modified
wiki.txt which gave no error but did not modify the document.
With Windows XP I was not able to open wiki.txt from notepad. I got an
error when choosing the wiki.txt file. I was not able to drag and drop a
modified wiki.txt either.
Compatibility is going to be the number 1 problem !
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hi,
Can anyone please tell me on how i can display selected panels for selected
space.
For example
Space Name Right Panel Left Panel
MySpace 1 Panel.panela, Panel.panelb Panel.panelc,
Panel.paneld
MySpace 2 Panel.panelb
Panel.panela, Panel.paneld
Can i change the preference for each space created?
Or do i have to write any velocity script and java code to do that. If so
can anyone provide me with a sample code.
Thanks
--
View this message in context: http://n2.nabble.com/Add-a-panel-for-particular-space-tp579239p579239.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi devs,
As it has been already mentioned a couple of times, I strongly believe
that XWiki Watch should be accessible in a sandbox on xwiki.org, for
everyone to try it out and explore its features and for us to get an
open real-life test of it.
There is a document dedicated to the issues that might prevent this at
http://watch.xwiki.org/xwiki/bin/view/Development/XWatchOnXWikiOrg ,
please fill it in with any opinions you have!
Here's my +1 for having an installation of XWatch publicly available on
xwiki.org, WDYT?
Happy coding,
Anca