iqvoc 4.4.0 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/app/assets/javascripts/framework.js +1 -2
  4. data/app/assets/javascripts/iqvoc/iqvoc.js +2 -15
  5. data/app/assets/javascripts/iqvoc/manifest.js +1 -0
  6. data/app/assets/javascripts/iqvoc/treeview.js +218 -0
  7. data/app/assets/stylesheets/framework.css.scss +0 -1
  8. data/app/assets/stylesheets/iqvoc/components/_components.css.scss +5 -6
  9. data/app/assets/stylesheets/iqvoc/components/_treeview.css.scss.erb +119 -0
  10. data/app/assets/stylesheets/iqvoc/manifest.css.scss +1 -0
  11. data/app/concerns/versioning.rb +60 -47
  12. data/app/controllers/concepts/hierarchical_controller.rb +14 -6
  13. data/app/controllers/concepts_controller.rb +72 -7
  14. data/app/helpers/application_helper.rb +5 -0
  15. data/app/helpers/concepts_helper.rb +2 -2
  16. data/app/models/concept/relation/base.rb +15 -5
  17. data/app/models/concept/skos/scheme.rb +10 -0
  18. data/app/views/concepts/hierarchical/_treeview.html.erb +22 -9
  19. data/app/views/concepts/hierarchical/index.html.erb +5 -1
  20. data/app/views/concepts/notifications/_referenced_concepts.html.erb +1 -1
  21. data/app/views/concepts/scheme/show.html.erb +1 -1
  22. data/app/views/concepts/sidebars/_plural.html.erb +8 -2
  23. data/app/views/imports/index.html.erb +7 -4
  24. data/app/views/partials/concept/relation/skos/_narrower.html.erb +5 -1
  25. data/app/views/user_sessions/_form.html.erb +1 -1
  26. data/config/database.yml +5 -10
  27. data/config/initializers/secret_token.rb +1 -1
  28. data/config/locales/de.yml +3 -0
  29. data/config/locales/en.yml +3 -0
  30. data/config/routes.rb +2 -0
  31. data/db/schema.rb +137 -137
  32. data/iqvoc.gemspec +2 -2
  33. data/lib/iqvoc/controller_extensions.rb +9 -0
  34. data/lib/iqvoc/version.rb +1 -1
  35. data/public/export/{10110.nt → 11675.nt} +0 -0
  36. data/public/export/{10528.nt → 12378.nt} +0 -0
  37. data/public/export/{11105.nt → 13928.nt} +0 -0
  38. data/public/export/{11353.nt → 14233.nt} +0 -0
  39. data/public/export/{11790.nt → 15471.nt} +0 -0
  40. data/public/export/{1385.nt → 16691.nt} +0 -0
  41. data/public/export/180238082990743925532091752298210254386.ttl +470 -0
  42. data/public/export/{15083.nt → 18316.nt} +0 -0
  43. data/public/export/{16538.nt → 18336.nt} +0 -0
  44. data/public/export/{1879.nt → 19728.nt} +0 -0
  45. data/public/export/{19834.nt → 20118.nt} +0 -0
  46. data/public/export/{21183.nt → 20817.nt} +0 -0
  47. data/public/export/{21512.nt → 21021.nt} +0 -0
  48. data/public/export/{22034.nt → 21039.nt} +0 -0
  49. data/public/export/{2434.nt → 21966.nt} +0 -0
  50. data/public/export/{24841.nt → 22148.nt} +0 -0
  51. data/public/export/{12931.nt → 25252.nt} +0 -0
  52. data/public/export/{26109.nt → 27018.nt} +0 -0
  53. data/public/export/{27784.nt → 27593.nt} +0 -0
  54. data/public/export/{28422.nt → 30422.nt} +0 -0
  55. data/public/export/{28627.nt → 31379.nt} +0 -0
  56. data/public/export/{29185.nt → 31999.nt} +0 -0
  57. data/public/export/{30124.nt → 32249.nt} +0 -0
  58. data/public/export/{31250.nt → 33102.nt} +0 -0
  59. data/public/export/{31272.nt → 35009.nt} +0 -0
  60. data/public/export/{31875.nt → 37470.nt} +0 -0
  61. data/public/export/{32197.nt → 38228.nt} +0 -0
  62. data/public/export/{3118.nt → 38776.nt} +0 -0
  63. data/public/export/{32223.nt → 4327.nt} +0 -0
  64. data/public/export/{32324.nt → 44072.nt} +0 -0
  65. data/public/export/{33084.nt → 44188.nt} +0 -0
  66. data/public/export/{33257.nt → 44373.nt} +0 -0
  67. data/public/export/{33545.nt → 45748.nt} +0 -0
  68. data/public/export/{34179.nt → 46455.nt} +0 -0
  69. data/public/export/{35271.nt → 46500.nt} +0 -0
  70. data/public/export/{36234.nt → 47766.nt} +0 -0
  71. data/public/export/{36363.nt → 47860.nt} +0 -0
  72. data/public/export/{36559.nt → 49334.nt} +0 -0
  73. data/public/export/{37333.nt → 5014.nt} +0 -0
  74. data/public/export/{38332.nt → 50228.nt} +0 -0
  75. data/public/export/{38461.nt → 51194.nt} +0 -0
  76. data/public/export/{38721.nt → 53315.nt} +0 -0
  77. data/public/export/{39469.nt → 53780.nt} +0 -0
  78. data/public/export/{40637.nt → 53933.nt} +0 -0
  79. data/public/export/{40746.nt → 54514.nt} +0 -0
  80. data/public/export/{4297.nt → 54628.nt} +0 -0
  81. data/public/export/{43236.nt → 5529.nt} +0 -0
  82. data/public/export/{43644.nt → 55499.nt} +0 -0
  83. data/public/export/{45021.nt → 56400.nt} +0 -0
  84. data/public/export/{45552.nt → 56918.nt} +0 -0
  85. data/public/export/{46172.nt → 56928.nt} +0 -0
  86. data/public/export/{46739.nt → 58349.nt} +0 -0
  87. data/public/export/{4929.nt → 58850.nt} +0 -0
  88. data/public/export/{50335.nt → 61125.nt} +0 -0
  89. data/public/export/{51428.nt → 64061.nt} +0 -0
  90. data/public/export/{51494.nt → 64176.nt} +0 -0
  91. data/public/export/{5359.nt → 64631.nt} +0 -0
  92. data/public/export/{53989.nt → 64716.nt} +0 -0
  93. data/public/export/{54563.nt → 64866.nt} +0 -0
  94. data/public/export/{54634.nt → 6956.nt} +0 -0
  95. data/public/export/iqvoc_dump-2014-05-21_10-57.ttl +457 -0
  96. data/public/export/iqvoc_dump-2014-05-21_10-58.nt +445 -0
  97. data/public/uploads/import/{01cb889ac483ce809435db5e37d01010.nt → 0a196a06d3070f1a3c8945543c7b50c9.nt} +0 -0
  98. data/public/uploads/import/{05c5e3cc92a18a3ce176065485caafeb.nt → 130dc4f9fa8abeb11ec1f6b58dcd328b.nt} +0 -0
  99. data/public/uploads/import/1326b6cb32770c5cda8307fb89ec95df.nt +260 -0
  100. data/public/uploads/import/{0d199979d7a157c89b517b0121f220de.nt → 16cc058f85d9d1f68d1d01dc1d828bfd.nt} +0 -0
  101. data/public/uploads/import/{1146b2566f01d412f53aefb921b8abf6.nt → 182c3304c71b88045df31677a33fae87.nt} +0 -0
  102. data/public/uploads/import/{12f08c2e20a05620666d39cabb148b90.nt → 19a09865f0f7f4b5f21b2e95b874a4ef.nt} +0 -0
  103. data/public/uploads/import/{136c72e86af49d44b885c609a97050e5.nt → 23825e7ae3e36cdcffa540b108d6162d.nt} +0 -0
  104. data/public/uploads/import/{1406b0ff2e1b68d38bdafe54a54e7981.nt → 28ae19af26643a34ca902ddd18ccbd6a.nt} +0 -0
  105. data/public/uploads/import/{142764b92a63f20feb0e6d1398517394.nt → 2b79db4bb7339fe5a572cf631f83c4b2.nt} +0 -0
  106. data/public/uploads/import/{1618cd8f36abb0d25d5cee9eef4162dd.nt → 30fac98c95c34b3711b4ab299b9aa0a7.nt} +0 -0
  107. data/public/uploads/import/{1838327ebac2c062a9036e0187d8c607.nt → 3a1d917725f09b076f16e7ca96afd740.nt} +0 -0
  108. data/public/uploads/import/{1be9a54bb74a467fbd6321190e10a23b.nt → 410b1af4b92ee575a5880a32e372ad4f.nt} +0 -0
  109. data/public/uploads/import/{0a539be7eb44e0aa1f4eebe485e67d32.nt → 420dd350f5f168db9819f5615e7771c0.nt} +0 -0
  110. data/public/uploads/import/{1eb3eabccf76ddb2a6bba92eac8b84b9.nt → 4370ea02aa094a56863382095c0e7187.nt} +0 -0
  111. data/public/uploads/import/{1f147a50c4203690ea4b1ac66f748537.nt → 45be2ea3017c3cb7e1d6b42e4020136e.nt} +0 -0
  112. data/public/uploads/import/{22be1db3763deeafb6e9bdc8af7de52f.nt → 46882dfcda4a4e3977f9a018d3cf66ce.nt} +0 -0
  113. data/public/uploads/import/{24ed4b1b10f4c9facb797d8055f3cc59.nt → 4c2125ce64bd257bf4b5dc7bb603d5dc.nt} +0 -0
  114. data/public/uploads/import/{25634d3f1c727c79e47104d45a169d22.nt → 555854f47dac3eb9cf211fd3becd8612.nt} +0 -0
  115. data/public/uploads/import/{0ceccdec88406d5de2f9c91d6c32bd63.nt → 58a9c7ca4d1538a8ada0f66aafaf291c.nt} +0 -0
  116. data/public/uploads/import/{25eb335ad83136428eedfd427409f5bb.nt → 58ae97ef1c7d1ed92caf54d6116a0d5b.nt} +0 -0
  117. data/public/uploads/import/{283e799cc2342cf33550a1668e760021.nt → 5a2e5f1e93cd5d27f3f5c1b9a9bbdce7.nt} +0 -0
  118. data/public/uploads/import/{28848fff43a56cba0924478a015e4c8e.nt → 5b9ba35d13ab6f57d341dfc6b862ec8e.nt} +0 -0
  119. data/public/uploads/import/{2b0de64784aa4f574c74bd7a5ca67e81.nt → 607cb5e807c6b40cca7a95f9ae755cf6.nt} +0 -0
  120. data/public/uploads/import/{2be31e7e2493319f9cb7e210eabb84b6.nt → 699f14f838ccc381ebd47c3c50fd4a3e.nt} +0 -0
  121. data/public/uploads/import/{3025f07688ed08e81c430eed8e5e2b2c.nt → 6a491b96f717e4e71eca8c4f03d45829.nt} +0 -0
  122. data/public/uploads/import/{3062df55d07d30a0db0b00fc59a066ef.nt → 6e2243068ebab9d2643b073916f95988.nt} +0 -0
  123. data/public/uploads/import/{35901d7daa6f90eb09b508eab2f19f97.nt → 7500be0de2d7d5a134d1196b45d44162.nt} +0 -0
  124. data/public/uploads/import/{3a39842a235c47d341390bb5ff76b013.nt → 7cc1fdc8146d7a7f4c62cd0fdb649665.nt} +0 -0
  125. data/public/uploads/import/{4217de34967f03696a2d1c4ec832b395.nt → 7ef390c5f24d4edcc052f4715670d9c7.nt} +0 -0
  126. data/public/uploads/import/{432a521429991340c75d39069672f200.nt → 8101cd106dc1e723a2598422d65cc52c.nt} +0 -0
  127. data/public/uploads/import/{0d1cb3a3c90c406735065c39ccf36882.nt → 8d131dd08127109c594d19309fb79569.nt} +0 -0
  128. data/public/uploads/import/{44f43bafabc21e6a080bb820b86c8efa.nt → 8ee3768e65e09cf20576270576e1449c.nt} +0 -0
  129. data/public/uploads/import/{4910bf38577bcef7ca835225a22d04cf.nt → 906595928ece6a9279bc8ffeadce250e.nt} +0 -0
  130. data/public/uploads/import/{4a1092bfdd2c3e6cd684d00f2ebb48a0.nt → 912725f40116f4a53c4029c33f43e5be.nt} +0 -0
  131. data/public/uploads/import/{4a924fe4d94485b794a0ac4ae2dbe7b2.nt → 932b712423b14c110fa43b3bad9f0aa9.nt} +0 -0
  132. data/public/uploads/import/{4d8c90b9e5b7a06e40dc9b426f19d762.nt → 970eda95c403ceb162943d694a83bc90.nt} +0 -0
  133. data/public/uploads/import/{503e198ce4ec0e311db1d06fc2b6962a.nt → 9764d02bf8bd44cc49111dff48fe471a.nt} +0 -0
  134. data/public/uploads/import/{51fcfdd1ba9e57f7afd8bfb3135b18be.nt → 97bc2cca1e89efa7046153293e826bc0.nt} +0 -0
  135. data/public/uploads/import/{525b24358e3b1a5afd18bbbe930bcb35.nt → 99a84702352ceab4b6c116294c459214.nt} +0 -0
  136. data/public/uploads/import/{542a2a3b0a62b9599922a67a5085c625.nt → 9abee9b0456c46ca0da883ee118840b3.nt} +0 -0
  137. data/public/uploads/import/{5572705385339b834e975f5d7f26f89a.nt → 9b9fb94bc6896028347510fb6c127258.nt} +0 -0
  138. data/public/uploads/import/{28a2a5974b1eed79e85d92046fe58d22.nt → a0ff7e4bc10cb30de16334f85a594ee6.nt} +0 -0
  139. data/public/uploads/import/{56aafaf5adcdd148722aeaf0b37a2ba3.nt → a21c2828241073241a23ff51783bb94a.nt} +0 -0
  140. data/public/uploads/import/{59b6122c9a524891ae8dadf34e04f925.nt → a24b5b72713423e964b73545bec1d38c.nt} +0 -0
  141. data/public/uploads/import/{5d4578b7bb3e3f2067f354be5b68d08f.nt → a30fa12f7c61642a94077b41a54cff93.nt} +0 -0
  142. data/public/uploads/import/a5a2ff38cd07078a3a8932bcf4e47fc4.nt +260 -0
  143. data/public/uploads/import/{296bea9c560bb915222cb892124c9bab.nt → a9e8888606ce487aca224f8f7b27e83a.nt} +0 -0
  144. data/public/uploads/import/{645eb1a598ae7003b45b29176587088b.nt → ade1b9fb83a3027bb40ac7d62a6d9ef9.nt} +0 -0
  145. data/public/uploads/import/{64cea1620f460841301aa57d23e6223c.nt → b8e2c68c1c5c850dc1147c8f19c6218f.nt} +0 -0
  146. data/public/uploads/import/{6bee752d1b71422389551999e1c29af9.nt → b9e012058e4c34e18ab8890203d4b013.nt} +0 -0
  147. data/public/uploads/import/{6c03e1aa271ca4613340130d16722850.nt → c63eb6926fdc889768f20ef082d43148.nt} +0 -0
  148. data/public/uploads/import/{6d829ce927bca0d0291d3ca94c87d47d.nt → c72f93d3a3330c8c87566ef93c616a99.nt} +0 -0
  149. data/public/uploads/import/{2ac22cf493b3991b6524e7bf7c9c9483.nt → c8966a0221ecbc33e827c285db50b731.nt} +0 -0
  150. data/public/uploads/import/{7019eec0ddbd6deccfa69f564e03007d.nt → c99ba72a7425eba3fadb2c1b0a460cd9.nt} +0 -0
  151. data/public/uploads/import/{70dcaf9bcb39a21172db26e20ef3abb1.nt → d2f5fe4de6c1ddc71187f0d13b07b088.nt} +0 -0
  152. data/public/uploads/import/{7c7f872865d77373f4e5d12d3b46c6d1.nt → d4caf6d797b1c0d4aea497aa4ca9a0e2.nt} +0 -0
  153. data/public/uploads/import/{7e2154e0fb9ecfa38d7d1791ba1f91e2.nt → db4eaaa2353dfe380b3ca1bd86506f7b.nt} +0 -0
  154. data/public/uploads/import/{7f5864cd2bb3608a478b6cacf213b6ef.nt → dfebb7929fbda930719a7e23f11db6ca.nt} +0 -0
  155. data/public/uploads/import/{7fd575d1e51e867294cc3c55dd7b86d3.nt → e6beda7fa6c2fa582581a1885d5e6922.nt} +0 -0
  156. data/public/uploads/import/{81e614eb844d0a6e07724df0e0a391af.nt → efbefa10108a047fc471d32a6b12b4f7.nt} +0 -0
  157. data/public/uploads/import/{2f7a5213d7e134237b69cbdc9c8e0985.nt → f0284471f4014e8fd5119852d4d4d679.nt} +0 -0
  158. data/public/uploads/import/{8635fc73b0ad52e5531f6542cf73aab0.nt → f5ecff98370466cafe19a5c8de986888.nt} +0 -0
  159. data/public/uploads/import/{87e8ab3b30135925cd296a4f105fdf28.nt → f9c20e1974cfb7f646caa7529bd40b18.nt} +0 -0
  160. data/public/uploads/import/{88f3ede5c716bcdc9ac4b16361f6014c.nt → ff8caa734bf94f7f7bb710d293433cc4.nt} +0 -0
  161. data/public/uploads/tmp/{1399391854-10068-6618 → 1400136441-8909-1864}/hobbies.nt +0 -0
  162. data/public/uploads/tmp/{1399391911-10213-8446 → 1400136457-8954-9980}/hobbies.nt +0 -0
  163. data/public/uploads/tmp/{1399392015-10496-2495 → 1400136538-9106-0637}/hobbies.nt +0 -0
  164. data/public/uploads/tmp/{1399465936-82819-2227 → 1400155776-22890-8133}/hobbies.nt +0 -0
  165. data/public/uploads/tmp/{1399562287-11058-4844 → 1400156580-24010-0098}/hobbies.nt +0 -0
  166. data/public/uploads/tmp/{1399562349-11220-5006 → 1400575004-53088-8128}/hobbies.nt +0 -0
  167. data/public/uploads/tmp/1400664724-92335-7096/hobbies.nt +260 -0
  168. data/public/uploads/tmp/1400664807-92408-6915/hobbies.nt +260 -0
  169. data/public/uploads/tmp/{1400683232-10539-5676 → 1400665873-95353-8270}/hobbies.nt +0 -0
  170. data/public/uploads/tmp/{1400683420-10634-8312 → 1400683850-3037-4034}/hobbies.nt +0 -0
  171. data/public/uploads/tmp/{1400683468-10666-6540 → 1400686016-3800-6238}/hobbies.nt +0 -0
  172. data/public/uploads/tmp/{1400684714-11424-9829 → 1400686448-4179-9946}/hobbies.nt +0 -0
  173. data/public/uploads/tmp/{1400846672-62648-9413 → 1400686559-4219-0427}/hobbies.nt +0 -0
  174. data/public/uploads/tmp/{1400846766-62697-7073 → 1400686598-4240-9258}/hobbies.nt +0 -0
  175. data/public/uploads/tmp/{1401180379-3162-2871 → 1400686723-4290-5978}/hobbies.nt +0 -0
  176. data/public/uploads/tmp/{1401185202-4377-2768 → 1401257122-7735-8414}/hobbies.nt +0 -0
  177. data/public/uploads/tmp/{1401192012-6573-2832 → 1401258388-8294-1832}/hobbies.nt +0 -0
  178. data/public/uploads/tmp/{1401194508-7699-9522 → 1401258461-8320-6936}/hobbies.nt +0 -0
  179. data/public/uploads/tmp/{1401194627-7742-0813 → 1401802495-9554-8946}/hobbies.nt +0 -0
  180. data/public/uploads/tmp/{1401194954-7841-9994 → 1401873631-14485-9619}/hobbies.nt +0 -0
  181. data/public/uploads/tmp/{1401195326-7932-3790 → 1401901913-25054-7929}/hobbies.nt +0 -0
  182. data/public/uploads/tmp/{1401206318-10643-2808 → 1401901971-25132-6654}/hobbies.nt +0 -0
  183. data/public/uploads/tmp/{1401292131-92601-6112 → 1401902595-26069-7978}/hobbies.nt +0 -0
  184. data/public/uploads/tmp/{1401292181-92670-8615 → 1401902753-26355-3620}/hobbies.nt +0 -0
  185. data/public/uploads/tmp/{1401292252-92839-0886 → 1401902841-26526-6201}/hobbies.nt +0 -0
  186. data/public/uploads/tmp/{1401292294-92900-5587 → 1401902924-26767-2345}/hobbies.nt +0 -0
  187. data/public/uploads/tmp/{1401292390-92976-9639 → 1401951168-31767-8671}/hobbies.nt +0 -0
  188. data/public/uploads/tmp/{1401701949-3140-4347 → 1402039970-20044-5832}/hobbies.nt +0 -0
  189. data/public/uploads/tmp/{1401702355-40904-9058 → 1402040206-20373-9283}/hobbies.nt +0 -0
  190. data/public/uploads/tmp/{1401702361-40926-1371 → 1402040781-21399-3672}/hobbies.nt +0 -0
  191. data/public/uploads/tmp/{1401702406-40992-5615 → 1402403722-54150-0143}/hobbies.nt +0 -0
  192. data/public/uploads/tmp/{1401702475-41050-2716 → 1402904030-3645-4762}/hobbies.nt +0 -0
  193. data/public/uploads/tmp/{1401702625-41136-3304 → 1402909552-7277-1590}/hobbies.nt +0 -0
  194. data/public/uploads/tmp/{1401702771-41202-1777 → 1403085398-22253-1966}/hobbies.nt +0 -0
  195. data/public/uploads/tmp/{1401704263-41803-0906 → 1403086253-23163-6328}/hobbies.nt +0 -0
  196. data/public/uploads/tmp/{1401704312-41845-2277 → 1403092843-25514-4894}/hobbies.nt +0 -0
  197. data/public/uploads/tmp/{1401704455-41906-3348 → 1403107450-31294-9405}/hobbies.nt +0 -0
  198. data/public/uploads/tmp/{1401704517-41941-3825 → 1403246567-40664-7567}/hobbies.nt +0 -0
  199. data/public/uploads/tmp/{1401704557-42078-2926 → 1403246819-40874-6180}/hobbies.nt +0 -0
  200. data/public/uploads/tmp/{1401704659-42140-2026 → 1403246926-40970-5820}/hobbies.nt +0 -0
  201. data/public/uploads/tmp/{1401704727-42194-2926 → 1403246969-41016-9015}/hobbies.nt +0 -0
  202. data/public/uploads/tmp/{1401704810-42233-0719 → 1403247007-41106-1107}/hobbies.nt +0 -0
  203. data/public/uploads/tmp/{1401704877-42346-6423 → 1405499354-16678-0536}/hobbies.nt +0 -0
  204. data/public/uploads/tmp/{1401704969-42396-2636 → 1405507965-18359-1136}/hobbies.nt +0 -0
  205. data/public/uploads/tmp/{1401706200-42741-9489 → 1405665751-36134-1680}/hobbies.nt +0 -0
  206. data/public/uploads/tmp/{1401706505-42885-6630 → 1405666008-36190-0640}/hobbies.nt +0 -0
  207. data/public/uploads/tmp/{1401706579-42925-3938 → 1405666068-36238-4803}/hobbies.nt +0 -0
  208. data/public/uploads/tmp/{1401706998-43068-7269 → 1405666124-36304-9496}/hobbies.nt +0 -0
  209. data/public/uploads/tmp/{1401707073-43147-4480 → 1405666623-36363-4960}/hobbies.nt +0 -0
  210. data/public/uploads/tmp/{1401707148-43190-8990 → 1405668160-53225-8420}/hobbies.nt +0 -0
  211. data/public/uploads/tmp/{1401707185-43233-6339 → 1405668259-53254-3943}/hobbies.nt +0 -0
  212. data/public/uploads/tmp/{1401707525-43306-5760 → 1405950788-70170-9817}/hobbies.nt +0 -0
  213. data/public/uploads/tmp/{1401716194-45552-4247 → 1406035464-78105-0726}/hobbies.nt +0 -0
  214. data/public/uploads/tmp/{1401716269-45634-6256 → 1406037081-78776-6363}/hobbies.nt +0 -0
  215. data/public/uploads/tmp/{1401716431-45713-6690 → 1406102345-80502-3431}/hobbies.nt +0 -0
  216. data/public/uploads/tmp/{1401717803-46392-3771 → 1406104079-81087-0096}/hobbies.nt +0 -0
  217. data/public/uploads/tmp/{1401717970-46482-3771 → 1406107061-82344-3430}/hobbies.nt +0 -0
  218. data/public/uploads/tmp/{1401719163-46906-3771 → 1406187436-86466-6421}/hobbies.nt +0 -0
  219. data/public/uploads/tmp/{1401719307-46967-3771 → 1406207261-97327-1775}/hobbies.nt +0 -0
  220. data/public/uploads/tmp/{1401719376-47013-3771 → 1406207477-97714-7976}/hobbies.nt +0 -0
  221. data/public/uploads/tmp/{1401719630-47114-3771 → 1406207785-98095-9895}/hobbies.nt +0 -0
  222. data/public/uploads/tmp/{1401719982-47199-3873 → 1406210125-425-7547}/hobbies.nt +0 -0
  223. data/test/controllers/concepts_controller_test.rb +219 -0
  224. data/test/controllers/hierarchy_test.rb +2 -2
  225. data/test/controllers/rdf_rendering_test.rb +0 -3
  226. data/test/integration/client_augmentation_test.rb +1 -1
  227. data/vendor/assets/javascripts/tree.jquery.js +3046 -0
  228. metadata +198 -331
  229. data/public/export/305768326302831570152374795088739069204.nt +0 -447
  230. data/public/export/34582.nt +0 -1
  231. data/public/export/35426.nt +0 -36
  232. data/public/export/45120.nt +0 -1
  233. data/public/export/51877.nt +0 -1
  234. data/public/export/54759.nt +0 -28
  235. data/public/export/54895.nt +0 -28
  236. data/public/export/55279.nt +0 -28
  237. data/public/export/5567.nt +0 -28
  238. data/public/export/57502.nt +0 -28
  239. data/public/export/58015.nt +0 -28
  240. data/public/export/58964.nt +0 -28
  241. data/public/export/60674.nt +0 -28
  242. data/public/export/61265.nt +0 -28
  243. data/public/export/61895.nt +0 -28
  244. data/public/export/62372.nt +0 -28
  245. data/public/export/62469.nt +0 -28
  246. data/public/export/62880.nt +0 -28
  247. data/public/export/63673.nt +0 -28
  248. data/public/export/64151.nt +0 -28
  249. data/public/export/64891.nt +0 -28
  250. data/public/export/7089.nt +0 -28
  251. data/public/export/7365.nt +0 -28
  252. data/public/export/7473.nt +0 -28
  253. data/public/export/7939.nt +0 -28
  254. data/public/export/8509.nt +0 -28
  255. data/public/export/9370.nt +0 -28
  256. data/public/export/9600.nt +0 -28
  257. data/public/uploads/import/35943ba240eb26dc43092746316a666a.nt +0 -260
  258. data/public/uploads/import/4410370b7349278a941ec73edc506afb.nt +0 -260
  259. data/public/uploads/import/4ab869eeeec7deaf5840548196350ffe.nt +0 -260
  260. data/public/uploads/import/4f884498309031e9a3b75c5d7c59b353.nt +0 -260
  261. data/public/uploads/import/7d630e4ae70fcdef7a26a5f54be1c87d.nt +0 -260
  262. data/public/uploads/import/8a09903d5ce62375eb315fb5a28cfb1e.nt +0 -259
  263. data/public/uploads/import/8dd67edd0888cc10c181b0cb13f114a5.nt +0 -260
  264. data/public/uploads/import/945e467cd3b86903a712322622403350.nt +0 -259
  265. data/public/uploads/import/947fc847742818ad2f8946150fa68280.nt +0 -259
  266. data/public/uploads/import/9668f439f7429886747a4981c53d2f7b.nt +0 -259
  267. data/public/uploads/import/97bf213b1827e1b3fe4a93f660cd297b.nt +0 -260
  268. data/public/uploads/import/9cc1c8c8530900bb42723b35a85c997a.nt +0 -260
  269. data/public/uploads/import/a34ebe5f52348d8e0690efbbd7dbb29b.nt +0 -259
  270. data/public/uploads/import/a6362a3aa7b0154ee5881aa4e97e4fc1.nt +0 -259
  271. data/public/uploads/import/acfb67a494ba87573b3cdd7997c7aba2.nt +0 -259
  272. data/public/uploads/import/ae888974bc1697ae1949a95dbcaa104b.nt +0 -259
  273. data/public/uploads/import/b238195b0159fd1aca793e33ea179b1d.nt +0 -259
  274. data/public/uploads/import/b36159aad53d09f5e6ca12e0dcea000c.nt +0 -259
  275. data/public/uploads/import/b42cf56722b79ef7e6730d19130d9dfd.nt +0 -259
  276. data/public/uploads/import/b54ffcb43a4c939b339fca358223177d.nt +0 -260
  277. data/public/uploads/import/bc140bce0ab1818edd55350b793eb36c.nt +0 -259
  278. data/public/uploads/import/bdfe458413c233f7c2e96041b8c2aa9d.nt +0 -259
  279. data/public/uploads/import/bf0168c5d5f472442707ff76115480b0.nt +0 -259
  280. data/public/uploads/import/c0479e6569a5cbd8fc74702c165f71b5.nt +0 -259
  281. data/public/uploads/import/c2c0372e27f625ca1ce1aa527059d6d2.nt +0 -259
  282. data/public/uploads/import/c43fbad62457debced3e2b5f175b633a.nt +0 -259
  283. data/public/uploads/import/c4d8f635e4bb5601713bbf9bc456c797.nt +0 -259
  284. data/public/uploads/import/c61960b982b3a8308e41de6cf094255d.nt +0 -259
  285. data/public/uploads/import/c63faf859a988775b27acb8e8712f13b.nt +0 -259
  286. data/public/uploads/import/cb1b6b27edfcc404ca469fa3ec6b0664.nt +0 -259
  287. data/public/uploads/import/cb37615bf36a26ecbfd6e0f738302d17.nt +0 -259
  288. data/public/uploads/import/d0369e2cb8216ddc3858a5ae93307da2.nt +0 -259
  289. data/public/uploads/import/d395b7bd9126c74ee3586b849768ef14.nt +0 -260
  290. data/public/uploads/import/d5d835b59eae82a208653c1b30ad74c9.nt +0 -259
  291. data/public/uploads/import/d82612b6c9d65e2f2dcfbda202b59a90.nt +0 -259
  292. data/public/uploads/import/df361efdd673094c731454a91d925850.nt +0 -259
  293. data/public/uploads/import/df66a381628757d745ae3b60642c3746.nt +0 -260
  294. data/public/uploads/import/e1c59deb5c9119a65787bc5c2d71d678.nt +0 -259
  295. data/public/uploads/import/e2242e8bc7216edacba54071db90e2f7.nt +0 -259
  296. data/public/uploads/import/e3d2d0b824f8c45aae697261a4dbe891.nt +0 -259
  297. data/public/uploads/import/e59bb2aced9152cc0c9a8b1be30bf7b0.nt +0 -259
  298. data/public/uploads/import/e9a6f6db0a5a7e13b6eb576a8f724347.nt +0 -259
  299. data/public/uploads/import/ea69b273df07fb624312cbf853c434f4.nt +0 -259
  300. data/public/uploads/import/eaa64a373eab2b1ccf3a0caf4b9a9b36.nt +0 -259
  301. data/public/uploads/import/eaec06e06215273b63df2bfbfcd1be1f.nt +0 -260
  302. data/public/uploads/import/ed37994c6a8c15cc9dfcc5f0fc98d25e.nt +0 -259
  303. data/public/uploads/import/ef8c5b07b56a2f5bfd0818d146b54ad0.nt +0 -259
  304. data/public/uploads/import/f02c74ffa5f9b0247ed608654d69afbe.nt +0 -260
  305. data/public/uploads/import/f19ecbe95745af34dc11c7ee3a185250.nt +0 -260
  306. data/public/uploads/import/f1f6bbcef457c577c6cf8a41c332ed52.nt +0 -259
  307. data/public/uploads/import/f24e1405527ac90b18fc4b9103b0356b.nt +0 -259
  308. data/public/uploads/import/f324628e42cd2165e0befb2dc9e19ec3.nt +0 -259
  309. data/public/uploads/import/f4f4b5eb4283efc264b2e29b728b45ce.nt +0 -259
  310. data/public/uploads/import/f6cda0379fadb6b9ed88b59b04d1544a.nt +0 -259
  311. data/public/uploads/import/f8eb5272e6cc4b691765b370685b634e.nt +0 -260
  312. data/public/uploads/import/f92c5202d53cf595d63051016ebe2aed.nt +0 -259
  313. data/public/uploads/import/f9948cb7e270f1582313d9d64a0013f4.nt +0 -259
  314. data/public/uploads/tmp/1399562606-12081-8172/hobbies.nt +0 -260
  315. data/public/uploads/tmp/1399562663-12419-6959/hobbies.nt +0 -260
  316. data/public/uploads/tmp/1399562758-12675-1044/hobbies.nt +0 -260
  317. data/public/uploads/tmp/1399563325-14184-4165/hobbies.nt +0 -260
  318. data/public/uploads/tmp/1399563511-14691-1597/hobbies.nt +0 -260
  319. data/public/uploads/tmp/1399563577-14899-9811/hobbies.nt +0 -260
  320. data/public/uploads/tmp/1399563654-15101-9704/hobbies.nt +0 -260
  321. data/public/uploads/tmp/1399563789-15465-3853/hobbies.nt +0 -260
  322. data/public/uploads/tmp/1399564038-16136-7758/hobbies.nt +0 -260
  323. data/public/uploads/tmp/1399564391-17273-4324/hobbies.nt +0 -260
  324. data/public/uploads/tmp/1399565011-19048-6725/hobbies.nt +0 -260
  325. data/public/uploads/tmp/1399565066-19204-6162/hobbies.nt +0 -260
  326. data/public/uploads/tmp/1399639727-33218-9866/hobbies.nt +0 -260
  327. data/public/uploads/tmp/1399642528-42021-8916/hobbies.nt +0 -260
  328. data/public/uploads/tmp/1399642763-42734-7348/hobbies.nt +0 -260
  329. data/public/uploads/tmp/1399886894-13606-2429/hobbies.nt +0 -260
  330. data/public/uploads/tmp/1401720178-47285-9163/hobbies.nt +0 -259
  331. data/public/uploads/tmp/1401720378-47376-3771/hobbies.nt +0 -259
  332. data/public/uploads/tmp/1401720550-47464-3771/hobbies.nt +0 -259
  333. data/public/uploads/tmp/1401720661-47532-3771/hobbies.nt +0 -259
  334. data/public/uploads/tmp/1401721032-47662-3771/hobbies.nt +0 -259
  335. data/public/uploads/tmp/1401721110-47707-3771/hobbies.nt +0 -259
  336. data/public/uploads/tmp/1401722057-48025-3771/hobbies.nt +0 -259
  337. data/public/uploads/tmp/1401722131-48079-3771/hobbies.nt +0 -259
  338. data/public/uploads/tmp/1401722177-48112-3771/hobbies.nt +0 -259
  339. data/public/uploads/tmp/1401722330-48176-3771/hobbies.nt +0 -259
  340. data/public/uploads/tmp/1401722430-48237-4227/hobbies.nt +0 -259
  341. data/public/uploads/tmp/1401722732-48343-4227/hobbies.nt +0 -259
  342. data/public/uploads/tmp/1401722909-48424-1412/hobbies.nt +0 -259
  343. data/public/uploads/tmp/1401723009-48482-7948/hobbies.nt +0 -259
  344. data/public/uploads/tmp/1401723431-48680-9071/hobbies.nt +0 -259
  345. data/public/uploads/tmp/1401724808-49229-3988/hobbies.nt +0 -259
  346. data/public/uploads/tmp/1401725005-49344-4227/hobbies.nt +0 -259
  347. data/public/uploads/tmp/1401801415-57643-7508/hobbies.nt +0 -259
  348. data/public/uploads/tmp/1401801470-57683-1511/hobbies.nt +0 -259
  349. data/public/uploads/tmp/1401801589-57766-6716/hobbies.nt +0 -259
  350. data/public/uploads/tmp/1401801648-57810-6653/hobbies.nt +0 -259
  351. data/public/uploads/tmp/1401801703-57902-1218/hobbies.nt +0 -259
  352. data/public/uploads/tmp/1401801780-57957-6963/hobbies.nt +0 -259
  353. data/public/uploads/tmp/1401801876-58010-6576/hobbies.nt +0 -259
  354. data/public/uploads/tmp/1401801925-58061-5018/hobbies.nt +0 -259
  355. data/public/uploads/tmp/1401801966-58088-4598/hobbies.nt +0 -259
  356. data/public/uploads/tmp/1401802064-58134-0309/hobbies.nt +0 -259
  357. data/public/uploads/tmp/1401802128-58183-5882/hobbies.nt +0 -259
  358. data/public/uploads/tmp/1401802254-58261-9292/hobbies.nt +0 -259
  359. data/public/uploads/tmp/1401802305-58305-0716/hobbies.nt +0 -259
  360. data/public/uploads/tmp/1401802559-58393-8087/hobbies.nt +0 -259
  361. data/public/uploads/tmp/1401802603-58429-5414/hobbies.nt +0 -259
  362. data/public/uploads/tmp/1401802704-58494-3176/hobbies.nt +0 -259
  363. data/public/uploads/tmp/1401876393-11719-7974/hobbies.nt +0 -259
  364. data/public/uploads/tmp/1401880994-13325-5134/hobbies.nt +0 -259
  365. data/public/uploads/tmp/1401881408-13497-2210/hobbies.nt +0 -259
  366. data/public/uploads/tmp/1402407940-72993-0117/hobbies.nt +0 -259
  367. data/public/uploads/tmp/1403276908-17566-3335/hobbies.nt +0 -259
  368. data/public/uploads/tmp/1403276972-17606-3705/hobbies.nt +0 -259
  369. data/public/uploads/tmp/1403277054-17662-2528/hobbies.nt +0 -259
  370. data/public/uploads/tmp/1405605924-28482-6761/hobbies.nt +0 -259
  371. data/public/uploads/tmp/1405606039-28627-4530/hobbies.nt +0 -259
  372. data/public/uploads/tmp/1405606796-29190-4080/hobbies.nt +0 -259
  373. data/vendor/assets/javascripts/jquery.treeview.async.js +0 -82
  374. data/vendor/assets/javascripts/jquery.treeview.js +0 -251
  375. data/vendor/assets/stylesheets/jquery.treeview.css.erb +0 -75
data/db/schema.rb CHANGED
@@ -11,177 +11,177 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140506133619) do
14
+ ActiveRecord::Schema.define(version: 20_140_506_133_619) do
15
15
 
16
- create_table "collection_members", force: true do |t|
17
- t.integer "collection_id"
18
- t.integer "target_id"
19
- t.string "type"
16
+ create_table 'collection_members', force: true do |t|
17
+ t.integer 'collection_id'
18
+ t.integer 'target_id'
19
+ t.string 'type'
20
20
  end
21
21
 
22
- add_index "collection_members", ["collection_id", "target_id", "type"], name: "ix_collections_fk_type", using: :btree
22
+ add_index 'collection_members', %w(collection_id target_id type), name: 'ix_collections_fk_type', using: :btree
23
23
 
24
- create_table "concept_relations", force: true do |t|
25
- t.string "type"
26
- t.integer "owner_id"
27
- t.integer "target_id"
28
- t.datetime "created_at"
29
- t.datetime "updated_at"
30
- t.integer "rank", default: 100
24
+ create_table 'concept_relations', force: true do |t|
25
+ t.string 'type'
26
+ t.integer 'owner_id'
27
+ t.integer 'target_id'
28
+ t.datetime 'created_at'
29
+ t.datetime 'updated_at'
30
+ t.integer 'rank', default: 100
31
31
  end
32
32
 
33
- add_index "concept_relations", ["owner_id", "target_id"], name: "ix_concept_relations_fk", using: :btree
34
-
35
- create_table "concepts", force: true do |t|
36
- t.string "type"
37
- t.string "origin", limit: 4000
38
- t.integer "rev", default: 1
39
- t.date "published_at"
40
- t.integer "published_version_id"
41
- t.integer "locked_by"
42
- t.date "expired_at"
43
- t.date "follow_up"
44
- t.boolean "to_review"
45
- t.date "rdf_updated_at"
46
- t.datetime "created_at"
47
- t.datetime "updated_at"
48
- t.boolean "top_term", default: false
33
+ add_index 'concept_relations', %w(owner_id target_id), name: 'ix_concept_relations_fk', using: :btree
34
+
35
+ create_table 'concepts', force: true do |t|
36
+ t.string 'type'
37
+ t.string 'origin', limit: 4000
38
+ t.integer 'rev', default: 1
39
+ t.date 'published_at'
40
+ t.integer 'published_version_id'
41
+ t.integer 'locked_by'
42
+ t.date 'expired_at'
43
+ t.date 'follow_up'
44
+ t.boolean 'to_review'
45
+ t.date 'rdf_updated_at'
46
+ t.datetime 'created_at'
47
+ t.datetime 'updated_at'
48
+ t.boolean 'top_term', default: false
49
49
  end
50
50
 
51
- add_index "concepts", ["origin"], name: "ix_concepts_on_origin", length: {"origin"=>255}, using: :btree
52
- add_index "concepts", ["published_version_id"], name: "ix_concepts_publ_version_id", using: :btree
51
+ add_index 'concepts', ['origin'], name: 'ix_concepts_on_origin', length: { 'origin' => 255 }, using: :btree
52
+ add_index 'concepts', ['published_version_id'], name: 'ix_concepts_publ_version_id', using: :btree
53
53
 
54
- create_table "configuration_settings", force: true do |t|
55
- t.string "key"
56
- t.string "value"
54
+ create_table 'configuration_settings', force: true do |t|
55
+ t.string 'key'
56
+ t.string 'value'
57
57
  end
58
58
 
59
- create_table "delayed_jobs", force: true do |t|
60
- t.integer "priority", default: 0, null: false
61
- t.integer "attempts", default: 0, null: false
62
- t.text "handler", null: false
63
- t.text "last_error"
64
- t.datetime "run_at"
65
- t.datetime "locked_at"
66
- t.datetime "failed_at"
67
- t.string "locked_by"
68
- t.string "queue"
69
- t.datetime "created_at"
70
- t.datetime "updated_at"
59
+ create_table 'delayed_jobs', force: true do |t|
60
+ t.integer 'priority', default: 0, null: false
61
+ t.integer 'attempts', default: 0, null: false
62
+ t.text 'handler', null: false
63
+ t.text 'last_error'
64
+ t.datetime 'run_at'
65
+ t.datetime 'locked_at'
66
+ t.datetime 'failed_at'
67
+ t.string 'locked_by'
68
+ t.string 'queue'
69
+ t.datetime 'created_at'
70
+ t.datetime 'updated_at'
71
71
  end
72
72
 
73
- add_index "delayed_jobs", ["priority", "run_at"], name: "delayed_jobs_priority", using: :btree
74
-
75
- create_table "exports", force: true do |t|
76
- t.integer "user_id"
77
- t.text "output"
78
- t.boolean "success", default: false
79
- t.integer "file_type"
80
- t.string "token"
81
- t.datetime "created_at"
82
- t.datetime "updated_at"
83
- t.datetime "finished_at"
84
- t.string "default_namespace"
73
+ add_index 'delayed_jobs', %w(priority run_at), name: 'delayed_jobs_priority', using: :btree
74
+
75
+ create_table 'exports', force: true do |t|
76
+ t.integer 'user_id'
77
+ t.text 'output'
78
+ t.boolean 'success', default: false
79
+ t.integer 'file_type'
80
+ t.string 'token'
81
+ t.datetime 'created_at'
82
+ t.datetime 'updated_at'
83
+ t.datetime 'finished_at'
84
+ t.string 'default_namespace'
85
85
  end
86
86
 
87
- add_index "exports", ["user_id"], name: "index_exports_on_user_id", using: :btree
88
-
89
- create_table "imports", force: true do |t|
90
- t.integer "user_id"
91
- t.text "output"
92
- t.boolean "success", default: false
93
- t.datetime "created_at"
94
- t.datetime "updated_at"
95
- t.datetime "finished_at"
96
- t.string "import_file"
97
- t.boolean "publish"
98
- t.string "default_namespace"
87
+ add_index 'exports', ['user_id'], name: 'index_exports_on_user_id', using: :btree
88
+
89
+ create_table 'imports', force: true do |t|
90
+ t.integer 'user_id'
91
+ t.text 'output'
92
+ t.boolean 'success', default: false
93
+ t.datetime 'created_at'
94
+ t.datetime 'updated_at'
95
+ t.datetime 'finished_at'
96
+ t.string 'import_file'
97
+ t.boolean 'publish'
98
+ t.string 'default_namespace'
99
99
  end
100
100
 
101
- add_index "imports", ["user_id"], name: "index_imports_on_user_id", using: :btree
101
+ add_index 'imports', ['user_id'], name: 'index_imports_on_user_id', using: :btree
102
102
 
103
- create_table "labelings", force: true do |t|
104
- t.string "type"
105
- t.integer "owner_id"
106
- t.integer "target_id"
107
- t.datetime "created_at"
108
- t.datetime "updated_at"
103
+ create_table 'labelings', force: true do |t|
104
+ t.string 'type'
105
+ t.integer 'owner_id'
106
+ t.integer 'target_id'
107
+ t.datetime 'created_at'
108
+ t.datetime 'updated_at'
109
109
  end
110
110
 
111
- add_index "labelings", ["owner_id", "target_id", "type"], name: "ix_labelings_fk_type", using: :btree
112
- add_index "labelings", ["type"], name: "ix_labelings_on_type", using: :btree
113
-
114
- create_table "labels", force: true do |t|
115
- t.string "type"
116
- t.string "origin", limit: 4000
117
- t.string "language"
118
- t.string "value", limit: 1024
119
- t.datetime "created_at"
120
- t.datetime "updated_at"
121
- t.date "published_at"
111
+ add_index 'labelings', %w(owner_id target_id type), name: 'ix_labelings_fk_type', using: :btree
112
+ add_index 'labelings', ['type'], name: 'ix_labelings_on_type', using: :btree
113
+
114
+ create_table 'labels', force: true do |t|
115
+ t.string 'type'
116
+ t.string 'origin', limit: 4000
117
+ t.string 'language'
118
+ t.string 'value', limit: 1024
119
+ t.datetime 'created_at'
120
+ t.datetime 'updated_at'
121
+ t.date 'published_at'
122
122
  end
123
123
 
124
- add_index "labels", ["language"], name: "ix_labels_on_language", using: :btree
125
- add_index "labels", ["origin"], name: "ix_labels_on_origin", length: {"origin"=>255}, using: :btree
124
+ add_index 'labels', ['language'], name: 'ix_labels_on_language', using: :btree
125
+ add_index 'labels', ['origin'], name: 'ix_labels_on_origin', length: { 'origin' => 255 }, using: :btree
126
126
 
127
- create_table "matches", force: true do |t|
128
- t.integer "concept_id"
129
- t.string "type"
130
- t.string "value"
131
- t.datetime "created_at"
132
- t.datetime "updated_at"
127
+ create_table 'matches', force: true do |t|
128
+ t.integer 'concept_id'
129
+ t.string 'type'
130
+ t.string 'value'
131
+ t.datetime 'created_at'
132
+ t.datetime 'updated_at'
133
133
  end
134
134
 
135
- add_index "matches", ["concept_id", "type"], name: "ix_matches_fk_type", using: :btree
136
- add_index "matches", ["type"], name: "ix_matches_on_type", using: :btree
135
+ add_index 'matches', %w(concept_id type), name: 'ix_matches_fk_type', using: :btree
136
+ add_index 'matches', ['type'], name: 'ix_matches_on_type', using: :btree
137
137
 
138
- create_table "notations", force: true do |t|
139
- t.integer "concept_id"
140
- t.string "value", limit: 4000
141
- t.string "data_type", limit: 4000
138
+ create_table 'notations', force: true do |t|
139
+ t.integer 'concept_id'
140
+ t.string 'value', limit: 4000
141
+ t.string 'data_type', limit: 4000
142
142
  end
143
143
 
144
- add_index "notations", ["concept_id"], name: "index_notations_on_concept_id", using: :btree
144
+ add_index 'notations', ['concept_id'], name: 'index_notations_on_concept_id', using: :btree
145
145
 
146
- create_table "note_annotations", force: true do |t|
147
- t.integer "note_id"
148
- t.string "predicate", limit: 50
149
- t.string "value", limit: 1024
150
- t.datetime "created_at"
151
- t.datetime "updated_at"
152
- t.string "namespace", limit: 50
153
- t.string "language"
146
+ create_table 'note_annotations', force: true do |t|
147
+ t.integer 'note_id'
148
+ t.string 'predicate', limit: 50
149
+ t.string 'value', limit: 1024
150
+ t.datetime 'created_at'
151
+ t.datetime 'updated_at'
152
+ t.string 'namespace', limit: 50
153
+ t.string 'language'
154
154
  end
155
155
 
156
- add_index "note_annotations", ["note_id"], name: "ix_note_annotations_fk", using: :btree
156
+ add_index 'note_annotations', ['note_id'], name: 'ix_note_annotations_fk', using: :btree
157
157
 
158
- create_table "notes", force: true do |t|
159
- t.string "language", limit: 2
160
- t.string "value", limit: 4000
161
- t.string "type", limit: 50
162
- t.datetime "created_at"
163
- t.datetime "updated_at"
164
- t.integer "owner_id"
165
- t.string "owner_type", null: false
158
+ create_table 'notes', force: true do |t|
159
+ t.string 'language', limit: 2
160
+ t.string 'value', limit: 4000
161
+ t.string 'type', limit: 50
162
+ t.datetime 'created_at'
163
+ t.datetime 'updated_at'
164
+ t.integer 'owner_id'
165
+ t.string 'owner_type', null: false
166
166
  end
167
167
 
168
- add_index "notes", ["language"], name: "ix_notes_on_language", using: :btree
169
- add_index "notes", ["owner_id", "owner_type", "type"], name: "ix_notes_fk_type", using: :btree
170
- add_index "notes", ["type"], name: "ix_notes_on_type", using: :btree
171
-
172
- create_table "users", force: true do |t|
173
- t.string "forename"
174
- t.string "surname"
175
- t.string "email"
176
- t.string "crypted_password"
177
- t.boolean "active"
178
- t.datetime "created_at"
179
- t.datetime "updated_at"
180
- t.string "password_salt"
181
- t.string "persistence_token"
182
- t.string "perishable_token"
183
- t.string "role"
184
- t.string "telephone_number"
168
+ add_index 'notes', ['language'], name: 'ix_notes_on_language', using: :btree
169
+ add_index 'notes', %w(owner_id owner_type type), name: 'ix_notes_fk_type', using: :btree
170
+ add_index 'notes', ['type'], name: 'ix_notes_on_type', using: :btree
171
+
172
+ create_table 'users', force: true do |t|
173
+ t.string 'forename'
174
+ t.string 'surname'
175
+ t.string 'email'
176
+ t.string 'crypted_password'
177
+ t.boolean 'active'
178
+ t.datetime 'created_at'
179
+ t.datetime 'updated_at'
180
+ t.string 'password_salt'
181
+ t.string 'persistence_token'
182
+ t.string 'perishable_token'
183
+ t.string 'role'
184
+ t.string 'telephone_number'
185
185
  end
186
186
 
187
187
  end
data/iqvoc.gemspec CHANGED
@@ -6,8 +6,8 @@ Gem::Specification.new do |s|
6
6
  s.name = 'iqvoc'
7
7
  s.version = Iqvoc::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
- s.authors = ['Robert Glaser', 'Till Schulte-Coerne', 'Frederik Dohr']
10
- s.email = ['robert.glaser@innoq.com', 'till.schulte-coerne@innoq.com', 'frederik.dohr@innoq.com']
9
+ s.authors = ['Robert Glaser', 'Till Schulte-Coerne', 'Frederik Dohr', 'Marc Jansing']
10
+ s.email = ['robert.glaser@innoq.com', 'till.schulte-coerne@innoq.com', 'frederik.dohr@innoq.com', 'marc.jansing@innoq.com']
11
11
  s.homepage = 'http://github.com/innoq/iqvoc'
12
12
  s.summary = 'iQvoc'
13
13
  s.description = 'iQvoc - a SKOS(-XL) vocabulary management system built on the Semantic Web'
@@ -13,6 +13,7 @@ module Iqvoc
13
13
 
14
14
  rescue_from ActiveRecord::RecordNotFound, with: :handle_not_found
15
15
  rescue_from CanCan::AccessDenied, with: :handle_access_denied
16
+ rescue_from ActionController::ParameterMissing, with: :handle_bad_request
16
17
  end
17
18
 
18
19
  protected
@@ -51,6 +52,14 @@ module Iqvoc
51
52
  end
52
53
  end
53
54
 
55
+ def handle_bad_request(exception)
56
+ @exception = exception
57
+
58
+ respond_to do |format|
59
+ format.any { head 400 }
60
+ end
61
+ end
62
+
54
63
  def set_locale
55
64
  if params[:lang].present? && Iqvoc::Concept.pref_labeling_languages.include?(params[:lang])
56
65
  I18n.locale = params[:lang]
data/lib/iqvoc/version.rb CHANGED
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module Iqvoc
18
- VERSION = '4.4.0'
18
+ VERSION = '4.5.0'
19
19
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes