iqvoc_skosxl 2.9.0 → 2.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +8 -10
- data/Gemfile.lock +471 -301
- data/README.md +1 -1
- data/app/assets/javascripts/iqvoc_skosxl/duplicate_check.js +104 -0
- data/app/assets/javascripts/iqvoc_skosxl/manifest.js +4 -0
- data/app/assets/javascripts/iqvoc_skosxl/new_label_modal.js +19 -0
- data/app/assets/javascripts/manifest.js +3 -3
- data/app/assets/stylesheets/manifest.scss +4 -0
- data/app/controllers/labels/versions_controller.rb +30 -50
- data/app/controllers/labels_controller.rb +71 -25
- data/app/controllers/rdf_controller.rb +8 -7
- data/app/controllers/xl_dashboard_controller.rb +43 -0
- data/app/helpers/iqvoc_skosxl_helper.rb +4 -0
- data/app/helpers/labels_helper.rb +8 -6
- data/app/models/application_record.rb +3 -0
- data/app/models/collection/skosxl/extension.rb +8 -0
- data/app/models/concept/skosxl/extension.rb +4 -2
- data/app/models/label/relation/base.rb +2 -2
- data/app/models/label/skosxl/base.rb +166 -29
- data/app/models/label/skosxl/properties/literal_form.rb +1 -1
- data/app/models/labeling/skosxl/alt_label.rb +12 -0
- data/app/models/labeling/skosxl/base.rb +65 -10
- data/app/models/labeling/skosxl/hidden_label.rb +2 -2
- data/app/models/labeling/skosxl/pref_label.rb +4 -0
- data/app/views/concepts/_form.html.erb +115 -0
- data/app/views/labels/_form.html.erb +11 -3
- data/app/views/labels/_language.html.erb +4 -0
- data/app/views/labels/_sidebar.html.erb +13 -7
- data/app/views/labels/duplicate.html.erb +4 -0
- data/app/views/labels/new.html.erb +1 -0
- data/app/views/labels/new_from_concept.html.erb +28 -0
- data/app/views/labels/notifications/_referenced_labels.html.erb +0 -1
- data/app/views/{rdf/show_label.iqrdf → labels/show.iqrdf} +1 -1
- data/app/views/labels/show_published.html.erb +5 -3
- data/app/views/labels/show_unpublished.html.erb +19 -22
- data/app/views/layouts/_label_in_concept_modal.html.erb +2 -0
- data/app/views/layouts/application.html.erb +51 -0
- data/app/views/partials/_modal.html.erb +17 -0
- data/app/views/partials/label/skosxl/_inline_base.html.erb +1 -0
- data/app/views/partials/label/skosxl/_new_link_base.html.erb +1 -1
- data/app/views/partials/labeling/skosxl/_base.html.erb +20 -13
- data/app/views/partials/labeling/skosxl/_edit_base.html.erb +3 -2
- data/config/application.rb +26 -14
- data/config/boot.rb +3 -3
- data/config/cable.yml +10 -0
- data/config/database.yml +21 -15
- data/config/database.yml.postgresql +12 -9
- data/config/environment.rb +1 -1
- data/config/initializers/content_security_policy.rb +25 -0
- data/config/initializers/filter_parameter_logging.rb +6 -2
- data/config/initializers/inflections.rb +4 -4
- data/config/initializers/iqvoc.rb +15 -11
- data/config/initializers/permissions_policy.rb +11 -0
- data/config/initializers/wrap_parameters.rb +2 -2
- data/config/initializers/zeitwerk.rb +7 -0
- data/config/locales/activerecord.de.yml +5 -2
- data/config/locales/activerecord.en.yml +3 -0
- data/config/locales/de.yml +13 -0
- data/config/locales/en.yml +13 -0
- data/config/routes.rb +8 -12
- data/config/storage.yml +34 -0
- data/db/migrate/20110408121540_extend_label.rb +3 -3
- data/db/migrate/20110408123644_add_label_relations.rb +1 -1
- data/db/migrate/20150108154312_add_fk_contraints_iqvoc_skosxl.rb +1 -1
- data/db/migrate/20150414083600_remove_fk_constraints_iqvoc_skosxl.rb +1 -1
- data/db/migrate/20231012174634_remove_locked_by_for_label.rb +5 -0
- data/db/schema.rb +173 -182
- data/iqvoc_skosxl.gemspec +2 -2
- data/lib/iqvoc/skosxl/version.rb +1 -1
- data/lib/iqvoc_skosxl.rb +8 -1
- data/public/assets/fonts/FiraMono-Regular-0b6138c5b386dc9125473fd851926f29.ttf +0 -0
- data/public/assets/fonts/FiraMono-Regular-690950e8d89c92cba41eeeb13f1de93e.woff +0 -0
- data/public/assets/fonts/FiraMono-Regular-98f97ed2dbf9d94d4fa5df048434b88d.eot +0 -0
- data/public/assets/fonts/FiraMono-Regular.eot +0 -0
- data/public/assets/fonts/FiraMono-Regular.ttf +0 -0
- data/public/assets/fonts/FiraMono-Regular.woff +0 -0
- data/public/assets/fonts/FiraSans-Bold-0de5f536bd0dc370449c0c67a49a6fe7.eot +0 -0
- data/public/assets/fonts/FiraSans-Bold-25037ef8d155e38b5df0c242a4c6cf2d.ttf +0 -0
- data/public/assets/fonts/FiraSans-Bold-494219a9639084eb9528ff47f79fcda1.woff +0 -0
- data/public/assets/fonts/FiraSans-Bold.eot +0 -0
- data/public/assets/fonts/FiraSans-Bold.ttf +0 -0
- data/public/assets/fonts/FiraSans-Bold.woff +0 -0
- data/public/assets/fonts/FiraSans-BoldItalic-5b3b812df9e1cb2b1f34baad65a2bdfb.ttf +0 -0
- data/public/assets/fonts/FiraSans-BoldItalic-90b8087c48feff2e828f658c49de5399.eot +0 -0
- data/public/assets/fonts/FiraSans-BoldItalic-b10e46158d50bf9b78968112acf87310.woff +0 -0
- data/public/assets/fonts/FiraSans-BoldItalic.eot +0 -0
- data/public/assets/fonts/FiraSans-BoldItalic.ttf +0 -0
- data/public/assets/fonts/FiraSans-BoldItalic.woff +0 -0
- data/public/assets/fonts/FiraSans-Book-659d252627051e785260ba445da8930f.woff +0 -0
- data/public/assets/fonts/FiraSans-Book-abc65ceb7bfaed729bff7a9d1367b7d4.eot +0 -0
- data/public/assets/fonts/FiraSans-Book-f0410501d5ecc5fe66bcdbc02b482c81.ttf +0 -0
- data/public/assets/fonts/FiraSans-Book.eot +0 -0
- data/public/assets/fonts/FiraSans-Book.ttf +0 -0
- data/public/assets/fonts/FiraSans-Book.woff +0 -0
- data/public/assets/fonts/FiraSans-ExtraLight-140f15ee97cb2099ff01c2b57dcd1a24.woff +0 -0
- data/public/assets/fonts/FiraSans-ExtraLight-28e5c2679df66406ebd117fbdded6753.eot +0 -0
- data/public/assets/fonts/FiraSans-ExtraLight-c15de70ebceffce178cbd2e82aa2c373.ttf +0 -0
- data/public/assets/fonts/FiraSans-ExtraLight.eot +0 -0
- data/public/assets/fonts/FiraSans-ExtraLight.ttf +0 -0
- data/public/assets/fonts/FiraSans-ExtraLight.woff +0 -0
- data/public/assets/fonts/FiraSans-Italic-ac4cb18fe14a7c90f29cdd2ce499ba59.woff +0 -0
- data/public/assets/fonts/FiraSans-Italic-bdea00fee0da5ca9176061e00c26a0da.eot +0 -0
- data/public/assets/fonts/FiraSans-Italic-e7e76a0ee170fd29b5d8100753eff569.ttf +0 -0
- data/public/assets/fonts/FiraSans-Italic.eot +0 -0
- data/public/assets/fonts/FiraSans-Italic.ttf +0 -0
- data/public/assets/fonts/FiraSans-Italic.woff +0 -0
- data/public/assets/fonts/FiraSans-Light-20adaf630b690c3e3184daaeae585f22.woff +0 -0
- data/public/assets/fonts/FiraSans-Light-3689e18b38d335ec0c43823adb6a2984.eot +0 -0
- data/public/assets/fonts/FiraSans-Light-55b04531e7a9ecdf58090d70b94b68e2.ttf +0 -0
- data/public/assets/fonts/FiraSans-Light-SC-098407a72b7ad46f7c2480d7ac11baf2.eot +0 -0
- data/public/assets/fonts/FiraSans-Light-SC-82763fe2ce9e6b897556c6f3c2aceb29.woff2 +0 -0
- data/public/assets/fonts/FiraSans-Light-SC-c73985985f0501c1845a5185b180fe6b.woff +0 -0
- data/public/assets/fonts/FiraSans-Light-SC-c9563f48d9cccd91f07e46801c27130f.ttf +0 -0
- data/public/assets/fonts/FiraSans-Light-SC.eot +0 -0
- data/public/assets/fonts/FiraSans-Light-SC.ttf +0 -0
- data/public/assets/fonts/FiraSans-Light-SC.woff +0 -0
- data/public/assets/fonts/FiraSans-Light-SC.woff2 +0 -0
- data/public/assets/fonts/FiraSans-Light.eot +0 -0
- data/public/assets/fonts/FiraSans-Light.ttf +0 -0
- data/public/assets/fonts/FiraSans-Light.woff +0 -0
- data/public/assets/fonts/FiraSans-Medium-082fab59048189168006bf2e914ba8b7.woff +0 -0
- data/public/assets/fonts/FiraSans-Medium-11706edfe8651c355b413bd24b4b5e10.eot +0 -0
- data/public/assets/fonts/FiraSans-Medium-3a0dacdeaba1b4c054f2d6cb5061965d.ttf +0 -0
- data/public/assets/fonts/FiraSans-Medium.eot +0 -0
- data/public/assets/fonts/FiraSans-Medium.ttf +0 -0
- data/public/assets/fonts/FiraSans-Medium.woff +0 -0
- data/public/assets/fonts/FiraSans-MediumItalic-6c8a2646d72641226527d574a8485b66.woff +0 -0
- data/public/assets/fonts/FiraSans-MediumItalic-b81e92794a6878b6c578d97b3ad5e6d7.ttf +0 -0
- data/public/assets/fonts/FiraSans-MediumItalic-eae7f4a3c4db9fe83025909ebfae5ad9.eot +0 -0
- data/public/assets/fonts/FiraSans-MediumItalic.eot +0 -0
- data/public/assets/fonts/FiraSans-MediumItalic.ttf +0 -0
- data/public/assets/fonts/FiraSans-MediumItalic.woff +0 -0
- data/public/assets/fonts/FiraSans-Regular-537188a19aeebdd74a92e114af7a02cb.ttf +0 -0
- data/public/assets/fonts/FiraSans-Regular-5d6a923de9be80ff5c2995cc03d93127.woff +0 -0
- data/public/assets/fonts/FiraSans-Regular-db689e5fea21ed4b7890811151968dc6.eot +0 -0
- data/public/assets/fonts/FiraSans-Regular.eot +0 -0
- data/public/assets/fonts/FiraSans-Regular.ttf +0 -0
- data/public/assets/fonts/FiraSans-Regular.woff +0 -0
- data/public/assets/fonts/FiraSans-UltraLight-3baefce4c224a0f0b26cdafe37dfa55d.eot +0 -0
- data/public/assets/fonts/FiraSans-UltraLight-e3909a352b87f853bb464836adfd602a.ttf +0 -0
- data/public/assets/fonts/FiraSans-UltraLight-f7289beeaa2353caf487553ee8b8ef03.woff +0 -0
- data/public/assets/fonts/FiraSans-UltraLight.eot +0 -0
- data/public/assets/fonts/FiraSans-UltraLight.ttf +0 -0
- data/public/assets/fonts/FiraSans-UltraLight.woff +0 -0
- data/public/assets/fonts/FontAwesome.otf +0 -0
- data/public/assets/fonts/fontawesome-webfont.eot +0 -0
- data/public/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/public/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/public/assets/fonts/fontawesome-webfont.woff +0 -0
- data/public/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/public/assets/images/ajax-loader-30d8e72bfdae694b1938658e1b087df0.gif +0 -0
- data/public/assets/images/ajax-loader.gif +0 -0
- data/public/assets/images/iqvoc_logo-165f17a46cf0a1bf9464db9d136fb843.svg +41 -0
- data/public/assets/images/iqvoc_logo.svg +41 -0
- data/public/assets/images/treeview-default-line-5e3c0e0c48f48c23c45aef7b72c739c0.gif +0 -0
- data/public/assets/images/treeview-default-line.gif +0 -0
- data/public/assets/javascripts/bootstrap.bundle.min-68b3c2f1c1f636f947fff1229d3ffbf5.js +7 -0
- data/public/assets/javascripts/bootstrap.bundle.min.js +31 -0
- data/public/assets/javascripts/jquery-d52dc3a9171f1fc89dd0f8e35e42c9d2.js +26 -0
- data/public/assets/javascripts/jquery.js +10701 -0
- data/public/assets/javascripts/manifest-d95423d4873e576e7ae0b6a57cf18ec5.js +5486 -0
- data/public/assets/javascripts/manifest.js +6981 -0
- data/public/assets/manifest.json +1 -0
- data/public/assets/stylesheets/manifest-bbb2857850990f13f777f3dec120a018.css +13 -0
- data/public/assets/stylesheets/manifest.css +13620 -0
- data/public/favicon.ico +0 -0
- data/test/controllers/rdf_rendering_test.rb +19 -0
- data/test/controllers/routing_test.rb +5 -1
- data/test/integration/concept_label_language_test.rb +1 -3
- data/test/integration/dashboard_test.rb +1 -1
- data/test/integration/duplicate_label_test.rb +52 -0
- data/test/integration/edit_labels_test.rb +2 -2
- data/test/integration/label_creation_test.rb +8 -0
- data/test/integration/label_relation_test.rb +2 -2
- data/test/integration/labels_order_test.rb +6 -6
- data/test/integration/search_test.rb +117 -0
- data/test/integration_test_helper.rb +2 -2
- data/test/models/concept_test.rb +12 -0
- data/test/models/skos_importer_test.rb +1 -1
- data/test/models/zeitwerk_compliance_test.rb +7 -0
- metadata +137 -19
- data/app/assets/stylesheets/manifest.css.scss +0 -4
- data/app/views/labels/_value_and_language.html.erb +0 -9
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/cookies_serializer.rb +0 -3
- data/config/initializers/mime_types.rb +0 -4
data/public/favicon.ico
ADDED
File without changes
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
2
|
+
|
3
|
+
class RdfRenderingTest < ActionController::TestCase
|
4
|
+
setup do
|
5
|
+
@label = Iqvoc::XLLabel.base_class.create(
|
6
|
+
language: 'en', value: 'Forest', origin: 'forest', published_at: 3.days.ago)
|
7
|
+
|
8
|
+
end
|
9
|
+
|
10
|
+
test 'label representations' do
|
11
|
+
@controller = RdfController.new
|
12
|
+
|
13
|
+
get :show, params: { lang: 'en', id: @label.origin, format: 'ttl' }
|
14
|
+
assert_response 200
|
15
|
+
assert @response.body.include? '@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#>.'
|
16
|
+
assert @response.body.include? ':forest a skosxl:Label'
|
17
|
+
assert @response.body.include? 'skosxl:literalForm "Forest"@en'
|
18
|
+
end
|
19
|
+
end
|
@@ -10,7 +10,11 @@ class RoutingTest < ActionController::TestCase
|
|
10
10
|
end
|
11
11
|
|
12
12
|
test 'routing' do
|
13
|
-
get :show,
|
13
|
+
get :show, params: {
|
14
|
+
lang: 'en',
|
15
|
+
format: 'html',
|
16
|
+
id: @label.origin
|
17
|
+
}
|
14
18
|
assert_response :success
|
15
19
|
end
|
16
20
|
end
|
@@ -73,9 +73,7 @@ class ConceptLabelLanguageTest < ActionDispatch::IntegrationTest
|
|
73
73
|
# create, then edit concept
|
74
74
|
visit new_concept_path(lang: 'de', format: 'html')
|
75
75
|
click_button 'Speichern'
|
76
|
-
|
77
|
-
page.find('td a').click
|
78
|
-
page.click_link_or_button 'Bearbeitung fortsetzen'
|
76
|
+
page.click_link_or_button 'Bearbeiten'
|
79
77
|
|
80
78
|
# NB: label languages do not match relation languages
|
81
79
|
fill_in 'labeling_skosxl_pref_labels_en',
|
@@ -26,7 +26,7 @@ class DashboardTest < ActionDispatch::IntegrationTest
|
|
26
26
|
assert !@label.published?
|
27
27
|
login('administrator')
|
28
28
|
|
29
|
-
visit
|
29
|
+
visit label_dashboard_path(lang: 'de', format: 'html')
|
30
30
|
assert page.has_link?(@label.value.to_s), "Couldn't find Label link '#{@label.value.to_s}' in dashboards concepts + labels list"
|
31
31
|
click_link_or_button(@label.value.to_s)
|
32
32
|
assert_equal label_path(@label, lang: 'de', format: 'html'), current_path
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
# Copyright 2011-2017 innoQ Deutschland GmbH
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), '../integration_test_helper')
|
18
|
+
|
19
|
+
class DuplicateLabelTest < ActionDispatch::IntegrationTest
|
20
|
+
setup do
|
21
|
+
@label = Iqvoc::XLLabel.base_class.create(
|
22
|
+
language: 'de', value: 'Wald', published_at: 3.days.ago)
|
23
|
+
end
|
24
|
+
|
25
|
+
test 'Duplicate a label' do
|
26
|
+
assert @label.published?
|
27
|
+
login('administrator')
|
28
|
+
|
29
|
+
visit label_path(@label, lang: 'de', format: 'html')
|
30
|
+
assert page.has_link?('Duplizieren')
|
31
|
+
click_link_or_button('Duplizieren')
|
32
|
+
assert_equal label_duplicate_path(@label, lang: 'de', format: 'html'), current_path
|
33
|
+
|
34
|
+
click_link_or_button('Speichern')
|
35
|
+
|
36
|
+
assert !page.has_button?('Neue Version erstellen')
|
37
|
+
assert !page.has_link?('Duplizieren')
|
38
|
+
assert page.has_button?('Veröffentlichen')
|
39
|
+
assert page.has_content? 'Das Label wurde aktualisiert.'
|
40
|
+
assert page.has_content? 'Wald [Kopie]'
|
41
|
+
|
42
|
+
# check initial created-ChangeNote
|
43
|
+
change_note_relation_name = Iqvoc::change_note_class_name.to_relation_name
|
44
|
+
within("\##{change_note_relation_name}") do
|
45
|
+
assert page.has_css?('.translation', count: 1)
|
46
|
+
assert page.has_content? 'Initiale Version'
|
47
|
+
assert page.has_content? 'dct:created'
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -16,13 +16,13 @@
|
|
16
16
|
|
17
17
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../integration_test_helper')
|
18
18
|
|
19
|
-
class
|
19
|
+
class EditLabelsTest < ActionDispatch::IntegrationTest
|
20
20
|
setup do
|
21
21
|
@label = Iqvoc::XLLabel.base_class.create(
|
22
22
|
language: 'en', value: 'Forest', published_at: 3.days.ago)
|
23
23
|
end
|
24
24
|
|
25
|
-
test 'Create a new
|
25
|
+
test 'Create a new label version' do
|
26
26
|
assert @label.published?
|
27
27
|
login('administrator')
|
28
28
|
|
@@ -68,4 +68,12 @@ class LabelCreationTest < ActionDispatch::IntegrationTest
|
|
68
68
|
click_link_or_button 'Konsistenz prüfen'
|
69
69
|
assert page.has_content? 'Instanz ist inkonsistent.'
|
70
70
|
end
|
71
|
+
|
72
|
+
test 'inconsistent label that is sent for review' do
|
73
|
+
visit new_label_path(lang: 'de', language: 'de')
|
74
|
+
fill_in 'Vorlageform', with: ''
|
75
|
+
click_link_or_button 'Speichern'
|
76
|
+
click_link_or_button 'Zur Freigabe vorlegen'
|
77
|
+
assert page.has_content? 'Instanz ist inkonsistent.'
|
78
|
+
end
|
71
79
|
end
|
@@ -61,7 +61,7 @@ class LabelsRelationTest < ActionDispatch::IntegrationTest
|
|
61
61
|
visit label_path(@dog_en, lang: 'en', format: 'html')
|
62
62
|
click_link_or_button('Create new version')
|
63
63
|
assert_equal edit_label_path(@dog_en, lang: 'en', format: 'html'), current_path
|
64
|
-
assert page.has_content? 'Instance copy has been created
|
64
|
+
assert page.has_content? 'Instance copy has been created.'
|
65
65
|
|
66
66
|
# add translation dog_en => dog_de
|
67
67
|
fill_in 'label_relation_skosxl_translations', with: 'dog_de'
|
@@ -101,7 +101,7 @@ class LabelsRelationTest < ActionDispatch::IntegrationTest
|
|
101
101
|
visit label_path(@dog_en, lang: 'en', format: 'html')
|
102
102
|
click_link_or_button('Create new version')
|
103
103
|
assert_equal edit_label_path(@dog_en, lang: 'en', format: 'html'), current_path
|
104
|
-
assert page.has_content? 'Instance copy has been created
|
104
|
+
assert page.has_content? 'Instance copy has been created.'
|
105
105
|
|
106
106
|
# add translation dog_en => dog_de
|
107
107
|
fill_in 'label_relation_skosxl_unidirectional_relations', with: 'dog_de'
|
@@ -17,8 +17,8 @@
|
|
17
17
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../integration_test_helper')
|
18
18
|
|
19
19
|
class LabelsOrderTest < ActionDispatch::IntegrationTest
|
20
|
-
test 'label order
|
21
|
-
names = ['
|
20
|
+
test 'label order' do
|
21
|
+
names = ['haltestelle', 'test12', 'test1', 'test']
|
22
22
|
lang = 'en'
|
23
23
|
# create a few labels
|
24
24
|
names.each_with_index do |name, index|
|
@@ -35,9 +35,9 @@ class LabelsOrderTest < ActionDispatch::IntegrationTest
|
|
35
35
|
data = JSON.parse(@response.body)
|
36
36
|
|
37
37
|
assert_response :success
|
38
|
-
assert_equal '
|
39
|
-
assert_equal '
|
40
|
-
assert_equal '
|
41
|
-
assert_equal '
|
38
|
+
assert_equal 'test (en)', data[0]['name'] # hacky test fix "(en)" will be injected by javascript widget
|
39
|
+
assert_equal 'test1 (en)', data[1]['name']
|
40
|
+
assert_equal 'test12 (en)', data[2]['name'] # XXX: do we care about order of "ABC" vs. "abc"?
|
41
|
+
assert_equal 'haltestelle (en)', data[3]['name']
|
42
42
|
end
|
43
43
|
end
|
@@ -0,0 +1,117 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
# Copyright 2011-2017 innoQ Deutschland GmbH
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), '../integration_test_helper')
|
18
|
+
|
19
|
+
class SearchTest < ActionDispatch::IntegrationTest
|
20
|
+
|
21
|
+
test 'filtering concepts by change note date' do
|
22
|
+
login 'administrator'
|
23
|
+
|
24
|
+
visit new_label_path(lang: 'en', format: 'html', published: 0)
|
25
|
+
fill_in 'label_value', with: 'Water'
|
26
|
+
click_button 'Save'
|
27
|
+
click_link_or_button 'Publish'
|
28
|
+
|
29
|
+
visit new_concept_path(lang: 'en', format: 'html', published: 0)
|
30
|
+
fill_in 'labeling_skosxl_pref_labels_en', with: Iqvoc::XLLabel.base_class.first.origin
|
31
|
+
click_button 'Save'
|
32
|
+
click_link_or_button 'Publish'
|
33
|
+
|
34
|
+
visit new_label_path(lang: 'en', format: 'html', published: 0)
|
35
|
+
fill_in 'label_value', with: 'Air'
|
36
|
+
click_button 'Save'
|
37
|
+
click_link_or_button 'Publish'
|
38
|
+
|
39
|
+
visit new_concept_path(lang: 'en', format: 'html', published: 0)
|
40
|
+
fill_in 'labeling_skosxl_pref_labels_en', with: Iqvoc::XLLabel.base_class.second.origin
|
41
|
+
click_button 'Save'
|
42
|
+
click_link_or_button 'Publish'
|
43
|
+
|
44
|
+
Note::Annotated::Base.where(predicate: "created").second.update(value: (DateTime.now - 10.days).to_s)
|
45
|
+
|
46
|
+
visit search_path(lang: 'en', format: 'html')
|
47
|
+
find('#t').select 'Labels'
|
48
|
+
find('#change_note_type').select 'creation date'
|
49
|
+
fill_in 'change_note_date_from', with: Date.today
|
50
|
+
click_button('Search')
|
51
|
+
|
52
|
+
refute page.find('.search-results').has_content?('Water')
|
53
|
+
assert page.find('.search-results').has_content?('Air')
|
54
|
+
end
|
55
|
+
|
56
|
+
test 'filtering xl-labels by change note date' do
|
57
|
+
apple_label = Iqvoc::XLLabel.base_class.create!(language: 'de', value: 'Apple', origin: 'apple', published_at: Time.now)
|
58
|
+
apple_label.note_skos_change_notes.create!(language: 'de').tap do |note|
|
59
|
+
note.annotations.create!(namespace: 'dct', predicate: 'creator', value: 'Arnulf Beckenbauer')
|
60
|
+
note.annotations.create!(namespace: 'dct', predicate: 'created', value: '2017-06-01')
|
61
|
+
end
|
62
|
+
|
63
|
+
banana_label = Iqvoc::XLLabel.base_class.create!(language: 'de', value: 'Banana', origin: 'banana', published_at: Time.now)
|
64
|
+
banana_label.note_skos_change_notes.create!(language: 'de').tap do |note|
|
65
|
+
note.annotations.create!(namespace: 'dct', predicate: 'creator', value: 'Arnulf Beckenbauer')
|
66
|
+
note.annotations.create!(namespace: 'dct', predicate: 'modified', value: '2017-06-10')
|
67
|
+
end
|
68
|
+
|
69
|
+
peach_label = Iqvoc::XLLabel.base_class.create!(language: 'de', value: 'Peach', origin: 'peach', published_at: Time.now)
|
70
|
+
peach_label.note_skos_change_notes.create!(language: 'de').tap do |note|
|
71
|
+
note.annotations.create!(namespace: 'dct', predicate: 'creator', value: 'Arnulf Beckenbauer')
|
72
|
+
note.annotations.create!(namespace: 'dct', predicate: 'created', value: '2017-06-11')
|
73
|
+
end
|
74
|
+
|
75
|
+
visit search_path(lang: 'en', format: 'html')
|
76
|
+
find('#t').select 'XL Labels'
|
77
|
+
|
78
|
+
# should find Apple and Banana labels
|
79
|
+
fill_in 'change_note_date_from', with: '2017-06-01'
|
80
|
+
fill_in 'change_note_date_to', with: '2017-06-10'
|
81
|
+
click_button('Search')
|
82
|
+
assert_equal 2, page.find('ul.search-results').all('li').count
|
83
|
+
assert page.find('.search-results').has_content?('Apple')
|
84
|
+
assert page.find('.search-results').has_content?('Banana')
|
85
|
+
refute page.find('.search-results').has_content?('Peach')
|
86
|
+
|
87
|
+
# should find Apple label
|
88
|
+
fill_in 'change_note_date_from', with: '2017-06-01'
|
89
|
+
fill_in 'change_note_date_to', with: '2017-06-02'
|
90
|
+
click_button('Search')
|
91
|
+
page.has_content? 'Search results (1)'
|
92
|
+
assert_equal 1, page.find('ul.search-results').all('li').count
|
93
|
+
assert page.find('.search-results').has_content?('Apple')
|
94
|
+
refute page.find('.search-results').has_content?('Banana')
|
95
|
+
refute page.find('.search-results').has_content?('Peach')
|
96
|
+
|
97
|
+
# should find Banana label
|
98
|
+
fill_in 'change_note_date_from', with: '2017-06-10'
|
99
|
+
fill_in 'change_note_date_to', with: '2017-06-10'
|
100
|
+
click_button('Search')
|
101
|
+
assert_equal 1, page.find('ul.search-results').all('li').count
|
102
|
+
assert page.find('.search-results').has_content?('Banana')
|
103
|
+
refute page.find('.search-results').has_content?('Apple')
|
104
|
+
refute page.find('.search-results').has_content?('Peach')
|
105
|
+
|
106
|
+
# should find Apple & Peach label (the only ones with created change note)
|
107
|
+
fill_in 'change_note_date_from', with: '2017-06-01'
|
108
|
+
fill_in 'change_note_date_to', with: '2017-07-01'
|
109
|
+
find('#change_note_type').select 'creation date'
|
110
|
+
click_button('Search')
|
111
|
+
assert_equal 2, page.find('ul.search-results').all('li').count
|
112
|
+
assert page.find('.search-results').has_content?('Apple')
|
113
|
+
assert page.find('.search-results').has_content?('Peach')
|
114
|
+
refute page.find('.search-results').has_content?('Banana')
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
@@ -16,10 +16,10 @@
|
|
16
16
|
require File.expand_path('test_helper', File.dirname(__FILE__))
|
17
17
|
require 'capybara/rails'
|
18
18
|
require 'capybara/dsl'
|
19
|
-
require 'capybara/
|
19
|
+
require 'capybara/cuprite'
|
20
20
|
require Iqvoc.root.join('test', 'authentication')
|
21
21
|
|
22
|
-
Capybara.javascript_driver = :
|
22
|
+
Capybara.javascript_driver = :cuprite
|
23
23
|
|
24
24
|
module ActionDispatch
|
25
25
|
class IntegrationTest
|
data/test/models/concept_test.rb
CHANGED
@@ -58,6 +58,18 @@ class ConceptTest < ActiveSupport::TestCase
|
|
58
58
|
assert alt_label.publishable?
|
59
59
|
end
|
60
60
|
|
61
|
+
test 'additional unpublished label revision do not prevent published' do
|
62
|
+
dog = RDFAPI.devour 'Dog', 'a', 'skos:Concept'
|
63
|
+
dog.pref_labels << Iqvoc::XLLabel.base_class.create(
|
64
|
+
language: 'en', value: 'Dog', published_at: 3.days.ago)
|
65
|
+
dog.alt_labels << Iqvoc::XLLabel.base_class.create(
|
66
|
+
language: 'en', value: 'Hound', published_at: nil)
|
67
|
+
|
68
|
+
assert dog.save
|
69
|
+
assert dog.publishable?
|
70
|
+
assert dog.publish
|
71
|
+
end
|
72
|
+
|
61
73
|
test 'concepts pref label language change' do
|
62
74
|
dog = RDFAPI.devour 'Dog', 'a', 'skos:Concept'
|
63
75
|
refute dog.publishable?
|
@@ -6,7 +6,7 @@ class SkosImporterTest < ActiveSupport::TestCase
|
|
6
6
|
TEST_DATA = File.open(File.expand_path('../../fixtures/hobbies.nt', __FILE__))
|
7
7
|
|
8
8
|
setup do
|
9
|
-
Iqvoc.rdf_namespaces[
|
9
|
+
Iqvoc.rdf_namespaces[:test] = 'http://foo.bar/xl#'
|
10
10
|
|
11
11
|
class TestRelation < Label::Relation::SKOSXL::Base
|
12
12
|
self.rdf_namespace = 'test'
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iqvoc_skosxl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Glaser
|
8
8
|
- Till Schulte-Coerne
|
9
9
|
- Frederik Dohr
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: iqvoc
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.
|
21
|
+
version: 4.14.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.
|
28
|
+
version: 4.14.4
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '0'
|
43
43
|
description: iQvoc - a SKOS(-XL) vocabulary management system built on the Semantic
|
44
44
|
Web
|
45
45
|
email:
|
@@ -52,15 +52,20 @@ files:
|
|
52
52
|
- Gemfile.lock
|
53
53
|
- README.md
|
54
54
|
- Rakefile
|
55
|
+
- app/assets/javascripts/iqvoc_skosxl/duplicate_check.js
|
55
56
|
- app/assets/javascripts/iqvoc_skosxl/manifest.js
|
57
|
+
- app/assets/javascripts/iqvoc_skosxl/new_label_modal.js
|
56
58
|
- app/assets/javascripts/manifest.js
|
57
59
|
- app/assets/stylesheets/iqvoc_skosxl/_manifest.scss
|
58
|
-
- app/assets/stylesheets/manifest.
|
60
|
+
- app/assets/stylesheets/manifest.scss
|
59
61
|
- app/controllers/labels/versions_controller.rb
|
60
62
|
- app/controllers/labels_controller.rb
|
61
63
|
- app/controllers/rdf_controller.rb
|
64
|
+
- app/controllers/xl_dashboard_controller.rb
|
62
65
|
- app/helpers/iqvoc_skosxl_helper.rb
|
63
66
|
- app/helpers/labels_helper.rb
|
67
|
+
- app/models/application_record.rb
|
68
|
+
- app/models/collection/skosxl/extension.rb
|
64
69
|
- app/models/concept/skosxl/extension.rb
|
65
70
|
- app/models/label/relation/base.rb
|
66
71
|
- app/models/label/relation/bidirectional_relation_extension.rb
|
@@ -72,27 +77,35 @@ files:
|
|
72
77
|
- app/models/labeling/skosxl/base.rb
|
73
78
|
- app/models/labeling/skosxl/hidden_label.rb
|
74
79
|
- app/models/labeling/skosxl/pref_label.rb
|
80
|
+
- app/views/concepts/_form.html.erb
|
75
81
|
- app/views/labels/_details.html.erb
|
76
82
|
- app/views/labels/_form.html.erb
|
77
83
|
- app/views/labels/_header.html.erb
|
84
|
+
- app/views/labels/_language.html.erb
|
78
85
|
- app/views/labels/_sidebar.html.erb
|
79
|
-
- app/views/labels/
|
86
|
+
- app/views/labels/duplicate.html.erb
|
80
87
|
- app/views/labels/edit.html.erb
|
81
88
|
- app/views/labels/new.html.erb
|
89
|
+
- app/views/labels/new_from_concept.html.erb
|
82
90
|
- app/views/labels/notifications/_referenced_labels.html.erb
|
91
|
+
- app/views/labels/show.iqrdf
|
83
92
|
- app/views/labels/show_published.html.erb
|
84
93
|
- app/views/labels/show_unpublished.html.erb
|
94
|
+
- app/views/layouts/_label_in_concept_modal.html.erb
|
95
|
+
- app/views/layouts/application.html.erb
|
96
|
+
- app/views/partials/_modal.html.erb
|
85
97
|
- app/views/partials/label/relation/_base.html.erb
|
86
98
|
- app/views/partials/label/relation/_edit_base.html.erb
|
87
99
|
- app/views/partials/label/skosxl/_edit_link_base.html.erb
|
100
|
+
- app/views/partials/label/skosxl/_inline_base.html.erb
|
88
101
|
- app/views/partials/label/skosxl/_new_link_base.html.erb
|
89
102
|
- app/views/partials/label/skosxl/_search_result.html.erb
|
90
103
|
- app/views/partials/labeling/skosxl/_base.html.erb
|
91
104
|
- app/views/partials/labeling/skosxl/_edit_base.html.erb
|
92
105
|
- app/views/partials/labeling/skosxl/_search_result.html.erb
|
93
|
-
- app/views/rdf/show_label.iqrdf
|
94
106
|
- config/application.rb
|
95
107
|
- config/boot.rb
|
108
|
+
- config/cable.yml
|
96
109
|
- config/database.template.yml
|
97
110
|
- config/database.yml
|
98
111
|
- config/database.yml.mysql
|
@@ -103,25 +116,27 @@ files:
|
|
103
116
|
- config/environments/development.rb
|
104
117
|
- config/environments/production.rb
|
105
118
|
- config/environments/test.rb
|
106
|
-
- config/initializers/
|
107
|
-
- config/initializers/cookies_serializer.rb
|
119
|
+
- config/initializers/content_security_policy.rb
|
108
120
|
- config/initializers/filter_parameter_logging.rb
|
109
121
|
- config/initializers/inflections.rb
|
110
122
|
- config/initializers/iqvoc.rb
|
111
123
|
- config/initializers/iqvoc_skosxl.rb
|
112
|
-
- config/initializers/
|
124
|
+
- config/initializers/permissions_policy.rb
|
113
125
|
- config/initializers/session_store.rb
|
114
126
|
- config/initializers/wrap_parameters.rb
|
127
|
+
- config/initializers/zeitwerk.rb
|
115
128
|
- config/locales/activerecord.de.yml
|
116
129
|
- config/locales/activerecord.en.yml
|
117
130
|
- config/locales/de.yml
|
118
131
|
- config/locales/en.yml
|
119
132
|
- config/routes.rb
|
120
133
|
- config/secrets.yml
|
134
|
+
- config/storage.yml
|
121
135
|
- db/migrate/20110408121540_extend_label.rb
|
122
136
|
- db/migrate/20110408123644_add_label_relations.rb
|
123
137
|
- db/migrate/20150108154312_add_fk_contraints_iqvoc_skosxl.rb
|
124
138
|
- db/migrate/20150414083600_remove_fk_constraints_iqvoc_skosxl.rb
|
139
|
+
- db/migrate/20231012174634_remove_locked_by_for_label.rb
|
125
140
|
- db/schema.rb
|
126
141
|
- db/seeds.rb
|
127
142
|
- iqvoc_skosxl.gemspec
|
@@ -129,24 +144,124 @@ files:
|
|
129
144
|
- lib/iqvoc/skosxl/version.rb
|
130
145
|
- lib/iqvoc/xllabel.rb
|
131
146
|
- lib/iqvoc_skosxl.rb
|
147
|
+
- public/assets/fonts/FiraMono-Regular-0b6138c5b386dc9125473fd851926f29.ttf
|
148
|
+
- public/assets/fonts/FiraMono-Regular-690950e8d89c92cba41eeeb13f1de93e.woff
|
149
|
+
- public/assets/fonts/FiraMono-Regular-98f97ed2dbf9d94d4fa5df048434b88d.eot
|
150
|
+
- public/assets/fonts/FiraMono-Regular.eot
|
151
|
+
- public/assets/fonts/FiraMono-Regular.ttf
|
152
|
+
- public/assets/fonts/FiraMono-Regular.woff
|
153
|
+
- public/assets/fonts/FiraSans-Bold-0de5f536bd0dc370449c0c67a49a6fe7.eot
|
154
|
+
- public/assets/fonts/FiraSans-Bold-25037ef8d155e38b5df0c242a4c6cf2d.ttf
|
155
|
+
- public/assets/fonts/FiraSans-Bold-494219a9639084eb9528ff47f79fcda1.woff
|
156
|
+
- public/assets/fonts/FiraSans-Bold.eot
|
157
|
+
- public/assets/fonts/FiraSans-Bold.ttf
|
158
|
+
- public/assets/fonts/FiraSans-Bold.woff
|
159
|
+
- public/assets/fonts/FiraSans-BoldItalic-5b3b812df9e1cb2b1f34baad65a2bdfb.ttf
|
160
|
+
- public/assets/fonts/FiraSans-BoldItalic-90b8087c48feff2e828f658c49de5399.eot
|
161
|
+
- public/assets/fonts/FiraSans-BoldItalic-b10e46158d50bf9b78968112acf87310.woff
|
162
|
+
- public/assets/fonts/FiraSans-BoldItalic.eot
|
163
|
+
- public/assets/fonts/FiraSans-BoldItalic.ttf
|
164
|
+
- public/assets/fonts/FiraSans-BoldItalic.woff
|
165
|
+
- public/assets/fonts/FiraSans-Book-659d252627051e785260ba445da8930f.woff
|
166
|
+
- public/assets/fonts/FiraSans-Book-abc65ceb7bfaed729bff7a9d1367b7d4.eot
|
167
|
+
- public/assets/fonts/FiraSans-Book-f0410501d5ecc5fe66bcdbc02b482c81.ttf
|
168
|
+
- public/assets/fonts/FiraSans-Book.eot
|
169
|
+
- public/assets/fonts/FiraSans-Book.ttf
|
170
|
+
- public/assets/fonts/FiraSans-Book.woff
|
171
|
+
- public/assets/fonts/FiraSans-ExtraLight-140f15ee97cb2099ff01c2b57dcd1a24.woff
|
172
|
+
- public/assets/fonts/FiraSans-ExtraLight-28e5c2679df66406ebd117fbdded6753.eot
|
173
|
+
- public/assets/fonts/FiraSans-ExtraLight-c15de70ebceffce178cbd2e82aa2c373.ttf
|
174
|
+
- public/assets/fonts/FiraSans-ExtraLight.eot
|
175
|
+
- public/assets/fonts/FiraSans-ExtraLight.ttf
|
176
|
+
- public/assets/fonts/FiraSans-ExtraLight.woff
|
177
|
+
- public/assets/fonts/FiraSans-Italic-ac4cb18fe14a7c90f29cdd2ce499ba59.woff
|
178
|
+
- public/assets/fonts/FiraSans-Italic-bdea00fee0da5ca9176061e00c26a0da.eot
|
179
|
+
- public/assets/fonts/FiraSans-Italic-e7e76a0ee170fd29b5d8100753eff569.ttf
|
180
|
+
- public/assets/fonts/FiraSans-Italic.eot
|
181
|
+
- public/assets/fonts/FiraSans-Italic.ttf
|
182
|
+
- public/assets/fonts/FiraSans-Italic.woff
|
183
|
+
- public/assets/fonts/FiraSans-Light-20adaf630b690c3e3184daaeae585f22.woff
|
184
|
+
- public/assets/fonts/FiraSans-Light-3689e18b38d335ec0c43823adb6a2984.eot
|
185
|
+
- public/assets/fonts/FiraSans-Light-55b04531e7a9ecdf58090d70b94b68e2.ttf
|
186
|
+
- public/assets/fonts/FiraSans-Light-SC-098407a72b7ad46f7c2480d7ac11baf2.eot
|
187
|
+
- public/assets/fonts/FiraSans-Light-SC-82763fe2ce9e6b897556c6f3c2aceb29.woff2
|
188
|
+
- public/assets/fonts/FiraSans-Light-SC-c73985985f0501c1845a5185b180fe6b.woff
|
189
|
+
- public/assets/fonts/FiraSans-Light-SC-c9563f48d9cccd91f07e46801c27130f.ttf
|
190
|
+
- public/assets/fonts/FiraSans-Light-SC.eot
|
191
|
+
- public/assets/fonts/FiraSans-Light-SC.ttf
|
192
|
+
- public/assets/fonts/FiraSans-Light-SC.woff
|
193
|
+
- public/assets/fonts/FiraSans-Light-SC.woff2
|
194
|
+
- public/assets/fonts/FiraSans-Light.eot
|
195
|
+
- public/assets/fonts/FiraSans-Light.ttf
|
196
|
+
- public/assets/fonts/FiraSans-Light.woff
|
197
|
+
- public/assets/fonts/FiraSans-Medium-082fab59048189168006bf2e914ba8b7.woff
|
198
|
+
- public/assets/fonts/FiraSans-Medium-11706edfe8651c355b413bd24b4b5e10.eot
|
199
|
+
- public/assets/fonts/FiraSans-Medium-3a0dacdeaba1b4c054f2d6cb5061965d.ttf
|
200
|
+
- public/assets/fonts/FiraSans-Medium.eot
|
201
|
+
- public/assets/fonts/FiraSans-Medium.ttf
|
202
|
+
- public/assets/fonts/FiraSans-Medium.woff
|
203
|
+
- public/assets/fonts/FiraSans-MediumItalic-6c8a2646d72641226527d574a8485b66.woff
|
204
|
+
- public/assets/fonts/FiraSans-MediumItalic-b81e92794a6878b6c578d97b3ad5e6d7.ttf
|
205
|
+
- public/assets/fonts/FiraSans-MediumItalic-eae7f4a3c4db9fe83025909ebfae5ad9.eot
|
206
|
+
- public/assets/fonts/FiraSans-MediumItalic.eot
|
207
|
+
- public/assets/fonts/FiraSans-MediumItalic.ttf
|
208
|
+
- public/assets/fonts/FiraSans-MediumItalic.woff
|
209
|
+
- public/assets/fonts/FiraSans-Regular-537188a19aeebdd74a92e114af7a02cb.ttf
|
210
|
+
- public/assets/fonts/FiraSans-Regular-5d6a923de9be80ff5c2995cc03d93127.woff
|
211
|
+
- public/assets/fonts/FiraSans-Regular-db689e5fea21ed4b7890811151968dc6.eot
|
212
|
+
- public/assets/fonts/FiraSans-Regular.eot
|
213
|
+
- public/assets/fonts/FiraSans-Regular.ttf
|
214
|
+
- public/assets/fonts/FiraSans-Regular.woff
|
215
|
+
- public/assets/fonts/FiraSans-UltraLight-3baefce4c224a0f0b26cdafe37dfa55d.eot
|
216
|
+
- public/assets/fonts/FiraSans-UltraLight-e3909a352b87f853bb464836adfd602a.ttf
|
217
|
+
- public/assets/fonts/FiraSans-UltraLight-f7289beeaa2353caf487553ee8b8ef03.woff
|
218
|
+
- public/assets/fonts/FiraSans-UltraLight.eot
|
219
|
+
- public/assets/fonts/FiraSans-UltraLight.ttf
|
220
|
+
- public/assets/fonts/FiraSans-UltraLight.woff
|
221
|
+
- public/assets/fonts/FontAwesome.otf
|
222
|
+
- public/assets/fonts/fontawesome-webfont.eot
|
223
|
+
- public/assets/fonts/fontawesome-webfont.svg
|
224
|
+
- public/assets/fonts/fontawesome-webfont.ttf
|
225
|
+
- public/assets/fonts/fontawesome-webfont.woff
|
226
|
+
- public/assets/fonts/fontawesome-webfont.woff2
|
227
|
+
- public/assets/images/ajax-loader-30d8e72bfdae694b1938658e1b087df0.gif
|
228
|
+
- public/assets/images/ajax-loader.gif
|
229
|
+
- public/assets/images/iqvoc_logo-165f17a46cf0a1bf9464db9d136fb843.svg
|
230
|
+
- public/assets/images/iqvoc_logo.svg
|
231
|
+
- public/assets/images/treeview-default-line-5e3c0e0c48f48c23c45aef7b72c739c0.gif
|
232
|
+
- public/assets/images/treeview-default-line.gif
|
233
|
+
- public/assets/javascripts/bootstrap.bundle.min-68b3c2f1c1f636f947fff1229d3ffbf5.js
|
234
|
+
- public/assets/javascripts/bootstrap.bundle.min.js
|
235
|
+
- public/assets/javascripts/jquery-d52dc3a9171f1fc89dd0f8e35e42c9d2.js
|
236
|
+
- public/assets/javascripts/jquery.js
|
237
|
+
- public/assets/javascripts/manifest-d95423d4873e576e7ae0b6a57cf18ec5.js
|
238
|
+
- public/assets/javascripts/manifest.js
|
239
|
+
- public/assets/manifest.json
|
240
|
+
- public/assets/stylesheets/manifest-bbb2857850990f13f777f3dec120a018.css
|
241
|
+
- public/assets/stylesheets/manifest.css
|
242
|
+
- public/favicon.ico
|
243
|
+
- test/controllers/rdf_rendering_test.rb
|
132
244
|
- test/controllers/routing_test.rb
|
133
245
|
- test/fixtures/hobbies.nt
|
134
246
|
- test/integration/concept_label_language_test.rb
|
135
247
|
- test/integration/dashboard_test.rb
|
248
|
+
- test/integration/duplicate_label_test.rb
|
136
249
|
- test/integration/edit_labels_test.rb
|
137
250
|
- test/integration/label_creation_test.rb
|
138
251
|
- test/integration/label_relation_test.rb
|
139
252
|
- test/integration/labels_order_test.rb
|
253
|
+
- test/integration/search_test.rb
|
140
254
|
- test/integration_test_helper.rb
|
141
255
|
- test/models/concept_test.rb
|
142
256
|
- test/models/label_test.rb
|
143
257
|
- test/models/skos_importer_test.rb
|
258
|
+
- test/models/zeitwerk_compliance_test.rb
|
144
259
|
- test/test_helper.rb
|
145
260
|
homepage: http://iqvoc.net
|
146
261
|
licenses:
|
147
262
|
- Apache License 2.0
|
148
263
|
metadata: {}
|
149
|
-
post_install_message:
|
264
|
+
post_install_message:
|
150
265
|
rdoc_options: []
|
151
266
|
require_paths:
|
152
267
|
- lib
|
@@ -161,22 +276,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
276
|
- !ruby/object:Gem::Version
|
162
277
|
version: '0'
|
163
278
|
requirements: []
|
164
|
-
|
165
|
-
|
166
|
-
signing_key:
|
279
|
+
rubygems_version: 3.4.10
|
280
|
+
signing_key:
|
167
281
|
specification_version: 4
|
168
282
|
summary: iQvoc SKOS-XL extension
|
169
283
|
test_files:
|
284
|
+
- test/controllers/rdf_rendering_test.rb
|
170
285
|
- test/controllers/routing_test.rb
|
171
286
|
- test/fixtures/hobbies.nt
|
172
287
|
- test/integration/concept_label_language_test.rb
|
173
288
|
- test/integration/dashboard_test.rb
|
289
|
+
- test/integration/duplicate_label_test.rb
|
174
290
|
- test/integration/edit_labels_test.rb
|
175
291
|
- test/integration/label_creation_test.rb
|
176
292
|
- test/integration/label_relation_test.rb
|
177
293
|
- test/integration/labels_order_test.rb
|
294
|
+
- test/integration/search_test.rb
|
178
295
|
- test/integration_test_helper.rb
|
179
296
|
- test/models/concept_test.rb
|
180
297
|
- test/models/label_test.rb
|
181
298
|
- test/models/skos_importer_test.rb
|
299
|
+
- test/models/zeitwerk_compliance_test.rb
|
182
300
|
- test/test_helper.rb
|