Commit Graph
41 Commits
Author SHA1 Message Date
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 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 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
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
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
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
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
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
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
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
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
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
Alfred Maxwell Byers e06ae5eab8 Added two services, getSubContentWithPerm and getSubSubContentWithPerm.
The first gets a list of sub content and does a genericContentPermission check on each one.
The second one uses the list from the first and gets a subcontent record for each one that exists.
It is meant to get the "summary" record for an article.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546949 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 16:23:24 +00:00
Alfred Maxwell Byers 23f6953bfd Some content mods done in the course of trying to get forums to work in ecommerce.
Added two services.

createArticleContent is meant to be a more general version of postBlogEntry.

getSubContentWithPermCheck adds a content permission check inside the loop - returning only records 
  that have the right permission.

Modified CmsEvents.cms to return "success" instead of null.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544732 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 05:30:17 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Andrew Zeneski aba4c121bb updated CMS to do simple (single) content purpose and updates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530530 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:54:45 +00:00
Andrew Zeneski 05fa91599e more content refactoring; refactored upload content service; now supports other data resource types; now also can determine which type to use based on mimeType (if none is specified); moved some service defs around, this is a work in progress. Moved data resource services from contentservices.xml to dataservices.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512356 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:35:04 +00:00
Andrew Zeneski a8e837c981 fixed bugs/problems with internal services; missing map-name, added eca to ensure party role, fixed updat/createTextContent services to auto-update association as well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510337 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:19:36 +00:00
Andrew Zeneski 002f9982a9 implemented entities for website -> content publish (and HTML meta data) assoc; WebSite path aliases; CRUD services and seed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509860 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 01:31:50 +00:00
Andrew Zeneski f850e8b08c Content Permission & Service Refactoring: A number of big changes to content services including new permission services. This is the first pass with detailed testing on blogs in ecommerce. Tested low level screens as well.
This is the first pass, there are still a number of references to old permission checking, some services need to be refactored, some replaced with better practices. This is a work in progress. 

This first pass includes the removal of special BLOG_ roles and status. Replaced with a generic CONTENT_ and CTNT_. Also adds new ECAs to base createContent service which creates OWNER role as well as associations when passed a contentIdTo or contentIdFrom (and TYPE). This will probably replace the persistContentAndAssoc service which is used in many places. Some have been updated in the revision, others will follow.

Most code which calls the older permission services are found in .java files. Almost all simple methods have been converted to have the permission in the service def and the code removed from the implementation. Java methods still need to be addressed.

The older permission service will output a warning in logs with a stack trace to help track down places where this service is still being called. This is not an error, but may show in logs for the time being.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509321 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:53:06 +00:00
Andrew Zeneski be6ca84098 updated content permission services; add more documentation; fixed variables so they do not conflict
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507591 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 15:58:17 +00:00
Andrew Zeneski 86ac867c55 first pass of RSS feeds for blogs (see ecommerce)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507365 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:55:48 +00:00
Andrew Zeneski 4bc18c2753 added ownerContentId to missing definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507300 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 23:24:15 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Alfred Maxwell Byers 410d28c3d5 Changes to ContentManagementServices.persistContentAndAssoc to comply with change of subcontent "direction".
Some changes to that service def. Since there were service defs in there for BlogServices.java/xml, those were included too.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499256 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 04:49:50 +00:00
Andrew Zeneski d86b12f055 added create/update electronic text service calls to the create/updateTextContent group(s)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493925 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 03:18:16 +00:00
Andrew Zeneski c79c834f84 fixed route services (for update) and createTextContent; implemented both party and workeffort services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493129 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:38:23 +00:00
Andrew Zeneski 7e4d377fe8 final refactor of content upload services; now the upload (save file) service is broken down so it can be reused to upload any content and attach to an existing dataresource. The dataresource shell should be created before calling the upload service
A new createContentFromUploadedFile (group) service will do the following:
1) create data resource
2) accept uploaded stream, update datasource and save the local file
3) create content record associated with data resource



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493122 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 18:30:26 +00:00
Andrew Zeneski 15e9ec90c2 moved upload content code to the content component (from party); made more generic and added speedy services for creating uploaded content; also added service for text content (not yet tested)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492850 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 02:18:29 +00:00
Jacopo Cappellato b05f4a66a1 Major refactoring of the Apache FOP rendering engine: upgrade from .20.5 to .92
Special thanks to John Martin and Christian Geisert for this work: OFBIZ-311


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481558 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 13:37:24 +00:00
Jacopo Cappellato 670f44edbf License change from MIT to ASL2.0 for the files of the content component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422868 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 20:59:54 +00:00
David E. Jones 96d6832b95 Moved content.subscription stuff to product.subscription, since it really is more generic and extends the product model rather than being part of the content stuff; note that also resolved the issue with the old updateSubscription service name, which is not very descriptive: changed to updateContentSubscription so that the updateSubscription name can be used where it should be: for the Subscription entity
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418893 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 01:32:06 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00