Commit Graph
319 Commits
Author SHA1 Message Date
Si Chen c22c243cb9 reverted last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686356 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 20:20:34 +00:00
Si Chen a00fc0f160 more comments on OFBIZ-1915
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686311 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 18:32:58 +00:00
Si Chen e5451f7f18 OFBIZ-1915 from Jeremy Wickersheimer for request-redirect-filter-param
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686301 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 18:15:39 +00:00
Adam Heath 963b50cc44 Bah, bad doogie, bad. Always at least *compile* your changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685964 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 17:16:42 +00:00
Adam Heath 851c88ea77 User agent and referer were star-crossed lovers. Now they have gone
out on their own.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685962 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 17:12:01 +00:00
Adam Heath e410552cc9 No longer *copy* the extra support files into the classes dir;
instead, just add them straight to the final jar.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath 90426d4b6d Split framework/base into framework/start; now all components have
exactly the same type of layout.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684377 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 23:38:36 +00:00
Adam Heath 99bf46f085 Switch most new File(string_with_path_separator) calls to
FileUtil.getFile.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682266 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 06:08:42 +00:00
Adam Heath 4f50ff1a92 Fix broken conversion to enhanced for loop; previous code started
checking at index 1, not index 0.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682228 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 22:29:53 +00:00
Adam Heath 5cf9c7f1c6 Another large set of generics/java15 markup/feature usage.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682067 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:56:42 +00:00
Adam Heath b6a1ae5e5e Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
David E. Jones 83f56ef712 Deprecating the loopSubContentCache transform because it is a huge mess and the loopSubContent uses the cache anyway; also found that the DemoWebSitePublishPointData.xml file had half of the ContentAssocs going one way, and half another; that is now fixed so they always go from parent to child; this required changes to the loopSubContent transform and various other cleanups along the way and a few fixes; some of these sample uses of the content infrastructure have got to be close to the worst code I've so hopefully someone will have some time to continue cleaning this up and keep their head about them while doing so in order to not make it worse
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681276 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 05:03:31 +00:00
Andrew Zeneski 6eb07f0014 added flag to disable the cached classloader; conflicts with certain libraries which plug into the servlet container (i.e. JSF)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679876 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 18:43:45 +00:00
Jacques Le Roux 641ff10050 Update Copyright to 2008
A real replace in files feature was one of the reasons I use Eclipse 3.4 for near a year now (I even helped to test, a real must have :o)
Not sure previous commit was sent partially or not at all (I needed to update)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 18:56:25 +00:00
Jacques Le Roux 89cbe8b368 A patch from Markus Studer ""german translations for framework - base, minilang, service, webapp" (https://issues.apache.org/jira/browse/OFBIZ-1878) - OFBIZ-1878
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676947 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 16:02:31 +00:00
Jacques Le Roux 4f4b4e5e43 Revert previous change done unintentionnaly while testing Subclipse 1.4 new interface (so far I preferred the old one...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676279 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 08:45:11 +00:00
Jacques Le Roux 80c57126a0 New French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676274 13f79535-47bb-0310-9956-ffa450edef68
2008-07-13 08:21:54 +00:00
Adrian Crum 4bd597df22 FreeMarkerWorker.java improvements:
1. Better handling of the FreeMarker Configuration instance. Eliminated the need for synchronizing code.
2. OFBiz transforms are now kept in the Configuration object - no need to load them into the rendering context on every run.
3. Some small code cleanups.

FreeMarkerViewHandler.java improvements:

1. Eliminated redundant Configuration object initialization by cloning the Configuration object kept in FreeMarkerWorker.
2. Now supports the "component://" syntax for page attribute.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674222 13f79535-47bb-0310-9956-ffa450edef68
2008-07-05 18:43:21 +00:00
Adam Heath c279005e17 Bother, stupid me, jsp won't find the method if the signature is
changed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672913 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:56:06 +00:00
Adam Heath efbcaa3542 Set addInParameter to take a String key, as the in parameters are
used to call the esrvice engine.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672912 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:53:29 +00:00
David E. Jones 204d775174 More entitygroups gone, all of framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672910 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:49:10 +00:00
Adam Heath 1dc13f6105 Number.valueOf changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672898 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:20:37 +00:00
Adam Heath 18391f98a9 The build.xml files are now much smaller and simpler; they reuse a
few global definitions.  1585 lines removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Anil Patel 6a74345536 JSON handler for simple method events.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671706 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 01:50:39 +00:00
David E. Jones 922952d8e2 Changed so that the parameters Map is more consistent with the one in the screen widget,, other small cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671564 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 14:31:29 +00:00
Scott Gray d596d6e904 Added some convenience variables for groovy events as suggested by David on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@671503 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 10:43:50 +00:00
Jacques Le Roux 10676abb06 A patch from Michael Brohl "Configure cookie use for a module through the ofbiz-component.xml" (https://issues.apache.org/jira/browse/OFBIZ-1831) - OFBIZ-1831
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-21 23:02:59 +00:00
Andrew Zeneski d9ab64888d fixed encoding issues with SOAP responses; now ignoring all internal parameters for SOAP client calls (when TimeZone was added it broke the encoding)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669642 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 18:47:13 +00:00
Jacopo Cappellato b2ac94a266 Added support for the skip-end attribute to form widgets of type "multi": now it is easier to add "global" form parameters to multi forms by concatenating a single form to a multi form with skip-end set to true.
Modified the way submitted multi form rows are counted: now the hidden _rowCount field in the form is no more needed because rows are counted in the ServiceMultiEventHandler (using the util methods that I have implemented in the UtilHttp class).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667930 13f79535-47bb-0310-9956-ffa450edef68
2008-06-15 06:27:15 +00:00
Jacopo Cappellato 42723effc3 Implemented new event handler for Groovy scripts; converted two Beanshell events to Groovy.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662337 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 06:28:55 +00:00
Jacopo Cappellato fbc52e02dc Several improvements to the Italians labels by Bruno Brusco: OFBIZ-1805
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660816 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:38:39 +00:00
David E. Jones b9d6f8b524 Changed EntityExpr and EntityFunction subclasses to use the factory instead of constructor pattern, plus moved EntityExpr to EntityCondition factory methods; a number of EntityExpr cleanups, but many more to go
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660812 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:20:09 +00:00
David E. Jones 3543d6abe3 Changed the way EntityCondition sub-classes work so they use the javolution Reusable class for recycling objects; now all conditions should be created using the factory methods on the EntityCondition object instead of the direct constructors; there is a small variety of classes available there now for ease of use; also changed a bunch of old code to not use the deprecated constructors; note that still need to do a pass similar to this on EntityExpr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660780 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:58:46 +00:00
Andrew Zeneski 5095e4e09f added support for third party policy servicers; setting the userLoginId in a request header, ofbiz will assume the user has already been authenticated and log the user in.
This is DISABLED by default (see security.properties) be sure your policy server is running in front of ofbiz to avoid security issues (spoofing).

Jira: OFBIZ-1781


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656008 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 20:59:03 +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
David E. Jones 329631a4b5 A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
David E. Jones 3b7660fc3b Added feature to entity engine to support generic audit log that can be used for any field; values are converted to a string and l using the enable-audit-log attribute on the entity->field element; the Testing entity uses it now for the testName; this also has functionality to associate user info like the userLoginId with the thread so that the EE knows about it automatically, and uses a stack for flexibility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652226 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 02:02:29 +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 64e46094b7 A patch from Nicolas Mervaillie "JSON event handlers send truncated response when it contains accented chars" (https://issues.apache.org/jira/browse/OFBIZ-1752) - OFBIZ-1752
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@650083 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 10:18:20 +00:00
Jacques Le Roux f8d48464c5 From a Yin T's suggestion "Remove hardcoded value" in (https://issues.apache.org/jira/browse/OFBIZ-1743) - OFBIZ-1743
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@647417 13f79535-47bb-0310-9956-ffa450edef68
2008-04-12 10:31:52 +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
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 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
David E. Jones aa4d60d4b8 Refactored to put the request response options in their own Map to be cleaner and avoid conflicts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@638242 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:55:09 +00:00
David E. Jones 0ceb1de0aa Changed artifact info classes to extend a common base class; added classes (incomplete still) for controller request and view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@638210 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 04:40:06 +00:00
Christian Geisert 725ceb71e6 Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634600 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 10:16:45 +00:00
Hans Bakker d3732f6bc3 convert most of the framework language properties files to xml and added the thai language
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630751 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 07:39:46 +00:00
Jacques Le Roux 85f337520a A patch from Bilgin Ibryam "Login process strange behavior" (https://issues.apache.org/jira/browse/OFBIZ-1145) - OFBIZ-1145
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630434 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 13:45:00 +00:00
Hans Bakker 18effbc6e2 new Handler, not tested, but I am sure Bilgin wil
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618594 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 09:52:38 +00:00
Jacques Le Roux d3669ceeee A slightly refactored patch from Chris Howe "visit tracking should default to on" (https://issues.apache.org/jira/browse/OFBIZ-1554) OFBIZ-1554
Maybe the title could have better been "Allow requests to provide guidance on tracking"

Refactoring : one liner syndrom, but note I kept uriString : not totally affected, some brain remains. I also wondered if keeping appStat and appVisit could provide some kind of information but finally chose to do like it was already done in lines just below. This note only to follow the discussion we had on this topic in dev ML.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@608574 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 17:52:27 +00:00