Commit Graph
3253 Commits
Author SHA1 Message Date
Jacopo Cappellato d073d1db07 "admin" user is only in demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804131 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:54:01 +00:00
Hans Bakker 31a5a0c5f4 reverted 804104 because of compile error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804130 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 08:48:06 +00:00
Hans Bakker e40f03e356 adjustment of storing/retrieving timestamp in the proper timezone. In the database the time zone is always GMT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 07:42:30 +00:00
Hans Bakker fbaad86261 unwanted change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804075 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 04:24:25 +00:00
Hans Bakker 2d51096b6d Excellent contribution from Brett G. Palmer in issue: OFBIZ-2116
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804074 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 04:22:27 +00:00
Scott Gray 14baa87a47 Applied patch from Ashish Vijaywargiya, fixes a couple build issues with components created using ant create-component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 02:54:30 +00:00
Scott Gray e371344391 Fixed double encoding problem reported by Jacopo on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803848 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 11:36:56 +00:00
Anil Patel efb6d2cc8d 1) All columns with the exception of the first one have double-quotes around the text and the number fields.
Status : Resolved
2) I also noticed that the column headers (labels) are not matching the data after Column N.
Status : Resolved

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803557 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:33:18 +00:00
Scott Gray 25e7c97f50 Turn off the cross subdomain session valve by default, it creates too many unnecessary sessions and causes issues for other subdomain use cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803531 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:25:41 +00:00
Hans Bakker 63a818ab65 extended the help system so that help pages can also be used from within the content component when available. If not found, the page within ofbiz.apache.org will be displayed. as is the case now. See the my portal component for an example. Still need to extend the <content tag so that an override template can be specified.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803416 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 08:48:19 +00:00
Jacopo Cappellato 3367a59a28 Fix for bug reported by Hans Bakker in OFBIZ-2823.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803013 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 07:30:06 +00:00
Adrian Crum 38f8588dea Small code cleanup in DelegatorData.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:22:40 +00:00
Adrian Crum 22dc76f12f Fixed a bug in DelegatorData.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802877 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:09:07 +00:00
Hans Bakker 9cbf24468b better show edit screen to easy add comments by users.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802802 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 14:12:13 +00:00
Hans Bakker 07d61162a4 only show when porlet help screen if available, else show default my portal help screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802797 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 13:57:53 +00:00
Hans Bakker c57f235be9 added a special help for portal pages to provide help on portlets on that page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802724 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 10:25:15 +00:00
Adrian Crum 6786aa4dbc Refactored GenericDelegator:
1. Converted GenericDelegator to an interface. We already have DelegatorInterface, but it isn't being used anywhere. Removed DelegatorInterface.java.

2. Extracted the static, cached data from the GenericDelegator implementation and put it in its own class - DelegatorData. The GenericDelegator implementation holds a reference to the DelegatorData instance. This makes it possible to have per-thread instances of GenericDelegator.

3. Replaced the ThreadLocal variables with regular variables. ThreadLocal variables are no longer needed. Client code doesn't need to be concerned with pushing and popping the GenericDelegator state.

This commit paves the way for the forthcoming ExecutionContext.

User modifications will have to replace GenericDelegator.getGenericDelegator(...) with DelegatorFactory.getGenericDelegator(...). Also, replace the push code with the new setXxx methods, and remove the pop code. If modifications used DelegatorInterface, replace that with GenericDelegator.

Aside from those changes, this commit is backwards compatible.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 18:04:26 +00:00
Adrian Crum b96f551de7 Converted Security.java to an interface. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802563 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 17:20:06 +00:00
Jacopo Cappellato 16a1a6e98a Implemented CSV screen macro renderer; cleaned up existing csv widget forms that are now much more clean.
This is a good example of the great flexibility of widgets and the new macro renderer (no code was needed to implement the CSV renderer).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802400 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 15:49:04 +00:00
Hans Bakker 2e0ee05f13 add the help button to the bizness theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802290 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 03:14:05 +00:00
Adrian Crum 7bc514f98d WebDavServlet.java now uses the cached ClassLoader.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@802043 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 15:20:24 +00:00
Jacopo Cappellato 7c3554bf05 The context of the email is now logged only at verbose level.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801522 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 07:10:21 +00:00
Anil Patel 0a2d41a6bc Fix multi select option in form widget.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801518 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 06:50:27 +00:00
Adrian Crum 9dbbcd1082 Fixed a bug in UtilDateTime.java - getWeekEnd() returned the wrong value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@801023 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 23:38:55 +00:00
Adrian Crum af68683f6b Fixed a problem with HTML whitespace compression. Patch provided by Bob Morley - https://issues.apache.org/jira/browse/OFBIZ-2781.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800461 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:43:59 +00:00
Scott Gray 26f3d3d25c Add a convenience method for converting uoms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@800197 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 04:53:48 +00:00
Scott Gray 37cbcbf738 Returning a messageWrapper even if mail notifications are disabled seems to work fine and it gets rid of that annoying service exception
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799507 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 03:35:48 +00:00
Scott Gray b90c803201 ?if_exists doesn't work in uiLabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799506 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 03:33:40 +00:00
Adrian Crum 84cfaf081b More Chinese translations, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2767.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799372 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 17:13:11 +00:00
Adrian Crum fedc1027e2 Added svn properties to some XML files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798966 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 16:22:08 +00:00
Adrian Crum c13c47f919 Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2767.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798941 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 15:14:01 +00:00
Adrian Crum 2b9121fd39 Chinese translation for the framework folder, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2723.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798559 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 15:24:23 +00:00
Scott Gray 81e672a98e Fix startup warning caused by duplicate field alias names
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798520 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:39:37 +00:00
Scott Gray 8b86a4953c Fix startup warning caused by duplicate field alias names
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798516 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:29:59 +00:00
Anil Patel a29ff05ca5 Adding Json event handler for multi service. Patch from OFBIZ-2762. Thanks Rishi and Chirag for implementation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798114 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 12:22:21 +00:00
Hans Bakker d238f16043 change of currency definition, should start with country
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798033 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 06:15:50 +00:00
Scott Gray e72e9a8029 Added a new ServletContext parameter "forceHttpSession" that when set to true forces the JSESSIONID cookie to be sent via http
This resolves an issue in the ecommerce app where if the initial request to the app is an https request then the session cookie is available via https only.  
Subsequently if at any point the user switches to http then the session is lost along with any data such as the shopping cart.

The solution involves checking if the request is an https request and if the session is new then the user is redirected to an http version of the request.  
The session cookie is then sent along with the http response which will either be the page requested if the request doesn't require https or otherwise another
redirect back to the https version.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 05:02:19 +00:00
David E. Jones d4aa04aee8 Added some documentation about the service definition transaction related attributes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797962 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 17:45:24 +00:00
Alfred Maxwell Byers c0ac870199 The content length was being calculated on the wrong string.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797681 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:41:34 +00:00
Adrian Crum ca1861d05f Removed unused method from TimeDuration.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797229 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:27:33 +00:00
Jacopo Cappellato ba18ab3728 Fixed bug that was preventing the red-when attribute to work properly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797126 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 16:05:36 +00:00
Scott Gray 297d704fdf Added two new javascript functions that allow a link or form post to take place in the parent window rather than the pop up itself
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796932 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 02:49:29 +00:00
Scott Gray 99ec7450cf For view-last responses if no previous view can be found then allow the value attribute to be used as the default view.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796918 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 01:00:58 +00:00
Adrian Crum 1f76c2f5ec Moved user preferences code from Global Decorator to ScreenRenderer.java. Now user preferences can be queried before the Global Decorator is run.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796896 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:27:27 +00:00
Adrian Crum 32b9994e9d Generic permission check bug fix, reported by Anne Jessel - https://issues.apache.org/jira/browse/OFBIZ-2749.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796769 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 15:37:59 +00:00
Hans Bakker c5cc3ef131 removed debug log statements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796244 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 10:32:48 +00:00
Anil Patel a8d9581734 Enhancement to dropdown element of form widget. Now it can handle data of types other then String.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795315 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 05:27:54 +00:00
Hans Bakker f698d6b81f edit portal page and inline string editor fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794601 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 09:03:53 +00:00
Scott Gray 3f2d963f91 Initial implementation of the Payflow Pro version of PayPal's Express Checkout OFBIZ-934
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793866 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 11:43:21 +00:00
Adrian Crum 5de4beaf9e Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@793025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 16:33:54 +00:00