Commit Graph
90 Commits
Author SHA1 Message Date
David E. Jones ad4a7ca28c Some small cleanups and an enhancement for the ListPriceRangeConstraint parameters in ProductSearchSession to be more flexible, especially with a single parameter for both low and high values
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512564 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 02:14:51 +00:00
Jacopo Cappellato 37ec41dee7 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511769 13f79535-47bb-0310-9956-ffa450edef68 2007-02-26 10:11:32 +00:00
David E. Jones a623cca834 Added an option configured on the ProductStore to not require a shipping address when purchasing only digital products, ie no physical products; this is supported right now only in the long anonymous checkout process
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510976 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 15:11:50 +00:00
David E. Jones 6a37368ca0 Some comments, small changes based on recent fix of ProductCategoryLink
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510964 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 14:48:26 +00:00
Andrew Zeneski 6963eeb1b9 added CMS event; and default-request (to CMS)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510690 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:19:30 +00:00
David E. Jones 3b8a546c21 Added pcategory parameter, and also changed to use the /~= style to be search engine friendly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510529 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 14:20:54 +00:00
David E. Jones 67db2debf7 Fixed wrong type ID in an if statement, removed unnecessary boolean for category
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510505 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 13:39:57 +00:00
David E. Jones ce9a5ae648 Changed ProductCategoryLink template to use information from the category from the new link type if there is not corresponding detail on the PCL record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510487 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 13:05:13 +00:00
David E. Jones aa4cc8b069 Added another ProductCategoryLink type for linking to other categories
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@510455 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 10:06:22 +00:00
Jacques Le Roux d896af12af Commented out product.bsh part wich had the same erroneous snippet trying to come back to the same page when login or changing language.
Added a comment from David's advice to use the same metho than add to cart in all concerned files (category.bsh prodcut.bsh and main.bsh)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509990 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 12:56:41 +00:00
David E. Jones 2d6086b7b7 Commented out code that attempts to go back to the same category on language change, but really doesn't go back to the same page AND it messes of the main page which IMO is not acceptable; if this is important it should be done that SAME way we go back to the same page on an add-to-cart
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509955 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 10:00:24 +00:00
David E. Jones 9ee12476d4 Small formatted change, more consolidated text
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509934 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 08:19:49 +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 cb78874335 added dojo reference and widget info
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509314 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:46:59 +00:00
Andrew Zeneski c3b8edcef5 updated dojo reference
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509313 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:46:37 +00:00
David E. Jones e6815b0ca9 Added ProductCategoryLink screenlet, included from the categorydetail screen; this is based on the work by Ashish in Jira #OFBIZ-737, but includes a number of cleanups and a bit of a re-write to use more of the ProductCategoryLink entity's data; also added some demo data for testing and demonstration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509167 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 11:40:46 +00:00
David E. Jones fdc8e2a9e5 Changed footers for new ofbiz url
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508871 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 05:45:07 +00:00
Jacques Le Roux d8682aaea5 Deals with the problem reported by Baga Raj in https://issues.apache.org/jira/browse/OFBIZ-724 "After choosing Sidedeepcategory and then getting loged in it shows the error like - Product Category Not Found for this Id!"
in a standard way using _PREVIOUS_PARAM_ as recommended by David.
However I kept the category_id session attribute to deal with languages changes. 

I quickly tried to come back to a product page if opened but I finally kept as it is (come back to the product's category page).
I open a trivial Jira issue for this case as I feel that I will need something like that in some future.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@508502 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 17:26:00 +00:00
Jacques Le Roux 1d80d744b1 Revert previous commit (using session attribute) at demand of David E. J. Should better use _PREVIOUS_PARAMS_ instead... Will try tomorrow...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507737 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 23:14:11 +00:00
Jacques Le Roux 2ea56a815c From an idea and a kind of patch (word .doc :o) from Baga Raj in https://issues.apache.org/jira/browse/OFBIZ-724
"After choosing Sidedeepcategory and then getting loged in it shows the error like - Product Category Not Found for this Id!"

After some refactoring I applied his "patch" and extended it to deal with changes of languages case. 
So now you can change the lanquages and keep the same category/product page open.

I can't see any problems. But please if you see an obvious one tell me, I will soon revert. Thanks

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507698 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 21:25:18 +00:00
Jacques Le Roux dd19700a8b A patch from Chris Howe "Using hardwired /images instead of <@ofbizContentUrl> in .ftl files" (https://issues.apache.org/jira/browse/OFBIZ-111).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507435 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 08:28:54 +00:00
Andrew Zeneski a123a875a5 implemented blog rss feed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507366 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 02:57:07 +00:00
Andrew Zeneski a92fd90788 blog cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@507302 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 23:27:03 +00:00
David E. Jones c0245d3808 Changed requestParameters to parameters in a bunch of places, as that is the one that should nearly always be usedfor consistency, and to support the request to session etc defaulting pattern; also removed a number of statements to manually create the Map instead of using the one always created by the Screen Widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@506575 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 18:50:26 +00:00
Jacopo Cappellato ca160784dc Applied patch from Chris Howe to replace all relative path form resource names with their component:// equivalent when an HtmlFormWrapper object is created.
OFBIZ-711

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505886 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 11:08:33 +00:00
Scott Gray 88b3cc0cba Removed a redundant request map from the ecommerce controller, the event method doesn't exist and the request isn't called anywhere.
Reported by Andrew Sykes, OFBIZ-702

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505202 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 06:55:07 +00:00
David E. Jones 26528d60c1 Fixed issue where the categoryName was not being used, ie just the description was shown (or not shown if it wasn't there, as the seed is
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505134 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 02:07:02 +00:00
Jacques Le Roux 947a743f59 Reported by Eriks Dobelis in "Using hardwired /images instead of <@ofbizContentUrl> in .ftl files"
Changes from Chris Howe's comment : https://issues.apache.org/jira/browse/OFBIZ-111#action_12459252

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@502282 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 16:52:24 +00:00
Jacopo Cappellato 666ef96d99 Quick fix for issue OFBIZ-672: if you login to the ecommerce area of ofbiz and view an order using the URL you can view any order made by other users by changing the order number in the URL.
I've not tested  my fix well also with orders created by anonymous users, so any review and test is appreciated: however I think that for now it's better to have it committed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501733 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 05:11:24 +00:00
Jacques Le Roux 88c23a44e2 Derived from an Ismail Cansiz's patch for "Bug in displaying order items when using old style calcTax service" (https://issues.apache.org/jira/browse/OFBIZ-667)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501521 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 19:03:41 +00:00
Scott Gray 8fa02e3c13 UPS Shipping options no longer show ($1.00) when an estimate is unavailable, OFBIZ-141 reported by Tim Ruppert
(This is also a test for my first commit) 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500739 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 03:10:19 +00:00
Jacques Le Roux 2fb06cde7c Last remaining files with old ASL2 header. I believe there are now not anymore files.
So I will close the related Jira issue (https://issues.apache.org/jira/browse/OFBIZ-637)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499939 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 20:01:05 +00:00
Si Chen 2b5dfb88eb Fix bug where if customer requests return, we can't receive it because the return form doesn't fill in the productId. This is a stopgap measure, an ideal solution would be to lookup the required information for returns in the service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499533 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 18:57:26 +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 9b0a33c64d This is all the front-end code and data required to implement the blog example in ecommerce.
It also relies on two service files committed earlier - BlogServices.java/xml

Not much attention has been paid to style or layout. We will count on the folks at HotWax Media to add their secret sauce.

The two areas on which the most attention were:

1. Getting the permission scheme to work correctly.
2. Getting the complex content rendering to work. It uses the widget screens as templates.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499264 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 05:17:03 +00:00
David E. Jones b88bd0b131 A few misc cleanups in the feature area; the big change here is to use categoryName, etc as a priority over description, etc though both are still supported; this should have been done a long time ago but when the categoryName field is added it was done poorly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498248 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 05:52:14 +00:00
Andrew Zeneski f4693093dd example of how to get around re-directing the home page for customer facing applications; redirecting the home page effects search engine rankings; this will prevent the redirect.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497884 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 17:34:08 +00:00
Jacques Le Roux ca5e89d307 A refactored patch from Fred Forester "Virtual products sharing variants can cause inconsistest shopping cart" (http://issues.apache.org/jira/browse/OFBIZ-516)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@495945 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 19:04:01 +00:00
David E. Jones 77dfe975a4 Applied patch from Anil, others through Tim on Jira #OFBIZ-501; also added license notice for dojo, also updated Libraries Included in OFBiz page on docs.ofbiz.org; this has been tested by a few people, and in my own brief tests it seems to be working quite well
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@490651 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 05:08:56 +00:00
Jacques Le Roux bef4992db8 A patch from Ismail Cansiz :<<Bug in "Update Url/Web Address">> (https://issues.apache.org/jira/browse/OFBIZ-507)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481566 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 15:26:36 +00:00
David E. Jones 5246ea7fa8 Applied patch from Ashish Vijaywargiya also in Jira #OFBIZ-498; this is mostly cleanups of the checkout stuff, and adds the form submit feature too; reading over it everything looks fine and it was okay in a brief test, but it would be good for more people to test it now
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@480761 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 23:05:25 +00:00
Si Chen 580e572d0e Improved ecommerce controller so that before the checkoutpayment page the tax & shipping is calculated, so people can know the right total when splitting payments
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@480151 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 18:32:18 +00:00
David E. Jones 5b70f64775 Applied patch sent in by Tim Ruppert, though worked on by many people as described in the Jira issue, #OFBIZ-498; also includes a few minor changes, see the Jira issue for more comments
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@479879 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 03:36:25 +00:00
David E. Jones 724d15fdc9 Fixed bugs reported by Ashish Vijaywargiya in Jira #OFBIZ-480; is based on Vijay's patch, but used a different fix for the showcart page so that it creates a cart if there isn't one in the session
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@477896 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 21:20:25 +00:00
David E. Jones df3a8dd604 Added error page to ecomclone since it's referred to locally
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476681 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 01:35:04 +00:00
David E. Jones 222cee013e Added a WebStoreClone WebSite record, and pointed to it from the web.xml file in the new ecomclone webapp
's web.xml file

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476652 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 23:07:26 +00:00
David E. Jones 4472bb323d Created ecomclone webapp in the ecommerce component that uses the new include stuff, and acts as a test case for it; as part of this found a couple of bugs and some room for improvement in the ConfigXMLReader, and fixed those up
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@476650 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 23:03:25 +00:00
Jacques Le Roux fad4cbcd6b This closes issue https://issues.apache.org/jira/browse/OFBIZ-335 : "<NOBR> is not approved by the W3C"
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474173 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 06:53:08 +00:00
David E. Jones a0a99db38a Applied patch from Marco Risaliti with another pass at the internationalization of the ProductSearch stuff, and the search by catalog stuff; Jira #OFBIZ-179
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473652 13f79535-47bb-0310-9956-ffa450edef68
2006-11-11 06:25:52 +00:00
David E. Jones 650f558766 Small change to the orderstatus data prep script to do a findByAnd on OrderRole and without a partyId instead of trying to do a findByPrimaryKey because we may not have a partyId here; thanks to G. Venkata Phanindra for tracking this down
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472801 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 07:16:00 +00:00