Hi devs,
in order to be able to translate the macro descriptors to use for the
gadgets (for the moment, to be able to provide the title of the gadget),
I would like to move the MacroDescriptorTranslator and its
implementation from the wysiwyg gwt module to the rendering module.
My +1 on this.
We'd also have to refactor it to use the
org.xwiki.rendering.macro.descriptor.MacroDescriptor instead of the gwt,
serializable clone of it.
About where in the rendering to put it, we could either:
1/ create a new module for it, under xwiki-core-rendering
2/ put it in xwiki-core-rendering-api since it's about translating macro
descriptors which have both the interface and implementation in the api
module
3/ create a new module for it under xwiki-core-rendering-macros
My +1 for 2/
WDYT?
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.7 and XWiki Enterprise Manager 2.7.
Go grab them at http://www.xwiki.org/xwiki/bin/Main/Download
This is the last major release of the 2.x development cycle (there will
still be bugfix releases on the 2.7.x branch, if needed). The next
release is going to be 3.0.
This is a stabilization release, with no major new features to
highlight. Some minor gems:
* Ability to set a color theme on each space
* UNC support in XWiki Syntax 2.1
* Support search on space name in the REST API
* Support for customizing the office export process
For more information, see the Release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise27 and
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXEM27
Thanks
-The XWiki dev team
On Thu, Dec 23, 2010 at 3:41 PM, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
>
> Hi,
>
> We have a general problem when upgrading XWiki which is to not forget to
> exclude certain files from the import.
> The manual exclusion is something that generates all sorts of problems
> especially when done by less experienced users.
>
> These files are:
>
> - preferences
> - all and admin group
> - admin user
> - invitation config file
> - anotation config file
>
> Either we make a FULL and an UPGRADE XAR or we make a CODE and CONFIG xar
> (initial install would need both xars to be imported).
We can also do : CODE, CONFIG and FULL that is the sum of both.
+1 for the idea, that will makes our and those of our users easier
until we have a proper upgrade mechanism with the EM
Jerome.
>
> I'm more for the solution of one FULL and one UPGRADE xar.
>
> Ludovic
>
> --
> Ludovic Dubost
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
Hi developers,
Ludovic recently raised the fact that custom displayers stopped
working as expected with syntax 2.0 (the scripts cannot access the
standard bindings).
Ludovic also proposes a patch : see
http://jira.xwiki.org/jira/browse/XWIKI-4904. While I don't really
measure all impact of the patch, I think replacing XWiki#parseContent
by syntax rendering can only be a good thing.
Any other opinions ?
OK to commit in 2.7 ?
Jerome.
Hi devs,
today XWiki Watch is a top level project, toplevel in the svn and listed
on the main page of xwiki.org.
I propose we downgrade it to extension status and move its code
appropriately, somewhere in the plugins and applications. Along with
this, the standalone distribution (and installers) would also be removed.
The reason for this is that it makes more sense as an extension than a
toplevel project (it's an extra feature that you can add to XWiki by
installing an application and deploying a couple of jars), and also
because it has been on the backburner lately, and there is no roadmap to
make a fully featured toplevel product of it.
Also, according to this vote
http://xwiki.markmail.org/thread/scrwsfqfm6b5h5zf I would like to
release something from the current trunk (1.1M2 probably), compatible
with a latest XWiki.
I'm +1 for all these.
WYDT?
Thanks,
Anca
I have written a gwt servlet which I could successfully use in a gwt client
inserted through a component into a xwiki page. I now wonder how I can check
user authentication from the gwt servlet, since even though I can lookup
other components, the context variables are empty.
thanks
Vito Impagliazzo
On Fri, Dec 17, 2010 at 17:38, Vincent Massol <vincent(a)massol.net> wrote:
>
> On Dec 17, 2010, at 2:37 PM, Thomas Mortagne wrote:
>
>> On Fri, Dec 17, 2010 at 14:07, vmassol <platform-notifications(a)xwiki.org> wrote:
>>> Author: vmassol
>>> Date: 2010-12-17 14:07:48 +0100 (Fri, 17 Dec 2010)
>>> New Revision: 33583
>>>
>>> Added:
>>> Â platform/core/trunk/xwiki-model/src/main/java/org/xwiki/model/internal/reference/ExplicitStringAttachmentReferenceResolver.java
>>> Â platform/core/trunk/xwiki-model/src/test/java/org/xwiki/model/internal/reference/ExplicitStringAttachmentReferenceResolverTest.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-api/src/test/java/org/xwiki/rendering/transformation/
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-api/src/test/java/org/xwiki/rendering/transformation/TransformationContextTest.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/internal/macro/DefaultMacroContentParser.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/internal/macro/MacroContentParser.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/test/java/org/xwiki/rendering/internal/transformation/macro/MacroTransformationContextTest.java
>>> Removed:
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-box/src/main/java/org/xwiki/rendering/internal/macro/box/DefaultMacroContentParser.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-box/src/main/java/org/xwiki/rendering/internal/macro/box/MacroContentParser.java
>>> Modified:
>>> Â platform/core/trunk/pom.xml
>>> Â platform/core/trunk/xwiki-bridge/pom.xml
>>> Â platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/DocumentModelBridge.java
>>> Â platform/core/trunk/xwiki-model/src/main/resources/META-INF/components.txt
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-api/src/main/java/org/xwiki/rendering/transformation/TransformationContext.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-box/src/main/java/org/xwiki/rendering/internal/macro/box/DefaultBoxMacro.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-box/src/main/java/org/xwiki/rendering/macro/box/AbstractBoxMacro.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-box/src/main/resources/META-INF/components.txt
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-include/src/main/java/org/xwiki/rendering/internal/macro/include/IncludeMacro.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-include/src/test/java/org/xwiki/rendering/internal/macro/IncludeMacroTest.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/java/org/xwiki/rendering/transformation/MacroTransformationContext.java
>>> Â platform/core/trunk/xwiki-rendering/xwiki-rendering-transformations/xwiki-rendering-transformation-macro/src/main/resources/META-INF/components.txt
>>> Log:
>>> XWIKI-5807: Add support for relative links/images in included documents
>>>
>>> * First implementation. Current limitation: Doesn't work when links are generated by macros in the included document.
>>>
>>> Modified: platform/core/trunk/pom.xml
>>> ===================================================================
>>> --- platform/core/trunk/pom.xml 2010-12-17 12:25:56 UTC (rev 33582)
>>> +++ platform/core/trunk/pom.xml 2010-12-17 13:07:48 UTC (rev 33583)
>>> @@ -192,6 +192,8 @@
>>> Â Â Â Â Â Â Â Â <exclude>**/internal/**</exclude>
>>> Â Â Â Â Â Â Â Â <exclude>**/test/**</exclude>
>>> Â Â Â Â Â Â Â Â <!-- To be removed when we release 3.0 -->
>>> + Â Â Â Â Â Â Â Â <exclude>org/xwiki/bridge/DocumentModelBridge</exclude>
>>> + Â Â Â Â Â Â Â Â <exclude>org/xwiki/rendering/macro/box/AbstractBoxMacro</exclude>
>>> Â Â Â Â Â Â Â </excludes>
>>> Â Â Â Â Â Â </configuration>
>>> Â Â Â Â Â </plugin>
>>>
>>> Modified: platform/core/trunk/xwiki-bridge/pom.xml
>>> ===================================================================
>>> --- platform/core/trunk/xwiki-bridge/pom.xml   2010-12-17 12:25:56 UTC (rev 33582)
>>> +++ platform/core/trunk/xwiki-bridge/pom.xml   2010-12-17 13:07:48 UTC (rev 33583)
>>> @@ -46,6 +46,11 @@
>>> Â Â </dependency>
>>> Â Â <dependency>
>>> Â Â Â <groupId>org.xwiki.platform</groupId>
>>> + Â Â Â <artifactId>xwiki-core-rendering-api</artifactId>
>>> + Â Â Â <version>${project.version}</version>
>>> + Â Â </dependency>
>>> + Â Â <dependency>
>>> + Â Â Â <groupId>org.xwiki.platform</groupId>
>>> Â Â Â <artifactId>xwiki-core-observation-local</artifactId>
>>
>> Are you sure you need the implementation ? It should probably be
>> xwiki-observation-api instead.
>
> Fixed, thanks (note that it was there before my commit).
Indeed I misread, sorry.
>
> -Vincent
>
> [snip]
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
--
Thomas Mortagne