Commit Graph
746 Commits
Author SHA1 Message Date
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 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 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
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
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 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
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
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 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
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
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 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
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
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 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 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
Hans Bakker 4e04f14ae9 OFBIZ-2314
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765933 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 10:20:28 +00:00
David E. Jones 5bbcd23a1c Too many issues with smoothfeather, for now bluelight looks like a good default theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765906 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 08:48:48 +00:00
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
David E. Jones 32e673754a Moved old default theme data and files to new flatgrey theme; small corrections for use of messages.ftl; added setting in general.properties for the default theme ID; changed default theme to smoothfeather
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765862 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:29:09 +00:00
Andrew Zeneski 706e4d5e21 minor changes to better understand why an email may fail to be sent; specific excpetions are now caught
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765476 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:55:51 +00:00
Andrew Zeneski a13cf52485 added marketing email purpose type; cleaned up the contact list send communication UI (added field-groups and made less used items hidden in a collapsed group) set a bunch of default values on the communication event.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 21:38:25 +00:00
Anil Patel 87d0fe0492 Small string externalization work. Thanks Divesh for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764684 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 06:18:26 +00:00
Hans Bakker 70c4771995 make header expand/collaps again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764492 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 14:47:27 +00:00
Adrian Crum f67ea1a83e Removed duplicate DOCTYPE element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764301 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 16:53:26 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux 0e96db3826 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 22:18:05 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker c1491066f0 moved custrequest notification from myportal to order,moved other programs around, reorganized customer request status handling, replaced cust request roles from ftl to form, removed other used programs from myportal. Now only the party registration is left in myportal.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 07:58:00 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
David E. Jones cb912acfec Moved the CustomTimePeriod CrUD service impls back to framework/common, moved by mistake along with the find service before; thanks to CJ Horton for reporting this; related to OFBIZ-2275, though patch there is not used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762624 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 05:21:26 +00:00
Jacques Le Roux a3d4856d8f A patch from Erwan de FERRIERES "Just a french syntax error" https://issues.apache.org/jira/browse/OFBIZ-2274
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762343 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 13:58:56 +00:00
Hans Bakker 897e5b96f1 delete mypage component,moved some labels, myportal is a good replacement
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762245 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 07:53:25 +00:00
Jacques Le Roux 9bbc40ca01 On David and Hans advices
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762221 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:41:10 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux f9c14d2d1c Fix r762207
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762211 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 05:00:46 +00:00
Jacques Le Roux 10872c2734 Should fix https://issues.apache.org/jira/browse/OFBIZ-2260?focusedCommentId=12695160&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12695160
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762208 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 04:41:08 +00:00
Jacques Le Roux e86fb8912e Long life to demo.ofbiz.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762207 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 04:36:28 +00:00