Commit Graph
2330 Commits
Author SHA1 Message Date
Jacques Le Roux 6c6572eb2f Fix bugs reported by Jeremy Wickersheimer at "Error in order email confirmation template" (https://issues.apache.org/jira/browse/OFBIZ-4096) - OFBIZ-4096
In: specialpurpose/ecommerce/webapp/ecommerce/order/orderheader.ftl:123

<#assign pmBillingAddress = creditCard.getRelatedOne("PostalAddress")>

is missing the ?if_exists causing errors in some cases.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056072 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 20:57:48 +00:00
Hans Bakker ca5b09bc7a add a popular categories section to the ecommerce frontpage which is generated from the data warehouse of real orders. Also adjusted the sales reports from the data warehouse by week/month/year. Demo data included is for display only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055774 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 07:37:45 +00:00
Marco Risaliti 8149a9bbe1 MULTIFLEX ecommerce Advanced Search layout issues (OFBIZ-3943)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1055188 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 21:38:10 +00:00
Bruno Busco 29f5073de7 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052890 13f79535-47bb-0310-9956-ffa450edef68
2010-12-26 14:28:16 +00:00
Hans Bakker d8034fe4e9 also add alternative packaging on non variant products and include demo data for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 06:53:27 +00:00
Hans Bakker d8e4fdc735 some missing files on rev 105244: contact list update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052457 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 06:50:56 +00:00
Hans Bakker ea2222d73d make the ecommerce 'contactus' not require login, add captcha and will try to match entered email address to party, whennot create the party.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052449 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 05:45:19 +00:00
Hans Bakker a31572006b several improvements and completion of the email contactlist subscribe and unsubscribe functions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052447 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:37:20 +00:00
Marco Risaliti 08f2d6c922 Replace some fail-message to fail-property tag all specialpurpose components (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052038 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 19:22:45 +00:00
Hans Bakker dc60eedb07 add demo product which is ordered when it is sold
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051018 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 08:32:37 +00:00
Erwan de Ferrieres eaf7180711 Migrating from lucene 2.4.1 to lucene 3.0.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050811 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:12:53 +00:00
Adrian Crum 9596919a91 Moved user login UI artifacts from the Party component to the Common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050766 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 06:07:53 +00:00
Adrian Crum 692c1a51e4 Eliminated more redundant screens in Project Manager.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050765 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:58:37 +00:00
Adrian Crum a4ae4a02c3 Eliminated a redundant screen in Project Manager. This is in preparation for moving userlogin UI artifacts to the framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1050759 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 05:07:59 +00:00
Jacques Le Roux 4736420673 A patch from Sascha Rodekamp "Update the Datepicker to version 0.9.1" (https://issues.apache.org/jira/browse/OFBIZ-4056) - OFBIZ-4056
Updates the timepicker. Seems that it's more stable and they fixed a few issues. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1049151 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:39:30 +00:00
Scott Gray 47f43a302a Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044931 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:31:27 +00:00
Scott Gray 75b0b1c1e3 Remove unnecessary semicolons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044917 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:43:03 +00:00
Scott Gray 5716800332 Replace empty if block with a condition for the else block
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044915 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:59 +00:00
Scott Gray cdaf0b74a7 Access static fields in a static way.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044914 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:41:51 +00:00
Jacques Le Roux 24fe5ff37e Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Adam Heath 1d28ed1eb3 Remove some trailing whitespace from lines; only doing files that will
be modified by soon to be committed changesets.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044227 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:25 +00:00
Adam Heath 4aea5e2361 Fix several final newline problems, in files I will be changing in the
near future.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044226 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:05 +00:00
Adam Heath 2f6217251a Set svn:eol-style properly on all java files. This needs to be done on other text files as well, but that would cause undo conflicts in the jquery branch(due to .js being heavily modified there). Also, some files were committed to the repository with DOS line endings; those are fixed as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044202 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 02:40:02 +00:00
Adam Heath 7b7780f844 Oops. Remove FIXME keywords, which were used by me as a reminder to fix
the lines properly, while I was in the process of deprecating other
delegator methods.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1044047 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 17:39:13 +00:00
Adam Heath af68570390 Yet another bad bug. The name/value pair was never actually turned into
a map.  findByAnd(entityName, field, value, list) was never a valid
call.  However, this code still compiled, as it ended up using the
vararg variant of findByAnd.  If this code had ever been run, then it
would have blown up.

broken since: 984366, initial commit
date: Wed Aug 11 10:39:10 2010 +0000

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043999 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:47 +00:00
Adam Heath 8b57fcd7e1 When thte findByAnd->findList change was done, the parameters to the new
findList method were added, but the actual method name itself was not
changed.  However, since there was a vararg version of
findByAnd(Object...), this meant the code actually compiled anyways, so
the problem was not detected.

broken since: 654934
date: Fri May 9 20:57:23 2008 +0000

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1043998 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:14:41 +00:00
Jacques Le Roux 36fc11068e A patch from Anne Jessel "Wrong product displayed as associated product" (https://issues.apache.org/jira/browse/OFBIZ-4023) - OFBIZ-4023
To reproduce:
    * add two associated products to a main product, both with "Complementary or Cross-Sell" association type
    * view the main product in ecommerce

Expected behaviour: the two associated products are listed near the bottom of the page
Actual behaviour: two products are listed at the bottom of the page, but only one of them is an associated product. The other is the main product.
The problem is caused by the value of a freemarker variable changing at a point where other freemarker code assumes the variable does not change. The execution path is complicated.
The patch fixes the problem by saving the value of the key variable into another variable, and restoring it later. However I do wonder if there is a better solution.

JLR: I did not try to find a better solution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042411 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 19:09:57 +00:00
Bruno Busco 25965626af Reverted revision 1042196 as suggested by Adam.
This change introduces framework dependencies from applications.
More work is needed to the patch in https://issues.apache.org/jira/browse/OFBIZ-4037 before committing again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042250 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 22:29:33 +00:00
Bruno Busco 587e93ba82 https://issues.apache.org/jira/browse/OFBIZ-4037
Moved the feature that allows a new user to register for an account from MyPortal to the framework so that it is available in any application.
It has also been slightly reworked (code cleaning and internationalization).
Two flags in general.properties allows to configure if the register function must be enabled or not and if the captcha function should be used.
The captcha function needs to be improved because at the moment the code is contained in an hidden field so that it is very easy for a computer to bypass it.
A possible fix for this could be to put the MD5 coding of the captcha code in the hidden field.
Then the event that checks the code should compare the MD5 codes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042196 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 14:58:18 +00:00
Bruno Busco b6e2886778 No funtional changes. Only code formatting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042136 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 10:51:59 +00:00
Bruno Busco e20f900808 Changed several ecommerce ftl files rendering screenlets so that the HTML is the same as the one that is rendered by the screenlet widget.
Added screenlet styles to the ecommain.css
Added several missin screenlet-body tags.
This allows better and more omogeneus rendering when mixing together FTL and screenlet widgets.
To be continued...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042133 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 10:34:47 +00:00
Jacques Le Roux c8d757a6af A patch from Anne Jessel "Improve handling and display of additional product images" (https://issues.apache.org/jira/browse/OFBIZ-4024) - OFBIZ-4024
This patch adds several closely-related features, intended to improve the display of products and their images in the ecommerce webapp.

When additional images for a product are uploaded via the Catalog, the scaled versions that were already being created in service addAdditionalViewForProduct are now recorded as ProductContent. This makes them easily available for use elsewhere.

New ProductContentType values were added to identify these content types. The obviously consistent string to use for these was too long, and so I had to choose something less consistent, but shorter and hopefully still clear. I used XTRA instead of ADDITIONAL.

The sizes to which additional images are rescaled has been changed, so they better fit in the ecommerce display. Relevant sizes in productdetail.ftl have been updated to match these sizes.

The ecommerce product display now uses the scaled additional images if available, rather than relying on the web browser to scale the images.

When displaying a single product in ecommerce, the main image is larger than the additional images. Hovering over an additional image displays a larger version in place of the main image.

Clicking on an additional image displays a popup with a detailed version of the image.

To use the new features, one or more large images (suggest at least 600x600) should be attached as additional images to a product, using the form on the bottom of the content tab for a product in Catalog. Viewing the product in ecommerce should then exhibit the above behaviour.

I have tried to maintain backwards compatibility, so that products with the old-style use of additional images will continue to display as they did previously. This means some of the code is not as streamlined as it might be.

JLR: You might prefer to keep the old ImageProperties.xml values...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1042024 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 22:05:19 +00:00
Hans Bakker 6cab58f905 change all @yahoo.com to @example.com Suggestion from Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040914 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:38:00 +00:00
Hans Bakker 4a9ea51f54 allow single pieces and boxes with a numkber of pieces share the same inventory location but can however be sold at optionally different prices. More explanation will be given in the new feature list of december 2010. Contribution of tukkata.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040908 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:26:47 +00:00
Adam Heath d241a1049a Fix several xml files that had DOS line endings; converted them to UNIX,
so that on fresh checkouts they will be auto-converted to native.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040833 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 00:15:17 +00:00
Adam Heath 3f8df78fea Fix some missing " in attribute value definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040804 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:04:16 +00:00
Erwan de Ferrieres 1778a5c41f Closing a not closed tc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040188 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 16:56:36 +00:00
Jacques Le Roux bbc854feb9 According to Dukian at OFBIZ-4031 those lines should be removed. I just kept 2 duplicates in Chinese, and one in German
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040078 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 11:46:56 +00:00
Jacques Le Roux a804ea3f5e Fixes the last error remaining from r1039574, OFBIZ-4031
Thanks to Dukian's help

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039892 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 15:31:28 +00:00
Jacques Le Roux 2c52e196f9 Fix a bug reported by Bruno on dev ML.
It was introduced by r1039574, related to OFBIZ-4031 
I guess Bruno discovered it while working on MyPortal. So it could be that there are more errors like this (<value> tags outside of the <property> tags)

Unfortunately
* The are not reported as errors by XSD when you load the file in an XML editor
* The Label manager does not report them
* The patch is 93074 lines and 5MB
* It's hard to scan this kind of errors in a patch even a small one



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039859 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 10:14:16 +00:00
Jacques Le Roux d555ce6c36 Fix duplicates in labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039858 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 09:56:44 +00:00
Jacques Le Roux 66c5dd10a0 A patch from Dukian "Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup" (https://issues.apache.org/jira/browse/OFBIZ-4031) - OFBIZ-4031
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1039574 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:56:14 +00:00
Hans Bakker 350dc3c0ed add root condition for initial path and add multi tenant condition in the login screen of myportal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1038543 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 09:55:16 +00:00
Jacques Le Roux ac2e687b61 A modified patch from Anne Jessel "title-property should be titleProperty" (https://issues.apache.org/jira/browse/OFBIZ-4018) - OFBIZ-4018
Anne: some screen widgets set the field title-property instead of titleProperty. This causes errors in the logs, and means that the page title is not being set.
While preparing this patch, I discovered the labels referred to by some of these titleProperties were not available in Order component. However the missing ones were in Ecommerce. So I copied the missing ones to OrderUiLabels.xml.

JLR: instead of copying labels in OrderUiLabels.xml, I moved them to CommonUiLabels.xml: less and more consistent changes in the future.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037559 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 21:07:19 +00:00
Jacques Le Roux 7e9b9bd56b Fixes "Secure URL when reading messages (readmessage?communicationEventId)" (https://issues.apache.org/jira/browse/OFBIZ-4017) - OFBIZ-4017
To simplify the macro, I have also used a javascript call for the newmessage request even if it was unneeded (no event or service call)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1037507 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 17:30:08 +00:00
Jacques Le Roux c233358a63 A patch from Shi Yusen "Improve the Chinese translation of word 'Review' " (https://issues.apache.org/jira/browse/OFBIZ-4028) - OFBIZ-4028
Improve the Chinese translation of word 'Review' to make it same as the term used by local ecommerce suites.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036483 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 15:16:29 +00:00
Hans Bakker 46d74a9789 replacing an empty blog summary with text did not work and moving labels from ecommerce to content because used in both components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 07:28:45 +00:00
Hans Bakker 73344a5802 blog summary could not be updated, in the same process move the editarticle form from ecommerce to content because also used there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1036329 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 06:29:25 +00:00
Bruno Busco b4e72271e4 Used screenlet tag instead of label to separate forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032672 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:15:18 +00:00
Bruno Busco bfdbe35f71 ProjectSubTabBar menu is actually a ProjectButtonBar.
Added proper style to create button.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032671 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:13:57 +00:00