Re: [xwiki-devs] [GSOC] XWiki is applying for GSoC 2015. Proposals and mentors needed!

2015-02-15 Thread Asiri Rathnayake
Hi All, If anyone's interested in hacking a continuous integration server like thingy in XWiki, please feel free to add to: http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Continuousintegrationserver It's still a bit sketchy and I need to define a suitable scope for GSoC. If you have any

Re: [xwiki-devs] [GSOC: mobile client] Welcome to Buddhiprabha Erabadda

2013-05-28 Thread Asiri Rathnayake
Congrats!! :) On Tue, May 28, 2013 at 9:49 AM, Vincent Massol vinc...@massol.net wrote: Cool! Let's make this a success :) Thanks -Vincent On May 28, 2013, at 8:19 AM, Ludovic Dubost ludo...@xwiki.com wrote: Hi all, I'd like to welcome Buddhiprabha Erabadda to our community on

Re: [xwiki-devs] [GSoC] Pencils down, submit your evaluations to Google, and your status to the XWiki Community

2012-08-21 Thread Asiri Rathnayake
To all GSoCers... Stick with XWiki for the long haul and you might be offered a job at XWiki SAS... ;-) - Asiri ___ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs

Re: [xwiki-devs] GSOC-2012 LDAP Server Implementation

2012-04-05 Thread Asiri Rathnayake
Hi, May be embed ApacheDS into XWiki: http://directory.apache.org/apacheds/1.5/41-embedding-apacheds-into-an-application.html ? Note that I'm not familiar with LDAP, may be I'm wrong. Cheers! - Asiri On Thu, Apr 5, 2012 at 7:30 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: I think

Re: [xwiki-devs] XWiki WebDAV for MSOffice read-write mode

2012-02-20 Thread Asiri Rathnayake
Hi, If my memory serves well, we couldn't get this to work with Office2007 (although with Office2003 it works fine I think). Please read the following discussion for more information: http://www.mail-archive.com/users@xwiki.org/msg06111.html Also, may be things have changed since the last time

Re: [xwiki-devs] Status: GSOC Xwiki Android Client

2011-06-28 Thread Asiri Rathnayake
Hi, On Tue, Jun 28, 2011 at 11:24 PM, Chamika Weerasinghe chami...@gmail.comwrote: Hi, I modified navigator in xwiki-android-components so that it will communicate to XWiki instance via xwiki-android-rest. But it cannot be tested due to following problems. 1. After building

Re: [xwiki-devs] Status Xwiki Android Client

2011-06-20 Thread Asiri Rathnayake
Hi, On Mon, Jun 20, 2011 at 4:37 PM, Chamika Weerasinghe chami...@gmail.comwrote: Hi Thomas and Eduard, Thank you for explaining me the importance of making reusable widget UIs. So you are suggesting me to design UI for xwiki such as Page views, xwiki wiki, space, page navigator etc. That

Re: [xwiki-devs] Status of XWiki Android Client

2011-06-06 Thread Asiri Rathnayake
Hi, Please excuse me for my lack of understanding in this area, I have a few queries. For importing jaxb I used following dependencies in maven configuration xwiki-core-rest xwiki-core-annotations-rest wiki-core-rest-model AFAIK jaxb is a generic library, why do you need xwiki-* libraries

Re: [xwiki-devs] Google Android Client for XWiki - GSOC project

2011-05-27 Thread Asiri Rathnayake
Hi, On Fri, May 27, 2011 at 8:05 PM, Chamika Weerasinghe chami...@gmail.comwrote: Hi all, As Thomas said I configured android plugin for maven to build Android projects. It will generate .apk file which can be deployed in Android devices. Those who are interested in testing Android

Re: [xwiki-devs] [GSoC] working plan for XWiki Eclipse (May 24 - June 3)

2011-05-25 Thread Asiri Rathnayake
Hi, Sorry to interrupt :) It would be nice if all GSoC participants can set mini-milestones like Jun has done here. So in each such email you can discuss how much of what you set out to do last week (or week before) was achieved up to current date. It's not setting dead-lines, only targets to

Re: [xwiki-devs] Problem in debugging xwiki using eclipse

2011-05-17 Thread Asiri Rathnayake
On Tue, May 17, 2011 at 12:52 PM, Eduard Moraru eduard.mor...@xwiki.comwrote: Hi Chamika, Additionally to starting XWiki from Eclipse (using WTP, auto-deploying on tomcat, etc.), you can also remotely debug a running XWiki instace (started with 'start_xwiki_debug.sh/bat' instead of

Re: [xwiki-devs] Google Summer of Code Student Application

2011-04-12 Thread Asiri Rathnayake
Hi Kasun, Your proposal http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/nishshankak/1is in withdrawn state and it's not considered as a valid proposal. I hope you did this intentionally. I sent you a couple of emails personally but did not receive any responses so I guessed

Re: [xwiki-devs] Google Summer of Code Student Application

2011-04-08 Thread Asiri Rathnayake
Hi Kasun, Bad idea, someone can take your proposal and put it on melange now! Your proposal can be edited while it's uploaded to melange and we can provide you feed-back there. It's good to discuss matters on the mailing list in public but this is your proposal we're talking about :) Please put

Re: [xwiki-devs] Project Proposal XWiki for GSoC 2011

2011-04-07 Thread Asiri Rathnayake
, Thank you for the information. I am looking at the details now, and hoping to submit the proposal tomorrow. -Kasun On Wed, Apr 6, 2011 at 9:42 PM, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: Hi Kasun, The dead-line for applications is closing: http://www.google-melange.com/gsoc/events

Re: [xwiki-devs] Project Proposal XWiki for GSoC 2011

2011-04-07 Thread Asiri Rathnayake
On Thu, Apr 7, 2011 at 12:35 PM, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: Hi Kasun, On Thu, Apr 7, 2011 at 12:22 PM, Kasun Nishshanka nishshan...@gmail.comwrote: I went through the code and your UI for creating macros. I can see you are using Redeox for rendering the macros

Re: [xwiki-devs] Project Proposal XWiki for GSoC 2011

2011-04-07 Thread Asiri Rathnayake
for pointing this out. Now I'm looking at the correct place (rendering project) Thanks, Kasun On Thu, Apr 7, 2011 at 5:20 PM, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: On Thu, Apr 7, 2011 at 12:35 PM, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: Hi Kasun, On Thu, Apr 7, 2011

Re: [xwiki-devs] Project Proposal XWiki for GSoC 2011

2011-04-06 Thread Asiri Rathnayake
Hi Kasun, The dead-line for applications is closing: http://www.google-melange.com/gsoc/events/google/gsoc2011 May be you should contact devs on the IRC, do a quick research and put together a proposal asap? I think Thomas (IRC Nick: tmortagne) knows a lot about Wiki Macros implementation and

Re: [xwiki-devs] [Discussion][Update] Wiki Importer

2011-03-20 Thread Asiri Rathnayake
Hi Arun, I'm not sure if you are already aware of this but I used some bits of wiki importer code on one of XWiki SAS client projects which involved importing a mediawiki into XWiki. I think I did a lot of custom coding in groovy and IIRC what I did is too mediawiki specific, but you might still

Re: [xwiki-devs] [Discussion][Update] Wiki Importer

2011-03-20 Thread Asiri Rathnayake
Hi, On Sun, Mar 20, 2011 at 7:23 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Sun, Mar 20, 2011 at 18:48, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: Hi Arun, I'm not sure if you are already aware of this but I used some bits of wiki importer code on one of XWiki SAS

Re: [xwiki-devs] [Discussion] Office Presentation Viewer

2011-01-07 Thread Asiri Rathnayake
+1 - Asiri ___ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs

Re: [xwiki-devs] Office document converter configuration

2010-11-25 Thread Asiri Rathnayake
Hi, On Wed, Nov 24, 2010 at 3:41 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Hi devs, Currently, the office importer module doesn't expose any configuration options for the office document conversion. Most of the available parameters are used to control the connection

Re: [xwiki-devs] Integrating officepreview module into the main source tree

2010-09-21 Thread Asiri Rathnayake
Hi, I don't know what this officepreview macro does but maybe it's not flexible enough. Guillaume what did you have to modify? I should mention that I developed the office-preview wiki macro only as a means of demonstrating the office-preview component (i didn't intended it to be distributed).

Re: [xwiki-devs] [Discussion] Failed to locate Script Service

2010-09-21 Thread Asiri Rathnayake
On Tue, Sep 21, 2010 at 11:11 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Hi devs, I was playing with the office preview script service when I discovered that $services throws ScriptServiceNotFoundException when there's no script service registered for the specified

Re: [xwiki-devs] [Proposal] Code names for XWiki release cycles

2010-08-11 Thread Asiri Rathnayake
Hi, On Wed, Aug 11, 2010 at 9:10 PM, Ecaterina Valica vali...@gmail.com wrote: I think is a good idea to have code names for the releases, but I'm not so sure about cocktail names. +1 I'm also not sure if cocktail names are very catchy, may be we should go for a scheme that is commonly

Re: [xwiki-devs] Syntax highlighter for XWiki!

2010-08-03 Thread Asiri Rathnayake
with that, unless you have some unexisting user in your macro as author. On Mon, Aug 2, 2010 at 15:29, Thomas Mortagne thomas.morta...@xwiki.com wrote: Looks like an import bug, i.e. document event not produced when importing it. On Thu, Jul 29, 2010 at 06:59, Asiri Rathnayake asiri.rathnay

Re: [xwiki-devs] Syntax highlighter for XWiki!

2010-07-28 Thread Asiri Rathnayake
Hi, I just realized that after importing the Macro.MCode.xar bundle, you need to re-save the Macro.MCode page as the admin user in order to make the macro work (tested on 2.4-m2). Seems like a premission issue, does this look like a bug? Thanks. - Asiri

[xwiki-devs] Syntax highlighter for XWiki!

2010-07-18 Thread Asiri Rathnayake
Hello XWikiers! If you have used syntax highlighter ( http://code.google.com/p/syntaxhighlighter/) in wordpress, blogger etc. you are going to like this one: http://asiri.rathnayake.org/xwiki/bin/view/Macro/MCode Now because of the flexibility of XWiki SSX and JSX, you can easily customize this

Re: [xwiki-devs] [VOTE] Agree to start using AbstractMockingComponentTestCase

2010-07-05 Thread Asiri Rathnayake
Hi, As you can see in this second example, it's also possible to exclude some @Requirement from being mocked if need be. I'd like that we agree to use this new test class from now on instead of AbstractComponentTestCase (unless there are cases where it's not usable but please discuss

Re: [xwiki-devs] [VOTE] Agree to start using AbstractMockingComponentTestCase

2010-07-05 Thread Asiri Rathnayake
How would one get a reference to a mocked @Requirement component? (for setting expectations). Nevermind I think getComponentManager().lookup() is the answer. Thanks. - Asiri +1 for the idea. Thanks. - Asiri Here's my +1 Thanks -Vincent

Re: [xwiki-devs] [xwiki-notifications] r29965 - contrib/sandbox/xwiki-officepreview

2010-07-04 Thread Asiri Rathnayake
Hi Vincent, On Sun, Jul 4, 2010 at 8:04 PM, Vincent Massol vinc...@massol.net wrote: Actually the solution is to simply add: ... /build properties !-- Skip Clirr execution since this is the first release of this module. Remove once XE 2.4M2 is released. --

Re: [xwiki-devs] [Discussion] Integrating officepreview module into main source tree

2010-07-04 Thread Asiri Rathnayake
Hi, 2. Need a couple of tests - I'm working on this. Asiri, any update on this? I will have the tests ready by this weekend. I've committed few test cases and also refactored the code a bit (to make it easy to add tests). Let me know if they look ok. Also note that the officepreview

Re: [xwiki-devs] [Discussion] Integrating officepreview module into main source tree

2010-07-04 Thread Asiri Rathnayake
Hi, Also note that the officepreview macro (which makes it very easy to consume the officepreview service) is located at one of our customer sites [1]. our = ? I guess you meant XWiki SAS. Thanks. - Asiri [1] https://emc.devxwiki.com/xwiki/bin/view/XWiki/OfficePreviewMacro I

Re: [xwiki-devs] [Discussion] Integrating officepreview module into main source tree

2010-06-29 Thread Asiri Rathnayake
Hi, On Tue, Jun 29, 2010 at 4:00 PM, Vincent Massol vinc...@massol.net wrote: Hi Asiri and all, On Jun 1, 2010, at 11:28 AM, Asiri Rathnayake wrote: Hi Devs, I have almost completed my work on officepreview module and I would like to discuss about integrating it into main source

Re: [xwiki-devs] [PROPOSAL] Use openoffice server when its enabled to do PDF/RTF export

2010-06-18 Thread Asiri Rathnayake
Hi, Big +1. I also wanted to try out wiki page exporting using office importer api (well, now it's more like office converter api). The interesting thing is with openoffice we can convert html into many other formats (word, pdf, rtf etc.). It would be interesting to find out the quality of these

Re: [xwiki-devs] [Vote] Move the 'paste office content' feature from the import menu to the tool bar?

2010-06-17 Thread Asiri Rathnayake
Hi, On Thu, Jun 17, 2010 at 3:07 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Hi, Currently the Import menu of the WYSIWYG editor has two entries: * 'Office Document' for importing office files * 'Office Content (Copy / Paste)' for pasting rich text (copied usually

Re: [xwiki-devs] [Issue] Updated: (XWIKI-5227) Introduce a temp resource action

2010-06-02 Thread Asiri Rathnayake
URL: http://jira.xwiki.org/jira/browse/XWIKI-5227 Project: XWiki Core Issue Type: Improvement Components: Core Affects Versions: 2.3, 2.2.6 Reporter: Asiri Rathnayake Assignee: Asiri Rathnayake Fix For: 2.4 M2

[xwiki-devs] [Discussion] Integrating officepreview module into main source tree

2010-06-01 Thread Asiri Rathnayake
Hi Devs, I have almost completed my work on officepreview module and I would like to discuss about integrating it into main source tree (and release it with 2.4M1). There are a couple of things to discuss: 1. officepreview module have to depend on xwiki-core for the time being because with

Re: [xwiki-devs] [xwiki-notifications] r29043 - in platform: core/trunk/xwiki-core core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/xwiki core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/w

2010-05-31 Thread Asiri Rathnayake
Hi, You should use the xwiki-url module to extract information from the URL IMO. It's much more complicated than what is written above. See code in xwiki-url for details. I had a look at xwiki-url module and I think I cannot use it to extract all the necessary pieces of information form the

Re: [xwiki-devs] [xwiki-notifications] r29043 - in platform: core/trunk/xwiki-core core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/xwiki core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/w

2010-05-28 Thread Asiri Rathnayake
Hi, +actionMap.put(temp, view); why temp and not tmp? I thought temp would be more meaningful like existing actions view and edit, I could change it easily. +File tempFile = getTempFile(uri); Using File is not recommended IMO. Couldn't you use a URL instead? Is

Re: [xwiki-devs] [Proposal] A private security mailing list

2010-05-26 Thread Asiri Rathnayake
+1 - Asiri On Wed, May 26, 2010 at 4:32 PM, Alex Busenius alex.busen...@xwiki.comwrote: Hello devs, I propose to introduce a security mailing list (secur...@xwiki.org) to discuss details of security issues. This list should be private, with only committers and trusted contributors

Re: [xwiki-devs] YourKit Java Profiler 9.0 Released

2010-05-19 Thread Asiri Rathnayake
On Wed, May 19, 2010 at 12:50 PM, Vincent Massol vinc...@massol.net wrote: See http://bit.ly/b1iPgf Note that all xwiki committers have a Yourkit license key available to them on dev.xwiki.org (tools page). Seems like I don't have a license ;) But I'm not using it either so its not a

Re: [xwiki-devs] Introduce new tempresource action

2010-04-29 Thread Asiri Rathnayake
Hi All, Sorry about digging this up now but I need this if I'm to get started with officepreview integration. How about this kind of URL? /xwiki/bin/tempresource/Space/Document/plugin/Sjqh73sjq.png where plugin is the name of the plugin/component that generated the image, like svg,

Re: [xwiki-devs] [Proposal] Computed title depth configuration option

2010-04-16 Thread Asiri Rathnayake
+1 On Thu, Apr 15, 2010 at 9:16 PM, Vincent Massol vinc...@massol.net wrote: Hi, We've had a user request (Ludovic as a user ;)) to have a config option to decide the header level to consider for a title. Right now we consider only levels 1 and 2 when computing a title from the doc

Re: [xwiki-devs] Problem with Edit Attachment feature

2010-04-15 Thread Asiri Rathnayake
PS: FoXWiki source: http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/foxwiki/ I think Alexandru Cismaru also worked on something related to FoXWiki for his gsoc project but I cannot find the source code of his project. - Asiri ___ devs

Re: [xwiki-devs] Problem with Edit Attachment feature

2010-04-15 Thread Asiri Rathnayake
Hi, - foxwiki is in version 1.0b and not even a final 1.0 version - when you try to install the FF extension it says it's not compatible with FF 3.6.3 (it doesn't work with other FF 3.6 versions either) This is hard-coded in the xpi. Re-releasing with another max-version would probably

Re: [xwiki-devs] [xwiki-users] FoxWiki Edit attachments feature

2010-04-15 Thread Asiri Rathnayake
Hi Eugen, On Thu, Apr 15, 2010 at 2:17 PM, Colesnicov Eugen ecolesni...@gmail.comwrote: Hi developers! According discussion about this FoxWiki Edit attachments feature at XWiki-Dev subforum. I want to write my opinion for developers. Current situation: - In IE this feature working good

[xwiki-devs] Question about hibernate transaction handling in XWiki

2010-04-15 Thread Asiri Rathnayake
Hi Devs, While working on a client project I came across an issue where an exception is thrown with a message that reads something like: Caused by: org.hibernate.HibernateException: Failed to commit or rollback transaction. Root cause [] Upon further digging I found the following code in

Re: [xwiki-devs] Question about hibernate transaction handling in XWiki

2010-04-15 Thread Asiri Rathnayake
Hi Again, } catch (HibernateException e) { // Ensure the original cause will get printed. throw new HibernateException(Failed to commit or rollback transaction. Root cause [ + getExceptionMessage(e) + ], e); This also sounds bit wrong, why do we generate HibernateExceptions?

Re: [xwiki-devs] [VOTE] Save dirty attachment content when saving documents

2010-04-02 Thread Asiri Rathnayake
Hi, On Fri, Apr 2, 2010 at 1:38 PM, Denis Gervalle d...@softec.lu wrote: In XWiki(Hibernate|Jcr)Store#saveXWikiDoc(), the attachement list is persisted, but the attachement contents are not persisted. A) I would like to take care of also persisting attachment contents when these contents are

[xwiki-devs] About integrating office-preview module in platform

2010-03-31 Thread Asiri Rathnayake
Hello Devs, I committed an office-preview module in sandbox ( http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-officepreview/) about a month or two ago. The purpose of this module is to enable previewing of office attachments (word, spreadsheets, presentations) using the office-importer

Re: [xwiki-devs] About integrating office-preview module in platform

2010-03-31 Thread Asiri Rathnayake
Hi, 3. Each generated office-preview is cached. When a cache entry is disposed, all the temporary files associated with that preview is deleted (DisposableCacheValue). However, I noticed that DisposableCacheValue::dispose() is not invoked when XE shuts down. We could fix this by

Re: [xwiki-devs] [VOTE] New committer Denis Gervalle

2010-03-28 Thread Asiri Rathnayake
+1 - Asiri On Sat, Mar 27, 2010 at 6:17 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: Hi committers, I would like to propose Denis as a XWiki core committer. Denis is an experimented developer (20 years) and has started developing and selling application (through his companies

Re: [xwiki-devs] [Proposal] Add support for Default Values for XWiki Wiki Macros

2010-03-10 Thread Asiri Rathnayake
Hi Anamaria, Yes, that's how it should behave. I created a small patch to take care of that too, see: http://jira.xwiki.org/jira/browse/XWIKI-4944?focusedCommentId=49570page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_49570 (

Re: [xwiki-devs] [Proposal] Add support for Default Values for XWiki Wiki Macros

2010-03-09 Thread Asiri Rathnayake
Hi, Is my patch OK http://jira.xwiki.org/jira/browse/XWIKI-4944 ? I'll review and apply this patch by tomorrow. I've been bit involved with some other stuff. Thanks. - Asiri ___ devs mailing list devs@xwiki.org

Re: [xwiki-devs] [Proposal] Add support for Default Values for XWiki Wiki Macros

2010-03-09 Thread Asiri Rathnayake
Hi, On Tue, Mar 9, 2010 at 4:10 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Anamaria Stoica wrote: Hi, Is my patch OK http://jira.xwiki.org/jira/browse/XWIKI-4944 ? Looks good to me. I'll commit my fix for http://jira.xwiki.org/jira/browse/XWIKI-4946 as soon as I

Re: [xwiki-devs] [Proposal] Add support for Default Values for XWiki Wiki Macros

2010-02-26 Thread Asiri Rathnayake
+1 - Asiri On Fri, Feb 26, 2010 at 4:13 PM, Anamaria Stoica anam.sto...@gmail.comwrote: Hi, I would like to add support for Default Values for XWiki Wiki Macros. It's not very difficult, as the XWiki Java Macros already have it. The required changes would be: - add default value property

Re: [xwiki-devs] [Proposal] Add getEntityReference method to WikiMacro

2010-02-25 Thread Asiri Rathnayake
Hi, On Thu, Feb 25, 2010 at 1:29 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Hi Anamaria, Anamaria Stoica wrote: Hi devs, I'm proposing we add the following method: DocumentReference getEntityReference(); Why not getDocumentReference()? considering the returned

Re: [xwiki-devs] [ JIRA ]XAOFFICE-24 -Automatically generate target-space text field value from request URL -(Improvement)

2010-02-24 Thread Asiri Rathnayake
Hi, On Wed, Feb 24, 2010 at 5:23 PM, Sergiu Dumitriu ser...@xwiki.com wrote: We should make the autosuggest add some kind of marker to the affected fields, so that a user can know that an autosuggest is used. Yes, like an start typing... label, I think I have noted such behaviour in several

Re: [xwiki-devs] Xwiki Office Importer - Privilege error to start the Server

2010-02-24 Thread Asiri Rathnayake
Hi Shelan, This kind of issues are best caught by remotely debugging the issue when it happens. Add sources for both office-importer and xwiki-core when remotely debugging from eclipse. Note however that I have built XE trunk recently but I don't experience this kind of a problem with it. I will

Re: [xwiki-devs] Xwiki Office Importer - Privilege error to start the Server

2010-02-23 Thread Asiri Rathnayake
Hi Shelan, On Wed, Feb 24, 2010 at 12:17 PM, shelan Perera shela...@gmail.com wrote: Hi , Recently i checked out the 2.3 XE and try to start using the Xwiki Office Importer with Locally starting (Auto Start = false) When i try to start open office server it gives the error Inadequate

Re: [xwiki-devs] [ JIRA ]XAOFFICE-24 -Automatically generate target-space text field value from request URL -(Improvement)

2010-02-23 Thread Asiri Rathnayake
Hi Shelan, I think we discussed about this sometime ago on the devs list. Can you check (in dev list archives) what was discussed earlier? and may be improve your idea based on that? I searched in the archive but i was n't able to locate the thread.Was it a recent thread? check:

Re: [xwiki-devs] [ JIRA ]XAOFFICE-24 -Automatically generate target-space text field value from request URL -(Improvement)

2010-02-22 Thread Asiri Rathnayake
Hi shelan, On Mon, Feb 22, 2010 at 8:30 PM, shelan Perera shela...@gmail.com wrote: Hi, I would like to suggest an enhancement for the target space. If we use a drop down list generated using a small code snippet of velocity i hope that would be easier for an average user. By default it

Re: [xwiki-devs] JIRA issue- XAOFFICE-43-Office import always fails

2010-02-21 Thread Asiri Rathnayake
Hi, This issue is fixed in 2.2 trunk along with new refactorings. I also committed a different fix for 2.1 branch. Btw, I think you should be using trunk (2.3) if you are doing any developments. - Asiri On Mon, Feb 22, 2010 at 11:36 AM, shelan Perera shela...@gmail.com wrote: Hi , When i

Re: [xwiki-devs] GSOC proposals-Export To Word / PDF through OpenOffice [BrainStroming]

2010-02-20 Thread Asiri Rathnayake
Hi Shelan, On Sat, Feb 20, 2010 at 4:53 PM, shelan Perera shela...@gmail.com wrote: Thank you for the reply. The main problem i had was Open Office manger is started by the Office Importer module.So when server starts the manged process is fed to the converter. DefaultOpenOfficeManger ::

[xwiki-devs] Unable to render some velocity code into xhtml

2010-02-14 Thread Asiri Rathnayake
Hello XWiki Rendering Experts, This is something used to work sometime ago but it seems things have changed. I have the following rendering test case: code .# - .input|xwiki/2.0 .#-

Re: [xwiki-devs] Unable to render some velocity code into xhtml

2010-02-14 Thread Asiri Rathnayake
Hi Vincent, The problem is, this test case passes. Which means the velocity / html macros are rendered into nothing... I'm pretty certain this used to work sometime ago (I didn't change anything) but it seems to be broken now. Can you help me fix this? Wysiwyg ppt imports are broken

Re: [xwiki-devs] Unable to render some velocity code into xhtml

2010-02-14 Thread Asiri Rathnayake
Hi again, On Sun, Feb 14, 2010 at 4:39 PM, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: Hi, Once clue that might help is that normal ppt imports using officeimporter application works fine. But in that case the content is stored in xwiki/2.0 syntax as the document content

Re: [xwiki-devs] Unable to render some velocity code into xhtml

2010-02-14 Thread Asiri Rathnayake
Hi, On Sun, Feb 14, 2010 at 2:43 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Hi Asiri, Asiri Rathnayake wrote: Hello XWiki Rendering Experts, This is something used to work sometime ago but it seems things have changed. I have the following rendering test case

Re: [xwiki-devs] Unable to render some velocity code into xhtml

2010-02-14 Thread Asiri Rathnayake
Hi, I just tried the following test case: code .#- .input|xwiki/2.0 .#- {{html}} psomething/p {{/html}} .#- .expect|xhtml/1.0

Re: [xwiki-devs] Unable to render some velocity code into xhtml

2010-02-14 Thread Asiri Rathnayake
Hi, On Mon, Feb 15, 2010 at 11:47 AM, Asiri Rathnayake asiri.rathnay...@gmail.com wrote: Hi, I just tried the following test case: code .#- .input|xwiki/2.0 .#- {{html}} psomething

Re: [xwiki-devs] [xwiki-notifications] r27005 - platform/web/trunk/xwiki-gwt-wysiwyg-server/src/main/java/com/xpn/xwiki/wysiwyg/server/plugin/importer

2010-02-13 Thread Asiri Rathnayake
Hi, Are you sure about this? In the 2.2 branch we have: /** * The component used to parse attachment references. */ @Requirement(current) private AttachmentReferenceResolver attachmentReferenceResolver; My mistake. I removed the annotation in revision 26759. I

Re: [xwiki-devs] [Proposal] Roadmap for XE 2.3

2010-02-02 Thread Asiri Rathnayake
+1 * Office preview - Asiri A working version is available in http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-officepreview/, it needs few adjustments before it can be moved to trunk. * Livetable macro - Asiri Could not continue working on this (only looked at this for a couple of

Re: [xwiki-devs] [Proposal] Roadmap for XE 2.3

2010-02-02 Thread Asiri Rathnayake
Hi, On Wed, Feb 3, 2010 at 12:20 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 02/02/2010 07:03 PM, Asiri Rathnayake wrote: * Office Export Should be able to come up with a descent exporter for XE 2.3. Or may be we should make it a GSoC project, not sure. Making it a GSoC project

Re: [xwiki-devs] [Proposal] Deprecate more remaining methods with web in their name

2010-02-01 Thread Asiri Rathnayake
+1 - Asiri On Sun, Jan 31, 2010 at 1:43 AM, Sergiu Dumitriu ser...@xwiki.com wrote: Hi devs, I'd like to further the move from web to space by deprecating all the methods that still use Web in their name. These are: - in XWiki: getWebCopyright, getWebPreference*, copyWikiWeb,

Re: [xwiki-devs] [Proposal] JIRA strategy for issues we don't plan to fix

2010-02-01 Thread Asiri Rathnayake
+1 - Asiri On Tue, Jan 26, 2010 at 6:56 PM, Vincent Massol vinc...@massol.net wrote: Hi devs, We've had a quick discussion with Thomas on IRC regarding the strategy we want to adopt for issues we don't plan to fix. Here's my POV: * We should close issues that we know we won't fix. We

Re: [xwiki-devs] [proposal] Migrating the captcha plugin to a component

2010-01-16 Thread Asiri Rathnayake
(this is the function called by the struts jcaptcha action) Caleb Asiri Rathnayake wrote: Hi Caleb, On Fri, Jan 15, 2010 at 4:21 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: Whoops I made a mistake in my example: How about: #set($captcha

Re: [xwiki-devs] [proposal] Migrating the captcha plugin to a component

2010-01-15 Thread Asiri Rathnayake
Hi, On Fri, Jan 15, 2010 at 2:35 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: Hello folks, I have a proposed method for migrating the captcha plugin to a component. I have posted a patch here: http://jira.xwiki.org/jira/browse/XWIKI-4741 which contains the core modifications

Re: [xwiki-devs] [proposal] Migrating the captcha plugin to a component

2010-01-15 Thread Asiri Rathnayake
Hi, Not exactly, I think you are thinking of: $captchaservice.isAnswerCorrect($sessionId, $answer) Yes. I believe here sessionId is generated by the captcha service for each captcha displayed? Or is it something else? I'm asking because recaptcha generates a unque captchaId for each captcha

Re: [xwiki-devs] [proposal] Migrating the captcha plugin to a component

2010-01-15 Thread Asiri Rathnayake
Hi Caleb, On Fri, Jan 15, 2010 at 4:21 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: Whoops I made a mistake in my example: How about: #set($captcha = $captchaservice.getCaptcha(defaultImageCaptcha)) #set($servletId = $captcha.getServletId($request))

Re: [xwiki-devs] Creating new pages from components with no old xwiki core dependency

2010-01-05 Thread Asiri Rathnayake
Hi Anamaria, On Tue, Jan 5, 2010 at 8:20 PM, Anamaria Stoica anam.sto...@gmail.comwrote: Hi, Is it possible to write XWiki components that create new pages without having as a dependency the old xwiki core? Let's say the component currently has the following code snippet: XWiki xwiki =

Re: [xwiki-devs] [Proposal] Port Actions to component model

2010-01-04 Thread Asiri Rathnayake
Hi Caleb, If I understand correctly, I would be able to add a new action by implementing an Action component with this approach (hope I'm correct). - How will I be able to bind my action to a particular URL pattern? (like download, view, edit actions we have right now) - Is there a way to

Re: [xwiki-devs] Introduce new tempresource action

2010-01-04 Thread Asiri Rathnayake
Hi, On Fri, Jan 1, 2010 at 3:42 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: If you wanted to do it by writing a component implementing Action instead of through struts, I have the XWikiServlet working, I can commit the patch if your interested. Yup, that would be nice. But I

Re: [xwiki-devs] [xwiki-notifications] r25984 - in contrib/sandbox/xwiki-officepreview: . src/main/java/org/xwiki/officepreview src/main/java/org/xwiki/officepreview/internal

2009-12-31 Thread Asiri Rathnayake
Hi, On Thu, Dec 31, 2009 at 4:54 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/31/2009 08:39 AM, asiri (SVN) wrote: Author: asiri Date: 2009-12-31 08:39:16 +0100 (Thu, 31 Dec 2009) New Revision: 25984 Modified: contrib/sandbox/xwiki-officepreview/pom.xml

Re: [xwiki-devs] [Idea] A generic document converter (xwiki-office-converter) on top of xwiki-officeimporter

2009-12-29 Thread Asiri Rathnayake
Hi, Interesting feature: I like the way GMail treats attachments. We could have something similar in the attachment list. Each supported file format will have some links next to the default download link, for previewing as HTML, downloading as PDF, converting to the equivalent

Re: [xwiki-devs] [xwiki-notifications] r25956 - in platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki: api doc

2009-12-28 Thread Asiri Rathnayake
Hi Sergiu, /** - * @return can current user restore this document from recycle bin + * Check if the current user has the right to restore the document. + * + * @return {...@code true} if the current user can restore this document, {...@code false} otherwise *

[xwiki-devs] [Idea] A generic document converter (xwiki-office-converter) on top of xwiki-officeimporter

2009-12-25 Thread Asiri Rathnayake
Hi Devs Users, With the new refactoring of officeimporter module, it's possible to implement a generic office document converter on top of xwiki-officeimporter. By a document converter I meant an xwiki application where you can upload a .doc file and get it converted to a .pdf, .odt etc.

Re: [xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Asiri Rathnayake
On Mon, Dec 21, 2009 at 2:59 PM, Vincent Massol vinc...@massol.net wrote: Hi devs, I'm still working on the Model Reference domain. We've brainstormed with Thomas and we'd like to propose replacing the current ModelContext.getCurrentDocumentName() by ModelContext.getCurrentEntityReference()

Re: [xwiki-devs] [VOTE] Introduce a cache of documents used in the current request

2009-12-21 Thread Asiri Rathnayake
Hi, On Mon, Dec 21, 2009 at 6:15 PM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Mon, Dec 21, 2009 at 13:34, Sergiu Dumitriu ser...@xwiki.com wrote: Hi devs, Currently the getDocument method always goes to the storage to retrieve the document, even if the same document has just

Re: [xwiki-devs] [Proposal][Model] ModelContext getCurrentEntity()

2009-12-21 Thread Asiri Rathnayake
Hi Thomas, May be we can avoid the enum type by using generics? T extends EntityReference T getCurrentEntityReference(); Not sure if this is a good practice though. Generic does not exist in the bytecode so impossible to know that you want the EntityType.WIKI if you don't explicitly

Re: [xwiki-devs] [xwiki-notifications] r25854 - in platform/core/trunk/xwiki-officeimporter/src/main/java/org/xwiki/officeimporter: . internal

2009-12-20 Thread Asiri Rathnayake
Hi, Shouldn't it be an exception instead of a log ? Since this class depends on this component you should not be able to created it if one of these is missing like when you create a component. Thanks for the catch. Fixed. - Asiri ___ devs mailing

[xwiki-devs] [Discussion] extract out an xwiki-openoffice module from xwiki-officeimporter module ?

2009-12-19 Thread Asiri Rathnayake
Hello Devs, Currently xwiki-officeimporter contains logic for mainly two different tasks: 1. Manage the back-end openoffice process (and provide document conversion facilities). 2. Perform the actual transformation from office documents to wiki pages. (depends on point 1) xwiki-officeimporter

Re: [xwiki-devs] [Discussion] extract out an xwiki-openoffice module from xwiki-officeimporter module ?

2009-12-19 Thread Asiri Rathnayake
Hi, Will this module be useful outside the import/export feature? Can you think of any standalone usage? Other than import / export features, No. What I had in mind is something like what vincent suggested. I also have to agree that doing this kind of a separation just for the sake of

[xwiki-devs] Are velocity bridges part of public API?

2009-12-19 Thread Asiri Rathnayake
Hi Devs, I just realized that I've been having a velocity bridge class inside an *.internal package for sometime. I think this is wrong because velocity bridges are part of our public API (?). Moving this bridge to a non-internal package would not harm because it would not break any existing

Re: [xwiki-devs] [Discussion] extract out an xwiki-openoffice module from xwiki-officeimporter module ?

2009-12-19 Thread Asiri Rathnayake
Hi, Same issue here, why would you need the exporter as a separate platform module? IMO, you should have a single platform module for the office import/export functionality, and have the server management, importer and exporter as nested modules. This is what vincent has suggested (is it

Re: [xwiki-devs] OfficeImporter API changes - Take 2

2009-12-18 Thread Asiri Rathnayake
Hi, Some corrections after discussing with Asiri: - it seems what Asiri is proposing is a Velocity API, ie for usage of the importer from velocity, not from Java I was actually proposing a java API but now I understand that it's not correct. I already have different components responsible

Re: [xwiki-devs] [Proposal] Resource vs Item vs ItemResource vs Model Name vs Path vs Reference

2009-12-17 Thread Asiri Rathnayake
Hi, We'd have: Entity EntityReference EntityType EntityReferenceFactory, EntityReferenceSerializer I think I prefer it slighty more than Resource. What do others think? For me Entity sounds little bit too generic. I'd prefer Resource instead. A Resource implies I can use it for something

Re: [xwiki-devs] [Proposal] Resource vs Item vs ItemResource vs Model Name vs Path vs Reference

2009-12-17 Thread Asiri Rathnayake
Hi Vincent, Well Entity is pretty common in modeling (see http://bit.ly/5r2Liw) Also it's used in Entity Bean (Java EE) and is defined as: An entity bean represents a business object in a persistent storage mechanism. Some examples of business objects are customers, orders, and products

Re: [xwiki-devs] OfficeImporter API changes - Take 2

2009-12-17 Thread Asiri Rathnayake
Hi Devs, code OfficeImporter::officeToXHTML(byte[] officeFileData, DocumentName referenceDocument, boolean filterStyles):XHTMLOfficeDocument OfficeImporter::xhtmlToXDOM(XHTMLOfficeDocument xhtmlOfficeDocument):XDOMOfficeDocument OfficeImporter::officeToXDOM(byte[] officeFileData,

Re: [xwiki-devs] [VOTE] XWiki.org: Don't delete important pages

2009-12-15 Thread Asiri Rathnayake
Hi, On Tue, Dec 15, 2009 at 2:22 PM, Vincent Massol vinc...@massol.net wrote: Hi, Another proposal: don't remove important pages that are moved. For example imagine that we refactor the RSSFeeds page into a Notifications page. I propose that we don't delete the RSSFeeds page but instead

Re: [xwiki-devs] [UX][Proposal] Action Menu in Edit Mode

2009-12-15 Thread Asiri Rathnayake
Hi, On Tue, Dec 15, 2009 at 8:55 PM, Ecaterina Valica vali...@gmail.com wrote: Hi, We should replace the Choose Editor panel by using the Action Menu also in Edit Mode. Please comment on this and select your favorite variant: A, B, C, D, E

  1   2   3   4   5   6   7   >