iqvoc 3.2.11 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +9 -9
- data/Gemfile.lock +108 -101
- data/{public/images/iqvoc → app/assets/images}/arrow_down.gif +0 -0
- data/{public/images/iqvoc → app/assets/images}/arrow_up.gif +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/back.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/branch.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/categ.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/categ_open.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/footer.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/go_there.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/header_long.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/iqvoc.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_end.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_end_filled.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_mid.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_mid_filled.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_nothing.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_only.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_only_filled.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_top.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/leaf_top_filled.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/nothing.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/ok.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/rdf_flyer.gif +0 -0
- data/{public/images/iqvoc → app/assets/images}/red_arrow.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/shadow.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/spinner.gif +0 -0
- data/{public/images/iqvoc → app/assets/images}/tokenizer_delete.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/tokenizer_pencile.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/tokenizer_show.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/top_01.png +0 -0
- data/{public/stylesheets/iqvoc → app/assets}/images/trunk.png +0 -0
- data/{public/images/iqvoc → app/assets/images}/unfinished.png +0 -0
- data/app/assets/javascripts/framework.js +7 -0
- data/{public/javascripts/iqvoc/entityselect.js → app/assets/javascripts/iqvoc/entityselect.js.erb} +1 -1
- data/{public/javascripts/iqvoc/application.js → app/assets/javascripts/iqvoc/iqvoc.js} +118 -1
- data/{public → app/assets}/javascripts/iqvoc/langselect.js +0 -0
- data/app/assets/javascripts/iqvoc/manifest.js +3 -0
- data/{public → app/assets}/javascripts/iqvoc/visualization.js +0 -0
- data/app/assets/javascripts/manifest.js +2 -0
- data/app/assets/stylesheets/framework.css +4 -0
- data/{public/stylesheets/iqvoc/forms.css → app/assets/stylesheets/iqvoc/forms.css.erb} +1 -1
- data/app/assets/stylesheets/iqvoc/ie_fixes.css +6 -0
- data/{public/stylesheets/iqvoc/iqvoc.css → app/assets/stylesheets/iqvoc/iqvoc.css.erb} +3 -3
- data/app/assets/stylesheets/iqvoc/manifest.css +5 -0
- data/{public → app/assets}/stylesheets/iqvoc/widgets.css +0 -0
- data/app/assets/stylesheets/manifest.css +4 -0
- data/app/controllers/collections_controller.rb +10 -4
- data/app/controllers/concepts/alphabetical_controller.rb +1 -2
- data/app/controllers/concepts/hierarchical_controller.rb +1 -1
- data/app/controllers/concepts_controller.rb +7 -6
- data/app/helpers/concepts_helper.rb +0 -1
- data/app/helpers/dashboard_helper.rb +2 -2
- data/app/models/concept/base.rb +6 -7
- data/app/models/concept/relation/base.rb +1 -1
- data/app/models/labeling/base.rb +1 -1
- data/app/models/labeling/skos/base.rb +5 -10
- data/app/models/match/base.rb +1 -1
- data/app/models/note/base.rb +1 -1
- data/app/models/user.rb +1 -0
- data/app/views/concepts/_visualization.html.erb +2 -2
- data/app/views/concepts/index.iqrdf +6 -2
- data/app/views/layouts/application.html.erb +7 -27
- data/app/views/partials/_rdf_logo.html.erb +1 -2
- data/config/application.rb +12 -3
- data/config/database.yml +21 -13
- data/config/engine.rb +6 -5
- data/config/environments/development.rb +45 -37
- data/config/environments/production.rb +45 -34
- data/config/environments/test.rb +43 -34
- data/config/initializers/iqvoc.rb +4 -8
- data/config/initializers/secret_token.rb +30 -0
- data/config/initializers/session_store.rb +1 -1
- data/config/locales/activerecord.de.yml +85 -111
- data/config/locales/activerecord.en.yml +85 -111
- data/db/iqvoc_test.sqlite3 +0 -0
- data/db/schema.rb +67 -153
- data/iqvoc.gemspec +3 -1
- data/lib/iqvoc/deep_cloning.rb +5 -5
- data/lib/iqvoc/version.rb +1 -1
- data/lib/iqvoc/versioning.rb +1 -1
- data/lib/iqvoc.rb +0 -6
- metadata +103 -369
- checksums.yaml +0 -7
- data/public/export/104047454295817920610168807659129435311.nt +0 -28
- data/public/export/10726.nt +0 -28
- data/public/export/10751365034669120987598940220863369604.nt +0 -28
- data/public/export/111691466774189666307584118743393932328.nt +0 -28
- data/public/export/12325399400132639231204595208154762660.nt +0 -28
- data/public/export/15263706163704853684442315777380853572.nt +0 -28
- data/public/export/15327.nt +0 -28
- data/public/export/15666.nt +0 -28
- data/public/export/173626129450223321263719262149444213847.nt +0 -28
- data/public/export/18948.nt +0 -28
- data/public/export/199578749544886032300136278910417855540.nt +0 -28
- data/public/export/213890660005255527251394676521741138403.nt +0 -28
- data/public/export/21930.nt +0 -28
- data/public/export/24509.nt +0 -28
- data/public/export/249458227092013520089223290936103182178.nt +0 -28
- data/public/export/271163890329327117562409702966294853312.nt +0 -28
- data/public/export/27484.nt +0 -28
- data/public/export/287251617830426667971006908766107175810.nt +0 -28
- data/public/export/28754.nt +0 -28
- data/public/export/29022.nt +0 -28
- data/public/export/293720064238755056739270868818770835353.nt +0 -28
- data/public/export/29976.nt +0 -28
- data/public/export/30643.nt +0 -28
- data/public/export/309135899928267675232062298368405782595.nt +0 -28
- data/public/export/32054.nt +0 -28
- data/public/export/327890543532187929176278243423558506722.nt +0 -28
- data/public/export/33055.nt +0 -28
- data/public/export/337748600310244218106909976567220577473.nt +0 -28
- data/public/export/33936.nt +0 -28
- data/public/export/33993.nt +0 -28
- data/public/export/34906.nt +0 -28
- data/public/export/35365.nt +0 -28
- data/public/export/37098.nt +0 -28
- data/public/export/37534146541112437090211766955764945845.nt +0 -28
- data/public/export/39353594202090916952403280275602550330.nt +0 -28
- data/public/export/41272.nt +0 -28
- data/public/export/42271.nt +0 -28
- data/public/export/44392.nt +0 -28
- data/public/export/45675.nt +0 -28
- data/public/export/47529.nt +0 -28
- data/public/export/48309.nt +0 -28
- data/public/export/4956.nt +0 -28
- data/public/export/49623.nt +0 -28
- data/public/export/50516.nt +0 -28
- data/public/export/54880.nt +0 -28
- data/public/export/55142.nt +0 -28
- data/public/export/55398.nt +0 -28
- data/public/export/5754.nt +0 -28
- data/public/export/57727.nt +0 -28
- data/public/export/58069939020968861674794480549301466954.nt +0 -28
- data/public/export/5890.nt +0 -28
- data/public/export/62809.nt +0 -28
- data/public/export/65156.nt +0 -28
- data/public/export/6520.nt +0 -28
- data/public/export/863.nt +0 -28
- data/public/export/9372.nt +0 -28
- data/public/javascripts/iqvoc/excanvas.js +0 -35
- data/public/javascripts/iqvoc/iqvoc.js +0 -118
- data/public/javascripts/iqvoc/jit_rgraph.js +0 -153
- data/public/javascripts/iqvoc/jquery-1.6.2.min.js +0 -18
- data/public/javascripts/iqvoc/jquery-treeview/changelog.txt +0 -29
- data/public/javascripts/iqvoc/jquery-treeview/demo/async.html +0 -44
- data/public/javascripts/iqvoc/jquery-treeview/demo/bg.gif +0 -0
- data/public/javascripts/iqvoc/jquery-treeview/demo/demo.js +0 -43
- data/public/javascripts/iqvoc/jquery-treeview/demo/images.html +0 -56
- data/public/javascripts/iqvoc/jquery-treeview/demo/index.html +0 -340
- data/public/javascripts/iqvoc/jquery-treeview/demo/large.html +0 -559
- data/public/javascripts/iqvoc/jquery-treeview/demo/prerendered.html +0 -621
- data/public/javascripts/iqvoc/jquery-treeview/demo/screen.css +0 -24
- data/public/javascripts/iqvoc/jquery-treeview/demo/simple.html +0 -82
- data/public/javascripts/iqvoc/jquery-treeview/demo/source.php +0 -87
- data/public/javascripts/iqvoc/jquery-treeview/demo/source.phps +0 -87
- 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 +0 -82
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.css +0 -75
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.js +0 -251
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.min.js +0 -15
- data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.pack.js +0 -16
- data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.cookie.js +0 -92
- data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.js +0 -3363
- data/public/javascripts/iqvoc/jquery-treeview/todo +0 -8
- data/public/javascripts/iqvoc/jquery-ui-1.8.16.custom.js +0 -3269
- data/public/javascripts/iqvoc/jquery-ui-1.8.16.custom.min.js +0 -165
- data/public/javascripts/iqvoc/jquery-ui.datepicker-de.js +0 -22
- data/public/javascripts/iqvoc/json2.js +0 -480
- data/public/javascripts/iqvoc/rails.js +0 -132
- data/public/javascripts/iqvoc/storage.js +0 -122
- data/public/stylesheets/iqvoc/blueprint/ie.css +0 -35
- 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 +0 -32
- data/public/stylesheets/iqvoc/blueprint/plugins/buttons/screen.css +0 -97
- data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/readme.txt +0 -14
- data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/screen.css +0 -71
- 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 +0 -18
- data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/screen.css +0 -40
- data/public/stylesheets/iqvoc/blueprint/plugins/rtl/readme.txt +0 -10
- data/public/stylesheets/iqvoc/blueprint/plugins/rtl/screen.css +0 -110
- data/public/stylesheets/iqvoc/blueprint/print.css +0 -29
- data/public/stylesheets/iqvoc/blueprint/screen.css +0 -258
- data/public/stylesheets/iqvoc/blueprint/src/forms.css +0 -65
- data/public/stylesheets/iqvoc/blueprint/src/grid.css +0 -280
- data/public/stylesheets/iqvoc/blueprint/src/grid.png +0 -0
- data/public/stylesheets/iqvoc/blueprint/src/ie.css +0 -76
- data/public/stylesheets/iqvoc/blueprint/src/print.css +0 -85
- data/public/stylesheets/iqvoc/blueprint/src/reset.css +0 -45
- data/public/stylesheets/iqvoc/blueprint/src/typography.css +0 -106
- 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/jquery-ui-1.8.16.custom.css +0 -410
- data/public/uploads/import/038dd516e01fe211375441c3af8d90e8.nt +0 -259
- data/public/uploads/import/07e71ca0235e798be39acd246114d962.nt +0 -259
- data/public/uploads/import/0a4c173bc9db7a5cd469c9454fdfa749.nt +0 -259
- data/public/uploads/import/0e8336cb2ef2c8b67767dfe8879d9cfb.nt +0 -259
- data/public/uploads/import/0f4eb8cd6390b1c5c5354a22e533ee0e.nt +0 -259
- data/public/uploads/import/105400714d68d2207209e23826345e76.nt +0 -259
- data/public/uploads/import/1147ab054ce55abf0a5bf93b99220231.nt +0 -259
- data/public/uploads/import/14b64b1f2252aba1e89d83f770d14e29.nt +0 -259
- data/public/uploads/import/1c6f11c300224248bf919885f8545daf.nt +0 -259
- data/public/uploads/import/21d34b65ef0a8156111e845992fd004f.nt +0 -259
- data/public/uploads/import/2783fade523132942999836a74228d64.nt +0 -259
- data/public/uploads/import/2bc90e07e5c42e5f26a1607756cc0ab3.nt +0 -259
- data/public/uploads/import/2e4073a94eeae98095de9f43b5e5774a.nt +0 -259
- data/public/uploads/import/32548678e7d47b3e256590d6eef6fb03.nt +0 -259
- data/public/uploads/import/330e08c32fde94fb80f656346d1f8383.nt +0 -259
- data/public/uploads/import/337790be2663214e66066b1215fdd137.nt +0 -259
- data/public/uploads/import/34b77ff970ca71511fb4b224b7dadd1c.nt +0 -259
- data/public/uploads/import/38de0d3c9cba92e8a3c312e7e95e7ec1.nt +0 -259
- data/public/uploads/import/3981aa91cf22e26fbf6b1312b2bcdcc8.nt +0 -259
- data/public/uploads/import/3d01f84539a62ebe6f76124e8cdbbb23.nt +0 -259
- data/public/uploads/import/3d05bb72c3751da3830cf53e966283d4.nt +0 -259
- data/public/uploads/import/3e1d2f770bfe3c79a367780731536a3a.nt +0 -259
- data/public/uploads/import/3e41bd1875dc23401278c73bd12be881.nt +0 -259
- data/public/uploads/import/3f3e3dbb09c3df6bfaed261311de3e7d.nt +0 -259
- data/public/uploads/import/4297d9970e47be5ced4991a083032eb9.nt +0 -259
- data/public/uploads/import/5925186958bd537ad5e79e76e3a1f714.nt +0 -259
- data/public/uploads/import/5dc5dcd978db1c59ec074e9137f0109c.nt +0 -259
- data/public/uploads/import/5e46663e7e2eb92e5e8846d7c0f8e713.nt +0 -259
- data/public/uploads/import/70022a2a7e808000dc3d55529d203480.nt +0 -259
- data/public/uploads/import/70b32583acaca5843ac7dbdc2a89de99.nt +0 -259
- data/public/uploads/import/8030e54313e2c7231c4c30cd4145d576.nt +0 -259
- data/public/uploads/import/8bb6484a9eb0c3266274c08ad8500669.nt +0 -259
- data/public/uploads/import/90711ea002f6b7b4e5476e414e185603.nt +0 -259
- data/public/uploads/import/918a5fc2c8fcdbaddc2a02588d599dcf.nt +0 -259
- data/public/uploads/import/923f9ebccb7b0e9e9fafddc60750b989.nt +0 -259
- data/public/uploads/import/933e4e2baee4d91b8f7681fa4d2ad9fa.nt +0 -259
- data/public/uploads/import/93f642eacd966c98645345d2ccdf578d.nt +0 -259
- data/public/uploads/import/9a3d0f8d1872d4ba5dd281194ddea4a2.nt +0 -259
- data/public/uploads/import/9a3f1c9de8e734b7e1d969d07ea57a83.nt +0 -259
- data/public/uploads/import/9f91263fee5275ecbf303c7da0a9e84d.nt +0 -259
- data/public/uploads/import/9f9d6b4293be8def1b406156a3e2bcd9.nt +0 -259
- data/public/uploads/import/a230b36c3666a6b16fec6283e99b221f.nt +0 -259
- data/public/uploads/import/a51b35089dc096f0f1f5d5250edb8d5c.nt +0 -259
- data/public/uploads/import/a5265a00946627588ecdac317c061c6c.nt +0 -259
- data/public/uploads/import/a95b7d93b7483116ff13c894a46b5c1c.nt +0 -259
- data/public/uploads/import/b5e47ea582afb81341f7b7084cc17a06.nt +0 -259
- data/public/uploads/import/b826bcfad8f18294a425d65482c46033.nt +0 -259
- data/public/uploads/import/bcf18c9e4dbe72745f4ec2878a4b1690.nt +0 -259
- data/public/uploads/import/c32855cb4b3e8616db2ef3f5f9cb5ca7.nt +0 -259
- data/public/uploads/import/c8ee5bc696312468c4354bad6c583321.nt +0 -259
- data/public/uploads/import/cfc73574fe398be7ce684fbc17aa1bb7.nt +0 -259
- data/public/uploads/import/d2366992f6e9e4377d02fc691fc2d3d3.nt +0 -259
- data/public/uploads/import/dc14a0fa30c105a5770da2c960daaf29.nt +0 -259
- data/public/uploads/import/e9289f6f920cf44d0e81599410b39090.nt +0 -259
- data/public/uploads/import/ed1c212d4f320e414caacda7a7988f83.nt +0 -259
- data/public/uploads/import/ed460af60bf4d0884d37a86bb02411e7.nt +0 -259
- data/public/uploads/import/f17024adf37be768041307528e848bd6.nt +0 -259
- data/public/uploads/import/f2f6025f6de90ee4609c2928a817c51d.nt +0 -259
- data/public/uploads/import/f427507b1c208ddf69204ea5414e5d18.nt +0 -259
- data/public/uploads/import/ffce91887b3ac5b7319a80926ff310ef.nt +0 -259
- data/public/uploads/tmp/1417625624-7926-3861/hobbies.nt +0 -259
- data/public/uploads/tmp/1417625658-7975-5171/hobbies.nt +0 -259
- data/public/uploads/tmp/1418649743-7886-1510/hobbies.nt +0 -259
- data/public/uploads/tmp/1418653029-9019-1572/hobbies.nt +0 -259
- data/public/uploads/tmp/1418656093-9614-5971/hobbies.nt +0 -259
- data/public/uploads/tmp/1418659992-10218-8665/hobbies.nt +0 -259
- data/public/uploads/tmp/1418664440-11199-8740/hobbies.nt +0 -259
- data/public/uploads/tmp/1418665022-11430-9919/hobbies.nt +0 -259
- data/public/uploads/tmp/1418665225-11485-5805/hobbies.nt +0 -259
- data/public/uploads/tmp/1418665744-11777-4958/hobbies.nt +0 -259
- data/public/uploads/tmp/1418666103-11837-9818/hobbies.nt +0 -259
- data/public/uploads/tmp/1418666157-11880-9002/hobbies.nt +0 -259
- data/public/uploads/tmp/1418666292-11920-9076/hobbies.nt +0 -259
- data/public/uploads/tmp/1418666482-11968-5799/hobbies.nt +0 -259
- data/public/uploads/tmp/1418666589-12006-6137/hobbies.nt +0 -259
- data/public/uploads/tmp/1419417707-62741-8601/hobbies.nt +0 -259
- data/public/uploads/tmp/1419418501-62977-9798/hobbies.nt +0 -259
- data/public/uploads/tmp/1419419091-63178-5200/hobbies.nt +0 -259
- data/public/uploads/tmp/1419845421-37940-7338/hobbies.nt +0 -259
- data/public/uploads/tmp/1419872019-93309-7785/hobbies.nt +0 -259
- data/public/uploads/tmp/1419872459-93489-7475/hobbies.nt +0 -259
- data/public/uploads/tmp/1420204292-55473-2339/hobbies.nt +0 -259
- data/public/uploads/tmp/1420469113-94913-1977/hobbies.nt +0 -259
- data/public/uploads/tmp/1420469218-94957-7818/hobbies.nt +0 -259
- data/public/uploads/tmp/1420471310-95437-1840/hobbies.nt +0 -259
- data/public/uploads/tmp/1420475764-97681-5693/hobbies.nt +0 -259
- data/public/uploads/tmp/1420475937-97729-2119/hobbies.nt +0 -259
- data/public/uploads/tmp/1420476857-98058-7891/hobbies.nt +0 -259
- data/public/uploads/tmp/1420535851-99018-0174/hobbies.nt +0 -259
- data/public/uploads/tmp/1420536204-1785-0172/hobbies.nt +0 -259
- data/public/uploads/tmp/1420551687-4559-4581/hobbies.nt +0 -259
- data/public/uploads/tmp/1420553228-5060-8398/hobbies.nt +0 -259
- data/public/uploads/tmp/1420554138-5330-1218/hobbies.nt +0 -259
- data/public/uploads/tmp/1420623682-11549-0730/hobbies.nt +0 -259
- data/public/uploads/tmp/1420627830-12489-1669/hobbies.nt +0 -259
- data/public/uploads/tmp/1420643849-18200-3932/hobbies.nt +0 -259
- data/public/uploads/tmp/1420649772-21728-5542/hobbies.nt +0 -259
- data/public/uploads/tmp/1420708117-27095-8292/hobbies.nt +0 -259
- data/public/uploads/tmp/1420708387-27223-6774/hobbies.nt +0 -259
- data/public/uploads/tmp/1420708470-27267-7475/hobbies.nt +0 -259
- data/public/uploads/tmp/1420708517-27294-4695/hobbies.nt +0 -259
- data/public/uploads/tmp/1420708539-27319-1354/hobbies.nt +0 -259
- data/public/uploads/tmp/1420708586-27334-3786/hobbies.nt +0 -259
- data/public/uploads/tmp/1420708992-27418-8019/hobbies.nt +0 -259
- data/public/uploads/tmp/1420709221-27495-1252/hobbies.nt +0 -259
- data/public/uploads/tmp/1420709888-27667-9904/hobbies.nt +0 -259
- data/public/uploads/tmp/1420710092-27729-5735/hobbies.nt +0 -259
- data/public/uploads/tmp/1420710448-27814-7190/hobbies.nt +0 -259
- data/public/uploads/tmp/1420710886-27909-4558/hobbies.nt +0 -259
- data/public/uploads/tmp/1420711474-28046-6914/hobbies.nt +0 -259
- data/public/uploads/tmp/1420711601-28081-0714/hobbies.nt +0 -259
- data/public/uploads/tmp/1420711904-28153-8591/hobbies.nt +0 -259
- data/public/uploads/tmp/1420712160-28240-2054/hobbies.nt +0 -259
- data/public/uploads/tmp/1420712349-28303-3685/hobbies.nt +0 -259
- data/public/uploads/tmp/1420712756-28475-0893/hobbies.nt +0 -259
- data/public/uploads/tmp/1420712995-28567-4743/hobbies.nt +0 -259
- data/public/uploads/tmp/1420722946-31448-5312/hobbies.nt +0 -259
- data/public/uploads/tmp/1420723021-31498-6069/hobbies.nt +0 -259
- data/public/uploads/tmp/1420723172-31541-4390/hobbies.nt +0 -259
- data/public/uploads/tmp/1420723249-31574-6508/hobbies.nt +0 -259
data/Gemfile
CHANGED
@@ -19,18 +19,18 @@ source 'http://rubygems.org'
|
|
19
19
|
# TODO: The following dependencies could be included by the "gemspec" command.
|
20
20
|
# There is only one problem: gemspec puts the dependencies automatically to a
|
21
21
|
# group (:development by default). This is not what we need.
|
22
|
-
gem 'rails', '3.
|
22
|
+
gem 'rails', '3.1.3'
|
23
|
+
|
24
|
+
group :assets do
|
25
|
+
gem 'uglifier'
|
26
|
+
end
|
23
27
|
|
24
28
|
gem 'kaminari'
|
25
29
|
gem 'authlogic'
|
26
30
|
gem 'cancan'
|
27
|
-
gem 'iq_rdf', '~> 0.0.15'
|
31
|
+
gem 'iq_rdf'# , :path => "~/github/iq_rdf" #, '~> 0.0.15'
|
28
32
|
gem 'json'
|
29
|
-
|
30
|
-
# Hotfix for the problem of engine/plugin helpers not being mixed in.
|
31
|
-
# https://rails.lighthouseapp.com/projects/8994/tickets/1905-apphelpers-within-plugin-not-being-mixed-in
|
32
|
-
# http://github.com/drogus/rails_helpers_fix
|
33
|
-
gem 'rails_helpers_fix'
|
33
|
+
gem 'rails_autolink'
|
34
34
|
|
35
35
|
group :development do
|
36
36
|
gem 'awesome_print'
|
@@ -41,7 +41,7 @@ end
|
|
41
41
|
|
42
42
|
group :development, :test do
|
43
43
|
platforms :ruby do
|
44
|
-
gem 'mysql2'
|
44
|
+
gem 'mysql2'
|
45
45
|
gem 'sqlite3'
|
46
46
|
end
|
47
47
|
|
@@ -52,7 +52,7 @@ group :development, :test do
|
|
52
52
|
end
|
53
53
|
|
54
54
|
group :test do
|
55
|
-
gem 'nokogiri', '1.5.0'
|
55
|
+
gem 'nokogiri', '~> 1.5.0'
|
56
56
|
gem 'capybara'
|
57
57
|
gem 'capybara-webkit'
|
58
58
|
gem 'database_cleaner'
|
data/Gemfile.lock
CHANGED
@@ -1,49 +1,42 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
rack (~> 1.
|
15
|
-
rack-mount (~> 0.
|
16
|
-
rack-test (~> 0.
|
17
|
-
|
18
|
-
activemodel (3.
|
19
|
-
activesupport (= 3.
|
20
|
-
builder (~>
|
21
|
-
i18n (~> 0.
|
22
|
-
activerecord (3.
|
23
|
-
activemodel (= 3.
|
24
|
-
activesupport (= 3.
|
25
|
-
arel (~> 2.
|
26
|
-
tzinfo (~> 0.3.
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
activeresource (3.0.10)
|
36
|
-
activemodel (= 3.0.10)
|
37
|
-
activesupport (= 3.0.10)
|
38
|
-
activesupport (3.0.10)
|
39
|
-
ansi (1.3.0)
|
40
|
-
arel (2.0.10)
|
41
|
-
authlogic (3.0.3)
|
4
|
+
actionmailer (3.1.3)
|
5
|
+
actionpack (= 3.1.3)
|
6
|
+
mail (~> 2.3.0)
|
7
|
+
actionpack (3.1.3)
|
8
|
+
activemodel (= 3.1.3)
|
9
|
+
activesupport (= 3.1.3)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
i18n (~> 0.6)
|
13
|
+
rack (~> 1.3.5)
|
14
|
+
rack-cache (~> 1.1)
|
15
|
+
rack-mount (~> 0.8.2)
|
16
|
+
rack-test (~> 0.6.1)
|
17
|
+
sprockets (~> 2.0.3)
|
18
|
+
activemodel (3.1.3)
|
19
|
+
activesupport (= 3.1.3)
|
20
|
+
builder (~> 3.0.0)
|
21
|
+
i18n (~> 0.6)
|
22
|
+
activerecord (3.1.3)
|
23
|
+
activemodel (= 3.1.3)
|
24
|
+
activesupport (= 3.1.3)
|
25
|
+
arel (~> 2.2.1)
|
26
|
+
tzinfo (~> 0.3.29)
|
27
|
+
activeresource (3.1.3)
|
28
|
+
activemodel (= 3.1.3)
|
29
|
+
activesupport (= 3.1.3)
|
30
|
+
activesupport (3.1.3)
|
31
|
+
multi_json (~> 1.0)
|
32
|
+
ansi (1.4.1)
|
33
|
+
arel (2.2.1)
|
34
|
+
authlogic (3.1.0)
|
42
35
|
activerecord (>= 3.0.7)
|
43
36
|
activerecord (>= 3.0.7)
|
44
|
-
awesome_print (0.
|
45
|
-
builder (
|
46
|
-
cancan (1.6.
|
37
|
+
awesome_print (1.0.2)
|
38
|
+
builder (3.0.0)
|
39
|
+
cancan (1.6.7)
|
47
40
|
capistrano (2.9.0)
|
48
41
|
highline
|
49
42
|
net-scp (>= 1.0.0)
|
@@ -52,98 +45,111 @@ GEM
|
|
52
45
|
net-ssh-gateway (>= 1.1.0)
|
53
46
|
capistrano-ext (1.2.1)
|
54
47
|
capistrano (>= 1.0.0)
|
55
|
-
capybara (1.
|
48
|
+
capybara (1.1.2)
|
56
49
|
mime-types (>= 1.16)
|
57
50
|
nokogiri (>= 1.3.3)
|
58
51
|
rack (>= 1.0.0)
|
59
52
|
rack-test (>= 0.5.4)
|
60
53
|
selenium-webdriver (~> 2.0)
|
61
54
|
xpath (~> 0.1.4)
|
62
|
-
capybara-webkit (0.
|
63
|
-
capybara (
|
64
|
-
childprocess (0.2.
|
55
|
+
capybara-webkit (0.7.2)
|
56
|
+
capybara (>= 1.0.0, < 1.2)
|
57
|
+
childprocess (0.2.8)
|
65
58
|
ffi (~> 1.0.6)
|
66
|
-
database_cleaner (0.
|
67
|
-
erubis (2.
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
59
|
+
database_cleaner (0.7.0)
|
60
|
+
erubis (2.7.0)
|
61
|
+
execjs (1.2.13)
|
62
|
+
multi_json (~> 1.0)
|
63
|
+
factory_girl (2.3.2)
|
64
|
+
activesupport
|
65
|
+
factory_girl_rails (1.4.0)
|
66
|
+
factory_girl (~> 2.3.0)
|
72
67
|
railties (>= 3.0.0)
|
73
|
-
ffi (1.0.
|
74
|
-
|
75
|
-
|
76
|
-
i18n (0.
|
68
|
+
ffi (1.0.11)
|
69
|
+
highline (1.6.9)
|
70
|
+
hike (1.2.1)
|
71
|
+
i18n (0.6.0)
|
77
72
|
iq_rdf (0.0.15)
|
78
73
|
builder
|
79
74
|
bundler
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
rails (>= 3.0.0)
|
87
|
-
mail (2.2.19)
|
88
|
-
activesupport (>= 2.3.6)
|
75
|
+
json (1.6.4)
|
76
|
+
kaminari (0.13.0)
|
77
|
+
actionpack (>= 3.0.0)
|
78
|
+
activesupport (>= 3.0.0)
|
79
|
+
railties (>= 3.0.0)
|
80
|
+
mail (2.3.0)
|
89
81
|
i18n (>= 0.4.0)
|
90
82
|
mime-types (~> 1.16)
|
91
83
|
treetop (~> 1.4.8)
|
92
84
|
memory_test_fix (0.2.0)
|
93
|
-
mime-types (1.
|
94
|
-
|
85
|
+
mime-types (1.17.2)
|
86
|
+
multi_json (1.0.4)
|
87
|
+
mysql2 (0.3.11)
|
95
88
|
net-scp (1.0.4)
|
96
89
|
net-ssh (>= 1.99.1)
|
97
90
|
net-sftp (2.0.5)
|
98
91
|
net-ssh (>= 2.0.9)
|
99
|
-
net-ssh (2.2.
|
92
|
+
net-ssh (2.2.2)
|
100
93
|
net-ssh-gateway (1.1.0)
|
101
94
|
net-ssh (>= 1.99.1)
|
102
95
|
nokogiri (1.5.0)
|
103
|
-
|
104
|
-
|
105
|
-
rack (1.
|
106
|
-
|
96
|
+
polyglot (0.3.3)
|
97
|
+
rack (1.3.6)
|
98
|
+
rack-cache (1.1)
|
99
|
+
rack (>= 0.4)
|
100
|
+
rack-mount (0.8.3)
|
107
101
|
rack (>= 1.0.0)
|
108
|
-
rack-
|
102
|
+
rack-ssl (1.3.2)
|
103
|
+
rack
|
104
|
+
rack-test (0.6.1)
|
109
105
|
rack (>= 1.0)
|
110
|
-
rails (3.
|
111
|
-
actionmailer (= 3.
|
112
|
-
actionpack (= 3.
|
113
|
-
activerecord (= 3.
|
114
|
-
activeresource (= 3.
|
115
|
-
activesupport (= 3.
|
106
|
+
rails (3.1.3)
|
107
|
+
actionmailer (= 3.1.3)
|
108
|
+
actionpack (= 3.1.3)
|
109
|
+
activerecord (= 3.1.3)
|
110
|
+
activeresource (= 3.1.3)
|
111
|
+
activesupport (= 3.1.3)
|
116
112
|
bundler (~> 1.0)
|
117
|
-
railties (= 3.
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
113
|
+
railties (= 3.1.3)
|
114
|
+
rails_autolink (1.0.4)
|
115
|
+
rails (>= 3.1.0)
|
116
|
+
railties (3.1.3)
|
117
|
+
actionpack (= 3.1.3)
|
118
|
+
activesupport (= 3.1.3)
|
119
|
+
rack-ssl (~> 1.3.2)
|
122
120
|
rake (>= 0.8.7)
|
123
121
|
rdoc (~> 3.4)
|
124
|
-
thor (~> 0.14.
|
125
|
-
rake (0.9.2)
|
126
|
-
rdoc (3.
|
127
|
-
|
122
|
+
thor (~> 0.14.6)
|
123
|
+
rake (0.9.2.2)
|
124
|
+
rdoc (3.12)
|
125
|
+
json (~> 1.4)
|
126
|
+
rubyzip (0.9.5)
|
128
127
|
rvm (1.9.2)
|
129
|
-
selenium-webdriver (2.
|
130
|
-
childprocess (>= 0.2.
|
131
|
-
ffi (
|
132
|
-
|
128
|
+
selenium-webdriver (2.16.0)
|
129
|
+
childprocess (>= 0.2.5)
|
130
|
+
ffi (~> 1.0.9)
|
131
|
+
multi_json (~> 1.0.4)
|
133
132
|
rubyzip
|
134
|
-
|
133
|
+
sprockets (2.0.3)
|
134
|
+
hike (~> 1.2)
|
135
|
+
rack (~> 1.0)
|
136
|
+
tilt (~> 1.1, != 1.3.0)
|
137
|
+
sqlite3 (1.3.5)
|
135
138
|
thor (0.14.6)
|
139
|
+
tilt (1.3.3)
|
136
140
|
treetop (1.4.10)
|
137
141
|
polyglot
|
138
142
|
polyglot (>= 0.3.1)
|
139
|
-
turn (0.8.
|
140
|
-
ansi
|
141
|
-
tzinfo (0.3.
|
143
|
+
turn (0.8.3)
|
144
|
+
ansi
|
145
|
+
tzinfo (0.3.31)
|
146
|
+
uglifier (1.2.1)
|
147
|
+
execjs (>= 0.3.0)
|
148
|
+
multi_json (>= 1.0.2)
|
142
149
|
xpath (0.1.4)
|
143
150
|
nokogiri (~> 1.3)
|
144
151
|
|
145
152
|
PLATFORMS
|
146
|
-
java
|
147
153
|
ruby
|
148
154
|
|
149
155
|
DEPENDENCIES
|
@@ -159,14 +165,15 @@ DEPENDENCIES
|
|
159
165
|
capybara-webkit
|
160
166
|
database_cleaner
|
161
167
|
factory_girl_rails
|
162
|
-
iq_rdf
|
168
|
+
iq_rdf
|
163
169
|
json
|
164
170
|
kaminari
|
165
171
|
memory_test_fix
|
166
|
-
mysql2
|
167
|
-
nokogiri (
|
168
|
-
rails (= 3.
|
169
|
-
|
172
|
+
mysql2
|
173
|
+
nokogiri (~> 1.5.0)
|
174
|
+
rails (= 3.1.3)
|
175
|
+
rails_autolink
|
170
176
|
rvm
|
171
177
|
sqlite3
|
172
178
|
turn
|
179
|
+
uglifier
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{public/javascripts/iqvoc/entityselect.js → app/assets/javascripts/iqvoc/entityselect.js.erb}
RENAMED
@@ -24,7 +24,7 @@ var EntitySelector = function(node) {
|
|
24
24
|
selection = $('<ul class="entity_list" />').append(selection);
|
25
25
|
|
26
26
|
var exclude = this.el.data("exclude") || null;
|
27
|
-
var img = $('<img src="
|
27
|
+
var img = $('<img src="<%= asset_path('spinner.gif') %>" class="hidden" />');
|
28
28
|
this.input = $("<input />").autocomplete({
|
29
29
|
minLength: 3,
|
30
30
|
source: function(req, callback) {
|
@@ -1,5 +1,121 @@
|
|
1
1
|
/*jslint vars: true, unparam: true, browser: true */
|
2
|
-
/*global jQuery
|
2
|
+
/*global jQuery */
|
3
|
+
|
4
|
+
var IQVOC = (function($) {
|
5
|
+
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
var dynamicAuth = function(container) {
|
9
|
+
container = container.nodeType ? container : $(container)[0];
|
10
|
+
var authLink = $("a", container),
|
11
|
+
uri = authLink.attr("href");
|
12
|
+
if(uri.indexOf("/new.html") !== -1) {
|
13
|
+
var menu = $("ul", container),
|
14
|
+
label = authLink.text() + " ▼";
|
15
|
+
authLink.click(function(ev) {
|
16
|
+
authLink.html(label);
|
17
|
+
menu.removeClass("hidden").slideDown()
|
18
|
+
.find("li").load(uri + " #new_user_session");
|
19
|
+
ev.preventDefault();
|
20
|
+
});
|
21
|
+
}
|
22
|
+
};
|
23
|
+
|
24
|
+
var collapseDropdown = function(node) {
|
25
|
+
var el = $(node || this);
|
26
|
+
el.find("ul").slideUp(function() {
|
27
|
+
el.removeClass("hover");
|
28
|
+
});
|
29
|
+
};
|
30
|
+
|
31
|
+
// augments Son of Suckerfish drop-down menus
|
32
|
+
var enhancedDropdown = function(container) {
|
33
|
+
container = container.jquery ? container : $(container);
|
34
|
+
var menuItems = $("> li", container),
|
35
|
+
ddtimer;
|
36
|
+
menuItems.find("ul").hide();
|
37
|
+
menuItems.live({
|
38
|
+
mouseenter: function(ev) {
|
39
|
+
clearTimeout(ddtimer);
|
40
|
+
menuItems.not(this).filter(".hover").each(function(i, node) {
|
41
|
+
collapseDropdown(node);
|
42
|
+
});
|
43
|
+
$(this).addClass("hover")
|
44
|
+
.find("ul").not(".hidden").slideDown();
|
45
|
+
},
|
46
|
+
mouseleave: function(ev) {
|
47
|
+
clearTimeout(ddtimer);
|
48
|
+
ddtimer = setTimeout(jQuery.proxy(collapseDropdown, this), 600);
|
49
|
+
}
|
50
|
+
});
|
51
|
+
};
|
52
|
+
|
53
|
+
var createNote = function(ev) {
|
54
|
+
var container = $(this).closest("fieldset"),
|
55
|
+
source = $("ol li:last-child", container);
|
56
|
+
|
57
|
+
// special case for usage notes
|
58
|
+
// a usage note contains a select box instead of a textarea
|
59
|
+
// FIXME: Hardcoded UMT stuff
|
60
|
+
var isUsageNote = source.find("label:first")[0].getAttribute("for");
|
61
|
+
isUsageNote = isUsageNote ? isUsageNote.match(/^concept_note_umt_usage_notes/) : false;
|
62
|
+
|
63
|
+
if(source.is(":hidden")) {
|
64
|
+
source.show();
|
65
|
+
return false;
|
66
|
+
}
|
67
|
+
|
68
|
+
var clone = source.clone();
|
69
|
+
|
70
|
+
var count = source.find(isUsageNote ? "select" : "textarea")[0].id
|
71
|
+
.match(/_(\d+)_/)[1];
|
72
|
+
count = String(parseInt(count, 10) + 1);
|
73
|
+
var newIdCount = "_" + count + "_",
|
74
|
+
newNameCount = "[" + count + "]";
|
75
|
+
|
76
|
+
clone.find("label")[0]
|
77
|
+
.setAttribute("for", (source.find("label")[0].getAttribute("for") || "")
|
78
|
+
.replace(/_\d+_/, newIdCount));
|
79
|
+
|
80
|
+
// clone.find("input")
|
81
|
+
// .attr("id", source.find("input[type=hidden]").attr("id").replace(/_\d+_/, newIdCount))
|
82
|
+
// .attr("name", source.find("input[type=hidden]").attr("name").replace(/\[\d+\]/, newNameCount));
|
83
|
+
|
84
|
+
var src, el;
|
85
|
+
if(!isUsageNote) {
|
86
|
+
src = source.find("textarea")[0];
|
87
|
+
el = clone.find("textarea").val("")[0];
|
88
|
+
el.id = src.id.replace(/_\d+_/, newIdCount);
|
89
|
+
el.name = src.name.replace(/\[\d+\]/, newNameCount);
|
90
|
+
}
|
91
|
+
src = source.find("select")[0];
|
92
|
+
el = clone.find("select")[0];
|
93
|
+
el.id = src.id.replace(/_\d+_/, newIdCount);
|
94
|
+
el.name = src.name.replace(/\[\d+\]/, newNameCount);
|
95
|
+
|
96
|
+
clone.addClass("new");
|
97
|
+
$("ol", container).append(clone);
|
98
|
+
|
99
|
+
return false;
|
100
|
+
};
|
101
|
+
|
102
|
+
// work around apparent capybara-webkit issue:
|
103
|
+
// https://github.com/thoughtbot/capybara-webkit/issues/43
|
104
|
+
var Storage = localStorage || null;
|
105
|
+
if(Storage === null) {
|
106
|
+
Storage = {};
|
107
|
+
Storage.getItem = function() { return null; };
|
108
|
+
Storage.setItem = $.noop;
|
109
|
+
}
|
110
|
+
|
111
|
+
return {
|
112
|
+
Storage: Storage,
|
113
|
+
dynamicAuth: dynamicAuth,
|
114
|
+
enhancedDropdown: enhancedDropdown,
|
115
|
+
createNote: createNote
|
116
|
+
};
|
117
|
+
|
118
|
+
}(jQuery));
|
3
119
|
|
4
120
|
jQuery(document).ready(function($) {
|
5
121
|
"use strict";
|
@@ -131,3 +247,4 @@ jQuery(document).ready(function($) {
|
|
131
247
|
});
|
132
248
|
});
|
133
249
|
});
|
250
|
+
|
File without changes
|
File without changes
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#header {
|
5
5
|
height: 85px;
|
6
6
|
padding: 9px 1em 1em 160px;
|
7
|
-
background: url('
|
7
|
+
background: url(<%= asset_data_uri 'header_long.png' %>) no-repeat;
|
8
8
|
}
|
9
9
|
|
10
10
|
#header h1 {
|
@@ -46,7 +46,7 @@ a.unpublished {
|
|
46
46
|
}
|
47
47
|
|
48
48
|
a.back {
|
49
|
-
background: url('
|
49
|
+
background: url(<%= asset_data_uri 'back.png' %>) 0 50% no-repeat;
|
50
50
|
padding-left: 20px;
|
51
51
|
}
|
52
52
|
|
@@ -248,7 +248,7 @@ ul#navi_main li {
|
|
248
248
|
}
|
249
249
|
|
250
250
|
#footer {
|
251
|
-
background: url('
|
251
|
+
background: url(<%= asset_data_uri 'footer.png' %>) no-repeat top right;
|
252
252
|
height: 43px;
|
253
253
|
margin-top: 15px;
|
254
254
|
padding-top: 10px;
|
File without changes
|
@@ -29,7 +29,7 @@ class CollectionsController < ApplicationController
|
|
29
29
|
|
30
30
|
# When in single query mode, AR handles ALL includes to be loaded by that
|
31
31
|
# one query. We don't want that! So let's do it manually :-)
|
32
|
-
|
32
|
+
ActiveRecord::Associations::Preloader.new(@collections, [:subcollections]).run
|
33
33
|
end
|
34
34
|
format.json do # For the widget
|
35
35
|
@collections = Iqvoc::Collection.base_class.with_pref_labels.merge(Label::Base.by_query_value("#{params[:query]}%"))
|
@@ -48,7 +48,10 @@ class CollectionsController < ApplicationController
|
|
48
48
|
|
49
49
|
# When in single query mode, AR handles ALL includes to be loaded by that
|
50
50
|
# one query. We don't want that! So let's do it manually :-)
|
51
|
-
|
51
|
+
ActiveRecord::Associations::Preloader.new(@collection,
|
52
|
+
[:pref_labels,
|
53
|
+
{:subcollections => [:pref_labels, :subcollections]},
|
54
|
+
{:concepts => [:pref_labels] + Iqvoc::Concept.base_class.default_includes}]).run
|
52
55
|
end
|
53
56
|
|
54
57
|
def new
|
@@ -80,8 +83,11 @@ class CollectionsController < ApplicationController
|
|
80
83
|
|
81
84
|
# When in single query mode, AR handles ALL includes to be loaded by that
|
82
85
|
# one query. We don't want that! So let's do it manually :-)
|
83
|
-
|
84
|
-
|
86
|
+
ActiveRecord::Associations::Preloader.new(@collection, [
|
87
|
+
:pref_labels,
|
88
|
+
{:subcollections => :pref_labels},
|
89
|
+
{:concepts => [:pref_labels] + Iqvoc::Concept.base_class.default_includes}]).run
|
90
|
+
|
85
91
|
build_note_relations
|
86
92
|
end
|
87
93
|
|