Commit Graph
8242 Commits
Author SHA1 Message Date
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
Jacques Le Roux b0d60ef2d0 Some French Labels + a change Andrew suggested for CommonEmptyHeader. I commit it since it fix the problem at hand ("&#160;" codes floating all over the place)
But this is not as simple as the original issue is due to Labels Manager. 
If you put a sole space (ie > < ) for CommonEmptyHeader, then if you do some modifications with Labels Manager in this file and then save the file you will get
    <property key="CommonEmptyHeader">
        <value xml:lang="en"/>
    </property>

In order to cope with this I tried to write directly at SaveLabelsToXmlFile.saveLabelsToXmlFile[93] the String "&#160;" which should be ok. But I guess I would have to change the format passed to UtilXml.writeXmlDocument some lines below since else it write "&amp;#160;" and not "&#160;" as intended. Not sure it's possible though. And I have no time to look at it right now.

And we will have to deal with that in a complete way since else we will find an even worst trouble later (as soon someone will use Labels Manager to save changes in this file)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767845 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 08:18:48 +00:00
Jacques Le Roux 0b25d61ec3 Typo reported on user ML by "Charles"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767822 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 07:04:54 +00:00
Jacques Le Roux c50dd8feab Allow new lines, and more, in error and event messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767694 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 22:29:29 +00:00
Jacques Le Roux 269f7facf9 As suggested on dev ML, a message with more information to track unsecured URLs in Freemarker Templates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767688 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 22:02:27 +00:00
Jacopo Cappellato eb559a9539 Misc fixes to the macro renderers for widgets, including the fix (by encoding descriptions for the Uom) for the error reported by Ashish in OFBIZ-2337.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767496 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 12:46:51 +00:00
Jacopo Cappellato 914bff7d5c A series of fixes to the new macro widget renderers to better support nested calls to rendering methods; misc fixes to the screenlet pagination code for html. Part of issue OFBIZ-2337
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767455 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 10:32:57 +00:00
Andrew Zeneski 5375cb0ac7 dded touch points to userLogin & changePassword services to call AuthHelper for external authentication module support. Part of the new Authentication API. This commit also includes the service changes for the new 'externalAuthId' field on UserLogin.
Part 1: define the API for external authentication modules (done rev 767281)
Part 2: update LoginServices to call AuthHelper for external modules (done)
Part 3: create example Authenticator (in progress)
Part 4: update LDAP implementation to use new API (not started)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767300 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 21:20:16 +00:00
Andrew Zeneski fd57419b0c added generic field to UserLogin for external authentication. The current LDAP specific field should be migrated to use this new generic field.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767284 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:28:12 +00:00
Andrew Zeneski ae0a6ec821 updated javadocs and added missing license
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767282 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:18:10 +00:00
Andrew Zeneski eb103f9f0b initial implementation of new Authenticator API.
Part 1: define the API for external authentication modules (done)
Part 2: update LoginServices to call AuthHelper for external modules (in progress)
Part 3: create example Authenticator (in progress)
Part 4: update LDAP implementation to use new API (not started)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767281 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 20:14:27 +00:00
Adrian Crum 68bc161651 Fixed invalid HTML generated by the menu widget. Updated BlueLight theme to use valid HTML.
When creating new themes for OFBiz, it is important to follow the guidelines here:

http://docs.ofbiz.org/display/OFBIZ/OFBiz+maincss.css+HTML+Element+Collection+Styles


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767221 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 16:57:51 +00:00
Jacques Le Roux aaa94de2cd last component:// in controllers missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767125 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 12:30:36 +00:00
Jacopo Cappellato a96a27bbeb Enabled by default the new screen/form renderers (for html, xml, txt) based on Freemarker macros. This should speed up the testing phase; we should not commit this change to the release branch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767101 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 10:07:52 +00:00
Jacopo Cappellato d93d61fce4 Initial step for formatting fixes to the html widget macro library to improve readability of html output and macro scripts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767096 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 09:53:24 +00:00
Adrian Crum 84064b8b1c Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766834 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 19:54:25 +00:00