iqvoc 4.7.0 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile +11 -11
- data/Gemfile.lock +178 -122
- data/README.md +39 -24
- data/{test/performance/browsing_test.rb → app/aides/inline_data_helper.rb} +23 -6
- data/app/aides/maker.rb +139 -0
- data/{lib → app/aides}/multi_logger.rb +0 -0
- data/app/aides/origin.rb +47 -0
- data/app/aides/rdfapi.rb +59 -0
- data/app/aides/skos_exporter.rb +151 -0
- data/app/aides/skos_importer.rb +348 -0
- data/app/assets/javascripts/iqvoc/entityselect.js.erb +7 -9
- data/app/controllers/application_controller.rb +1 -3
- data/app/controllers/collections/versions_controller.rb +1 -3
- data/app/controllers/concepts/versions_controller.rb +9 -3
- data/app/controllers/concerns/controller_extensions.rb +109 -0
- data/app/{concerns → controllers/concerns}/reverse_match_errors.rb +0 -0
- data/app/controllers/hierarchy_controller.rb +7 -3
- data/app/controllers/instance_configuration_controller.rb +1 -1
- data/app/controllers/pages_controller.rb +10 -0
- data/app/controllers/search_results_controller.rb +2 -2
- data/app/controllers/triplestore_sync_controller.rb +2 -4
- data/app/helpers/application_helper.rb +1 -1
- data/app/helpers/widget_helper.rb +3 -3
- data/app/jobs/export_job.rb +1 -3
- data/app/jobs/import_job.rb +1 -3
- data/app/models/ability.rb +59 -0
- data/app/models/abstract_user.rb +1 -1
- data/app/models/collection/base.rb +12 -3
- data/app/models/collection/member/skos/base.rb +1 -1
- data/app/models/concept/base.rb +15 -8
- data/app/models/concept/relation/base.rb +1 -1
- data/app/models/concept/relation/skos/base.rb +1 -1
- data/app/models/concept/skos/scheme.rb +1 -1
- data/app/models/concept/validations.rb +1 -1
- data/app/models/concerns/deep_cloning.rb +92 -0
- data/app/models/concerns/first_level_object_scopes.rb +9 -0
- data/app/{concerns → models/concerns}/first_level_object_validations.rb +9 -2
- data/app/models/concerns/rankable.rb +31 -0
- data/app/models/{search_extension.rb → concerns/search_extension.rb} +0 -0
- data/app/{concerns → models/concerns}/versioning.rb +0 -6
- data/app/models/configuration_setting.rb +1 -1
- data/app/models/labeling/skos/base.rb +2 -2
- data/app/models/match/skos/base.rb +2 -2
- data/app/models/note/skos/base.rb +7 -6
- data/app/models/note/skos/change_note.rb +1 -1
- data/{lib/iqvoc/rdf_sync.rb → app/services/rdf_sync_service.rb} +3 -3
- data/app/view_models/concept_view.rb +1 -1
- data/app/views/collections/_form.html.erb +2 -2
- data/app/views/concepts/scheme/edit.html.erb +1 -1
- data/app/views/pages/components.html.erb +45 -0
- data/app/views/pages/version.html.erb +6 -0
- data/app/views/partials/concept/_reverse_match_notice.html.erb +0 -1
- data/app/views/search_results/_sidebar.html.erb +3 -3
- data/config/application.rb +4 -1
- data/config/boot.rb +1 -2
- data/config/database.yml.postgresql +23 -0
- data/config/engine.rb +0 -2
- data/config/environments/heroku.rb +1 -1
- data/config/initializers/inflections.rb +9 -3
- data/config/initializers/iqvoc.rb +1 -7
- data/config/initializers/mime_types.rb +0 -1
- data/config/locales/de.yml +2 -1
- data/config/locales/en.yml +11 -10
- data/config/routes.rb +2 -0
- data/config/travis/database.yml.mysql +9 -0
- data/config/travis/database.yml.postgresql +7 -0
- data/config/travis/database.yml.sqlite +5 -0
- data/db/migrate/20141204151558_add_foreign_key_constraints.rb +23 -0
- data/iqvoc.gemspec +2 -2
- data/lib/generators/app/template.rb +15 -7
- data/lib/iqvoc.rb +2 -1
- data/lib/iqvoc/configuration/core.rb +18 -4
- data/lib/iqvoc/configuration/instance_configuration.rb +125 -0
- data/lib/iqvoc/configuration/navigation.rb +63 -0
- data/lib/iqvoc/environments/development.rb +4 -0
- data/lib/iqvoc/environments/production.rb +11 -12
- data/lib/iqvoc/environments/test.rb +4 -1
- data/lib/iqvoc/version.rb +2 -2
- data/lib/tasks/exporter.rake +1 -4
- data/lib/tasks/importer.rake +1 -5
- data/lib/tasks/sync.rake +1 -2
- data/test/controllers/concept_movement_test.rb +11 -11
- data/test/controllers/hierarchy_test.rb +83 -79
- data/test/controllers/reverse_match_test.rb +2 -2
- data/test/integration/alphabetical_test.rb +2 -3
- data/test/integration/browse_concepts_and_labels_test.rb +2 -2
- data/test/integration/collection_circularity_test.rb +6 -6
- data/test/integration/concept_scheme_browsing_test.rb +2 -2
- data/test/integration/edit_concepts_test.rb +1 -1
- data/test/integration/export_test.rb +5 -3
- data/test/integration/import_test.rb +4 -1
- data/test/integration/instance_configuration_browsing_test.rb +2 -2
- data/test/integration/navigation_test.rb +2 -2
- data/test/integration/note_annotations_test.rb +12 -11
- data/test/integration/reverse_match_job_test.rb +19 -10
- data/test/integration/search_test.rb +6 -6
- data/test/integration/tree_test.rb +3 -3
- data/test/integration/untranslated_test.rb +1 -1
- data/test/models/concept_test.rb +13 -14
- data/test/models/inline_data_test.rb +9 -9
- data/test/models/instance_configuration_test.rb +7 -3
- data/test/models/origin_test.rb +9 -59
- data/test/models/rdf_sync_test.rb +2 -4
- data/test/models/rdfapi_test.rb +0 -2
- data/test/models/skos_collection_import_test.rb +3 -4
- data/test/models/skos_export_test.rb +3 -5
- data/test/models/skos_import_test.rb +12 -10
- data/test/test_helper.rb +0 -1
- data/vendor/assets/stylesheets/{jquery-ui.css.scss → jquery-ui.scss} +0 -0
- data/vendor/assets/stylesheets/{jquery-ui.structure.css.scss → jquery-ui.structure.scss} +0 -0
- data/vendor/assets/stylesheets/{jquery-ui.theme.css.scss → jquery-ui.theme.scss} +0 -0
- metadata +34 -28
- data/lib/iqvoc/ability.rb +0 -60
- data/lib/iqvoc/controller_extensions.rb +0 -111
- data/lib/iqvoc/deep_cloning.rb +0 -90
- data/lib/iqvoc/inline_data_helper.rb +0 -45
- data/lib/iqvoc/instance_configuration.rb +0 -123
- data/lib/iqvoc/maker.rb +0 -141
- data/lib/iqvoc/navigation.rb +0 -61
- data/lib/iqvoc/origin.rb +0 -111
- data/lib/iqvoc/rankable.rb +0 -33
- data/lib/iqvoc/rdfapi.rb +0 -60
- data/lib/iqvoc/skos_exporter.rb +0 -153
- data/lib/iqvoc/skos_importer.rb +0 -337
@@ -18,7 +18,7 @@ require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
|
18
18
|
|
19
19
|
class InstanceConfigurationBrowsingTest < ActiveSupport::TestCase
|
20
20
|
setup do
|
21
|
-
@config = Iqvoc::InstanceConfiguration.instance
|
21
|
+
@config = Iqvoc::Configuration::InstanceConfiguration.instance
|
22
22
|
end
|
23
23
|
|
24
24
|
teardown do
|
@@ -27,17 +27,19 @@ class InstanceConfigurationBrowsingTest < ActiveSupport::TestCase
|
|
27
27
|
end
|
28
28
|
|
29
29
|
test 'should require a setting to be registered upfront' do
|
30
|
-
assert_raise Iqvoc::InstanceConfiguration::UnregisteredSetting do
|
31
|
-
@config['
|
30
|
+
assert_raise Iqvoc::Configuration::InstanceConfiguration::UnregisteredSetting do
|
31
|
+
@config['new_setting_key'] = 'new_setting_value'
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
35
|
test 'should register settings with defaults' do
|
36
36
|
@config.register_setting('ho', 'yuken')
|
37
37
|
assert_equal 'yuken', @config['ho']
|
38
|
+
@config.deregister_setting('ho')
|
38
39
|
|
39
40
|
@config.register_settings('ha' => 'douken')
|
40
41
|
assert_equal 'douken', @config['ha']
|
42
|
+
@config.deregister_setting('ha')
|
41
43
|
end
|
42
44
|
|
43
45
|
test 'should deregister settings' do
|
@@ -52,5 +54,7 @@ class InstanceConfigurationBrowsingTest < ActiveSupport::TestCase
|
|
52
54
|
assert_raise(TypeError) { @config['foo'] = nil }
|
53
55
|
assert_raise(TypeError) { @config.register_setting('foo', nil) }
|
54
56
|
assert_raise(TypeError) { @config.register_setting('foo', Hash.new) }
|
57
|
+
|
58
|
+
@config.deregister_setting('foo')
|
55
59
|
end
|
56
60
|
end
|
data/test/models/origin_test.rb
CHANGED
@@ -16,68 +16,18 @@
|
|
16
16
|
|
17
17
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
18
18
|
|
19
|
-
class FoobarStripper < Iqvoc::Origin::Filters::GenericFilter
|
20
|
-
def call(obj, str)
|
21
|
-
str = str.gsub('foobar', '')
|
22
|
-
run(obj, str)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
19
|
class OriginTest < ActiveSupport::TestCase
|
27
|
-
def
|
28
|
-
|
29
|
-
end
|
30
|
-
|
31
|
-
def test_should_camelize_string
|
32
|
-
assert_equal 'a-weighting', Iqvoc::Origin.new("'A' Weighting").to_s
|
33
|
-
end
|
34
|
-
|
35
|
-
def test_should_handle_numbers_at_the_beginning
|
36
|
-
assert_equal '_123', Iqvoc::Origin.new('123').to_s
|
37
|
-
end
|
38
|
-
|
39
|
-
def test_should_handle_whitespaces_at_strange_positions
|
40
|
-
assert_equal 'test-12', Iqvoc::Origin.new('test 12 ').to_s
|
41
|
-
end
|
42
|
-
|
43
|
-
def test_should_preserve_underlines
|
44
|
-
assert_equal '_test', Iqvoc::Origin.new('_test').to_s
|
45
|
-
assert_equal 'a_test', Iqvoc::Origin.new('a_Test').to_s
|
46
|
-
end
|
47
|
-
|
48
|
-
def test_should_preserve_case
|
49
|
-
assert_equal 'test', Iqvoc::Origin.new('test').to_s
|
50
|
-
assert_equal 'test', Iqvoc::Origin.new('Test').to_s
|
51
|
-
assert_equal '_5test', Iqvoc::Origin.new('5test').to_s
|
52
|
-
assert_equal '_5test', Iqvoc::Origin.new('5Test').to_s
|
53
|
-
end
|
54
|
-
|
55
|
-
def test_should_replace_brackets
|
56
|
-
assert_equal 'energie-ressource',
|
57
|
-
Iqvoc::Origin.new('[Energie/Ressource]').to_s
|
20
|
+
def test_origin_generation
|
21
|
+
assert_match /_[0-9a-z]{8}/, Origin.new.to_s
|
58
22
|
end
|
59
23
|
|
60
|
-
def
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
def test_should_replace_less_and_greater_chars
|
65
|
-
assert_equal 'test-123', Iqvoc::Origin.new('Test<123').to_s
|
66
|
-
assert_equal 'test-123', Iqvoc::Origin.new('Test>123').to_s
|
67
|
-
end
|
68
|
-
|
69
|
-
def test_should_merge_all_together
|
70
|
-
assert_equal 'energie-ressource',
|
71
|
-
Iqvoc::Origin.new('[Energie - Ressource]').to_s
|
72
|
-
assert_equal 'hydrosphare-wasser-und-gewasser',
|
73
|
-
Iqvoc::Origin.new('[Hydrosphäre - Wasser und Gewässer]').to_s
|
74
|
-
assert_equal '_12-hydrosphare-wasser-und-gewasser',
|
75
|
-
Iqvoc::Origin.new('12[Hydrosphäre - Wasser und Gewässer]').to_s
|
76
|
-
end
|
24
|
+
def test_origin_validation
|
25
|
+
%w(air_sports _0997ba7fe13f13d9 _:A01).each do |origin|
|
26
|
+
assert Origin.new(origin).valid?
|
27
|
+
end
|
77
28
|
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
assert_equal 'trololo_', Iqvoc::Origin.new('trololo_foobar').to_s
|
29
|
+
refute Origin.new('1').valid?, 'should not start with a number'
|
30
|
+
refute Origin.new('fußball').valid?, 'should not contain special chars'
|
31
|
+
refute Origin.new('_:fußball').valid?, 'blank node should not contain special chars'
|
82
32
|
end
|
83
33
|
end
|
@@ -16,8 +16,6 @@
|
|
16
16
|
|
17
17
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
18
18
|
|
19
|
-
require 'iqvoc/rdf_sync'
|
20
|
-
|
21
19
|
class RDFSyncTest < ActiveSupport::TestCase
|
22
20
|
setup do
|
23
21
|
@rdf = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
|
@@ -34,7 +32,7 @@ class RDFSyncTest < ActiveSupport::TestCase
|
|
34
32
|
end
|
35
33
|
@view_context = FakeViewContext.new
|
36
34
|
|
37
|
-
@sync =
|
35
|
+
@sync = RDFSyncService.new(@base_url, @target_host, username: @username,
|
38
36
|
view_context: @view_context)
|
39
37
|
|
40
38
|
@concepts = 1.upto(15).map do |i|
|
@@ -106,7 +104,7 @@ class RDFSyncTest < ActiveSupport::TestCase
|
|
106
104
|
concept_count = concepts.count
|
107
105
|
batch_count = 3
|
108
106
|
|
109
|
-
sync =
|
107
|
+
sync = RDFSyncService.new(@base_url, @target_host, username: @username,
|
110
108
|
batch_size: (concept_count / batch_count).ceil,
|
111
109
|
view_context: @view_context)
|
112
110
|
|
data/test/models/rdfapi_test.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
2
|
-
require 'iqvoc/rdfapi'
|
3
2
|
|
4
|
-
RDFAPI = Iqvoc::RDFAPI
|
5
3
|
class RDFAPITest < ActiveSupport::TestCase
|
6
4
|
test 'should instantiate known class names using strings only' do
|
7
5
|
result = RDFAPI.devour 'foobar', 'a', 'Concept::SKOS::Base'
|
@@ -15,7 +15,6 @@
|
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
17
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
18
|
-
require 'iqvoc/skos_importer'
|
19
18
|
|
20
19
|
class SkosCollectionImportTest < ActiveSupport::TestCase
|
21
20
|
setup do
|
@@ -55,7 +54,7 @@ class SkosCollectionImportTest < ActiveSupport::TestCase
|
|
55
54
|
|
56
55
|
test 'basic importer functionality' do
|
57
56
|
assert_difference('Collection::Base.count', 2) do
|
58
|
-
|
57
|
+
SkosImporter.new(TEST_DATA, 'http://www.example.com/').run
|
59
58
|
end
|
60
59
|
concepts = {}
|
61
60
|
['cow', 'donkey', 'snake'].each do |origin|
|
@@ -80,7 +79,7 @@ class SkosCollectionImportTest < ActiveSupport::TestCase
|
|
80
79
|
|
81
80
|
test 'subcollections importer functionality' do
|
82
81
|
assert_difference('Collection::Base.count', 2) do
|
83
|
-
|
82
|
+
SkosImporter.new(TEST_DATA, 'http://www.example.com/').run
|
84
83
|
end
|
85
84
|
|
86
85
|
collection_with_subcollections = Iqvoc::Collection.base_class.by_origin('land-animal').last
|
@@ -97,7 +96,7 @@ class SkosCollectionImportTest < ActiveSupport::TestCase
|
|
97
96
|
|
98
97
|
assert_nothing_raised do
|
99
98
|
assert_difference('Collection::Base.count', 1) do
|
100
|
-
|
99
|
+
SkosImporter.new(test_data, 'http://www.example.com/').run
|
101
100
|
end
|
102
101
|
end
|
103
102
|
end
|
@@ -15,19 +15,17 @@
|
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
17
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
18
|
-
require 'iqvoc/skos_exporter'
|
19
|
-
require 'iqvoc/skos_importer'
|
20
18
|
|
21
19
|
class SkosExportTest < ActiveSupport::TestCase
|
22
20
|
setup do
|
23
21
|
@testdata = File.read(Rails.root.join('data', 'hobbies.nt')).split("\n")
|
24
22
|
@export_file = Rails.root.join('tmp/export/skos_export_test.nt').to_s
|
25
23
|
|
26
|
-
|
24
|
+
SkosImporter.new(@testdata, 'http://hobbies.com/').run
|
27
25
|
end
|
28
26
|
|
29
27
|
test 'basic_exporter_functionality' do
|
30
|
-
|
28
|
+
SkosExporter.new(@export_file, 'nt', 'http://hobbies.com/').run
|
31
29
|
|
32
30
|
generated_export = File.read(@export_file)
|
33
31
|
|
@@ -41,7 +39,7 @@ class SkosExportTest < ActiveSupport::TestCase
|
|
41
39
|
|
42
40
|
test 'skos exporter with an unknown export type' do
|
43
41
|
assert_raise RuntimeError do
|
44
|
-
|
42
|
+
SkosExporter.new(@export_file, 'txt', 'http://hobbies.com/')
|
45
43
|
end
|
46
44
|
|
47
45
|
end
|
@@ -15,7 +15,6 @@
|
|
15
15
|
# limitations under the License.
|
16
16
|
|
17
17
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
|
18
|
-
require 'iqvoc/skos_importer'
|
19
18
|
|
20
19
|
class SkosImportTest < ActiveSupport::TestCase
|
21
20
|
TEST_DATA = (<<-DATA
|
@@ -53,7 +52,7 @@ class SkosImportTest < ActiveSupport::TestCase
|
|
53
52
|
|
54
53
|
test 'basic_importer_functionality' do
|
55
54
|
assert_difference('Concept::SKOS::Base.count', 4) do
|
56
|
-
|
55
|
+
SkosImporter.new(TEST_DATA, 'http://www.example.com/').run
|
57
56
|
end
|
58
57
|
|
59
58
|
concepts = {}
|
@@ -88,11 +87,14 @@ class SkosImportTest < ActiveSupport::TestCase
|
|
88
87
|
end
|
89
88
|
|
90
89
|
test 'incorrect origin' do
|
91
|
-
assert_difference('Concept::SKOS::Base.count',
|
92
|
-
|
90
|
+
assert_difference('Concept::SKOS::Base.count', 0) do
|
91
|
+
SkosImporter.new(
|
92
|
+
[
|
93
|
+
'<http://www.example.com/1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2008/05/skos#Concept>.',
|
94
|
+
'<http://www.example.com/fußball> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2008/05/skos#Concept>.'
|
95
|
+
],
|
96
|
+
'http://www.example.com/').run
|
93
97
|
end
|
94
|
-
assert_nil Iqvoc::Concept.base_class.by_origin('1').last
|
95
|
-
assert_not_nil Iqvoc::Concept.base_class.by_origin('_1').last
|
96
98
|
end
|
97
99
|
|
98
100
|
test 'blank nodes' do
|
@@ -106,11 +108,11 @@ class SkosImportTest < ActiveSupport::TestCase
|
|
106
108
|
).split("\n")
|
107
109
|
|
108
110
|
assert_difference('Note::SKOS::ChangeNote.count', 1) do
|
109
|
-
|
111
|
+
SkosImporter.new(test_data, 'http://www.example.com/').run
|
110
112
|
end
|
111
113
|
|
112
114
|
assert_difference('Note::Annotated::Base.count', 2) do
|
113
|
-
|
115
|
+
SkosImporter.new(test_data, 'http://www.example.com/').run
|
114
116
|
end
|
115
117
|
end
|
116
118
|
|
@@ -123,7 +125,7 @@ class SkosImportTest < ActiveSupport::TestCase
|
|
123
125
|
).split("\n")
|
124
126
|
|
125
127
|
assert_difference('Notation::Base.count', 2) do
|
126
|
-
|
128
|
+
SkosImporter.new(test_data, 'http://www.example.com/').run
|
127
129
|
end
|
128
130
|
end
|
129
131
|
|
@@ -137,7 +139,7 @@ class SkosImportTest < ActiveSupport::TestCase
|
|
137
139
|
).split("\n")
|
138
140
|
|
139
141
|
assert_difference('Concept::SKOS::Base.tops.count', 1) do
|
140
|
-
|
142
|
+
SkosImporter.new(test_data, 'http://www.example.com/').run
|
141
143
|
end
|
142
144
|
end
|
143
145
|
end
|
data/test/test_helper.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iqvoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Glaser
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - "~>"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 4.
|
22
|
+
version: 4.2.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 4.
|
29
|
+
version: 4.2.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: bundler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,14 +173,14 @@ dependencies:
|
|
173
173
|
requirements:
|
174
174
|
- - "~>"
|
175
175
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
176
|
+
version: 5.0.0
|
177
177
|
type: :runtime
|
178
178
|
prerelease: false
|
179
179
|
version_requirements: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
181
|
- - "~>"
|
182
182
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
183
|
+
version: 5.0.0
|
184
184
|
- !ruby/object:Gem::Dependency
|
185
185
|
name: bootstrap-sass
|
186
186
|
requirement: !ruby/object:Gem::Requirement
|
@@ -366,6 +366,13 @@ files:
|
|
366
366
|
- LICENSE
|
367
367
|
- README.md
|
368
368
|
- Rakefile
|
369
|
+
- app/aides/inline_data_helper.rb
|
370
|
+
- app/aides/maker.rb
|
371
|
+
- app/aides/multi_logger.rb
|
372
|
+
- app/aides/origin.rb
|
373
|
+
- app/aides/rdfapi.rb
|
374
|
+
- app/aides/skos_exporter.rb
|
375
|
+
- app/aides/skos_importer.rb
|
369
376
|
- app/assets/fonts/FiraSans-Book.eot
|
370
377
|
- app/assets/fonts/FiraSans-Book.ttf
|
371
378
|
- app/assets/fonts/FiraSans-Book.woff
|
@@ -430,9 +437,6 @@ files:
|
|
430
437
|
- app/assets/stylesheets/iqvoc/settings/_fonts.scss
|
431
438
|
- app/assets/stylesheets/iqvoc/settings/_variables.scss
|
432
439
|
- app/assets/stylesheets/manifest.css.scss
|
433
|
-
- app/concerns/first_level_object_validations.rb
|
434
|
-
- app/concerns/reverse_match_errors.rb
|
435
|
-
- app/concerns/versioning.rb
|
436
440
|
- app/controllers/application_controller.rb
|
437
441
|
- app/controllers/collections/versions_controller.rb
|
438
442
|
- app/controllers/collections_controller.rb
|
@@ -443,7 +447,9 @@ files:
|
|
443
447
|
- app/controllers/concepts/untranslated_controller.rb
|
444
448
|
- app/controllers/concepts/versions_controller.rb
|
445
449
|
- app/controllers/concepts_controller.rb
|
450
|
+
- app/controllers/concerns/controller_extensions.rb
|
446
451
|
- app/controllers/concerns/dataset_initialization.rb
|
452
|
+
- app/controllers/concerns/reverse_match_errors.rb
|
447
453
|
- app/controllers/dashboard_controller.rb
|
448
454
|
- app/controllers/exports_controller.rb
|
449
455
|
- app/controllers/frontpage_controller.rb
|
@@ -472,6 +478,7 @@ files:
|
|
472
478
|
- app/jobs/export_job.rb
|
473
479
|
- app/jobs/import_job.rb
|
474
480
|
- app/jobs/reverse_match_job.rb
|
481
|
+
- app/models/ability.rb
|
475
482
|
- app/models/abstract_user.rb
|
476
483
|
- app/models/bot_user.rb
|
477
484
|
- app/models/collection/base.rb
|
@@ -492,6 +499,12 @@ files:
|
|
492
499
|
- app/models/concept/skos/base.rb
|
493
500
|
- app/models/concept/skos/scheme.rb
|
494
501
|
- app/models/concept/validations.rb
|
502
|
+
- app/models/concerns/deep_cloning.rb
|
503
|
+
- app/models/concerns/first_level_object_scopes.rb
|
504
|
+
- app/models/concerns/first_level_object_validations.rb
|
505
|
+
- app/models/concerns/rankable.rb
|
506
|
+
- app/models/concerns/search_extension.rb
|
507
|
+
- app/models/concerns/versioning.rb
|
495
508
|
- app/models/configuration_setting.rb
|
496
509
|
- app/models/dataset/adaptors/iqvoc/alphabetical_search_adaptor.rb
|
497
510
|
- app/models/dataset/adaptors/iqvoc/http_adaptor.rb
|
@@ -527,7 +540,6 @@ files:
|
|
527
540
|
- app/models/note/skos/example.rb
|
528
541
|
- app/models/note/skos/history_note.rb
|
529
542
|
- app/models/note/skos/scope_note.rb
|
530
|
-
- app/models/search_extension.rb
|
531
543
|
- app/models/services/reverse_match_service.rb
|
532
544
|
- app/models/user.rb
|
533
545
|
- app/models/user_session.rb
|
@@ -536,6 +548,7 @@ files:
|
|
536
548
|
- app/presenters/search_result.rb
|
537
549
|
- app/presenters/search_result_collection.rb
|
538
550
|
- app/presenters/search_result_remote.rb
|
551
|
+
- app/services/rdf_sync_service.rb
|
539
552
|
- app/uploaders/base.rb
|
540
553
|
- app/uploaders/rdf_uploader.rb
|
541
554
|
- app/view_models/concept_view.rb
|
@@ -591,7 +604,9 @@ files:
|
|
591
604
|
- app/views/layouts/_navigation.html.erb
|
592
605
|
- app/views/layouts/_sections.html.erb
|
593
606
|
- app/views/layouts/application.html.erb
|
607
|
+
- app/views/pages/components.html.erb
|
594
608
|
- app/views/pages/help.html.erb
|
609
|
+
- app/views/pages/version.html.erb
|
595
610
|
- app/views/partials/collection/_edit_link_base.html.erb
|
596
611
|
- app/views/partials/collection/_member.html.erb
|
597
612
|
- app/views/partials/collection/_new_link_base.html.erb
|
@@ -647,6 +662,7 @@ files:
|
|
647
662
|
- config/database.template.yml
|
648
663
|
- config/database.yml
|
649
664
|
- config/database.yml.mysql
|
665
|
+
- config/database.yml.postgresql
|
650
666
|
- config/database.yml.sqlite
|
651
667
|
- config/engine.rb
|
652
668
|
- config/environment.rb
|
@@ -682,6 +698,9 @@ files:
|
|
682
698
|
- config/locales/pt.yml
|
683
699
|
- config/routes.rb
|
684
700
|
- config/secrets.yml
|
701
|
+
- config/travis/database.yml.mysql
|
702
|
+
- config/travis/database.yml.postgresql
|
703
|
+
- config/travis/database.yml.sqlite
|
685
704
|
- config/warble.rb
|
686
705
|
- db/migrate/20100927101502_create_schema.rb
|
687
706
|
- db/migrate/20101125141218_add_collection_tables.rb
|
@@ -720,35 +739,24 @@ files:
|
|
720
739
|
- db/migrate/20140730132113_add_type_to_users.rb
|
721
740
|
- db/migrate/20140807072457_create_job_relations.rb
|
722
741
|
- db/migrate/20140807123413_add_response_error_to_job_relation.rb
|
742
|
+
- db/migrate/20141204151558_add_foreign_key_constraints.rb
|
723
743
|
- db/schema.rb
|
724
744
|
- db/seeds.rb
|
725
745
|
- iqvoc.gemspec
|
726
746
|
- lib/engine_tasks/db.rake
|
727
747
|
- lib/generators/app/template.rb
|
728
748
|
- lib/iqvoc.rb
|
729
|
-
- lib/iqvoc/ability.rb
|
730
749
|
- lib/iqvoc/configuration/collection.rb
|
731
750
|
- lib/iqvoc/configuration/concept.rb
|
732
751
|
- lib/iqvoc/configuration/core.rb
|
752
|
+
- lib/iqvoc/configuration/instance_configuration.rb
|
733
753
|
- lib/iqvoc/configuration/label.rb
|
754
|
+
- lib/iqvoc/configuration/navigation.rb
|
734
755
|
- lib/iqvoc/configuration/sync.rb
|
735
|
-
- lib/iqvoc/controller_extensions.rb
|
736
|
-
- lib/iqvoc/deep_cloning.rb
|
737
756
|
- lib/iqvoc/environments/development.rb
|
738
757
|
- lib/iqvoc/environments/production.rb
|
739
758
|
- lib/iqvoc/environments/test.rb
|
740
|
-
- lib/iqvoc/inline_data_helper.rb
|
741
|
-
- lib/iqvoc/instance_configuration.rb
|
742
|
-
- lib/iqvoc/maker.rb
|
743
|
-
- lib/iqvoc/navigation.rb
|
744
|
-
- lib/iqvoc/origin.rb
|
745
|
-
- lib/iqvoc/rankable.rb
|
746
|
-
- lib/iqvoc/rdf_sync.rb
|
747
|
-
- lib/iqvoc/rdfapi.rb
|
748
|
-
- lib/iqvoc/skos_exporter.rb
|
749
|
-
- lib/iqvoc/skos_importer.rb
|
750
759
|
- lib/iqvoc/version.rb
|
751
|
-
- lib/multi_logger.rb
|
752
760
|
- lib/string.rb
|
753
761
|
- lib/tasks/exporter.rake
|
754
762
|
- lib/tasks/importer.rake
|
@@ -976,7 +984,6 @@ files:
|
|
976
984
|
- test/models/skos_export_test.rb
|
977
985
|
- test/models/skos_import_test.rb
|
978
986
|
- test/models/testdata.nt
|
979
|
-
- test/performance/browsing_test.rb
|
980
987
|
- test/test_helper.rb
|
981
988
|
- vendor/assets/images/ajax-loader.gif
|
982
989
|
- vendor/assets/images/animated-overlay.gif
|
@@ -1018,9 +1025,9 @@ files:
|
|
1018
1025
|
- vendor/assets/stylesheets/images/ui-icons_cd0a0a_256x240.png
|
1019
1026
|
- vendor/assets/stylesheets/images/ui-icons_d8e7f3_256x240.png
|
1020
1027
|
- vendor/assets/stylesheets/images/ui-icons_f9bd01_256x240.png
|
1021
|
-
- vendor/assets/stylesheets/jquery-ui.
|
1022
|
-
- vendor/assets/stylesheets/jquery-ui.structure.
|
1023
|
-
- vendor/assets/stylesheets/jquery-ui.theme.
|
1028
|
+
- vendor/assets/stylesheets/jquery-ui.scss
|
1029
|
+
- vendor/assets/stylesheets/jquery-ui.structure.scss
|
1030
|
+
- vendor/assets/stylesheets/jquery-ui.theme.scss
|
1024
1031
|
homepage: http://github.com/innoq/iqvoc
|
1025
1032
|
licenses:
|
1026
1033
|
- Apache License 2.0
|
@@ -1085,5 +1092,4 @@ test_files:
|
|
1085
1092
|
- test/models/skos_export_test.rb
|
1086
1093
|
- test/models/skos_import_test.rb
|
1087
1094
|
- test/models/testdata.nt
|
1088
|
-
- test/performance/browsing_test.rb
|
1089
1095
|
- test/test_helper.rb
|