Commit Graph
125 Commits
Author SHA1 Message Date
Ashish Vijaywargiya ed26dd4dc4 Applied patch from jira issue OFBIZ-4946 - Getting error when uploading a file after creating a data resource.
Thanks Ashish Ambulkar for creating the issue. Thanks Arun, Jacques for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646984 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:22:50 +00:00
Jacopo Cappellato ac30f4f09e Fixed the event of an eca definition from in-validate to invoke; this fixes a service validation exception. Part of OFBIZ-4363
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1614025 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 13:18:40 +00:00
Jacques Le Roux 7adfe90d71 Fixes <<Services allow arbitrary HTML for parameters with allow-html set to "safe">> https://issues.apache.org/jira/browse/OFBIZ-5254
After r751990, <<allow-html="any">> and <<allow-html="safe">> are the same: they do nothing! The only difference is the warning message from the OWASP Antisamy IntrusionDetector, which is both, as Christoph noted "giving you a false sense of security" or as I wrote "disturbing, wrong and useless". So there are no longer any reasons for differencing "safe" and "any".

This
* Deprecates "safe" (making it clear in the XSD documentation), keeping only "none" and "any". This is for backward compatibility, else we could completely remove the misleading "safe". Note that "none" is the default.
* Replaces in services definition all allow-html="safe" by allow-html="any"
* Remove from ModelService.java (near line 587) the code which throws the OWASP Antisamy IntrusionDetector message in log

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536324 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 12:12:43 +00:00
Hans Bakker 834c6ac2d8 revert of unwanted commit, sorry!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535287 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 06:42:34 +00:00
Hans Bakker 45011c0ed1 reorganizing of files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1535286 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 06:39:36 +00:00
Jacopo Cappellato 6071e8d8e0 Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars.
In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00
Jacques Le Roux 4c1969ffa4 Closes <<TYPO in service name "udpateWebSitePathAlias">> reported by Atul Vani https://issues.apache.org/jira/browse/OFBIZ-5101
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1422101 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 21:29:57 +00:00
Jacques Le Roux c78b9f662c Moves addMostRecent services to Attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348546 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 08:04:39 +00:00
Hans Bakker 07da905859 extend the generation of seo friendly content url's now also to website subcontent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202142 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 11:55:54 +00:00
Hans Bakker 432a4f2d18 allow html=safe in comments and descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198615 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 03:34:52 +00:00
Hans Bakker 167c9804ef create also blog alternative urls connected to a website
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1198611 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 03:27:58 +00:00
Hans Bakker 08c1a63bbd extended the commevent delete service to delete also seo friendly url's connected to the attached content of a comm event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158120 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 06:21:04 +00:00
Hans Bakker 53abb5b2ac added an function on the website level: 'SEO' to generate missing seofiendly url's on a catalog, category, product and content level. entities records which have alread a seofriendly alternative url are not touched
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153034 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 05:56:47 +00:00
Hans Bakker e2531c1cfc improved content friendly urls, fix some errors
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148144 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 04:04:32 +00:00
Hans Bakker e89fda8693 improvement on the createContentAlternativeUrl service to create url for existing content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144227 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:52:08 +00:00
Hans Bakker d470674485 add services to create the alternative seo friendly url's for contant from the contentname, only when they are missing in the current locale. Also updated the related demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1143647 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 03:59:31 +00:00
Hans Bakker 6724a6698f use and demonstrate the seo friendly urls in the content/ecommerce blog function, add seca to update new created content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142577 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 07:33:18 +00:00
Hans Bakker 1749a6989f Add seo friendly url's for showing content. reorganize the same program snippets with seo friendly url for products. These content url's are demonstrated at the ecommerce frontend in the left bottom corner: Content Information
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141878 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:03:32 +00:00
Hans Bakker 77226d187c add search screens using the new content search following the wokreffort pattern
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102643 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:55:48 +00:00
Hans Bakker 7a42a2892c add a keyword search function to the content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102554 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 03:20:58 +00:00
Jacques Le Roux 63b2a85c6d allow-html="safe" in DataResource.textData like for ELECTRONIC_TEXT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087904 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 21:27:49 +00:00
Erwan de Ferrieres f077d22e2d mime-type is now auto detected with Apache Tika when uploading a new file to a profile. I also had to change the mimeTypeId field to vlong, as there are now mimetypes with a length > 60 characters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081848 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 16:43:09 +00:00
Hans Bakker 2feb0cd91d allow safe html in blog services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021729 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 10:23:11 +00:00
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