Commit Graph
6308 Commits
Author SHA1 Message Date
Adrian Crum f4de5909bb Minor change to sendMailFromTemplateSetting service: Log message when no email address is found instead of throwing exception.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1294102 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 10:52:22 +00:00
Hans Bakker 7952083abd In 'data export all' be able to select a fromdate , tabs to spaces in a birt file from last commit. Contribution from Chattree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1294048 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 07:33:05 +00:00
Hans Bakker 92397979ed upgrade BIRT to 3.7.2 http://www.eclipse.org/birt/phoenix/project/notable3.7.php
- Addresses BIRT engine with a new POJO based runtime
- Add more content types
  * Post Script
  * Open Document Text
  * Open Document Spreadsheet
  * Open Document Presentation

- Remove warning messages at compile time
- Set an override content type in the view handler

A contribution of Chattree



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293999 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 02:37:16 +00:00
Jacques Le Roux 5b43cd8035 Updates log4j from log4j-1.2.15.jar to log4j-1.2.16.jar.
BTW this remind me Jacopo's question (on user ML) about Selenium in OFBiz usage...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 11:23:13 +00:00
Jacques Le Roux 0acaefd402 A patch from Nicolas Malin "On extend form, use call-parent-actions element to run the herited form action" https://issues.apache.org/jira/browse/OFBIZ-2889
On widget form at this time the actions on parents form is not executed if child form contains also actions.
A solution is to implement a new element call-parent-actions on <actions> and <row-actions> element.
for more info see : http://markmail.org/message/hy3puy3fhpzqo7fd

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293565 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 10:00:43 +00:00
Jacques Le Roux aa27c73baa A patch from Nicolas Malin "Label not loading on entityext components" https://issues.apache.org/jira/browse/OFBIZ-4717
The configuration directory config isn't loaded on the entityext's ofbiz-component.xml file.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293557 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 09:30:35 +00:00
Jacques Le Roux a3c423a3a3 A patch from Nicolas Malin "French uilabels for EntityExt components" https://issues.apache.org/jira/browse/OFBIZ-4716
French label in EntityExtUiLables.xml config file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293556 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 09:27:02 +00:00
Jacques Le Roux 642ebe11e6 A patch from Markus M. May "Adding German UI Labels on framework CommonUILabels" https://issues.apache.org/jira/browse/OFBIZ-3838
I'd like to have a review of this slighly modified patch (no labels changes) by a German speaking committer or contributor.
Because some labels are replaced and my German is not good enough (it's not good at all) to be able to take a decision by myself

Here are the points I'm unsure about

-        <value xml:lang="de">Forderungen</value>
+        <value xml:lang="de">Debitoren</value>

-        <value xml:lang="de">Klicken Sie hier</value>
+        <value xml:lang="de">Hier klicken</value>

-        <value xml:lang="de">Ansehen</value>
+        <value xml:lang="de">Suchen</value>

-        <value xml:lang="de">Neues Passwort (zur Überprüfung)</value>
+        <value xml:lang="de">Neues Passwort (Wiederholung)</value>

-        <value xml:lang="de">Erstellt von Benutzeranmeldung</value>
+        <value xml:lang="de">Erstellt von Benutzer</value>

-        <value xml:lang="de">Zuletzt geändert von Benutzeranmeldung</value>
+        <value xml:lang="de">Zuletzt geändert von Benutzer</value>



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293232 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 12:50:08 +00:00
Adrian Crum 827290f103 Refactored ModelDataFileReader.java - fixed thread-safety issues, simplified some unnecessarily complicated code, un-hide exceptions so the UI can display them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1291007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 14:39:10 +00:00
Jacques Le Roux 90c21deb08 A patch from Kiran Gawde "renderFormClose is missing arguments containerId, hasRequiredField" https://issues.apache.org/jira/browse/OFBIZ-4701
In htmlFormMacrolLibrary.ftl, renderFormClose has containerId, hasRequiredField.
But csv, fo, text, xml FormMacroLibary.ftl don't have these fields for this macro.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1245778 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 21:52:25 +00:00
Hans Bakker 859f1c91df OFBIZ-4698: the price service check the currency.uom.id.default property from a system propery. Thanks Chattree for the contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1245324 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 06:13:28 +00:00
Jacques Le Roux 4eb4ae56e3 A patch from Markus M. May "Add german translation to TemporalExpressionUiLabels.xml" https://issues.apache.org/jira/browse/OFBIZ-4700
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1245130 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 19:26:39 +00:00
Erwan de Ferrieres a8ce326075 OFBIZ-4667 At the time of page load unnecessary ajax request executed to get the lookup description. - A patch from Amardeep Singh Jhajj
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1244953 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 12:13:49 +00:00
Sascha Rodekamp 8953416d70 BUGFIX: Impossible cast from org.ofbiz.jcr.orm.jackrabbit.JackrabbitFolder to org.ofbiz.jcr.orm.jackrabbit.JackrabbitFile in org.ofbiz.jcr.api.jackrabbit.JackrabbitFileHelper.getRepositoryContent(String, String) (https://issues.apache.org/jira/browse/OFBIZ-4695): A patch from Michael Brohl which corrects the class cast exception.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1244404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 09:02:32 +00:00
Sascha Rodekamp 0b01894ec1 BUGFIX: return value of String.replace(CharSequence, CharSequence) ignored in org.ofbiz.widget.form.[Macro/Html]FormRenderer.appendExternalLoginKey(String) (https://issues.apache.org/jira/browse/OFBIZ-4694): A patch from Michael Brohl Same error in both Classes MacroFormRenderer and HtmlFormRenderer.
Will provide a patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1244401 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 08:53:07 +00:00
Erwan de Ferrieres 195ebb9010 missing license header and xml prefix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1244208 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 20:54:19 +00:00
Jacques Le Roux d2ccc5b08f A patch from Michael Brohl "return value of currentDelegatorTenantId.trim() ignored in org.ofbiz.webapp.control.LoginWorker.login()" https://issues.apache.org/jira/browse/OFBIZ-
The return value of currentDelegatorTenantId.trim() is not assigned in org.ofbiz.webapp.control.LoginWorker.login() so trim() has no effect.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1244139 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 18:08:01 +00:00
Erwan de Ferrieres 06257c02de update documentation on unit testing in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243671 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 20:04:23 +00:00
Adrian Crum eaee24fd1f Added missing DOCTYPE declarations in some web.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243422 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 07:08:03 +00:00
Adrian Crum 4a48104212 Add private constructors to static utility classes. Patch provided by Rishi Solanki - https://issues.apache.org/jira/browse/OFBIZ-4656.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243364 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:19:33 +00:00
Jacques Le Roux bb56ad6049 OFBiz SOAP implementation was not handling
* null values in Map
* BigDecimal
* correctly TimeStamp format (we use xsd:dateTime in ModelService.getTypes())
So CXF was not able to unmarshall a List of Maps with those types in them.

It does not introduce any regressions:
* A new specific SOAP null type is introduced using ("nillable","true") and ("xsi:nil","true) attributes. I had also to set the http://www.w3.org/2001/XMLSchema-instance schema on the null node. Because it was impossible to add it in the envelope header, not a big deal anyway.
* I introduced a 'T' in the TimeStamp format. It's is OK, the deserialisation handles it well (we use xsd:dateTime, see  http://www.w3.org/TR/xmlschema-2/#dateTime)/. We don't handle TimeZone...
* BigDecimal was missing and is now correctly handled. I used 10 decimals and half up rounding (ROUND_HALF_UP) 

Also improves the SOAPEventHandler.sendError() method by passing the serviceName in the message

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1243026 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 10:50:56 +00:00
Hans Bakker 9de0762a42 make it possible that the applicable system settings in general properties can be overridded by settings in the database.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1240016 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 07:17:00 +00:00
Hans Bakker 57d7af2a63 update of system properties via entity:
- by default leave the values in the entity null
- use findOne method to get SystemProperty by primary key
- add check whether system property's value empty before using properties file
This change to make sure current users of a non tenant installation are not affected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1239451 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 03:02:55 +00:00
Adrian Crum 13ff4e3f4c Fixed a recent change that caused tests to fail.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1239119 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:15:17 +00:00
Adrian Crum 651c0677ec Reduce some of the info logging.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1239054 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 10:54:00 +00:00
Hans Bakker c690a5aba5 some missing files in -r1238993
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238998 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:24:36 +00:00
Hans Bakker cc8c924b89 make <property-to-field/> in minilanguage first look in the newly created SystemProperty entity to be able to override the system properties defined in the properties files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:14:53 +00:00
Hans Bakker f484f7b9d0 revert r1238954 some local changes were added
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238991 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:13:21 +00:00
Hans Bakker 204b9eb01a Wrong commit reverted in r1238991
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238954 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 07:22:12 +00:00
Hans Bakker 4443ca47a2 typing error corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238918 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 03:05:48 +00:00
Erwan de Ferrieres 453af547bb OFBIZ-4672 - Add in selectAll.js a method to collapseAll (or deployAll) for a specifics screenlet. Refactorization of existing collapseAll method to be more jQuery - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1236401 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 21:40:43 +00:00
Hans Bakker f5970ffc66 add ant target for loading a file using a specific delegator and extend load message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1236044 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 06:01:03 +00:00
Erwan de Ferrieres 771e7a9b55 OFBIZ-2405 - Create a Portlet to show the payments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1235513 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 21:38:48 +00:00
Erwan de Ferrieres 9af1f47aee OFBIZ-2401 - Create a Portlet for training
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234931 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 18:28:17 +00:00
Erwan de Ferrieres 933e823269 removing unneeded library added at rev 1234563 when upgrading tomcat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234586 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 19:59:02 +00:00
Adrian Crum 7df6bb7216 Spelling correction in UI label file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234578 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:56:47 +00:00
Erwan de Ferrieres 89f188a776 Upgrading tomcat to version 7.0.25 - changelog @ http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234563 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 18:05:28 +00:00
Erwan de Ferrieres f09f963cb0 Adding missing training statuses, as they are used in forms but not created in base. Adding entity labels related
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234035 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:57:24 +00:00
Jacques Le Roux a79e90da46 Closes OFBIZ-4663 ERROR in log file when starting OFBiz, debug-xa-resources is commented in entityengine.xml
Oops... forgot the other files in previous commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234015 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:21:41 +00:00
Jacques Le Roux 9d2a060d23 Closes OFBIZ-4663 ERROR in log file when starting OFBiz, debug-xa-resources is commented in entityengine.xml
About the issue I got. I simply forgot to update my XML catalogs after having changed the OFBiz working copy reference name.

Thanks to Paul Piper for his help about this last point, by pointing about XSD reference.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1234014 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:19:47 +00:00
Adrian Crum e22e2923b3 Fixed a bug where code assumed a GenericValue stored in the client session still exists in the database.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232398 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 12:40:34 +00:00
Erwan de Ferrieres 9b03a5022b Improvements on the EmplLeave entity. Adding entityLabels for the leaveStatus field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232158 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 20:51:18 +00:00
Sascha Rodekamp 3c573dc4c9 Disable the jackrabbit searchIndex because it won't work with Lucene 3.5 yet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232115 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 19:08:03 +00:00
Jacques Le Roux f0dacb7a23 A patch from Christoph Neuroth "Autocomplete / Suggest does not work with umlauts" https://issues.apache.org/jira/browse/OFBIZ-4661
Steps to Reproduce:

    Change the internal_name of a product to "Kochlöffel" (that's German for cooking spoon. Just in case you ever need one while in a German-speaking country and don't have a dictionary handy).
    Go to the catalog and use the product search box to the left to search for "Koch", you should see the product as a suggestion
    Clear the input field and search for "löffel" instead -> the product is not found.

The reason for this is that the special characters have to be url encoded for the GET request, but are never decoded. Easiest way to fix this is just to use a POST request instead.

jleroux: Post uses ISO-8859-1 as default encoding. But as we set a charset=UTF-8 in our header all characters should be handled correly (i18n concern)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232053 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 16:26:42 +00:00
Erwan de Ferrieres e8c5d98519 Adding missing labels for portalPageName
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1232008 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 14:35:32 +00:00
Sascha Rodekamp 261318aaeb Remove duplicate tika lib and move the version 1.0 jar to jcr/lib
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231948 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 11:43:50 +00:00
Erwan de Ferrieres 7e204338d9 Adding missing logger for sl4j (no more log in console), -- Failed to load class org.slf4j.impl.StaticLoggerBinder -- and correcting some .classpath missing lines and licences badly referenced
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231915 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:53:59 +00:00
Sascha Rodekamp af727b0238 Fix the trunk after the Jackrabbit integration. Jackrabbit 2.3 doesn't work with lucene 3.5. I added a lucene 3.0.3 version only for the jcr part. I investigate what to do to make jackrabbit work with 3.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231892 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:11:29 +00:00
Sascha Rodekamp aee44cea77 Remove obsolete slf4j lib
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231656 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 12:19:37 +00:00
Sascha Rodekamp 0141c39f55 Reintegrating the Jackrabbit Development branch into the turnk.
The Merge contains the basic integration of jackrabbit into ofbiz and provides a simple API for further development.

Features:
API for easy CRUD operations
Versioning 
Multi Language Support
Object Content Mapping
Sample Implementation in Example Area

See this merge as first step. The development is still in progress but this is the stable starting point for all feature developments.


Detailed description can be found in the Wiki: https://cwiki.apache.org/OFBIZ/jackrabbit-branch-development.html

For any questions, requests, issues use the jira post: https://issues.apache.org/jira/browse/OFBIZ-4659

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231647 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 10:41:50 +00:00