iqvoc 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +69 -0
- data/Gemfile.lock +134 -0
- data/LICENSE +13 -0
- data/README.md +68 -0
- data/Rakefile +23 -0
- data/app/controllers/application_controller.rb +125 -0
- data/app/controllers/collections/hierarchical_controller.rb +44 -0
- data/app/controllers/collections_controller.rb +124 -0
- data/app/controllers/concepts/alphabetical_controller.rb +39 -0
- data/app/controllers/concepts/hierarchical_controller.rb +74 -0
- data/app/controllers/concepts/untranslated_controller.rb +38 -0
- data/app/controllers/concepts/versions_controller.rb +119 -0
- data/app/controllers/concepts_controller.rb +174 -0
- data/app/controllers/dashboard_controller.rb +43 -0
- data/app/controllers/pages_controller.rb +22 -0
- data/app/controllers/rdf_controller.rb +43 -0
- data/app/controllers/search_results_controller.rb +101 -0
- data/app/controllers/triple_store_syncs_controller.rb +45 -0
- data/app/controllers/user_sessions_controller.rb +48 -0
- data/app/controllers/users_controller.rb +81 -0
- data/app/helpers/application_helper.rb +60 -0
- data/app/helpers/concepts_helper.rb +86 -0
- data/app/helpers/dashboard_helper.rb +46 -0
- data/app/helpers/rdf_helper.rb +63 -0
- data/app/helpers/search_results_helper.rb +32 -0
- data/app/models/collection/base.rb +161 -0
- data/app/models/collection/member/base.rb +23 -0
- data/app/models/collection/member/collection.rb +33 -0
- data/app/models/collection/member/concept.rb +33 -0
- data/app/models/collection/unordered.rb +18 -0
- data/app/models/concept/base.rb +418 -0
- data/app/models/concept/relation/base.rb +95 -0
- data/app/models/concept/relation/reverse_relation_extension.rb +49 -0
- data/app/models/concept/relation/skos/base.rb +37 -0
- data/app/models/concept/relation/skos/broader/base.rb +41 -0
- data/app/models/concept/relation/skos/broader/mono.rb +28 -0
- data/app/models/concept/relation/skos/broader/poly.rb +23 -0
- data/app/models/concept/relation/skos/narrower/base.rb +37 -0
- data/app/models/concept/relation/skos/related.rb +21 -0
- data/app/models/concept/skos/base.rb +28 -0
- data/app/models/label/base.rb +98 -0
- data/app/models/label/skos/base.rb +27 -0
- data/app/models/labeling/base.rb +81 -0
- data/app/models/labeling/skos/alt_label.rb +21 -0
- data/app/models/labeling/skos/base.rb +99 -0
- data/app/models/labeling/skos/hidden_label.rb +25 -0
- data/app/models/labeling/skos/pref_label.rb +30 -0
- data/app/models/match/base.rb +57 -0
- data/app/models/match/skos/base.rb +23 -0
- data/app/models/match/skos/broad_match.rb +21 -0
- data/app/models/match/skos/close_match.rb +21 -0
- data/app/models/match/skos/exact_match.rb +21 -0
- data/app/models/match/skos/mapping_relation.rb +21 -0
- data/app/models/match/skos/narrow_match.rb +21 -0
- data/app/models/match/skos/related_match.rb +21 -0
- data/app/models/note/annotated/base.rb +29 -0
- data/app/models/note/base.rb +127 -0
- data/app/models/note/skos/base.rb +52 -0
- data/app/models/note/skos/change_note.rb +38 -0
- data/app/models/note/skos/definition.rb +33 -0
- data/app/models/note/skos/editorial_note.rb +21 -0
- data/app/models/note/skos/example.rb +21 -0
- data/app/models/note/skos/history_note.rb +21 -0
- data/app/models/note/skos/scope_note.rb +21 -0
- data/app/models/origin_mapping.rb +58 -0
- data/app/models/rdf_store.rb +96 -0
- data/app/models/search_extension.rb +58 -0
- data/app/models/user.rb +49 -0
- data/app/models/user_session.rb +23 -0
- data/app/views/collections/_collection.html.erb +10 -0
- data/app/views/collections/_form.html.erb +47 -0
- data/app/views/collections/edit.html.erb +11 -0
- data/app/views/collections/index.html.erb +12 -0
- data/app/views/collections/new.html.erb +7 -0
- data/app/views/collections/show.html.erb +53 -0
- data/app/views/collections/show.iqrdf +22 -0
- data/app/views/concepts/_base_data.html.erb +72 -0
- data/app/views/concepts/_close_match.html.erb +16 -0
- data/app/views/concepts/_show_head.html.erb +23 -0
- data/app/views/concepts/_visualization.html.erb +9 -0
- data/app/views/concepts/alphabetical/_pref_labeling.html.erb +6 -0
- data/app/views/concepts/alphabetical/index.html.erb +17 -0
- data/app/views/concepts/edit.html.erb +32 -0
- data/app/views/concepts/hierarchical/_treeview.html.erb +20 -0
- data/app/views/concepts/hierarchical/index.html.erb +5 -0
- data/app/views/concepts/index.iqrdf +24 -0
- data/app/views/concepts/new.html.erb +3 -0
- data/app/views/concepts/show_published.html.erb +16 -0
- data/app/views/concepts/show_unpublished.html.erb +43 -0
- data/app/views/concepts/untranslated/index.html.erb +23 -0
- data/app/views/dashboard/index.html.erb +47 -0
- data/app/views/errors/access_denied.html.erb +3 -0
- data/app/views/errors/multiple_choices.html.erb +11 -0
- data/app/views/errors/not_found.html.erb +8 -0
- data/app/views/kaminari/_page.html.erb +6 -0
- data/app/views/kaminari/_paginator.html.erb +15 -0
- data/app/views/layouts/_controls.html.erb +37 -0
- data/app/views/layouts/_header.html.erb +1 -0
- data/app/views/layouts/_navigation.html.erb +27 -0
- data/app/views/layouts/_sections.html.erb +8 -0
- data/app/views/layouts/application.html.erb +83 -0
- data/app/views/pages/about.html.erb +77 -0
- data/app/views/partials/_rdf_logo.html.erb +4 -0
- data/app/views/partials/collection/_member.html.erb +14 -0
- data/app/views/partials/collection_label/_search_result.html.erb +5 -0
- data/app/views/partials/concept/_edit_link_base.html.erb +4 -0
- data/app/views/partials/concept/_inline_base.html.erb +4 -0
- data/app/views/partials/concept/_new_link_base.html.erb +4 -0
- data/app/views/partials/concept/relation/_base.html.erb +8 -0
- data/app/views/partials/concept/relation/_edit_base.html.erb +15 -0
- data/app/views/partials/concept/relation/skos/_narrower.html.erb +12 -0
- data/app/views/partials/concept/relation/skos/broader/_mono.html.erb +28 -0
- data/app/views/partials/concept/relation/skos/broader/_poly.html.erb +14 -0
- data/app/views/partials/labeling/skos/_base.html.erb +17 -0
- data/app/views/partials/labeling/skos/_edit_base.html.erb +7 -0
- data/app/views/partials/labeling/skos/_search_result.html.erb +12 -0
- data/app/views/partials/match/_base.html.erb +13 -0
- data/app/views/partials/match/_edit_base.html.erb +6 -0
- data/app/views/partials/note/_base.html.erb +15 -0
- data/app/views/partials/note/_edit_base.html.erb +28 -0
- data/app/views/partials/note/_note.html.erb +14 -0
- data/app/views/partials/note/_search_result.html.erb +8 -0
- data/app/views/partials/note/skos/_edit_change_note.html.erb +47 -0
- data/app/views/partials/note/skos/definition/_search_result.html.erb +8 -0
- data/app/views/rdf/show_concept.iqrdf +5 -0
- data/app/views/search_results/_head_contents.html.erb +4 -0
- data/app/views/search_results/_rdf_links.html.erb +4 -0
- data/app/views/search_results/index.html.erb +92 -0
- data/app/views/search_results/index.iqrdf +33 -0
- data/app/views/triple_store_syncs/new.html.erb +7 -0
- data/app/views/user_sessions/new.html.erb +11 -0
- data/app/views/users/_form.html.erb +45 -0
- data/app/views/users/_user_preference.html.erb +12 -0
- data/app/views/users/edit.html.erb +14 -0
- data/app/views/users/index.html.erb +29 -0
- data/app/views/users/new.html.erb +13 -0
- data/config/application.rb +82 -0
- data/config/boot.rb +29 -0
- data/config/database.template.yml +43 -0
- data/config/database.yml +40 -0
- data/config/deploy/common.rb +79 -0
- data/config/deploy/ec2.rb +43 -0
- data/config/deploy/history.rb +29 -0
- data/config/deploy/innoq.rb +37 -0
- data/config/deploy.rb +72 -0
- data/config/engine.rb +25 -0
- data/config/environment.rb +21 -0
- data/config/environments/development.rb +74 -0
- data/config/environments/production.rb +65 -0
- data/config/environments/production.template.rb +65 -0
- data/config/environments/production_internal.rb +65 -0
- data/config/environments/test.rb +51 -0
- data/config/initializers/action_view.rb +23 -0
- data/config/initializers/active_record.rb +18 -0
- data/config/initializers/backtrace_silencers.rb +23 -0
- data/config/initializers/inflections.rb +26 -0
- data/config/initializers/iqvoc.rb +50 -0
- data/config/initializers/jdbc.rb +23 -0
- data/config/initializers/kaminari_config.rb +8 -0
- data/config/initializers/language.rb +6 -0
- data/config/initializers/mime_types.rb +24 -0
- data/config/initializers/secret_token.rb +29 -0
- data/config/initializers/secret_token.rb.template +29 -0
- data/config/initializers/session_store.rb +24 -0
- data/config/locales/activerecord.de.yml +135 -0
- data/config/locales/activerecord.en.yml +135 -0
- data/config/locales/authlogic.de.yml +38 -0
- data/config/locales/authlogic.en.yml +38 -0
- data/config/locales/de.yml +326 -0
- data/config/locales/defaults.de.yml +153 -0
- data/config/locales/en.yml +332 -0
- data/config/routes.rb +53 -0
- data/config/warble.rb +158 -0
- data/db/iqvoc_test.sqlite3 +0 -0
- data/db/migrate/20100927101502_create_schema.rb +174 -0
- data/db/migrate/20101125141218_add_collection_tables.rb +32 -0
- data/db/migrate/20101129161528_add_type_to_collections.rb +24 -0
- data/db/migrate/20101202094602_add_origin_to_collections.rb +25 -0
- data/db/migrate/20101202135420_rename_collection_contents_to_collection_members.rb +25 -0
- data/db/migrate/20101208103531_add_type_to_collection_contents.rb +27 -0
- data/db/migrate/20101210153916_add_indexes_to_collections.rb +25 -0
- data/db/migrate/20110204121244_create_collection_labels.rb +32 -0
- data/db/migrate/20110208084250_change_origin_lengths.rb +27 -0
- data/db/migrate/20110328124300_discard_collection_specifics.rb +27 -0
- data/db/migrate/20110408120357_remove_classifications_and_classifiers.rb +32 -0
- data/db/migrate/20110408120740_remove_xl_specfic_stuff.rb +39 -0
- data/db/migrate/20110420133640_change_value_in_notes.rb +8 -0
- data/db/migrate/20110427120534_add_published_at_to_labels.rb +9 -0
- data/db/migrate/20110510162719_use_mono_hierarchy_instead_of_poly_hierarchy.rb +13 -0
- data/db/migrate/20110512132624_extend_notes_value_field_length.rb +8 -0
- data/db/migrate/20110525103100_separate_note_annotation_predicates.rb +38 -0
- data/db/migrate/20110615134040_change_umt_note_annotations_to_dct.rb +9 -0
- data/db/schema.rb +127 -0
- data/db/seeds.rb +37 -0
- data/iqvoc.gemspec +27 -0
- data/lib/engine_tasks/assets.rake +49 -0
- data/lib/engine_tasks/db.rake +18 -0
- data/lib/engine_tasks/release.rake +118 -0
- data/lib/iqvoc/ability.rb +44 -0
- data/lib/iqvoc/data_helper.rb +27 -0
- data/lib/iqvoc/deep_cloning.rb +92 -0
- data/lib/iqvoc/rdf_helper.rb +67 -0
- data/lib/iqvoc/skos_importer.rb +144 -0
- data/lib/iqvoc/version.rb +19 -0
- data/lib/iqvoc/versioning.rb +151 -0
- data/lib/iqvoc.rb +228 -0
- data/lib/maker.rb +144 -0
- data/lib/ojdbc14.jar +0 -0
- data/lib/string.rb +23 -0
- data/lib/tasks/importer.rake +16 -0
- data/lib/tasks/jdbc.rake +24 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +26 -0
- data/public/favicon.ico +0 -0
- data/public/images/iqvoc/add.png +0 -0
- data/public/images/iqvoc/arrow_down.gif +0 -0
- data/public/images/iqvoc/arrow_up.gif +0 -0
- data/public/images/iqvoc/footer.png +0 -0
- data/public/images/iqvoc/go_there.png +0 -0
- data/public/images/iqvoc/header.png +0 -0
- data/public/images/iqvoc/header_long.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/ok.png +0 -0
- data/public/images/iqvoc/rails.png +0 -0
- data/public/images/iqvoc/rdf_flyer.gif +0 -0
- data/public/images/iqvoc/red_arrow.png +0 -0
- data/public/images/iqvoc/remove.png +0 -0
- data/public/images/iqvoc/shadow.png +0 -0
- data/public/images/iqvoc/spinner.gif +0 -0
- data/public/images/iqvoc/tokenizer_delete.png +0 -0
- data/public/images/iqvoc/tokenizer_pencile.png +0 -0
- data/public/images/iqvoc/tokenizer_show.png +0 -0
- data/public/images/iqvoc/unfinished.png +0 -0
- data/public/javascripts/iqvoc/application.js +123 -0
- data/public/javascripts/iqvoc/entityselect.js +121 -0
- data/public/javascripts/iqvoc/excanvas.js +35 -0
- data/public/javascripts/iqvoc/iqvoc.js +118 -0
- data/public/javascripts/iqvoc/jit_rgraph.js +153 -0
- data/public/javascripts/iqvoc/jquery-1.6.2.min.js +18 -0
- data/public/javascripts/iqvoc/jquery-treeview/changelog.txt +29 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/async.html +44 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/bg.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/demo.js +43 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/images.html +56 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/index.html +340 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/large.html +559 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/prerendered.html +621 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/screen.css +24 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/simple.html +82 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/source.php +87 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/source.phps +87 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/ajax-loader.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/file.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/folder-closed.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/folder.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/minus.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/plus.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-black-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-black.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-default-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-default.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-famfamfam-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-famfamfam.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-gray-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-gray.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-red-line.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/images/treeview-red.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.async.js +82 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.css +75 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.js +251 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.min.js +15 -0
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.pack.js +16 -0
- data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.cookie.js +92 -0
- data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.js +3363 -0
- data/public/javascripts/iqvoc/jquery-treeview/todo +8 -0
- data/public/javascripts/iqvoc/jquery-ui-1.8.13.custom.js +3229 -0
- data/public/javascripts/iqvoc/jquery-ui-1.8.13.custom.min.js +163 -0
- data/public/javascripts/iqvoc/jquery-ui.datepicker-de.js +22 -0
- data/public/javascripts/iqvoc/json2.js +480 -0
- data/public/javascripts/iqvoc/langselect.js +73 -0
- data/public/javascripts/iqvoc/rails.js +132 -0
- data/public/javascripts/iqvoc/storage.js +122 -0
- data/public/javascripts/iqvoc/visualization.js +321 -0
- data/public/robots.txt +5 -0
- data/public/stylesheets/iqvoc/blueprint/ie.css +35 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/key.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/readme.txt +32 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/screen.css +97 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/screen.css +71 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/readme.txt +18 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/screen.css +40 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/rtl/readme.txt +10 -0
- data/public/stylesheets/iqvoc/blueprint/plugins/rtl/screen.css +110 -0
- data/public/stylesheets/iqvoc/blueprint/print.css +29 -0
- data/public/stylesheets/iqvoc/blueprint/screen.css +258 -0
- data/public/stylesheets/iqvoc/blueprint/src/forms.css +65 -0
- data/public/stylesheets/iqvoc/blueprint/src/grid.css +280 -0
- data/public/stylesheets/iqvoc/blueprint/src/grid.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/src/ie.css +76 -0
- data/public/stylesheets/iqvoc/blueprint/src/print.css +85 -0
- data/public/stylesheets/iqvoc/blueprint/src/reset.css +45 -0
- data/public/stylesheets/iqvoc/blueprint/src/typography.css +106 -0
- data/public/stylesheets/iqvoc/forms.css +71 -0
- data/public/stylesheets/iqvoc/images/back.png +0 -0
- data/public/stylesheets/iqvoc/images/branch.png +0 -0
- data/public/stylesheets/iqvoc/images/categ.png +0 -0
- data/public/stylesheets/iqvoc/images/categ_open.png +0 -0
- data/public/stylesheets/iqvoc/images/go_there.png +0 -0
- data/public/stylesheets/iqvoc/images/iqvoc.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_end.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_end_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_mid.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_mid_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_nothing.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_only.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_only_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_top.png +0 -0
- data/public/stylesheets/iqvoc/images/leaf_top_filled.png +0 -0
- data/public/stylesheets/iqvoc/images/nothing.png +0 -0
- data/public/stylesheets/iqvoc/images/top_01.png +0 -0
- data/public/stylesheets/iqvoc/images/trunk.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_217bc0_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_469bdd_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_6da8d5_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/public/stylesheets/iqvoc/images/ui-icons_f9bd01_256x240.png +0 -0
- data/public/stylesheets/iqvoc/iqvoc.css +477 -0
- data/public/stylesheets/iqvoc/jquery-ui-1.8.13.custom.css +415 -0
- data/public/stylesheets/iqvoc/widgets.css +81 -0
- data/test/factories.rb +74 -0
- data/test/integration/alphabetical_test.rb +53 -0
- data/test/integration/authentication_test.rb +41 -0
- data/test/integration/browse_concepts_and_labels_test.rb +61 -0
- data/test/integration/browse_static_pages_test.rb +29 -0
- data/test/integration/client_augmentation_test.rb +42 -0
- data/test/integration/client_edit_concept_test.rb +72 -0
- data/test/integration/collection_circularity_test.rb +110 -0
- data/test/integration/concept_test.rb +61 -0
- data/test/integration/edit_concepts_test.rb +40 -0
- data/test/integration/note_annotations_test.rb +86 -0
- data/test/integration/search_test.rb +205 -0
- data/test/integration/tree_test.rb +31 -0
- data/test/integration/untranslated_test.rb +60 -0
- data/test/integration_test_helper.rb +45 -0
- data/test/performance/browsing_test.rb +25 -0
- data/test/test_helper.rb +29 -0
- data/test/unit/concept_test.rb +93 -0
- data/test/unit/note_test.rb +32 -0
- data/test/unit/origin_mapping_test.rb +70 -0
- data/test/unit/skos_import_test.rb +100 -0
- metadata +522 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,477 @@
|
|
1
|
+
/* ##################################### */
|
2
|
+
/* # Customizable in your app's CSS # */
|
3
|
+
/* ##################################### */
|
4
|
+
#header {
|
5
|
+
height: 85px;
|
6
|
+
padding: 9px 1em 1em 160px;
|
7
|
+
background: url('../../images/iqvoc/header_long.png') no-repeat;
|
8
|
+
}
|
9
|
+
|
10
|
+
#header h1 {
|
11
|
+
color: #000;
|
12
|
+
font-weight: bold;
|
13
|
+
}
|
14
|
+
|
15
|
+
ul#navi_main {
|
16
|
+
position: absolute;
|
17
|
+
top: 75px;
|
18
|
+
margin: 0;
|
19
|
+
padding: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
ul#navi_main li.active a {
|
23
|
+
color: #000;
|
24
|
+
}
|
25
|
+
|
26
|
+
ul#navi_main li a {
|
27
|
+
font-weight: bold;
|
28
|
+
}
|
29
|
+
|
30
|
+
a,
|
31
|
+
a:hover,
|
32
|
+
ul.treeview .hover {
|
33
|
+
color: #308110;
|
34
|
+
}
|
35
|
+
|
36
|
+
a {
|
37
|
+
text-decoration: none;
|
38
|
+
}
|
39
|
+
|
40
|
+
a:hover {
|
41
|
+
text-decoration: underline;
|
42
|
+
}
|
43
|
+
|
44
|
+
a.unpublished {
|
45
|
+
color: #808110;
|
46
|
+
}
|
47
|
+
|
48
|
+
a.back {
|
49
|
+
background: url('images/back.png') 0 50% no-repeat;
|
50
|
+
padding-left: 20px;
|
51
|
+
}
|
52
|
+
|
53
|
+
ul.letter_selector { width: 100%; overflow: auto; margin: 0 0 10px; padding: 0; list-style-type: none; }
|
54
|
+
.letter_selector li { float: left; margin: 0 0.25em 5px 0; }
|
55
|
+
.letter_selector li.special { float: right; } /* XXX: this is less than ideal */
|
56
|
+
.letter_selector a { padding: 2px 5px; }
|
57
|
+
|
58
|
+
.pagination {
|
59
|
+
display: block;
|
60
|
+
}
|
61
|
+
.pagination a,
|
62
|
+
.pagination .current,
|
63
|
+
.pagination .gap {
|
64
|
+
margin-right: 5px;
|
65
|
+
border: 1px solid #318210;
|
66
|
+
padding: 2px 5px;
|
67
|
+
-moz-border-radius: 5px;
|
68
|
+
-webkit-border-radius: 5px;
|
69
|
+
background-color: #C0FAB4;
|
70
|
+
}
|
71
|
+
.pagination .disabled,
|
72
|
+
.pagination .gap {
|
73
|
+
border-color: silver;
|
74
|
+
color: silver;
|
75
|
+
background-color: transparent;
|
76
|
+
}
|
77
|
+
.pagination .current {
|
78
|
+
border-color: #F3AC40;
|
79
|
+
background-color: #FEFBDC;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* visualizations */
|
83
|
+
|
84
|
+
.sections {
|
85
|
+
overflow: hidden; /* block formatting context */
|
86
|
+
zoom: 1; /* hasLayout */
|
87
|
+
}
|
88
|
+
|
89
|
+
#infovis {
|
90
|
+
float: right;
|
91
|
+
width: 300px;
|
92
|
+
height: 300px;
|
93
|
+
overflow: hidden;
|
94
|
+
margin: 0 0 10px 10px;
|
95
|
+
border: 1px solid #EEE;
|
96
|
+
}
|
97
|
+
|
98
|
+
#infovis .button {
|
99
|
+
float: right;
|
100
|
+
}
|
101
|
+
|
102
|
+
#infovis .concept a {
|
103
|
+
color: #000;
|
104
|
+
}
|
105
|
+
|
106
|
+
#infovis.filtered .concept {
|
107
|
+
overflow: visible;
|
108
|
+
color: #111;
|
109
|
+
}
|
110
|
+
|
111
|
+
#infovis .label {
|
112
|
+
padding: 0 2px;
|
113
|
+
color: #111;
|
114
|
+
background-color: #EEE;
|
115
|
+
}
|
116
|
+
|
117
|
+
#infovis-label .label {
|
118
|
+
font-size: 0.8em;
|
119
|
+
}
|
120
|
+
|
121
|
+
/* ######################################## */
|
122
|
+
/* # Core CSS. Customizing is discouraged # */
|
123
|
+
/* ######################################## */
|
124
|
+
|
125
|
+
#controls {
|
126
|
+
border-bottom: 2px solid #AAA;
|
127
|
+
padding: 2px 5px;
|
128
|
+
text-align: center;
|
129
|
+
background-color: #000;
|
130
|
+
}
|
131
|
+
|
132
|
+
#controls,
|
133
|
+
#controls a {
|
134
|
+
height: 1.1em;
|
135
|
+
overflow: hidden;
|
136
|
+
line-height: 1.1em;
|
137
|
+
padding-bottom: 3px;
|
138
|
+
}
|
139
|
+
|
140
|
+
#controls * {
|
141
|
+
z-index: 99; /* work around overly wide header */
|
142
|
+
}
|
143
|
+
|
144
|
+
#controls a {
|
145
|
+
color: #EEE;
|
146
|
+
}
|
147
|
+
|
148
|
+
#controls ul {
|
149
|
+
border: 1px solid #AAA;
|
150
|
+
border-radius: 0 0 5px 5px;
|
151
|
+
-moz-border-radius: 0 0 5px 5px;
|
152
|
+
padding: 5px;
|
153
|
+
text-align: left;
|
154
|
+
}
|
155
|
+
|
156
|
+
#controls ul a {
|
157
|
+
display: inline;
|
158
|
+
color: #000;
|
159
|
+
}
|
160
|
+
|
161
|
+
#controls h3 {
|
162
|
+
margin: 0.2em 0;
|
163
|
+
font-size: 1.1em;
|
164
|
+
font-weight: bold;
|
165
|
+
}
|
166
|
+
|
167
|
+
#controls label {
|
168
|
+
display: block;
|
169
|
+
width: 100%;
|
170
|
+
font-weight: normal;
|
171
|
+
}
|
172
|
+
|
173
|
+
#auth_controls label {
|
174
|
+
display: inline;
|
175
|
+
font-weight: bold;
|
176
|
+
}
|
177
|
+
|
178
|
+
#auth_controls ul,
|
179
|
+
#auth_controls li {
|
180
|
+
width: auto;
|
181
|
+
}
|
182
|
+
|
183
|
+
#auth_controls:hover ul,
|
184
|
+
#auth_controls.hover ul {
|
185
|
+
right: 5px;
|
186
|
+
}
|
187
|
+
|
188
|
+
.menu,
|
189
|
+
.menu ul {
|
190
|
+
margin: 0;
|
191
|
+
padding: 0;
|
192
|
+
list-style-type: none;
|
193
|
+
}
|
194
|
+
|
195
|
+
.menu li,
|
196
|
+
.menu a,
|
197
|
+
.menu li ul {
|
198
|
+
width: 10em;
|
199
|
+
}
|
200
|
+
|
201
|
+
.menu a {
|
202
|
+
display: block;
|
203
|
+
text-decoration: none;
|
204
|
+
}
|
205
|
+
|
206
|
+
.menu li {
|
207
|
+
float: right;
|
208
|
+
}
|
209
|
+
|
210
|
+
.menu li ul {
|
211
|
+
position: absolute;
|
212
|
+
left: -999em;
|
213
|
+
background-color: #EEE;
|
214
|
+
}
|
215
|
+
|
216
|
+
.menu li:hover ul,
|
217
|
+
.menu li.hover ul {
|
218
|
+
left: auto;
|
219
|
+
right: auto;
|
220
|
+
}
|
221
|
+
|
222
|
+
ul#navi_main li {
|
223
|
+
list-style-type: none;
|
224
|
+
display: inline;
|
225
|
+
margin-right: 1.0em;
|
226
|
+
padding: 0;
|
227
|
+
}
|
228
|
+
|
229
|
+
#navi_sub ul {
|
230
|
+
padding: 0;
|
231
|
+
}
|
232
|
+
|
233
|
+
#navi_sub ul li {
|
234
|
+
list-style-type: none;
|
235
|
+
display: inline;
|
236
|
+
padding: 0;
|
237
|
+
}
|
238
|
+
|
239
|
+
#dashboard_controls {
|
240
|
+
height: 2em;
|
241
|
+
padding-left: 0;
|
242
|
+
list-style-type: none;
|
243
|
+
}
|
244
|
+
|
245
|
+
#dashboard_controls li {
|
246
|
+
float: left;
|
247
|
+
margin-right: 1.5em;
|
248
|
+
}
|
249
|
+
|
250
|
+
#footer {
|
251
|
+
background: url('../../images/iqvoc/footer.png') no-repeat top right;
|
252
|
+
height: 43px;
|
253
|
+
margin-top: 15px;
|
254
|
+
padding-top: 10px;
|
255
|
+
border-top: 1px solid #000;
|
256
|
+
}
|
257
|
+
|
258
|
+
.button {
|
259
|
+
outline: 0;
|
260
|
+
}
|
261
|
+
|
262
|
+
.hidden {
|
263
|
+
display: none;
|
264
|
+
}
|
265
|
+
|
266
|
+
.flash_notice {
|
267
|
+
border: 1px solid #318210;
|
268
|
+
background-color: #C0FAB4;
|
269
|
+
padding: 5px;
|
270
|
+
-moz-border-radius: 5px;
|
271
|
+
-webkit-border-radius: 5px;
|
272
|
+
}
|
273
|
+
|
274
|
+
.flash_error {
|
275
|
+
border: 1px solid #A91B1B;
|
276
|
+
background-color: #F5C2C2;
|
277
|
+
padding: 5px;
|
278
|
+
-moz-border-radius: 5px;
|
279
|
+
-webkit-border-radius: 5px;
|
280
|
+
}
|
281
|
+
|
282
|
+
.error_list {
|
283
|
+
list-style-type: none;
|
284
|
+
}
|
285
|
+
|
286
|
+
.button, input[type=submit], button {
|
287
|
+
padding: 4px 6px;
|
288
|
+
font: 1em 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
289
|
+
color: #fff !important;
|
290
|
+
background: #409120;
|
291
|
+
background: -moz-linear-gradient(0% 100% 90deg, #B0EAA4, #308110);
|
292
|
+
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#B0EAA4), to(#308110));
|
293
|
+
border: 1px solid #308110;
|
294
|
+
border-radius: 5px;
|
295
|
+
-moz-border-radius: 5px;
|
296
|
+
-webkit-border-radius: 5px;
|
297
|
+
cursor: pointer;
|
298
|
+
text-shadow: 0 -1px 1px #308110;
|
299
|
+
text-decoration: none;
|
300
|
+
}
|
301
|
+
|
302
|
+
input[type=submit]:hover, button:hover, a.button:hover {
|
303
|
+
color: #efefef !important;
|
304
|
+
background: #b0eAa4;
|
305
|
+
background: -moz-linear-gradient(0% 100% 90deg, #a0dA94, #207100);
|
306
|
+
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#a0dA94), to(#207100));
|
307
|
+
border: 1px solid #207100;
|
308
|
+
text-shadow: 0 -1px 1px #207100;
|
309
|
+
text-decoration: none;
|
310
|
+
}
|
311
|
+
|
312
|
+
input[type=submit]:active, button:active, a.button:active {
|
313
|
+
border: 1px solid #106100;
|
314
|
+
-moz-box-shadow: inset 0 0 6px 3px #207100, 0 1px 0 0 #fff;
|
315
|
+
-webkit-box-shadow: inset 0 0 6px 3px #207100, 0 1px 0 0 #fff;
|
316
|
+
text-decoration: none;
|
317
|
+
}
|
318
|
+
|
319
|
+
#abstract_uri {
|
320
|
+
display: block;
|
321
|
+
line-height: 24px;
|
322
|
+
margin-bottom: 20px;
|
323
|
+
padding: 4px 0 2px;
|
324
|
+
}
|
325
|
+
|
326
|
+
#abstract_uri img {
|
327
|
+
vertical-align: middle;
|
328
|
+
border: none;
|
329
|
+
}
|
330
|
+
|
331
|
+
#untranslated {
|
332
|
+
float: right;
|
333
|
+
}
|
334
|
+
|
335
|
+
div.editing_versioning_toolbar {
|
336
|
+
margin-bottom: 20px;
|
337
|
+
padding: 6px 4px 6px 4px;
|
338
|
+
}
|
339
|
+
|
340
|
+
div.editing_versioning_toolbar form div, div.editing_versioning_toolbar form {
|
341
|
+
display: inline;
|
342
|
+
}
|
343
|
+
|
344
|
+
div.relation {
|
345
|
+
margin-bottom: 0.7em;
|
346
|
+
}
|
347
|
+
|
348
|
+
ol textarea { /* neutralize blueprint defaults */
|
349
|
+
margin-top: 0;
|
350
|
+
}
|
351
|
+
|
352
|
+
.concept #content h3 {
|
353
|
+
clear: both;
|
354
|
+
margin: 1em 0;
|
355
|
+
}
|
356
|
+
|
357
|
+
.concept .relation { /* contain floats */
|
358
|
+
width: 100%;
|
359
|
+
overflow: hidden;
|
360
|
+
}
|
361
|
+
|
362
|
+
.concept .relation h4 {
|
363
|
+
width: 20%;
|
364
|
+
clear: both;
|
365
|
+
float: left;
|
366
|
+
}
|
367
|
+
|
368
|
+
.concept .relation-body {
|
369
|
+
width: 75%;
|
370
|
+
float: right;
|
371
|
+
}
|
372
|
+
|
373
|
+
.concept .block { /* neutralize .relation-body floating */
|
374
|
+
width: auto;
|
375
|
+
float: none;
|
376
|
+
clear: both;
|
377
|
+
}
|
378
|
+
|
379
|
+
.entity_list { /* contain floats */
|
380
|
+
width: 100%;
|
381
|
+
overflow: hidden;
|
382
|
+
list-style-type: none;
|
383
|
+
}
|
384
|
+
|
385
|
+
.entity_list li {
|
386
|
+
float: left;
|
387
|
+
}
|
388
|
+
|
389
|
+
.relation-body .entity_list {
|
390
|
+
margin: 0;
|
391
|
+
padding: 0;
|
392
|
+
}
|
393
|
+
|
394
|
+
.relation-body .entity_list li {
|
395
|
+
margin-right: 1em;
|
396
|
+
}
|
397
|
+
|
398
|
+
.relation-body .entity_list li:after {
|
399
|
+
content: ",";
|
400
|
+
}
|
401
|
+
.relation-body .entity_list li:last-child:after {
|
402
|
+
content: "";
|
403
|
+
}
|
404
|
+
|
405
|
+
.note_annotations { /* contain floats */
|
406
|
+
width: 100%;
|
407
|
+
overflow: hidden;
|
408
|
+
}
|
409
|
+
|
410
|
+
fieldset .note_annotations {
|
411
|
+
margin-left: 1.5em;
|
412
|
+
}
|
413
|
+
|
414
|
+
.note_annotations dt,
|
415
|
+
.note_annotations dd {
|
416
|
+
float: left;
|
417
|
+
margin: 0 1em 0 0;
|
418
|
+
}
|
419
|
+
|
420
|
+
.note_annotations dt {
|
421
|
+
clear: left;
|
422
|
+
width: 8em;
|
423
|
+
}
|
424
|
+
|
425
|
+
.entity_select li {
|
426
|
+
margin: 3px;
|
427
|
+
padding: 1px 3px;
|
428
|
+
border: 1px solid #CCD5E4;
|
429
|
+
border-radius: 5px;
|
430
|
+
-moz-border-radius: 5px;
|
431
|
+
-webkit-border-radius: 5px;
|
432
|
+
font-size: 11px;
|
433
|
+
color: #000;
|
434
|
+
background-color: #EFF2F7;
|
435
|
+
}
|
436
|
+
|
437
|
+
.entity_select a.btn {
|
438
|
+
margin-left: 5px;
|
439
|
+
font-weight: bold;
|
440
|
+
color: #A6B3CF;
|
441
|
+
cursor: pointer;
|
442
|
+
}
|
443
|
+
|
444
|
+
.entity_select img {
|
445
|
+
margin-left: -20px; /* move into adjacent INPUT */
|
446
|
+
}
|
447
|
+
|
448
|
+
tr.hover {
|
449
|
+
cursor: pointer;
|
450
|
+
background-color: #C0FAB4;
|
451
|
+
}
|
452
|
+
|
453
|
+
.note_language {
|
454
|
+
font-size: 75%;
|
455
|
+
line-height: 175%;
|
456
|
+
color: grey;
|
457
|
+
}
|
458
|
+
|
459
|
+
.valid { color: #318210; }
|
460
|
+
.invalid { color: #A91B1B; }
|
461
|
+
|
462
|
+
div.sorting_arrows { display: inline; margin-left: 3px; }
|
463
|
+
div.sorting_arrows a img.arrow_down { vertical-align: -5px; }
|
464
|
+
div.sorting_arrows a img.arrow_up { vertical-align: -4px; }
|
465
|
+
|
466
|
+
dl#search_results dt { margin-top: 15px; }
|
467
|
+
|
468
|
+
select#c { width: 300px; }
|
469
|
+
|
470
|
+
#footer_box { position: relative; }
|
471
|
+
#w3c_link {
|
472
|
+
position: absolute;
|
473
|
+
top:-5px;
|
474
|
+
left:770px;
|
475
|
+
width: 180px;
|
476
|
+
height: 30px;
|
477
|
+
}
|