iqvoc 3.2.11 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (351) hide show
  1. data/Gemfile +9 -9
  2. data/Gemfile.lock +108 -101
  3. data/{public/images/iqvoc → app/assets/images}/arrow_down.gif +0 -0
  4. data/{public/images/iqvoc → app/assets/images}/arrow_up.gif +0 -0
  5. data/{public/stylesheets/iqvoc → app/assets}/images/back.png +0 -0
  6. data/{public/stylesheets/iqvoc → app/assets}/images/branch.png +0 -0
  7. data/{public/stylesheets/iqvoc → app/assets}/images/categ.png +0 -0
  8. data/{public/stylesheets/iqvoc → app/assets}/images/categ_open.png +0 -0
  9. data/{public/images/iqvoc → app/assets/images}/footer.png +0 -0
  10. data/{public/stylesheets/iqvoc → app/assets}/images/go_there.png +0 -0
  11. data/{public/images/iqvoc → app/assets/images}/header_long.png +0 -0
  12. data/{public/stylesheets/iqvoc → app/assets}/images/iqvoc.png +0 -0
  13. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_end.png +0 -0
  14. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_end_filled.png +0 -0
  15. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_mid.png +0 -0
  16. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_mid_filled.png +0 -0
  17. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_nothing.png +0 -0
  18. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_only.png +0 -0
  19. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_only_filled.png +0 -0
  20. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_top.png +0 -0
  21. data/{public/stylesheets/iqvoc → app/assets}/images/leaf_top_filled.png +0 -0
  22. data/{public/stylesheets/iqvoc → app/assets}/images/nothing.png +0 -0
  23. data/{public/images/iqvoc → app/assets/images}/ok.png +0 -0
  24. data/{public/images/iqvoc → app/assets/images}/rdf_flyer.gif +0 -0
  25. data/{public/images/iqvoc → app/assets/images}/red_arrow.png +0 -0
  26. data/{public/images/iqvoc → app/assets/images}/shadow.png +0 -0
  27. data/{public/images/iqvoc → app/assets/images}/spinner.gif +0 -0
  28. data/{public/images/iqvoc → app/assets/images}/tokenizer_delete.png +0 -0
  29. data/{public/images/iqvoc → app/assets/images}/tokenizer_pencile.png +0 -0
  30. data/{public/images/iqvoc → app/assets/images}/tokenizer_show.png +0 -0
  31. data/{public/stylesheets/iqvoc → app/assets}/images/top_01.png +0 -0
  32. data/{public/stylesheets/iqvoc → app/assets}/images/trunk.png +0 -0
  33. data/{public/images/iqvoc → app/assets/images}/unfinished.png +0 -0
  34. data/app/assets/javascripts/framework.js +7 -0
  35. data/{public/javascripts/iqvoc/entityselect.js → app/assets/javascripts/iqvoc/entityselect.js.erb} +1 -1
  36. data/{public/javascripts/iqvoc/application.js → app/assets/javascripts/iqvoc/iqvoc.js} +118 -1
  37. data/{public → app/assets}/javascripts/iqvoc/langselect.js +0 -0
  38. data/app/assets/javascripts/iqvoc/manifest.js +3 -0
  39. data/{public → app/assets}/javascripts/iqvoc/visualization.js +0 -0
  40. data/app/assets/javascripts/manifest.js +2 -0
  41. data/app/assets/stylesheets/framework.css +4 -0
  42. data/{public/stylesheets/iqvoc/forms.css → app/assets/stylesheets/iqvoc/forms.css.erb} +1 -1
  43. data/app/assets/stylesheets/iqvoc/ie_fixes.css +6 -0
  44. data/{public/stylesheets/iqvoc/iqvoc.css → app/assets/stylesheets/iqvoc/iqvoc.css.erb} +3 -3
  45. data/app/assets/stylesheets/iqvoc/manifest.css +5 -0
  46. data/{public → app/assets}/stylesheets/iqvoc/widgets.css +0 -0
  47. data/app/assets/stylesheets/manifest.css +4 -0
  48. data/app/controllers/collections_controller.rb +10 -4
  49. data/app/controllers/concepts/alphabetical_controller.rb +1 -2
  50. data/app/controllers/concepts/hierarchical_controller.rb +1 -1
  51. data/app/controllers/concepts_controller.rb +7 -6
  52. data/app/helpers/concepts_helper.rb +0 -1
  53. data/app/helpers/dashboard_helper.rb +2 -2
  54. data/app/models/concept/base.rb +6 -7
  55. data/app/models/concept/relation/base.rb +1 -1
  56. data/app/models/labeling/base.rb +1 -1
  57. data/app/models/labeling/skos/base.rb +5 -10
  58. data/app/models/match/base.rb +1 -1
  59. data/app/models/note/base.rb +1 -1
  60. data/app/models/user.rb +1 -0
  61. data/app/views/concepts/_visualization.html.erb +2 -2
  62. data/app/views/concepts/index.iqrdf +6 -2
  63. data/app/views/layouts/application.html.erb +7 -27
  64. data/app/views/partials/_rdf_logo.html.erb +1 -2
  65. data/config/application.rb +12 -3
  66. data/config/database.yml +21 -13
  67. data/config/engine.rb +6 -5
  68. data/config/environments/development.rb +45 -37
  69. data/config/environments/production.rb +45 -34
  70. data/config/environments/test.rb +43 -34
  71. data/config/initializers/iqvoc.rb +4 -8
  72. data/config/initializers/secret_token.rb +30 -0
  73. data/config/initializers/session_store.rb +1 -1
  74. data/config/locales/activerecord.de.yml +85 -111
  75. data/config/locales/activerecord.en.yml +85 -111
  76. data/db/iqvoc_test.sqlite3 +0 -0
  77. data/db/schema.rb +67 -153
  78. data/iqvoc.gemspec +3 -1
  79. data/lib/iqvoc/deep_cloning.rb +5 -5
  80. data/lib/iqvoc/version.rb +1 -1
  81. data/lib/iqvoc/versioning.rb +1 -1
  82. data/lib/iqvoc.rb +0 -6
  83. metadata +103 -369
  84. checksums.yaml +0 -7
  85. data/public/export/104047454295817920610168807659129435311.nt +0 -28
  86. data/public/export/10726.nt +0 -28
  87. data/public/export/10751365034669120987598940220863369604.nt +0 -28
  88. data/public/export/111691466774189666307584118743393932328.nt +0 -28
  89. data/public/export/12325399400132639231204595208154762660.nt +0 -28
  90. data/public/export/15263706163704853684442315777380853572.nt +0 -28
  91. data/public/export/15327.nt +0 -28
  92. data/public/export/15666.nt +0 -28
  93. data/public/export/173626129450223321263719262149444213847.nt +0 -28
  94. data/public/export/18948.nt +0 -28
  95. data/public/export/199578749544886032300136278910417855540.nt +0 -28
  96. data/public/export/213890660005255527251394676521741138403.nt +0 -28
  97. data/public/export/21930.nt +0 -28
  98. data/public/export/24509.nt +0 -28
  99. data/public/export/249458227092013520089223290936103182178.nt +0 -28
  100. data/public/export/271163890329327117562409702966294853312.nt +0 -28
  101. data/public/export/27484.nt +0 -28
  102. data/public/export/287251617830426667971006908766107175810.nt +0 -28
  103. data/public/export/28754.nt +0 -28
  104. data/public/export/29022.nt +0 -28
  105. data/public/export/293720064238755056739270868818770835353.nt +0 -28
  106. data/public/export/29976.nt +0 -28
  107. data/public/export/30643.nt +0 -28
  108. data/public/export/309135899928267675232062298368405782595.nt +0 -28
  109. data/public/export/32054.nt +0 -28
  110. data/public/export/327890543532187929176278243423558506722.nt +0 -28
  111. data/public/export/33055.nt +0 -28
  112. data/public/export/337748600310244218106909976567220577473.nt +0 -28
  113. data/public/export/33936.nt +0 -28
  114. data/public/export/33993.nt +0 -28
  115. data/public/export/34906.nt +0 -28
  116. data/public/export/35365.nt +0 -28
  117. data/public/export/37098.nt +0 -28
  118. data/public/export/37534146541112437090211766955764945845.nt +0 -28
  119. data/public/export/39353594202090916952403280275602550330.nt +0 -28
  120. data/public/export/41272.nt +0 -28
  121. data/public/export/42271.nt +0 -28
  122. data/public/export/44392.nt +0 -28
  123. data/public/export/45675.nt +0 -28
  124. data/public/export/47529.nt +0 -28
  125. data/public/export/48309.nt +0 -28
  126. data/public/export/4956.nt +0 -28
  127. data/public/export/49623.nt +0 -28
  128. data/public/export/50516.nt +0 -28
  129. data/public/export/54880.nt +0 -28
  130. data/public/export/55142.nt +0 -28
  131. data/public/export/55398.nt +0 -28
  132. data/public/export/5754.nt +0 -28
  133. data/public/export/57727.nt +0 -28
  134. data/public/export/58069939020968861674794480549301466954.nt +0 -28
  135. data/public/export/5890.nt +0 -28
  136. data/public/export/62809.nt +0 -28
  137. data/public/export/65156.nt +0 -28
  138. data/public/export/6520.nt +0 -28
  139. data/public/export/863.nt +0 -28
  140. data/public/export/9372.nt +0 -28
  141. data/public/javascripts/iqvoc/excanvas.js +0 -35
  142. data/public/javascripts/iqvoc/iqvoc.js +0 -118
  143. data/public/javascripts/iqvoc/jit_rgraph.js +0 -153
  144. data/public/javascripts/iqvoc/jquery-1.6.2.min.js +0 -18
  145. data/public/javascripts/iqvoc/jquery-treeview/changelog.txt +0 -29
  146. data/public/javascripts/iqvoc/jquery-treeview/demo/async.html +0 -44
  147. data/public/javascripts/iqvoc/jquery-treeview/demo/bg.gif +0 -0
  148. data/public/javascripts/iqvoc/jquery-treeview/demo/demo.js +0 -43
  149. data/public/javascripts/iqvoc/jquery-treeview/demo/images.html +0 -56
  150. data/public/javascripts/iqvoc/jquery-treeview/demo/index.html +0 -340
  151. data/public/javascripts/iqvoc/jquery-treeview/demo/large.html +0 -559
  152. data/public/javascripts/iqvoc/jquery-treeview/demo/prerendered.html +0 -621
  153. data/public/javascripts/iqvoc/jquery-treeview/demo/screen.css +0 -24
  154. data/public/javascripts/iqvoc/jquery-treeview/demo/simple.html +0 -82
  155. data/public/javascripts/iqvoc/jquery-treeview/demo/source.php +0 -87
  156. data/public/javascripts/iqvoc/jquery-treeview/demo/source.phps +0 -87
  157. data/public/javascripts/iqvoc/jquery-treeview/images/ajax-loader.gif +0 -0
  158. data/public/javascripts/iqvoc/jquery-treeview/images/file.gif +0 -0
  159. data/public/javascripts/iqvoc/jquery-treeview/images/folder-closed.gif +0 -0
  160. data/public/javascripts/iqvoc/jquery-treeview/images/folder.gif +0 -0
  161. data/public/javascripts/iqvoc/jquery-treeview/images/minus.gif +0 -0
  162. data/public/javascripts/iqvoc/jquery-treeview/images/plus.gif +0 -0
  163. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-black-line.gif +0 -0
  164. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-black.gif +0 -0
  165. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-default-line.gif +0 -0
  166. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-default.gif +0 -0
  167. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-famfamfam-line.gif +0 -0
  168. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-famfamfam.gif +0 -0
  169. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-gray-line.gif +0 -0
  170. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-gray.gif +0 -0
  171. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-red-line.gif +0 -0
  172. data/public/javascripts/iqvoc/jquery-treeview/images/treeview-red.gif +0 -0
  173. data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.async.js +0 -82
  174. data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.css +0 -75
  175. data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.js +0 -251
  176. data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.min.js +0 -15
  177. data/public/javascripts/iqvoc/jquery-treeview/jquery.treeview.pack.js +0 -16
  178. data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.cookie.js +0 -92
  179. data/public/javascripts/iqvoc/jquery-treeview/lib/jquery.js +0 -3363
  180. data/public/javascripts/iqvoc/jquery-treeview/todo +0 -8
  181. data/public/javascripts/iqvoc/jquery-ui-1.8.16.custom.js +0 -3269
  182. data/public/javascripts/iqvoc/jquery-ui-1.8.16.custom.min.js +0 -165
  183. data/public/javascripts/iqvoc/jquery-ui.datepicker-de.js +0 -22
  184. data/public/javascripts/iqvoc/json2.js +0 -480
  185. data/public/javascripts/iqvoc/rails.js +0 -132
  186. data/public/javascripts/iqvoc/storage.js +0 -122
  187. data/public/stylesheets/iqvoc/blueprint/ie.css +0 -35
  188. data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/cross.png +0 -0
  189. data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/key.png +0 -0
  190. data/public/stylesheets/iqvoc/blueprint/plugins/buttons/icons/tick.png +0 -0
  191. data/public/stylesheets/iqvoc/blueprint/plugins/buttons/readme.txt +0 -32
  192. data/public/stylesheets/iqvoc/blueprint/plugins/buttons/screen.css +0 -97
  193. data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/readme.txt +0 -14
  194. data/public/stylesheets/iqvoc/blueprint/plugins/fancy-type/screen.css +0 -71
  195. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/doc.png +0 -0
  196. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/email.png +0 -0
  197. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/external.png +0 -0
  198. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/feed.png +0 -0
  199. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/im.png +0 -0
  200. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  201. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/visited.png +0 -0
  202. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/icons/xls.png +0 -0
  203. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/readme.txt +0 -18
  204. data/public/stylesheets/iqvoc/blueprint/plugins/link-icons/screen.css +0 -40
  205. data/public/stylesheets/iqvoc/blueprint/plugins/rtl/readme.txt +0 -10
  206. data/public/stylesheets/iqvoc/blueprint/plugins/rtl/screen.css +0 -110
  207. data/public/stylesheets/iqvoc/blueprint/print.css +0 -29
  208. data/public/stylesheets/iqvoc/blueprint/screen.css +0 -258
  209. data/public/stylesheets/iqvoc/blueprint/src/forms.css +0 -65
  210. data/public/stylesheets/iqvoc/blueprint/src/grid.css +0 -280
  211. data/public/stylesheets/iqvoc/blueprint/src/grid.png +0 -0
  212. data/public/stylesheets/iqvoc/blueprint/src/ie.css +0 -76
  213. data/public/stylesheets/iqvoc/blueprint/src/print.css +0 -85
  214. data/public/stylesheets/iqvoc/blueprint/src/reset.css +0 -45
  215. data/public/stylesheets/iqvoc/blueprint/src/typography.css +0 -106
  216. data/public/stylesheets/iqvoc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  217. data/public/stylesheets/iqvoc/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  218. data/public/stylesheets/iqvoc/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  219. data/public/stylesheets/iqvoc/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  220. data/public/stylesheets/iqvoc/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  221. data/public/stylesheets/iqvoc/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  222. data/public/stylesheets/iqvoc/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  223. data/public/stylesheets/iqvoc/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  224. data/public/stylesheets/iqvoc/images/ui-icons_217bc0_256x240.png +0 -0
  225. data/public/stylesheets/iqvoc/images/ui-icons_2e83ff_256x240.png +0 -0
  226. data/public/stylesheets/iqvoc/images/ui-icons_469bdd_256x240.png +0 -0
  227. data/public/stylesheets/iqvoc/images/ui-icons_6da8d5_256x240.png +0 -0
  228. data/public/stylesheets/iqvoc/images/ui-icons_cd0a0a_256x240.png +0 -0
  229. data/public/stylesheets/iqvoc/images/ui-icons_d8e7f3_256x240.png +0 -0
  230. data/public/stylesheets/iqvoc/images/ui-icons_f9bd01_256x240.png +0 -0
  231. data/public/stylesheets/iqvoc/jquery-ui-1.8.16.custom.css +0 -410
  232. data/public/uploads/import/038dd516e01fe211375441c3af8d90e8.nt +0 -259
  233. data/public/uploads/import/07e71ca0235e798be39acd246114d962.nt +0 -259
  234. data/public/uploads/import/0a4c173bc9db7a5cd469c9454fdfa749.nt +0 -259
  235. data/public/uploads/import/0e8336cb2ef2c8b67767dfe8879d9cfb.nt +0 -259
  236. data/public/uploads/import/0f4eb8cd6390b1c5c5354a22e533ee0e.nt +0 -259
  237. data/public/uploads/import/105400714d68d2207209e23826345e76.nt +0 -259
  238. data/public/uploads/import/1147ab054ce55abf0a5bf93b99220231.nt +0 -259
  239. data/public/uploads/import/14b64b1f2252aba1e89d83f770d14e29.nt +0 -259
  240. data/public/uploads/import/1c6f11c300224248bf919885f8545daf.nt +0 -259
  241. data/public/uploads/import/21d34b65ef0a8156111e845992fd004f.nt +0 -259
  242. data/public/uploads/import/2783fade523132942999836a74228d64.nt +0 -259
  243. data/public/uploads/import/2bc90e07e5c42e5f26a1607756cc0ab3.nt +0 -259
  244. data/public/uploads/import/2e4073a94eeae98095de9f43b5e5774a.nt +0 -259
  245. data/public/uploads/import/32548678e7d47b3e256590d6eef6fb03.nt +0 -259
  246. data/public/uploads/import/330e08c32fde94fb80f656346d1f8383.nt +0 -259
  247. data/public/uploads/import/337790be2663214e66066b1215fdd137.nt +0 -259
  248. data/public/uploads/import/34b77ff970ca71511fb4b224b7dadd1c.nt +0 -259
  249. data/public/uploads/import/38de0d3c9cba92e8a3c312e7e95e7ec1.nt +0 -259
  250. data/public/uploads/import/3981aa91cf22e26fbf6b1312b2bcdcc8.nt +0 -259
  251. data/public/uploads/import/3d01f84539a62ebe6f76124e8cdbbb23.nt +0 -259
  252. data/public/uploads/import/3d05bb72c3751da3830cf53e966283d4.nt +0 -259
  253. data/public/uploads/import/3e1d2f770bfe3c79a367780731536a3a.nt +0 -259
  254. data/public/uploads/import/3e41bd1875dc23401278c73bd12be881.nt +0 -259
  255. data/public/uploads/import/3f3e3dbb09c3df6bfaed261311de3e7d.nt +0 -259
  256. data/public/uploads/import/4297d9970e47be5ced4991a083032eb9.nt +0 -259
  257. data/public/uploads/import/5925186958bd537ad5e79e76e3a1f714.nt +0 -259
  258. data/public/uploads/import/5dc5dcd978db1c59ec074e9137f0109c.nt +0 -259
  259. data/public/uploads/import/5e46663e7e2eb92e5e8846d7c0f8e713.nt +0 -259
  260. data/public/uploads/import/70022a2a7e808000dc3d55529d203480.nt +0 -259
  261. data/public/uploads/import/70b32583acaca5843ac7dbdc2a89de99.nt +0 -259
  262. data/public/uploads/import/8030e54313e2c7231c4c30cd4145d576.nt +0 -259
  263. data/public/uploads/import/8bb6484a9eb0c3266274c08ad8500669.nt +0 -259
  264. data/public/uploads/import/90711ea002f6b7b4e5476e414e185603.nt +0 -259
  265. data/public/uploads/import/918a5fc2c8fcdbaddc2a02588d599dcf.nt +0 -259
  266. data/public/uploads/import/923f9ebccb7b0e9e9fafddc60750b989.nt +0 -259
  267. data/public/uploads/import/933e4e2baee4d91b8f7681fa4d2ad9fa.nt +0 -259
  268. data/public/uploads/import/93f642eacd966c98645345d2ccdf578d.nt +0 -259
  269. data/public/uploads/import/9a3d0f8d1872d4ba5dd281194ddea4a2.nt +0 -259
  270. data/public/uploads/import/9a3f1c9de8e734b7e1d969d07ea57a83.nt +0 -259
  271. data/public/uploads/import/9f91263fee5275ecbf303c7da0a9e84d.nt +0 -259
  272. data/public/uploads/import/9f9d6b4293be8def1b406156a3e2bcd9.nt +0 -259
  273. data/public/uploads/import/a230b36c3666a6b16fec6283e99b221f.nt +0 -259
  274. data/public/uploads/import/a51b35089dc096f0f1f5d5250edb8d5c.nt +0 -259
  275. data/public/uploads/import/a5265a00946627588ecdac317c061c6c.nt +0 -259
  276. data/public/uploads/import/a95b7d93b7483116ff13c894a46b5c1c.nt +0 -259
  277. data/public/uploads/import/b5e47ea582afb81341f7b7084cc17a06.nt +0 -259
  278. data/public/uploads/import/b826bcfad8f18294a425d65482c46033.nt +0 -259
  279. data/public/uploads/import/bcf18c9e4dbe72745f4ec2878a4b1690.nt +0 -259
  280. data/public/uploads/import/c32855cb4b3e8616db2ef3f5f9cb5ca7.nt +0 -259
  281. data/public/uploads/import/c8ee5bc696312468c4354bad6c583321.nt +0 -259
  282. data/public/uploads/import/cfc73574fe398be7ce684fbc17aa1bb7.nt +0 -259
  283. data/public/uploads/import/d2366992f6e9e4377d02fc691fc2d3d3.nt +0 -259
  284. data/public/uploads/import/dc14a0fa30c105a5770da2c960daaf29.nt +0 -259
  285. data/public/uploads/import/e9289f6f920cf44d0e81599410b39090.nt +0 -259
  286. data/public/uploads/import/ed1c212d4f320e414caacda7a7988f83.nt +0 -259
  287. data/public/uploads/import/ed460af60bf4d0884d37a86bb02411e7.nt +0 -259
  288. data/public/uploads/import/f17024adf37be768041307528e848bd6.nt +0 -259
  289. data/public/uploads/import/f2f6025f6de90ee4609c2928a817c51d.nt +0 -259
  290. data/public/uploads/import/f427507b1c208ddf69204ea5414e5d18.nt +0 -259
  291. data/public/uploads/import/ffce91887b3ac5b7319a80926ff310ef.nt +0 -259
  292. data/public/uploads/tmp/1417625624-7926-3861/hobbies.nt +0 -259
  293. data/public/uploads/tmp/1417625658-7975-5171/hobbies.nt +0 -259
  294. data/public/uploads/tmp/1418649743-7886-1510/hobbies.nt +0 -259
  295. data/public/uploads/tmp/1418653029-9019-1572/hobbies.nt +0 -259
  296. data/public/uploads/tmp/1418656093-9614-5971/hobbies.nt +0 -259
  297. data/public/uploads/tmp/1418659992-10218-8665/hobbies.nt +0 -259
  298. data/public/uploads/tmp/1418664440-11199-8740/hobbies.nt +0 -259
  299. data/public/uploads/tmp/1418665022-11430-9919/hobbies.nt +0 -259
  300. data/public/uploads/tmp/1418665225-11485-5805/hobbies.nt +0 -259
  301. data/public/uploads/tmp/1418665744-11777-4958/hobbies.nt +0 -259
  302. data/public/uploads/tmp/1418666103-11837-9818/hobbies.nt +0 -259
  303. data/public/uploads/tmp/1418666157-11880-9002/hobbies.nt +0 -259
  304. data/public/uploads/tmp/1418666292-11920-9076/hobbies.nt +0 -259
  305. data/public/uploads/tmp/1418666482-11968-5799/hobbies.nt +0 -259
  306. data/public/uploads/tmp/1418666589-12006-6137/hobbies.nt +0 -259
  307. data/public/uploads/tmp/1419417707-62741-8601/hobbies.nt +0 -259
  308. data/public/uploads/tmp/1419418501-62977-9798/hobbies.nt +0 -259
  309. data/public/uploads/tmp/1419419091-63178-5200/hobbies.nt +0 -259
  310. data/public/uploads/tmp/1419845421-37940-7338/hobbies.nt +0 -259
  311. data/public/uploads/tmp/1419872019-93309-7785/hobbies.nt +0 -259
  312. data/public/uploads/tmp/1419872459-93489-7475/hobbies.nt +0 -259
  313. data/public/uploads/tmp/1420204292-55473-2339/hobbies.nt +0 -259
  314. data/public/uploads/tmp/1420469113-94913-1977/hobbies.nt +0 -259
  315. data/public/uploads/tmp/1420469218-94957-7818/hobbies.nt +0 -259
  316. data/public/uploads/tmp/1420471310-95437-1840/hobbies.nt +0 -259
  317. data/public/uploads/tmp/1420475764-97681-5693/hobbies.nt +0 -259
  318. data/public/uploads/tmp/1420475937-97729-2119/hobbies.nt +0 -259
  319. data/public/uploads/tmp/1420476857-98058-7891/hobbies.nt +0 -259
  320. data/public/uploads/tmp/1420535851-99018-0174/hobbies.nt +0 -259
  321. data/public/uploads/tmp/1420536204-1785-0172/hobbies.nt +0 -259
  322. data/public/uploads/tmp/1420551687-4559-4581/hobbies.nt +0 -259
  323. data/public/uploads/tmp/1420553228-5060-8398/hobbies.nt +0 -259
  324. data/public/uploads/tmp/1420554138-5330-1218/hobbies.nt +0 -259
  325. data/public/uploads/tmp/1420623682-11549-0730/hobbies.nt +0 -259
  326. data/public/uploads/tmp/1420627830-12489-1669/hobbies.nt +0 -259
  327. data/public/uploads/tmp/1420643849-18200-3932/hobbies.nt +0 -259
  328. data/public/uploads/tmp/1420649772-21728-5542/hobbies.nt +0 -259
  329. data/public/uploads/tmp/1420708117-27095-8292/hobbies.nt +0 -259
  330. data/public/uploads/tmp/1420708387-27223-6774/hobbies.nt +0 -259
  331. data/public/uploads/tmp/1420708470-27267-7475/hobbies.nt +0 -259
  332. data/public/uploads/tmp/1420708517-27294-4695/hobbies.nt +0 -259
  333. data/public/uploads/tmp/1420708539-27319-1354/hobbies.nt +0 -259
  334. data/public/uploads/tmp/1420708586-27334-3786/hobbies.nt +0 -259
  335. data/public/uploads/tmp/1420708992-27418-8019/hobbies.nt +0 -259
  336. data/public/uploads/tmp/1420709221-27495-1252/hobbies.nt +0 -259
  337. data/public/uploads/tmp/1420709888-27667-9904/hobbies.nt +0 -259
  338. data/public/uploads/tmp/1420710092-27729-5735/hobbies.nt +0 -259
  339. data/public/uploads/tmp/1420710448-27814-7190/hobbies.nt +0 -259
  340. data/public/uploads/tmp/1420710886-27909-4558/hobbies.nt +0 -259
  341. data/public/uploads/tmp/1420711474-28046-6914/hobbies.nt +0 -259
  342. data/public/uploads/tmp/1420711601-28081-0714/hobbies.nt +0 -259
  343. data/public/uploads/tmp/1420711904-28153-8591/hobbies.nt +0 -259
  344. data/public/uploads/tmp/1420712160-28240-2054/hobbies.nt +0 -259
  345. data/public/uploads/tmp/1420712349-28303-3685/hobbies.nt +0 -259
  346. data/public/uploads/tmp/1420712756-28475-0893/hobbies.nt +0 -259
  347. data/public/uploads/tmp/1420712995-28567-4743/hobbies.nt +0 -259
  348. data/public/uploads/tmp/1420722946-31448-5312/hobbies.nt +0 -259
  349. data/public/uploads/tmp/1420723021-31498-6069/hobbies.nt +0 -259
  350. data/public/uploads/tmp/1420723172-31541-4390/hobbies.nt +0 -259
  351. 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.0.10'
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', '0.2.7'
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
- abstract (1.0.0)
5
- actionmailer (3.0.10)
6
- actionpack (= 3.0.10)
7
- mail (~> 2.2.19)
8
- actionpack (3.0.10)
9
- activemodel (= 3.0.10)
10
- activesupport (= 3.0.10)
11
- builder (~> 2.1.2)
12
- erubis (~> 2.6.6)
13
- i18n (~> 0.5.0)
14
- rack (~> 1.2.1)
15
- rack-mount (~> 0.6.14)
16
- rack-test (~> 0.5.7)
17
- tzinfo (~> 0.3.23)
18
- activemodel (3.0.10)
19
- activesupport (= 3.0.10)
20
- builder (~> 2.1.2)
21
- i18n (~> 0.5.0)
22
- activerecord (3.0.10)
23
- activemodel (= 3.0.10)
24
- activesupport (= 3.0.10)
25
- arel (~> 2.0.10)
26
- tzinfo (~> 0.3.23)
27
- activerecord-jdbc-adapter (1.2.0)
28
- activerecord-jdbcmysql-adapter (1.2.0)
29
- activerecord-jdbc-adapter (~> 1.2.0)
30
- jdbc-mysql (~> 5.1.0)
31
- activerecord-jdbcsqlite3-adapter (1.2.0)
32
- activerecord-jdbc-adapter (~> 1.2.0)
33
- jdbc-sqlite3 (~> 3.7.2)
34
- activerecord-oracle_enhanced-adapter (1.4.0)
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.4.0)
45
- builder (2.1.2)
46
- cancan (1.6.5)
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.0.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.6.1)
63
- capybara (~> 1.0.0)
64
- childprocess (0.2.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.6.7)
67
- erubis (2.6.6)
68
- abstract (>= 1.0.0)
69
- factory_girl (2.1.0)
70
- factory_girl_rails (1.2.0)
71
- factory_girl (~> 2.1.0)
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.9)
74
- ffi (1.0.9-java)
75
- highline (1.6.2)
76
- i18n (0.5.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
- jdbc-mysql (5.1.13)
81
- jdbc-sqlite3 (3.7.2)
82
- json (1.6.1)
83
- json (1.6.1-java)
84
- json_pure (1.6.1)
85
- kaminari (0.12.4)
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.16)
94
- mysql2 (0.2.7)
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.1)
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
- nokogiri (1.5.0-java)
104
- polyglot (0.3.2)
105
- rack (1.2.4)
106
- rack-mount (0.6.14)
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-test (0.5.7)
102
+ rack-ssl (1.3.2)
103
+ rack
104
+ rack-test (0.6.1)
109
105
  rack (>= 1.0)
110
- rails (3.0.10)
111
- actionmailer (= 3.0.10)
112
- actionpack (= 3.0.10)
113
- activerecord (= 3.0.10)
114
- activeresource (= 3.0.10)
115
- activesupport (= 3.0.10)
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.0.10)
118
- rails_helpers_fix (0.1.1)
119
- railties (3.0.10)
120
- actionpack (= 3.0.10)
121
- activesupport (= 3.0.10)
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.4)
125
- rake (0.9.2)
126
- rdoc (3.9.4)
127
- rubyzip (0.9.4)
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.6.0)
130
- childprocess (>= 0.2.1)
131
- ffi (>= 1.0.7)
132
- json_pure
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
- sqlite3 (1.3.4)
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.2)
140
- ansi (>= 1.2.2)
141
- tzinfo (0.3.29)
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 (~> 0.0.15)
168
+ iq_rdf
163
169
  json
164
170
  kaminari
165
171
  memory_test_fix
166
- mysql2 (= 0.2.7)
167
- nokogiri (= 1.5.0)
168
- rails (= 3.0.10)
169
- rails_helpers_fix
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
@@ -0,0 +1,7 @@
1
+ //= require jquery-1.7.1
2
+ //= require rails
3
+ //= require jquery-ui-1.8.16.custom
4
+ //= require jquery-ui.datepicker-de
5
+ //= require jquery.treeview
6
+ //= require jquery.treeview.async
7
+ //= require storage
@@ -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="/images/iqvoc/spinner.gif" class="hidden" />');
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, IQVOC */
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() + " &#9660;";
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
+
@@ -0,0 +1,3 @@
1
+ //= require iqvoc/iqvoc
2
+ //= require iqvoc/langselect
3
+ //= require iqvoc/entityselect
@@ -0,0 +1,2 @@
1
+ //= require framework
2
+ //= require iqvoc/manifest
@@ -0,0 +1,4 @@
1
+ /*
2
+ *= require jquery.treeview
3
+ *= require jquery-ui-1.8.16.custom
4
+ */
@@ -63,7 +63,7 @@ form.form textarea {
63
63
  }
64
64
 
65
65
  form.form span.fieldWithErrors {
66
- background: url("../../images/iqvoc/red_arrow.png");
66
+ background: url(<%= asset_data_uri 'red_arrow.png' %>);
67
67
  width: 20px;
68
68
  height: 20px;
69
69
  display: inline-block;
@@ -0,0 +1,6 @@
1
+ /* Internet Explorer Bugfixes */
2
+
3
+ .sections .entity_list li.last-child:after,
4
+ .relation-body .entity_list li.last-child:after {
5
+ content: "";
6
+ }
@@ -4,7 +4,7 @@
4
4
  #header {
5
5
  height: 85px;
6
6
  padding: 9px 1em 1em 160px;
7
- background: url('../../images/iqvoc/header_long.png') no-repeat;
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('images/back.png') 0 50% no-repeat;
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('../../images/iqvoc/footer.png') no-repeat top right;
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;
@@ -0,0 +1,5 @@
1
+ /*
2
+ *= require iqvoc/iqvoc
3
+ *= require iqvoc/forms
4
+ *= require iqvoc/widgets
5
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ *= require framework
3
+ *= require iqvoc/manifest
4
+ */
@@ -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
- Iqvoc::Collection.base_class.send(:preload_associations, @collections, [:subcollections])
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
- Iqvoc::Collection.base_class.send(:preload_associations, @collection, [:pref_labels, {:subcollections => [:pref_labels, :subcollections]}, {:concepts => [:pref_labels] + Iqvoc::Concept.base_class.default_includes}])
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
- Iqvoc::Collection.base_class.send(:preload_associations, @collection, [:pref_labels, {:subcollections => :pref_labels}, {:concepts => [:pref_labels] + Iqvoc::Concept.base_class.default_includes}])
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