Commit Graph
20 Commits
Author SHA1 Message Date
Jacques Le Roux 51501fe7e3 Improved: Upgrade Solr and Lucene to 8.11 (OFBIZ-12388)
https://solr.apache.org/docs/8_11_0/changes/Changes.html
2021-11-17 19:08:18 +01:00
Jacques Le Roux ff03ec248a Fixed: The Solr version included in OFBiz has an SSRF vulnerability (CVE-2021-27905) (OFBIZ-12316)
This post-auth security issue was reported to the security team by weinull orz
<weinull@outlook.com> As he suggested the solution is to update Solr to its last
version (8.9.0)

This solution contains a (justified) rant!

Thanks: weinull orz
2021-09-15 10:20:45 +02:00
Jacques Le Roux 40d7c57662 Improved: Update build.gradle to the latest dependencies (OFBIZ-12092)
I crossed new issues with plugins:

I tried to update Solr and Lucene to 8.7.0 but crossed issues (compilation and
Eclipse classpath)

Same for Jersey with 3.0.0 version
2020-12-17 18:44:33 +01:00
Jacques Le Roux 9c87fb85b1 Improved: Update build.gradle to the latest dependencies (OFBIZ-11903)
See
https://cwiki.apache.org/confluence/display/OFBIZ/About+OWASP+Dependency+Check
for libs not upgraded.
2020-07-21 10:42:14 +02:00
Jacques Le Roux 1cacb15000 Improved: Update build.gradle to the latest dependencies
(OFBIZ-11603)

I tried to update to Groovy 3 but got a compile issue with commons-cli.
I did not dig further.
2020-04-21 12:00:32 +02:00
Jacques Le Roux 6a30378f06 Improved: Update build.gradle to the latest dependencies
(OFBIZ-11151)
We can update Guava to v28: 
https://mvnrepository.com/artifact/org.apache.solr/solr-core/8.2.0.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1865336 13f79535-47bb-0310-9956-ffa450edef68
2019-08-17 07:01:55 +00:00
Jacques Le Roux 4f19b762f3 Improved: Update build.gradle to the latest dependencies
(OFBIZ-11151)

Like for OFBIZ-10922 some updates were not possible. Please refer to the Jira 
for more information

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1864973 13f79535-47bb-0310-9956-ffa450edef68
2019-08-12 15:03:03 +00:00
Jacques Le Roux 0b8e3f2290 Improved: Update Solr and Lucene from 7.3.1 to Solr 7.5.0
(OFBIZ-10589)

https://lucene.apache.org/solr/guide/7_5/solr-upgrade-notes.html 
should help people to adapt to 7.5 from 7.3

There are more information in the Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1845150 13f79535-47bb-0310-9956-ffa450edef68
2018-10-29 17:26:25 +00:00
Jacques Le Roux 066e64eac0 Improved: Update Solr and Lucene from 7.2.1 to Solr 7.3.1 for security reason
(CVE-2018-8010)
(OFBIZ-10415)

I'm not sure we are affected but better be safe than sorry
see 
SOLR-12316
https://wiki.apache.org/solr/SolrSecurity
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8010

The Lucene and Solr tests pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1832533 13f79535-47bb-0310-9956-ffa450edef68
2018-05-30 11:04:35 +00:00
Jacques Le Roux 04121ce947 Improved: Update Solr/Lucene to 7.2.1.
(OFBIZ-10166)

Reminder: to make sure the LUCENE_VERSION constant in SearchWorker.java 
matches the dependency version. Also the same dependency version should be used 
by Solr and Lucene

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1821184 13f79535-47bb-0310-9956-ffa450edef68
2018-01-15 17:40:49 +00:00
Michael Brohl 0839184e2d Improved: Update Solr/Lucene to 7.2.1.
(OFBIZ-10166)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1821176 13f79535-47bb-0310-9956-ffa450edef68
2018-01-15 16:10:32 +00:00
Jacques Le Roux c86a769119 Completed: Update Lucene and Solr to 7.2
(OFBIZ-10130)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1819597 13f79535-47bb-0310-9956-ffa450edef68
2017-12-30 13:22:14 +00:00
Michael Brohl ca7caa56db Improved: Update Solr/Lucene to 7.1.0 [CVE-2017-9803] [CVE-2017-12629].
(OFBIZ-9835)

There were two security vulnerabilities and it was recommended to 
upgrade to 7.1.0 asap.

The update removed the deprecated setBoost functionality during index 
time. I have removed it completely to be able to update to 7.1.0. 
A new indexing and query strategy has to be implemented here. Might be 
follow-up work in the future.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812790 13f79535-47bb-0310-9956-ffa450edef68
2017-10-20 20:48:01 +00:00
Michael Brohl f43d6f1dee Improved: Update Apache Solr/Lucene to release 6.6.0.
(OFBIZ-9391)

This also fixes the problems with the Guava dependency in OFBIZ-9444 and
adds some tests (see OFBIZ-9442). It makes sense to have more tests in
the course of further refactoring.

Thanks Julian Leichert for helping with the tests.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811688 13f79535-47bb-0310-9956-ffa450edef68
2017-10-10 12:54:54 +00:00
Jacques Le Roux 05078ea27a Improved: Missing Java Option solr.log.dir. Logging may be missing or incomplete
(OFBIZ-9375)

The tip suggested by Jinghai I committed at r1795781 did not work.

This reverts r1795781 and offers a better solid solution.

Byproduct: fixes imports and tabs in OFBizSolrContextFilter.java

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1800457 13f79535-47bb-0310-9956-ffa450edef68
2017-06-30 20:41:50 +00:00
Jacques Le Roux 62abbeffeb Improved: Missing Java Option solr.log.dir. Logging may be missing or incomplete
(OFBIZ-9375)

I noticed this error in trunk demo error.log but could not reproduce locally
(Windows)

Jinghai suggested the fix committed, Taher mentioned it should be in plugins


Thanks: Jinghai and Taher

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1795781 13f79535-47bb-0310-9956-ffa450edef68
2017-05-22 09:18:25 +00:00
Shi Jinghai 1192f858e0 Fixed: Update Apache Solr/Lucene to release 6.2.1
OFBIZ-8316

Updated Solr from 6.2.1 to 6.5.1 and the point fields generated by Lucene are ok now for Solr component.
The 'original UI' link is commented in admin.html and the relative files under solr/webapp/solr/tpl are all removed. 

Thanks: Cao Pengan for the patch and Jacques, Michael for the comments and reviews.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1794771 13f79535-47bb-0310-9956-ffa450edef68
2017-05-11 00:10:12 +00:00
Shi Jinghai 7e4988da3f Implemented: Update Apache Solr/Lucene to release 6.2.1
(OFBIZ-8316)

Upgraded Apache Solr/Lucene from 5.3.1 to 6.2.1.

Thanks: Michael Brohl and Cao PengAn for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1776930 13f79535-47bb-0310-9956-ffa450edef68
2017-01-02 13:44:06 +00:00
Taher A. Alkhateeb 110db33ecb simplify the dependencies for the Solr component - OFBIZ-7534
It is not needed to declare all the dependencies explicitly becuase
all of them are automatically downloaded with the package:
'org.apache.solr:solr-core:5.3.1'
Hence, this makes the build script much shorter and cleaner


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1753887 13f79535-47bb-0310-9956-ffa450edef68
2016-07-24 08:08:42 +00:00
Taher A. Alkhateeb 25ffc93eb5 Another major patch for OFBIZ-7534 replacing Ant with Gradle
This is the first patch that takes OFBiz to the point of no return
in terms of switching from Ant to Gradle build system. Specifically
this patch applies the following items:

- Delete all old Ant and Maven build scripts
- Delete 169 Jar libraries and replace them with remote ones in the
  gradle build script
- update the gradle build scripts for the dependencies and other minor
  changes needed for the script work correctly

All tests pass with the command ./gradlew cleanAll loadDefault testIntegration

Again, thank you for everyone who contributed valueble time and effort in this
process.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1752033 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 18:10:19 +00:00