Commit Graph
21879 Commits
Author SHA1 Message Date
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
Jacques Le Roux 9e85e905ad Fixes the indent, thanks to Gil's reports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693864 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 08:55:56 +00:00
Jacques Le Roux 465a25f631 Based on recent Moqui addition, adds description and geoPointTypeEnumId to GeoPoint entity, see https://github.com/sssonline/moqui/commit/39a12eaedcc8e8d134457f6a38146737728bda24 for details
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693799 13f79535-47bb-0310-9956-ffa450edef68
2015-08-02 09:40:02 +00:00
Deepak Dixit aafe193fbd (OFBIZ-6561) Reverted r#1668267 and related changes done in r1674064, 1669537 to fix the cache issue,
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693701 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 10:12:39 +00:00
Jacques Le Roux c9bfd92ad0 A solution from Gareth Carter for "Wrong percent encoding in Webtool/SQL Processor" https://issues.apache.org/jira/browse/OFBIZ-6567
This was reported by Gareth Carter;

If for instance you use this SQL expression
    select * from Party_Role where role_Type_Id LIKE  '%CA%'
It will be interpreted (and returned to UI) as
   select * from Party_Role where role_Type_Id LIKE  'Ê%'
And no result will be returned when OOTB there is  6 <PartyRole partyId="***" roleTypeId="CARRIER"/> entities

The solution is to keep the SQL expression string from the context at the top of the EntitySQLProcessor.groovy script and put it back in context after the request call (at bottom)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693579 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 11:56:58 +00:00
Jacques Le Roux 81efb99235 At http://www.apache.org/dev/licensing-howto.html#mod-notice, it's adviced:
<<Copyright notifications which have been relocated from source files (rather than removed) must be preserved in NOTICE. However, elements such as the copyright notifications embedded within BSD and MIT licenses need not be duplicated in NOTICE -- it suffices to leave those notices in their original locations.

It is important to keep NOTICE as brief and simple as possible, as each addition places a burden on downstream consumers.

Do not add anything to NOTICE which is not legally required.>>

So this removes useless information already present in other legible files (not libs). Concerned projects are: PNG Behavior, Steven Levithan's date-time-format and Matthew Eernisse's timezone-js

I added the 2 last ones, PNG Behavior was added by David


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693422 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 13:44:35 +00:00
Shi Jinghai e173523638 Comment out
Debug.logInfo("======save last view: " + session.getAttribute("_LAST_VIEW_NAME_"));


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693417 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 12:33:05 +00:00
Jacques Le Roux 1310a182cc Document to makes the changes for OFBIZ-6504 more clear
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693400 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 09:26:20 +00:00
Deepak Dixit cc7d7333c1 (OFBIZ-6562) Used getCombinedMap instead of getParameterMap while preparing param map for string-map-prefix. Now string-map-prefix will work fine in case of ajax call as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1693393 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 08:07:20 +00:00