Commit Graph
534 Commits
Author SHA1 Message Date
Jacques Le Roux d61213727c A patch from Tom Burns for "eCommerce Customer Code Cleanup" https://issues.apache.org/jira/browse/OFBIZ-4830
1. In OFBIZ-4822 it was decided that request to authview would be removed from the eCommerce customer ftl files because their only purpose was to set URL to https. The set field "donePage" in CustomerScreens.xml editperson effects the same result.

2. There are brackets in the password.ftl display for the href:
<a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a>

The brackets are inconsistent with the display for similar elements in the applications


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328205 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 06:12:25 +00:00
Jacopo Cappellato c3d5486642 Reverted rev. 1327736: with it it was impossible to log in with demo accounts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327866 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 08:43:54 +00:00
Adam Heath d58e5e2b08 FIX: Fix a bunch of hashed passwords that had the oldFunnyHex encoding.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327736 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 23:48:51 +00:00
Jacques Le Roux 480edabf6f This was missing in r1327269
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327562 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 16:16:12 +00:00
Jacques Le Roux f13b286e70 A patch from Tom Burns for "eCommerce Profile Improve Button Naming Consistency" https://issues.apache.org/jira/browse/OFBIZ-4822
In eCommerce the naming and display of back buttons is inconsistent across the Profile Editing screens.
Example:
Changes Password label should be "Go Back" but is "[Go Back]"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327269 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 20:12:11 +00:00
Jacques Le Roux b22661f73d A patch from Tom Burns for "eCommerce Profile Back Button Fail" https://issues.apache.org/jira/browse/OFBIZ-4814
. Some navigation buttons reached from the eCommerce Profile screen fail to return to the Profile screen.
Example:
Login as DemoCustomer
Click Profile
Click Update In the "Contact Information" > "Postal Address" section.
Click Go Back
Expected: Return to profile page
Actual: Remain on Edit Contact Information page

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327260 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 20:03:10 +00:00
Jacques Le Roux 0548492bfa Fixes debug labels forgotten in r1326397
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326933 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:25:50 +00:00
Jacques Le Roux 43b05e8a00 Seems that I reverted a correctly work done before, still no impacts anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326500 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 06:13:56 +00:00
Jacques Le Roux fd95ecf4f3 Ah, forgot to save for r1326397, no functional impact anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326401 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:02:03 +00:00
Jacques Le Roux 9151c2c274 A modified patch from Tom Burns for "eCommerce Edit Contact Information use Dependent drop-downs" https://issues.apache.org/jira/browse/OFBIZ-4797
Using Dependent drop-downs to filter the State drop down based on the selection in the Country drop-down will improve the usability of the component.
Current Behavior:
1. Open eCommerce application
2. Log in as user with Postal Address say Demo Customer
3. In the menu bar select Profile
4. In "Contact Information" > "Postal Address" select update.
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list displays all geo values.

After improvement:
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list is limited to States in the United States.
6. Changing the value in the "Country" drop-down will update "State/Province" drop-down list with values for the selected country.

jleroux: Tom's patch had only a small issue: duplicated line (but this had any impact since overriden by the following line)
<set field="selectedDependentOption" value="_none_"/>

The problem was more in EditContactMech.groovy:
context.selectedStateName = geoValue.geoName;
was used, instead of needed by setDependentDropdownValuesJs.ftl
context.selectedStateName = geoValue.geoId;

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326397 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:58:17 +00:00
Jacques Le Roux b82817cf5c Replaces ProductCountry and mostly PartyCountry by CommonCountry and merges all labels in CommonCountry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326270 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 08:24:45 +00:00
Jacques Le Roux 7dfdd7215c A patch from Pierre Smits "Include meta tag 'generator' in the ecommerce theme" https://issues.apache.org/jira/browse/OFBIZ-4544
Includes the tag <meta name="generator" content="Apache OFBiz - eCommerce"> into the eCommerce theme. 
This will help improve visibility when searching for implemented webshops.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1307848 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 16:57:36 +00:00
Jacques Le Roux cf29618bfd A patch from K Sharad Bhushan "An issue on billing error messages display" https://issues.apache.org/jira/browse/OFBIZ-4736
Billing error messages are displayed in shipping address section, instead of billing address section

Just a element "id" change..

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1305053 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:42:51 +00:00
Jacques Le Roux 443d5a5dd2 A patch from Markus M. May "Add Product Reviews to the profile Screen" https://issues.apache.org/jira/browse/OFBIZ-4736
Currently there is no way for a customer to view her/his reviews created in the ecommerce application. This functionality is added with the attached patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1305038 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:02:59 +00:00
Erwan de Ferrieres 05993f40ca Change misspelled parameter mainSubmited to mainSubmitted - a patch from Markus M. May
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1304713 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 05:42:18 +00:00
Jacques Le Roux 85c8c26c5a A patch from Kiran Gawde "OnePageCheckout doesn't create purchase order for dropShip product" https://issues.apache.org/jira/browse/OFBIZ-4458
Select a item from drop ship supplier.
Perform one page checkout.

Issue: Purchase order for drop ship supplier is not created


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1304567 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 19:34:31 +00:00
Jacques Le Roux 4bb721dfe2 A patch from Tri Duc Vo "contribute Ofbiz Vietnamese tranlasting to community from HaNoi" https://issues.apache.org/jira/browse/OFBIZ-4627
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1304237 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 08:56:48 +00:00
Scott Gray 5a1b5c018d Errors from ajax calls weren't being handled properly after the migration to jQuery.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1302219 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:21 +00:00
Scott Gray fa9a794cc4 CVE-2012-1621: Escape errors returned from ajax calls in the checkout pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1302218 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:10 +00:00
Jacques Le Roux 814681d16b A patch from Markus M. May "Typo in CatalogScreens.xml - productCatagories" https://issues.apache.org/jira/browse/OFBIZ-4727
In the CatalogScreens.xml one screen is called productCatagories. Should be spelled productCategories

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1298963 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 18:27:44 +00:00
Scott Gray 27cf3b43dc Demo data bugfix: productTypeId is a required field of Product and records shouldn't be put into the db without supplying a value for it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1297416 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 10:54:36 +00:00
Hans Bakker 2c3efbdb2d reverting 1295029 on request from jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1297007 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 11:16:35 +00:00
Jacques Le Roux 6ed1929086 A patch from Wai "widget <image> tag to use css for resizing" https://issues.apache.org/jira/browse/OFBIZ-4678
Summary: The purpose of this patch is to address the following:
1. Provide a standardized set of image width and height specs for page layout in ofbiz. This gives ofbiz a uniform look throughout as it applies to image display.
2. Preserve the aspect ratio of the image when using these standardized image sizes.
3. One place to make styling modifications (eg. css file).
4. Decouple styling from code (eg. java,ftl,xml,html,jsp,etc).

Regarding including the real image size, the width/height attributes in <img> specifies the boundary of the image when shown on the page. If you need to specify the real size of the image, the server code would have to perform the determination. Afterwards, you can include the actual dimensions of the image in the title attribute of <img>

Details:
Manually specifying the image width and height does help with preserving the layout of a page regardless of the image size to be shown. The challenge with this method is that the image shown on the page in question may be distorted if the aspect ratio of the image differed from that of the width and height attributes of <img>. This basically forces the person uploading the image to be more vigilant about image aspect ratios.
The purpose is to harmonize on the display size of images with a standardized set of width/height constraints in which an image must fit and preserve the aspect ratio of images.

Currently the source files (eg. ftl, xml) either manually specifies the width or height of a displayed image (ie widget <image> and html <img> tag). The problem with specifying only one constraint is that an image can affect the layout of the page if the user uploads an image where the aspect ratio could be large.

Some ftl and xml files specify both the width and the height. The problem with this is that if the aspect ratio of the image in question does not match that of the width and height of the <img> tag, the image would be displayed distorted.

The solution was to create a standardized set of CSS styles that both configure the displayed image size and preserve the image aspect ratio (eg. thumbnail size, medium size and large size). Of course, the developers can further define or modify the styles to suit their need.

By using CSS, one can change the size of displayed images without having to tamper with the ftl and/or xml files. This helps to reduce potential bugs that come with modifying the ftl and xml files. The existing way of doing things is to go through each ftl or xml file in question and manually modify the width and/or height of the <image> and/or <img> tag.

The question about the "border" around images. If you do not wish to have a border around the image, just remove it from the CSS style. It's that easy No need to change anything else. Ie. configuration to the image is done on the CSS style and not on the <image>, <img> tag.

NB: The current patch does not apply to all displayed images. I have only made appropriate modifications to widget <image> and html <img> tags that have either specified the width and/or height. There are numerous <image> and <img> tags spread all over the project that do not specify dimensions. I would have to modify them as I encountered them when I could see where and how they are displayed on the screen. Note that these images would not be affect by this patch.

jleroux: despite my efforts I was not able to check all screens. But I think it's ok

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1296782 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 11:54:13 +00:00
Hans Bakker 7876671992 correct url generation for seo friendly url's
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1295029 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 09:23:36 +00:00
Jacques Le Roux 97da897c16 A patch from Markus M. May "Problem when saving a product to a shopping list" https://issues.apache.org/jira/browse/OFBIZ-4589
Steps to reproduce:

    Go to http://localhost:8080/ecommerce/control/editShoppingList
    Login as flexadmin
    Click "create new"
    Paste "WG-1111" in Quick Add to Shopping List SKU box
    Click "Add to Shopping List"




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1293379 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:45:36 +00:00
Jacques Le Roux a93bf68d75 A patch from Uwe Allner "Download link for digital products on order history page contains file name, preventing correct resolve of the request" https://issues.apache.org/jira/browse/OFBIZ-4711
I created a product with product type "Finished/Digital Good", and added product content of type "Digital download", providing a file (i.e. some.pdf).
The download link in the order history of the ecommerce application after purchasing the product is rendered as
"/ecommerce/control/downloadDigitalProduct/some.pdf?dataResourceId=10060".
The file name in this URL prevents resolving the correct service (method), and instead just a "404 Not found" is generated.
The link "/ecommerce/control/downloadDigitalProduct?dataResourceId=10060" works as expected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1293376 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:36:04 +00:00
Hans Bakker 7845a2c8f4 changes for configurable service product:
1. Display the configuration button on a product on the catalog manager.
2. Check the config  if the product is the configurable product service then 
    create new product from config(Do the same step as the configurable product).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1235698 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 09:01:53 +00:00
Hans Bakker 126bac2fc2 some confusion if allow is a valid parameter, perhaps Disallow is better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1235123 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 03:41:21 +00:00
Hans Bakker ca3a744ab3 better allow all ecommerce
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1235118 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 03:28:21 +00:00
Hans Bakker fed62cf5b1 add robots.txt to the ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1235117 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 03:21:19 +00:00
Jacques Le Roux 02938e1e1e A patch from Kiran Gawde "cardType is not prepopulated on checkout page" https://issues.apache.org/jira/browse/OFBIZ-4665
On Checkout page, credit card information is prepopulated based upon earlier order. But the card Type shows always the first type in the list.

jleroux: replaced tabs by 4 spaces

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1232539 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 19:09:21 +00:00
Erwan de Ferrieres 5a26977691 Missing PageTitleTagResults label, and adding more French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1226089 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:43:20 +00:00
Erwan de Ferrieres c3aa09d12a Removing orphan labels, imported at rev. 1039574
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1226084 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:37:40 +00:00
Erwan de Ferrieres a5b9bcabac ProductCategories is already defined in ProductUiLabels, no need to have it twice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1226080 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:27:59 +00:00
Erwan de Ferrieres 30c0fce678 Some French translations for tags-related uiLabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1226079 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 13:25:20 +00:00
Hans Bakker b9547e917b add a tagcloud demo to the ecommerce home page, contribution of tom of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1225452 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 07:05:42 +00:00
Erwan de Ferrieres 0501207d42 Removing JSON handlers as they are deprecated since December 2009. More info @ http://s.apache.org/6zF
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1225242 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 17:32:16 +00:00
Hans Bakker 30d3362fe3 implement the basic janrain package, which enables the login via most social sites, but can not recognize if the same user if logged in from 2 different sites. By default this function is disabled and will not change the functionality of the OFBiz login procedure in any way
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1224876 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 07:39:43 +00:00
Hans Bakker a68aee3f5d add the possibility of adding tags to products next to having keywords to products, can also optionally approve/reject via a status field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1222544 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 03:49:11 +00:00
Hans Bakker b2b3c3b6a1 in ecommerce a user could not update the filemanager section in the ecommerce profile. created a separate security group for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1221633 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 07:19:11 +00:00
Hans Bakker 2a8d6c30e4 implement 404 page tracking in google analytics also for the pages coming from the content component. more info at: http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=86927
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1221128 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 07:36:45 +00:00
Hans Bakker 224a972894 new producttype: configurable product service, using inventory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1220622 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 06:40:18 +00:00
Hans Bakker e1e90121cd now possible to add comments when adding a product to the cart which are stored in orderitem attributes and displayed in the shopping cart and order. Possible to switch off in order.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1212266 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 07:20:28 +00:00
Hans Bakker 915d3b1f8c will persist shopping cart even when a user is not logged (over cookie)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1211810 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 10:35:58 +00:00
Hans Bakker f82b05c285 files missing on last commit 1209351
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1209354 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 03:39:50 +00:00
Hans Bakker a5b097835a Return a 404 error and not redirect to control main in the ecommerce: https://issues.apache.org/jira/browse/OFBIZ-4390
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1208335 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 09:06:48 +00:00
Jacques Le Roux 53ca1f3920 Closes OFBIZ-4577 and its subtasks OFBIZ-4575 OFBIZ-4578, reported by Kiran Gawde "viewprofile has lost lot of functionality during refactoring"
jleroux: I simply restored the old screens, and make them default as we decided in the http://markmail.org/message/l2kxjxzdsqtcmedn  thread.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1206690 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 09:25:17 +00:00
Jacques Le Roux 0527f9035c A patch from Kiran Gawde "Dead code - CustomerEvents.xml ->setAnonUserLogin" https://issues.apache.org/jira/browse/OFBIZ-4593
Simple method "setAnonUserLogin" in CustomerEvents.xml is not referenced anywhere.
This method is also implemented in order app and that is referenced during onepagecheckout.

jleroux: moreover the code seems to have been duplicated from there




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1206059 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 04:41:13 +00:00
Hans Bakker 39cf66d0d8 simplify webanalytics entity and moved from product to content, this entity has nomally only a single record so a conversion program is not provided. After upgrade, save the content of the entitye web_analytics_config and drop it in webtools. Then restart and re-enter the saved record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1204455 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:34:32 +00:00
Sascha Rodekamp 3068b2da06 OnePageCheckout creates new billing/shipping phone number even if user selects the default values (https://issues.apache.org/jira/browse/OFBIZ-4446, https://issues.apache.org/jira/browse/OFBIZ-4447) A patch from Kiran Gawd.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1203129 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 09:50:21 +00:00