Commit Graph
6159 Commits
Author SHA1 Message Date
Erwan de Ferrieres 0df2322108 A patch from Olivier Heintz - OFBIZ-4507 - French spelling correction in uiLabel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1188389 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 21:21:22 +00:00
Hans Bakker 2c234661ac update the backend top left logo by specifying a url in the current accounting company partygroup or uploading a logon in partycontent. the logo will also show in the partyprofile. All themes are updated. Contribution of Antwebsystems employee 'Nop'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185102 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 10:58:47 +00:00
Hans Bakker d3b0d26077 change info message to verbose
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1185031 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 07:37:21 +00:00
Jacques Le Roux 6cc1830b30 A patch from Dimitri Unruh https://issues.apache.org/jira/browse/OFBIZ-4471
"Minor API Extension for WebSiteWorker.java"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1184997 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 04:54:52 +00:00
Jacques Le Roux dc056e77ed Replaces 3 hardcoded sentences in <default-message> introduced at (r1170129, r1142915) since r1132726. Few remains... asking Hans...
Introduces also 2 new labels that will be used soon with commit for WIP OFBIZ-3913 (External Devices by Nicolas)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1183423 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 16:59:16 +00:00
Ashish Vijaywargiya 0ec8f44676 Bug fix: Applied patch from jira issue OFBIZ-4441. UtilXml firstChildElement should use getNodeName instead of getLocalName.
We have observed the same issue in past and provided a patch for the same. For more details please refer the commit r995384.

Fixing bug of reading node name. When we read first child element of the response of any third party integration for example ups etc, node name can't be read using "node.getLocalName()". So changing  node.getLocalName() --> node.getNodeName().

This time before I revert my changes I will wait for Bilgin's comment to understand the exact problem with SOAP call due to which he did this changes. Bilgin please post your comment on this as soon as you get a chance.
http://svn.apache.org/viewvc?view=revision&revision=894359 

Thanks Kiran, Sascha for the contribution. We were also observing this issue since quite long so for now it is better to put the code in trunk and releasebranch. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1183314 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 11:39:19 +00:00
Jacques Le Roux d10ff1719f JQuery team does not care about plugins consistency, so we have to be careful. For instance, for more fun: in validate plugin we have also ptpt and ptbr...
Just found by chance while looking for consistency in JsLanguageFileMappingCreator class after refactoring

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182858 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 13:51:37 +00:00
Jacques Le Roux 690a5dd02e Fix a bug reported by Chatree "JavaScript location is empty causes a double requests problem" https://issues.apache.org/jira/browse/OFBIZ-4477
In r1178199, I missed to use the default DateTime file (jquery.ui.datepicker-en.js) being still with the idea that it was handled internally.

I have also refactored/simplified JsLanguageFileMappingCreator class and put comments to better explain how all that works






git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182731 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 09:07:12 +00:00
Jacques Le Roux bf6d97f7c6 Fix a small bug in the show description tootip feeding (related to autocomplete and lookup)
It was cutting the 1st part in case of composed names (like "Tiny Gizmo").

Actually this is a compromise because it's impossible to correctly handle all cases w/out a deep (maybe impossible) refactoring on searchFields in Lookups screens definition.
So now for few lookups, tooltips descriptions will possibly contain more/redundant information than before (like "admin THE ADMINISTRATOR" in Order Creation, instead of only "THE ADMINISTRATOR" before) but by and large the behaviour will be better (ie descriptions will contain more complete information). This is obvious for products lookups for instance, but not only....

I have tried to generalize using the same logic in lookupDescriptionLoaded (in adding a showDescription parameter), but gave up as it was making things more blurred than before

I don't backport: more an improvement than a real bug


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182596 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 22:02:46 +00:00
Jacques Le Roux 810bd966a8 Fix a small bug: layoutSettings.javaScripts was used when layoutSettings.styleSheets should have been used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182310 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 11:18:28 +00:00
Jacques Le Roux a410f8fd1d Fix a bug here, there was a circular reference to EditGeo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182308 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 10:55:52 +00:00
Jacques Le Roux 3008a8d500 Better French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182257 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 08:27:59 +00:00
Jacques Le Roux c58e94dca6 Makes the fieldlookup.gif background transparent. This should have been done far earlier :/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1181878 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 16:31:05 +00:00
Jacques Le Roux 8c06f33d4b A patch from Kiran Gawde "Reference to datetimepicker is wrong in CommonScreens.xml" https://issues.apache.org/jira/browse/OFBIZ-4463
Need to replace
/images/jquery/plugins/datetimepicker-0.9.6/jquery-ui-timepicker-addon.css
with:
/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-0.9.6.css

Note the reference is in two places.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1180398 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 16:09:32 +00:00
Sascha Rodekamp 5e41d63234 FIX: A patch from Leon which fixes the dependent State dropdown https://issues.apache.org/jira/browse/OFBIZ-4349
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1179943 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 06:25:06 +00:00
Hans Bakker 98b44216d8 use different symbols in the HR organization tree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178718 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 08:19:49 +00:00
Jacques Le Roux 399b52a033 Closes "The time part (cursors) of the Date Time picker is not internationalized" https://issues.apache.org/jira/browse/OFBIZ-4015
Fixes the problem by:
* Updating datetimepicker from 0.9.3 to 0.9.6 (where a localization folder exists)
* Use the fantastic createJsLanguageFileMapping service Sascha introduced (I just removed the confusing wrong comment about JsLanguageFilesMapping.ftl being generated and added a block for datetimepicker, also in JsLanguageFileMappingCreator.java). A very good dynamic+static tool, kudos Sascha!

Should work also in eCommerce though I did not found any uses

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178199 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 15:59:12 +00:00
Jacques Le Roux ad692bd0dc Removes trailing whites spaces just introduced
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178169 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 09:59:03 +00:00
Jacques Le Roux 1daa37ff37 * Removes tabs in AccountingEntityLabels.xml
* Moves FormFieldTitle_isPublic from Order to Common, was also used in Content
* Improves French FormFieldTitle_isPublic label

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178167 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 09:58:29 +00:00
Jacques Le Roux 087262557c * Uses rather minified css for elrte Editor
In last commits (1178141, 1178111) I put wrong paths for:
* elrteEditor for css pathes is now elrte-1.3
* missed js in elrte-1.3/js/i18n for i18n files



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178166 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 09:48:05 +00:00
Jacques Le Roux 70902dcb86 Missed a change in HtmlFormRenderer.java
Removes useless/redundant jQuery files
Adds a elrte translation file for Ukraine file which was provided in a patch from Sascha related to 1.2 but is missing in 1.3

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178151 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:49:58 +00:00
Jacques Le Roux 1a2cc4faf9 In order to try to resolve "i18n for elrte editor" https://issues.apache.org/jira/browse/OFBIZ-4051, 1st update elrte Editor from 1.1 to to 1.3 version
Also removes now useless older jQuery versions I kept so far for a problem nobody cares about anyway

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178141 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:06:49 +00:00
Jacques Le Roux d937f0eb19 Better formatting, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1177927 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:10:42 +00:00
Hans Bakker 43b189eb30 make edit in place also work with quotes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1176784 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:31:53 +00:00
Erwan de Ferrieres 573f6f401a A patch from Youssef Khaye: Date time field with input method set to time-drop-down is not working correctly OFBIZ-4448
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1175474 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 18:15:11 +00:00
Jacques Le Roux 1943d2cf4e A patch from Christian Fischer "Content HTML-safe, wasn't necessary for the autocomplete" https://issues.apache.org/jira/browse/OFBIZ-4434
Before the patch, the content was made HTML-safe, what wasn't necessary for the autocomplete. Also, it displayed things like "F&umlr", because it made the umlauts HTML-safe, too.
The patch uses the stringwrapper from the stringUtil.java to avoid the general HTML auto-encoding.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1175122 13f79535-47bb-0310-9956-ffa450edef68
2011-09-24 07:44:28 +00:00
Jacques Le Roux 69d65781ea A patch from Dimitri Unruh "With no DistributionCacheClear JMS is not working anymore." https://issues.apache.org/jira/browse/OFBIZ-4296
Tested in both case (with and w/out dcc), works fine AFAICT

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1174964 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 19:22:40 +00:00
Hans Bakker 005916c7c1 another small error correction to the tenant load data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1174525 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 05:30:10 +00:00
Erwan de Ferrieres ca8143f679 Resolving OFBIZ-4349 - commit r1077940 breaks the function to retrieve i18n translation from real entity underlying a view
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1174308 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 18:36:25 +00:00
Erwan de Ferrieres 42fea3f319 A patch from Charles STELTZLEN - OFBIZ-4442 - French translation missing in portal pages management
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1174274 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 17:34:27 +00:00
Sascha Rodekamp 841c09a114 FIX: A bug reported by Kiran Gawde: The dependent drop down list for countries and states didn't work. I fixed an error in the entitymodel definition for the GeoAssocAndGeoToWithState View-Entity (https://issues.apache.org/jira/browse/OFBIZ-4437)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173996 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 08:52:34 +00:00
Hans Bakker cea83127a0 correcting the ordering of loading the data for tenants
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173994 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 08:28:59 +00:00
Hans Bakker d2617ff344 make the response to ./stopofbiz.sh more userfriendly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173944 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 03:15:21 +00:00
Sascha Rodekamp 082526b9de FIX: Wrong use of toArray() method (https://issues.apache.org/jira/browse/OFBIZ-4425). A patch from Dimitri Unruh which replaces Array Casts with a propper call of the toArray method.
String[] temp = (String[]) foo.toArray(); <-- may cause class cast exception it is better to use: String[] temp = foo.toArray(new String[foo.size()]) 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173607 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:53:35 +00:00
Sascha Rodekamp 16e6a8fef2 FIX: Using equals() with different object types (https://issues.apache.org/jira/browse/OFBIZ-4422). A patch from Dimitri Unruh which fixes the equals method of the RunningService class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 12:29:52 +00:00
Adrian Crum e341923a6a Small JavaDoc fixup for my last commit - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1173047 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 09:26:27 +00:00
Hans Bakker b64da95ceb add 2 new tenant ant commands to load seed/demo data for a specific tenant only: './ant run-install-tenant -DtenantId' and './ant run-install-tenant-all' for all tenants in the tenant enttity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172989 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 06:23:02 +00:00
Adrian Crum 4b7cd7434a Changed the screen widget boundary comment behavior per a discussion on the dev mailing list. Setting the widget.properties file widget.verbose property to false now acts like a "master switch" to turn off all widget boundary comments - it ignores all other settings. If the property is set to true, then the setting can be overridden in web.xml or in the screen context.
This commit also removes the demonstration widgetVerbose setting in the Example component's web.xml file - which caused some confusion, and it comments out the setting in the web.xml file that is used for creating new components.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172954 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 02:55:44 +00:00
Jacques Le Roux 4711b7a1c5 A slightly modified patch from Dimitri Unruh "Minor code style improvement" https://issues.apache.org/jira/browse/OFBIZ-4400
I forgot the services.xml file in r1172342

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172344 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 20:52:34 +00:00
Jacques Le Roux 480435601f A slightly modified patch from Dimitri Unruh "Minor code style improvement" https://issues.apache.org/jira/browse/OFBIZ-4400
In the createJsLanguageFileMapping service, the catch blocks have assigns to a local variable in a return statement.

Simplified further on Adrian's advice.

jleroux: I have also organized imports

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172342 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 20:48:27 +00:00
Jacques Le Roux d8eb4f7634 A patch from Varun Bhansaly "Issue receiving emails with attachment" https://issues.apache.org/jira/browse/OFBIZ-4413
Some Background : In our customization we have configured MCA to process incoming emails which is basically a custom service this service in turn calls service storeIncomingEmail, and rest of the custom code follows.
Now though we are able to receive emails (which can be seen in the communications in party manager), we have noticed that system does not some process the attachments and creates the link between communication event and content.

Analysis shows, MimeMessageWrapper.getAttachmentIndexes() while checking for content disposition, does a case sensitive comparison, which should rather be case insensitive.
This small change fixes the issue.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172213 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 07:53:49 +00:00
Hans Bakker 0ee18aea7d internal help should be https otherwise not work within the backend, added a new request to be able to show the help screens without ssl and logging in
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172175 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 02:58:13 +00:00
Jacques Le Roux 00afa0c283 A patch from Dimitri Unruh "Some dead variable assignments " https://issues.apache.org/jira/browse/OFBIZ-4426
Some value assignments to local variables without reading or using it.

jleroux: indeed I don't see any reasons to set the size of a byte array before feeding it with String.getBytes(), since NPE is handled above. I have even simplified it more using function composition style.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172015 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 16:51:38 +00:00
Jacques Le Roux aa575abceb Closes https://issues.apache.org/jira/browse/OFBIZ-3403 "webtools xml data export to browser not working"
I finally think it's enough for this feature (I used html in label, but who cares)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1171983 13f79535-47bb-0310-9956-ffa450edef68
2011-09-17 14:03:49 +00:00
Hans Bakker f53cbf37f8 make the helpsystem public so the helpscreens can be referenced with a simple url
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1171443 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:32:22 +00:00
Sascha Rodekamp 2dd668708f FIX: IO stream objects are not closed (https://issues.apache.org/jira/browse/OFBIZ-4420) A patch from Dimitri Unruh: Some methods are creating an IO stream object without closing it, so it could result on a descriptor leak.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1171393 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 06:04:21 +00:00
Sascha Rodekamp a9248102ed FIX: encodeURI before construct a new href value for nav-buttons in layered lookup dialog. (https://issues.apache.org/jira/browse/OFBIZ-4423) A patch from Leon which fixes an encoding issue in the lookup URLs: In IE, if you use link's href to call javascript function and its parameter contains encoded multi-bytes characters, such as "%E2%82%AC" which is the result of encodeURI("€"), IE will incorrectly unescape it to "€" and then javascript call return unexpected result.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1171391 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 05:54:18 +00:00
Sascha Rodekamp 9f5323c617 FIX: blockingTestScv Service is set to export="true" (https://issues.apache.org/jira/browse/OFBIZ-4417) A patch from Dimitri Unruh which sets the export flag to false: blockingTestScv Service is set to export="true" without any user authorisation. So it is possible to "crash" the whole system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1171028 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 10:03:51 +00:00
Sascha Rodekamp 46b29a9911 IMPROVEMENT: Replace String concatenation in a loop (https://issues.apache.org/jira/browse/OFBIZ-4418) A patch from Dimitri Unruh.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1170961 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 06:04:29 +00:00
Sascha Rodekamp 16607bb1ac UPDATE: Some improvements with Map iterations (https://issues.apache.org/jira/browse/OFBIZ-4415) A patch from Dimitri Unruh which improves some Map Iterations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1170525 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:52:01 +00:00