iqvoc 4.13.2 → 4.14.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +6 -8
- data/Gemfile.lock +381 -331
- data/app/aides/inline_data_helper.rb +3 -3
- data/app/aides/skos_exporter.rb +1 -1
- data/app/assets/javascripts/iqvoc/iqvoc.js +0 -20
- data/app/assets/stylesheets/iqvoc/_manifest.scss +1 -0
- data/app/assets/stylesheets/iqvoc/_search_results.scss +14 -0
- data/app/controllers/collections/versions_controller.rb +12 -47
- data/app/controllers/collections_controller.rb +15 -8
- data/app/controllers/concepts/alphabetical_controller.rb +1 -1
- data/app/controllers/concepts/hierarchical_controller.rb +9 -13
- data/app/controllers/concepts/versions_controller.rb +13 -48
- data/app/controllers/concepts_controller.rb +19 -15
- data/app/controllers/concepts_movement_controller.rb +1 -1
- data/app/controllers/dashboard_controller.rb +5 -5
- data/app/controllers/imports_controller.rb +9 -6
- data/app/controllers/reverse_matches_controller.rb +2 -4
- data/app/controllers/search_results_controller.rb +13 -19
- data/app/helpers/application_helper.rb +0 -8
- data/app/helpers/link_helper.rb +13 -9
- data/app/helpers/rdf_helper.rb +9 -5
- data/app/jobs/reverse_match_job.rb +8 -4
- data/app/models/ability.rb +7 -7
- data/app/models/collection/base.rb +17 -8
- data/app/models/concept/base.rb +17 -7
- data/app/models/concept/relation/base.rb +1 -1
- data/app/models/concept/relation/reverse_relation_extension.rb +9 -5
- data/app/models/concerns/search_extension.rb +0 -17
- data/app/models/concerns/versioning.rb +1 -31
- data/app/models/dataset/adaptors/iqvoc/alphabetical_search_adaptor.rb +2 -2
- data/app/models/dataset/adaptors/iqvoc/http_adaptor.rb +2 -2
- data/app/models/dataset/adaptors/iqvoc/search_adaptor.rb +2 -2
- data/app/models/export.rb +1 -1
- data/app/models/label/base.rb +5 -5
- data/app/models/note/base.rb +1 -1
- data/app/models/user.rb +2 -0
- data/app/uploaders/rdf_uploader.rb +1 -1
- data/app/views/collections/_data.html.erb +2 -2
- data/app/views/collections/show_unpublished.html.erb +3 -11
- data/app/views/concepts/notifications/_referenced_concepts.html.erb +0 -1
- data/app/views/concepts/show_published.html.erb +2 -0
- data/app/views/concepts/show_unpublished.html.erb +5 -11
- data/app/views/dashboard/_table.html.erb +0 -8
- data/app/views/pages/version.html.erb +1 -1
- data/app/views/partials/concept/_edit_link_base.html.erb +2 -2
- data/app/views/partials/concept/relation/_edit_base.html.erb +13 -10
- data/app/views/search_results/_detailed_search.html.erb +27 -0
- data/app/views/search_results/_form.html.erb +21 -9
- data/app/views/search_results/index.html.erb +4 -4
- data/app/views/search_results/sections/_change_note.html.erb +28 -25
- data/app/views/search_results/sections/_collection.html.erb +5 -5
- data/app/views/search_results/sections/_datasets.html.erb +8 -20
- data/app/views/search_results/sections/_klass.html.erb +7 -9
- data/app/views/search_results/sections/_languages.html.erb +4 -14
- data/app/views/search_results/sections/_mode.html.erb +8 -10
- data/app/views/search_results/sections/_options.html.erb +6 -8
- data/app/views/search_results/sections/_terms.html.erb +13 -10
- data/app/views/search_results/sections/_type.html.erb +13 -13
- data/config/application.rb +1 -1
- data/config/boot.rb +1 -1
- data/config/database.yml +21 -15
- data/config/database.yml.postgresql +1 -1
- data/config/engine.rb +1 -0
- data/config/initializers/active_record.rb +2 -0
- data/config/initializers/content_security_policy.rb +21 -26
- data/config/initializers/filter_parameter_logging.rb +4 -2
- data/config/initializers/inflections.rb +4 -4
- data/config/initializers/iqvoc.rb +1 -0
- data/config/locales/de.yml +13 -18
- data/config/locales/en.yml +13 -18
- data/config/locales/pt.yml +0 -7
- data/config/routes.rb +0 -4
- data/db/migrate/20231012135837_remove_locked_by.rb +6 -0
- data/db/schema.rb +31 -34
- data/iqvoc.gemspec +7 -5
- data/lib/iqvoc/configuration/concept.rb +2 -0
- data/lib/iqvoc/configuration/core.rb +4 -0
- data/lib/iqvoc/configuration/instance_configuration.rb +2 -2
- data/lib/iqvoc/environments/development.rb +5 -2
- data/lib/iqvoc/environments/production.rb +7 -28
- data/lib/iqvoc/environments/test.rb +1 -1
- data/lib/iqvoc/version.rb +1 -1
- data/test/controllers/concepts_movement_controller_test.rb +0 -2
- data/test/controllers/reverse_match_test.rb +1 -1
- data/test/integration/collection_browsing_test.rb +45 -0
- data/test/integration/collection_circularity_test.rb +3 -3
- data/test/integration/concept_collection_assignment_test.rb +1 -1
- data/test/integration/create_concept_test.rb +15 -0
- data/test/integration/reverse_match_job_test.rb +39 -7
- data/test/integration/search_test.rb +9 -9
- data/test/integration/version_page_test.rb +26 -0
- data/test/models/concept_test.rb +37 -0
- data/test/models/deep_cloning_test.rb +9 -7
- data/test/test_helper.rb +3 -0
- metadata +81 -67
- data/app/views/search_results/sections/_note.html.erb +0 -6
- data/bin/bundle +0 -3
- data/bin/delayed_job +0 -5
- data/bin/rails +0 -4
- data/bin/rake +0 -4
- data/bin/setup +0 -36
- data/bin/update +0 -31
- data/bin/yarn +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4675fc7aeeaad25a7468870e2a22d76170f368db324488b0d42c5f4cb17faf16
|
4
|
+
data.tar.gz: b12be8abd067d409fc9c9b8d97aba7bde99a15414d939c774302dbdb5cb8fbb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a8c358af72300889daecfe8068a4b128c55f78442e58a66aaf8a88490809381bebcb93be60aa51335933c21740593a0f18191f4b64fba80ddf2c80d283c6fc2
|
7
|
+
data.tar.gz: ebbf5674a0677ac7faaa3bb239a3110ab703e153406a2d00d872b52cc248a82a9a310776aea565c6d07563048618e8ff89da3667b36afa70bf8b0b90935d7ae8
|
data/Gemfile
CHANGED
@@ -19,8 +19,8 @@ source 'https://rubygems.org'
|
|
19
19
|
# TODO: The following dependencies could be included by the "gemspec" command.
|
20
20
|
# There is only one problem: gemspec puts the dependencies automatically to a
|
21
21
|
# group (:development by default). This is not what we need.
|
22
|
-
gem 'rails', '~>
|
23
|
-
gem 'puma', '<
|
22
|
+
gem 'rails', '~> 7.0.8'
|
23
|
+
gem 'puma', '< 7.0'
|
24
24
|
gem 'kaminari'
|
25
25
|
gem 'authlogic'
|
26
26
|
gem 'scrypt'
|
@@ -29,7 +29,7 @@ gem 'iq_rdf'
|
|
29
29
|
gem 'iq_triplestorage'
|
30
30
|
gem 'json'
|
31
31
|
gem 'rails_autolink'
|
32
|
-
gem 'faraday'
|
32
|
+
gem 'faraday'
|
33
33
|
gem 'faraday_middleware'
|
34
34
|
gem 'nokogiri'
|
35
35
|
gem 'linkeddata'
|
@@ -41,10 +41,11 @@ gem 'maruku', require: false
|
|
41
41
|
gem 'database_cleaner', '~> 1.8.5'
|
42
42
|
gem 'delayed_job_active_record'
|
43
43
|
gem 'carrierwave'
|
44
|
-
gem '
|
44
|
+
gem 'carrierwave-i18n'
|
45
45
|
gem 'faucet_pipeline_rails'
|
46
|
+
gem 'bootsnap', require: false
|
46
47
|
|
47
|
-
gem '
|
48
|
+
gem 'net-http' # silence already initialized constant errors for ruby < 3.0: https://github.com/ruby/net-imap/issues/16
|
48
49
|
|
49
50
|
# database adapters
|
50
51
|
# comment out those you do don't need or use a different Gemfile
|
@@ -71,9 +72,6 @@ group :test do
|
|
71
72
|
end
|
72
73
|
|
73
74
|
group :production do
|
74
|
-
gem 'activerecord-nulldb-adapter'
|
75
|
-
#version updates must be done in the Dockerfile as well
|
76
|
-
gem 'passenger', '= 5.3.7'
|
77
75
|
end
|
78
76
|
|
79
77
|
group :heroku do
|