Commit Graph
44 Commits
Author SHA1 Message Date
Scott Gray 23239823f1 Fix copy/pasted service description
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@828388 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 08:38:03 +00:00
Ashish Vijaywargiya 727f1ac5ef Applied patch from jira issue OFBIZ-3033 - Improvement in Product Review implementation.
1) Make createProductReview service definition more generic, so that it can take all nopk fields as IN parameters.
2) Change field value in "productreview.ftl" because field "postedAnonymous" is not a boolean type in ProductReview entity.
3) Make the service implementation more generic so that, it can be used for unregistered users also.
4) Put checks on pendingReviews.ftl to handle case of anonymous user.

Thanks Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@824675 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 10:32:49 +00:00
Ashish Vijaywargiya 8e1d6c7d9e Wrong location was specified for this service.
Minor fix in code to return error and success message.

I will create the "How To" docs for this in next few hours on the OFBiz confluence.
As the present document is present in OFBIZ-1810.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@781926 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 06:51:03 +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 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
Ashish Vijaywargiya 482a84b1a5 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755831 13f79535-47bb-0310-9956-ffa450edef68 2009-03-19 04:27:30 +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
David E. Jones 874f02e9da Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Jacques Le Roux 1ad9a9c96b A patch from Nicolas Malin "Refactoring product search by id" (https://issues.apache.org/jira/browse/OFBIZ-2027) - OFBIZ-2027
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@709726 13f79535-47bb-0310-9956-ffa450edef68
2008-11-01 17:19:32 +00:00
Jacques Le Roux 26809a23f6 Fix " Error to Create New Product Config Item Content" (https://issues.apache.org/jira/browse/OFBIZ-2007) - OFBIZ-2007
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@706055 13f79535-47bb-0310-9956-ffa450edef68
2008-10-19 19:28:41 +00:00
Jacques Le Roux 1baa53d5b9 A patch from Mridul Pathak "Added support for uploading additional Product Views (images)" (https://issues.apache.org/jira/browse/OFBIZ-1930) - OFBIZ-1930
I fixed an, unrelated to patch, problem in EditProductContentContent.groovy. This is not the 1st time I cross this type of issue. I checked it does not appear on demo server and I guess it was not appearing with bsh  before. I'm not sure of its origin but it seems related to my configuration. I use, from my machine default, "Central European Summer Time" and demo server uses "Central Daylight Time". But I can't see why it affects my machine and not the demo server : there is no origin here (maybe GMT, but obviously it's not the case)
The lines I added are (+ import)
} else {
    fromDate = ObjectType.simpleTypeConvert(fromDate, "Timestamp", null, null, false)    
}
(I intentionnaly let the line without semi-colon as it's not mandatory in Groovy) 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689772 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 10:02:47 +00:00
Ashish Vijaywargiya 36bf41ae69 Moved the files to product component suggested by David.
Also improved the naming convention of file for easy maintenance and search purpose for 
the developer/user point of view.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663627 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 14:28:42 +00:00
Bilgin Ismet Ibryam 32acd47cb4 Fixed createProdCatalog service: If prodCatalogId is not entered, the service should create one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@636315 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 13:26:12 +00:00
Marco Risaliti 0c5ff5b71a Small changes to transfer to the Edit Product Page after duplication of the product (Part of issue OFBIZ-1633).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628398 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 00:38:45 +00:00
Marco Risaliti 888e14c705 Applied patch from JIRA Issue #1633.
Possibility to choose the product descriptions during the duplication of product.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628297 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 13:53:59 +00:00
Jacques Le Roux c062606a54 A patch from Shubham Goyal "Refactor the Catalog Permission as per the new pattern" (https://issues.apache.org/jira/browse/OFBIZ-1570) - OFBIZ-1570
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611311 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 21:51:05 +00:00
Marco Risaliti 4b5a5b78a9 eBay features are now moved to a specialpurpose application and it can be removed from the product application (Part of issue OFBIZ-1441)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603353 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 20:41:37 +00:00
Anil Patel 827c5d1749 Ashish, thanks for contribution.
Implementation of New entity, CRUD services and screen to map, for an organization, a productCategoryId/glAccountTypeId pair to a glAccountId


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599219 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 00:15:05 +00:00
Hans Bakker 61bd75f2fb Which this change it is possible to directly upload 'digital download' files connected to a product using the latest content management services. These files can be offered on the ecommerce site for download
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589981 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 08:16:44 +00:00
Jacopo Cappellato adab7c94dd Isolated Google Base integration into an indipendent specialpurpose component. Mostly based on the patch contributed by Marco Risaliti in OFBIZ-1372
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@589315 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 09:41:52 +00:00
Anil Patel 44eebf4377 CrUD Services and supporting UI for VenderProduct entity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586665 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 04:39:32 +00:00
Adrian Crum 00100b0d73 New feature - assign parties to products. Patch is from Ean Schuessler - OFBIZ-1177, plus some additional work from me. Still needs a party ID lookup screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578930 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 19:38:03 +00:00
Jacopo Cappellato 6dad59b10f Misc cleanups and improvements to the Edit product content screen.
Implemented new service (and forms) to make relatively simple the creation of text contents (simple texts) in alternate locale: there is still room for improvements here...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577814 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 16:57:26 +00:00
Jacopo Cappellato 8e345de47c Implemented service to bulk export all the products in a category to Google.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564490 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 06:53:05 +00:00
Jacopo Cappellato 271d943633 Misc improvements to the Google Base integration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561963 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 21:33:07 +00:00
Jacopo Cappellato 4777754956 Applied patch by Marco Risaliti with some enhancements for the eBay integration, especially the OFBiz->eBay feed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560136 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 08:00:56 +00:00
Jacopo Cappellato 6ca265d3bc This is the first version (still not completed) of the eBay integration (import of orders from eBay to OFBiz and export of products from OFBiz to eBay). Thanks to Marco Risaliti for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557392 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 20:41:01 +00:00
Jacopo Cappellato 0f7113f5b7 Applied patch (with some differences) by Marco Risaliti to convert a service into an event (part of Google Product interface implementation, OFBIZ-1095)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554828 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 05:24:32 +00:00
Jacopo Cappellato 41f94c44b7 Applied patch by Marco Risaliti (OFBIZ-1095) with further improvements to the Google export interface.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@554593 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 10:14:05 +00:00
Jacopo Cappellato 709acc27ba Applied patch by Marco Risaliti with a lot of improvements to the Google Export integration. Part of OFBIZ-1095
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@553830 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 10:35:12 +00:00
Jacopo Cappellato 01c141fe35 Applied patch (with some minor changes) by Marco Risaliti (OFBIZ-1095), as a first step in the implementation of product export features to Google.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@552765 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 09:42:10 +00:00
Jacopo Cappellato d583d1e71d Misc cleanups and screen conversions from ftl/bsh/event to widget/minilang/service, including patches from Mario Cappellato (OFBIZ-1046)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546172 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 15:30:08 +00:00
Jacopo Cappellato 3533d1d037 Added util methods and services to bulk create/delete ProductKeywords: they are going to replace the existing event. Part of issue OFBIZ-1046
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545137 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 10:03:45 +00:00
Jacopo Cappellato 4d377792a5 Implemented standard services to create/update/delete ProductKeywords: they are going to replace the existing event. Part of issue OFBIZ-1046
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545112 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 08:50:11 +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 9456f3f949 implemented ProductGeo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@531220 13f79535-47bb-0310-9956-ffa450edef68
2007-04-22 16:17:09 +00:00
David E. Jones 8279106743 Some fixed for the view and purchase allow category product add permission code; major cleanup, changed name to better represent and distinguish what it does; also changed OOTB security group setup to better represent how this is intended to be used; now appears to work properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507809 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 04:12:07 +00:00
Alfred Maxwell Byers 35dc8b8d0a Added <permission-service service-name="checkCategoryRelatedPermissionService" main-action="CREATE"/>
to safeAddProductToCategory service.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507713 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 22:15:06 +00:00
David E. Jones b10f2f3055 Applied patch from Ashish in Jira #OFBIZ-717; also did a number of cleanups and reorganized product service defs to group better; changed this to use the category permission service (was using the product one, and patch had a new product permission service instead of using the existing one, which now has a permission-service style wrapper around it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507431 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 08:05:53 +00:00
Alfred Maxwell Byers 2734f35168 All commits related to adding a special permission requirement for Categories that are of the prodCatalogCategoryTypeId = PCCT_VIEW_ALLW and PCCT_PURCH_ALLW.
Two fields, viewAllowPermReqd and purchaseAllowPermReqd were added to ProdCatalog entity and corresponding changes to the admin form.
The "permission-service" approach to security was used for several services in CategoryServices.xml - addProductToCategory, updateProductToCategory, removeProductToCategory
and addProductToCategories.
A permission service, checkCategoryRelatedPermissionService, was added to CategoryServices.xml and the internal calls to the checkCategoryRelatedPermission method were taken
out of those services.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@504818 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 08:17:33 +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
Jacopo Cappellato 0f3d92aafc Conversion from MIT to ASL2.0 for all the files of the product component.
Many thanks to Ashish Vijaywargiya for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422391 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:11:40 +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