Commit Graph
430 Commits
Author SHA1 Message Date
Jacques Le Roux 513c11fbaa Err goofy, I forgot to save (related with OFBIZ-6598) after reverting pending changes I did to test OFBIZ-6111 locally
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1704228 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 08:00:45 +00:00
Jacques Le Roux a237f624fd A patch from Pierre Smits for "Replace bsf event type and handler with groovy" https://issues.apache.org/jira/browse/OFBIZ-6598
jleroux: I did the same in order controller (was only in ecommerce) even if only a commented out example was used there

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1704227 13f79535-47bb-0310-9956-ffa450edef68
2015-09-21 07:54:13 +00:00
Deepak Dixit 9149040ac3 (OFBIZ-6362) Added missing code in header.ftl file to include component specific js file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1697574 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 06:40:54 +00:00
Shi Jinghai 63e589b26d OFBIZ-6570 Anonymous unsubscribe from contact list generates an error.
Add value="main" to "error" responses related to unsubscribe.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1696018 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 07:00:24 +00:00
Shi Jinghai 62767278d0 OFBIZ-6135 - Passport Component for OAuth2
1. Commented out the passport files include in ecomseo.
2. Add quick start steps in README.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1689400 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 13:51:44 +00:00
Shi Jinghai f2ff13fb59 OFBIZ-6135 - Passport Component for OAuth2
The oauth2 login icons will appear in /ecomseo/checkLogin page if the seed data files are properly configured and imported into database.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1688503 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 18:38:16 +00:00
Arun Patidar 4909b2a0d3 [OFBIZ-6111] Applied patch from the task to fix after login redirects on ecommerce application. Now user redirects on its last view page like main page, products page or category page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1686574 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:52:36 +00:00
Nicolas Malin 1e3600618d Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.

By defautl converted :
 * FastMap by HashMap
 * FastList by LinkedList
 * FastSet by HashSet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1672752 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:22:54 +00:00
Deepak Dixit 63aa9d7872 Applied patch from jira issue OFBIZ-5295 - Anonymous Quick Checkout: No Payment Method Information shown in Order Confirmation
Thanks  Sebastian Wachinger for reporting the issue and thanks Yashwant for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1668265 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 13:43:07 +00:00
Deepak Dixit 428281e9d0 Applied patch from jira issue OFBIZ-4020 - Sign up for a contact list always redirects to the main ecommerce page
Thanks  Eric for reporting the issue, thanks Eric and Arun Patidar for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1668246 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 11:52:23 +00:00
Jacques Le Roux 62d6ac58f9 Adds a README file in birt component, updates the ecomseo one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1662930 13f79535-47bb-0310-9956-ffa450edef68
2015-02-28 13:11:08 +00:00
Jacques Le Roux 115b13691e Fixes "Incorrect Error Displayed when "Expiring" a Contact Mechanism" reported by Forrest Rae at https://issues.apache.org/jira/browse/OFBIZ-6112
When expiring a contact mechanism, an incorrect error is displayed.  This is mostly an error due to code reuse.  There is no reason to redirect back to editcontactmech, instead just redirect to viewprofile. 

"The contact information specified does not belong to you, you may not view or edit it."

Repro:
1) Login to http://demo-stable-ofbiz.apache.org/ecommerce/control/main as DemoCustomer.
2) Navigate to http://demo-stable-ofbiz.apache.org/ecommerce/control/viewprofile
3) Click Expire next to one of the Postal Addresses.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1662361 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 06:30:57 +00:00
Ashish Vijaywargiya 0bd7753f12 Applied patch from jira issue - OFBIZ-5419 - Ordering a License product sometimes (most often) gives a blank page.
Thanks Jacques for creating the issue and thanks Arun for providing the fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1661287 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 06:28:27 +00:00
Jacques Le Roux ba8ab20cd2 Fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1658623 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:17:56 +00:00
Jacques Le Roux e417547ab5 A README to give some information and references about and how to use the ecomseo webapp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1658577 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 21:20:08 +00:00
Jacques Le Roux 4298b8ed5f This implements OFBIZ-5312 "Proposal: URL-Generation Changes (mostly for SEO reasons but not only)" by merging the "SEO branch" in trunk
After some efforts to take into consideration Anil's justified concerns (simply put: keep the current behaviour), the modifications are finally light, which is greater for reviews. Most important are:
* Product component
  ** I have moved the OfbizCatalogAltUrlTransform and OfbizCatalogUrlTransform classes to a ftl subdirectory with the new FTL macros implementation: CatalogAltUrlSeoTransform, CatalogUrlSeoFilter, CatalogAltUrlSeoTransform, CatalogUrlSeoTransform, SeoTransform, UrlRegexpTransform
  ** A bunch of new filters have been added CatalogUrlSeoFilter, controlServlet, SeoCatalogUrlServlet, SeoContentUrlFilter, SeoContextFilter, SeoControlServlet, UrlRegexpContextFilter
  ** 2 util classes: SeoConfigUtil, SeoUrlUtil
  ** By default ofbizCatalogAltUrl and ofbizCatalogUrl macros now use the new implementations by CatalogAltUrlSeoTransform and CatalogUrlSeoTransform. This can be changed back in freemarkerTransforms.properties
  ** A SeoConfig.xml file define some SEO parameters, the SeoConfig.xsd can be sued as documentation, globally please refer to OFBIZ-5312.
* Framework webapp component
  ** By default ofbizUrl macro now uses the new implementations by UrlRegexpTransform. This can be changed back in freemarkerTransforms.properties
* Ecommerce component
  ** A new ecomseo webapp clones the ecommerce webapp on the model of ecomclone. There is not much there: mostly a controller with a new JspViewHandler class (in ecommerce) and a web.xml file

With these changes we can have both worlds running side by side. So you can use eitherb http://localhost:8080/ecommerce/control/main as root or http://localhost:8080/ecomseo, but also if you want http://localhost:8080/ecommerce/. Then everything follows.

From my reviews and tests all is working as expected. I only found a trivial bug that I can also reproduce in current trunk see OFBIZ-5305 (sometimes not locally, weird).

Of course, all the tests passes. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1655803 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 19:06:49 +00:00
Jacques Le Roux fa056d44e0 Fixes "Gift card reload service not working OOTB" https://issues.apache.org/jira/browse/OFBIZ-5914
jleroux: this issue was only in ecommerce, order manager worked once you followed the FAQ about fin account and GC. It simply missed a test on product.requireAmount

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1653456 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 08:04:10 +00:00
Adrian Crum ae9103cf18 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Mridul Pathak 9937d25f28 [OFBIZ-3433] eCommerce main store front error returned when attempt is made to "Sign Up For Contact List" - as reported by Ruth. Not a service level bug but a UI issue. Email is a required input parameter in "signUpForContactList" service. Sign up form does have a field for email but has no label which is confusing to user, neither it is displayed as a required field. Applied patch from the issue to fix UI. Thanks Ruth for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1652627 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 15:46:01 +00:00
Mridul Pathak 74ed931924 [OFBIZ-4457] Checkout layout - in screens before payment screen, the fields are below the last div in right column. Fixed Markup as in other checkout pages. Thanks Jacques for reporting the issue, and Amardeep for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1652611 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:05:20 +00:00
Ashish Vijaywargiya 1432b8f43f Applied two patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods. Thanks Arun for your recent contribution where you have included changes from specialpurpose and product component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya a3947ee585 Applied patch from OFBIZ-4511 - Non-standard markup for categories screenlet.
Thanks Anne for creating the issue and providing the first patch. Thanks Arun for providing the updated patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1646944 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 10:23:47 +00:00
Ashish Vijaywargiya 1756807812 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00
Ashish Vijaywargiya b06039daf6 Applied patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue(). Thanks so much Arun for this important contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1644015 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 10:09:22 +00:00
Ashish Vijaywargiya 02fe99fabb Applied patch from jira issue - OFBIZ-4468 - After login it shows error 'Product not found!'.
Thanks Kiran for reporting the issue, Thanks Akash for providing the patch for this issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639873 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 12:44:39 +00:00
Ashish Vijaywargiya c50c37391e Applied patch from jira issue OFBIZ-4569 - Update address dialog shows multiple CommonUpdatingData when required field is missing.
============================================================================================
Open update address dialog (profile->Manage Addresses->Edit)
Remove one of the required field.
Hit submit couple of times. You need notice, it shows 'CommonUpdatingData' at the top. 

It should validate the form before adding the label.
============================================================================================
Thanks Kiran for reporting the issue, Thanks Deepak for providing the patch for this issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639859 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 11:47:42 +00:00
Ashish Vijaywargiya 7f6b3de3ae Applied patch from jira issue - OFBIZ-5721 - Generate pdf doesn't open in new target.
Thanks Pierre for reporting the issue and providing patch for the same. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1626465 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:54:00 +00:00
Ashish Vijaywargiya 8f8a78722f Applied patch from jira issue OFBIZ-1705 - Merging of processCustomerSettings and createUpdateUser method.
Thanks Brajesh Patel for creating the issue, Thanks Arun Patidar for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1626417 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:59:51 +00:00
Anil Patel 21f87e95eb [OFBIZ-5690] Fixed email issue. Thanks for help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618397 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 18:43:13 +00:00
Ashish Vijaywargiya c5bbc062b3 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacopo Cappellato 92ee8adabd Removed hardcoded formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1583917 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 07:40:42 +00:00
Jacques Le Roux ed88b5631c Temporary fix for "Error when add product to an order." https://issues.apache.org/jira/browse/OFBIZ-5579
See my comment there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1577855 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:49:10 +00:00
Jacopo Cappellato 139a9962d5 Performance optimization for UtilHttp.getFullRequestUrl method: instead of returning a StringBuffer object (synchronized) it now returns a String (immutable); internally it uses a StringBuilder (lighter because not synchronized) within a private context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1570810 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 08:32:28 +00:00
Jacques Le Roux 42ecb09395 Prevents a possible misconfiguration spotted on trunk demo:
Expression blog.contentName is undefined on line 31, column 116 in component://ecommerce/webapp/ecommerce/blog/blogs.ftl. The problematic instruction: ---------- ==> ${blog.contentName} [on line 31, column 114 in 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1569078 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 18:36:55 +00:00
Jacques Le Roux 4cc53e00f5 This is a major update of jQuery and related, it contains:
jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    removes jquery.ui.datepicker.js now integrated in jquery.ui
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1 
        I never realised how much efforts have been put in this plugin!  
        I fixed an issue in JsLanguageFilesMapping generation
        I removed the messages_ptbr.js and messages_ptpt.js files and the related conundrum in JsLanguageFileMappingCreator.java
        untested, found not use cases OOTB
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl 
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0    


Removes all useless/redundant js files (not only jQuery unused old versions)
    notably removes all under images/jquery/ui/development-bundle/ui
    removes now useless GooglemapMarkers.js and GooglemapSimple.js

Flat Grey application.js
    moves jQuery(document).ready(function() at bottom (spotted in Chrome console) 
    
css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.    

Issues:
    Imagemanagement:  I got issues while testing, actually I'm not quite qure how it works, even in stable demo. It should be validated again. I commit nevertheless my changes:
        moves js part from product to images component
        removes useless calls to js files (mostly in imagemanagement, but not only)
        renames jquery.min.js to sizzle.min.js. 
        Inside sizzle.min.js, updates the Dojo part to v1.10.17-pre and removes the jQuery part
        changes to use ofbizContentUrl macro for generating js calls
        jquery.rotate.js NOT! It's jQueryRotateCompressed.js http://markmail.org/message/dit3dlh3ph4jnenp
        Got ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'D:\projectsASF\ofbizClean\framework\images\webapp\images\pro&' to length 100.  I opened OFBIZ-5501 for that
    I tried to update jstree  to jstree 3 but gave up. I let the jquery.jstree-3.0.0-beta3 files in place in case someone would give it a chance...
    
Not related but while a it:
    removes <!--flot example requests--> from birt controller (moved recently to example component)
    
    

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1559769 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:27:09 +00:00
Jacques Le Roux e17d9e72df A modified patch from Gareth Carter for "JSON Response does not set http status on error" https://issues.apache.org/jira/browse/OFBIZ-5409
This is rather a defensive patch which secure json response on services calls. 
It might need some changes in custom code if (not recommended) an Ajax GET response is used... The util.js scrpt is introduced for that, though normally should not be needed... 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1557462 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 20:26:30 +00:00
Jacques Le Roux e2639588da Fixes a formatting issue, there from long
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1552500 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 06:06:47 +00:00
Jacques Le Roux 9534c33e83 Fixes a wrong rendered info in case of promotion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1543744 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 09:54:03 +00:00
Jacques Le Roux 4b45916f53 Fixes "Under some conditions the Paypal button encroachs the menu bar" https://issues.apache.org/jira/browse/OFBIZ-3136
Small improvement to provide a default in French when any country has been selected. The same idea can be used with other default locales.

Actually this issue can't be completely fixed without efforts to reduce the lengths of labels above buttons in some languages, also depends on screen widths and anyway OFBiz is far to provide a responsive design, if even this is wanted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535981 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 12:37:43 +00:00
Jacques Le Roux ff120d594f Fixes "Pagination from category tree is flawed, and not only this pagination" https://issues.apache.org/jira/browse/OFBIZ-5372
It was already flawed in R10.04.
If you click on the Gizmos node, the pagination page shows 3 pages when there should be only 2 and if you get to the page 3 it crashes.
If you come from the breadcrumb the problem is the same.
On the other hand, from R11.04 there is a "Popular Categories" section at top of the main screen, and from there it works correctly. 
But in this version the "Featured Products" pagination shows the same symptom than the category pagination. 
The "Featured Products" pagination works almost correctly from R12.04, but shows 2 pages when the second is useless and empty, at least no crashes!

Note:
This has no side effects on the same in order component
Actually what we should do is to create an unique paginationControls macro but there are subtle differences and I'm afraid it would open a can of worms. I will though check...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535961 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 10:22:31 +00:00
Jacques Le Roux 7584f7e1bd No functional changes, just formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535703 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 11:39:58 +00:00
Jacques Le Roux ff0a43f157 A slightly modified patch from Gareth Carter for "Fixes for some xml/groovy files" https://issues.apache.org/jira/browse/OFBIZ-5349
Validated all xml files and compiled all groovy files and found a few errors. Look at patch for details

jleroux: For webapptests.xml, I prefered to revert it from r959261 (I saw an issue in my xml editor, did not check more)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532366 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:51:57 +00:00
Jacques Le Roux 437b20b9be This fixes
"Addition of item to shopping list is not working" https://issues.apache.org/jira/browse/OFBIZ-4903
"Problem when saving a product to a shopping list" https://issues.apache.org/jira/browse/OFBIZ-4589
I don't pretend it's glorious code. For instance I gave up on trying to have the groovy changes snippets consistent in both components and to reuse the way it's done in party. And the way I secured the indexes remember me when I was hacking in APL. For my defense, it was really a mess... and my time is limited...
Anyway, at least it fixes all the issues I crossed in shopping list editing in both party and ecommerce components:
* NPE on sessions ending
* wrong and failing (NPE in ftl) pagination
* error on pagination links after adding a product

Tested with both 2 and 20 size view on both sides


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1532342 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 14:03:54 +00:00
Jacques Le Roux 8ab0668a0f I made a typo in the signature of UtilProperties.getPropertyValue() in my last commit, the last parameter is a String
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531876 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 12:37:03 +00:00
Jacques Le Roux 3a633a9242 Avoids fixed view sizes and provides default value in case of missing property
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531874 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 12:20:01 +00:00
Jacopo Cappellato 68540ad443 Expanded and enhanced the "lucene" specialpurpose component by implementing an initial version of a Product indexer; also implemented a screen to test and analyze Lucene queries on the index.
Many thanks to Scott Gray for the initial version of the indexer and the code to prepare the Product document.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1531499 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 04:52:17 +00:00
Jacques Le Roux 408beae479 A patch from Anahita Goljahani for Fixed mispelling of "occurred" https://issues.apache.org/jira/browse/OFBIZ-5342
jleroux: this includes a safe change in jquery.validate.js and jquery.validate.min.js

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1530341 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 16:35:40 +00:00
Jacques Le Roux 71ed173455 An attempt to localise the Google and Paypal checkout buttons.
Google always default to English it seems, at least then the sequel is in the locale (https://developers.google.com/checkout/developer/Google_Checkout_Basic_HTML_Google_Checkout_Buttons)
For Paypal when the buttons does no exits (work for fr_FR or nl_NL for instance but not fr or nl_BE, etc.), fallbacks to en_US

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1528906 13f79535-47bb-0310-9956-ffa450edef68
2013-10-03 15:11:52 +00:00
Jacques Le Roux 8a6e094cd7 A slightly modified patch from Ankit Jain from a previous work by Nandani Aggarwal for "No method to remove a promo code from the shopping cart" https://issues.apache.org/jira/browse/OFBIZ-4291
When working with promotions and promo codes in the shopping cart, it seems not possible to remove _one_ specific promo code from the cart neither through the ShoppingCart and its helpers and services, nor through the ProductPromoWorker.
ShoppingCart has the method 

{{addProductPromoCode(String productPromoCodeId, LocalDispatcher dispatcher)}}

but no method to remove the added PromoCode. Is there any other worker, service or event that can be called to do this? And if not, is there a specifc reason (maybe relating to promotions application rules) for not implementing this?

Current provided method of dealing with removal of promotions is a so called brute force approach where removing all and adding not to be removed promotions again.

jleroux: 
* in ecommerce no needs to be authentified to be abble to remove a promo code
* I also added a French label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1493512 13f79535-47bb-0310-9956-ffa450edef68
2013-06-16 14:01:56 +00:00
Jacques Le Roux 5220a7da02 A patch from Mark Schneider for "Common look for subscreens of ecommerce (minipromotext.ftl )" https://issues.apache.org/jira/browse/OFBIZ-5173
Extension of minipromotext.ftl to get more common look for this subscreen of ecommerce. Patch and screenshot will be attached.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1470136 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 09:27:12 +00:00