iqvoc 3.2.3 → 3.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -1
- data/Gemfile.lock +48 -10
- data/README.md +5 -5
- data/app/controllers/application_controller.rb +1 -0
- data/app/controllers/concepts/versions_controller.rb +3 -3
- data/app/controllers/concepts_controller.rb +3 -4
- data/app/helpers/application_helper.rb +1 -1
- data/app/models/concept/base.rb +9 -6
- data/app/models/labeling/skos/base.rb +12 -7
- data/app/models/note/skos/change_note.rb +11 -0
- data/app/models/origin_mapping.rb +1 -1
- data/app/views/concepts/_base_data.html.erb +3 -3
- data/app/views/layouts/_controls.html.erb +1 -1
- data/app/views/layouts/application.html.erb +5 -2
- data/app/views/partials/labeling/skos/_search_result.html.erb +9 -4
- data/app/views/partials/note/skos/change_note/_search_result.html.erb +12 -0
- data/app/views/search_results/index.html.erb +6 -0
- data/config/database.template.yml +21 -35
- data/config/database.yml +34 -32
- data/config/database.yml.mysql +29 -0
- data/config/database.yml.sqlite +17 -0
- data/config/initializers/secret_token.rb +2 -1
- data/config/initializers/secret_token.rb.template +2 -1
- data/config/locales/activerecord.de.yml +6 -0
- data/config/locales/activerecord.en.yml +6 -0
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/routes.rb +1 -1
- data/db/iqvoc_test.sqlite3 +0 -0
- data/db/schema.rb +1 -0
- data/lib/iqvoc/rdf_helper.rb +1 -1
- data/lib/iqvoc/version.rb +1 -1
- data/lib/iqvoc/versioning.rb +1 -1
- data/public/javascripts/iqvoc/application.js +11 -1
- data/public/javascripts/iqvoc/entityselect.js +1 -1
- data/public/javascripts/iqvoc/{jquery-ui-1.8.13.custom.js → jquery-ui-1.8.16.custom.js} +85 -45
- data/public/javascripts/iqvoc/jquery-ui-1.8.16.custom.min.js +165 -0
- data/public/stylesheets/iqvoc/ie_fixes.css +6 -0
- data/public/stylesheets/iqvoc/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_f9bd01_256x240.png +0 -0
- data/public/stylesheets/iqvoc/iqvoc.css +6 -3
- data/public/stylesheets/iqvoc/{jquery-ui-1.8.13.custom.css → jquery-ui-1.8.16.custom.css} +11 -16
- data/test/integration/note_annotations_test.rb +6 -4
- data/test/integration/search_test.rb +10 -4
- data/test/unit/origin_mapping_test.rb +4 -8
- metadata +24 -33
- data/app/views/partials/collection_label/_search_result.html.erb +0 -5
- data/app/views/users/_user_preference.html.erb +0 -12
- data/config/environments/production.template.rb +0 -65
- data/config/environments/production_internal.rb +0 -65
- data/public/images/iqvoc/add.png +0 -0
- data/public/images/iqvoc/go_there.png +0 -0
- data/public/images/iqvoc/header.png +0 -0
- data/public/images/iqvoc/iqvoc.png +0 -0
- data/public/images/iqvoc/note_add.png +0 -0
- data/public/images/iqvoc/note_delete.png +0 -0
- data/public/images/iqvoc/note_edit.png +0 -0
- data/public/images/iqvoc/rails.png +0 -0
- data/public/images/iqvoc/remove.png +0 -0
- data/public/javascripts/iqvoc/jquery-ui-1.8.13.custom.min.js +0 -163
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: 3.2.
|
4
|
+
version: 3.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,11 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2011-08
|
14
|
+
date: 2011-11-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement: &
|
18
|
+
requirement: &70192944294880 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
@@ -23,10 +23,10 @@ dependencies:
|
|
23
23
|
version: 3.0.9
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70192944294880
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
|
-
requirement: &
|
29
|
+
requirement: &70192944292000 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
@@ -34,10 +34,10 @@ dependencies:
|
|
34
34
|
version: '0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *70192944292000
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: kaminari
|
40
|
-
requirement: &
|
40
|
+
requirement: &70192944290160 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,10 +45,10 @@ dependencies:
|
|
45
45
|
version: '0'
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *70192944290160
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: authlogic
|
51
|
-
requirement: &
|
51
|
+
requirement: &70192944289240 !ruby/object:Gem::Requirement
|
52
52
|
none: false
|
53
53
|
requirements:
|
54
54
|
- - ! '>='
|
@@ -56,10 +56,10 @@ dependencies:
|
|
56
56
|
version: '0'
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
|
-
version_requirements: *
|
59
|
+
version_requirements: *70192944289240
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: cancan
|
62
|
-
requirement: &
|
62
|
+
requirement: &70192944288460 !ruby/object:Gem::Requirement
|
63
63
|
none: false
|
64
64
|
requirements:
|
65
65
|
- - ! '>='
|
@@ -67,10 +67,10 @@ dependencies:
|
|
67
67
|
version: '0'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
|
-
version_requirements: *
|
70
|
+
version_requirements: *70192944288460
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: iq_rdf
|
73
|
-
requirement: &
|
73
|
+
requirement: &70192944287380 !ruby/object:Gem::Requirement
|
74
74
|
none: false
|
75
75
|
requirements:
|
76
76
|
- - ~>
|
@@ -78,10 +78,10 @@ dependencies:
|
|
78
78
|
version: 0.0.14
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
|
-
version_requirements: *
|
81
|
+
version_requirements: *70192944287380
|
82
82
|
- !ruby/object:Gem::Dependency
|
83
83
|
name: json
|
84
|
-
requirement: &
|
84
|
+
requirement: &70192944286540 !ruby/object:Gem::Requirement
|
85
85
|
none: false
|
86
86
|
requirements:
|
87
87
|
- - ! '>='
|
@@ -89,7 +89,7 @@ dependencies:
|
|
89
89
|
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
|
-
version_requirements: *
|
92
|
+
version_requirements: *70192944286540
|
93
93
|
description: iQvoc - a SKOS(-XL) vocabulary management system built on the Semantic
|
94
94
|
Web
|
95
95
|
email:
|
@@ -204,7 +204,6 @@ files:
|
|
204
204
|
- app/views/pages/about.html.erb
|
205
205
|
- app/views/partials/_rdf_logo.html.erb
|
206
206
|
- app/views/partials/collection/_member.html.erb
|
207
|
-
- app/views/partials/collection_label/_search_result.html.erb
|
208
207
|
- app/views/partials/concept/_edit_link_base.html.erb
|
209
208
|
- app/views/partials/concept/_inline_base.html.erb
|
210
209
|
- app/views/partials/concept/_new_link_base.html.erb
|
@@ -223,6 +222,7 @@ files:
|
|
223
222
|
- app/views/partials/note/_note.html.erb
|
224
223
|
- app/views/partials/note/_search_result.html.erb
|
225
224
|
- app/views/partials/note/skos/_edit_change_note.html.erb
|
225
|
+
- app/views/partials/note/skos/change_note/_search_result.html.erb
|
226
226
|
- app/views/partials/note/skos/definition/_search_result.html.erb
|
227
227
|
- app/views/rdf/show_concept.iqrdf
|
228
228
|
- app/views/search_results/_head_contents.html.erb
|
@@ -232,7 +232,6 @@ files:
|
|
232
232
|
- app/views/triple_store_syncs/new.html.erb
|
233
233
|
- app/views/user_sessions/new.html.erb
|
234
234
|
- app/views/users/_form.html.erb
|
235
|
-
- app/views/users/_user_preference.html.erb
|
236
235
|
- app/views/users/edit.html.erb
|
237
236
|
- app/views/users/index.html.erb
|
238
237
|
- app/views/users/new.html.erb
|
@@ -240,6 +239,8 @@ files:
|
|
240
239
|
- config/boot.rb
|
241
240
|
- config/database.template.yml
|
242
241
|
- config/database.yml
|
242
|
+
- config/database.yml.mysql
|
243
|
+
- config/database.yml.sqlite
|
243
244
|
- config/deploy/common.rb
|
244
245
|
- config/deploy/ec2.rb
|
245
246
|
- config/deploy/history.rb
|
@@ -249,8 +250,6 @@ files:
|
|
249
250
|
- config/environment.rb
|
250
251
|
- config/environments/development.rb
|
251
252
|
- config/environments/production.rb
|
252
|
-
- config/environments/production.template.rb
|
253
|
-
- config/environments/production_internal.rb
|
254
253
|
- config/environments/test.rb
|
255
254
|
- config/initializers/action_view.rb
|
256
255
|
- config/initializers/active_record.rb
|
@@ -298,22 +297,13 @@ files:
|
|
298
297
|
- public/422.html
|
299
298
|
- public/500.html
|
300
299
|
- public/favicon.ico
|
301
|
-
- public/images/iqvoc/add.png
|
302
300
|
- public/images/iqvoc/arrow_down.gif
|
303
301
|
- public/images/iqvoc/arrow_up.gif
|
304
302
|
- public/images/iqvoc/footer.png
|
305
|
-
- public/images/iqvoc/go_there.png
|
306
|
-
- public/images/iqvoc/header.png
|
307
303
|
- public/images/iqvoc/header_long.png
|
308
|
-
- public/images/iqvoc/iqvoc.png
|
309
|
-
- public/images/iqvoc/note_add.png
|
310
|
-
- public/images/iqvoc/note_delete.png
|
311
|
-
- public/images/iqvoc/note_edit.png
|
312
304
|
- public/images/iqvoc/ok.png
|
313
|
-
- public/images/iqvoc/rails.png
|
314
305
|
- public/images/iqvoc/rdf_flyer.gif
|
315
306
|
- public/images/iqvoc/red_arrow.png
|
316
|
-
- public/images/iqvoc/remove.png
|
317
307
|
- public/images/iqvoc/shadow.png
|
318
308
|
- public/images/iqvoc/spinner.gif
|
319
309
|
- public/images/iqvoc/tokenizer_delete.png
|
@@ -362,8 +352,8 @@ files:
|
|
362
352
|
- public/javascripts/iqvoc/jquery-treeview/lib/jquery.cookie.js
|
363
353
|
- public/javascripts/iqvoc/jquery-treeview/lib/jquery.js
|
364
354
|
- public/javascripts/iqvoc/jquery-treeview/todo
|
365
|
-
- public/javascripts/iqvoc/jquery-ui-1.8.
|
366
|
-
- public/javascripts/iqvoc/jquery-ui-1.8.
|
355
|
+
- public/javascripts/iqvoc/jquery-ui-1.8.16.custom.js
|
356
|
+
- public/javascripts/iqvoc/jquery-ui-1.8.16.custom.min.js
|
367
357
|
- public/javascripts/iqvoc/jquery-ui.datepicker-de.js
|
368
358
|
- public/javascripts/iqvoc/json2.js
|
369
359
|
- public/javascripts/iqvoc/langselect.js
|
@@ -401,6 +391,7 @@ files:
|
|
401
391
|
- public/stylesheets/iqvoc/blueprint/src/reset.css
|
402
392
|
- public/stylesheets/iqvoc/blueprint/src/typography.css
|
403
393
|
- public/stylesheets/iqvoc/forms.css
|
394
|
+
- public/stylesheets/iqvoc/ie_fixes.css
|
404
395
|
- public/stylesheets/iqvoc/images/back.png
|
405
396
|
- public/stylesheets/iqvoc/images/branch.png
|
406
397
|
- public/stylesheets/iqvoc/images/categ.png
|
@@ -435,7 +426,7 @@ files:
|
|
435
426
|
- public/stylesheets/iqvoc/images/ui-icons_d8e7f3_256x240.png
|
436
427
|
- public/stylesheets/iqvoc/images/ui-icons_f9bd01_256x240.png
|
437
428
|
- public/stylesheets/iqvoc/iqvoc.css
|
438
|
-
- public/stylesheets/iqvoc/jquery-ui-1.8.
|
429
|
+
- public/stylesheets/iqvoc/jquery-ui-1.8.16.custom.css
|
439
430
|
- public/stylesheets/iqvoc/widgets.css
|
440
431
|
- lib/engine_tasks/assets.rake
|
441
432
|
- lib/engine_tasks/db.rake
|
@@ -494,7 +485,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
494
485
|
version: '0'
|
495
486
|
requirements: []
|
496
487
|
rubyforge_project:
|
497
|
-
rubygems_version: 1.8.
|
488
|
+
rubygems_version: 1.8.11
|
498
489
|
signing_key:
|
499
490
|
specification_version: 3
|
500
491
|
summary: iQvoc
|
@@ -1,5 +0,0 @@
|
|
1
|
-
<dt>
|
2
|
-
<%= link_to highlight_query(result.value, params[:query]), collection_path(:id => result.collection) %>
|
3
|
-
</dt>
|
4
|
-
<dd><%= t('txt.views.search_results.type') %>: <%= result.class.model_name.human %></dd>
|
5
|
-
<dd><%= t('txt.views.search_results.language') %>: <%= result.language %></dd>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div class="user_preference">
|
2
|
-
<% new_or_existing = user_preference.new_record? ? 'new' : 'existing' %>
|
3
|
-
<% prefix = "user[#{new_or_existing}_preferences_attributes][]" -%>
|
4
|
-
|
5
|
-
<% fields_for prefix, user_preference do |preference_form| %>
|
6
|
-
<label for="<%= dom_id user_preference %>_key"><%= t('Name') %>:</label><br />
|
7
|
-
<%= preference_form.text_field :key, :size => 20 %><br />
|
8
|
-
<label for="<%= dom_id user_preference %>_value"><%= t('Value') %>:</label><br />
|
9
|
-
<%= preference_form.text_field :value, :size => 20 %>
|
10
|
-
<%= link_to_function image_tag('iqvoc/remove.png'), "$(this).up('.user_preference').remove()", :title => t('Remove') %>
|
11
|
-
<% end -%>
|
12
|
-
</div>
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
|
3
|
-
# Copyright 2011 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
|
-
Iqvoc::Application.configure do
|
18
|
-
# Settings specified here will take precedence over those in config/environment.rb
|
19
|
-
|
20
|
-
# The production environment is meant for finished, "live" apps.
|
21
|
-
# Code is not reloaded between requests
|
22
|
-
config.cache_classes = true
|
23
|
-
|
24
|
-
# Full error reports are disabled and caching is turned on
|
25
|
-
config.consider_all_requests_local = false
|
26
|
-
config.action_controller.perform_caching = true
|
27
|
-
|
28
|
-
# Specifies the header that your server uses for sending files
|
29
|
-
config.action_dispatch.x_sendfile_header = "X-Sendfile"
|
30
|
-
|
31
|
-
# For nginx:
|
32
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
|
33
|
-
|
34
|
-
# If you have no front-end server that supports something like X-Sendfile,
|
35
|
-
# just comment this out and Rails will serve the files
|
36
|
-
|
37
|
-
# See everything in the log (default is :info)
|
38
|
-
# config.log_level = :debug
|
39
|
-
|
40
|
-
# Use a different logger for distributed setups
|
41
|
-
# config.logger = SyslogLogger.new
|
42
|
-
|
43
|
-
# Use a different cache store in production
|
44
|
-
# config.cache_store = :mem_cache_store
|
45
|
-
|
46
|
-
# Disable Rails's static asset server
|
47
|
-
# In production, Apache or nginx will already do this
|
48
|
-
config.serve_static_assets = false
|
49
|
-
|
50
|
-
# Enable serving of images, stylesheets, and javascripts from an asset server
|
51
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
52
|
-
|
53
|
-
# Disable delivery errors, bad email addresses will be ignored
|
54
|
-
# config.action_mailer.raise_delivery_errors = false
|
55
|
-
|
56
|
-
# Enable threaded mode
|
57
|
-
# config.threadsafe!
|
58
|
-
|
59
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
60
|
-
# the I18n.default_locale when a translation can not be found)
|
61
|
-
config.i18n.fallbacks = true
|
62
|
-
|
63
|
-
# Send deprecation notices to registered listeners
|
64
|
-
config.active_support.deprecation = :notify
|
65
|
-
end
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
|
3
|
-
# Copyright 2011 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
|
-
Iqvoc::Application.configure do
|
18
|
-
# Settings specified here will take precedence over those in config/environment.rb
|
19
|
-
|
20
|
-
# The production environment is meant for finished, "live" apps.
|
21
|
-
# Code is not reloaded between requests
|
22
|
-
config.cache_classes = true
|
23
|
-
|
24
|
-
# Full error reports are disabled and caching is turned on
|
25
|
-
config.consider_all_requests_local = false
|
26
|
-
config.action_controller.perform_caching = true
|
27
|
-
|
28
|
-
# Specifies the header that your server uses for sending files
|
29
|
-
config.action_dispatch.x_sendfile_header = "X-Sendfile"
|
30
|
-
|
31
|
-
# For nginx:
|
32
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
|
33
|
-
|
34
|
-
# If you have no front-end server that supports something like X-Sendfile,
|
35
|
-
# just comment this out and Rails will serve the files
|
36
|
-
|
37
|
-
# See everything in the log (default is :info)
|
38
|
-
config.log_level = :info
|
39
|
-
|
40
|
-
# Use a different logger for distributed setups
|
41
|
-
# config.logger = SyslogLogger.new
|
42
|
-
|
43
|
-
# Use a different cache store in production
|
44
|
-
# config.cache_store = :mem_cache_store
|
45
|
-
|
46
|
-
# Disable Rails's static asset server
|
47
|
-
# In production, Apache or nginx will already do this
|
48
|
-
config.serve_static_assets = false
|
49
|
-
|
50
|
-
# Enable serving of images, stylesheets, and javascripts from an asset server
|
51
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
52
|
-
|
53
|
-
# Disable delivery errors, bad email addresses will be ignored
|
54
|
-
# config.action_mailer.raise_delivery_errors = false
|
55
|
-
|
56
|
-
# Enable threaded mode
|
57
|
-
# config.threadsafe!
|
58
|
-
|
59
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
60
|
-
# the I18n.default_locale when a translation can not be found)
|
61
|
-
config.i18n.fallbacks = true
|
62
|
-
|
63
|
-
# Send deprecation notices to registered listeners
|
64
|
-
config.active_support.deprecation = :notify
|
65
|
-
end
|
data/public/images/iqvoc/add.png
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|