geoblacklight 1.9.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +2 -2
- data/.rubocop.yml +4 -14
- data/.rubocop_todo.yml +51 -48
- data/README.md +3 -0
- data/Rakefile +1 -2
- data/app/assets/javascripts/geoblacklight/basemaps.js +3 -3
- data/app/assets/javascripts/geoblacklight/downloaders/downloader.js +1 -1
- data/app/assets/javascripts/geoblacklight/geoblacklight.js +1 -1
- data/app/assets/javascripts/geoblacklight/modules/download.js +1 -1
- data/app/assets/javascripts/geoblacklight/modules/home.js +3 -2
- data/app/assets/javascripts/geoblacklight/modules/util.js +8 -0
- data/app/assets/javascripts/geoblacklight/templates/index_map_download.hbs +19 -0
- data/app/assets/javascripts/geoblacklight/templates/index_map_info.hbs +15 -13
- data/app/assets/javascripts/geoblacklight/viewers/esri/dynamic_map_layer.js +3 -3
- data/app/assets/javascripts/geoblacklight/viewers/esri/feature_layer.js +4 -2
- data/app/assets/javascripts/geoblacklight/viewers/index_map.js +20 -12
- data/app/assets/javascripts/geoblacklight/viewers/map.js +2 -1
- data/app/assets/javascripts/geoblacklight/viewers/wms.js +1 -5
- data/app/assets/stylesheets/geoblacklight/_blacklight_overrides.scss +43 -0
- data/app/assets/stylesheets/geoblacklight/_geoblacklight.scss +4 -1
- data/app/assets/stylesheets/geoblacklight/application.scss +0 -1
- data/app/assets/stylesheets/geoblacklight/modules/downloads.scss +33 -13
- data/app/assets/stylesheets/geoblacklight/modules/home.scss +22 -19
- data/app/assets/stylesheets/geoblacklight/modules/icon-customization.scss +1 -1
- data/app/assets/stylesheets/geoblacklight/modules/index_maps.scss +7 -0
- data/app/assets/stylesheets/geoblacklight/modules/item.scss +7 -8
- data/app/assets/stylesheets/geoblacklight/modules/metadata.scss +9 -0
- data/app/assets/stylesheets/geoblacklight/modules/relations.scss +15 -0
- data/app/assets/stylesheets/geoblacklight/modules/results.scss +7 -2
- data/app/assets/stylesheets/geoblacklight/modules/sidebar.scss +60 -0
- data/app/assets/stylesheets/geoblacklight/modules/toolbar.scss +55 -35
- data/app/controllers/download_controller.rb +5 -4
- data/app/controllers/relation_controller.rb +11 -1
- data/app/helpers/carto_helper.rb +2 -9
- data/app/helpers/geoblacklight_helper.rb +15 -28
- data/app/models/concerns/geoblacklight/solr_document.rb +4 -0
- data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +18 -1
- data/app/presenters/geoblacklight/document_presenter.rb +2 -2
- data/app/views/catalog/_document_action.html.erb +2 -2
- data/app/views/catalog/_document_split.html.erb +5 -3
- data/app/views/catalog/_downloads_secondary.html.erb +39 -0
- data/app/views/catalog/_facet_tag_layout.html.erb +1 -1
- data/app/views/catalog/_home_text.html.erb +30 -38
- data/app/views/catalog/_index_split_default.html.erb +1 -2
- data/app/views/catalog/_metadata.html.erb +3 -3
- data/app/views/catalog/_show_default_attribute_table.html.erb +16 -14
- data/app/views/catalog/_show_default_viewer_container.html.erb +5 -3
- data/app/views/catalog/_show_default_viewer_information.html.erb +3 -1
- data/app/views/catalog/_show_downloads.html.erb +12 -9
- data/app/views/catalog/_show_tools.html.erb +25 -0
- data/app/views/catalog/_web_services.html.erb +1 -1
- data/app/views/catalog/_web_services_wfs.html.erb +1 -1
- data/app/views/catalog/_web_services_wms.html.erb +1 -1
- data/app/views/catalog/index.html.erb +9 -8
- data/app/views/relation/_ancestors.html.erb +2 -2
- data/app/views/relation/_descendants.html.erb +3 -3
- data/app/views/relation/index.html.erb +8 -8
- data/app/views/shared/_header_navbar.html.erb +28 -17
- data/config/locales/geoblacklight.en.yml +2 -2
- data/geoblacklight.gemspec +5 -4
- data/lib/generators/geoblacklight/install_generator.rb +3 -12
- data/lib/generators/geoblacklight/templates/Procfile +3 -0
- data/lib/generators/geoblacklight/templates/catalog_controller.rb +33 -5
- data/lib/generators/geoblacklight/templates/package.json +14 -0
- data/lib/generators/geoblacklight/templates/settings.yml +15 -1
- data/lib/generators/geoblacklight/templates/webpacker.yml +67 -0
- data/lib/generators/geoblacklight/webpacker_generator.rb +35 -0
- data/lib/geoblacklight.rb +2 -4
- data/lib/geoblacklight/controller_override.rb +27 -22
- data/lib/geoblacklight/engine.rb +0 -1
- data/lib/geoblacklight/version.rb +1 -1
- data/lib/tasks/geoblacklight.rake +18 -0
- data/schema/geoblacklight-schema.md +72 -59
- data/schema/geometry-type-values.md +1 -0
- data/schema/references.md +22 -0
- data/schema/schema-commentary.md +198 -0
- data/schema/subjects.md +41 -0
- data/schema/type-values.md +4 -2
- data/solr/conf/core.properties +5 -0
- data/solr/conf/schema.xml +11 -1
- data/solr/conf/solrconfig.xml +1 -1
- data/spec/controllers/catalog_controller_spec.rb +17 -1
- data/spec/factories/user.rb +2 -2
- data/spec/features/download_layer_spec.rb +19 -15
- data/spec/features/esri_viewer_spec.rb +2 -2
- data/spec/features/home_page_spec.rb +6 -2
- data/spec/features/index_map_spec.rb +15 -25
- data/spec/features/layer_opacity_spec.rb +1 -1
- data/spec/features/layer_preview_spec.rb +3 -2
- data/spec/features/linkified_attribute_table_spec.rb +3 -4
- data/spec/features/relations_spec.rb +1 -1
- data/spec/features/search_bar_spec.rb +2 -2
- data/spec/features/search_results_map_spec.rb +2 -2
- data/spec/features/search_results_overlap_ratio_spec.rb +55 -0
- data/spec/features/search_spec.rb +13 -0
- data/spec/features/show_page_metadata_spec.rb +1 -1
- data/spec/features/sms_spec.rb +15 -0
- data/spec/features/split_view.html.erb_spec.rb +24 -15
- data/spec/features/web_services_modal_spec.rb +0 -2
- data/spec/fixtures/solr_documents/README.md +38 -0
- data/spec/fixtures/solr_documents/esri-image-map-layer.json +39 -18
- data/spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json +37 -0
- data/spec/fixtures/solr_documents/index-map-polygon.json +37 -0
- data/spec/fixtures/solr_documents/{point_index_map.json → index_map_point.json} +1 -1
- data/spec/fixtures/solr_documents/princeton-child1.json +30 -0
- data/spec/fixtures/solr_documents/princeton-child2.json +30 -0
- data/spec/fixtures/solr_documents/princeton-parent.json +25 -0
- data/spec/helpers/carto_helper_spec.rb +1 -20
- data/spec/helpers/geoblacklight_helper_spec.rb +4 -22
- data/spec/lib/geoblacklight/document_presenter_spec.rb +1 -1
- data/spec/lib/geoblacklight/geoblacklight_helper_behavior_spec.rb +1 -1
- data/spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb +10 -0
- data/spec/spec_helper.rb +6 -3
- data/spec/teaspoon_env.rb +31 -1
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +5 -0
- data/spec/test_app_templates/solr_documents +1 -0
- data/spec/views/catalog/_show_downloads.html.erb_spec.rb +1 -1
- data/spec/views/catalog/_show_tools.html.erb_spec.rb +39 -0
- data/template.rb +4 -2
- data/vendor/assets/images/layers-2x.png +0 -0
- data/vendor/assets/images/layers.png +0 -0
- data/vendor/assets/images/marker-icon-2x.png +0 -0
- data/vendor/assets/images/marker-icon.png +0 -0
- data/vendor/assets/images/marker-shadow.png +0 -0
- data/vendor/assets/javascripts/esri-leaflet.js.map +1 -0
- data/vendor/assets/javascripts/leaflet-src.js.map +1 -0
- data/vendor/assets/javascripts/leaflet.js.erb +13922 -0
- data/vendor/assets/stylesheets/leaflet.css +635 -0
- metadata +87 -33
- data/app/assets/stylesheets/geoblacklight/modules/twitter-typeahead.scss +0 -14
- data/app/views/catalog/_search_form_no_navbar.html.erb +0 -22
- data/app/views/catalog/_show_default.html.erb +0 -13
- data/app/views/catalog/_upper_metadata.html.erb +0 -20
- data/spec/fixtures/solr_documents/umn_metro_result2.json +0 -39
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.