Andrew Zeneski
15e577f68e
added license header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770036 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 02:02:39 +00:00
Adam Heath
37a3734593
Some tightening of generics.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770034 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 01:59:21 +00:00
Adam Heath
9840b7cc1c
Fix some StringBuffer usage that has crept in.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770030 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 01:22:44 +00:00
Adam Heath
3510f7c574
Fix bad html in javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770029 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 01:21:50 +00:00
Adam Heath
65fce55790
Oops, this class got modified to use the removed AbstractHandler
...
before I removed AbstractResolver. Rewrote it to use ServiceRegistry
instead, which, as before, simplifies the code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770028 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 01:21:11 +00:00
Adam Heath
2220cb2419
Remove the Resolving classes; instead, make use of ServiceRegistry,
...
which simplifies the code quite nicely. However, this means that
the system will *not* walk the classpath, converting everything to
a file/jar, and trying to load *all* org.ofbiz.* classes. Instead,
it only will load those classes that have been configured to be
looked at, by way of the services text files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770025 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 00:58:04 +00:00
Andrew Zeneski
b3661fdd45
Integration with new Authz API - JIRA OFBIZ-2381
...
Note: implemented the same as widgets use of action="" uses old api, without action="" uses new api
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769965 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 22:10:42 +00:00
Andrew Zeneski
c0d6530bb6
Added check to prevent recursive permission lookup (when implementing dynamic access logic using services) - JIRA OFBIZ-2381
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769963 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 22:08:07 +00:00
Andrew Zeneski
4027891ed9
integration with new Authz API - JIRA OFBIZ-2381
...
NOTE: when using the action="" the old API is always used; when no action is specified the new API is used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769943 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:27:59 +00:00
Andrew Zeneski
8b50910fc8
integration with Authz Integration with new Authz API - JIRA OFBIZ-2381
...
use request.getAttribute("authz") instead of request.getAttribute("security")
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769937 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:14:21 +00:00
Andrew Zeneski
d8f436a148
Integration with new Authz API - JIRA OFBIZ-2381
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769936 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:11:35 +00:00
Andrew Zeneski
e3b9abb297
implementation of new authorization (authz) functionality -- JIRA OFBIZ-2381
...
NOTE: Even though there are a lot of commonalities with this and the older security framework, this was implemented to not conflict with the existing implementation; the purpose of this is so they both can run side by side during the migration process. Code not migrated will still function as expected and once this is complete, the old implementation will be removed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769928 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:01:25 +00:00
Andrew Zeneski
0914e26d41
Fixed spelling mistakes in comments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769920 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 20:45:57 +00:00
Adrian Crum
26c4787ec3
Updated the xsd URIs in XML files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769576 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 22:34:47 +00:00
Andrew Zeneski
8293ca3b9a
added method to run script from classpath; added annotations to suppress warnings
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769508 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 19:41:21 +00:00
Jacopo Cappellato
3b7e656368
As suggested by Joe Eckard in the ml, this will fix the barcode rendering that was broken after recent upgrade of FOP.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769500 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 19:04:37 +00:00
Andrew Zeneski
f7e613752e
refactored Authorization resolver to use the AbstractResolver superclass
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769475 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:32:16 +00:00
Andrew Zeneski
d37f55dba6
added abstract class resolver; this does the dirty work of searching for classes on the classpath
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769474 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 17:31:38 +00:00
Jacques Le Roux
5177814312
Reformatting, easier to read (also can't resist to use Ctrl+Shift+F in Eclipse+Oxygen).
...
We can do better by hand, so I kept those already well formatted.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769425 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 14:55:36 +00:00
Hans Bakker
cdf0d78cf0
corrected non-thread safe code after a comment from David
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 12:46:43 +00:00
Hans Bakker
4c0c034121
some more faultfixing on customer request notifications: mainly the partyIdTo was not provided
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769274 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 07:49:12 +00:00
Hans Bakker
9c6612b740
intermittent error seems to be solved with this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769236 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 04:16:19 +00:00
Scott Gray
4acd7cc4f9
Corrected simple method documentation regarding the transaction timeout UOM, added the same to the services xsd and fixed a couple of service defs that appeared
...
to be specifying milliseconds rather than seconds.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769205 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 23:53:40 +00:00
Christian Geisert
f66cfd956a
added missing Jar for FOP (needed for SVG/Barcode generating)
...
Barcode still not working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769030 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 15:42:11 +00:00
Scott Gray
0444b960a2
Wrap EntityListIterator usage in a transaction
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768999 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 14:19:33 +00:00
Scott Gray
50380d2301
Allow GenericEntity.NULL values through without warnings
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768984 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 13:52:31 +00:00
Jacques Le Roux
bf299998db
A patch from dukian "Tree widget doesn't apply parameter tag as Menu" ( https://issues.apache.org/jira/browse/OFBIZ-2325 ) - OFBIZ-2325
...
Thanks to Jacopo's comment which helped a lot to test!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768811 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 22:14:29 +00:00
Hans Bakker
04a2002fff
disabled new screen renders by accident....enabled them again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768691 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 09:17:56 +00:00
Hans Bakker
00a5b35040
put back requests backHome and backLast, now with security
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768690 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 09:05:07 +00:00
Jacques Le Roux
5de088f285
I have not seen this error for some times, but anyway this is more secure, suggested by Stephen Rufle on user ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768675 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 07:43:24 +00:00
Adam Heath
589c319f15
Don't do string addition, especially in a timing function.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768652 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 05:19:45 +00:00
Hans Bakker
a1bdfbb817
remove unused requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768643 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 04:58:50 +00:00
Adrian Crum
58e205ef4a
Small fixup for previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768640 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 03:57:55 +00:00
Adrian Crum
619ed2cfc0
Small fixup for previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768635 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 03:28:53 +00:00
Adrian Crum
2d44a4cec2
Cleaned up SaveLabelsToXmlFile.java code, converted to use new UtilXml methods.
...
This is an example of how to eliminate the use of the deprecated OutputFormat class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768634 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 03:21:40 +00:00
Adrian Crum
ea2b311338
A bunch of work in UtilXml.java:
...
1. Added methods to support DOM 3. They aren't used right now, but they are available if anyone wants to give it a try. Might be good for XML data exchange with payment processors and such.
2. Added JAXP TrAX methods to help replace deprecated org.apache.xml.* classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768633 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 03:19:15 +00:00
Jacques Le Roux
a35a032c3a
A patch from Ritika Somani "Add Tiny Text Box for Entity Name Search" ( https://issues.apache.org/jira/browse/OFBIZ-2273 ) - OFBIZ-2273
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768616 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 22:12:50 +00:00
Jacques Le Roux
0594f35d91
A patch from Tamer Sezgin "ij.ofbiz does not work" https://issues.apache.org/jira/browse/OFBIZ-2355 - OFBIZ-2355
...
+ update of Derby to 10.4.2.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768608 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 21:43:34 +00:00
Adrian Crum
d7704fc741
Removed two duplicate jar files from framework/webapp. The serializer jar already exists in framework/base, and the xalan classes should be included in the xerces jar - also in framework/base.
...
I'm not sure why the xalan jar was needed here. After removing the jar I did a clean and build and there were no error messages - so I'm assuming it isn't needed. If anyone spots any problems, it can be restored.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768545 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 15:09:55 +00:00
Jacques Le Roux
e9dc22fe91
Fix French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768517 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 11:53:05 +00:00
Jacques Le Roux
ae10eaaed3
Fix a bug (seems a typo), see dev ML for more
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768490 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 07:34:36 +00:00
Adrian Crum
678db887db
Eliminated unnecessary method by using Apache Commons.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768459 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 03:41:31 +00:00
Jacques Le Roux
abed3d34ed
The FormWidgetExamples only part of a patch from Erwan de FERRIERES "correction of the fo.ftl files calling" https://issues.apache.org/jira/browse/OFBIZ-2351 - OFBIZ-2351
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768358 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 16:42:06 +00:00
Adrian Crum
a334c6d401
Updated Xerces to version 2.9.1. This update will generate some deprecation warnings at compile time. I will be working on updating the framework code to eliminate the warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768339 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 15:55:14 +00:00
Hans Bakker
0c5a93074c
fix the new notification services using sendMailFromTemplateSetting using body parameters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768245 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 10:08:55 +00:00
Jacopo Cappellato
9eaac35f4d
Implemented macros for new renderers methods for creen widgets; cleaned up SimpleDecorator.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768213 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 07:59:08 +00:00
Jacques Le Roux
b136a7ead2
Consistent French translation (and test of xml:space : cool)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 07:19:16 +00:00
Adrian Crum
14b462dc50
Fixed a bug in Label Manager where empty values were not saved properly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768123 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 02:02:40 +00:00
Adrian Crum
1a4496c172
Some work on the screen widgets:
...
1. Added renderScreenBegin and renderScreenEnd methods to ScreenStringRenderer.java.
2. Updated HtmlScreenRenderer.java and MacroScreenRenderer.java to emit the <DOCTYPE> element first - before any widget comments or template content.
3. Removed <DOCTYPE> elements from templates that no longer need them.
4. Added screen and section boundary comments to MacroScreenRenderer.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767996 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 17:54:30 +00:00
Jacopo Cappellato
b9e73fbfbd
Fix for NPE reported by Hans Bakker in OFBIZ-2345
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767860 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 08:59:28 +00:00