Commit Graph
102 Commits
Author SHA1 Message Date
Erwan de Ferrieres cd78a16fba OFBIZ-3647 Create dataResource from content -- A patch from Nicolas Malin -- https://issues.apache.org/jira/browse/OFBIZ-3647
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993395 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:30:21 +00:00
Adam Heath ac2299c50e Fix a bunch of no final newline issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965918 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 17:15:21 +00:00
Jacques Le Roux e57c2599a9 A patch from Sumit Pandit "Issue in rendering Freemarker Template from String." (https://issues.apache.org/jira/browse/OFBIZ-3782) - OFBIZ-3782
With the help of Bob Morley (it was more a cache issue than what Sumit thought)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950866 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 04:11:32 +00:00
Scott Gray eb4e287b9e Switch some classpath style xml service locations to component style
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931776 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 04:08:53 +00:00
Ashish Vijaywargiya 62a47436c3 Applied patch from jira issue - OFBIZ-3487 - Improvement on CMS component.
1.  Adding sequenceNum field on ContentPurpose entity.
2. Adding ContentAssocAndContentPurpose view entity.
3. Fixed NPE issue on WebSiteCMSContent.ftl file.
4. Created ContentPurposeType data for "LANDING_PAGE_IMAGE".

Thanks Amit & Vivek for the contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@911774 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 10:27:10 +00:00
Jacques Le Roux dae61fc2e3 Correct the comment, there are no CommunicationEventContent but CommEventContentAssoc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896862 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:40:37 +00:00
Jacques Le Roux b502dfcfa4 Typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@896859 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 12:21:32 +00:00
Ashish Vijaywargiya 4a8e75a7cd Applied patch from jira issue OFBIZ-3244 - New feature to upload multiple Additional View Images at Product Content.
Moving services to correct component | location and renaming services so would be verbose enough to understand its purpose.

Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885414 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 13:23:08 +00:00
Jacques Le Roux f64c440775 A patch from Surya Kusumakar "New feature to upload multiple Additional View Images at Product Content." (https://issues.apache.org/jira/browse/OFBIZ-3244) - OFBIZ-3244
Add a new feature in Product Content to add all four images at a time and one can preview those images in larger view on mouse over of particular image. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883280 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 08:48:43 +00:00
Scott Gray 8ec19d56d8 Fixed incorrect package name, reported by Jeremy Wickersheimer in OFBIZ-3163
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835314 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 09:46:34 +00:00
Jacques Le Roux fa3335b551 SHORT_TEXT was not working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780138 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 23:21:20 +00:00
Andrew Zeneski 9fc7f85487 moved eca to call storeEmailAsCommunication to the party component where the service actually resides
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772971 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 13:20:12 +00:00
Hans Bakker d531da33b8 this finally solves the email receive problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772837 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 04:15:59 +00:00
Hans Bakker cb0a2fbbee inserted a default view if home is missing, html=safe still blocks incoming email messages, changed to 'any'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772038 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:08:48 +00:00
Hans Bakker 1a05ec9312 html allow corrections and default view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771576 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 06:17:44 +00:00
Hans Bakker 8339989cd8 allow html for incoming email into communication event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769679 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 06:46:35 +00:00
Adrian Crum 26c4787ec3 Updated the xsd URIs in XML files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769576 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 22:34:47 +00:00
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
David E. Jones bbe9fc5476 Added missing license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764945 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 20:39:34 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux 9f176a1fc2 Fix services timeout issueq reported in user ML (only in content component)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762329 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 13:24:59 +00:00
Jacques Le Roux 29315e3798 all components
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
using <service name=(.*)engine="simple"(.*)location="org/ofbiz => <service name=$1engine="simple"$2location="component://{componentName}/script/org/ofbiz 
with {componentName} done by hand

Also for bsh and groovy (services_test in copmmon). There is no longer any location="org/ofbiz in OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755977 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 12:50:51 +00:00
Jacques Le Roux 836f765212 Content component
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755928 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:20:52 +00:00
David E. Jones f27b4eeaaa No functional changes, just reorganizing code: moved email services from content to the framework/common component except the CommunicationEvent related ones which are now in the party component along with other CommunicationEvent resources; changed framework components so that webapp no longer depends on common and common is higher level than the various tool components which was an odd dependency before; one new thing is in here and that is an entity called EmailTemplateSetting which is meant to be a generic version of the ProductStoreEmailSetting entity so we can have configurable email templates without depending on ProductStore, still need to write the service to send email from this (sendMailFromTemplateSetting)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744727 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:34:49 +00:00
Jacques Le Roux 8e54581455 Ooops, this does not make sense, sorry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743102 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 21:04:56 +00:00
Jacques Le Roux bb5d178b08 Here are some complements for r743056
I don't know what to think for 
    sendMailMultiPart bodyParts (actually I did not look further, I think it should be done earlier - if ever - at this stage it's too late)
    sendMailFromScreen bodyParameters 
I don't think it's needed for 
    createEmailContent plainBody
    updateEmailContent plainBody

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743100 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 21:02:06 +00:00
Jacques Le Roux fa548b9be2 This should fix most of the sent emails issues for now. To be double checked please...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743056 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 18:46:17 +00:00
David E. Jones 1859744a3f Updated a few service defs that need to support html coming in, all using safe html for now
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742394 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 11:05:34 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Hans Bakker 3e39ae7d56 some small adjustements to the blog maintenance screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736948 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 05:56:46 +00:00
Hans Bakker b9bb8b4aaa some more updates to the blog backoffice maintenance, now fairly complete although responses still missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736237 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 06:20:53 +00:00
Hans Bakker bfa00a72b6 update blogentry now added which replaces persistBlogAll and renaming of some files to be more to the ofbiz standard. blog Still not complete......
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735627 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 08:09:48 +00:00
Hans Bakker e46fbe8080 some more updates to mainly the blog functions, but also other problems found on the way, still not finish yet altough the blog post function now works correctly including picture, also did some minilanguage syntax changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735383 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 03:34:57 +00:00
Hans Bakker af829095e4 first version of blog backend maintenance screens, to be completed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734306 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 02:21:21 +00:00
Jacques Le Roux db2fd711a4 Fix "Can't create a customer, nor a prospect and I suppose an employee" (https://issues.apache.org/jira/browse/OFBIZ-2058) - OFBIZ-2058
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@719926 13f79535-47bb-0310-9956-ffa450edef68
2008-11-22 21:50:16 +00:00
Joseph Eckard 3979e9b413 Adding support for document and print request attributes to the sendPrintFromScreen service (orientation, collate, finishings, copies, page ranges, etc.)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@703709 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 18:55:10 +00:00
Marco Risaliti cfeb2a6745 Some cleanup on content component (Part of issue OFBIZ-1982)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@701855 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 19:14:33 +00:00
Hans Bakker 1c9e035ee1 add new roles for communicationevents and properly assign them for incoming emails aded mca file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@678341 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 04:15:42 +00:00
Alfred Maxwell Byers e02a57ed32 Added dataResouceTypeId to input of attachUploadToDataResource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640496 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:25:21 +00:00
Andrew Zeneski ba601e864b content type should be optional; there is code to determine the type based on file extension if it is not known
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633272 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 20:51:15 +00:00
Vikas Mayur 1915592f76 Applied patch from Jira Issue OFBiz-1665 (https://issues.apache.org/jira/browse/OFBIZ-1665)
This patch reported a bug that was related to invoking wrong method in a service in services_data.xml
While applying the patch I come across similar bug in other services as well.
Fixed them as well.

Thanks to Pranay Pandey for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@629523 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 16:25:25 +00:00
Adrian Crum b6977272aa Fixed bug in Party Manager Edit Comm Content screen - https://issues.apache.org/jira/browse/OFBIZ-1575.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614733 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 23:37:19 +00:00
Scott Gray b80282a2ca Removed an invalid (doesn't exist on the entity) override field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607353 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 23:03:08 +00:00
Andrew Zeneski 08874971a0 added method to create text content with a optional sub-section of uploaded content (i.e. text with an image/audio/video)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596510 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 01:35:58 +00:00
David E. Jones 75c26763e5 Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Alfred Maxwell Byers 9e111ea1c1 Made outWriter optional in renderContentAsText service.
Should probably be removed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583557 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 17:51:08 +00:00
Andrew Zeneski eb9e049b62 updated mailing services to track messageId in mail messages (in and out), updated mail polling to never create duplicate messages, and better store communication events
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571299 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:38:39 +00:00
Alfred Maxwell Byers 8d5d3eb5d8 I was troubled by the fact that createTextContent did not return the fromDate - making it difficult to get a primary
key for the newly created content.
I made changes so that createContentAssoc would return "fromDate", but that did not help "createContent" because it was an eca
and I did not want to specify a "result-map-name" attribute.
So I modified createContent so that it would accept a fromDate as input, so at least I can know what the fromDate value is by
setting it to nowTimestamp before calling createContent.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571052 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 06:46:10 +00:00
Alfred Maxwell Byers c7967749fd Made OUT lists optional in getSubContentWithPerm services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548378 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 15:15:40 +00:00