Adrian Crum
a3536990f1
Locale and Time Zone refactor and bug fixes.
...
1. Modified the Start class to initialize the JVM default locale and time zone - configurable through start.properties. Removed calls to UtilDateTime.getDefaultTimeZone() - no longer needed.
2. Changed all calls to ObjectType.simpleTypeConvert(...) that didn't supply the necessary Locale and TimeZone objects. This fixes a lot of localization issues, https://issues.apache.org/jira/browse/OFBIZ-1696 being one of them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658045 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 23:50:14 +00:00
David E. Jones
a713ad4bd7
Added support for groovy services, and an example of the same; cleaned up the way that bsh services work and updated the example and such to match, now returns a context as one would expect
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657701 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:22:46 +00:00
David E. Jones
d60415c2cb
Added groovy support, implemented by Joe Eckard in jira #OFBIZ-1779; includes an example EditProductFeatures.groovy file showing somatures.groovy file showing some nice groovy syntax features, especially for Maps and Lists, though it isn't on by default yet in this commit, ie bsh still used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657645 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 21:57:07 +00:00
Adrian Crum
5bd8a77531
A couple of small fixups for the Ajax support.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656693 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 15:05:38 +00:00
David E. Jones
050bbde29a
Reverted fix from Hans that effectively disabled the method to remove the hash type prefix, and fixed the userLogin service code to and fixed the userLogin service code to remove the prefix from the db currentPassword value, which was missing and was causing the problem
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656515 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 06:10:50 +00:00
Hans Bakker
0955b594c2
a better fix than rev 656100
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656175 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 09:22:54 +00:00
Adrian Crum
4195b35a78
Added JavaScript detection to the framework. See https://issues.apache.org/jira/browse/OFBIZ-1648 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655712 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 02:25:55 +00:00
Scott Gray
8ec7821177
Added a method to strip comments when parsing java files, the artifact info stuff was getting a bit confused by them
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653181 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 05:38:38 +00:00
David E. Jones
0bc3a402fd
Some improvements for password encryption based on ml discussions: now supports reading weird old password hex conversion, plus a more standard/correct hex conversion using Apache Commons Codex Hex class, plus an attempt to encode using a hash type in a prefix in the database; will always save the encoded password using the default type specified in the config file and will put a hash type prefix on it for portability
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652224 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 01:58:00 +00:00
Jacques Le Roux
4973c9f293
This add the possiblity to run RMI services under WASCE or Geronimo.
...
There is only one small drawback : so far if you restart the OFBiz EAR from the console you loose the RMI Dispatcher. However stopping and starting (even after a restart) is OK. I guess it's the same for the commande redeploy, I will test tomorrow.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652177 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 22:35:32 +00:00
Jacques Le Roux
af63afe562
New version which automatically deploys in application server see https://cwiki.apache.org/confluence/x/IYBr for more informations
...
One base, one webapp, and the webtools web.xml files are slightly modified, nothing harmful anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@646349 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 13:51:39 +00:00
Jacques Le Roux
fd9aab4475
A patch from Yin T "Skip ".svn" subdirectories when searching for JAR files during ofbiz startup" ( https://issues.apache.org/jira/browse/OFBIZ-1712 ) - OFBIZ-1712
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@645935 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 14:11:23 +00:00
David E. Jones
b3ade46e61
Realized method name was bad for properties resource not found method, improved
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@645562 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:22:44 +00:00
David E. Jones
e6e13652af
Small refactor to preserve protected Map in UtilProperties
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@645561 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:21:26 +00:00
Adrian Crum
d0dff7df5e
Fixed problem with entity engine trying to translate fields using properties files that don't exist. Reported by Jacopo in https://issues.apache.org/jira/browse/OFBIZ-1736 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@645278 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 18:06:06 +00:00
David E. Jones
616490c775
Artifact info related artifact lists are now all sorted
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644386 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 16:02:16 +00:00
David E. Jones
3141bca290
Finished form to link/target request artifact info stuff
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644179 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 06:06:48 +00:00
David E. Jones
9aa394bb90
Added some utility methods to parse partial URL strings common in OFBiz links, especially in the widgets
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644149 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 03:34:14 +00:00
Adrian Crum
3b6c0f2a5f
Reverted the changes I made in rev 618892.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643951 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 16:06:55 +00:00
Jacques Le Roux
4933725124
A change needed for WASCE tool
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@643174 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 22:10:06 +00:00
Jacques Le Roux
94558b0dce
This fix an obvious bug I found when trying to run OFBiz under Geronimo. It's came in during incubation period
...
Look at http://svn.ofbiz.org/viewcvs/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java?rev=7900&view=markup (pre-Apache) the bug is not there,
now look at http://fisheye6.cenqua.com/browse/~raw,r=490457/ofbiz/trunk/framework/base/src/start/org/ofbiz/base/start/Classpath.java the bug is there,
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@642395 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 21:25:09 +00:00
David E. Jones
630950c653
Refactored xml file searching to make more general, now used to search for controller xml files for requests referred to in screen linktroller xml files for requests used in screen defs, code for forms soon to come
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@641730 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 07:53:39 +00:00
Jacopo Cappellato
4e5d5791b3
New attributes for the webapp element in the ofbiz-component.xml files: description, menu-name and position.
...
menu-name is used to separate the menu items in different menus, the position element che be used to sort them (alphanumerically) in the group.
There are now two menu groups: "main", for the main applications, in the top bar, and "secondary" for applications (specialized or not still 'mature'), in the footer.
Thanks to Bilgim Ibryam for the patch OFBIZ-1714, that I have committed with a few changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640307 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 04:07:34 +00:00
David E. Jones
fbc78ef874
Cleanups to controller url display to minimize it; changed view screen ref to look at all screen render types
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639954 13f79535-47bb-0310-9956-ffa450edef68
2008-03-22 06:11:04 +00:00
David E. Jones
8512cb6257
Changed to only log java files parsed on verbose
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639159 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 05:07:13 +00:00
Jacopo Cappellato
dee15e7d95
Implemented initial work on the retrieval of all the form and screen definitions for the artifact info classes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@638560 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 20:47:51 +00:00
Jacques Le Roux
bf3d2e6726
Patches from Chris Lombardi "POS: full credit card number is printed on receipt" ( https://issues.apache.org/jira/browse/OFBIZ-1687 ) - OFBIZ-1687
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@637310 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 00:33:36 +00:00
David E. Jones
2fa39223f3
Fixed issue with java parsing; fixed caching for ArtifactInfoFactory; small cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634183 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 07:40:48 +00:00
David E. Jones
f2efb5d7d0
Small improvements to java checking and wrapping plist files in real valid xml with headers and all
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634178 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 06:58:36 +00:00
David E. Jones
e6e09fcc68
Moved plist stuff to its own file; added simple class to look for stuff in Java code, amazingly seems to be working to find entities/seseems to be working to find entities/services in java services
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634119 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 02:08:10 +00:00
David E. Jones
1af406bebf
Changed plist export to use XML form, much more friendly to funny characters; a few fixes/improvements too
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633783 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 07:40:02 +00:00
David E. Jones
2bf0afbe4a
No real functional changes to operational code, just new stuff for getting meta data about entities, services, etc from the system
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633325 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 23:37:14 +00:00
Adrian Crum
1f67dfa057
Final fix for "resource not found" errors in mini-lang.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632106 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 20:03:15 +00:00
David E. Jones
22a58861f5
Some refactoring of the entity eomodeld export, wrote initial service and eca calling/called graph, still needs data gathering though
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630737 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 05:47:34 +00:00
David E. Jones
f6ff4a760d
Changed EOModelBundle entity stuff to use the generic plist out format routines
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630541 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 22:45:10 +00:00
David E. Jones
45a05eb58b
Added some utility methods for writing to plist files
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630532 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 20:50:02 +00:00
Adrian Crum
f418cd00a4
Oops, forgot to remove debugging code (again).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618942 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 09:52:38 +00:00
Adrian Crum
845593b452
Bug fix for the ResourceBundleMapWrapper - eliminate redundant Map Stack entries. Duplicate copies of ResourceBundles were being added to the MapStack.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618941 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 09:49:55 +00:00
Adrian Crum
0280a3a7fb
Simplified the ResourceBundleMapWrapper.java code by using inheritance. Also cleaned up and improved the Javadoc comments.
...
This code could be reduced further by converting InternalRbmWrapper references to Map references, and using the ResourceBundleMapWrapper class more like a plain MapStack. That will require refactoring peripheral code - a project for another day.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618892 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 04:59:57 +00:00
Adrian Crum
c15629ac64
Fixed "resource not found" exception that occurred when switching over to new XML properties file format - https://issues.apache.org/jira/browse/OFBIZ-1612 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618490 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 23:23:35 +00:00
Jacques Le Roux
5ac9e1bd1d
Oops... Reverted trunk in place of release
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611280 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 19:53:20 +00:00
Jacques Le Roux
ddb461f3cb
Reverted from previous commit merged automatically from trunk to merge changes by hand now...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611275 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 19:45:36 +00:00
Scott Gray
11e8f68718
Workaround a problem where DateFormat parses 00:00:00.2 to 00:00:00.002
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@611102 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 08:20:03 +00:00
Adrian Crum
43e7c199dd
Properties file resolver fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@609173 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 16:44:09 +00:00
Adrian Crum
6dcaa603bd
More refinements to properties file resolving. Many thanks to Scott Gray for his feedback.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608571 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 17:45:43 +00:00
Adrian Crum
aff0cffce9
Fixed properties file resolver in new UtilProperties code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 02:50:58 +00:00
Adrian Crum
987b444bdf
Fix for r607823. The OFBiz custom xml properties file format requires the file extension in the resource name. Detailed explanation in the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608156 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 17:41:16 +00:00
Scott Gray
e73aafe89a
Fixed a problem when a property isn't found in the bundle, the bundle throws an exception which wasn't being caught. Reported by Chris Lombardi in the user list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607848 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 14:08:07 +00:00
Scott Gray
996202bf95
Finally got around to getting rid of those annoying xml validation errors, should resolve OFBIZ-244 although I didn't test specifically for that error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607833 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 12:53:58 +00:00
Scott Gray
9883a45efe
Fixed a small problem with the new xml uiLabels, fail-property in minilang wasn't able to retrieve any xml properties.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@607823 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 10:50:01 +00:00