Commit Graph

108 Commits

Author SHA1 Message Date
Kevin Risden c4a8a77d23
SOLR-14209: Upgrade JQuery to 3.4.1
* JQuery 2.1.3 to 3.4.1
* jstree 1.0-rc1 to v3.3.8

Closes #1209

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-02-08 11:57:56 -06:00
Robert Muir 975df9ddd3
LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task 2020-01-27 12:05:34 -05:00
Kevin Risden 9b6fc1b9fc
SOLR-14132: Upgrade Angular JS 1.3.8 to 1.7.9
* Upgrade Angular JS 1.3.8 to 1.7.9
* Upgrade Angular Chosen v1.3.0 and Chosen to v1.8.7
* Remove older jquery 1.7.2 version
* Remove non minified Angular JS files

Closes #1196

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 09:20:12 -05:00
Dawid Weiss 6094d4dd13 Merge remote-tracking branch 'origin/master' into gradle-master 2019-12-12 14:16:48 +01:00
Ishan Chattopadhyaya 57e717eff2 SOLR-14065: Deprecate Velocity 2019-12-12 16:13:32 +05:30
Erik Hatcher 128360856d SOLR-14025: VelocityResponseWriter hardening 2019-12-11 12:36:14 -05:00
Dawid Weiss 1a24ccb4ee Merge remote-tracking branch 'origin/master' into gradle-master 2019-12-05 11:17:34 +01:00
Robert Muir e77027dd8c SOLR-13993: sandbox velocity template render (if security manager is enabled)
The solr permissions are weak sauce due to the huge number of features, third-party dependencies, etc.

Hence they have access to do many things. For "scripting" such as velocity we have to look at a more aggressive stance:

Step 1: Can we wrap a sandbox around the whole goddamn thing and call it a day?
Step 2: Let's separate the "engine" from "untrusted code" and only be an asshole to the latter.
Step 3: Java's security is shit, Lets contain that classloader and whitelist access.
2019-12-05 01:06:38 -05:00
Dawid Weiss d4a9842375 Initial gradle build layer. 2019-12-02 15:34:57 +01:00
David Smiley 6a72b81ed3 SOLR-13971: Revert changes to the default configset.
* clarified these are Java system properties
* trivial dead code change; Boolean.getBoolean returns a primitive
2019-11-28 10:45:58 -05:00
Ishan Chattopadhyaya 212593d362 SOLR-13971: Renamed the velocity template parameter names 2019-11-28 15:46:26 +05:30
Ishan Chattopadhyaya 50e8cea918 SOLR-13971: Removing velocity from _default and disabling custom template support by default 2019-11-28 07:52:43 +05:30
Dawid Weiss 063c82ebd6 SOLR-13952: reverting Erick's commit (with permission). 2019-11-25 17:56:20 +01:00
Erick Erickson 4b34d726ab SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately 2019-11-24 13:24:40 -05:00
Koen De Groote 04786244d0 LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 18:36:19 +02:00
Munendra S N 8c4fde94fe SOLR-12555: use expectThrows() to verify the ex thrown in tests 2019-08-03 13:00:49 +05:30
Kevin Risden 90d983cf7c
SOLR-13351: Workaround for VELOCITY-908
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-27 17:42:55 -04:00
Kevin Risden 4e230388ba
SOLR-13335: Upgrade to velocity 2.0 and velocity-tools 3.0
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 09:58:44 -04:00
Kevin Risden 0231c1ecb6
SOLR-13342: Remove dom4j from Solr
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 08:15:01 -04:00
Kevin Risden 6222abf448
SOLR-9079: Remove commons-lang as a dependency
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-20 19:37:19 -04:00
Varun Thacker e3cdb395a4 SOLR-12617: Remove Commons BeanUtils as a dependency 2018-08-03 09:46:54 -07:00
yonik 107fd24ec7 SOLR-12417: enforce valid function name for v.json 2018-05-30 10:15:09 -04:00
Christine Poerschke 3a017e4cf2 SOLR-10778: eliminate local variables in (PageTool,AnalyzeEvaluator,ClassifyStream) 2017-06-23 15:47:24 +01:00
Tomas Fernandez Lobbe d30d012c7c SOLR-10042, LUCENE-7838: Fix precommit 2017-05-18 17:11:40 -07:00
Jan Høydahl 21384b5b21 SOLR-10042: Delete old deprecated Admin UI 2017-05-18 14:12:59 +02:00
Jan Høydahl e776cbe446 SOLR-7041: Cut over tests from <defaultSearchField> in schema to df on requests 2017-05-05 00:53:50 +02:00
Jan Høydahl 61f64829d8 SOLR-7041: Remove a lot of defaultOperator and defaultSearchField from test configs (still more work to do) 2017-04-29 20:39:50 +02:00
Alan Woodward caf329717e LUCENE-7701: Refactor grouping collectors 2017-04-10 11:10:18 +01:00
Adrien Grand 53064e46dd LUCENE-7754: Inner classes should be static whenever possible. 2017-03-28 15:35:04 +02:00
Noble Paul 4edfc1a9c7 SOLR-6615: use constants for 'sort', 'distrib' 2017-03-23 18:12:20 +10:30
Mike McCandless e7b87f5b79 LUCENE-7739: Fix places where we unnecessarily boxed while parsing a numeric value according to FindBugs 2017-03-15 06:08:10 -04:00
Erick Erickson 5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Shalin Shekhar Mangar 7bfb2a2949 SOLR-8220: Read field from DocValues for non stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721795 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 10:27:00 +00:00
Christine Poerschke c4db8d57a4 SOLR-8317: use responseHeader and response accessors to SolrQueryResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721170 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 14:39:21 +00:00
Varun Thacker 695870d7a2 SOLR-8131: fix test solrconfig.xml files for the contrib modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718307 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 11:18:31 +00:00
Anshum Gupta 6caaa0c454 SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
David Wayne Smiley ce0363c0ad SOLR-8180: jcl-over-slf4j is officially a solrj/solr dependency now; not marked optional in a POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717481 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 18:12:00 +00:00
Erik Hatcher 33850419bd SOLR-8128: Set v.locale specified locale for all LocaleConfig extending VelocityResponseWriter tools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708406 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 14:32:59 +00:00
Erik Hatcher d8b7f5a62c SOLR-8044: fix VelocityResponseWriterTest.testLocaleFeature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702652 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 17:38:42 +00:00
Erik Hatcher d99af904e5 SOLR-8044: fix VelocityResponseWriterTest.testLocaleFeature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702650 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 17:31:34 +00:00
Erik Hatcher 48907ceed1 SOLR-8041: Fix VelocityResponseWriter's .get(key,baseName,locale) to use specified locale
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702516 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 16:48:17 +00:00
Erik Hatcher 06c9ed5c5d SOLR-7915: Provide pluggable context tool support for VelocityResponseWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700691 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 00:12:56 +00:00
Yonik Seeley db78023736 SOLR-7957: expand ResultContext to allow for multiple DocLists per response, remove redundant TransformContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698421 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 21:24:44 +00:00
Erik Hatcher c018ffffea Fix #field macro to comma separate multiple values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697802 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:30:51 +00:00
Erik Hatcher 306d7f4198 SOLR-7972: Fix VelocityResponseWriter template encoding issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697789 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 00:15:18 +00:00
Erik Hatcher f2291c1356 Add as-you-type instant search to example/files /browse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 15:05:20 +00:00
Erik Hatcher 1edc686c42 SOLR-7610: Fix VelocityResponseWriter's .locale to accurately report locale in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 13:44:06 +00:00
Adrien Grand 87b7393360 LUCENE-6224: cut over more package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658525 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:47:17 +00:00
Erik Hatcher 7844cf5cca Fix wrong StringUtils import (merged from r1653365)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653368 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 20:52:59 +00:00