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 (" " 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 " " 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 "&#160;" and not " " 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
Adrian Crum
27f82900f8
Fix for UEL expressions where IDs are used for Map keys.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766827 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 19:36:29 +00:00
Hans Bakker
312c4e1b4b
reverted some unwanted changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766623 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 08:46:13 +00:00
Hans Bakker
bd2d2fcc86
start forward and reply with status pending
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766618 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 08:38:35 +00:00
Jacques Le Roux
767816670d
Correct French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766522 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 21:21:18 +00:00
David E. Jones
8e2ae77503
Changed theme selection page label for link going back to main from Cancel to Done; as discussed a bit ago on the mailing list this is confusing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766520 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 21:11:18 +00:00
Jacques Le Roux
0843ed6025
Some French labels using Labels Manager. One more time, great tool, thanks Marco!
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766518 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 21:05:31 +00:00
Jacques Le Roux
810944f2f5
Fix an issue with CommonEmptyHeader
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766516 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 21:01:01 +00:00
Jacques Le Roux
46038493c4
Revert r766443 commited by accident
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766446 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 11:06:54 +00:00
Jacques Le Roux
59dcd48d1b
This was a commit error
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766443 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 10:27:47 +00:00
David E. Jones
6b6955adf0
Fixed bug reported by BJ Freeman in Jira issue #OFBIZ-2319 where export of view entities to a file (not to browser) was failing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766431 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 07:08:11 +00:00
David E. Jones
a415efaaa3
Based on feedback from Philippe Mouawad in Jira issue #OFBIZ-2315 changed the non-ThreadLocal maps to be synchronized
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766429 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:49:58 +00:00
David E. Jones
70f8da92bb
Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +00:00
Jacques Le Roux
192afed042
Fix r766325 thanks to Sam Hamilton on dev ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766336 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 15:08:35 +00:00
Jacques Le Roux
2e60246205
Google map key for 904
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766325 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 14:06:00 +00:00