Commit Graph
228 Commits
Author SHA1 Message Date
Hans Bakker 547b45594d make the blog more presentable and it looks it is now working again. Nice implementation by Al Beyers This blog is a nice demo to show the possibilities of the ofbiz content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001622 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 08:32:11 +00:00
Hans Bakker 325930e8a5 blog can be shown in http
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001380 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 07:38:33 +00:00
Adam Heath 4b054e2d11 Missed some window->load document->dom:loaded changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997440 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:20:42 +00:00
Adam Heath 7ccf240393 Some places in ofbiz were doing dom manipulation without waiting for the
dom to be finished loading.  Wrap such code with a dom:loaded observer.

Also, change all window->load calls to dom:loaded observers.  The former
happens after all images have finished loading, while the later happens
just after the dom has finished parsing.  This is better, as sometimes
the images may take a long time to finish downloading, and until they do,
none of the manipulation will take place.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997420 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 17:56:37 +00:00
Jacques Le Roux 38372a7270 A quick workaround for a bug reported by Matt Warnock on user ML
When I go to the latest trunk demo, ecommerce store page, in the "browse forums" section on the left side bottom, there is an error that starts with "Expression forum.contentName is undefined on line 26".

It does not fix the reason though, which is somewhere upstream


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987813 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 18:53:29 +00:00
Jacques Le Roux f8c2c2be19 A patch from René Scheibe <<"createUpdateBillingAddressAndPaymentMethod" service called from one page checkout throws Exception due to incorrect field name>> (https://issues.apache.org/jira/browse/OFBIZ-3887) - OFBIZ-3887
Problem:
The method "createUpdateBillingAddressAndPaymentMethod" in CheckoutServices.xml refers to a "billToCardSecurityCode" parameter, which is not existing.
Instead OnePageCheckoutProcess.ftl defines this field with id="CVV2" and name="cardSecurityCode".

Solution:
1. Change the "id" and "name" in OnePageCheckoutProcess.ftl to meet the attribute name of "createUpdateBillingAddressAndPaymentMethod".
2. Extend the attribute mapping line in CheckoutServices.xml so that in case the CVV2 is not entered by the user, the field is defined anyway. (otherwise groovy.lang.MissingPropertyException is still thrown as the field is always accessed)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983930 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 11:20:55 +00:00
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Jacques Le Roux 83d2efe2b7 Fix a bug reported by Ruth " eCommerce checkout -> Edit Contact Information -> Save -> Go Back does not return user to checkout" (https://issues.apache.org/jira/browse/OFBIZ-3432) - OFBIZ-3432
Mostly to test the change I just did in mergefromtrunk.bat. Else I'd like to fix also the way the options are shown when using the std checkout (far below, very bad for newcomers). But I have not enough faith, at least today...

I tested enough, and this should not not introduce any side-effects.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981288 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 19:36:40 +00:00
Scott Gray 0a09814ebf URLs defined as javascript variables shouldn't be xhtml encoded because when they are assigned to an element's url attribute (action, href, etc.) the browser doesn't decode them before using them.
Applied patch from Deepak Dixit OFBIZ-3860 and additionally fixed some others that I found.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963915 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 00:38:19 +00:00
Jacques Le Roux f2fbad78d5 Improvement on r960336. Fix a problem reported by Scott on dev ML.
I tested locally, and I think I have done it right this time


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:10:19 +00:00
Jacques Le Roux 82aba53fa5 Improvement on r960336 (should fix a problem reported by Scott on dev ML.)
I tested locally, but I'm not quite sure it's sufficient


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:23:47 +00:00
Scott Gray 375eec00c2 Update catalog urls to use the new OfbizCatalogUrl directive
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@956485 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 08:05:07 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Anil Patel 37e569a115 Fix missing prefix for shipTo and billTo phone numbers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951251 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 03:19:45 +00:00
Jacques Le Roux 63fd94e778 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Erwan de Ferrieres 36332bd0c2 XHTML validation errors round 2++ (specialpurpose/ecommerce) - OFBIZ-3757 (https://issues.apache.org/jira/browse/OFBIZ-3757)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:57:57 +00:00
Jacques Le Roux 1bb9f348de A patch from Ankit Jain "Incorrect Data Format" https://issues.apache.org/jira/browse/OFBIZ-3544 - OFBIZ-3544
After login to Ecommerce, go to Profile and update Personal Information. Enter a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd). Click "Save". Once back to the main screen, click on "Update" again to update the Personal Information. You will see that the two dates are displayed in wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly somewhere.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945118 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 12:47:48 +00:00
Jacques Le Roux df9963f0e5 A patch from Nicolas Malin "Pass eCommerce label to Common Label" https://issues.apache.org/jira/browse/OFBIZ-3694 - OFBIZ-3694
Some labels changes, no functional changes



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942818 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:41:18 +00:00
Scott Gray 986b8500a5 Applied patch from BJ Freeman OFBIZ-3741, layoutSettings.VT_SHORTCUT_ICON was unable to take effect because layoutSettings.shortcutIcon always has content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 01:18:02 +00:00
Scott Gray 0f30714350 Set svn properties on all freemarker files that were missing them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942386 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:51:19 +00:00
Scott Gray 4fab96ff7a Set svn properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942377 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:00:42 +00:00
Vikas Mayur 6a2d57a1e6 Minor improvements:
Used prototype utility method to return all the anchor elements inside a form with id="cartForm"
Removed an unnecessary variable declaration


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942059 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 12:38:07 +00:00
Bruno Busco 3362693772 A patch from Blas Rodriguez Somoza
OFBIZ-3734 - XHTML validation errors round 2+ (specialpurpose/ecommerce)
https://issues.apache.org/jira/browse/OFBIZ-3734
Fixed attributes without values 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939749 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:34:19 +00:00
Vikas Mayur d3fcee2891 Fixed a typo varient -> variant in the comment. Also did minor formatting to the code.
if( -> if (
methodDeclaration () -> methodDeclaration() etc.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937953 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 07:49:58 +00:00
Bilgin Ismet Ibryam a76c588429 Applied patch from jira issue OFBIZ-3515 - Use UiLabel for "required"
Thanks Deepak Dixit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 13:06:54 +00:00
Jacques Le Roux 1829933e99 Fix a bug reported on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936817 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 12:48:44 +00:00
Ashish Vijaywargiya a9d1a7a8f5 Applied patch from jira issue: OFBIZ-3633 - Minimum order quantity.
It will work as follows;
We will set the special type price as 'MINIMUM_ORDER_PRICE' for a Product in ProductPrice entity. On the basis of it we will get the minimum order quantity of the product on the basis of this price and sale price.
Will get the minimum order quantity for product by division. For example we have selling price of product P1 is $10.00 and its MINIMUM_ORDER_PRICE is $100.00 then minimum order quantity for the product will be --> 100/10 ==> 10.

To achieve the above ;
write a getMinimumOrderQuantity() method in ShoppingCart.java which takes the itemBasePrice and productId as in parameter, and call it where we add, update the cart items and change the quantity to minmumOrderQuantity if it is less then minimum.

Thanks Deepak & Rishi for the contribution and others for providing valuable comments / suggestions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936228 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:36:40 +00:00
Scott Gray a02984f357 Fix OFBIZ-3523, the demo order confirmation email wasn't including full urls
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935146 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 08:17:19 +00:00
Bruno Busco e25ebb8da8 A patch from Blas Rodriguez Somoza
OFBIZ-3679 - XHTML validation errors round 2 (specialpurpose/ecommerce)
https://issues.apache.org/jira/browse/OFBIZ-3679

XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934190 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:46:08 +00:00
Bruno Busco 079d2f1015 A patch from Blas Rodriguez Somoza
OFBIZ-3614 - XHTML validation errors (specialpurpose_ecommerce)
https://issues.apache.org/jira/browse/OFBIZ-3614

XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.

Other errors:

viewprofile.ftl
Wrong markup at 248, 250. Entity without final ;
&nbsp</#if>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932719 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 13:50:12 +00:00
Ashish Vijaywargiya a220091a5c Applied patch from jira issue - OFBIZ-3635 - Contact list unsubscription email notification.
Thanks Chandan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930842 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 11:25:08 +00:00
Scott Gray c75bda5d7a OrderHeader isn't cached so there's no point in trying to do lookups via the cache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924575 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:56:54 +00:00
Scott Gray 54a7423ef6 xhtml fix: checked -> checked="checked"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924574 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 00:56:36 +00:00
Scott Gray 10cb0f058b Removed another superfluous closing div tag and also added a value to the checked attribute to be valid xhtml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924541 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 22:50:38 +00:00
Scott Gray 2c0cd73e73 Removed two superfluous closing div tags
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924442 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 19:42:01 +00:00
Scott Gray 3a6b0e832f Formatting fixes, no markups changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 19:41:57 +00:00
Scott Gray c9dfd42458 Fixed some bad xhtml, added a closing label tag and corrected a closing p tag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924440 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 19:41:52 +00:00
Scott Gray 6109808c8a Tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924378 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:28:01 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Jacques Le Roux 65ed20de81 Fix a security issue reported by Heidi Dehaes at "unsubscribe from a contactlist in the "profile" screen in the ecommerce screens" (https://issues.apache.org/jira/browse/OFBIZ-3396) - OFBIZ-3396
Actually this commit fixes rather 2 security issues

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922042 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 22:25:32 +00:00
Ashish Vijaywargiya 0e907b0b01 Applied patch from jira issue OFBIZ-3493 - OFBiz Improvement on ecommerce product detail page for showing out of stock product.
Thanks Parimal & Pranay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912544 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 12:14:35 +00:00
Ashish Vijaywargiya e269e145b9 Applied patch from jira issue OFBIZ-3437 - Conversion of one page checkout events to services.
Done following:
   1. Converted events createUpdateCustomerAndShippingAddress and createUpdateBillingAndPayment to services.
   2. Written services in order component.
   3. Removed dependency form ecommerce.
   4. Moved checkout map processor to order and corrected its reference at all other places in ecommerce.
   5. Introduced and seca setAnonUserLogin instead of using event from ecommerce.
   6. Small respective changes in OnePageCheckoutProcess.ftl and checkoutProcess.js.
   7. Also fixed some of the issues found during testing in old createUpdateShippingAddress and createUpdateBillingAddress services.

Thanks Pranay for the contribution and Arun for your help in testing the patch for Anonymous & Registered user. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907181 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 07:12:44 +00:00
Ashish Vijaywargiya ce6fb91a08 Added colon(:), it would increase the readability for end user.
Patch from Bharat Soni.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904443 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:04:32 +00:00
Scott Gray 78496f5377 Applied patch from Mridul Pathak, OFBIZ-3427. A PartyContactMech lookup wasn't being filtered by date and was causing expired records to be retrieved.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903428 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 21:34:12 +00:00
Ashish Vijaywargiya cfa5a0de30 Applied patch from jira issue - OFBIZ-3416.
Email templates Layout improvement.
In this patch CSS added in email template(FTL).
These changes are done according to following article.
http://articles.sitepoint.com/article/designers-guide-html-email

Thanks Bharat & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902365 13f79535-47bb-0310-9956-ffa450edef68
2010-01-23 08:35:38 +00:00
Ashish Vijaywargiya b927ec9c73 Applied patch from jira issue OFBIZ-3417 - Add support for iterating shopping cart item in ShowCart.groovy.
Thanks Arpit & Vivek for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900760 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 13:06:46 +00:00
Ashish Vijaywargiya 930445cb36 Applied patch from jira issue OFBIZ-3415 - All json request should handled thru CommonEvents.jsonResponseFromRequestAttributes in ecommerce.
Thanks Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900371 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 12:41:50 +00:00
Ashish Vijaywargiya ff7dce4203 Applied patch from jira issue - OFBIZ-3397- Advance Search should also support the feature base sorting.
User should be able to sort on SIZE and COLORS kind of features associated with Products. This sort will be additional sort with ProductFields and ProductPrice. Here we need to add the additional sort not to change the existing.
This will be achieve in the similar manner the ProductPrice in the ProductSearch.java and ProductSearchSession.java.

Thanks Deepak & Rishi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897170 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 11:33:19 +00:00
Scott Gray 3f33a1fab7 Deprecated the various json event handlers and commented out references to them from the controllers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892685 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:01:20 +00:00