Skip to content
Permalink
Browse files

init

  • Loading branch information...
ruebot committed Jan 16, 2019
0 parents commit 5e06afc8500be21dc2e862c0a6985d4d78296fc0
Showing with 10,117 additions and 0 deletions.
  1. +31 βˆ’0 .gitignore
  2. +1 βˆ’0 .ruby-version
  3. +5 βˆ’0 .solr_wrapper.yml
  4. +74 βˆ’0 Gemfile
  5. +276 βˆ’0 Gemfile.lock
  6. +11 βˆ’0 LICENSE.txt
  7. +24 βˆ’0 README.md
  8. +8 βˆ’0 Rakefile
  9. +3 βˆ’0 app/assets/config/manifest.js
  10. 0 app/assets/images/.keep
  11. BIN app/assets/images/blacklight/logo.png
  12. +25 βˆ’0 app/assets/javascripts/application.js
  13. +13 βˆ’0 app/assets/javascripts/cable.js
  14. 0 app/assets/javascripts/channels/.keep
  15. +15 βˆ’0 app/assets/stylesheets/application.css
  16. +3 βˆ’0 app/assets/stylesheets/blacklight.scss
  17. +4 βˆ’0 app/channels/application_cable/channel.rb
  18. +4 βˆ’0 app/channels/application_cable/connection.rb
  19. +6 βˆ’0 app/controllers/application_controller.rb
  20. +122 βˆ’0 app/controllers/catalog_controller.rb
  21. 0 app/controllers/concerns/.keep
  22. +2 βˆ’0 app/helpers/application_helper.rb
  23. +2 βˆ’0 app/jobs/application_job.rb
  24. +4 βˆ’0 app/mailers/application_mailer.rb
  25. +3 βˆ’0 app/models/application_record.rb
  26. 0 app/models/concerns/.keep
  27. +12 βˆ’0 app/models/search_builder.rb
  28. +19 βˆ’0 app/models/solr_document.rb
  29. +10 βˆ’0 app/views/catalog/_home_text.html.erb
  30. +15 βˆ’0 app/views/layouts/application.html.erb
  31. +13 βˆ’0 app/views/layouts/mailer.html.erb
  32. +1 βˆ’0 app/views/layouts/mailer.text.erb
  33. +19 βˆ’0 app/views/shared/_header_navbar.html.erb
  34. +3 βˆ’0 bin/bundle
  35. +9 βˆ’0 bin/rails
  36. +9 βˆ’0 bin/rake
  37. +36 βˆ’0 bin/setup
  38. +17 βˆ’0 bin/spring
  39. +31 βˆ’0 bin/update
  40. +11 βˆ’0 bin/yarn
  41. +5 βˆ’0 config.ru
  42. +19 βˆ’0 config/application.rb
  43. +9 βˆ’0 config/blacklight.yml
  44. +4 βˆ’0 config/boot.rb
  45. +10 βˆ’0 config/cable.yml
  46. +1 βˆ’0 config/credentials.yml.enc
  47. +25 βˆ’0 config/database.yml
  48. +5 βˆ’0 config/environment.rb
  49. +61 βˆ’0 config/environments/development.rb
  50. +94 βˆ’0 config/environments/production.rb
  51. +46 βˆ’0 config/environments/test.rb
  52. +8 βˆ’0 config/initializers/application_controller_renderer.rb
  53. +14 βˆ’0 config/initializers/assets.rb
  54. +7 βˆ’0 config/initializers/backtrace_silencers.rb
  55. +25 βˆ’0 config/initializers/content_security_policy.rb
  56. +5 βˆ’0 config/initializers/cookies_serializer.rb
  57. +4 βˆ’0 config/initializers/filter_parameter_logging.rb
  58. +16 βˆ’0 config/initializers/inflections.rb
  59. +4 βˆ’0 config/initializers/mime_types.rb
  60. +14 βˆ’0 config/initializers/wrap_parameters.rb
  61. +3 βˆ’0 config/locales/blacklight.en.yml
  62. +33 βˆ’0 config/locales/en.yml
  63. +34 βˆ’0 config/puma.rb
  64. +24 βˆ’0 config/routes.rb
  65. +6 βˆ’0 config/spring.rb
  66. +34 βˆ’0 config/storage.yml
  67. +17 βˆ’0 db/migrate/20190116203334_create_searches.blacklight.rb
  68. +18 βˆ’0 db/migrate/20190116203335_create_bookmarks.blacklight.rb
  69. +9 βˆ’0 db/migrate/20190116203336_add_polymorphic_type_to_bookmarks.blacklight.rb
  70. +36 βˆ’0 db/schema.rb
  71. +7 βˆ’0 db/seeds.rb
  72. 0 lib/assets/.keep
  73. 0 lib/tasks/.keep
  74. 0 log/.keep
  75. +5 βˆ’0 package.json
  76. +67 βˆ’0 public/404.html
  77. +67 βˆ’0 public/422.html
  78. +66 βˆ’0 public/500.html
  79. 0 public/apple-touch-icon-precomposed.png
  80. 0 public/apple-touch-icon.png
  81. 0 public/favicon.ico
  82. +1 βˆ’0 public/robots.txt
  83. +8 βˆ’0 solr/conf/lang/contractions_ca.txt
  84. +15 βˆ’0 solr/conf/lang/contractions_fr.txt
  85. +5 βˆ’0 solr/conf/lang/contractions_ga.txt
  86. +23 βˆ’0 solr/conf/lang/contractions_it.txt
  87. +5 βˆ’0 solr/conf/lang/hyphenations_ga.txt
  88. +6 βˆ’0 solr/conf/lang/stemdict_nl.txt
  89. +420 βˆ’0 solr/conf/lang/stoptags_ja.txt
  90. +125 βˆ’0 solr/conf/lang/stopwords_ar.txt
  91. +193 βˆ’0 solr/conf/lang/stopwords_bg.txt
  92. +220 βˆ’0 solr/conf/lang/stopwords_ca.txt
  93. +172 βˆ’0 solr/conf/lang/stopwords_cz.txt
  94. +110 βˆ’0 solr/conf/lang/stopwords_da.txt
  95. +294 βˆ’0 solr/conf/lang/stopwords_de.txt
  96. +78 βˆ’0 solr/conf/lang/stopwords_el.txt
  97. +54 βˆ’0 solr/conf/lang/stopwords_en.txt
  98. +356 βˆ’0 solr/conf/lang/stopwords_es.txt
  99. +99 βˆ’0 solr/conf/lang/stopwords_eu.txt
  100. +313 βˆ’0 solr/conf/lang/stopwords_fa.txt
  101. +97 βˆ’0 solr/conf/lang/stopwords_fi.txt
  102. +186 βˆ’0 solr/conf/lang/stopwords_fr.txt
  103. +110 βˆ’0 solr/conf/lang/stopwords_ga.txt
  104. +161 βˆ’0 solr/conf/lang/stopwords_gl.txt
  105. +235 βˆ’0 solr/conf/lang/stopwords_hi.txt
  106. +211 βˆ’0 solr/conf/lang/stopwords_hu.txt
  107. +46 βˆ’0 solr/conf/lang/stopwords_hy.txt
  108. +359 βˆ’0 solr/conf/lang/stopwords_id.txt
  109. +303 βˆ’0 solr/conf/lang/stopwords_it.txt
  110. +127 βˆ’0 solr/conf/lang/stopwords_ja.txt
  111. +172 βˆ’0 solr/conf/lang/stopwords_lv.txt
  112. +119 βˆ’0 solr/conf/lang/stopwords_nl.txt
  113. +194 βˆ’0 solr/conf/lang/stopwords_no.txt
  114. +253 βˆ’0 solr/conf/lang/stopwords_pt.txt
  115. +233 βˆ’0 solr/conf/lang/stopwords_ro.txt
  116. +243 βˆ’0 solr/conf/lang/stopwords_ru.txt
  117. +133 βˆ’0 solr/conf/lang/stopwords_sv.txt
  118. +119 βˆ’0 solr/conf/lang/stopwords_th.txt
  119. +212 βˆ’0 solr/conf/lang/stopwords_tr.txt
  120. +29 βˆ’0 solr/conf/lang/userdict_ja.txt
  121. +972 βˆ’0 solr/conf/managed-schema
  122. +20 βˆ’0 solr/conf/params.json
  123. +21 βˆ’0 solr/conf/protwords.txt
  124. +1,364 βˆ’0 solr/conf/solrconfig.xml
  125. +14 βˆ’0 solr/conf/stopwords.txt
  126. +29 βˆ’0 solr/conf/synonyms.txt
  127. 0 storage/.keep
  128. +5 βˆ’0 test/application_system_test_case.rb
  129. 0 test/controllers/.keep
  130. 0 test/fixtures/.keep
  131. 0 test/fixtures/files/.keep
  132. 0 test/helpers/.keep
  133. 0 test/integration/.keep
  134. 0 test/mailers/.keep
  135. 0 test/models/.keep
  136. 0 test/system/.keep
  137. +10 βˆ’0 test/test_helper.rb
  138. 0 tmp/.keep
  139. 0 vendor/.keep
@@ -0,0 +1,31 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore uploaded files in development
/storage/*
!/storage/.keep

/node_modules
/yarn-error.log

/public/assets
.byebug_history

# Ignore master key for decrypting credentials and more.
/config/master.key
@@ -0,0 +1 @@
2.4.5
@@ -0,0 +1,5 @@
# Place any default configuration for solr_wrapper here
# port: 8983
collection:
dir: solr/conf/
name: blacklight-core
74 Gemfile
@@ -0,0 +1,74 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.4.5'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.2'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
gem 'puma', '~> 3.11'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'mini_racer', platforms: :ruby

# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.1.0', require: false

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end

group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of chromedriver to run system tests with Chrome
gem 'chromedriver-helper'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

gem 'blacklight', ">= 7.0"

group :development, :test do
gem 'solr_wrapper', '>= 0.3'
end

gem 'rsolr', '>= 1.0', '< 3'
gem 'bootstrap', '~> 4.0'
gem 'popper_js'
gem 'twitter-typeahead-rails', '0.11.1.pre.corejavascript'
gem 'jquery-rails'
@@ -0,0 +1,276 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (5.2.2)
actionpack (= 5.2.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.2)
actionpack (= 5.2.2)
actionview (= 5.2.2)
activejob (= 5.2.2)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.2)
actionview (= 5.2.2)
activesupport (= 5.2.2)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.2)
activesupport (= 5.2.2)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.2)
activesupport (= 5.2.2)
globalid (>= 0.3.6)
activemodel (5.2.2)
activesupport (= 5.2.2)
activerecord (5.2.2)
activemodel (= 5.2.2)
activesupport (= 5.2.2)
arel (>= 9.0)
activestorage (5.2.2)
actionpack (= 5.2.2)
activerecord (= 5.2.2)
marcel (~> 0.3.1)
activesupport (5.2.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
archive-zip (0.11.0)
io-like (~> 0.3.0)
arel (9.0.0)
autoprefixer-rails (9.4.5)
execjs
bindex (0.5.0)
blacklight (7.0.1)
deprecation
globalid
jbuilder (~> 2.7)
kaminari (>= 0.15)
nokogiri (~> 1.6)
rails (~> 5.1)
bootsnap (1.3.2)
msgpack (~> 1.0)
bootstrap (4.1.3)
autoprefixer-rails (>= 6.0.3)
popper_js (>= 1.12.9, < 2)
sass (>= 3.5.2)
builder (3.2.3)
byebug (10.0.2)
capybara (3.12.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
xpath (~> 3.2)
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
chromedriver-helper (2.1.0)
archive-zip (~> 0.10)
nokogiri (~> 1.8)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.4)
crass (1.0.4)
deprecation (1.0.0)
activesupport
erubi (1.8.0)
execjs (2.7.0)
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
ffi (1.10.0)
globalid (0.4.2)
activesupport (>= 4.2.0)
i18n (1.5.2)
concurrent-ruby (~> 1.0)
io-like (0.3.0)
jbuilder (2.8.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
jquery-rails (4.3.3)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
kaminari (1.1.1)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.1.1)
kaminari-activerecord (= 1.1.1)
kaminari-core (= 1.1.1)
kaminari-actionview (1.1.1)
actionview
kaminari-core (= 1.1.1)
kaminari-activerecord (1.1.1)
activerecord
kaminari-core (= 1.1.1)
kaminari-core (1.1.1)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.2.3)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (0.3.3)
mimemagic (~> 0.3.2)
method_source (0.9.2)
mimemagic (0.3.3)
mini_mime (1.0.1)
mini_portile2 (2.4.0)
minitest (5.11.3)
msgpack (1.2.6)
multi_json (1.13.1)
multipart-post (2.0.0)
nio4r (2.3.1)
nokogiri (1.10.1)
mini_portile2 (~> 2.4.0)
popper_js (1.14.5)
public_suffix (3.0.3)
puma (3.12.0)
rack (2.0.6)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.2)
actioncable (= 5.2.2)
actionmailer (= 5.2.2)
actionpack (= 5.2.2)
actionview (= 5.2.2)
activejob (= 5.2.2)
activemodel (= 5.2.2)
activerecord (= 5.2.2)
activestorage (= 5.2.2)
activesupport (= 5.2.2)
bundler (>= 1.3.0)
railties (= 5.2.2)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
railties (5.2.2)
actionpack (= 5.2.2)
activesupport (= 5.2.2)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (12.3.2)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
regexp_parser (1.3.0)
retriable (3.1.2)
rsolr (2.2.1)
builder (>= 2.1.2)
faraday (>= 0.9.0)
ruby-progressbar (1.10.0)
ruby_dep (1.5.0)
rubyzip (1.2.2)
sass (3.7.3)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
selenium-webdriver (3.141.0)
childprocess (~> 0.5)
rubyzip (~> 1.2, >= 1.2.2)
solr_wrapper (2.1.0)
faraday
retriable
ruby-progressbar
rubyzip
spring (2.0.2)
activesupport (>= 4.2)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
thor (0.20.3)
thread_safe (0.3.6)
tilt (2.0.9)
turbolinks (5.2.0)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
twitter-typeahead-rails (0.11.1.pre.corejavascript)
actionpack (>= 3.1)
jquery-rails
railties (>= 3.1)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (4.1.20)
execjs (>= 0.3.0, < 3)
web-console (3.7.0)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby

DEPENDENCIES
blacklight (>= 7.0)
bootsnap (>= 1.1.0)
bootstrap (~> 4.0)
byebug
capybara (>= 2.15)
chromedriver-helper
coffee-rails (~> 4.2)
jbuilder (~> 2.5)
jquery-rails
listen (>= 3.0.5, < 3.2)
popper_js
puma (~> 3.11)
rails (~> 5.2.2)
rsolr (>= 1.0, < 3)
sass-rails (~> 5.0)
selenium-webdriver
solr_wrapper (>= 0.3)
spring
spring-watcher-listen (~> 2.0.0)
sqlite3
turbolinks (~> 5)
twitter-typeahead-rails (= 0.11.1.pre.corejavascript)
tzinfo-data
uglifier (>= 1.3.0)
web-console (>= 3.3.0)

RUBY VERSION
ruby 2.4.5p335

BUNDLED WITH
1.17.1
Oops, something went wrong.

0 comments on commit 5e06afc

Please sign in to comment.
You can’t perform that action at this time.