geoblacklight_admin 0.0.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +59 -36
- data/Rakefile +47 -14
- data/app/assets/javascripts/geoblacklight_admin.js +2 -1
- data/app/assets/stylesheets/geoblacklight_admin/_core.scss +5 -0
- data/app/assets/stylesheets/geoblacklight_admin/modules/_chosen.scss +425 -0
- data/app/assets/stylesheets/geoblacklight_admin/modules/_forms.scss +108 -0
- data/app/controllers/admin/admin_controller.rb +4 -2
- data/app/controllers/admin/advanced_search_controller.rb +123 -103
- data/app/controllers/admin/api_controller.rb +123 -108
- data/app/controllers/admin/bookmarks_controller.rb +4 -4
- data/app/controllers/admin/bulk_actions_controller.rb +9 -4
- data/app/controllers/admin/concerns/upload_util.rb +2 -0
- data/app/controllers/admin/document_accesses_controller.rb +10 -4
- data/app/controllers/admin/document_assets_controller.rb +14 -11
- data/app/controllers/admin/document_downloads_controller.rb +12 -10
- data/app/controllers/admin/documents_controller.rb +32 -15
- data/app/controllers/admin/elements_controller.rb +6 -5
- data/app/controllers/admin/form_elements_controller.rb +4 -4
- data/app/controllers/admin/ids_controller.rb +107 -87
- data/app/controllers/admin/import_documents_controller.rb +1 -1
- data/app/controllers/admin/imports_controller.rb +7 -3
- data/app/controllers/admin/mappings_controller.rb +6 -4
- data/app/controllers/admin/notifications_controller.rb +1 -1
- data/app/controllers/admin/search_controller.rb +3 -2
- data/app/controllers/admin/users_controller.rb +2 -2
- data/app/helpers/form_input_helper.rb +4 -4
- data/app/helpers/geoblacklight_admin_helper.rb +1 -1
- data/app/indexers/document_indexer.rb +1 -1
- data/app/jobs/export_job.rb +9 -6
- data/app/jobs/export_json_bulk_job.rb +95 -0
- data/app/jobs/export_json_job.rb +14 -12
- data/app/models/admin/bookmark.rb +18 -0
- data/app/models/api_search_builder.rb +3 -1
- data/app/models/blacklight_api.rb +6 -6
- data/app/models/blacklight_api_facets.rb +7 -2
- data/app/models/blacklight_api_ids.rb +3 -4
- data/app/models/bulk_action.rb +1 -1
- data/app/models/document/bbox_validator.rb +9 -5
- data/app/models/document/date_range_validator.rb +13 -10
- data/app/models/document/geom_validator.rb +4 -2
- data/app/models/document.rb +15 -7
- data/app/models/element.rb +9 -7
- data/app/models/form_control.rb +2 -0
- data/app/models/form_element.rb +2 -0
- data/app/models/form_feature.rb +2 -0
- data/app/models/form_group.rb +2 -0
- data/app/models/form_header.rb +2 -0
- data/app/models/geoblacklight_admin/schema.rb +5 -2
- data/app/models/geoblacklight_admin.rb +2 -0
- data/app/models/import/csv_duplicates_validator.rb +2 -1
- data/app/models/import/csv_header_validator.rb +2 -1
- data/app/models/import.rb +4 -7
- data/app/models/user.rb +1 -1
- data/app/services/export_csv_service.rb +5 -1
- data/app/views/admin/advanced_search/facets.json.jbuilder +9 -8
- data/app/views/admin/advanced_search/index.json.jbuilder +8 -7
- data/app/views/admin/api/_field.json.jbuilder +1 -1
- data/app/views/admin/api/fetch.json.jbuilder +8 -7
- data/app/views/admin/api/index.json.jbuilder +8 -7
- data/app/views/admin/bookmarks/index.html.erb +2 -2
- data/app/views/admin/bulk_actions/index.html.erb +3 -3
- data/app/views/admin/bulk_actions/show.html.erb +1 -1
- data/app/views/admin/document_accesses/_form.html.erb +1 -1
- data/app/views/admin/document_accesses/destroy_all.html.erb +3 -3
- data/app/views/admin/document_accesses/edit.html.erb +1 -1
- data/app/views/admin/document_accesses/import.html.erb +2 -2
- data/app/views/admin/document_accesses/index.html.erb +9 -9
- data/app/views/admin/document_accesses/new.html.erb +1 -1
- data/app/views/admin/document_downloads/_form.html.erb +1 -1
- data/app/views/admin/document_downloads/destroy_all.html.erb +2 -2
- data/app/views/admin/document_downloads/edit.html.erb +2 -3
- data/app/views/admin/document_downloads/import.html.erb +1 -1
- data/app/views/admin/document_downloads/index.html.erb +9 -9
- data/app/views/admin/document_downloads/new.html.erb +1 -1
- data/app/views/admin/document_downloads/show.html.erb +2 -2
- data/app/views/admin/documents/_document_bookmark.html.erb +1 -1
- data/app/views/admin/documents/_form_nav.html.erb +3 -1
- data/app/views/admin/documents/_json_btaa_aardvark.jbuilder +1 -3
- data/app/views/admin/documents/_json_file.jbuilder +14 -0
- data/app/views/admin/documents/_result_selected_options.html.erb +3 -1
- data/app/views/admin/documents/edit.html.erb +1 -1
- data/app/views/admin/documents/features/_multiple_download_links.html.erb +2 -2
- data/app/views/admin/documents/fetch.json_file.jbuilder +9 -0
- data/app/views/admin/documents/index.html.erb +2 -4
- data/app/views/admin/documents/index.json_file.jbuilder +9 -0
- data/app/views/admin/documents/versions.html.erb +1 -1
- data/app/views/admin/elements/_element.json.jbuilder +4 -1
- data/app/views/admin/elements/_form.html.erb +1 -1
- data/app/views/admin/elements/edit.html.erb +2 -2
- data/app/views/admin/elements/index.html.erb +4 -4
- data/app/views/admin/elements/index.json.jbuilder +2 -0
- data/app/views/admin/elements/new.html.erb +1 -1
- data/app/views/admin/elements/show.html.erb +6 -6
- data/app/views/admin/elements/show.json.jbuilder +2 -0
- data/app/views/admin/form_elements/_form.html.erb +1 -1
- data/app/views/admin/form_elements/_form_element.json.jbuilder +2 -0
- data/app/views/admin/form_elements/edit.html.erb +2 -2
- data/app/views/admin/form_elements/index.html.erb +2 -2
- data/app/views/admin/form_elements/index.json.jbuilder +2 -0
- data/app/views/admin/form_elements/new.html.erb +1 -1
- data/app/views/admin/form_elements/show.html.erb +2 -2
- data/app/views/admin/form_elements/show.json.jbuilder +2 -0
- data/app/views/admin/ids/fetch.json.jbuilder +8 -7
- data/app/views/admin/ids/index.json.jbuilder +3 -2
- data/app/views/admin/import_documents/show.html.haml +1 -1
- data/app/views/admin/imports/_import.json.jbuilder +2 -1
- data/app/views/admin/imports/_show_failed_tab.html.erb +2 -2
- data/app/views/admin/imports/_show_success_tab.html.erb +1 -1
- data/app/views/admin/imports/edit.html.erb +3 -3
- data/app/views/admin/imports/index.html.erb +3 -3
- data/app/views/admin/layouts/application.html.erb +4 -4
- data/app/views/admin/mappings/_form.html.erb +1 -1
- data/app/views/admin/mappings/_mapping.json.jbuilder +2 -1
- data/app/views/admin/mappings/edit.html.erb +2 -2
- data/app/views/admin/mappings/new.html.erb +1 -1
- data/app/views/admin/mappings/show.html.erb +2 -2
- data/app/views/admin/notifications/index.html.erb +3 -3
- data/app/views/admin/search/index.html.erb +2 -2
- data/app/views/admin/shared/_navbar.html.erb +11 -6
- data/app/views/admin/shared/_toast.html.erb +1 -1
- data/app/views/admin/users/index.html.erb +1 -1
- data/app/views/catalog/_show_gbl_admin.html.erb +3 -0
- data/config/locales/documents.en.yml +3 -0
- data/config/routes.rb +37 -33
- data/db/migrate/20230316183001_add_geoblacklight_admin_gem.rb +409 -0
- data/db/seeds.rb +7 -6
- data/db/seeds_elements.csv +56 -55
- data/db/seeds_elements.numbers +0 -0
- data/db/seeds_form_elements.csv +65 -64
- data/db/seeds_form_elements.numbers +0 -0
- data/lib/generators/geoblacklight_admin/config_generator.rb +61 -94
- data/lib/generators/geoblacklight_admin/install_generator.rb +3 -12
- data/lib/generators/geoblacklight_admin/jobs_generator.rb +3 -2
- data/lib/generators/geoblacklight_admin/models_generator.rb +0 -1
- data/lib/generators/geoblacklight_admin/templates/_show_sidebar.html.erb +19 -0
- data/lib/generators/geoblacklight_admin/templates/_user_util_links.html.erb +1 -1
- data/lib/generators/geoblacklight_admin/templates/config/database.yml +9 -5
- data/lib/generators/geoblacklight_admin/templates/config/geomg_aardvark_schema.json +12 -6
- data/lib/generators/geoblacklight_admin/templates/config/initializers/devise.rb +315 -0
- data/lib/generators/geoblacklight_admin/templates/config/initializers/geoblacklight_admin.rb +1 -2
- data/lib/generators/geoblacklight_admin/templates/config/initializers/kithe.rb +2 -0
- data/lib/generators/geoblacklight_admin/templates/config/initializers/mime_types.rb +15 -0
- data/lib/generators/geoblacklight_admin/templates/config/initializers/pagy.rb +152 -68
- data/lib/generators/geoblacklight_admin/templates/config/initializers/simple_form.rb +178 -0
- data/lib/generators/geoblacklight_admin/templates/config/initializers/simple_form_bootstrap.rb +365 -0
- data/lib/generators/geoblacklight_admin/templates/config/settings.yml +293 -0
- data/lib/generators/geoblacklight_admin/templates/javascript/controllers/results_controller.js +10 -0
- data/lib/generators/geoblacklight_admin/templates/package.json +3 -0
- data/lib/generators/geoblacklight_admin/templates/solr/conf/schema.xml +3 -3
- data/lib/generators/geoblacklight_admin/views_generator.rb +2 -3
- data/lib/geoblacklight_admin/engine.rb +5 -6
- data/lib/geoblacklight_admin/version.rb +1 -1
- data/lib/geoblacklight_admin.rb +1 -1
- data/lib/tasks/geoblacklight_admin.rake +15 -11
- metadata +101 -63
- data/.editorconfig +0 -18
- data/.gitignore +0 -75
- data/.standard.yml +0 -4
- data/Gemfile +0 -59
- data/LICENSE +0 -21
- data/app/assets/images/.keep +0 -0
- data/app/controllers/admin/concerns/.keep +0 -0
- data/app/models/bookmark.rb +0 -17
- data/app/models/concerns/.keep +0 -0
- data/db/migrate/20230316183001_add_geoblacklight_admin.rb +0 -399
- data/geoblacklight_admin.gemspec +0 -67
- data/lib/generators/geoblacklight_admin/example_docs_generator.rb +0 -18
- data/lib/generators/geoblacklight_admin/templates/.env.development.example +0 -28
- data/lib/generators/geoblacklight_admin/templates/.solr_wrapper.yml +0 -7
- data/lib/generators/geoblacklight_admin/templates/solr/snapshots/.keep +0 -0
- data/lib/tasks/.keep +0 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -35
- data/template.rb +0 -16
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/confirmations/new.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/invitations/edit.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/invitations/new.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/mailer/invitation_instructions.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/mailer/invitation_instructions.text.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/passwords/edit.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/passwords/new.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/registrations/edit.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/registrations/new.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/sessions/new.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/shared/_links.html.erb +0 -0
- /data/{app/views/admin → lib/generators/geoblacklight_admin/templates}/devise/unlocks/new.html.erb +0 -0
@@ -18,9 +18,9 @@
|
|
18
18
|
<dynamicField name="*_dtsi" type="pdate" stored="true" indexed="true" multiValued="false"/>
|
19
19
|
<!-- END Kithe -->
|
20
20
|
|
21
|
-
<!--
|
21
|
+
<!-- GBLADMIN -->
|
22
22
|
<field name="geomg_id_s" type="string" stored="true" indexed="true" required="true"/>
|
23
|
-
<!-- END
|
23
|
+
<!-- END GBLADMIN -->
|
24
24
|
|
25
25
|
<!-- GeoBlacklight -->
|
26
26
|
<!-- Spatial Field Type: Represents the exent of the resource and powers map search functionality.
|
@@ -224,6 +224,6 @@
|
|
224
224
|
<!-- for bbox value -->
|
225
225
|
<copyField source="dcat_bbox" dest="solr_bboxtype"/>
|
226
226
|
|
227
|
-
<!-- for
|
227
|
+
<!-- for GBLADMIN reporting -->
|
228
228
|
<copyField source="date_created_dtsi" dest="date_created_drsim"/>
|
229
229
|
</schema>
|
@@ -8,12 +8,11 @@ module GeoblacklightAdmin
|
|
8
8
|
|
9
9
|
desc <<-DESCRIPTION
|
10
10
|
This generator makes the following changes to your application:
|
11
|
-
1. Creates an app/views/
|
11
|
+
1. Creates an app/views/devise directory
|
12
12
|
DESCRIPTION
|
13
13
|
|
14
14
|
def create_views
|
15
|
-
|
15
|
+
directory "devise", "app/views/devise", force: true
|
16
16
|
end
|
17
|
-
|
18
17
|
end
|
19
18
|
end
|
@@ -3,17 +3,16 @@
|
|
3
3
|
module GeoblacklightAdmin
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
isolate_namespace GeoblacklightAdmin
|
6
|
-
|
7
6
|
|
8
7
|
# GeoblacklightAdminHelper is needed by all helpers, so we inject it
|
9
8
|
# into action view base here.
|
10
9
|
initializer "geoblacklight_admin.helpers" do
|
11
10
|
config.after_initialize do
|
12
|
-
ActionView::Base.
|
13
|
-
ActionView::Base.
|
14
|
-
ActionView::Base.
|
15
|
-
ActionView::Base.
|
16
|
-
ActionView::Base.
|
11
|
+
ActionView::Base.include GeoblacklightAdminHelper
|
12
|
+
ActionView::Base.include BulkActionsHelper
|
13
|
+
ActionView::Base.include DocumentHelper
|
14
|
+
ActionView::Base.include FormInputHelper
|
15
|
+
ActionView::Base.include MappingsHelper
|
17
16
|
end
|
18
17
|
end
|
19
18
|
end
|
data/lib/geoblacklight_admin.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
task stats: :environment do
|
4
|
-
Rake::Task["
|
4
|
+
Rake::Task["gbl_admin:stats"].invoke
|
5
5
|
end
|
6
6
|
|
7
7
|
namespace :gbl_admin do
|
@@ -9,7 +9,10 @@ namespace :gbl_admin do
|
|
9
9
|
task :server, [:rails_server_args] do |_t, args|
|
10
10
|
require "solr_wrapper"
|
11
11
|
SolrWrapper.wrap(port: "8983") do |solr|
|
12
|
-
solr.with_collection(name: "blacklight-core",
|
12
|
+
solr.with_collection(name: "blacklight-core",
|
13
|
+
dir: File.join(
|
14
|
+
File.expand_path(Rails.root, File.dirname(__FILE__)), "solr", "conf"
|
15
|
+
)) do
|
13
16
|
puts "\nSolr server running: http://localhost:#{solr.port}/solr/#/blacklight-core"
|
14
17
|
puts "\n^C to stop"
|
15
18
|
puts " "
|
@@ -24,8 +27,6 @@ namespace :gbl_admin do
|
|
24
27
|
end
|
25
28
|
end
|
26
29
|
|
27
|
-
|
28
|
-
|
29
30
|
desc "Run test suite"
|
30
31
|
task ci: :environment do
|
31
32
|
Rails.env = "test"
|
@@ -42,7 +43,7 @@ task ci: :environment do
|
|
42
43
|
exit!(1) unless success
|
43
44
|
end
|
44
45
|
|
45
|
-
namespace :
|
46
|
+
namespace :gbl_admin do
|
46
47
|
desc "Set everything to published state"
|
47
48
|
task publish_all: :environment do
|
48
49
|
Document.all.each do |doc|
|
@@ -67,7 +68,7 @@ namespace :geomg do
|
|
67
68
|
CodeStatistics::TEST_TYPES << "Indexers Tests"
|
68
69
|
end
|
69
70
|
|
70
|
-
desc "Run Solr and
|
71
|
+
desc "Run Solr and GBLADMIN for development"
|
71
72
|
task server: :environment do
|
72
73
|
require "solr_wrapper"
|
73
74
|
|
@@ -79,8 +80,10 @@ namespace :geomg do
|
|
79
80
|
puts "Solr running at http://localhost:8983/solr/blacklight-core/, ^C to exit"
|
80
81
|
puts " "
|
81
82
|
begin
|
82
|
-
# Rake::Task['
|
83
|
-
system "bundle exec rails s --binding=#{ENV.fetch("GEOMG_SERVER_BIND_INTERFACE",
|
83
|
+
# Rake::Task['gbl_admin:solr:restore'].invoke
|
84
|
+
system "bundle exec rails s --binding=#{ENV.fetch("GEOMG_SERVER_BIND_INTERFACE",
|
85
|
+
"0.0.0.0")} --port=#{ENV.fetch("GEOMG_SERVER_PORT",
|
86
|
+
"3000")}"
|
84
87
|
sleep
|
85
88
|
rescue Interrupt
|
86
89
|
puts "\nShutting down..."
|
@@ -100,7 +103,7 @@ namespace :geomg do
|
|
100
103
|
puts "Solr running at http://localhost:8983/solr/#/blacklight-core/, ^C to exit"
|
101
104
|
begin
|
102
105
|
Rake::Task["db:fixtures:load"].invoke
|
103
|
-
Rake::Task["
|
106
|
+
# Rake::Task["gbl_admin:solr:reindex"].invoke
|
104
107
|
sleep
|
105
108
|
rescue Interrupt
|
106
109
|
puts "\nShutting down..."
|
@@ -108,7 +111,7 @@ namespace :geomg do
|
|
108
111
|
end
|
109
112
|
end
|
110
113
|
else
|
111
|
-
system("rake
|
114
|
+
system("rake gbl_admin:test RAILS_ENV=test")
|
112
115
|
end
|
113
116
|
end
|
114
117
|
|
@@ -200,7 +203,8 @@ namespace :geomg do
|
|
200
203
|
|
201
204
|
snapshot = Dir.glob(Rails.root.join("solr/snapshots/snapshot.*").to_s).last
|
202
205
|
|
203
|
-
FileUtils.cp_r(snapshot,
|
206
|
+
FileUtils.cp_r(snapshot,
|
207
|
+
Rails.root.join("tmp/geoportal-core-development/server/solr/geoportal-core-development/data").to_s)
|
204
208
|
|
205
209
|
res = Faraday.get "#{solr}/#{replication}"
|
206
210
|
puts res.body
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoblacklight_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Larson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_storage_validations
|
@@ -39,35 +39,49 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: blacklight
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '7.33'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '7.33'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: blacklight_advanced_search
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: blacklight_range_limit
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: bootstrap
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
@@ -95,75 +109,89 @@ dependencies:
|
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '1.0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
112
|
+
name: cocoon
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
117
|
+
version: '1.2'
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
124
|
+
version: '1.2'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: config
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
129
|
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
131
|
+
version: '4.0'
|
118
132
|
type: :runtime
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
136
|
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
138
|
+
version: '4.0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
140
|
+
name: devise
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
143
|
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
145
|
+
version: '4.7'
|
132
146
|
type: :runtime
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
150
|
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
152
|
+
version: '4.7'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
154
|
+
name: devise-bootstrap-views
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
157
|
- - "~>"
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
159
|
+
version: '1.0'
|
146
160
|
type: :runtime
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
164
|
- - "~>"
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
166
|
+
version: '1.0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
168
|
+
name: devise_invitable
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
|
-
- - "
|
171
|
+
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
173
|
+
version: '2.0'
|
160
174
|
type: :runtime
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
|
-
- - "
|
178
|
+
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
180
|
+
version: '2.0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: dotenv-rails
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '2.8'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '2.8'
|
167
195
|
- !ruby/object:Gem::Dependency
|
168
196
|
name: geoblacklight
|
169
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +212,14 @@ dependencies:
|
|
184
212
|
requirements:
|
185
213
|
- - "~>"
|
186
214
|
- !ruby/object:Gem::Version
|
187
|
-
version: 5.2
|
215
|
+
version: '5.2'
|
188
216
|
type: :runtime
|
189
217
|
prerelease: false
|
190
218
|
version_requirements: !ruby/object:Gem::Requirement
|
191
219
|
requirements:
|
192
220
|
- - "~>"
|
193
221
|
- !ruby/object:Gem::Version
|
194
|
-
version: 5.2
|
222
|
+
version: '5.2'
|
195
223
|
- !ruby/object:Gem::Dependency
|
196
224
|
name: httparty
|
197
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -268,14 +296,14 @@ dependencies:
|
|
268
296
|
requirements:
|
269
297
|
- - "~>"
|
270
298
|
- !ruby/object:Gem::Version
|
271
|
-
version: '
|
299
|
+
version: '6.0'
|
272
300
|
type: :runtime
|
273
301
|
prerelease: false
|
274
302
|
version_requirements: !ruby/object:Gem::Requirement
|
275
303
|
requirements:
|
276
304
|
- - "~>"
|
277
305
|
- !ruby/object:Gem::Version
|
278
|
-
version: '
|
306
|
+
version: '6.0'
|
279
307
|
- !ruby/object:Gem::Dependency
|
280
308
|
name: paper_trail
|
281
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -660,6 +688,20 @@ dependencies:
|
|
660
688
|
- - ">="
|
661
689
|
- !ruby/object:Gem::Version
|
662
690
|
version: '0'
|
691
|
+
- !ruby/object:Gem::Dependency
|
692
|
+
name: web-console
|
693
|
+
requirement: !ruby/object:Gem::Requirement
|
694
|
+
requirements:
|
695
|
+
- - ">="
|
696
|
+
- !ruby/object:Gem::Version
|
697
|
+
version: '0'
|
698
|
+
type: :development
|
699
|
+
prerelease: false
|
700
|
+
version_requirements: !ruby/object:Gem::Requirement
|
701
|
+
requirements:
|
702
|
+
- - ">="
|
703
|
+
- !ruby/object:Gem::Version
|
704
|
+
version: '0'
|
663
705
|
description:
|
664
706
|
email:
|
665
707
|
- ewlarson@gmail.com
|
@@ -667,14 +709,8 @@ executables: []
|
|
667
709
|
extensions: []
|
668
710
|
extra_rdoc_files: []
|
669
711
|
files:
|
670
|
-
- ".editorconfig"
|
671
|
-
- ".gitignore"
|
672
|
-
- ".standard.yml"
|
673
|
-
- Gemfile
|
674
|
-
- LICENSE
|
675
712
|
- README.md
|
676
713
|
- Rakefile
|
677
|
-
- app/assets/images/.keep
|
678
714
|
- app/assets/images/aerial_photo.jpg
|
679
715
|
- app/assets/images/archive-solid.svg
|
680
716
|
- app/assets/images/bookmark-regular.svg
|
@@ -699,6 +735,7 @@ files:
|
|
699
735
|
- app/assets/stylesheets/geoblacklight_admin/_core.scss
|
700
736
|
- app/assets/stylesheets/geoblacklight_admin/modules/_autocomplete.scss
|
701
737
|
- app/assets/stylesheets/geoblacklight_admin/modules/_blazer.scss
|
738
|
+
- app/assets/stylesheets/geoblacklight_admin/modules/_chosen.scss
|
702
739
|
- app/assets/stylesheets/geoblacklight_admin/modules/_code.scss
|
703
740
|
- app/assets/stylesheets/geoblacklight_admin/modules/_datepicker.scss
|
704
741
|
- app/assets/stylesheets/geoblacklight_admin/modules/_elements.scss
|
@@ -715,7 +752,6 @@ files:
|
|
715
752
|
- app/controllers/admin/api_controller.rb
|
716
753
|
- app/controllers/admin/bookmarks_controller.rb
|
717
754
|
- app/controllers/admin/bulk_actions_controller.rb
|
718
|
-
- app/controllers/admin/concerns/.keep
|
719
755
|
- app/controllers/admin/concerns/upload_util.rb
|
720
756
|
- app/controllers/admin/document_accesses_controller.rb
|
721
757
|
- app/controllers/admin/document_assets_controller.rb
|
@@ -742,24 +778,24 @@ files:
|
|
742
778
|
- app/jobs/bulk_action_run_document_job.rb
|
743
779
|
- app/jobs/bulk_action_run_job.rb
|
744
780
|
- app/jobs/export_job.rb
|
781
|
+
- app/jobs/export_json_bulk_job.rb
|
745
782
|
- app/jobs/export_json_job.rb
|
746
783
|
- app/jobs/import_document_job.rb
|
747
784
|
- app/jobs/import_run_job.rb
|
748
785
|
- app/models/active_storage_attachment.rb
|
749
786
|
- app/models/active_storage_blob.rb
|
787
|
+
- app/models/admin/bookmark.rb
|
750
788
|
- app/models/api_search_builder.rb
|
751
789
|
- app/models/application_record.rb
|
752
790
|
- app/models/blacklight_api.rb
|
753
791
|
- app/models/blacklight_api_facets.rb
|
754
792
|
- app/models/blacklight_api_ids.rb
|
755
|
-
- app/models/bookmark.rb
|
756
793
|
- app/models/bulk_action.rb
|
757
794
|
- app/models/bulk_action_document.rb
|
758
795
|
- app/models/bulk_action_document_state_machine.rb
|
759
796
|
- app/models/bulk_action_document_transition.rb
|
760
797
|
- app/models/bulk_action_state_machine.rb
|
761
798
|
- app/models/bulk_action_transition.rb
|
762
|
-
- app/models/concerns/.keep
|
763
799
|
- app/models/document.rb
|
764
800
|
- app/models/document/bbox_validator.rb
|
765
801
|
- app/models/document/controlled_lists.rb
|
@@ -819,18 +855,6 @@ files:
|
|
819
855
|
- app/views/admin/bulk_actions/new.html.erb
|
820
856
|
- app/views/admin/bulk_actions/show.html.erb
|
821
857
|
- app/views/admin/bulk_actions/show.json.jbuilder
|
822
|
-
- app/views/admin/devise/confirmations/new.html.erb
|
823
|
-
- app/views/admin/devise/invitations/edit.html.erb
|
824
|
-
- app/views/admin/devise/invitations/new.html.erb
|
825
|
-
- app/views/admin/devise/mailer/invitation_instructions.html.erb
|
826
|
-
- app/views/admin/devise/mailer/invitation_instructions.text.erb
|
827
|
-
- app/views/admin/devise/passwords/edit.html.erb
|
828
|
-
- app/views/admin/devise/passwords/new.html.erb
|
829
|
-
- app/views/admin/devise/registrations/edit.html.erb
|
830
|
-
- app/views/admin/devise/registrations/new.html.erb
|
831
|
-
- app/views/admin/devise/sessions/new.html.erb
|
832
|
-
- app/views/admin/devise/shared/_links.html.erb
|
833
|
-
- app/views/admin/devise/unlocks/new.html.erb
|
834
858
|
- app/views/admin/document_accesses/_document_access.json.jbuilder
|
835
859
|
- app/views/admin/document_accesses/_form.html.erb
|
836
860
|
- app/views/admin/document_accesses/destroy_all.html.erb
|
@@ -863,6 +887,7 @@ files:
|
|
863
887
|
- app/views/admin/documents/_form_nav.html.erb
|
864
888
|
- app/views/admin/documents/_json_aardvark.jbuilder
|
865
889
|
- app/views/admin/documents/_json_btaa_aardvark.jbuilder
|
890
|
+
- app/views/admin/documents/_json_file.jbuilder
|
866
891
|
- app/views/admin/documents/_json_gbl_v1.jbuilder
|
867
892
|
- app/views/admin/documents/_result_facets.html.erb
|
868
893
|
- app/views/admin/documents/_result_pagination.html.erb
|
@@ -875,10 +900,12 @@ files:
|
|
875
900
|
- app/views/admin/documents/features/_multiple_download_links.html.erb
|
876
901
|
- app/views/admin/documents/fetch.json_aardvark.jbuilder
|
877
902
|
- app/views/admin/documents/fetch.json_btaa_aardvark.jbuilder
|
903
|
+
- app/views/admin/documents/fetch.json_file.jbuilder
|
878
904
|
- app/views/admin/documents/fetch.json_gbl_v1.jbuilder
|
879
905
|
- app/views/admin/documents/index.html.erb
|
880
906
|
- app/views/admin/documents/index.json_aardvark.jbuilder
|
881
907
|
- app/views/admin/documents/index.json_btaa_aardvark.jbuilder
|
908
|
+
- app/views/admin/documents/index.json_file.jbuilder
|
882
909
|
- app/views/admin/documents/index.json_gbl_v1.jbuilder
|
883
910
|
- app/views/admin/documents/show.json_aardvark.jbuilder
|
884
911
|
- app/views/admin/documents/show.json_btaa_aardvark.jbuilder
|
@@ -937,6 +964,7 @@ files:
|
|
937
964
|
- app/views/admin/shared/_schema_timestamp.html.erb
|
938
965
|
- app/views/admin/shared/_toast.html.erb
|
939
966
|
- app/views/admin/users/index.html.erb
|
967
|
+
- app/views/catalog/_show_gbl_admin.html.erb
|
940
968
|
- config/authorities/formats.yml
|
941
969
|
- config/authorities/languages.yml
|
942
970
|
- config/authorities/resource_type.yml
|
@@ -951,29 +979,43 @@ files:
|
|
951
979
|
- config/locales/geoblacklight.en.yml
|
952
980
|
- config/locales/simple_form.en.yml
|
953
981
|
- config/routes.rb
|
954
|
-
- db/migrate/
|
982
|
+
- db/migrate/20230316183001_add_geoblacklight_admin_gem.rb
|
955
983
|
- db/seeds.rb
|
956
984
|
- db/seeds_elements.csv
|
957
985
|
- db/seeds_elements.numbers
|
958
986
|
- db/seeds_form_elements.csv
|
959
987
|
- db/seeds_form_elements.numbers
|
960
988
|
- db/structure.sql
|
961
|
-
- geoblacklight_admin.gemspec
|
962
989
|
- lib/generators/geoblacklight_admin/config_generator.rb
|
963
|
-
- lib/generators/geoblacklight_admin/example_docs_generator.rb
|
964
990
|
- lib/generators/geoblacklight_admin/helpers_generator.rb
|
965
991
|
- lib/generators/geoblacklight_admin/install_generator.rb
|
966
992
|
- lib/generators/geoblacklight_admin/jobs_generator.rb
|
967
993
|
- lib/generators/geoblacklight_admin/models_generator.rb
|
968
|
-
- lib/generators/geoblacklight_admin/templates
|
969
|
-
- lib/generators/geoblacklight_admin/templates/.solr_wrapper.yml
|
994
|
+
- lib/generators/geoblacklight_admin/templates/_show_sidebar.html.erb
|
970
995
|
- lib/generators/geoblacklight_admin/templates/_user_util_links.html.erb
|
971
996
|
- lib/generators/geoblacklight_admin/templates/config/database.yml
|
972
997
|
- lib/generators/geoblacklight_admin/templates/config/geomg_aardvark_schema.json
|
998
|
+
- lib/generators/geoblacklight_admin/templates/config/initializers/devise.rb
|
973
999
|
- lib/generators/geoblacklight_admin/templates/config/initializers/geoblacklight_admin.rb
|
974
1000
|
- lib/generators/geoblacklight_admin/templates/config/initializers/kithe.rb
|
1001
|
+
- lib/generators/geoblacklight_admin/templates/config/initializers/mime_types.rb
|
975
1002
|
- lib/generators/geoblacklight_admin/templates/config/initializers/pagy.rb
|
1003
|
+
- lib/generators/geoblacklight_admin/templates/config/initializers/simple_form.rb
|
1004
|
+
- lib/generators/geoblacklight_admin/templates/config/initializers/simple_form_bootstrap.rb
|
976
1005
|
- lib/generators/geoblacklight_admin/templates/config/initializers/statesman.rb
|
1006
|
+
- lib/generators/geoblacklight_admin/templates/config/settings.yml
|
1007
|
+
- lib/generators/geoblacklight_admin/templates/devise/confirmations/new.html.erb
|
1008
|
+
- lib/generators/geoblacklight_admin/templates/devise/invitations/edit.html.erb
|
1009
|
+
- lib/generators/geoblacklight_admin/templates/devise/invitations/new.html.erb
|
1010
|
+
- lib/generators/geoblacklight_admin/templates/devise/mailer/invitation_instructions.html.erb
|
1011
|
+
- lib/generators/geoblacklight_admin/templates/devise/mailer/invitation_instructions.text.erb
|
1012
|
+
- lib/generators/geoblacklight_admin/templates/devise/passwords/edit.html.erb
|
1013
|
+
- lib/generators/geoblacklight_admin/templates/devise/passwords/new.html.erb
|
1014
|
+
- lib/generators/geoblacklight_admin/templates/devise/registrations/edit.html.erb
|
1015
|
+
- lib/generators/geoblacklight_admin/templates/devise/registrations/new.html.erb
|
1016
|
+
- lib/generators/geoblacklight_admin/templates/devise/sessions/new.html.erb
|
1017
|
+
- lib/generators/geoblacklight_admin/templates/devise/shared/_links.html.erb
|
1018
|
+
- lib/generators/geoblacklight_admin/templates/devise/unlocks/new.html.erb
|
977
1019
|
- lib/generators/geoblacklight_admin/templates/javascript/channels/consumer.js
|
978
1020
|
- lib/generators/geoblacklight_admin/templates/javascript/channels/export_channel.js
|
979
1021
|
- lib/generators/geoblacklight_admin/templates/javascript/channels/index.js
|
@@ -1002,15 +1044,11 @@ files:
|
|
1002
1044
|
- lib/generators/geoblacklight_admin/templates/solr/conf/xslt/example_atom.xsl
|
1003
1045
|
- lib/generators/geoblacklight_admin/templates/solr/conf/xslt/example_rss.xsl
|
1004
1046
|
- lib/generators/geoblacklight_admin/templates/solr/conf/xslt/luke.xsl
|
1005
|
-
- lib/generators/geoblacklight_admin/templates/solr/snapshots/.keep
|
1006
1047
|
- lib/generators/geoblacklight_admin/views_generator.rb
|
1007
1048
|
- lib/geoblacklight_admin.rb
|
1008
1049
|
- lib/geoblacklight_admin/engine.rb
|
1009
1050
|
- lib/geoblacklight_admin/version.rb
|
1010
|
-
- lib/tasks/.keep
|
1011
1051
|
- lib/tasks/geoblacklight_admin.rake
|
1012
|
-
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
1013
|
-
- template.rb
|
1014
1052
|
homepage: https://github.com/geobtaa/geoblacklight_admin
|
1015
1053
|
licenses:
|
1016
1054
|
- MIT
|
@@ -1030,7 +1068,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1030
1068
|
- !ruby/object:Gem::Version
|
1031
1069
|
version: '0'
|
1032
1070
|
requirements: []
|
1033
|
-
rubygems_version: 3.
|
1071
|
+
rubygems_version: 3.3.7
|
1034
1072
|
signing_key:
|
1035
1073
|
specification_version: 4
|
1036
1074
|
summary: Administrative UI for GeoBlacklight. Built on Kithe.
|
data/.editorconfig
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# EditorConfig is awesome: http://EditorConfig.org
|
2
|
-
|
3
|
-
# top-most EditorConfig file for the repo
|
4
|
-
root = true
|
5
|
-
|
6
|
-
# Quasi-universal defaults
|
7
|
-
[*]
|
8
|
-
end_of_line = lf
|
9
|
-
insert_final_newline = true
|
10
|
-
charset = utf-8
|
11
|
-
|
12
|
-
# Defaults that seem fairly common
|
13
|
-
indent_style = space
|
14
|
-
indent_size = 2
|
15
|
-
|
16
|
-
# file-specific overrides
|
17
|
-
[CODEOWNERS]
|
18
|
-
indent_size = 8
|
data/.gitignore
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
.bundle/
|
3
|
-
Gemfile.lock
|
4
|
-
coverage
|
5
|
-
.internal_test_app
|
6
|
-
.ruby-version
|
7
|
-
.byebug_history
|
8
|
-
|
9
|
-
*.rbc
|
10
|
-
capybara-*.html
|
11
|
-
.rspec
|
12
|
-
/db/*.sqlite3
|
13
|
-
/db/*.sqlite3-journal
|
14
|
-
/db/*.sqlite3-[0-9]*
|
15
|
-
/public/system
|
16
|
-
/coverage/
|
17
|
-
/spec/tmp
|
18
|
-
*.orig
|
19
|
-
rerun.txt
|
20
|
-
pickle-email-*.html
|
21
|
-
|
22
|
-
# Ignore all logfiles and tempfiles.
|
23
|
-
/log/*
|
24
|
-
/tmp/*
|
25
|
-
!/log/.keep
|
26
|
-
!/tmp/.keep
|
27
|
-
|
28
|
-
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
|
29
|
-
config/initializers/secret_token.rb
|
30
|
-
config/master.key
|
31
|
-
|
32
|
-
# Only include if you have production secrets in this file, which is no longer a Rails default
|
33
|
-
# config/secrets.yml
|
34
|
-
|
35
|
-
# dotenv
|
36
|
-
# TODO Comment out this rule if environment variables can be committed
|
37
|
-
.env
|
38
|
-
|
39
|
-
## Environment normalization:
|
40
|
-
/.bundle
|
41
|
-
/vendor/bundle
|
42
|
-
|
43
|
-
# these should all be checked in to normalize the environment:
|
44
|
-
# Gemfile.lock, .ruby-version, .ruby-gemset
|
45
|
-
|
46
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
47
|
-
.rvmrc
|
48
|
-
|
49
|
-
# if using bower-rails ignore default bower_components path bower.json files
|
50
|
-
/vendor/assets/bower_components
|
51
|
-
*.bowerrc
|
52
|
-
bower.json
|
53
|
-
|
54
|
-
# Ignore pow environment settings
|
55
|
-
.powenv
|
56
|
-
|
57
|
-
# Ignore Byebug command history file.
|
58
|
-
.byebug_history
|
59
|
-
|
60
|
-
# Ignore node_modules
|
61
|
-
node_modules/
|
62
|
-
|
63
|
-
# Ignore precompiled javascript packs
|
64
|
-
/public/packs
|
65
|
-
/public/packs-test
|
66
|
-
/public/assets
|
67
|
-
|
68
|
-
# Ignore yarn files
|
69
|
-
/yarn-error.log
|
70
|
-
yarn-debug.log*
|
71
|
-
.yarn-integrity
|
72
|
-
|
73
|
-
# Ignore uploaded files in development
|
74
|
-
/storage/*
|
75
|
-
!/storage/.keep
|
data/.standard.yml
DELETED