Commit Graph
4365 Commits
Author SHA1 Message Date
Jacques Le Roux a235832fcd Completes r1512129 which fixed 2 errors introduced by r1511742.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512147 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 06:18:37 +00:00
Hans Bakker 2477c7ae79 corrections of errors introduced with r1511742
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1512129 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 02:35:39 +00:00
Jacques Le Roux f474d975d9 No functional changes, only formatting.
While looking for other cases like r1459222 and r1509164 introduced by r1300812 and r1305309. I noticed there were a lot of wrong for loops formatting (miss a white space after for), this changes it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1511742 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 12:28:01 +00:00
Jacques Le Roux b834acb461 A patch from Leon for "slight patch to "other-field-size" of drop-down form element"" https://issues.apache.org/jira/browse/OFBIZ-5285
"other-field-size" of drop-down form element is a very nice feature, but it's crippled in current version.
attached a patch to make it works and added an example section for that into FormWidgetExample.

jleroux: Interesting, I did not know this feature existed, it was committed long ago by David (before ASF era) 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1511279 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 12:24:10 +00:00
Hans Bakker 0a4255df2c update junit test related to r1505303 , reported by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1505645 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 09:56:57 +00:00
Jacques Le Roux ae2b4520ae A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. 
Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1500382 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 07:43:31 +00:00
Christian Geisert 081d6a8095 Missing UI Label translations to de Locale for Tags, see OFBIZ-5190
Submitted by Carsten Schinzer


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1497779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 14:01:17 +00:00
Jacques Le Roux 6e7c2e511d Fix a typo introduced with r1495716
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1495726 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 13:35:30 +00:00
Jacques Le Roux b99bd30dc8 A patch from Pierre smits for "Enhancing Dutch WebPoS labels" https://issues.apache.org/jira/browse/OFBIZ-5242
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1495716 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 12:29:33 +00:00
Jacques Le Roux ef5cacd789 A patch from Ankit for "Priority field is missing on Add/Edit Project form." https://issues.apache.org/jira/browse/OFBIZ-5230
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1494202 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 17:00:37 +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 fc31563132 A patch from Ankit for "No the date fields showning on edit project page." https://issues.apache.org/jira/browse/OFBIZ-5222
No date fields are showing on Edit project page(https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/EditProject?projectId=10005 create a new project) for the following:

Estimated Start Date
Estimated Completion Date
Actual Start Date
Actual Completion Date

Also on the Project Summary page no dates are showing in Project Information.
https://demo-trunk.ofbiz.apache.org:8443/projectmgr/control/projectView?projectId=10005

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1492673 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 13:52:07 +00:00
Adrian Crum 73e9e5e019 A final pass through ServiceConfigUtil.java - moved some of the convenience method code to the call sites. The convenience methods don't add much now that the API is easier to use. Reorganized methods and added JavaDocs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1490116 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 03:29:50 +00:00
Adrian Crum cb10fc7f72 More work on ServiceConfigUtil.java - based on a patch from Christoph Neuroth with modifications by me. The static helper methods now use the models instead of parsing the DOM tree. This commit makes a small API change - the helper methods now throw an exception if there is a problem with the serviceengine.xml file. The original code would just hide the errors, so client code didn't know anything was wrong.
https://issues.apache.org/jira/browse/OFBIZ-5204


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1490004 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 18:59:51 +00:00
Jacques Le Roux eab1df62ea Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1489162 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 20:40:53 +00:00
Hans Bakker 55e0fd94b8 remove not existing fields in demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1485975 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 08:50:51 +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
Jacopo Cappellato a37d3b9612 Removed the experimental and incomplete ofbizwebsite component (intended to replace the existing OFBiz website).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1466045 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 14:17:38 +00:00
Jacopo Cappellato 9971d8019e Moved Jetty component from framework to specialpurpose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465283 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 18:04:11 +00:00
Jacopo Cappellato e755a3f947 Moved the appserver component from framework to specialpurpose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465276 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 17:25:01 +00:00
Jacopo Cappellato 144674f6a0 Moved Axis1 jars to specialpurpose/birt because it is now the only component that still uses these old jars while the framework runs on Axis2.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465252 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:35:05 +00:00
Jacopo Cappellato d3db7aa589 The specialpurpose/crowd component is now disabled: the component is not actively maintained, it is based on an old version of Crowd and it requires some old jars (Axis 1) that we are going to remove from the framework (that runs on "Axis 2").
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465250 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:20:33 +00:00
Jacopo Cappellato 88a52fb37b Added NOTICE file for specialpurpose components: it will be useful when we will issue releases of specialpurpose components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1465245 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:11:00 +00:00
Adrian Crum 3e043b5c35 Converted Mini-language bsh: scripts to groovy: scripts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1464779 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 22:01:07 +00:00
Jacopo Cappellato da9b25bd15 Split the LICENSE file into two files, one in the specialpurpose folder and specific to the components in it: in this way it will be easier to maintain and release specialpurpose components separately.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1463892 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 09:31:41 +00:00
Jacopo Cappellato fe24506e48 In preparation for the selective disabling of specialpurpose components as a default (when trunk is checked out, built, unit tested, run): explicitely added the "enabled" attribute to all the ofbiz-component.xml files of specialpurpose applications; for now they are all set to "true" (that is the default value) and so this commit will not change the behavior of the system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1462422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:21:52 +00:00
Jacopo Cappellato 6ec015939d Reorganized test data and unit tests to remove wrong dependencies from accounting to assetmaint and from order to scrum; all tests are now successful even when all specialpurpose components (*except* ecommerce) are disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1462421 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:07:59 +00:00
Paul Foxworthy 1a38f248e8 Fix spelling of successful and some other words
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460654 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:33:09 +00:00
Paul Foxworthy 82140f639e Undid r1460637, should be two separate commits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460647 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:14:10 +00:00
Paul Foxworthy 2b1caae419 Add grams to Product Shipment Uom labels (Jira OFBIZ-5154)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460637 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 12:46:16 +00:00
Jacques Le Roux 61c3851975 Ooops :D this slipped it inadvertently (put for testing Jira 5030)
Thanks for spotting it Adrian! 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460287 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 09:17:35 +00:00
Jacques Le Roux 0f6621ce3d A patch from Jeremy Olmstead for "Unable to search accounting transaction entries by productId " https://issues.apache.org/jira/browse/OFBIZ-5160
From the FindAcctgTransEntries screen, enter a part number to search for...you will still get a complete list of all transactions because the form field name is produtId instead of productId.  After searching relevant document types it turns out there are a few places where produtId is used instead of productId, the patch is meant to fix them all.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1460116 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 08:27:30 +00:00
Hans Bakker cd2807b385 ignore the backend analytics in e-commerce frontend
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1453169 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 06:14:50 +00:00
Jacques Le Roux b65d2bad3b A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for projectmgr, scrum, service, webpos and webtools components. These are the last 5 components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1448350 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 18:50:33 +00:00
Jacques Le Roux 592fe20127 A slightly modified patch from Gil Portenseigne for "Missing PartyCountryCode uiLabel" https://issues.apache.org/jira/browse/OFBIZ-5138
The label ${uiLabelMap.PartyCountryCode} is used several times in the project but i could not find the definition of PartyCountryCode in label definition files.
I looked further and found CommonCountryCode in label file which is not used and fill the need for PartyCountryCode. To solve this I propose to rename all PartyCountryCode to CommonCountryCode.

jleroux: I also moved CommonCountryCode, CommonCountryCodeMissing and CommonCountryMissing from PartyUiLabels.xml to CommonUiLabels.xml





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1447664 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 10:55:10 +00:00
Jacques Le Roux 110fc43ac6 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for party, pos and product components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1447615 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 07:56:32 +00:00
Jacques Le Roux 4a47e6c222 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for oagis and order components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1447170 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:35:51 +00:00
Jacques Le Roux 1c4a8f9e39 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for several components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1446852 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 08:49:01 +00:00
Jacques Le Roux ba3712d0f6 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk" https://issues.apache.org/jira/browse/OFBIZ-5134
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1446849 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 08:08:38 +00:00
Jacques Le Roux bcb2a48687 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk" https://issues.apache.org/jira/browse/OFBIZ-5134
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1446482 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 09:11:54 +00:00
Jacques Le Roux a2155278fa Fixes 2 issues I found by chance while browsing trunk demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1444356 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 12:57:36 +00:00
Jacques Le Roux aefaa14c3d Complete the work on server hour for the webtools job list.
* Now uses real server hour
* Renames getDependentDropdownValues.js into miscAjaxFunctions.js, that it is really
* Introduces a minimized version of date.format: date.format-1.2.3-min.js


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1426904 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 07:33:26 +00:00
Jacques Le Roux 80654bfb26 Fix an issue reported by Duc Trung NGUYEN on user ML:
>  I tried to test the theme multiflex (for ecommerce) and detect a small
> problem as the following: (USING http://demo-trunk.ofbiz.apache.org)
> 
> 1.connect to catalog manager
> 2.go to "store" tab and select the store with id 9000
> 3.change its viual theme to MULTIFLEX
> 
> 4.open the ecommerce site (it's ok with new theme)
> 5.select a catagory from the categories menu on the left side.
> 6.select another language
> 
> And the problem come up:
> The theme now is EC_DEFAULT instead of MULTIFLEX

It was related to a not finished change introduced with  http://svn.apache.org/viewvc?view=revision&revision=1128983
I mean the addCheckValue request and sequel... 

It was just missing the productStore, I added it in the category.groovy script

I briefly tried to do it in a simpler way using a redirected parameter on setSessionLocale request, but got issue, gave up and simply reused the same way but moved the simple method from AffiliateSimpleEvents.xml to CustomerEvents.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1426787 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 17:14:16 +00:00
Hans Bakker 8e246297cf Nice contribution from Nicolas, now be able to modify and delete database records using the framework import function: https://issues.apache.org/jira/browse/OFBIZ-4949
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1425813 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 04:19:34 +00:00
Jacques Le Roux 6329f5df33 Fix a bug reported by Mark Schneider on user ML:
>It looks like a wrong credit card number leads to the following error message in UI (tested with one-page checkout):
>        # ---
>        ... (INSERT on table 'ORDER_CONTACT_MECH' caused a violation of foreign key constraint 'ORDER_CMECH_CM' for key (10005). ...
>
>        I would rather expect an error message like "invalid credit cartd number" instead.

jleroux: the bug was actually double 

1st: a last issue related to https://issues.apache.org/jira/browse/OFBIZ-5102 after https://issues.apache.org/jira/browse/OFBIZ-3883
2nd: the cardNumber was missing a creditcard class (jquery.validate.js messages)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1425452 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 11:22:24 +00:00
Jacques Le Roux bfedef674c A patch from Carsten Schinzer for "CheckoutScripts not adapted after ShoppingCart.setShipmentMethodTypdeId" https://issues.apache.org/jira/browse/OFBIZ-5102
The CustomerEvent scripts do not yet account for the fact that the method takes two parameters after a code change on ShoppingCart:
- int shipGroupIndex and
- String shipmentMethodTypeId
instead of the latter String only in earlier versions.

Minilang Script calls to setShipmentMethodTypeId with a single String Parameter need to be changed.
They now must call setAllShipmentMethodTypeId. This method has been introduced with rev. 1407116.

jleroux: so this was not covered by unit tests, too bad but I don't think I will get enough time to write them :/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1422814 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 09:28:39 +00:00
Scott Gray 5243297b54 Moved ebay demo data from ecommerce to the ebay component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1422684 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 20:37:46 +00:00
Scott Gray 97548eeacf Remove a bunch of unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1418650 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:06:01 +00:00
Jacques Le Roux cddf0bf2a2 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Completed Japanese translation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1412997 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 17:35:16 +00:00
Jacques Le Roux 825d838801 A patch from Nicolas Malin for "ProjectMgr : list project's company, error on form to resolve currency" https://issues.apache.org/jira/browse/OFBIZ-5071
To solve this issue, I change bsh script to groovy script.
After the patch application, on the same page, the currency appears near "Your Company Name Here [Company]"

jleroux: actually I did a bit more and rewrote it using safe-navigation and elvis operator, nice to read hèè ;)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1408408 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 18:59:38 +00:00