Commit Graph
27737 Commits
Author SHA1 Message Date
Shi Jinghai 2caf617ca2 OFBIZ-6610 Upgrade Solr and Lucene librairies to version 5
Add runtime/indexes/index.properties to exclude in clean-search-indexes target.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1702703 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 08:20:23 +00:00
Jacques Le Roux d2ab653ea7 A patch from Wei Zhang for "The EntityListIterator must be closed in EntityQuery.query()" https://issues.apache.org/jira/browse/OFBIZ-6615
jleroux: The EntityListIterator at line 453 is now closed (dynamicViewEntity complete list retrieved once, eg: agreementServices.getCommissionForProduct())

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1702548 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 20:49:42 +00:00
Jacques Le Roux 242260b540 No functional changes, removes an useless assignation found by chance an fixes indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1702420 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 10:35:53 +00:00
Jacques Le Roux 169868bbc0 A patch from Pierre Smits for "Move PartyRelationshipAndPartyDetail entity to Party component" https://issues.apache.org/jira/browse/OFBIZ-5814
jleroux: actually it does a bit more than moving. It also adds 
        <member-entity entity-alias="PTYRELTP" entity-name="PartyRelationshipType"/>
and
        <alias entity-alias="PTYRELTP" name="relParentTypeId" field="parentTypeId"/>
+
        <view-link entity-alias="PTYREL" rel-entity-alias="PTYRELTP" rel-optional="true">
          <key-map field-name="partyRelationshipTypeId"/>
        </view-link>




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1702168 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 05:58:53 +00:00
Jacques Le Roux f0628b8ed8 A slightly modified patch from Pierre Smits for "Remove unused view-maps from SCRUM controller" https://issues.apache.org/jira/browse/OFBIZ-6478
jleroux: only EditSprintItem was still concerned





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1702005 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 13:38:04 +00:00
Jacques Le Roux fa053a2de3 A slightly modified patch from Pierre Smits for "Scrum productstatistics shows errors" https://issues.apache.org/jira/browse/OFBIZ-4863
Those were only rptdesign issues

jleroux: I put back the removed license headers



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1702002 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 13:26:58 +00:00
Jacques Le Roux b8f4007683 A slightly modified patch from Pierre Smits for "view sprint overview has errors" https://issues.apache.org/jira/browse/OFBIZ-4861
When viewing the sprint overview page errors are shown related to burndown chart and the sprint backlog list

Regarding the burndown chart:

The following items have errors:

Chart (id = 113):
+ A BIRT exception occurred. See next exception for more information.
Invalid javascript expression: row["sprintDay"] (Element ID:113) 

Regarding the sprint backlog list

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS"] on the field custRequestId of form sprintBacklogListItems: Sourced file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : illegal use of null value or 'null' literal : at Line: 1 : in file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : ;
(Error evaluating BeanShell use-when condition [showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS"] on the field custRequestId of form sprintBacklogListItems: Sourced file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : illegal use of null value or 'null' literal : at Line: 1 : in file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : ;
)

jleroux: I did not see the sprint backlog list error. I put back the removed license header



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701936 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 07:52:41 +00:00
Jacques Le Roux c04f6e84c9 A completed patch from Oleg Andreyev for "Using official content type for json requests" https://issues.apache.org/jira/browse/OFBIZ-6608
I suggest using application/json instead of application/x-json as it is official content type. It seems x-json does not cause any problem for the time being but browsers will load json responses correctly without asking for download. It's handy in development time. It also matches JQuery Accept header.

jleroux: I also used it in Solr




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701915 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 07:16:18 +00:00
Jacques Le Roux fe0ac6454e No functional change: comments out "docs-all" ant target since it's now done automatically by Buildbot at the ASF
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701914 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 07:14:40 +00:00
Jacques Le Roux bd6543ddad A patch from Pierre Smits for "Some groovy files using Timestamp.valueOf are missing essential jar." https://issues.apache.org/jira/browse/OFBIZ-6606
"import java.sql.Timestamp;" was missing in CommissionReport.groovy, CommissionRun.groovy change is non functional (import ordering)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701825 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 15:50:10 +00:00
Jacques Le Roux 622a2a5c36 A patch from Pierre Smits for "Scrum total billing cause exception" https://issues.apache.org/jira/browse/OFBIZ-6600
"import java.sql.Timestamp;" was missing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701819 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 15:14:47 +00:00
Jacques Le Roux b78725c2f1 No functional changes, fixes typos
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701498 13f79535-47bb-0310-9956-ffa450edef68
2015-09-06 16:17:11 +00:00
Shi Jinghai ac5f79caa6 OFBIZ-5042 Apache Solr Implementation.
Add permission check on /update, /update/json, /update/csv and /update/extract requests. These requests are defined in an index's solrconfig.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701495 13f79535-47bb-0310-9956-ffa450edef68
2015-09-06 15:46:45 +00:00
Shi Jinghai 47ea44596f OFBIZ-6601 example component causes exceptions
1. Add specialpurpose/webapp/exampleext/error/error.jsp to display error page.
2. Move specialpurpose/example/widget/exampleext to specialpurpose/exampleext/widget/example.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701441 13f79535-47bb-0310-9956-ffa450edef68
2015-09-06 04:34:16 +00:00
Shi Jinghai 63f99ed533 OFBIZ-6596 The Solr redirection does not work in trunk demo.
Removed https scheme check and demo-trunk-ofbiz.apache.org/solr/ can be displayed correctly now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701379 13f79535-47bb-0310-9956-ffa450edef68
2015-09-05 12:29:04 +00:00
Jacopo Cappellato 02415d77ea Upgraded Apache Tomcat to the latest bug fix release of the 7 series: 7.0.64
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701164 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 06:56:13 +00:00
Jacques Le Roux ee37bb0e42 Removes build-website and docs targets, copy-dtds is enough
I did not remove copy-apis and other doc (API) related targets because they are used by Buildbot.

I should modify the Buildbot conf to automatically use the copy-dtds target, but that's for another insomnia night...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701157 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 04:40:09 +00:00
Jacques Le Roux faed9fe69d A patch from Pierre Smits for "Update site-conf.xsd to prioritise Groovy over BSF" https://issues.apache.org/jira/browse/OFBIZ-6597
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701150 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 03:51:55 +00:00
Shi Jinghai eb1334b028 OFBIZ-6596 The Solr redirection does not work in trunk demo.
Commented out https scheme check. Let see whether it would work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700960 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 09:07:24 +00:00
Adrian Crum 6066e4e42f Make primitive initialization explicit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700864 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 18:43:41 +00:00
Shi Jinghai 3400c70146 OFBIZ-6596 The Solr redirection does not work in trunk demo.
1. Use response.sendRedirect to forward url to login page instead of the response.setHeader("location", url), this avoids the warning messages from EntityUtilProperties. Besides, when testing in similar config as demo-ofbiz-trunk is (port 80 -> 8080, port 443 -> 8443), this change can keep the url to 80 or 443.

2. Replace tabs to spaces in several java files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700739 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 09:09:45 +00:00
Shi Jinghai 8873bbf16a OFBIZ-5042 Apache Solr Implementation.
Add apache solr to secondary top menu and /solr/control/main request to accept the link from the menu.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700599 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 15:37:20 +00:00
Jacques Le Roux d0e3cc70a0 A patch from Pierre Smits for "Have hard coded links in admin screen open in new windows" https://issues.apache.org/jira/browse/OFBIZ-6593
Currently the various hard coded links at the bottom of the admin screen open in the same window. These should open in a new window to provide a better UX.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700555 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 14:05:04 +00:00
Shi Jinghai 824953686a OFBIZ-5042 Apache Solr Implementation.
Add all the jars under specialpurpose/solr/ into LICENSE.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700461 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 09:52:30 +00:00
Shi Jinghai d401c92c26 Add framework/base/lib/zxing-core-3.2.0.jar into LICENSE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700460 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 09:51:18 +00:00
Shi Jinghai efb3d18372 OFBIZ-6591 ofbiz does not compile
Replaces tabs with spaces.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700448 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 09:38:15 +00:00
Shi Jinghai 78ffe38bd5 OFBIZ-6591 ofbiz does not compile
The reason behind is lack of jars in applications/content/build/lib and specialpurpose/lucene/lib.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700446 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 09:34:22 +00:00
Deepak Dixit 576b47d36c (OFBIZ-6589) Removed date picker localization data from theme file. GlobalActions decorator will generate this data and will be added in screens accordingly. Now date picker working fine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700250 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 13:58:29 +00:00
Shi Jinghai efb589682b OFBIZ-5042 Apache Solr Implementation.
1. Put the patch into trunk.
2. Added access control to solr /admin/ pages.
3. Upgraded solr to 4.9.0 to match Lucene version in trunk.
4. Removed solr.solr.home, used 
SolrResourceLoader loader = new SolrResourceLoader("specialpurpose/solr/conf");
instead.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700119 13f79535-47bb-0310-9956-ffa450edef68
2015-08-30 13:27:07 +00:00
Adrian Crum 26198405b9 Added a FIXME comment. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1698406 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 20:26:01 +00:00
Jacques Le Roux 5a66638180 No functional change: Wai removed newline at end of file with OFBIZ-6583
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1698263 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 05:16:59 +00:00
Jacques Le Roux 5998620545 Crap I had this wrong change pending, but forgot to save after checking for OFBIZ-6583
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1698261 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 05:14:22 +00:00
Jacques Le Roux 9dfeb048dc A patch from Wai for "simple coding cleanup" https://issues.apache.org/jira/browse/OFBIZ-6583
This fixes and improves CompanyHeader.groovy

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1698259 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 05:09:35 +00:00
Jacques Le Roux 51070abdc0 A patch from Pierre Smits for "SQL Exceptions (OPTION) occuring when running OFBiz 13.07.02 against MySQL" https://issues.apache.org/jira/browse/OFBIZ-6582
Updates the "MySQL Connector/J" from 5.1.6 to 5.1.36 
This follows OFBIZ-4800 where the "MySQL Connector/J 5.1.6" was used. See 
    http://mvnrepository.com/artifact/mysql/mysql-connector-java/5.1.6 
and 
    https://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html
for details


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697993 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 19:37:26 +00:00
Deepak Dixit 23d692dd3f (OFBIZ-6563) Fixed lookup party search form, used correct name for groupName field. Fix the focus-field-name from partyName to partyId as partyName is not a valid field on lookup party form. Used correct jQuery.each method in for paginationMenus. Now lookup party is working fine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697674 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 13:43:12 +00:00
Deepak Dixit 952065a2b2 (OFBIZ-6571) Passed parameter in correct sequence while doing EntityUtil.getRelated.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697647 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 10:48:58 +00:00
Jacopo Cappellato 6b36022817 Reverted 1530237: the sql type for Postgres for "comments" and "description" fields was changed from VARCHAR(255) to TEXT; the new TEXT type allows strings of any length; however all other types definitions (MySQL, Derby etc...) are using VARCHAR(255) thus limiting the length of "comments" and "description" fields to 255 characters.
By reverting this change we make sure that the Postgres db will be consistent with the other dbs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697590 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 07:46:31 +00:00
Deepak Dixit d3cbe78ae5 (OFBIZ-6362) Added missing code in header.ftl file to include component specific js file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697574 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 06:40:54 +00:00
Jacques Le Roux 4f944f8988 A patch from Pierre Smits for "Incorporate the readme for the Lucene component" https://issues.apache.org/jira/browse/OFBIZ-6577
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697166 13f79535-47bb-0310-9956-ffa450edef68
2015-08-23 11:29:51 +00:00
Jacques Le Roux 8d0e1895ab No functional change, reverts r1696950
Eclipse uses tabs so better to have them in repo, thanks to Adrian on dev ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1697072 13f79535-47bb-0310-9956-ffa450edef68
2015-08-22 02:55:06 +00:00
Jacques Le Roux 4d5b669590 Replaces tabs with spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696950 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 12:03:00 +00:00
Shi Jinghai 85ab0e0eff OFBIZ-4154 Use ZXing to generate QR 2d barcode.
1. Add zxing-core-3.2.0.jar to framework/base/lib and .classpath.
2. Add services_qrcode.xml and QRCodeService.java in framework/common/.
3. Add qrcode request in common-controller.xml and QRCodeEvents.java under framework/common/.
4. Add qrcode.properties and QRCodeUiLabels.xml under framework/common/.
5. Add a barcode example page in specialpurpose/example, entry is on page: /example/control/EditExample?exampleId=EX01, the example can be seen on page: /example/control/ExampleReportPdfBarcode?exampleId=EX01

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696921 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 10:03:11 +00:00
Deepak Dixit 509727e6a1 Applied patch from jira issue - OFBIZ-6566 -SecurityGroup doesn't get removed from a Party.
Thanks Pierre Smits for reporting the issue and thanks  Neeraj Kumawat for providing the patch for the same.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696234 13f79535-47bb-0310-9956-ffa450edef68
2015-08-17 10:53:20 +00:00
Shi Jinghai 1977b6ce64 OFBIZ-6569 popup calendar icon missing and dialog is transparent in flat grey theme.
Change FlatGreyThemeData.xml to make javascript.css work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696021 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 07:52:16 +00:00
Shi Jinghai 66b54f0390 OFBIZ-6570 Anonymous unsubscribe from contact list generates an error.
Add value="main" to "error" responses related to unsubscribe.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696018 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 07:00:24 +00:00
Jacques Le Roux 067df90ae1 After r1695126, I found that most of the Java files have svn:eol-style=native. So only 116 Java files were missing svn:eol-style=native. I guess those have been added by committers who are not using the OFBiz svn config file on their machines. So rather than removing svn:eol-style=native, this commits add the property to the files which miss it. Here 116+89=205 files have their svn:eol-style property changed to native.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695129 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:33:23 +00:00
Jacques Le Roux dca48b0893 Reverts r1044202. No functional change.
This reverts svn:eol-style=native on Java files which were forced by r1044202n, 89 Java files are concerned. This commit hopefully makes things more consistent. 
It's indeed hard to see the impact of this change before it's committed. I'll check once done, I already found 116 Java files w/o svn:eol-style=native but there are 1231 Java files at all, so not sure how most are set...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695126 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 16:15:37 +00:00
Deepak Dixit b43c43d7d2 (OFBIZ-6572) Fixed character encoding issue if multitenant is set to Y, move the setCharacterEncoding and setAttributesFromRequestBody method before the multitenant block in ContextFilter, as multitenant block reading the tenatId form request parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1695017 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 10:45:49 +00:00
Shi Jinghai bc3621ee87 Change UtilProperties.getPropertyValue("general.properties", "multitenant") to EntityUtil.isMultiTenantEnabled().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1694810 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 15:19:40 +00:00
Michael Brohl f0129986de Removed duplicate german translations for labels AccountingPayWithWorldPay and FormFieldTitle_organizationPartyId
Thanks Jacques for spotting this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693903 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 13:52:07 +00:00