iqvoc 4.13.2 → 4.14.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -8
  3. data/Gemfile.lock +381 -331
  4. data/app/aides/inline_data_helper.rb +3 -3
  5. data/app/aides/skos_exporter.rb +1 -1
  6. data/app/assets/javascripts/iqvoc/iqvoc.js +0 -20
  7. data/app/assets/stylesheets/iqvoc/_manifest.scss +1 -0
  8. data/app/assets/stylesheets/iqvoc/_search_results.scss +14 -0
  9. data/app/controllers/collections/versions_controller.rb +12 -47
  10. data/app/controllers/collections_controller.rb +15 -8
  11. data/app/controllers/concepts/alphabetical_controller.rb +1 -1
  12. data/app/controllers/concepts/hierarchical_controller.rb +9 -13
  13. data/app/controllers/concepts/versions_controller.rb +13 -48
  14. data/app/controllers/concepts_controller.rb +19 -15
  15. data/app/controllers/concepts_movement_controller.rb +1 -1
  16. data/app/controllers/dashboard_controller.rb +5 -5
  17. data/app/controllers/imports_controller.rb +9 -6
  18. data/app/controllers/reverse_matches_controller.rb +2 -4
  19. data/app/controllers/search_results_controller.rb +13 -19
  20. data/app/helpers/application_helper.rb +0 -8
  21. data/app/helpers/link_helper.rb +13 -9
  22. data/app/helpers/rdf_helper.rb +9 -5
  23. data/app/jobs/reverse_match_job.rb +8 -4
  24. data/app/models/ability.rb +7 -7
  25. data/app/models/collection/base.rb +17 -8
  26. data/app/models/concept/base.rb +17 -7
  27. data/app/models/concept/relation/base.rb +1 -1
  28. data/app/models/concept/relation/reverse_relation_extension.rb +9 -5
  29. data/app/models/concerns/search_extension.rb +0 -17
  30. data/app/models/concerns/versioning.rb +1 -31
  31. data/app/models/dataset/adaptors/iqvoc/alphabetical_search_adaptor.rb +2 -2
  32. data/app/models/dataset/adaptors/iqvoc/http_adaptor.rb +2 -2
  33. data/app/models/dataset/adaptors/iqvoc/search_adaptor.rb +2 -2
  34. data/app/models/export.rb +1 -1
  35. data/app/models/label/base.rb +5 -5
  36. data/app/models/note/base.rb +1 -1
  37. data/app/models/user.rb +2 -0
  38. data/app/uploaders/rdf_uploader.rb +1 -1
  39. data/app/views/collections/_data.html.erb +2 -2
  40. data/app/views/collections/show_unpublished.html.erb +3 -11
  41. data/app/views/concepts/notifications/_referenced_concepts.html.erb +0 -1
  42. data/app/views/concepts/show_published.html.erb +2 -0
  43. data/app/views/concepts/show_unpublished.html.erb +5 -11
  44. data/app/views/dashboard/_table.html.erb +0 -8
  45. data/app/views/pages/version.html.erb +1 -1
  46. data/app/views/partials/concept/_edit_link_base.html.erb +2 -2
  47. data/app/views/partials/concept/relation/_edit_base.html.erb +13 -10
  48. data/app/views/search_results/_detailed_search.html.erb +27 -0
  49. data/app/views/search_results/_form.html.erb +21 -9
  50. data/app/views/search_results/index.html.erb +4 -4
  51. data/app/views/search_results/sections/_change_note.html.erb +28 -25
  52. data/app/views/search_results/sections/_collection.html.erb +5 -5
  53. data/app/views/search_results/sections/_datasets.html.erb +8 -20
  54. data/app/views/search_results/sections/_klass.html.erb +7 -9
  55. data/app/views/search_results/sections/_languages.html.erb +4 -14
  56. data/app/views/search_results/sections/_mode.html.erb +8 -10
  57. data/app/views/search_results/sections/_options.html.erb +6 -8
  58. data/app/views/search_results/sections/_terms.html.erb +13 -10
  59. data/app/views/search_results/sections/_type.html.erb +13 -13
  60. data/config/application.rb +1 -1
  61. data/config/boot.rb +1 -1
  62. data/config/database.yml +21 -15
  63. data/config/database.yml.postgresql +1 -1
  64. data/config/engine.rb +1 -0
  65. data/config/initializers/active_record.rb +2 -0
  66. data/config/initializers/content_security_policy.rb +21 -26
  67. data/config/initializers/filter_parameter_logging.rb +4 -2
  68. data/config/initializers/inflections.rb +4 -4
  69. data/config/initializers/iqvoc.rb +1 -0
  70. data/config/locales/de.yml +13 -18
  71. data/config/locales/en.yml +13 -18
  72. data/config/locales/pt.yml +0 -7
  73. data/config/routes.rb +0 -4
  74. data/db/migrate/20231012135837_remove_locked_by.rb +6 -0
  75. data/db/schema.rb +31 -34
  76. data/iqvoc.gemspec +7 -5
  77. data/lib/iqvoc/configuration/concept.rb +2 -0
  78. data/lib/iqvoc/configuration/core.rb +4 -0
  79. data/lib/iqvoc/configuration/instance_configuration.rb +2 -2
  80. data/lib/iqvoc/environments/development.rb +5 -2
  81. data/lib/iqvoc/environments/production.rb +7 -28
  82. data/lib/iqvoc/environments/test.rb +1 -1
  83. data/lib/iqvoc/version.rb +1 -1
  84. data/test/controllers/concepts_movement_controller_test.rb +0 -2
  85. data/test/controllers/reverse_match_test.rb +1 -1
  86. data/test/integration/collection_browsing_test.rb +45 -0
  87. data/test/integration/collection_circularity_test.rb +3 -3
  88. data/test/integration/concept_collection_assignment_test.rb +1 -1
  89. data/test/integration/create_concept_test.rb +15 -0
  90. data/test/integration/reverse_match_job_test.rb +39 -7
  91. data/test/integration/search_test.rb +9 -9
  92. data/test/integration/version_page_test.rb +26 -0
  93. data/test/models/concept_test.rb +37 -0
  94. data/test/models/deep_cloning_test.rb +9 -7
  95. data/test/test_helper.rb +3 -0
  96. metadata +81 -67
  97. data/app/views/search_results/sections/_note.html.erb +0 -6
  98. data/bin/bundle +0 -3
  99. data/bin/delayed_job +0 -5
  100. data/bin/rails +0 -4
  101. data/bin/rake +0 -4
  102. data/bin/setup +0 -36
  103. data/bin/update +0 -31
  104. data/bin/yarn +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e6c7537cbe3c6f987aee35d526e733feabfc1c453f40d1e18372bb0ec294f3d
4
- data.tar.gz: 8ed2682db011a3b6e1e3b990b25ccccb57d15c40dfa2d73f5d3a5a8d9c942317
3
+ metadata.gz: 4675fc7aeeaad25a7468870e2a22d76170f368db324488b0d42c5f4cb17faf16
4
+ data.tar.gz: b12be8abd067d409fc9c9b8d97aba7bde99a15414d939c774302dbdb5cb8fbb8
5
5
  SHA512:
6
- metadata.gz: 53143c143a52e33326a5ebaeede4aab188135610e8ae0080af2dce2b9ff103828c69a06c9d010d0505a6d2943fda035f76f8408f24d13de9ee44db60a35472cd
7
- data.tar.gz: 809e09cbb2ef27f1353be36c1f610210e25a1a5908568bca8cf2258f66b5a0970e387797bdb8a5a50a135011db8906326c55427d938dcbce64a1e8ef2b3fb907
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', '~> 6.1.5', '>= 6.1.5.1'
23
- gem 'puma', '< 6.0'
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', '0.9.0'
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 'daemons'
44
+ gem 'carrierwave-i18n'
45
45
  gem 'faucet_pipeline_rails'
46
+ gem 'bootsnap', require: false
46
47
 
47
- gem 'bootsnap', '>= 1.4.4', require: false
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