redmine_extensions 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/redmine_extensions/redmine_extensions.js +2 -2
  3. data/app/models/easy_setting.rb +1 -1
  4. data/app/views/easy_queries/_entities.html.erb +60 -0
  5. data/app/views/easy_queries/_index.html.erb +10 -0
  6. data/app/views/easy_queries/_settings.html.erb +44 -0
  7. data/lib/generators/redmine_extensions/entity/USAGE +11 -0
  8. data/lib/generators/redmine_extensions/entity/entity_generator.rb +257 -0
  9. data/lib/generators/redmine_extensions/entity/templates/_form.html.erb.erb +36 -0
  10. data/lib/generators/redmine_extensions/entity/templates/_sidebar.html.erb.erb +9 -0
  11. data/lib/generators/redmine_extensions/entity/templates/_view_custom_fields_form_custom_field.html.erb.erb +1 -0
  12. data/lib/generators/redmine_extensions/entity/templates/context_menu.html.erb.erb +8 -0
  13. data/lib/generators/redmine_extensions/entity/templates/controller.rb.erb +158 -0
  14. data/lib/generators/redmine_extensions/entity/templates/custom_field.rb.erb +7 -0
  15. data/lib/generators/redmine_extensions/entity/templates/edit.html.erb.erb +17 -0
  16. data/lib/generators/redmine_extensions/entity/templates/en.yml.erb +10 -0
  17. data/lib/generators/redmine_extensions/entity/templates/helper.rb.erb +24 -0
  18. data/lib/generators/redmine_extensions/entity/templates/hooks.rb.erb +7 -0
  19. data/lib/generators/redmine_extensions/entity/templates/index.api.rsb.erb +5 -0
  20. data/lib/generators/redmine_extensions/entity/templates/index.html.erb.erb +5 -0
  21. data/lib/generators/redmine_extensions/entity/templates/mail_added.html.erb.erb +1 -0
  22. data/lib/generators/redmine_extensions/entity/templates/mail_added.text.erb.erb +2 -0
  23. data/lib/generators/redmine_extensions/entity/templates/mail_updated.html.erb.erb +1 -0
  24. data/lib/generators/redmine_extensions/entity/templates/mail_updated.text.erb.erb +2 -0
  25. data/lib/generators/redmine_extensions/entity/templates/mailer.rb.erb +41 -0
  26. data/lib/generators/redmine_extensions/entity/templates/migration.rb.erb +9 -0
  27. data/lib/generators/redmine_extensions/entity/templates/model.rb.erb +137 -0
  28. data/lib/generators/redmine_extensions/entity/templates/new.html.erb.erb +17 -0
  29. data/lib/generators/redmine_extensions/entity/templates/query.rb.erb +41 -0
  30. data/lib/generators/redmine_extensions/entity/templates/routes.rb.erb +12 -0
  31. data/lib/generators/redmine_extensions/entity/templates/show.api.rsb.erb +1 -0
  32. data/lib/generators/redmine_extensions/entity/templates/show.html.erb.erb +38 -0
  33. data/lib/generators/redmine_extensions/plugin/USAGE +11 -0
  34. data/lib/generators/redmine_extensions/plugin/plugin_generator.rb +57 -0
  35. data/lib/generators/redmine_extensions/plugin/templates/Gemfile +1 -0
  36. data/lib/generators/{easy_redmine_plugin → redmine_extensions/plugin}/templates/after_init.rb.erb +0 -0
  37. data/lib/generators/redmine_extensions/plugin/templates/en.yml +2 -0
  38. data/lib/generators/{easy_redmine_plugin → redmine_extensions/plugin}/templates/hooks.rb.erb +0 -0
  39. data/lib/generators/{easy_redmine_plugin → redmine_extensions/plugin}/templates/init.rb.erb +11 -11
  40. data/lib/generators/redmine_extensions/plugin/templates/internals.rb.erb +4 -0
  41. data/lib/generators/{easy_redmine_plugin → redmine_extensions/plugin}/templates/issue_patch.example.erb +0 -0
  42. data/lib/generators/{easy_redmine_plugin → redmine_extensions/plugin}/templates/issues_controller_patch.example.erb +0 -0
  43. data/lib/generators/{easy_redmine_plugin → redmine_extensions/plugin}/templates/issues_helper_patch.example.erb +0 -0
  44. data/lib/generators/{easy_redmine_plugin → redmine_extensions/plugin}/templates/routes.rb.erb +0 -0
  45. data/lib/redmine_extensions/easy_entity_formatters/easy_entity_formatter.rb +27 -0
  46. data/lib/redmine_extensions/easy_query_adapter.rb +142 -0
  47. data/lib/redmine_extensions/engine.rb +4 -1
  48. data/lib/redmine_extensions/redmine_patches/controllers/application_controller_patch.rb +55 -0
  49. data/lib/redmine_extensions/redmine_patches/patches.rb +4 -0
  50. data/lib/redmine_extensions/version.rb +1 -1
  51. metadata +49 -355
  52. data/app/assets/javascripts/redmine_extensions/ckeditor/CHANGES.md +0 -720
  53. data/app/assets/javascripts/redmine_extensions/ckeditor/LICENSE.md +0 -1264
  54. data/app/assets/javascripts/redmine_extensions/ckeditor/README.md +0 -39
  55. data/app/assets/javascripts/redmine_extensions/ckeditor/adapters/jquery.js +0 -10
  56. data/app/assets/javascripts/redmine_extensions/ckeditor/build-config.js +0 -139
  57. data/app/assets/javascripts/redmine_extensions/ckeditor/ckeditor.js +0 -1097
  58. data/app/assets/javascripts/redmine_extensions/ckeditor/config.js +0 -58
  59. data/app/assets/javascripts/redmine_extensions/ckeditor/contents.css +0 -134
  60. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/cs.js +0 -5
  61. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/da.js +0 -5
  62. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/de.js +0 -5
  63. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/en.js +0 -5
  64. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/es.js +0 -5
  65. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/fi.js +0 -5
  66. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/fr.js +0 -5
  67. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/he.js +0 -5
  68. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/hu.js +0 -5
  69. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/it.js +0 -5
  70. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/ja.js +0 -5
  71. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/ko.js +0 -5
  72. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/nl.js +0 -5
  73. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/no.js +0 -5
  74. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/pl.js +0 -5
  75. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/pt-br.js +0 -5
  76. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/pt.js +0 -5
  77. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/ru.js +0 -5
  78. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/sk.js +0 -5
  79. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/sl.js +0 -5
  80. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/sv.js +0 -5
  81. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/zh-cn.js +0 -5
  82. data/app/assets/javascripts/redmine_extensions/ckeditor/lang/zh.js +0 -5
  83. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +0 -10
  84. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +0 -25
  85. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +0 -11
  86. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +0 -11
  87. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +0 -11
  88. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +0 -13
  89. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +0 -13
  90. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +0 -11
  91. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +0 -11
  92. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +0 -13
  93. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +0 -13
  94. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +0 -11
  95. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +0 -11
  96. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +0 -13
  97. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +0 -12
  98. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +0 -11
  99. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +0 -11
  100. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +0 -12
  101. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +0 -12
  102. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +0 -13
  103. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +0 -12
  104. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +0 -11
  105. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +0 -11
  106. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +0 -11
  107. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +0 -11
  108. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +0 -13
  109. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +0 -11
  110. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +0 -13
  111. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +0 -9
  112. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +0 -11
  113. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +0 -11
  114. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +0 -12
  115. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +0 -11
  116. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +0 -13
  117. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +0 -11
  118. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +0 -11
  119. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +0 -12
  120. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +0 -12
  121. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +0 -11
  122. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +0 -13
  123. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +0 -12
  124. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +0 -12
  125. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +0 -12
  126. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +0 -11
  127. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +0 -10
  128. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +0 -12
  129. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +0 -12
  130. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +0 -11
  131. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +0 -11
  132. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +0 -11
  133. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +0 -12
  134. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +0 -11
  135. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +0 -12
  136. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +0 -11
  137. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +0 -11
  138. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +0 -12
  139. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +0 -11
  140. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +0 -9
  141. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +0 -9
  142. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/about/dialogs/about.js +0 -7
  143. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  144. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  145. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/base64image/LICENSE.md +0 -1243
  146. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/base64image/README.md +0 -21
  147. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/base64image/dialogs/base64image.js +0 -16
  148. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/clipboard/dialogs/paste.js +0 -11
  149. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/dialogs/codesnippet.js +0 -6
  150. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/CHANGES.md +0 -827
  151. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/LICENSE +0 -24
  152. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/README.md +0 -167
  153. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/README.ru.md +0 -171
  154. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js +0 -1
  155. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/arta.css +0 -160
  156. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/ascetic.css +0 -50
  157. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.dark.css +0 -93
  158. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.light.css +0 -93
  159. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.dark.css +0 -93
  160. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.light.css +0 -93
  161. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.dark.css +0 -93
  162. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.light.css +0 -93
  163. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.dark.css +0 -93
  164. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.light.css +0 -93
  165. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.dark.css +0 -93
  166. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.light.css +0 -93
  167. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_paper.css +0 -105
  168. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_papersq.png +0 -0
  169. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/dark.css +0 -105
  170. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css +0 -153
  171. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/docco.css +0 -132
  172. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/far.css +0 -113
  173. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/foundation.css +0 -133
  174. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/github.css +0 -125
  175. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/googlecode.css +0 -147
  176. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/idea.css +0 -122
  177. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/ir_black.css +0 -105
  178. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/magula.css +0 -122
  179. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/mono-blue.css +0 -62
  180. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai.css +0 -127
  181. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai_sublime.css +0 -149
  182. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/obsidian.css +0 -154
  183. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.dark.css +0 -93
  184. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.light.css +0 -93
  185. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.css +0 -106
  186. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.jpg +0 -0
  187. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/railscasts.css +0 -182
  188. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/rainbow.css +0 -112
  189. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.css +0 -113
  190. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.png +0 -0
  191. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_dark.css +0 -107
  192. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_light.css +0 -107
  193. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/sunburst.css +0 -160
  194. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-blue.css +0 -93
  195. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-bright.css +0 -92
  196. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-eighties.css +0 -92
  197. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night.css +0 -93
  198. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow.css +0 -90
  199. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/vs.css +0 -89
  200. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/xcode.css +0 -158
  201. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/codesnippet/lib/highlight/styles/zenburn.css +0 -116
  202. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/colordialog/dialogs/colordialog.js +0 -13
  203. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/dialog/dialogDefinition.js +0 -4
  204. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/div/dialogs/div.js +0 -9
  205. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/find/dialogs/find.js +0 -24
  206. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/flash/dialogs/flash.js +0 -24
  207. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/flash/images/placeholder.png +0 -0
  208. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/button.js +0 -8
  209. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/checkbox.js +0 -8
  210. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/form.js +0 -8
  211. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/hiddenfield.js +0 -7
  212. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/radio.js +0 -8
  213. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/select.js +0 -20
  214. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/textarea.js +0 -8
  215. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/dialogs/textfield.js +0 -10
  216. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
  217. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/icons.png +0 -0
  218. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/icons_hidpi.png +0 -0
  219. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/iframe/dialogs/iframe.js +0 -10
  220. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/iframe/images/placeholder.png +0 -0
  221. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/image/dialogs/image.js +0 -43
  222. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/image/images/noimage.png +0 -0
  223. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/dialogs/anchor.js +0 -7
  224. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/dialogs/link.js +0 -26
  225. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/images/anchor.png +0 -0
  226. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  227. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/liststyle/dialogs/liststyle.js +0 -10
  228. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
  229. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
  230. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
  231. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/magicline/images/icon.png +0 -0
  232. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  233. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/pastefromword/filter/default.js +0 -31
  234. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/preview/preview.html +0 -13
  235. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/LICENSE.md +0 -28
  236. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/README.md +0 -25
  237. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/dialogs/options.js +0 -17
  238. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/scayt/dialogs/toolbar.css +0 -71
  239. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  240. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  241. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  242. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  243. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  244. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  245. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  246. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  247. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  248. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  249. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  250. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/dialogs/smiley.js +0 -10
  251. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  252. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
  253. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  254. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
  255. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  256. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
  257. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  258. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
  259. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  260. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
  261. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  262. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
  263. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  264. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
  265. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
  266. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  267. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/envelope.png +0 -0
  268. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/heart.gif +0 -0
  269. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/heart.png +0 -0
  270. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  271. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/kiss.png +0 -0
  272. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  273. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
  274. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  275. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
  276. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  277. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
  278. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  279. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
  280. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  281. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
  282. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  283. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
  284. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  285. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
  286. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  287. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
  288. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
  289. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
  290. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  291. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  292. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
  293. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  294. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
  295. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +0 -20
  296. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/af.js +0 -13
  297. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ar.js +0 -13
  298. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/bg.js +0 -13
  299. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ca.js +0 -14
  300. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/cs.js +0 -13
  301. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/cy.js +0 -14
  302. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/da.js +0 -13
  303. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/de.js +0 -13
  304. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/el.js +0 -13
  305. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +0 -13
  306. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/en.js +0 -13
  307. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/eo.js +0 -12
  308. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/es.js +0 -13
  309. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/et.js +0 -13
  310. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fa.js +0 -12
  311. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fi.js +0 -13
  312. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +0 -10
  313. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/fr.js +0 -11
  314. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/gl.js +0 -13
  315. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/he.js +0 -12
  316. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/hr.js +0 -13
  317. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/hu.js +0 -12
  318. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/id.js +0 -13
  319. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/it.js +0 -14
  320. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ja.js +0 -9
  321. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/km.js +0 -13
  322. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ku.js +0 -13
  323. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/lt.js +0 -13
  324. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/lv.js +0 -13
  325. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/nb.js +0 -11
  326. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/nl.js +0 -13
  327. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/no.js +0 -11
  328. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/pl.js +0 -12
  329. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +0 -11
  330. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/pt.js +0 -13
  331. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ru.js +0 -13
  332. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/si.js +0 -13
  333. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sk.js +0 -13
  334. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sl.js +0 -12
  335. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sq.js +0 -13
  336. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/sv.js +0 -11
  337. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/th.js +0 -13
  338. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/tr.js +0 -12
  339. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/tt.js +0 -13
  340. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/ug.js +0 -13
  341. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/uk.js +0 -12
  342. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/vi.js +0 -14
  343. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +0 -9
  344. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/lang/zh.js +0 -12
  345. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/specialchar/dialogs/specialchar.js +0 -14
  346. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/table/dialogs/table.js +0 -21
  347. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/tabletools/dialogs/tableCell.js +0 -17
  348. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/dialogs/templates.css +0 -84
  349. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/dialogs/templates.js +0 -10
  350. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/default.js +0 -6
  351. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  352. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  353. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  354. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/widget/images/handle.png +0 -0
  355. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/LICENSE.md +0 -28
  356. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/README.md +0 -25
  357. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/ciframe.html +0 -66
  358. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +0 -52
  359. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/wsc.css +0 -82
  360. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/wsc.js +0 -74
  361. data/app/assets/javascripts/redmine_extensions/ckeditor/plugins/wsc/dialogs/wsc_ie.js +0 -11
  362. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog.css +0 -5
  363. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_ie.css +0 -5
  364. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_ie7.css +0 -5
  365. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_ie8.css +0 -5
  366. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/dialog_iequirks.css +0 -5
  367. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor.css +0 -5
  368. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_gecko.css +0 -5
  369. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_ie.css +0 -5
  370. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_ie7.css +0 -5
  371. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_ie8.css +0 -5
  372. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/editor_iequirks.css +0 -5
  373. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/icons.png +0 -0
  374. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/icons_hidpi.png +0 -0
  375. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/arrow.png +0 -0
  376. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/close.png +0 -0
  377. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/close.png +0 -0
  378. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/lock-open.png +0 -0
  379. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/lock.png +0 -0
  380. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/hidpi/refresh.png +0 -0
  381. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/lock-open.png +0 -0
  382. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/lock.png +0 -0
  383. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/images/refresh.png +0 -0
  384. data/app/assets/javascripts/redmine_extensions/ckeditor/skins/moono/readme.md +0 -51
  385. data/app/assets/javascripts/redmine_extensions/ckeditor/styles.js +0 -111
  386. data/app/views/layouts/redmine_extensions/application.html.erb +0 -14
  387. data/config/database.yml.mysql +0 -51
  388. data/lib/generators/easy_redmine_plugin/USAGE +0 -8
  389. data/lib/generators/easy_redmine_plugin/easy_redmine_plugin_generator.rb +0 -49
  390. data/lib/generators/easy_redmine_plugin/templates/Gemfile +0 -1
  391. data/lib/generators/easy_redmine_plugin/templates/cs.yml +0 -5
  392. data/lib/generators/easy_redmine_plugin/templates/de.yml +0 -5
  393. data/lib/generators/easy_redmine_plugin/templates/en.yml +0 -5
  394. data/lib/generators/easy_redmine_plugin/templates/internals.rb.erb +0 -3
@@ -1,21 +0,0 @@
1
- Base64Image Plugin for CKEditor 4
2
- =================================
3
-
4
- Created by ALL-INKL.COM - Neue Medien Münnich - 04. Feb 2014
5
-
6
- Adds images from local client as base64 string into the source without server
7
- side processing. You can also add external image urls into the source.
8
-
9
- ## Requirements
10
- The Browser must support the JavaScript File API.
11
-
12
- ## Installation
13
-
14
- 1. Download the plugin from http://github.com/nmmf/base64image
15
-
16
- 2. Extract (decompress) the downloaded file into the plugins folder of your
17
- CKEditor installation.
18
- Example: http://example.com/ckeditor/plugins/base64image
19
-
20
- 3. Enable the plugin by using the extraPlugins configuration setting.
21
- Example: CKEDITOR.config.extraPlugins = "base64image";
@@ -1,16 +0,0 @@
1
- CKEDITOR.dialog.add("base64imageDialog",function(c){function p(b){if("string"!=typeof b||!b)e.getElement().setHtml("");else{var f=new Image;e.getElement().setHtml("Loading...");f.onload=function(){e.getElement().setHtml("");null==i||null==h?(d.setValueOf("tab-properties","width",this.width),d.setValueOf("tab-properties","height",this.height),j=1,0<this.height&&0<this.width&&(j=this.width/this.height),0>=j&&(j=1)):h=i=null;this.id=c.id+"previewimage";this.setAttribute("style","max-width:400px;max-height:100px;");
2
- this.setAttribute("alt","");try{var b=e.getElement().$;b&&b.appendChild(this)}catch(f){}};f.onerror=function(){e.getElement().setHtml("")};f.onabort=function(){e.getElement().setHtml("")};f.src=b}}function n(b){e.getElement().setHtml("");if("base64"==b)l&&l.setValue(!1,!0),m&&m.setValue(!1,!0);else if("url"==b)l&&l.setValue(!0,!0),m&&m.setValue(!1,!0),q&&p(q.getValue());else if(r){l&&l.setValue(!1,!0);m&&m.setValue(!0,!0);var f=d.getContentElement("tab-source","file"),b=null;try{b=f.getInputElement().$}catch(a){b=
3
- null}if(b&&("files"in b&&b.files&&0<b.files.length&&b.files[0])&&(!("type"in b.files[0])||b.files[0].type.match("image.*"))&&FileReader)e.getElement().setHtml("Loading..."),f=new FileReader,f.onload=function(){return function(b){e.getElement().setHtml("");p(b.target.result)}}(b.files[0]),f.onerror=function(){e.getElement().setHtml("")},f.onabort=function(){e.getElement().setHtml("")},f.readAsDataURL(b.files[0])}}function s(b){var f=d.getContentElement("tab-properties","width").getValue(),a=d.getContentElement("tab-properties",
4
- "height").getValue(),c="px",g="px";0<=f.indexOf("%")&&(c="%");0<=a.indexOf("%")&&(g="%");f=parseInt(f,10);a=parseInt(a,10);isNaN(f)&&(f=0);isNaN(a)&&(a=0);var e="px";"width"==b?("%"==c&&(e="%"),a=Math.round(f/j)):("%"==g&&(e="%"),f=Math.round(a*j));"%"==e&&(f+="%",a+="%");d.getContentElement("tab-properties","width").setValue(f);d.getContentElement("tab-properties","height").setValue(a)}function t(b){var a=b.getValue(),c="";0<=a.indexOf("%")&&(c="%");a=parseInt(a,10);isNaN(a)&&(a=0);b.setValue(a+
5
- c)}var d=null,a=null,i=null,h=null,e=null,l=null,q=null,m=null,j=1,o=!0,r=function(){var a=!1,c=null;try{FileReader&&(c=document.createElement("input"))&&"files"in c&&(a=!0)}catch(d){a=!1}return a}(),u=r?[{type:"hbox",widths:["70px"],children:[{type:"checkbox",id:"urlcheckbox",style:"margin-top:5px",label:c.lang.common.url+":"},{type:"text",id:"url",label:"",onChange:function(){n("url")}}]},{type:"hbox",widths:["70px"],children:[{type:"checkbox",id:"filecheckbox",style:"margin-top:5px",label:c.lang.common.upload+
6
- ":"},{type:"file",id:"file",label:"",onChange:function(){n("file")}}]},{type:"html",id:"preview",html:(new CKEDITOR.template('<div style="text-align:center;"></div>')).output()}]:[{type:"text",id:"url",label:c.lang.common.url,onChange:function(){n("url")}},{type:"html",id:"preview",html:(new CKEDITOR.template('<div style="text-align:center;"></div>')).output()}];return{title:c.lang.common.image,minWidth:450,minHeight:180,onLoad:function(){r&&(l=this.getContentElement("tab-source","urlcheckbox"),m=
7
- this.getContentElement("tab-source","filecheckbox"),l.getInputElement().on("click",function(){n("url")}),m.getInputElement().on("click",function(){n("file")}));q=this.getContentElement("tab-source","url");e=this.getContentElement("tab-source","preview");this.getContentElement("tab-properties","lock").getInputElement().on("click",function(){(o=this.getValue()?true:false)&&s("width")},this.getContentElement("tab-properties","lock"));this.getContentElement("tab-properties","width").getInputElement().on("keyup",
8
- function(){o&&s("width")});this.getContentElement("tab-properties","height").getInputElement().on("keyup",function(){o&&s("height")});this.getContentElement("tab-properties","vmargin").getInputElement().on("keyup",function(){t(this)},this.getContentElement("tab-properties","vmargin"));this.getContentElement("tab-properties","hmargin").getInputElement().on("keyup",function(){t(this)},this.getContentElement("tab-properties","hmargin"));this.getContentElement("tab-properties","border").getInputElement().on("keyup",
9
- function(){t(this)},this.getContentElement("tab-properties","border"))},onShow:function(){e.getElement().setHtml("");d=this;h=i=null;j=1;o=!0;(a=c.getSelection())&&(a=a.getSelectedElement());if(!a||"img"!==a.getName())a=null;d.setValueOf("tab-properties","lock",o);d.setValueOf("tab-properties","vmargin","0");d.setValueOf("tab-properties","hmargin","0");d.setValueOf("tab-properties","border","0");d.setValueOf("tab-properties","align","none");if(a){"string"==typeof a.getAttribute("width")&&(i=a.getAttribute("width"));
10
- "string"==typeof a.getAttribute("height")&&(h=a.getAttribute("height"));if((null==i||null==h)&&a.$)i=a.$.width,h=a.$.height;null!=i&&null!=h&&(d.setValueOf("tab-properties","width",i),d.setValueOf("tab-properties","height",h),i=parseInt(i,10),h=parseInt(h,10),j=1,!isNaN(i)&&(!isNaN(h)&&0<h&&0<i)&&(j=i/h),0>=j&&(j=1));"string"==typeof a.getAttribute("src")&&(0===a.getAttribute("src").indexOf("data:")?(n("base64"),p(a.getAttribute("src"))):d.setValueOf("tab-source","url",a.getAttribute("src")));"string"==
11
- typeof a.getAttribute("alt")&&d.setValueOf("tab-properties","alt",a.getAttribute("alt"));"string"==typeof a.getAttribute("hspace")&&d.setValueOf("tab-properties","hmargin",a.getAttribute("hspace"));"string"==typeof a.getAttribute("vspace")&&d.setValueOf("tab-properties","vmargin",a.getAttribute("vspace"));"string"==typeof a.getAttribute("border")&&d.setValueOf("tab-properties","border",a.getAttribute("border"));if("string"==typeof a.getAttribute("align"))switch(a.getAttribute("align")){case "top":case "text-top":d.setValueOf("tab-properties",
12
- "align","top");break;case "baseline":case "bottom":case "text-bottom":d.setValueOf("tab-properties","align","bottom");break;case "left":d.setValueOf("tab-properties","align","left");break;case "right":d.setValueOf("tab-properties","align","right")}d.selectPage("tab-properties")}},onOk:function(){var b="";try{b=CKEDITOR.document.getById(c.id+"previewimage").$.src}catch(f){b=""}if(!("string"!=typeof b||null==b||""===b)){var e=a?a:c.document.createElement("img");e.setAttribute("src",b);e.setAttribute("alt",
13
- d.getValueOf("tab-properties","alt").replace(/^\s+/,"").replace(/\s+$/,""));var b={width:["width","width:#;","integer",1],height:["height","height:#;","integer",1],vmargin:["vspace","margin-top:#;margin-bottom:#;","integer",0],hmargin:["hspace","margin-left:#;margin-right:#;","integer",0],align:["align",""],border:["border","border:# solid black;","integer",0]},i=[],g,h,j,k;for(k in b){h=j=g=d.getValueOf("tab-properties",k);unit="px";if("align"==k)switch(g){case "top":case "bottom":b[k][1]="vertical-align:#;";
14
- break;case "left":case "right":b[k][1]="float:#;";break;default:g=null}"integer"==b[k][2]&&(0<=g.indexOf("%")&&(unit="%"),g=parseInt(g,10),isNaN(g)?g=null:g<b[k][3]&&(g=null),null!=g&&("%"==unit?(j=g+"%",h=g+"%"):(j=g,h=g+"px")));null!=g&&(e.setAttribute(b[k][0],j),i.push(b[k][1].replace(/#/g,h)))}0<i.length&&e.setAttribute("style",i.join(""));a||c.insertElement(e);c.plugins.imageresize&&c.plugins.imageresize.resize(c,e,800,800)}},contents:[{id:"tab-source",label:c.lang.common.generalTab,elements:u},
15
- {id:"tab-properties",label:c.lang.common.advancedTab,elements:[{type:"text",id:"alt",label:c.lang.base64image.alt},{type:"hbox",widths:["15%","15%","70%"],children:[{type:"text",width:"45px",id:"width",label:c.lang.common.width},{type:"text",width:"45px",id:"height",label:c.lang.common.height},{type:"checkbox",id:"lock",label:c.lang.base64image.lockRatio,style:"margin-top:18px;"}]},{type:"hbox",widths:["23%","30%","30%","17%"],style:"margin-top:10px;",children:[{type:"select",id:"align",label:c.lang.common.align,
16
- items:[[c.lang.common.notSet,"none"],[c.lang.common.alignTop,"top"],[c.lang.common.alignBottom,"bottom"],[c.lang.common.alignLeft,"left"],[c.lang.common.alignRight,"right"]]},{type:"text",width:"45px",id:"vmargin",label:c.lang.base64image.vSpace},{type:"text",width:"45px",id:"hmargin",label:c.lang.base64image.hSpace},{type:"text",width:"45px",id:"border",label:c.lang.base64image.border}]}]}]}});
@@ -1,11 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
- CKEDITOR.dialog.add("paste",function(c){function h(a){var b=new CKEDITOR.dom.document(a.document),f=b.getBody(),d=b.getById("cke_actscrpt");d&&d.remove();f.setAttribute("contenteditable",!0);if(CKEDITOR.env.ie&&8>CKEDITOR.env.version)b.getWindow().on("blur",function(){b.$.selection.empty()});b.on("keydown",function(a){var a=a.data,b;switch(a.getKeystroke()){case 27:this.hide();b=1;break;case 9:case CKEDITOR.SHIFT+9:this.changeFocus(1),b=1}b&&a.preventDefault()},this);c.fire("ariaWidget",new CKEDITOR.dom.element(a.frameElement));
6
- b.getWindow().getFrame().removeCustomData("pendingFocus")&&f.focus()}var e=c.lang.clipboard;c.on("pasteDialogCommit",function(a){a.data&&c.fire("paste",{type:"auto",dataValue:a.data})},null,null,1E3);return{title:e.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:350,minHeight:CKEDITOR.env.quirks?250:245,onShow:function(){this.parts.dialog.$.offsetHeight;this.setupContent();this.parts.title.setHtml(this.customTitle||e.title);this.customTitle=null},onLoad:function(){(CKEDITOR.env.ie7Compat||
7
- CKEDITOR.env.ie6Compat)&&"rtl"==c.lang.dir&&this.parts.contents.setStyle("overflow","hidden")},onOk:function(){this.commitContent()},contents:[{id:"general",label:c.lang.common.generalTab,elements:[{type:"html",id:"securityMsg",html:'<div style="white-space:normal;width:340px">'+e.securityMsg+"</div>"},{type:"html",id:"pasteMsg",html:'<div style="white-space:normal;width:340px">'+e.pasteMsg+"</div>"},{type:"html",id:"editing_area",style:"width:100%;height:100%",html:"",focus:function(){var a=this.getInputElement(),
8
- b=a.getFrameDocument().getBody();!b||b.isReadOnly()?a.setCustomData("pendingFocus",1):b.focus()},setup:function(){var a=this.getDialog(),b='<html dir="'+c.config.contentsLangDirection+'" lang="'+(c.config.contentsLanguage||c.langCode)+'"><head><style>body{margin:3px;height:95%}</style></head><body><script id="cke_actscrpt" type="text/javascript">window.parent.CKEDITOR.tools.callFunction('+CKEDITOR.tools.addFunction(h,a)+",this);<\/script></body></html>",f=CKEDITOR.env.air?"javascript:void(0)":CKEDITOR.env.ie?
9
- "javascript:void((function(){"+encodeURIComponent("document.open();("+CKEDITOR.tools.fixDomain+")();document.close();")+'})())"':"",d=CKEDITOR.dom.element.createFromHtml('<iframe class="cke_pasteframe" frameborder="0" allowTransparency="true" src="'+f+'" role="region" aria-label="'+e.pasteArea+'" aria-describedby="'+a.getContentElement("general","pasteMsg").domId+'" aria-multiple="true"></iframe>');d.on("load",function(a){a.removeListener();a=d.getFrameDocument();a.write(b);c.focusManager.add(a.getBody());
10
- CKEDITOR.env.air&&h.call(this,a.getWindow().$)},a);d.setCustomData("dialog",a);a=this.getElement();a.setHtml("");a.append(d);if(CKEDITOR.env.ie){var g=CKEDITOR.dom.element.createFromHtml('<span tabindex="-1" style="position:absolute" role="presentation"></span>');g.on("focus",function(){setTimeout(function(){d.$.contentWindow.focus()})});a.append(g);this.focus=function(){g.focus();this.fire("focus")}}this.getInputElement=function(){return d};CKEDITOR.env.ie&&(a.setStyle("display","block"),a.setStyle("height",
11
- d.$.offsetHeight+2+"px"))},commit:function(){var a=this.getDialog().getParentEditor(),b=this.getInputElement().getFrameDocument().getBody(),c=b.getBogus(),d;c&&c.remove();d=b.getHtml();setTimeout(function(){a.fire("pasteDialogCommit",d)},0)}}]}]}});
@@ -1,6 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
- (function(){CKEDITOR.dialog.add("codeSnippet",function(c){var b=c._.codesnippet.langs,d=c.lang.codesnippet,g=document.documentElement.clientHeight,e=[],f;e.push([c.lang.common.notSet,""]);for(f in b)e.push([b[f],f]);b=CKEDITOR.document.getWindow().getViewPaneSize();c=Math.min(b.width-70,800);b=b.height/1.5;650>g&&(b=g-220);return{title:d.title,minHeight:200,resizable:CKEDITOR.DIALOG_RESIZE_NONE,contents:[{id:"info",elements:[{id:"lang",type:"select",label:d.language,items:e,setup:function(a){a.ready&&
6
- a.data.lang&&this.setValue(a.data.lang);if(CKEDITOR.env.gecko&&(!a.data.lang||!a.ready))this.getInputElement().$.selectedIndex=-1},commit:function(a){a.setData("lang",this.getValue())}},{id:"code",type:"textarea",label:d.codeContents,setup:function(a){this.setValue(a.data.code)},commit:function(a){a.setData("code",this.getValue())},required:!0,validate:CKEDITOR.dialog.validate.notEmpty(d.emptySnippetError),inputStyle:"cursor:auto;width:"+c+"px;height:"+b+"px;tab-size:4;text-align:left;","class":"cke_source"}]}]}})})();