Apache Lucene open-source search software
SOLR-761: Fix Flare ASL license headers. Removed a couple of files that were unnecessary and awkward to add license text to anyway. A few spots of tabs->spaces
Erik Hatcher25135dd2daff
diff --git a/client/ruby/flare/README b/client/ruby/flare/READMEindex 7b7f8792906..9c1858c8816 100644--- a/client/ruby/flare/README+++ b/client/ruby/flare/README@@ -1,3 +1,16 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++== Welcome to Solr FlareFlare promises to expose the power of Solr through a Rails-based user interface. Integral to Flare will be general purpose faceted browsing, auto-suggest, folksonomy tagging/annotating, and much more.diff --git a/client/ruby/flare/Rakefile b/client/ruby/flare/Rakefileindex e9b54dd8955..98a185e02a9 100644--- a/client/ruby/flare/Rakefile+++ b/client/ruby/flare/Rakefile@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# Add your own tasks in files placed in lib/tasks ending in .rake,# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.diff --git a/client/ruby/flare/app/helpers/application_helper.rb b/client/ruby/flare/app/helpers/application_helper.rbindex a0c9177e032..b72ef869ca0 100644--- a/client/ruby/flare/app/helpers/application_helper.rb+++ b/client/ruby/flare/app/helpers/application_helper.rb@@ -1,5 +1,14 @@-# Copyright:: Copyright (c) 2007 Apache Software Foundation-# License:: Apache Version 2.0 (see http://www.apache.org/licenses/)+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.# Methods added to this helper will be available to all templates in the application.module ApplicationHelperdiff --git a/client/ruby/flare/app/helpers/browse_helper.rb b/client/ruby/flare/app/helpers/browse_helper.rbindex 1e343cc9d43..7d520e70c3f 100644--- a/client/ruby/flare/app/helpers/browse_helper.rb+++ b/client/ruby/flare/app/helpers/browse_helper.rb@@ -1,5 +1,14 @@-# Copyright:: Copyright (c) 2007 Apache Software Foundation-# License:: Apache Version 2.0 (see http://www.apache.org/licenses/)+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.module BrowseHelperenddiff --git a/client/ruby/flare/app/views/browse/_suggest.rhtml b/client/ruby/flare/app/views/browse/_suggest.rhtmlindex 1d49a86a5b2..6cb4b05e6fd 100755--- a/client/ruby/flare/app/views/browse/_suggest.rhtml+++ b/client/ruby/flare/app/views/browse/_suggest.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><ul class="cookies"><%@values.each do |value|diff --git a/client/ruby/flare/app/views/browse/facet.rhtml b/client/ruby/flare/app/views/browse/facet.rhtmlindex fbe281f815b..bf658cb5e39 100755--- a/client/ruby/flare/app/views/browse/facet.rhtml+++ b/client/ruby/flare/app/views/browse/facet.rhtml@@ -1,33 +1,46 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><div id="variables">- <div class="clear">- <%=link_to '[clear constraints]', :action => 'clear'%>- </div>-+ <div class="clear">+ <%=link_to '[clear constraints]', :action => 'clear'%>+ </div>+<div>Queries:- <div id="queries">+ <div id="queries"><% @flare.queries.each_with_index do |q,i| %><%=link_to q[:negative] ? "-" : '+', :action => :invert_query, :index => i%><span id="query_<%=i%>"><%=q[:query]%></span><%= in_place_editor "query_#{i}", :url=> url_for(:action=>"update_query", :index=>i) %><%=link_to image_tag("x-close.gif"), :action => :remove_query, :index => i %><br/><% end %>- </div>+ </div></div><div>Filters:- <div id="filters">+ <div id="filters"><% @flare.filters.each_with_index do |filter, i| %><%=link_to filter[:negative] ? "-" : "+", :action => :invert_filter, :index => i%><%=filter[:field]%>:<%=filter[:value]%><%=link_to image_tag("x-close.gif"), :action => :remove_filter, :index => i %><% end %>- </div>+ </div></div><div class="clear">- <%=link_to '[clear constraints]', :action => 'clear'%>+ <%=link_to '[clear constraints]', :action => 'clear'%></div></div>diff --git a/client/ruby/flare/app/views/document/_document_delicious.rhtml b/client/ruby/flare/app/views/document/_document_delicious.rhtmlindex f71217afe68..dca714bfb77 100755--- a/client/ruby/flare/app/views/document/_document_delicious.rhtml+++ b/client/ruby/flare/app/views/document/_document_delicious.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><tr valign="top"><td><%=image_tag "http://images.amazon.com/images/P/#{doc['id']}.01.MZZZZZZZ" %>diff --git a/client/ruby/flare/app/views/document/_document_tang.rhtml b/client/ruby/flare/app/views/document/_document_tang.rhtmlindex c7913d71fa1..5be65f2c5bd 100755--- a/client/ruby/flare/app/views/document/_document_tang.rhtml+++ b/client/ruby/flare/app/views/document/_document_tang.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><%body_zh_highlighted = response.highlighted(doc['id'], 'body_zh_text')body_en_highlighted = response.highlighted(doc['id'], 'body_en_text')diff --git a/client/ruby/flare/app/views/document/_document_uva.rhtml b/client/ruby/flare/app/views/document/_document_uva.rhtmlindex 0132ac172d4..40696a980dc 100755--- a/client/ruby/flare/app/views/document/_document_uva.rhtml+++ b/client/ruby/flare/app/views/document/_document_uva.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><%virgo_link = "http://virgo.lib.virginia.edu/uhtbin/cgisirsi/uva/0/0/5?searchdata1=#{doc['id'][1..-1]}%7bCKEY%7d"# url = URI.parse(virgo_link)diff --git a/client/ruby/flare/app/views/i18n/index.rhtml b/client/ruby/flare/app/views/i18n/index.rhtmlindex 33888282c0b..98161b0c66e 100644--- a/client/ruby/flare/app/views/i18n/index.rhtml+++ b/client/ruby/flare/app/views/i18n/index.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><% @results[0]['features'].each do |f| %><%= h f%><% end %>\ No newline at end of filediff --git a/client/ruby/flare/app/views/layouts/browse.rhtml b/client/ruby/flare/app/views/layouts/browse.rhtmlindex cc1fea4d1bf..18a15f51977 100755--- a/client/ruby/flare/app/views/layouts/browse.rhtml+++ b/client/ruby/flare/app/views/layouts/browse.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><html><head><title>Solr flare: <%=controller.action_name%></title>diff --git a/client/ruby/flare/config/boot.rb b/client/ruby/flare/config/boot.rbindex b7af0c35c7e..ac6267f65e4 100644--- a/client/ruby/flare/config/boot.rb+++ b/client/ruby/flare/config/boot.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# Don't change this file. Configuration is done in config/environment.rb and config/environments/*.rbunless defined?(RAILS_ROOT)diff --git a/client/ruby/flare/config/database.yml b/client/ruby/flare/config/database.ymlindex b72df7f447f..29c5c538835 100644--- a/client/ruby/flare/config/database.yml+++ b/client/ruby/flare/config/database.yml@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# NOTE: Flare currently does not use a database, but there are plans to eventually leverage a relational database# in conjunction with Solr. When a database is added, lib/tasks/clear_database_prerequisites.rake should be removed.diff --git a/client/ruby/flare/config/environment.rb b/client/ruby/flare/config/environment.rbindex 11770858190..b545733c4b7 100644--- a/client/ruby/flare/config/environment.rb+++ b/client/ruby/flare/config/environment.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# Be sure to restart your web server when you modify this file.# Uncomment below to force Rails into production mode whendiff --git a/client/ruby/flare/config/environments/development.rb b/client/ruby/flare/config/environments/development.rbindex 0589aa979e3..63570f610af 100644--- a/client/ruby/flare/config/environments/development.rb+++ b/client/ruby/flare/config/environments/development.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# Settings specified here will take precedence over those in config/environment.rb# In the development environment your application's code is reloaded ondiff --git a/client/ruby/flare/config/environments/production.rb b/client/ruby/flare/config/environments/production.rbindex cb295b83f17..5f8a29a497a 100644--- a/client/ruby/flare/config/environments/production.rb+++ b/client/ruby/flare/config/environments/production.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# Settings specified here will take precedence over those in config/environment.rb# The production environment is meant for finished, "live" apps.diff --git a/client/ruby/flare/config/environments/test.rb b/client/ruby/flare/config/environments/test.rbindex f0689b924bf..1c4e13d697a 100644--- a/client/ruby/flare/config/environments/test.rb+++ b/client/ruby/flare/config/environments/test.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# Settings specified here will take precedence over those in config/environment.rb# The test environment is used exclusively to run your application'sdiff --git a/client/ruby/flare/config/routes.rb b/client/ruby/flare/config/routes.rbindex 54855e5721f..c4a212512e2 100644--- a/client/ruby/flare/config/routes.rb+++ b/client/ruby/flare/config/routes.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+ActionController::Routing::Routes.draw do |map|# The priority is based upon order of creation: first created -> highest priority.diff --git a/client/ruby/flare/db/schema.rb b/client/ruby/flare/db/schema.rbindex e69de29bb2d..873a19b6017 100644--- a/client/ruby/flare/db/schema.rb+++ b/client/ruby/flare/db/schema.rb@@ -0,0 +1,11 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.diff --git a/client/ruby/flare/doc/README_FOR_APP b/client/ruby/flare/doc/README_FOR_APPdeleted file mode 100644index ac6c1491225..00000000000--- a/client/ruby/flare/doc/README_FOR_APP+++ /dev/null@@ -1,2 +0,0 @@-Use this README file to introduce your application and point to useful places in the API for learning more.-Run "rake appdoc" to generate API documentation for your models and controllers.\ No newline at end of filediff --git a/client/ruby/flare/public/.htaccess b/client/ruby/flare/public/.htaccessindex d3c9983451f..8a74972cf74 100644--- a/client/ruby/flare/public/.htaccess+++ b/client/ruby/flare/public/.htaccess@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+# General Apache optionsAddHandler fastcgi-script .fcgiAddHandler cgi-script .cgidiff --git a/client/ruby/flare/public/404.html b/client/ruby/flare/public/404.htmlindex eff660b90c3..dd0fca84cd5 100644--- a/client/ruby/flare/public/404.html+++ b/client/ruby/flare/public/404.html@@ -1,3 +1,16 @@+<!--+ # The ASF licenses this file to You under the Apache License, Version 2.0+ # (the "License"); you may not use this file except in compliance with+ # the License. You may obtain a copy of the License at+ #+ # http://www.apache.org/licenses/LICENSE-2.0+ #+ # Unless required by applicable law or agreed to in writing, software+ # distributed under the License is distributed on an "AS IS" BASIS,+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ # See the License for the specific language governing permissions and+ # limitations under the License.+--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">diff --git a/client/ruby/flare/public/500.html b/client/ruby/flare/public/500.htmlindex f0aee0e9f1f..d20477dada4 100644--- a/client/ruby/flare/public/500.html+++ b/client/ruby/flare/public/500.html@@ -1,3 +1,16 @@+<!--+ # The ASF licenses this file to You under the Apache License, Version 2.0+ # (the "License"); you may not use this file except in compliance with+ # the License. You may obtain a copy of the License at+ #+ # http://www.apache.org/licenses/LICENSE-2.0+ #+ # Unless required by applicable law or agreed to in writing, software+ # distributed under the License is distributed on an "AS IS" BASIS,+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ # See the License for the specific language governing permissions and+ # limitations under the License.+--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">diff --git a/client/ruby/flare/public/dispatch.cgi b/client/ruby/flare/public/dispatch.cgiindex a76782ae0ea..cb8f7d3959b 100755--- a/client/ruby/flare/public/dispatch.cgi+++ b/client/ruby/flare/public/dispatch.cgi@@ -1,5 +1,17 @@#!/opt/local/bin/ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:diff --git a/client/ruby/flare/public/dispatch.fcgi b/client/ruby/flare/public/dispatch.fcgiindex a5267664ea8..1a5278db81d 100755--- a/client/ruby/flare/public/dispatch.fcgi+++ b/client/ruby/flare/public/dispatch.fcgi@@ -1,4 +1,17 @@#!/opt/local/bin/ruby++# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+## You may specify the path to the FastCGI crash log (a log of unhandled# exceptions which forced the FastCGI instance to exit, great for debugging)diff --git a/client/ruby/flare/public/dispatch.rb b/client/ruby/flare/public/dispatch.rbindex a76782ae0ea..cb8f7d3959b 100755--- a/client/ruby/flare/public/dispatch.rb+++ b/client/ruby/flare/public/dispatch.rb@@ -1,5 +1,17 @@#!/opt/local/bin/ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:diff --git a/client/ruby/flare/public/javascripts/application.js b/client/ruby/flare/public/javascripts/application.jsindex fe4577696b2..2cbbc17a8b2 100644--- a/client/ruby/flare/public/javascripts/application.js+++ b/client/ruby/flare/public/javascripts/application.js@@ -1,2 +1,16 @@+/*+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+*/+// Place your application-specific JavaScript functions and classes here// This file is automatically included by javascript_include_tag :defaultsdiff --git a/client/ruby/flare/public/robots.txt b/client/ruby/flare/public/robots.txtdeleted file mode 100644index 4ab9e89fe14..00000000000--- a/client/ruby/flare/public/robots.txt+++ /dev/null@@ -1 +0,0 @@-# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file\ No newline at end of filediff --git a/client/ruby/flare/public/stylesheets/flare.css b/client/ruby/flare/public/stylesheets/flare.cssindex d033b65c43f..17150ab1f37 100644--- a/client/ruby/flare/public/stylesheets/flare.css+++ b/client/ruby/flare/public/stylesheets/flare.css@@ -1,3 +1,17 @@+/*+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+*/+body {font-family: Verdana, Geneva, Arial, helvetica, sans-serif;font-size: 12px;@@ -5,162 +19,162 @@ body {}#header {- font-size: 22px;- margin-bottom: -10px;- width: 200px;- border-top: 4px solid #D43D1A;- border-left: 4px solid #EE4000;- background:url(../images/flare.jpg) no-repeat left top;+ font-size: 22px;+ margin-bottom: -10px;+ width: 200px;+ border-top: 4px solid #D43D1A;+ border-left: 4px solid #EE4000;+ background:url(../images/flare.jpg) no-repeat left top;}#header a {- color: #EE4000;+ color: #EE4000;}#header a:hover {- color: #CD3700;+ color: #CD3700;}a img {- border: 0;+ border: 0;}td {- font-family: Verdana, Geneva, Arial, helvetica, sans-serif;- font-size: 11px;+ font-family: Verdana, Geneva, Arial, helvetica, sans-serif;+ font-size: 11px;}a, a:visited {- color: #cc6633;- text-decoration: none;+ color: #cc6633;+ text-decoration: none;}a:hover {- color: #ff9933;- text-decoration: none;+ color: #ff9933;+ text-decoration: none;}h2 {- font-size: 16px;- font-weight: normal;- }+ font-size: 16px;+ font-weight: normal;+ }h4 {- font-size: 13px;- font-weight: normal;- letter-spacing: .2em;- }-+ font-size: 13px;+ font-weight: normal;+ letter-spacing: .2em;+ }+h4 a {- font-size: 11px;- letter-spacing: normal;- }+ font-size: 11px;+ letter-spacing: normal;+ }h4 a:hover {- text-decoration: none;- }+ text-decoration: none;+ }em {- color: #000;+ color: #000;}#sidebar {- float: right;- width: 339px;- font-size: 11px;- line-height: 20px;- margin-bottom: 20px;- padding: 10px;+ float: right;+ width: 339px;+ font-size: 11px;+ line-height: 20px;+ margin-bottom: 20px;+ padding: 10px;}.searchbar {- line-height: 12px;+ line-height: 12px;}#sidebar ul {- list-style: none;- margin-left: -20px;- margin-top: -10px;+ list-style: none;+ margin-left: -20px;+ margin-top: -10px;}#sidebar img {- vertical-align: middle;+ vertical-align: middle;}#sidebar .exhibit {- float: right;+ float: right;}#variables {- padding: 20px;+ padding: 20px;}.varheader {- font-size: 14px;- font-weight: normal;- letter-spacing: .2em;+ font-size: 14px;+ font-weight: normal;+ letter-spacing: .2em;}#queries img {- vertical-align: baseline;- width:14px;+ vertical-align: baseline;+ width:14px;}#queries {- margin-left: 10px;- color: #666;+ margin-left: 10px;+ color: #666;}#filters img {- vertical-align: baseline;- width:14px;+ vertical-align: baseline;+ width:14px;}#filters {- margin-left: 10px;- color: #666;+ margin-left: 10px;+ color: #666;}.clear {- padding: 10px 0 10px 0px;- font-size: 11px;+ padding: 10px 0 10px 0px;+ font-size: 11px;}.resultsheader {- font-size: 14px;- font-weight: normal;- letter-spacing: .2em;- margin-bottom: -20px;+ font-size: 14px;+ font-weight: normal;+ letter-spacing: .2em;+ margin-bottom: -20px;}#results {- padding: 20px;- margin-right: 380px;+ padding: 20px;+ margin-right: 380px;}.resultsPager {- padding: 4px;- margin-top: 30px;- margin-bottom: 20px;- border: 1px solid #A2C9EF;- background-color: #E4F1FD;+ padding: 4px;+ margin-top: 30px;+ margin-bottom: 20px;+ border: 1px solid #A2C9EF;+ background-color: #E4F1FD;}.title {- font-size: 13px;- color: #000;- letter-spacing: .1em;+ font-size: 13px;+ color: #000;+ letter-spacing: .1em;}.entry {- color: #666;+ color: #666;}.field {- color: #999;- font-style: italic;+ color: #999;+ font-style: italic;}div.auto_complete {- padding-left: 20px;- padding-top: 10px;- background: #fff;+ padding-left: 20px;+ padding-top: 10px;+ background: #fff;}diff --git a/client/ruby/flare/script/about b/client/ruby/flare/script/aboutindex 7b07d46a301..f30f07e13c4 100755--- a/client/ruby/flare/script/about+++ b/client/ruby/flare/script/about@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/about'\ No newline at end of filediff --git a/client/ruby/flare/script/breakpointer b/client/ruby/flare/script/breakpointerindex 64af76edd40..ce02815cbd9 100755--- a/client/ruby/flare/script/breakpointer+++ b/client/ruby/flare/script/breakpointer@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/breakpointer'\ No newline at end of filediff --git a/client/ruby/flare/script/console b/client/ruby/flare/script/consoleindex 42f28f7d6d3..7c2f7a4cb01 100755--- a/client/ruby/flare/script/console+++ b/client/ruby/flare/script/console@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/console'\ No newline at end of filediff --git a/client/ruby/flare/script/destroy b/client/ruby/flare/script/destroyindex fa0e6fcd0b2..96ca14a0457 100755--- a/client/ruby/flare/script/destroy+++ b/client/ruby/flare/script/destroy@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/destroy'\ No newline at end of filediff --git a/client/ruby/flare/script/generate b/client/ruby/flare/script/generateindex ef976e09f35..6c6fcb0d942 100755--- a/client/ruby/flare/script/generate+++ b/client/ruby/flare/script/generate@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/generate'\ No newline at end of filediff --git a/client/ruby/flare/script/performance/benchmarker b/client/ruby/flare/script/performance/benchmarkerindex c842d35d339..5bedc810749 100755--- a/client/ruby/flare/script/performance/benchmarker+++ b/client/ruby/flare/script/performance/benchmarker@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../../config/boot'require 'commands/performance/benchmarker'diff --git a/client/ruby/flare/script/performance/profiler b/client/ruby/flare/script/performance/profilerindex d855ac8b138..3daeaabdfdd 100755--- a/client/ruby/flare/script/performance/profiler+++ b/client/ruby/flare/script/performance/profiler@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../../config/boot'require 'commands/performance/profiler'diff --git a/client/ruby/flare/script/plugin b/client/ruby/flare/script/pluginindex 26ca64c06b2..3ba193491f1 100755--- a/client/ruby/flare/script/plugin+++ b/client/ruby/flare/script/plugin@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/plugin'\ No newline at end of filediff --git a/client/ruby/flare/script/process/inspector b/client/ruby/flare/script/process/inspectorindex bf25ad86d18..5653e9199f1 100755--- a/client/ruby/flare/script/process/inspector+++ b/client/ruby/flare/script/process/inspector@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../../config/boot'require 'commands/process/inspector'diff --git a/client/ruby/flare/script/process/reaper b/client/ruby/flare/script/process/reaperindex c77f04535f9..7dd181a1cad 100755--- a/client/ruby/flare/script/process/reaper+++ b/client/ruby/flare/script/process/reaper@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../../config/boot'require 'commands/process/reaper'diff --git a/client/ruby/flare/script/process/spawner b/client/ruby/flare/script/process/spawnerindex 7118f3983c7..2e9b27d85ca 100755--- a/client/ruby/flare/script/process/spawner+++ b/client/ruby/flare/script/process/spawner@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../../config/boot'require 'commands/process/spawner'diff --git a/client/ruby/flare/script/runner b/client/ruby/flare/script/runnerindex ccc30f9d243..05ba1575781 100755--- a/client/ruby/flare/script/runner+++ b/client/ruby/flare/script/runner@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/runner'\ No newline at end of filediff --git a/client/ruby/flare/script/server b/client/ruby/flare/script/serverindex dfabcb88128..5ddadff82b7 100755--- a/client/ruby/flare/script/server+++ b/client/ruby/flare/script/server@@ -1,3 +1,15 @@#!/usr/bin/env ruby+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+require File.dirname(__FILE__) + '/../config/boot'require 'commands/server'\ No newline at end of filediff --git a/client/ruby/flare/test/test_helper.rb b/client/ruby/flare/test/test_helper.rbindex 376b9e422a1..cc17dfff1a0 100644--- a/client/ruby/flare/test/test_helper.rb+++ b/client/ruby/flare/test/test_helper.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+ENV["RAILS_ENV"] = "test"require File.expand_path(File.dirname(__FILE__) + "/../config/environment")diff --git a/client/ruby/flare/vendor/plugins/flare/app/controllers/document_controller.rb b/client/ruby/flare/vendor/plugins/flare/app/controllers/document_controller.rbindex 48290af353a..b11e345bfff 100755--- a/client/ruby/flare/vendor/plugins/flare/app/controllers/document_controller.rb+++ b/client/ruby/flare/vendor/plugins/flare/app/controllers/document_controller.rb@@ -10,7 +10,6 @@# See the License for the specific language governing permissions and# limitations under the License.-class DocumentController < ApplicationController# Currently not used, as partials are used for rendering documents in search results# TODO: how best to allow pluggable document rendering?diff --git a/client/ruby/flare/vendor/plugins/flare/app/controllers/simile_controller.rb b/client/ruby/flare/vendor/plugins/flare/app/controllers/simile_controller.rbindex ae78a437bed..d11791cd9e4 100755--- a/client/ruby/flare/vendor/plugins/flare/app/controllers/simile_controller.rb+++ b/client/ruby/flare/vendor/plugins/flare/app/controllers/simile_controller.rb@@ -10,7 +10,6 @@# See the License for the specific language governing permissions and# limitations under the License.-class SimileController < ApplicationControllerbefore_filter :flare_beforediff --git a/client/ruby/flare/vendor/plugins/flare/app/helpers/application_helper.rb b/client/ruby/flare/vendor/plugins/flare/app/helpers/application_helper.rbindex b3aae310342..2af0b89076b 100755--- a/client/ruby/flare/vendor/plugins/flare/app/helpers/application_helper.rb+++ b/client/ruby/flare/vendor/plugins/flare/app/helpers/application_helper.rb@@ -1,3 +1,15 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+module ApplicationHelperdef facet_label(field)field.match(/(.*)_.*/)[1].humanize.downcasediff --git a/client/ruby/flare/vendor/plugins/flare/app/views/browse/_suggest.rhtml b/client/ruby/flare/vendor/plugins/flare/app/views/browse/_suggest.rhtmlindex 1d49a86a5b2..6cb4b05e6fd 100755--- a/client/ruby/flare/vendor/plugins/flare/app/views/browse/_suggest.rhtml+++ b/client/ruby/flare/vendor/plugins/flare/app/views/browse/_suggest.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><ul class="cookies"><%@values.each do |value|diff --git a/client/ruby/flare/vendor/plugins/flare/app/views/browse/facet.rhtml b/client/ruby/flare/vendor/plugins/flare/app/views/browse/facet.rhtmlindex fbe281f815b..bf658cb5e39 100755--- a/client/ruby/flare/vendor/plugins/flare/app/views/browse/facet.rhtml+++ b/client/ruby/flare/vendor/plugins/flare/app/views/browse/facet.rhtml@@ -1,33 +1,46 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><div id="variables">- <div class="clear">- <%=link_to '[clear constraints]', :action => 'clear'%>- </div>-+ <div class="clear">+ <%=link_to '[clear constraints]', :action => 'clear'%>+ </div>+<div>Queries:- <div id="queries">+ <div id="queries"><% @flare.queries.each_with_index do |q,i| %><%=link_to q[:negative] ? "-" : '+', :action => :invert_query, :index => i%><span id="query_<%=i%>"><%=q[:query]%></span><%= in_place_editor "query_#{i}", :url=> url_for(:action=>"update_query", :index=>i) %><%=link_to image_tag("x-close.gif"), :action => :remove_query, :index => i %><br/><% end %>- </div>+ </div></div><div>Filters:- <div id="filters">+ <div id="filters"><% @flare.filters.each_with_index do |filter, i| %><%=link_to filter[:negative] ? "-" : "+", :action => :invert_filter, :index => i%><%=filter[:field]%>:<%=filter[:value]%><%=link_to image_tag("x-close.gif"), :action => :remove_filter, :index => i %><% end %>- </div>+ </div></div><div class="clear">- <%=link_to '[clear constraints]', :action => 'clear'%>+ <%=link_to '[clear constraints]', :action => 'clear'%></div></div>diff --git a/client/ruby/flare/vendor/plugins/flare/app/views/browse/index.rhtml b/client/ruby/flare/vendor/plugins/flare/app/views/browse/index.rhtmlindex 1fa586ffd75..858d10c3351 100755--- a/client/ruby/flare/vendor/plugins/flare/app/views/browse/index.rhtml+++ b/client/ruby/flare/vendor/plugins/flare/app/views/browse/index.rhtml@@ -1,10 +1,23 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><div id="sidebar"><div class="boxContent">- <div class="searchbar">+ <div class="searchbar"><% form_tag(:action=>'add_query') do %><%= text_field_with_auto_complete :search, :query %><%=submit_tag "search"%><% end %>- </div>+ </div><!-- <h2>browse facets</h2> --><% if @flare.facet_queries.size > 0%>@@ -42,13 +55,13 @@</div></div><div id="variables">- <div class="clear">- <%=link_to '[clear constraints]', :action => 'clear'%>- </div>-+ <div class="clear">+ <%=link_to '[clear constraints]', :action => 'clear'%>+ </div>+<div><span class="varheader">Saved searches:</span>- <div id="queries">+ <div id="queries"><% @flare.applied_facet_queries.each_with_index do |q, i| %><%=link_to q[:negative] ? "-" : "+", :action => :invert_saved_constraint, :index => i%><%=q[:name]%>@@ -56,29 +69,29 @@<% end %></div><span class="varheader">Queries:</span>- <div id="queries">+ <div id="queries"><% @flare.queries.each_with_index do |q,i| %><%=link_to q[:negative] ? "-" : '+', :action => :invert_query, :index => i%><span id="query_<%=i%>"><%=q[:query]%></span><%= in_place_editor "query_#{i}", :url=> url_for(:action=>"update_query", :index=>i, :script=>true) %><%=link_to image_tag("x-close.gif"), :action => :remove_query, :index => i %><br/><% end %>- </div>+ </div></div><div><span class="varheader">Filters:</span>- <div id="filters">+ <div id="filters"><% @flare.filters.each_with_index do |filter, i| %><%=link_to filter[:negative] ? "-" : "+", :action => :invert_filter, :index => i%><%=filter[:field]%>:<%=filter[:value]%><%=link_to image_tag("x-close.gif"), :action => :remove_filter, :index => i %><br/><% end %>- </div>+ </div></div><div class="clear">- <%=link_to '[clear constraints]', :action => 'clear'%>+ <%=link_to '[clear constraints]', :action => 'clear'%></div><% form_tag({:action=>'save'},{:id => 'savesearch', :style => "display:none;"}) do %>diff --git a/client/ruby/flare/vendor/plugins/flare/app/views/document/_document_development.rhtml b/client/ruby/flare/vendor/plugins/flare/app/views/document/_document_development.rhtmlindex 6d25c471576..1039e1e9818 100755--- a/client/ruby/flare/vendor/plugins/flare/app/views/document/_document_development.rhtml+++ b/client/ruby/flare/vendor/plugins/flare/app/views/document/_document_development.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><tr valign="top"><td><table class="entry">diff --git a/client/ruby/flare/vendor/plugins/flare/app/views/layouts/browse.rhtml b/client/ruby/flare/vendor/plugins/flare/app/views/layouts/browse.rhtmlindex cc1fea4d1bf..18a15f51977 100755--- a/client/ruby/flare/vendor/plugins/flare/app/views/layouts/browse.rhtml+++ b/client/ruby/flare/vendor/plugins/flare/app/views/layouts/browse.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><html><head><title>Solr flare: <%=controller.action_name%></title>diff --git a/client/ruby/flare/vendor/plugins/flare/app/views/simile/exhibit.rhtml b/client/ruby/flare/vendor/plugins/flare/app/views/simile/exhibit.rhtmlindex 8a39faccd05..acb919fe05c 100644--- a/client/ruby/flare/vendor/plugins/flare/app/views/simile/exhibit.rhtml+++ b/client/ruby/flare/vendor/plugins/flare/app/views/simile/exhibit.rhtml@@ -1,3 +1,16 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><html><head><title>SIMILE Exhibit view</title>diff --git a/client/ruby/flare/vendor/plugins/flare/app/views/simile/timeline.rhtml b/client/ruby/flare/vendor/plugins/flare/app/views/simile/timeline.rhtmlindex d8119ad551d..d04797b7b5e 100755--- a/client/ruby/flare/vendor/plugins/flare/app/views/simile/timeline.rhtml+++ b/client/ruby/flare/vendor/plugins/flare/app/views/simile/timeline.rhtml@@ -1,6 +1,18 @@+<%+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+%><html><head>- ...<script src="http://simile.mit.edu/timeline/api/timeline-api.js" type="text/javascript"></script><script type="text/javascript">var tl;diff --git a/client/ruby/flare/vendor/plugins/flare/routes.rb b/client/ruby/flare/vendor/plugins/flare/routes.rbindex 4365b2b2967..a2753fc4098 100755--- a/client/ruby/flare/vendor/plugins/flare/routes.rb+++ b/client/ruby/flare/vendor/plugins/flare/routes.rb@@ -1 +1,13 @@+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+connect '', :controller => "browse"