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
I would like to deprecate the following methods because they insert and remove content which is
dependent on JRCS for parsing and generation:
XWikiAttachmentArchive#getArchive()
XWikiAttachmentArchive#getArchive(XWikiContext)
XWikiAttachmentArchive#setArchive(byte[])
These are not easily removed because they are needed for the packaging plugin but I think we should
move away from that means of import/export as it contains code (including JRCS) which is memory
inefficient.
Also in the 3.0 cycle, I would like to make private the following methods from XWikiHibernateStore
as they are not used externally and are currently deprecated:
loadXWikiProperty
saveXWikiClass
loadXWikiClass
loadAttachmentList
saveAttachmentList
saveAttachment
injectCustomMappingsInSessionFactory
injectInSessionFactory
isValidCustomMapping
I would like to remove the following methods entirely as they are also deprecated and are not used
at all:
getBatcherStats
resetBatcherStats
deleteXWikiClass
saveXWikiClassProperty
WDYT?
Caleb
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.7 Release Candidate 1.
The 2.7 release is intended to be the last major release in the 2.x
cycle. As such, this release has stabilization as its primary goal, and
mostly provides bugfixes and minor improvements.
For more information, see the full release notes at:
http://www.xwiki.org/xwiki/bin/Main/ReleaseNotesXWikiEnterprise27RC1
Thanks,
The XWiki dev team.
Hi devs,
I'd like to propose a new macro (not sure how to call it): {{current}}
Usage:
{{current document="wiki:space.page"}}
.... nested blocks....
{{/current}}
What it does:
* Execute the nested blocks in the context of the passed document, i.e. it sets the passed document as the current document in the execution context.
Rationale:
* We have several use cases:
** When we have an include and we want to use relative references (links, images) in the included document
** On the Features page of enterprise.xwiki.org I query extensions.xwiki.org and get the data from one object field which has the format: "attach:...." (or "url:....", etc). I need to make this an image that is resolved based on the page where the information was taken from.
WDYT?
Thanks
-Vincent
Hi devs,
We're starting a new dev cycle (the 3.x one) and we need to start defining the roadmap for 3.0.
Here are some ideas we discussed internally at XWiki SAS. Some of these already have someone assigned and some don't. If you're interested in implementing one of the ideas listed above, please reply to this mail. If you're interested in contributing some other stuff for XE 3.0 please reply to this mail too so that we can put the result of this thread on the XE roadmap page at http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap
Note that most of the issue listed are continuation of work already started.
- Extension Manager - Thomas Mortagne
- App within minute - Investigation - By whom?
- Improved page loading - Investigation - By whom?
- Use status - whom?
- Right UI - whom? Sergiu?
- Portlet - Marius
- Multipage export - whom?
- Dashboard - Anca
- Admin/Profile UI improvements - Sergiu
- Attachment Storage - Caleb? (+ Sergiu to help review it)
Marius also expressed interest in improving support for Chrome/Safari/Opera in the WYSIWYG editor (especially for macro edition) + check how it works on IE9 + FF4.
On my side, I'll try to continue working on the xwiki-action, xwiki-url and xwiki-model modules
Proposed Dates:
- 3.0M1: 17th of Jan 2011
- 3.0M2: 7 Feb 2011
- 3.0RC1: 21 Feb 2011
- 3.0Final: 7 March 2011
WDYT?
Thanks
-Vincent
We need to be careful about this. This test proves that you've changed the behavior.
And changing the behavior is an important change. In this case Thomas and I had designed the XHTML renderer so that its output would work with any encoding. I think this is no longer true with your change in http://jira.xwiki.org/jira/browse/XWIKI-5763
To be honest, I'm a bit worried about that change unless you really know what you are doing... especially in XE 2.7 which is the last minor release of the 2.x cycle.
Thanks
-Vincent
On Dec 14, 2010, at 4:23 PM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2010-12-14 16:23:00 +0100 (Tue, 14 Dec 2010)
> New Revision: 33381
>
> Modified:
> platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/simple/encoding/encoding1.test
> Log:
> [misc] Disable a failing test until we decide what should be done with non-ASCII characters
>
> Modified: platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/simple/encoding/encoding1.test
> ===================================================================
> --- platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/simple/encoding/encoding1.test 2010-12-14 14:51:26 UTC (rev 33380)
> +++ platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/simple/encoding/encoding1.test 2010-12-14 15:23:00 UTC (rev 33381)
> @@ -18,6 +18,7 @@
> endParagraph [[param1]=[val(((252)))e]]
> endDocument
> .#-----------------------------------------------------
> -.expect|xhtml/1.0
> +.expect|xhtml/1.0|skip
> +.# TODO: Re-enable this test once we reach a decision about non-ASCII characters
> .#-----------------------------------------------------
> <p> ˜€</p><p param1="valüe"> ˜€</p>
Hi guys,
Just wanted to let everyone know that at XWiki SAS (http://xwiki.com) we've had a big brainstorm about what everyone thinks that XWiki Enterprise 3.x should have as the main tagline/direction. It wasn't an easy exercise but in the end we rallied around the following theme:
Main Theme: "Building Apps and Distributing them"
This means for example that the Extension Manager in progress is a key element of XE 3.x. It also means making it easier to create applications in XE.
Secondary theme: "Polishing"
This means finishing what was started in 2.x by making it even more polished, stable, speed improvement, etc.
These are the 2 general themes that XWiki committers who are belonging to the XWiki SAS company will work on. Note that these are just themes and should be viewed as general directions and helpers when someone wonders what to tackle next.
Feedback welcome, as always.
Thanks
-Vincent, on behalf of XWiki SAS
Links to understand the relationship of XWiki SAS and the open source project:
* http://www.xwiki.com/xwiki/bin/view/About/Values
* http://www.xwiki.com/xwiki/bin/view/About/Manifesto
Hi,
I've create a new action that I called 'PDFForm' , when I try to display a
document using this action everything goes right except that XWiki displays
an error and warn in the console (see below).
For the warn, it happens cuz I used this code :
try {
fopFactory.setFontBaseURL(((Container)
Utils.getComponent(Container.class)).getApplicationContext()
.getResource("/WEB-INF/fonts/").getPath());
} catch (Throwable ex) {
log.warn("Starting with 1.5, XWiki uses the WEB-INF/fonts/
directory as the font directory, "
+ "and it should contain the FreeFont
(http://savannah.gnu.org/projects/freefont/) fonts. "
+ "FOP cannot access this directory. If this is an upgrade
from a previous version, "
+ "make sure you also copy the WEB-INF/fonts directory from
the new distribution package.");
}
This code doesn't display warn with 'pdf' action but with my new action.
Can you tell me what i've missed please.
Thank you.
______________________________
- Error creating form bean of class com.nearbeePDFForm
java.lang.NullPointerException
at
org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java
:212)
at
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)
at
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)
at
org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor
.java:331)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:202)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1166)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1157)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:152)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1157)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1157)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFi
lter(SavedRequestRestorerFilter.java:218)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1157)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFi
lter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler
.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerColl
ection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnectio
n.java:915)
at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582
)
2010-12-13 10:35:28,153
[http://localhost:8080/xwiki/bin/PDFForm/Sandbox/TestPage1] WARN
impl.PdfExportImpl - Starting with 1.5, XWiki uses the
WEB-INF/fonts/ directory as the font directory, and it should contain the
FreeFont (http://savannah.gnu.org/projects/freefont/) fonts. FOP cannot
access this directory. If this is an upgrade from a previous version, make
sure you also copy the WEB-INF/fonts directory from the new distribution
package.
On Mon, Dec 13, 2010 at 9:17 AM, Vincent Massol <vincent(a)massol.net> wrote:
>
> On Dec 11, 2010, at 11:37 AM, jvelociter (SVN) wrote:
>
> > Author: jvelociter
> > Date: 2010-12-11 11:37:21 +0100 (Sat, 11 Dec 2010)
> > New Revision: 33349
> >
> > Added:
> > platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/
> >
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentCreatedEvent.java
> >
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentCreatingEvent.java
> >
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentDeletedEvent.java
> >
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentDeletingEvent.java
> >
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentUpdatedEvent.java
> >
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentUpdatingEvent.java
> > platform/core/trunk/xwiki-legacy/
> > platform/core/trunk/xwiki-legacy/pom.xml
> > platform/core/trunk/xwiki-legacy/src/
> > platform/core/trunk/xwiki-legacy/src/main/
> > platform/core/trunk/xwiki-legacy/src/main/java/
> > platform/core/trunk/xwiki-legacy/src/main/java/org/
> > platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/
> > platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/
> >
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/LegacyEventDispatcher.java
> >
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/
> >
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentDeleteEvent.java
> >
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentSaveEvent.java
> >
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentUpdateEvent.java
> > platform/core/trunk/xwiki-legacy/src/main/resources/
> > platform/core/trunk/xwiki-legacy/src/main/resources/META-INF/
> >
> platform/core/trunk/xwiki-legacy/src/main/resources/META-INF/components.txt
> > platform/core/trunk/xwiki-legacy/src/test/
> > platform/core/trunk/xwiki-legacy/src/test/java/
> > platform/core/trunk/xwiki-legacy/src/test/java/org/
> > platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/
> > platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/
> >
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/DocumentEventTest.java
> >
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/LegacyEventDispatcherTest.java
> >
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/event/
> > Removed:
> >
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentDeleteEvent.java
> >
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentSaveEvent.java
> >
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentUpdateEvent.java
> >
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/test/java/org/xwiki/observation/DocumentEventTest.java
> > Modified:
> >
> platform/core/trunk/xwiki-annotations/xwiki-annotation-maintainer/src/main/java/org/xwiki/annotation/maintainer/internal/DocumentContentAnnotationUpdateListener.java
> > platform/core/trunk/xwiki-bridge/pom.xml
> > platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java
> >
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/internal/cache/DefaultDocumentCache.java
> >
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/internal/observation/remote/converter/DocumentEventConverter.java
> >
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/PatternPlugin.java
> >
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/rightsmanager/RightsManagerListener.java
> >
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/render/XWikiMacrosMappingRenderer.java
> >
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/store/XWikiCacheStore.java
> >
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/xwiki/XWikiGroupServiceImpl.java
> >
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/XWikiTest.java
> >
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/WikiMacrosTest.java
> >
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/cache/DefaultDocumentCacheTest.java
> >
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/cache/rendering/DefaultRenderingCacheTest.java
> >
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/observation/remote/converter/DocumentEventConverterTest.java
> > platform/core/trunk/xwiki-observation/xwiki-observation-api/pom.xml
> >
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/AbstractDocumentEvent.java
> >
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-wikibridge/src/main/java/org/xwiki/rendering/internal/macro/wikibridge/WikiMacroEventListener.java
> > Log:
> > XWIKI-5786 Deprecate Document(Save|Update|Delete)Event and add new
> Document(Created|Updated|Deleted)Event in xwiki-bridge instead
> > XWIKI-5787 Add new Document(Creating|Updating|Deleting)Event events being
> notified before the actual actions are performed on the document
> > XWIKI-5788 New xwiki-legacy module to host backward compatibility code
>
>
> Jerome, my bad i haven't followed the discussion too closely but could you
> explain why you have used the xwiki-bridge module?
>
> The goal is to remove that module, not to add to it I think :)
>
> I'd have put the event bridge in xwiki-legacy. Why not put it there?
>
Hi Vincent,
The goal is to have xwiki-legacy as backward-compatibility only. It means
none of our modules should depend on it.
We've decided to put the new events in xwiki-bridge since they get
XWikiDocument passed as source and XWikiContext as data. When we can have
new events that do not depend on xwiki-core (at runtime that is), we will
create them in xwiki-model and move the ones in bridge in xwiki-legacy.
Jerome.
>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
Seems my last commit introduced a cyclic dependency by making the
observation API module depend on xwiki-model.
Need to investigate how to solve that. The solution is maybe to move the
AbstractDocumentEvent (the one that needed the DocumentReference thus
xwiki-model) to xwiki-model directly.
WDYT?
Jerome.
On Sat, Dec 11, 2010 at 4:59 PM, Hudson <build.noreply(a)xwiki.org> wrote:
> See <http://hudson.xwiki.org/job/xwiki-platform-core/6666/changes>
>
> Changes:
>
> [Marius Dumitru Florea] XWIKI-5784: TempResource action fails in multiwiki
> mode
> Patch from Ludovic Dubost applied without changes.
>
> [Jerome Velociter] XWIKI-5786 Deprecate Document(Save|Update|Delete)Event
> and add new Document(Created|Updated|Deleted)Event in xwiki-bridge instead
> XWIKI-5787 Add new Document(Creating|Updating|Deleting)Event events being
> notified before the actual actions are performed on the document
> XWIKI-5788 New xwiki-legacy module to host backward compatibility code
>
> [Vincent Massol] Revert code committed by error in rev 32011 (XWIKI-5603)
>
> ------------------------------------------
> Started by an SCM change
> Started by an SCM change
> Started by an SCM change
> Building remotely on agent-2
> Updating http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk
> A xwiki-bridge/src/main/java/org/xwiki/bridge/event
> AU
> xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentDeletedEvent.java
> AU
> xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentUpdatedEvent.java
> AU
> xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentCreatedEvent.java
> AU
> xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentDeletingEvent.java
> AU
> xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentUpdatingEvent.java
> AU
> xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentCreatingEvent.java
> U xwiki-bridge/pom.xml
> U
> xwiki-annotations/xwiki-annotation-maintainer/src/main/java/org/xwiki/annotation/maintainer/internal/DocumentContentAnnotationUpdateListener.java
> A xwiki-legacy
> A xwiki-legacy/src
> A xwiki-legacy/src/test
> A xwiki-legacy/src/test/java
> A xwiki-legacy/src/test/java/org
> A xwiki-legacy/src/test/java/org/xwiki
> A xwiki-legacy/src/test/java/org/xwiki/observation
> A
> xwiki-legacy/src/test/java/org/xwiki/observation/DocumentEventTest.java
> A xwiki-legacy/src/test/java/org/xwiki/observation/event
> AU
> xwiki-legacy/src/test/java/org/xwiki/observation/LegacyEventDispatcherTest.java
> A xwiki-legacy/src/main
> A xwiki-legacy/src/main/java
> A xwiki-legacy/src/main/java/org
> A xwiki-legacy/src/main/java/org/xwiki
> A xwiki-legacy/src/main/java/org/xwiki/observation
> A xwiki-legacy/src/main/java/org/xwiki/observation/event
> A
> xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentSaveEvent.java
> A
> xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentDeleteEvent.java
> A
> xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentUpdateEvent.java
> A
> xwiki-legacy/src/main/java/org/xwiki/observation/LegacyEventDispatcher.java
> A xwiki-legacy/src/main/resources
> A xwiki-legacy/src/main/resources/META-INF
> A xwiki-legacy/src/main/resources/META-INF/components.txt
> A xwiki-legacy/pom.xml
> U
> xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-wikibridge/src/main/java/org/xwiki/rendering/internal/macro/wikibridge/WikiMacroEventListener.java
> U
> xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-box/src/test/java/org/xwiki/rendering/RenderingTests.java
> U xwiki-core/src/test/java/com/xpn/xwiki/XWikiTest.java
> U
> xwiki-core/src/test/java/com/xpn/xwiki/internal/cache/DefaultDocumentCacheTest.java
> U
> xwiki-core/src/test/java/com/xpn/xwiki/internal/cache/rendering/DefaultRenderingCacheTest.java
> U
> xwiki-core/src/test/java/com/xpn/xwiki/internal/WikiMacrosTest.java
> U
> xwiki-core/src/test/java/com/xpn/xwiki/internal/observation/remote/converter/DocumentEventConverterTest.java
> U
> xwiki-core/src/main/java/com/xpn/xwiki/render/XWikiMacrosMappingRenderer.java
> U xwiki-core/src/main/java/com/xpn/xwiki/store/XWikiCacheStore.java
> U
> xwiki-core/src/main/java/com/xpn/xwiki/plugin/rightsmanager/RightsManagerListener.java
> U xwiki-core/src/main/java/com/xpn/xwiki/plugin/PatternPlugin.java
> U xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java
> U
> xwiki-core/src/main/java/com/xpn/xwiki/internal/observation/remote/converter/DocumentEventConverter.java
> U
> xwiki-core/src/main/java/com/xpn/xwiki/internal/cache/DefaultDocumentCache.java
> U
> xwiki-core/src/main/java/com/xpn/xwiki/web/TempResourceAction.java
> U
> xwiki-core/src/main/java/com/xpn/xwiki/user/impl/xwiki/XWikiGroupServiceImpl.java
> D
> xwiki-observation/xwiki-observation-api/src/test/java/org/xwiki/observation/DocumentEventTest.java
> D
> xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentSaveEvent.java
> D
> xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentDeleteEvent.java
> D
> xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentUpdateEvent.java
> U
> xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/AbstractDocumentEvent.java
> U xwiki-observation/xwiki-observation-api/pom.xml
> At revision 33351
> Parsing POMs
> [INFO ] snapshot
> org.xwiki.platform:xwiki-core-rendering-parent:2.5-SNAPSHOT: checking for
> updates from xwiki-externals
> [INFO ] snapshot
> org.xwiki.platform:xwiki-core-rendering-parent:2.5-SNAPSHOT: checking for
> updates from xwiki-snapshots
> [WARN ] *** CHECKSUM FAILED - Checksum failed on download: local =
> '98149989ac8abf2f6e9fd52097531d2b3b1176a3'; remote =
> '438d9fb1e32bf9e8242d17a5423f2023f311738f' - RETRYING
> [WARN ] *** CHECKSUM FAILED - Checksum failed on download: local =
> '98149989ac8abf2f6e9fd52097531d2b3b1176a3'; remote =
> '438d9fb1e32bf9e8242d17a5423f2023f311738f' - IGNORING
> [INFO ] snapshot org.xwiki.platform:xwiki-core-parent:2.5-SNAPSHOT:
> checking for updates from xwiki-externals
> [INFO ] snapshot org.xwiki.platform:xwiki-core-parent:2.5-SNAPSHOT:
> checking for updates from xwiki-snapshots
> [WARN ] *** CHECKSUM FAILED - Checksum failed on download: local =
> 'a973942b53b3000c3ecad5925737e8c934defb8a'; remote =
> 'f55c89977fc9cb996640a9945debda27c54f51f2' - RETRYING
> [WARN ] *** CHECKSUM FAILED - Checksum failed on download: local =
> 'a973942b53b3000c3ecad5925737e8c934defb8a'; remote =
> 'f55c89977fc9cb996640a9945debda27c54f51f2' - IGNORING
> [INFO ] snapshot org.xwiki.platform:xwiki-core-parent:2.5-SNAPSHOT:
> checking for updates from reflections-repo
> [INFO ] snapshot org.xwiki.platform:xwiki:37-SNAPSHOT: checking for updates
> from xwiki-externals
> [INFO ] snapshot org.xwiki.platform:xwiki:37-SNAPSHOT: checking for updates
> from xwiki-snapshots
> [WARN ] *** CHECKSUM FAILED - Checksum failed on download: local =
> '63972618b17ed2541ac00bbf719b6f9affb79dca'; remote =
> '165d5e99af55d7ce9def3572216cce4c2cf3d20b' - RETRYING
> [WARN ] *** CHECKSUM FAILED - Checksum failed on download: local =
> '63972618b17ed2541ac00bbf719b6f9affb79dca'; remote =
> '165d5e99af55d7ce9def3572216cce4c2cf3d20b' - IGNORING
> [INFO ] snapshot org.xwiki.platform:xwiki:37-SNAPSHOT: checking for updates
> from reflections-repo
> [trunk] $ /home/hudsonagent/jdk1.5.0_15/bin/java -Xmx1024m -cp
> /home/hudsonagent/hudson_root/maven-agent.jar:/home/hudsonagent/maven/boot/classworlds-1.1.jar
> hudson.maven.agent.Main /home/hudsonagent/maven
> /home/hudsonagent/bin/slave.jar
> /home/hudsonagent/hudson_root/maven-interceptor.jar 57975
> /home/hudsonagent/hudson_root/maven2.1-interceptor.jar
> <===[HUDSON REMOTING CAPACITY]===> channel started
> Executing Maven: -B -f <
> http://hudson.xwiki.org/job/xwiki-platform-core/ws/trunk/pom.xml> clean
> deploy -Pci -Pintegration-tests
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The projects in the reactor contain a cyclic reference: Edge between
> 'Vertex{label='org.xwiki.platform:xwiki-core-script'}' and
> 'Vertex{label='org.xwiki.platform:xwiki-core-observation-api'}' introduces
> to cycle in the graph org.xwiki.platform:xwiki-core-observation-api -->
> org.xwiki.platform:xwiki-core-model --> org.xwiki.platform:xwiki-core-script
> --> org.xwiki.platform:xwiki-core-observation-api
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Sat Dec 11 16:59:29 GMT+01:00 2010
> [INFO] Final Memory: 9M/55M
> [INFO]
> ------------------------------------------------------------------------
> channel stopped
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications
>
On Dec 11, 2010, at 11:37 AM, jvelociter (SVN) wrote:
> Author: jvelociter
> Date: 2010-12-11 11:37:21 +0100 (Sat, 11 Dec 2010)
> New Revision: 33349
>
> Added:
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentCreatedEvent.java
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentCreatingEvent.java
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentDeletedEvent.java
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentDeletingEvent.java
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentUpdatedEvent.java
> platform/core/trunk/xwiki-bridge/src/main/java/org/xwiki/bridge/event/DocumentUpdatingEvent.java
> platform/core/trunk/xwiki-legacy/
> platform/core/trunk/xwiki-legacy/pom.xml
> platform/core/trunk/xwiki-legacy/src/
> platform/core/trunk/xwiki-legacy/src/main/
> platform/core/trunk/xwiki-legacy/src/main/java/
> platform/core/trunk/xwiki-legacy/src/main/java/org/
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/LegacyEventDispatcher.java
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentDeleteEvent.java
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentSaveEvent.java
> platform/core/trunk/xwiki-legacy/src/main/java/org/xwiki/observation/event/DocumentUpdateEvent.java
> platform/core/trunk/xwiki-legacy/src/main/resources/
> platform/core/trunk/xwiki-legacy/src/main/resources/META-INF/
> platform/core/trunk/xwiki-legacy/src/main/resources/META-INF/components.txt
> platform/core/trunk/xwiki-legacy/src/test/
> platform/core/trunk/xwiki-legacy/src/test/java/
> platform/core/trunk/xwiki-legacy/src/test/java/org/
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/DocumentEventTest.java
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/LegacyEventDispatcherTest.java
> platform/core/trunk/xwiki-legacy/src/test/java/org/xwiki/observation/event/
> Removed:
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentDeleteEvent.java
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentSaveEvent.java
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/DocumentUpdateEvent.java
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/test/java/org/xwiki/observation/DocumentEventTest.java
> Modified:
> platform/core/trunk/xwiki-annotations/xwiki-annotation-maintainer/src/main/java/org/xwiki/annotation/maintainer/internal/DocumentContentAnnotationUpdateListener.java
> platform/core/trunk/xwiki-bridge/pom.xml
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/XWiki.java
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/internal/cache/DefaultDocumentCache.java
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/internal/observation/remote/converter/DocumentEventConverter.java
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/PatternPlugin.java
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/rightsmanager/RightsManagerListener.java
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/render/XWikiMacrosMappingRenderer.java
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/store/XWikiCacheStore.java
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/xwiki/XWikiGroupServiceImpl.java
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/XWikiTest.java
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/WikiMacrosTest.java
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/cache/DefaultDocumentCacheTest.java
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/cache/rendering/DefaultRenderingCacheTest.java
> platform/core/trunk/xwiki-core/src/test/java/com/xpn/xwiki/internal/observation/remote/converter/DocumentEventConverterTest.java
> platform/core/trunk/xwiki-observation/xwiki-observation-api/pom.xml
> platform/core/trunk/xwiki-observation/xwiki-observation-api/src/main/java/org/xwiki/observation/event/AbstractDocumentEvent.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-wikibridge/src/main/java/org/xwiki/rendering/internal/macro/wikibridge/WikiMacroEventListener.java
> Log:
> XWIKI-5786 Deprecate Document(Save|Update|Delete)Event and add new Document(Created|Updated|Deleted)Event in xwiki-bridge instead
> XWIKI-5787 Add new Document(Creating|Updating|Deleting)Event events being notified before the actual actions are performed on the document
> XWIKI-5788 New xwiki-legacy module to host backward compatibility code
Jerome, my bad i haven't followed the discussion too closely but could you explain why you have used the xwiki-bridge module?
The goal is to remove that module, not to add to it I think :)
I'd have put the event bridge in xwiki-legacy. Why not put it there?
Thanks
-Vincent
Hello everyone,
I've created a form which needs to use autosuggest for fields. The form structure is basically
a list of 10 things each of which has a supplier and a product. The supplier and product field
are text input, and need to use autosuggest for pagenames from a specific space.
I've been able to make the code from the Autosuggest widget work, which can be found here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/AutoSuggestWidget
I'm trying to translate the javascript offered there in the second codeblock on the page to a
more generic function so I can say if the input is X, call suggestSupplier and if it is y call
suggestProduct.
All the supplier fields end in _Supplier in their name and all the product fields end in _SoftProd
So far, I've been unsuccessful and I don't quite understand the structure of this javascript
offered. Has someone already done this before and can they give me a pointer?
Much appreciated,
Menso
Hi devs,
There is obviously some overlapping between the purposes of the box
macro (http://extensions.xwiki.org/xwiki/bin/view/Extension/Box+Macro)
and the container macro
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Container+Macro),
namely that the box macro is just a very specific type of container.
How do you feel about moving all or some of the box macros
functionalities to the container macro and either implement the box
macro as a particular type of container, or deprecate it completely?
The way I see it is that the container macro would have parameters to
allow to:
* fix its size
* render a border around
* use a background color
* title (to be discussed, I am not 100% convinced that it's generic enough)
* image (to be discussed, same)
* layout it inside text (float it to the left or right)
* other decorations we could find useful for the users (note that devs
could still write css if they want more).
I know that all these functions can be accomplished by CSS, but so is
the columned layout, for example, and the idea is to provide to the
users an easy way to do it (in this case, WYSIWYG).
I'm +1, regardless of the solution (deprecate or not), but I am very
convinced of the overlapping, they should not be 2 different
implementations.
Thanks,
Anca