Hi,
I'd like to modify the configuration module so that it can support
adding dynamic configuration data (located in XWikiPreferences,
WebPreferences or other).
I'd like to propose:
* We remove the notion of ConfigurationManager
* We make ConfigurationSource components
* We create a XWikiPropertiesConfigurationSource (hint =
"xwikiproperties")
* (future) We create XWikiPreferencesDocumentConfigurationSource,
SpacePreferencesDocumentConfigurationSource,
UserPreferencesDocumentConfigurationSource components
* Create a DefaultConfigurationSource component (hint = "default")
which has @Requirement("xwikiproperties") (and other sources later
on). It's a composite ConfigurationSource which calls the various
internal sources in the right order.
In term of usage here's what you'd write. For example for
DefaultRenderingConfiguration:
@Component
public class DefaultRendernigConfiguration implements
RenderingConfiguration
{
@Requirement
ConfigurationSource source;
private static final String PREFIX = "rendering.";
private static final String DEFAULT_LINK_LABEL_FORMAT = "%p";
public String getLinkLabelFormat()
{
return (String) this.source.getProperty(PREFIX +
"linkLabelFormat", DEFAULT_LINK_LABEL_FORMAT);
}
}
WDYT?
Thanks
-Vincent
Hello!
For the XOO project, I would need a conversion module which has two
components:
1. converter from the swriter html in pure html.
2. bidirectional converter wiki syntax - html.
Is this already done in the Office Importer project? If yes, I would be
grateful if you tell me where can I find this components.
Best regards,
Cristina Scheau
Does this mean our blog application doesn't work for non admins in XE
1.9?
If so it's a big problem that may require releasing 1.9.1 sooner than
we wanted IMO and do a 1.9.2.
WDYT?
Thanks
-Vincent
On Jun 17, 2009, at 3:20 PM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2009-06-17 15:20:27 +0200 (Wed, 17 Jun 2009)
> New Revision: 21328
>
> Modified:
> platform/xwiki-applications/trunk/blog/src/main/resources/Blog/
> Publisher.xml
> Log:
> XABLOG-49: Publishing blog posts does not work for non-admin users
> Fixed.
> Patch from Marta Girdea applied without changes.
>
> Modified: platform/xwiki-applications/trunk/blog/src/main/resources/
> Blog/Publisher.xml
> ===================================================================
> --- platform/xwiki-applications/trunk/blog/src/main/resources/Blog/
> Publisher.xml 2009-06-17 13:17:12 UTC (rev 21327)
> +++ platform/xwiki-applications/trunk/blog/src/main/resources/Blog/
> Publisher.xml 2009-06-17 13:20:27 UTC (rev 21328)
> @@ -30,7 +30,7 @@
> #end
> #set($entryName = "$!{request.entryName}")
> #if($entryName != '')
> - #if($xwiki.hasAccessLevel('edit', $context.user,
> $entryDoc.fullName))
> + #if($xwiki.hasAccessLevel('edit', $context.user, $entryName))
> #set($entryDoc = $xwiki.getDocument($entryName))
> #if ($entryDoc)
> #getEntryObject($entryDoc $entryObj)
Hello,
I tried using the URL path based wiki access as described in Manager Admin
Guide:
http://localhost:8080/xwiki/wiki/mydomain.com/view/Main/WebHome
It works perfectly but then I click on the "Edit" menu for any content from
such an URL.
Finally I try to click on a bottom button "Cancel", "Preview" etc...
It redirects me to :
http://127.0.0.1:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=
So apparently with URL based notation, the form action is badly managed and
redirect to 127.0.0.1 and then to the login as I'm not logger on
127.0.0.1...
Do you know this issue?
Pascal
Hello GSoC students,
Time flies fast when you're having fun: only 3 weeks left until the
midterm evaluation. Don't forget that, by July 6th, you should all have
a project with at least 30% of the functionalities proposed in your
application, which will help us estimate whether you will be able to
finish your work according to the plan or not. Also, don't forget about
the (at least) weekly commits requirement, very important for getting
proper feedback, and about updating the wiki when you have news.
Note that we believe some of the projects are not really advancing as
expected, but it's probably not too late to catch up. Please communicate
with one of the mentors in case you get stuck.
Hoping to see some nice code committed this week,
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi,
I'd like to propose that we release a XE 1.9.1 on the 29th of June.
It'll contain bug fixes.
We currently have the following planned/done for core:
http://jira.xwiki.org/jira/browse/XWIKI/fixforversion/11150
Note that this is one week after the 2.0M1 planned release.
Here's my +1
Thanks
-Vincent
Hello,
I wonder whether this is a error in my servers configurations or this is a
bug...
I have an XWiki server running behind an Apache server and the link between
them is performed using the simple mod_proxy with some pass such as:
ProxyPass /xwiki/ http://localhost:8080/xwiki/
It works perfectly except when I logout...
I get redirected to an URL looking like:
http://localhost:8080/xwikihttp://mydomain/xwiki/bin/login/XWiki/XWikiLogin…
Do you have an idea of the reason of this behavior?
regards
Pascal
Hi,
Since I've now introduced events for XWiki App start/stop and since
listeners to those events can have the Container injected in them, do
we still need the notion of ApplicationContextInitializer?
Thanks
-Vincent