Commit Graph
15314 Commits
Author SHA1 Message Date
Erwan de Ferrieres 727a2df89c Sales orders were created with OOTB settings with the form WSCO1 instead of WSCO10000. Thanks Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965638 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 21:19:21 +00:00
Jacques Le Roux a3c548bca9 A patch from David Cervera "Security tag at screen "Payments of Product Store" with wrong syntax" (https://issues.apache.org/jira/browse/OFBIZ-3864) - OFBIZ-3864
The screen "EditProductStorePaySetup" in "OFBIZ_HOME/applications/product/widget/catalog/StoreScreens.xml" (that is, section "Payments" of one Product Store, at Catalog app) has a security tag with wrong syntax.

It causes that users with right permissions cannot add new payments to the store.

You can test it here: https://demo-trunk.ofbiz.apache.org:8443/catalog/control/EditProductStorePaySetup?productStoreId=9000 logged as "flexadmin". The form at the bottom (titled "Edit Product Store Payment Setup") doesn't appear.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965470 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 13:26:33 +00:00
Scott Gray 40d54f842e Run olap SECAs asynchronously so that if they encounter any problems then the entire process that they're attached to won't get rolled back.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965332 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 00:13:06 +00:00
Hans Bakker 6ba2a55553 add statuisId field to view, be able to ignoe disabled parties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965225 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 13:17:02 +00:00
Scott Gray 114c8ae6a3 Setting the request-map/security element's direct-request attribute to false was only working if a default-request was present. Reported by Wai in OFBIZ-3861 and fixed using a variation of the patch that he supplied.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965163 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 05:55:35 +00:00
David E. Jones 339da2c8f1 Added support for passing extra server-side parameters in a Map from the screen definition, ie screen actions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965154 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 02:24:21 +00:00
Hans Bakker 27d86e7361 replace ftl with form because no submit button present on the link form, also added an explanation of this function
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965018 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 05:46:04 +00:00
Scott Gray f6fb19e39c Update eclipse .classpath file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964574 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 20:41:41 +00:00
Erwan de Ferrieres c538130326 A patch from Bob Morley - OFBIZ-3857 - Fix bad field reference projectIdId should be projectId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964558 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 20:06:49 +00:00
David E. Jones d20742c504 Changed Visit.clientIpAddress from id (20 chars) to short-varchar (60 chars) to handle IPv6 addresses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964553 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 19:46:40 +00:00
Hans Bakker 0a21d46376 correction on previous commit, this one and previous contributed by chattree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964431 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 13:57:36 +00:00
Hans Bakker 63ef224344 upgrade birt to 2.6 and at the same time upgrade the itext library (OFBIZ-3407) which does work with this birt version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964371 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 10:33:57 +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
David E. Jones 127bc8cba1 Small change so that formatted intervals don't have superfluous commas
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963630 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 09:34:29 +00:00
Erwan de Ferrieres d6e8686248 OFBIZ-3858 - a patch from David Cervera - Spanish title of Catalog app is wrong
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963610 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 07:05:40 +00:00
David E. Jones af619fd463 Fixed and enhanced updateTimeEntry, before it would not update anything unless an invoiceId was specified and now will properly only update invoiceId and invoiceSeqId if they are not already set, and all other fields regardless; also now updates the hours based on from/thru date if they hours are not specified, ie it auto-calculates those based on the dates/times
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963410 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 18:08:46 +00:00
Erwan de Ferrieres 903b726770 As spotted by Matthieu Bollot on dev mailing-list, Su and Sa days were inverted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963271 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 12:52:28 +00:00
Scott Gray be15953af1 No functional changes. Fixed indentation to use separate indent levels for freemarker and html. Committers please consider using this method, it makes templates MUCH easier to read.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963242 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 11:22:19 +00:00
David E. Jones c0a8945cb8 Small change to MacroFormRenderer to use a marco for doing the form close for multi forms, necessary for those to work when rendered using the fo macro library
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963018 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 08:55:18 +00:00
David E. Jones 82a12b58e2 Fix for reversed logic in macro form renderer for the ajaxEnabled flag
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962997 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 06:36:06 +00:00
David E. Jones 347b42a174 When a screen fop render fails, puts the screen XSL:FO output text in the log so you can see what caused the problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962996 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 06:35:09 +00:00
David E. Jones e87f05bf16 Import cleanups only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962995 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 06:34:20 +00:00
Hans Bakker 7801aaf359 add a explanation how the 'widgetVerbose' parameter can be used in web.xml and comment out the setting in the example component because widget comments should be shown out of the box there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962392 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 02:34:22 +00:00
Hans Bakker 84641a624f make widgetBoundaryCommentsEnabled work as the descriptions states: Widget boundary comments are enabled by setting widgetVerbose true in the context Map, OR by setting widget.verbose=true in widget.properties. And not let the context override the widget.properties setting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@961684 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 09:49:57 +00:00
Erwan de Ferrieres c0f074773b Wrong parameters size was used for args with presentation=layer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@961324 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 09:55:28 +00:00
Erwan de Ferrieres 722c243ac0 OFBIZ-3849 - Removed hard coded year and month from 'Order Entry Payment Settings' screen for credit card
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960997 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:52:34 +00:00
Adrian Crum cc9e403254 Fixed a bug in JdbcValueHandler.java reported by Hans on the dev ml - PostgreSQL BYTEA SQL types threw an exception. This fix replaces the entityengine.xml datasource use-binary-type-for-blob attribute introduced in rev 431161. In other words, the use-binary-type-for-blob attribute is no longer needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960929 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 16:08:51 +00:00
Jacques Le Roux 57afcb230f Change IN and OUT parameters names in order to generalize (I have generalized the Ajax calling and will use it later in Example with a couple of country/states dependent dropdowns)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960863 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 10:37:21 +00:00
Erwan de Ferrieres dbbcedd7ba From http://www.culture.gouv.fr/culture/dglf/mel.htm, in French, we are using mél for an e-mail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960841 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 08:40:33 +00:00
Hans Bakker 234c5aa7e9 change the type bigdecimal to double to avoid conversion errors in the log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960502 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:43:48 +00:00
Ashish Vijaywargiya 2c06dd8e5e Added gram into pound support.
Thanks Vivek for the patch. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960495 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:21:59 +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
Scott Gray f4d1e4b6ae Removed references to a service provider's company name from the project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960405 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:50:21 +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
Jacques Le Roux bc89697809 Found a Jacopo's message while browsing around calendarDateSelect.
I have not put pl.js and fi.js because they exist in the calendarDateSelect project.
I'd like to contribute those news to the calendarDateSelect project, but it's not a priority for me
I have asked how to contribute to the calendarDateSelect project

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960376 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 18:22:50 +00:00
Adrian Crum d898b0b695 Fixed UtilCache.java JavaDoc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960373 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 18:07:14 +00:00
Jacques Le Roux 92fe067268 Should fix a problem reported by Scott on dev ML.
It's related to r886723: I forgot to create an en.js file (used as default).
I have also enhanced the other files but without total guarantee of correctness, at least it's better and improvable

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960336 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 12:59:05 +00:00
Scott Gray adfa8d36b6 Fix ModelMenuAction.PropertyMap, if the map already existed then it was overwritten instead of being added to. Fixed before merging with ModelWidgetAction so that I can backport to 10.04
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960190 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 09:50:07 +00:00
Adrian Crum c255f48060 A little bit of work on the entity condition stuff - no functional change. Improved JavaDocs, eliminated compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960154 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 04:27:20 +00:00
Scott Gray bb12340bd9 set operation was always returning null because the inline bsh wasn't returning anything
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960143 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 00:48:05 +00:00
Jacques Le Roux 392e1fc698 Better French Labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960009 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 14:42:06 +00:00
Jacques Le Roux 060a0ad59b Internationalize the category/products and country/state dependent dropdown "worker" services (when the list is empty we need to show something to explain)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959984 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 13:45:55 +00:00
Erwan de Ferrieres 417be33da1 When an error message is displayed, clicking on it will make it disappear
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959960 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 12:10:58 +00:00
Jacques Le Roux 205b0e5eeb New getAssociatedProductsList service to help dynamically populate a products dropdown given a product category id from a change in another dropdown, possibly sorted on sequenceNum.
As they are no such examples in OFBiz yet, I will later create an example of use in Widget form Examples which of course needs some javascript (it's for now based on the same than for country/states)

At term I would like to generalize and have it embedded in OFBiz widgets, will see even later...
I will also consider Anil's proposition: https://code.google.com/p/ue-protoui/source/browse/trunk/src/DependentSelect.js


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959951 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 11:12:36 +00:00
Jacques Le Roux c16497a20c Revert r959673 on Scott's advice. There is already a getCategoryMembers. A bit different but it's ok, as it does not make much sense to sort categoryMembers with another field than sequenceNum
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959943 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 10:32:58 +00:00
Scott Gray e7f6f4e1eb Take care of some warnings while I'm in the area, ModelWidget already implements Serializable so ModelScreen doesn't need to mention it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959902 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:52:14 +00:00
Scott Gray 50e4f65d46 Removed all usage of the deprecated ModelScreenAction class
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959898 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:49:21 +00:00
Scott Gray f85c469494 Deprecated ModelScreenAction and it's subclasses, decided it was best to leave the class as is and just switch the screen widget code over to using ModelWidgetAction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959893 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:40:57 +00:00
Adrian Crum d55b7b2e5c Small JavaDoc improvement, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959889 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:33:30 +00:00
Scott Gray 831721bc7c Added a new class ModelWidgetAction which will serve to replace the duplicate classes ModelScreenAction, ModelFormAction and ModelMenuAction. This class is virtually a direct copy of ModelScreenAction and its subclasses. I'll work over the weekend to switch the existing classes to extend from ModelWidgetAction, remove their methods and then deprecate the shells that are left behind.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959875 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 06:38:52 +00:00