rwiki 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1121) hide show
  1. data/.rspec +2 -0
  2. data/CHANGELOG.textile +21 -0
  3. data/Gemfile +40 -23
  4. data/Gemfile.lock +181 -0
  5. data/README.textile +0 -1
  6. data/Rakefile +28 -23
  7. data/bin/rwiki +15 -5
  8. data/bin/rwiki-migrate +11 -0
  9. data/config.ru +4 -3
  10. data/config/assets.yml +52 -0
  11. data/config/config.yml.example +1 -1
  12. data/config/deploy.rb +5 -8
  13. data/features/create_page.feature +46 -43
  14. data/features/delete_page.feature +17 -19
  15. data/features/display_page.feature +19 -21
  16. data/features/edit_page.feature +76 -0
  17. data/features/fuzzy_finder.feature +2 -3
  18. data/features/history.feature +27 -48
  19. data/features/internal_links.feature +10 -0
  20. data/features/loading_mask.feature +18 -0
  21. data/features/move_page.feature +36 -0
  22. data/features/rename_node.feature +78 -0
  23. data/features/step_definitions/common_steps.rb +69 -13
  24. data/features/step_definitions/dialog_box_steps.rb +1 -1
  25. data/features/step_definitions/history_steps.rb +4 -0
  26. data/features/step_definitions/tab_panel_steps.rb +12 -2
  27. data/features/step_definitions/toolbar_steps.rb +7 -0
  28. data/features/step_definitions/tree_panel_steps.rb +69 -37
  29. data/features/support/env.rb +22 -12
  30. data/features/support/paths.rb +1 -1
  31. data/features/tab_contextmenu.feature +44 -0
  32. data/features/tab_panel.feature +17 -31
  33. data/features/tree_panel.feature +20 -17
  34. data/lib/rwiki.rb +15 -7
  35. data/lib/rwiki/app.rb +68 -44
  36. data/lib/rwiki/configuration.rb +24 -12
  37. data/lib/rwiki/page.rb +190 -0
  38. data/lib/rwiki/rake.rb +5 -0
  39. data/lib/rwiki/rake/migrate.rb +73 -0
  40. data/lib/rwiki/utils.rb +6 -0
  41. data/lib/rwiki/utils/file_helper.rb +117 -0
  42. data/lib/rwiki/utils/textile_helper.rb +69 -0
  43. data/lib/rwiki/version.rb +10 -0
  44. data/{test/fixtures/pages/Info/dummy → log/.gitkeep} +0 -0
  45. data/public/{resources/ext/images → images/vendor/ext}/access/box/corners-blue.gif +0 -0
  46. data/public/{resources/ext/images → images/vendor/ext}/access/box/corners.gif +0 -0
  47. data/public/{resources/ext/images → images/vendor/ext}/access/box/l-blue.gif +0 -0
  48. data/public/{resources/ext/images → images/vendor/ext}/access/box/l.gif +0 -0
  49. data/public/{resources/ext/images → images/vendor/ext}/access/box/r-blue.gif +0 -0
  50. data/public/{resources/ext/images → images/vendor/ext}/access/box/r.gif +0 -0
  51. data/public/{resources/ext/images → images/vendor/ext}/access/box/tb-blue.gif +0 -0
  52. data/public/{resources/ext/images → images/vendor/ext}/access/box/tb.gif +0 -0
  53. data/public/{resources/ext/images → images/vendor/ext}/access/button/arrow.gif +0 -0
  54. data/public/{resources/ext/images → images/vendor/ext}/access/button/btn.gif +0 -0
  55. data/public/{resources/ext/images → images/vendor/ext}/access/button/group-cs.gif +0 -0
  56. data/public/{resources/ext/images → images/vendor/ext}/access/button/group-lr.gif +0 -0
  57. data/public/{resources/ext/images → images/vendor/ext}/access/button/group-tb.gif +0 -0
  58. data/public/{resources/ext/images → images/vendor/ext}/access/button/s-arrow-b-noline.gif +0 -0
  59. data/public/{resources/ext/images → images/vendor/ext}/access/button/s-arrow-b.gif +0 -0
  60. data/public/{resources/ext/images → images/vendor/ext}/access/button/s-arrow-bo.gif +0 -0
  61. data/public/{resources/ext/images → images/vendor/ext}/access/button/s-arrow-noline.gif +0 -0
  62. data/public/{resources/ext/images → images/vendor/ext}/access/button/s-arrow-o.gif +0 -0
  63. data/public/{resources/ext/images → images/vendor/ext}/access/button/s-arrow.gif +0 -0
  64. data/public/{resources/ext/images → images/vendor/ext}/access/editor/tb-sprite.gif +0 -0
  65. data/public/{resources/ext/images → images/vendor/ext}/access/form/checkbox.gif +0 -0
  66. data/public/{resources/ext/images → images/vendor/ext}/access/form/clear-trigger.gif +0 -0
  67. data/public/{resources/ext/images → images/vendor/ext}/access/form/clear-trigger.psd +0 -0
  68. data/public/{resources/ext/images → images/vendor/ext}/access/form/date-trigger.gif +0 -0
  69. data/public/{resources/ext/images → images/vendor/ext}/access/form/date-trigger.psd +0 -0
  70. data/public/{resources/ext/images → images/vendor/ext}/access/form/error-tip-corners.gif +0 -0
  71. data/public/{resources/ext/images → images/vendor/ext}/access/form/exclamation.gif +0 -0
  72. data/public/{resources/ext/images → images/vendor/ext}/access/form/radio.gif +0 -0
  73. data/public/{resources/ext/images → images/vendor/ext}/access/form/search-trigger.gif +0 -0
  74. data/public/{resources/ext/images → images/vendor/ext}/access/form/search-trigger.psd +0 -0
  75. data/public/{resources/ext/images → images/vendor/ext}/access/form/text-bg.gif +0 -0
  76. data/public/{resources/ext/images → images/vendor/ext}/access/form/trigger-tpl.gif +0 -0
  77. data/public/{resources/ext/images → images/vendor/ext}/access/form/trigger.gif +0 -0
  78. data/public/{resources/ext/images → images/vendor/ext}/access/form/trigger.psd +0 -0
  79. data/public/{resources/ext/images → images/vendor/ext}/access/grid/arrow-left-white.gif +0 -0
  80. data/public/{resources/ext/images → images/vendor/ext}/access/grid/arrow-right-white.gif +0 -0
  81. data/public/{resources/ext/images → images/vendor/ext}/access/grid/col-move-bottom.gif +0 -0
  82. data/public/{resources/ext/images → images/vendor/ext}/access/grid/col-move-top.gif +0 -0
  83. data/public/{resources/ext/images → images/vendor/ext}/access/grid/columns.gif +0 -0
  84. data/public/{resources/ext/images → images/vendor/ext}/access/grid/dirty.gif +0 -0
  85. data/public/{resources/ext/images → images/vendor/ext}/access/grid/done.gif +0 -0
  86. data/public/{resources/ext/images → images/vendor/ext}/access/grid/drop-no.gif +0 -0
  87. data/public/{resources/ext/images → images/vendor/ext}/access/grid/drop-yes.gif +0 -0
  88. data/public/{resources/ext/images → images/vendor/ext}/access/grid/footer-bg.gif +0 -0
  89. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid-blue-hd.gif +0 -0
  90. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid-blue-split.gif +0 -0
  91. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid-hrow.gif +0 -0
  92. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid-loading.gif +0 -0
  93. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid-split.gif +0 -0
  94. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid-vista-hd.gif +0 -0
  95. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid3-hd-btn.gif +0 -0
  96. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid3-hrow-over.gif +0 -0
  97. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid3-hrow.gif +0 -0
  98. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid3-special-col-bg.gif +0 -0
  99. data/public/{resources/ext/images → images/vendor/ext}/access/grid/grid3-special-col-sel-bg.gif +0 -0
  100. data/public/{resources/ext/images → images/vendor/ext}/access/grid/group-by.gif +0 -0
  101. data/public/{resources/ext/images → images/vendor/ext}/access/grid/group-collapse.gif +0 -0
  102. data/public/{resources/ext/images → images/vendor/ext}/access/grid/group-expand-sprite.gif +0 -0
  103. data/public/{resources/ext/images → images/vendor/ext}/access/grid/group-expand.gif +0 -0
  104. data/public/{resources/ext/images → images/vendor/ext}/access/grid/hd-pop.gif +0 -0
  105. data/public/{resources/ext/images → images/vendor/ext}/access/grid/hmenu-asc.gif +0 -0
  106. data/public/{resources/ext/images → images/vendor/ext}/access/grid/hmenu-desc.gif +0 -0
  107. data/public/{resources/ext/images → images/vendor/ext}/access/grid/hmenu-lock.gif +0 -0
  108. data/public/{resources/ext/images → images/vendor/ext}/access/grid/hmenu-lock.png +0 -0
  109. data/public/{resources/ext/images → images/vendor/ext}/access/grid/hmenu-unlock.gif +0 -0
  110. data/public/{resources/ext/images → images/vendor/ext}/access/grid/hmenu-unlock.png +0 -0
  111. data/public/{resources/ext/images → images/vendor/ext}/access/grid/invalid_line.gif +0 -0
  112. data/public/{resources/ext/images → images/vendor/ext}/access/grid/loading.gif +0 -0
  113. data/public/{resources/ext/images → images/vendor/ext}/access/grid/mso-hd.gif +0 -0
  114. data/public/{resources/ext/images → images/vendor/ext}/access/grid/nowait.gif +0 -0
  115. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-first-disabled.gif +0 -0
  116. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-first.gif +0 -0
  117. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-last-disabled.gif +0 -0
  118. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-last.gif +0 -0
  119. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-next-disabled.gif +0 -0
  120. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-next.gif +0 -0
  121. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-prev-disabled.gif +0 -0
  122. data/public/{resources/ext/images → images/vendor/ext}/access/grid/page-prev.gif +0 -0
  123. data/public/{resources/ext/images → images/vendor/ext}/access/grid/pick-button.gif +0 -0
  124. data/public/{resources/ext/images → images/vendor/ext}/access/grid/refresh.gif +0 -0
  125. data/public/{resources/ext/images → images/vendor/ext}/access/grid/row-check-sprite.gif +0 -0
  126. data/public/{resources/ext/images → images/vendor/ext}/access/grid/row-expand-sprite.gif +0 -0
  127. data/public/{resources/ext/images → images/vendor/ext}/access/grid/row-over.gif +0 -0
  128. data/public/{resources/ext/images → images/vendor/ext}/access/grid/row-sel.gif +0 -0
  129. data/public/{resources/ext/images → images/vendor/ext}/access/grid/sort-hd.gif +0 -0
  130. data/public/{resources/ext/images → images/vendor/ext}/access/grid/sort_asc.gif +0 -0
  131. data/public/{resources/ext/images → images/vendor/ext}/access/grid/sort_desc.gif +0 -0
  132. data/public/{resources/ext/images → images/vendor/ext}/access/grid/wait.gif +0 -0
  133. data/public/{resources/ext/images → images/vendor/ext}/access/menu/checked.gif +0 -0
  134. data/public/{resources/ext/images → images/vendor/ext}/access/menu/group-checked.gif +0 -0
  135. data/public/{resources/ext/images → images/vendor/ext}/access/menu/item-over.gif +0 -0
  136. data/public/{resources/ext/images → images/vendor/ext}/access/menu/menu-parent.gif +0 -0
  137. data/public/{resources/ext/images → images/vendor/ext}/access/menu/menu.gif +0 -0
  138. data/public/{resources/ext/images → images/vendor/ext}/access/menu/unchecked.gif +0 -0
  139. data/public/{resources/ext/images → images/vendor/ext}/access/panel/corners-sprite.gif +0 -0
  140. data/public/{resources/ext/images → images/vendor/ext}/access/panel/left-right.gif +0 -0
  141. data/public/{resources/ext/images → images/vendor/ext}/access/panel/light-hd.gif +0 -0
  142. data/public/{resources/ext/images → images/vendor/ext}/access/panel/tool-sprite-tpl.gif +0 -0
  143. data/public/{resources/ext/images → images/vendor/ext}/access/panel/tool-sprites.gif +0 -0
  144. data/public/{resources/ext/images → images/vendor/ext}/access/panel/tools-sprites-trans.gif +0 -0
  145. data/public/{resources/ext/images → images/vendor/ext}/access/panel/top-bottom.gif +0 -0
  146. data/public/{resources/ext/images → images/vendor/ext}/access/panel/white-corners-sprite.gif +0 -0
  147. data/public/{resources/ext/images → images/vendor/ext}/access/panel/white-left-right.gif +0 -0
  148. data/public/{resources/ext/images → images/vendor/ext}/access/panel/white-top-bottom.gif +0 -0
  149. data/public/{resources/ext/images → images/vendor/ext}/access/progress/progress-bg.gif +0 -0
  150. data/public/{resources/ext/images → images/vendor/ext}/access/qtip/close.gif +0 -0
  151. data/public/{resources/ext/images → images/vendor/ext}/access/qtip/tip-anchor-sprite.gif +0 -0
  152. data/public/{resources/ext/images → images/vendor/ext}/access/qtip/tip-sprite.gif +0 -0
  153. data/public/{resources/ext/images → images/vendor/ext}/access/shared/glass-bg.gif +0 -0
  154. data/public/{resources/ext/images → images/vendor/ext}/access/shared/hd-sprite.gif +0 -0
  155. data/public/{resources/ext/images → images/vendor/ext}/access/shared/left-btn.gif +0 -0
  156. data/public/{resources/ext/images → images/vendor/ext}/access/shared/right-btn.gif +0 -0
  157. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/e-handle-dark.gif +0 -0
  158. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/e-handle.gif +0 -0
  159. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/ne-handle-dark.gif +0 -0
  160. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/ne-handle.gif +0 -0
  161. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/nw-handle-dark.gif +0 -0
  162. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/nw-handle.gif +0 -0
  163. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/s-handle-dark.gif +0 -0
  164. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/s-handle.gif +0 -0
  165. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/se-handle-dark.gif +0 -0
  166. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/se-handle.gif +0 -0
  167. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/square.gif +0 -0
  168. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/sw-handle-dark.gif +0 -0
  169. data/public/{resources/ext/images → images/vendor/ext}/access/sizer/sw-handle.gif +0 -0
  170. data/public/{resources/ext/images → images/vendor/ext}/access/slider/slider-bg.png +0 -0
  171. data/public/{resources/ext/images → images/vendor/ext}/access/slider/slider-thumb.png +0 -0
  172. data/public/{resources/ext/images → images/vendor/ext}/access/slider/slider-v-bg.png +0 -0
  173. data/public/{resources/ext/images → images/vendor/ext}/access/slider/slider-v-thumb.png +0 -0
  174. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/scroll-left.gif +0 -0
  175. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/scroll-right.gif +0 -0
  176. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tab-btm-inactive-left-bg.gif +0 -0
  177. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tab-btm-inactive-right-bg.gif +0 -0
  178. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tab-btm-left-bg.gif +0 -0
  179. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tab-btm-right-bg.gif +0 -0
  180. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tab-close.gif +0 -0
  181. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tab-strip-bg.gif +0 -0
  182. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tab-strip-btm-bg.gif +0 -0
  183. data/public/{resources/ext/images → images/vendor/ext}/access/tabs/tabs-sprite.gif +0 -0
  184. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/bg.gif +0 -0
  185. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/btn-arrow-light.gif +0 -0
  186. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/btn-arrow.gif +0 -0
  187. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/btn-over-bg.gif +0 -0
  188. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/gray-bg.gif +0 -0
  189. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/more.gif +0 -0
  190. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/s-arrow-bo.gif +0 -0
  191. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/tb-btn-sprite.gif +0 -0
  192. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/tb-xl-btn-sprite.gif +0 -0
  193. data/public/{resources/ext/images → images/vendor/ext}/access/toolbar/tb-xl-sep.gif +0 -0
  194. data/public/{resources/ext/images → images/vendor/ext}/access/tree/arrows.gif +0 -0
  195. data/public/{resources/ext/images → images/vendor/ext}/access/tree/drop-add.gif +0 -0
  196. data/public/{resources/ext/images → images/vendor/ext}/access/tree/drop-between.gif +0 -0
  197. data/public/{resources/ext/images → images/vendor/ext}/access/tree/drop-no.gif +0 -0
  198. data/public/{resources/ext/images → images/vendor/ext}/access/tree/drop-over.gif +0 -0
  199. data/public/{resources/ext/images → images/vendor/ext}/access/tree/drop-under.gif +0 -0
  200. data/public/{resources/ext/images → images/vendor/ext}/access/tree/drop-yes.gif +0 -0
  201. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-end-minus-nl.gif +0 -0
  202. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-end-minus.gif +0 -0
  203. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-end-plus-nl.gif +0 -0
  204. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-end-plus.gif +0 -0
  205. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-end.gif +0 -0
  206. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-line.gif +0 -0
  207. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-minus-nl.gif +0 -0
  208. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-minus.gif +0 -0
  209. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-plus-nl.gif +0 -0
  210. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow-plus.gif +0 -0
  211. data/public/{resources/ext/images → images/vendor/ext}/access/tree/elbow.gif +0 -0
  212. data/public/{resources/ext/images → images/vendor/ext}/access/tree/folder-open.gif +0 -0
  213. data/public/{resources/ext/images → images/vendor/ext}/access/tree/folder.gif +0 -0
  214. data/public/{resources/ext/images → images/vendor/ext}/access/tree/leaf.gif +0 -0
  215. data/public/{resources/ext/images → images/vendor/ext}/access/tree/loading.gif +0 -0
  216. data/public/{resources/ext/images → images/vendor/ext}/access/tree/s.gif +0 -0
  217. data/public/{resources/ext/images → images/vendor/ext}/access/window/icon-error.gif +0 -0
  218. data/public/{resources/ext/images → images/vendor/ext}/access/window/icon-info.gif +0 -0
  219. data/public/{resources/ext/images → images/vendor/ext}/access/window/icon-question.gif +0 -0
  220. data/public/{resources/ext/images → images/vendor/ext}/access/window/icon-warning.gif +0 -0
  221. data/public/{resources/ext/images → images/vendor/ext}/access/window/left-corners.png +0 -0
  222. data/public/{resources/ext/images → images/vendor/ext}/access/window/left-right.png +0 -0
  223. data/public/{resources/ext/images → images/vendor/ext}/access/window/right-corners.png +0 -0
  224. data/public/{resources/ext/images → images/vendor/ext}/access/window/top-bottom.png +0 -0
  225. data/public/{resources/ext/images → images/vendor/ext}/default/box/corners-blue.gif +0 -0
  226. data/public/{resources/ext/images → images/vendor/ext}/default/box/corners.gif +0 -0
  227. data/public/{resources/ext/images → images/vendor/ext}/default/box/l-blue.gif +0 -0
  228. data/public/{resources/ext/images → images/vendor/ext}/default/box/l.gif +0 -0
  229. data/public/{resources/ext/images → images/vendor/ext}/default/box/r-blue.gif +0 -0
  230. data/public/{resources/ext/images → images/vendor/ext}/default/box/r.gif +0 -0
  231. data/public/{resources/ext/images → images/vendor/ext}/default/box/tb-blue.gif +0 -0
  232. data/public/{resources/ext/images → images/vendor/ext}/default/box/tb.gif +0 -0
  233. data/public/{resources/ext/images → images/vendor/ext}/default/button/arrow.gif +0 -0
  234. data/public/{resources/ext/images → images/vendor/ext}/default/button/btn.gif +0 -0
  235. data/public/{resources/ext/images → images/vendor/ext}/default/button/group-cs.gif +0 -0
  236. data/public/{resources/ext/images → images/vendor/ext}/default/button/group-lr.gif +0 -0
  237. data/public/{resources/ext/images → images/vendor/ext}/default/button/group-tb.gif +0 -0
  238. data/public/{resources/ext/images → images/vendor/ext}/default/button/s-arrow-b-noline.gif +0 -0
  239. data/public/{resources/ext/images → images/vendor/ext}/default/button/s-arrow-b.gif +0 -0
  240. data/public/{resources/ext/images → images/vendor/ext}/default/button/s-arrow-bo.gif +0 -0
  241. data/public/{resources/ext/images → images/vendor/ext}/default/button/s-arrow-noline.gif +0 -0
  242. data/public/{resources/ext/images → images/vendor/ext}/default/button/s-arrow-o.gif +0 -0
  243. data/public/{resources/ext/images → images/vendor/ext}/default/button/s-arrow.gif +0 -0
  244. data/public/{resources/ext/images → images/vendor/ext}/default/dd/drop-add.gif +0 -0
  245. data/public/{resources/ext/images → images/vendor/ext}/default/dd/drop-no.gif +0 -0
  246. data/public/{resources/ext/images → images/vendor/ext}/default/dd/drop-yes.gif +0 -0
  247. data/public/{resources/ext/images → images/vendor/ext}/default/editor/tb-sprite.gif +0 -0
  248. data/public/{resources/ext/images → images/vendor/ext}/default/form/checkbox.gif +0 -0
  249. data/public/{resources/ext/images → images/vendor/ext}/default/form/clear-trigger.gif +0 -0
  250. data/public/{resources/ext/images → images/vendor/ext}/default/form/clear-trigger.psd +0 -0
  251. data/public/{resources/ext/images → images/vendor/ext}/default/form/date-trigger.gif +0 -0
  252. data/public/{resources/ext/images → images/vendor/ext}/default/form/date-trigger.psd +0 -0
  253. data/public/{resources/ext/images → images/vendor/ext}/default/form/error-tip-corners.gif +0 -0
  254. data/public/{resources/ext/images → images/vendor/ext}/default/form/exclamation.gif +0 -0
  255. data/public/{resources/ext/images → images/vendor/ext}/default/form/radio.gif +0 -0
  256. data/public/{resources/ext/images → images/vendor/ext}/default/form/search-trigger.gif +0 -0
  257. data/public/{resources/ext/images → images/vendor/ext}/default/form/search-trigger.psd +0 -0
  258. data/public/{resources/ext/images → images/vendor/ext}/default/form/text-bg.gif +0 -0
  259. data/public/{resources/ext/images → images/vendor/ext}/default/form/trigger-square.gif +0 -0
  260. data/public/{resources/ext/images → images/vendor/ext}/default/form/trigger-square.psd +0 -0
  261. data/public/{resources/ext/images → images/vendor/ext}/default/form/trigger-tpl.gif +0 -0
  262. data/public/{resources/ext/images → images/vendor/ext}/default/form/trigger.gif +0 -0
  263. data/public/{resources/ext/images → images/vendor/ext}/default/form/trigger.psd +0 -0
  264. data/public/{resources/ext/images → images/vendor/ext}/default/gradient-bg.gif +0 -0
  265. data/public/{resources/ext/images → images/vendor/ext}/default/grid/arrow-left-white.gif +0 -0
  266. data/public/{resources/ext/images → images/vendor/ext}/default/grid/arrow-right-white.gif +0 -0
  267. data/public/{resources/ext/images → images/vendor/ext}/default/grid/col-move-bottom.gif +0 -0
  268. data/public/{resources/ext/images → images/vendor/ext}/default/grid/col-move-top.gif +0 -0
  269. data/public/{resources/ext/images → images/vendor/ext}/default/grid/columns.gif +0 -0
  270. data/public/{resources/ext/images → images/vendor/ext}/default/grid/dirty.gif +0 -0
  271. data/public/{resources/ext/images → images/vendor/ext}/default/grid/done.gif +0 -0
  272. data/public/{resources/ext/images → images/vendor/ext}/default/grid/drop-no.gif +0 -0
  273. data/public/{resources/ext/images → images/vendor/ext}/default/grid/drop-yes.gif +0 -0
  274. data/public/{resources/ext/images → images/vendor/ext}/default/grid/footer-bg.gif +0 -0
  275. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid-blue-hd.gif +0 -0
  276. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid-blue-split.gif +0 -0
  277. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid-hrow.gif +0 -0
  278. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid-loading.gif +0 -0
  279. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid-split.gif +0 -0
  280. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid-vista-hd.gif +0 -0
  281. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid3-hd-btn.gif +0 -0
  282. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid3-hrow-over.gif +0 -0
  283. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid3-hrow.gif +0 -0
  284. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid3-rowheader.gif +0 -0
  285. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid3-special-col-bg.gif +0 -0
  286. data/public/{resources/ext/images → images/vendor/ext}/default/grid/grid3-special-col-sel-bg.gif +0 -0
  287. data/public/{resources/ext/images → images/vendor/ext}/default/grid/group-by.gif +0 -0
  288. data/public/{resources/ext/images → images/vendor/ext}/default/grid/group-collapse.gif +0 -0
  289. data/public/{resources/ext/images → images/vendor/ext}/default/grid/group-expand-sprite.gif +0 -0
  290. data/public/{resources/ext/images → images/vendor/ext}/default/grid/group-expand.gif +0 -0
  291. data/public/{resources/ext/images → images/vendor/ext}/default/grid/hd-pop.gif +0 -0
  292. data/public/{resources/ext/images → images/vendor/ext}/default/grid/hmenu-asc.gif +0 -0
  293. data/public/{resources/ext/images → images/vendor/ext}/default/grid/hmenu-desc.gif +0 -0
  294. data/public/{resources/ext/images → images/vendor/ext}/default/grid/hmenu-lock.gif +0 -0
  295. data/public/{resources/ext/images → images/vendor/ext}/default/grid/hmenu-lock.png +0 -0
  296. data/public/{resources/ext/images → images/vendor/ext}/default/grid/hmenu-unlock.gif +0 -0
  297. data/public/{resources/ext/images → images/vendor/ext}/default/grid/hmenu-unlock.png +0 -0
  298. data/public/{resources/ext/images → images/vendor/ext}/default/grid/invalid_line.gif +0 -0
  299. data/public/{resources/ext/images → images/vendor/ext}/default/grid/loading.gif +0 -0
  300. data/public/{resources/ext/images → images/vendor/ext}/default/grid/mso-hd.gif +0 -0
  301. data/public/{resources/ext/images → images/vendor/ext}/default/grid/nowait.gif +0 -0
  302. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-first-disabled.gif +0 -0
  303. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-first.gif +0 -0
  304. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-last-disabled.gif +0 -0
  305. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-last.gif +0 -0
  306. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-next-disabled.gif +0 -0
  307. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-next.gif +0 -0
  308. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-prev-disabled.gif +0 -0
  309. data/public/{resources/ext/images → images/vendor/ext}/default/grid/page-prev.gif +0 -0
  310. data/public/{resources/ext/images → images/vendor/ext}/default/grid/pick-button.gif +0 -0
  311. data/public/{resources/ext/images → images/vendor/ext}/default/grid/refresh-disabled.gif +0 -0
  312. data/public/{resources/ext/images → images/vendor/ext}/default/grid/refresh.gif +0 -0
  313. data/public/{resources/ext/images → images/vendor/ext}/default/grid/row-check-sprite.gif +0 -0
  314. data/public/{resources/ext/images → images/vendor/ext}/default/grid/row-expand-sprite.gif +0 -0
  315. data/public/{resources/ext/images → images/vendor/ext}/default/grid/row-over.gif +0 -0
  316. data/public/{resources/ext/images → images/vendor/ext}/default/grid/row-sel.gif +0 -0
  317. data/public/{resources/ext/images → images/vendor/ext}/default/grid/sort-hd.gif +0 -0
  318. data/public/{resources/ext/images → images/vendor/ext}/default/grid/sort_asc.gif +0 -0
  319. data/public/{resources/ext/images → images/vendor/ext}/default/grid/sort_desc.gif +0 -0
  320. data/public/{resources/ext/images → images/vendor/ext}/default/grid/wait.gif +0 -0
  321. data/public/{resources/ext/images → images/vendor/ext}/default/layout/collapse.gif +0 -0
  322. data/public/{resources/ext/images → images/vendor/ext}/default/layout/expand.gif +0 -0
  323. data/public/{resources/ext/images → images/vendor/ext}/default/layout/gradient-bg.gif +0 -0
  324. data/public/{resources/ext/images → images/vendor/ext}/default/layout/mini-bottom.gif +0 -0
  325. data/public/{resources/ext/images → images/vendor/ext}/default/layout/mini-left.gif +0 -0
  326. data/public/{resources/ext/images → images/vendor/ext}/default/layout/mini-right.gif +0 -0
  327. data/public/{resources/ext/images → images/vendor/ext}/default/layout/mini-top.gif +0 -0
  328. data/public/{resources/ext/images → images/vendor/ext}/default/layout/ns-collapse.gif +0 -0
  329. data/public/{resources/ext/images → images/vendor/ext}/default/layout/ns-expand.gif +0 -0
  330. data/public/{resources/ext/images → images/vendor/ext}/default/layout/panel-close.gif +0 -0
  331. data/public/{resources/ext/images → images/vendor/ext}/default/layout/panel-title-bg.gif +0 -0
  332. data/public/{resources/ext/images → images/vendor/ext}/default/layout/panel-title-light-bg.gif +0 -0
  333. data/public/{resources/ext/images → images/vendor/ext}/default/layout/stick.gif +0 -0
  334. data/public/{resources/ext/images → images/vendor/ext}/default/layout/stuck.gif +0 -0
  335. data/public/{resources/ext/images → images/vendor/ext}/default/layout/tab-close-on.gif +0 -0
  336. data/public/{resources/ext/images → images/vendor/ext}/default/layout/tab-close.gif +0 -0
  337. data/public/{resources/ext/images → images/vendor/ext}/default/menu/checked.gif +0 -0
  338. data/public/{resources/ext/images → images/vendor/ext}/default/menu/group-checked.gif +0 -0
  339. data/public/{resources/ext/images → images/vendor/ext}/default/menu/item-over.gif +0 -0
  340. data/public/{resources/ext/images → images/vendor/ext}/default/menu/menu-parent.gif +0 -0
  341. data/public/{resources/ext/images → images/vendor/ext}/default/menu/menu.gif +0 -0
  342. data/public/{resources/ext/images → images/vendor/ext}/default/menu/unchecked.gif +0 -0
  343. data/public/{resources/ext/images → images/vendor/ext}/default/panel/corners-sprite.gif +0 -0
  344. data/public/{resources/ext/images → images/vendor/ext}/default/panel/left-right.gif +0 -0
  345. data/public/{resources/ext/images → images/vendor/ext}/default/panel/light-hd.gif +0 -0
  346. data/public/{resources/ext/images → images/vendor/ext}/default/panel/tool-sprite-tpl.gif +0 -0
  347. data/public/{resources/ext/images/yourtheme → images/vendor/ext/default}/panel/tool-sprites.gif +0 -0
  348. data/public/{resources/ext/images → images/vendor/ext}/default/panel/tools-sprites-trans.gif +0 -0
  349. data/public/{resources/ext/images → images/vendor/ext}/default/panel/top-bottom.gif +0 -0
  350. data/public/{resources/ext/images → images/vendor/ext}/default/panel/top-bottom.png +0 -0
  351. data/public/{resources/ext/images → images/vendor/ext}/default/panel/white-corners-sprite.gif +0 -0
  352. data/public/{resources/ext/images → images/vendor/ext}/default/panel/white-left-right.gif +0 -0
  353. data/public/{resources/ext/images → images/vendor/ext}/default/panel/white-top-bottom.gif +0 -0
  354. data/public/{resources/ext/images → images/vendor/ext}/default/progress/progress-bg.gif +0 -0
  355. data/public/{resources/ext/images → images/vendor/ext}/default/qtip/bg.gif +0 -0
  356. data/public/{resources/ext/images → images/vendor/ext}/default/qtip/close.gif +0 -0
  357. data/public/{resources/ext/images → images/vendor/ext}/default/qtip/tip-anchor-sprite.gif +0 -0
  358. data/public/{resources/ext/images → images/vendor/ext}/default/qtip/tip-sprite.gif +0 -0
  359. data/public/{resources/ext/images → images/vendor/ext}/default/s.gif +0 -0
  360. data/public/{resources/ext/images → images/vendor/ext}/default/shadow-c.png +0 -0
  361. data/public/{resources/ext/images → images/vendor/ext}/default/shadow-lr.png +0 -0
  362. data/public/{resources/ext/images → images/vendor/ext}/default/shadow.png +0 -0
  363. data/public/{resources/ext/images → images/vendor/ext}/default/shared/blue-loading.gif +0 -0
  364. data/public/{resources/ext/images → images/vendor/ext}/default/shared/calendar.gif +0 -0
  365. data/public/{resources/ext/images → images/vendor/ext}/default/shared/glass-bg.gif +0 -0
  366. data/public/{resources/ext/images → images/vendor/ext}/default/shared/hd-sprite.gif +0 -0
  367. data/public/{resources/ext/images → images/vendor/ext}/default/shared/large-loading.gif +0 -0
  368. data/public/{resources/ext/images → images/vendor/ext}/default/shared/left-btn.gif +0 -0
  369. data/public/{resources/ext/images → images/vendor/ext}/default/shared/loading-balls.gif +0 -0
  370. data/public/{resources/ext/images → images/vendor/ext}/default/shared/right-btn.gif +0 -0
  371. data/public/{resources/ext/images → images/vendor/ext}/default/shared/warning.gif +0 -0
  372. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/e-handle-dark.gif +0 -0
  373. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/e-handle.gif +0 -0
  374. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/ne-handle-dark.gif +0 -0
  375. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/ne-handle.gif +0 -0
  376. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/nw-handle-dark.gif +0 -0
  377. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/nw-handle.gif +0 -0
  378. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/s-handle-dark.gif +0 -0
  379. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/s-handle.gif +0 -0
  380. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/se-handle-dark.gif +0 -0
  381. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/se-handle.gif +0 -0
  382. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/square.gif +0 -0
  383. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/sw-handle-dark.gif +0 -0
  384. data/public/{resources/ext/images → images/vendor/ext}/default/sizer/sw-handle.gif +0 -0
  385. data/public/{resources/ext/images → images/vendor/ext}/default/slider/slider-bg.png +0 -0
  386. data/public/{resources/ext/images → images/vendor/ext}/default/slider/slider-thumb.png +0 -0
  387. data/public/{resources/ext/images → images/vendor/ext}/default/slider/slider-v-bg.png +0 -0
  388. data/public/{resources/ext/images → images/vendor/ext}/default/slider/slider-v-thumb.png +0 -0
  389. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/scroll-left.gif +0 -0
  390. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/scroll-right.gif +0 -0
  391. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/scroller-bg.gif +0 -0
  392. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
  393. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
  394. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-btm-left-bg.gif +0 -0
  395. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-btm-over-left-bg.gif +0 -0
  396. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-btm-over-right-bg.gif +0 -0
  397. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-btm-right-bg.gif +0 -0
  398. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-close.gif +0 -0
  399. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-strip-bg.gif +0 -0
  400. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-strip-bg.png +0 -0
  401. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tab-strip-btm-bg.gif +0 -0
  402. data/public/{resources/ext/images → images/vendor/ext}/default/tabs/tabs-sprite.gif +0 -0
  403. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/bg.gif +0 -0
  404. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/btn-arrow-light.gif +0 -0
  405. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/btn-arrow.gif +0 -0
  406. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/btn-over-bg.gif +0 -0
  407. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/gray-bg.gif +0 -0
  408. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/more.gif +0 -0
  409. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/tb-bg.gif +0 -0
  410. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/tb-btn-sprite.gif +0 -0
  411. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/tb-xl-btn-sprite.gif +0 -0
  412. data/public/{resources/ext/images → images/vendor/ext}/default/toolbar/tb-xl-sep.gif +0 -0
  413. data/public/{resources/ext/images → images/vendor/ext}/default/tree/arrows.gif +0 -0
  414. data/public/{resources/ext/images → images/vendor/ext}/default/tree/drop-add.gif +0 -0
  415. data/public/{resources/ext/images → images/vendor/ext}/default/tree/drop-between.gif +0 -0
  416. data/public/{resources/ext/images → images/vendor/ext}/default/tree/drop-no.gif +0 -0
  417. data/public/{resources/ext/images → images/vendor/ext}/default/tree/drop-over.gif +0 -0
  418. data/public/{resources/ext/images → images/vendor/ext}/default/tree/drop-under.gif +0 -0
  419. data/public/{resources/ext/images → images/vendor/ext}/default/tree/drop-yes.gif +0 -0
  420. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-end-minus-nl.gif +0 -0
  421. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-end-minus.gif +0 -0
  422. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-end-plus-nl.gif +0 -0
  423. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-end-plus.gif +0 -0
  424. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-end.gif +0 -0
  425. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-line.gif +0 -0
  426. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-minus-nl.gif +0 -0
  427. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-minus.gif +0 -0
  428. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-plus-nl.gif +0 -0
  429. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow-plus.gif +0 -0
  430. data/public/{resources/ext/images → images/vendor/ext}/default/tree/elbow.gif +0 -0
  431. data/public/{resources/ext/images → images/vendor/ext}/default/tree/folder-open.gif +0 -0
  432. data/public/{resources/ext/images → images/vendor/ext}/default/tree/folder.gif +0 -0
  433. data/public/{resources/ext/images → images/vendor/ext}/default/tree/leaf.gif +0 -0
  434. data/public/{resources/ext/images → images/vendor/ext}/default/tree/loading.gif +0 -0
  435. data/public/{resources/ext/images → images/vendor/ext}/default/tree/s.gif +0 -0
  436. data/public/{resources/ext/images → images/vendor/ext}/default/window/icon-error.gif +0 -0
  437. data/public/{resources/ext/images → images/vendor/ext}/default/window/icon-info.gif +0 -0
  438. data/public/{resources/ext/images → images/vendor/ext}/default/window/icon-question.gif +0 -0
  439. data/public/{resources/ext/images → images/vendor/ext}/default/window/icon-warning.gif +0 -0
  440. data/public/{resources/ext/images → images/vendor/ext}/default/window/left-corners.png +0 -0
  441. data/public/{resources/ext/images → images/vendor/ext}/default/window/left-corners.psd +0 -0
  442. data/public/{resources/ext/images → images/vendor/ext}/default/window/left-right.png +0 -0
  443. data/public/{resources/ext/images → images/vendor/ext}/default/window/left-right.psd +0 -0
  444. data/public/{resources/ext/images → images/vendor/ext}/default/window/right-corners.png +0 -0
  445. data/public/{resources/ext/images → images/vendor/ext}/default/window/right-corners.psd +0 -0
  446. data/public/{resources/ext/images → images/vendor/ext}/default/window/top-bottom.png +0 -0
  447. data/public/{resources/ext/images → images/vendor/ext}/default/window/top-bottom.psd +0 -0
  448. data/public/{resources/ext/images → images/vendor/ext}/gray/button/btn-arrow.gif +0 -0
  449. data/public/{resources/ext/images → images/vendor/ext}/gray/button/btn-sprite.gif +0 -0
  450. data/public/{resources/ext/images → images/vendor/ext}/gray/button/btn.gif +0 -0
  451. data/public/{resources/ext/images → images/vendor/ext}/gray/button/group-cs.gif +0 -0
  452. data/public/{resources/ext/images → images/vendor/ext}/gray/button/group-lr.gif +0 -0
  453. data/public/{resources/ext/images → images/vendor/ext}/gray/button/group-tb.gif +0 -0
  454. data/public/{resources/ext/images → images/vendor/ext}/gray/button/s-arrow-bo.gif +0 -0
  455. data/public/{resources/ext/images → images/vendor/ext}/gray/button/s-arrow-o.gif +0 -0
  456. data/public/{resources/ext/images → images/vendor/ext}/gray/form/clear-trigger.gif +0 -0
  457. data/public/{resources/ext/images → images/vendor/ext}/gray/form/date-trigger.gif +0 -0
  458. data/public/{resources/ext/images → images/vendor/ext}/gray/form/search-trigger.gif +0 -0
  459. data/public/{resources/ext/images → images/vendor/ext}/gray/form/trigger-square.gif +0 -0
  460. data/public/{resources/ext/images → images/vendor/ext}/gray/form/trigger.gif +0 -0
  461. data/public/{resources/ext/images → images/vendor/ext}/gray/gradient-bg.gif +0 -0
  462. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/col-move-bottom.gif +0 -0
  463. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/col-move-top.gif +0 -0
  464. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-hd-btn.gif +0 -0
  465. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-hrow-over.gif +0 -0
  466. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-hrow-over2.gif +0 -0
  467. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-hrow.gif +0 -0
  468. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-hrow2.gif +0 -0
  469. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-special-col-bg.gif +0 -0
  470. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-special-col-bg2.gif +0 -0
  471. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/grid3-special-col-sel-bg.gif +0 -0
  472. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/group-collapse.gif +0 -0
  473. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/group-expand-sprite.gif +0 -0
  474. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/group-expand.gif +0 -0
  475. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/page-first.gif +0 -0
  476. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/page-last.gif +0 -0
  477. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/page-next.gif +0 -0
  478. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/page-prev.gif +0 -0
  479. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/refresh.gif +0 -0
  480. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/row-expand-sprite.gif +0 -0
  481. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/sort_asc.gif +0 -0
  482. data/public/{resources/ext/images → images/vendor/ext}/gray/grid/sort_desc.gif +0 -0
  483. data/public/{resources/ext/images → images/vendor/ext}/gray/menu/group-checked.gif +0 -0
  484. data/public/{resources/ext/images → images/vendor/ext}/gray/menu/item-over-disabled.gif +0 -0
  485. data/public/{resources/ext/images → images/vendor/ext}/gray/menu/item-over.gif +0 -0
  486. data/public/{resources/ext/images → images/vendor/ext}/gray/menu/menu-parent.gif +0 -0
  487. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/corners-sprite.gif +0 -0
  488. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/left-right.gif +0 -0
  489. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/light-hd.gif +0 -0
  490. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/tool-sprite-tpl.gif +0 -0
  491. data/public/images/vendor/ext/gray/panel/tool-sprites.gif +0 -0
  492. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/tools-sprites-trans.gif +0 -0
  493. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/top-bottom.gif +0 -0
  494. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/top-bottom.png +0 -0
  495. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/white-corners-sprite.gif +0 -0
  496. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/white-left-right.gif +0 -0
  497. data/public/{resources/ext/images → images/vendor/ext}/gray/panel/white-top-bottom.gif +0 -0
  498. data/public/{resources/ext/images → images/vendor/ext}/gray/progress/progress-bg.gif +0 -0
  499. data/public/{resources/ext/images → images/vendor/ext}/gray/qtip/bg.gif +0 -0
  500. data/public/{resources/ext/images → images/vendor/ext}/gray/qtip/close.gif +0 -0
  501. data/public/{resources/ext/images → images/vendor/ext}/gray/qtip/tip-anchor-sprite.gif +0 -0
  502. data/public/{resources/ext/images → images/vendor/ext}/gray/qtip/tip-sprite.gif +0 -0
  503. data/public/{resources/ext/images → images/vendor/ext}/gray/s.gif +0 -0
  504. data/public/{resources/ext/images → images/vendor/ext}/gray/shared/hd-sprite.gif +0 -0
  505. data/public/{resources/ext/images → images/vendor/ext}/gray/shared/left-btn.gif +0 -0
  506. data/public/{resources/ext/images → images/vendor/ext}/gray/shared/right-btn.gif +0 -0
  507. data/public/{resources/ext/images → images/vendor/ext}/gray/sizer/e-handle.gif +0 -0
  508. data/public/{resources/ext/images → images/vendor/ext}/gray/sizer/ne-handle.gif +0 -0
  509. data/public/{resources/ext/images → images/vendor/ext}/gray/sizer/nw-handle.gif +0 -0
  510. data/public/{resources/ext/images → images/vendor/ext}/gray/sizer/s-handle.gif +0 -0
  511. data/public/{resources/ext/images → images/vendor/ext}/gray/sizer/se-handle.gif +0 -0
  512. data/public/{resources/ext/images → images/vendor/ext}/gray/sizer/square.gif +0 -0
  513. data/public/{resources/ext/images → images/vendor/ext}/gray/sizer/sw-handle.gif +0 -0
  514. data/public/{resources/ext/images → images/vendor/ext}/gray/slider/slider-thumb.png +0 -0
  515. data/public/{resources/ext/images → images/vendor/ext}/gray/slider/slider-v-thumb.png +0 -0
  516. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/scroll-left.gif +0 -0
  517. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/scroll-right.gif +0 -0
  518. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/scroller-bg.gif +0 -0
  519. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
  520. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
  521. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-btm-left-bg.gif +0 -0
  522. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-btm-over-left-bg.gif +0 -0
  523. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-btm-over-right-bg.gif +0 -0
  524. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-btm-right-bg.gif +0 -0
  525. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-close.gif +0 -0
  526. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-strip-bg.gif +0 -0
  527. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-strip-bg.png +0 -0
  528. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tab-strip-btm-bg.gif +0 -0
  529. data/public/{resources/ext/images → images/vendor/ext}/gray/tabs/tabs-sprite.gif +0 -0
  530. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/bg.gif +0 -0
  531. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/btn-arrow-light.gif +0 -0
  532. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/btn-arrow.gif +0 -0
  533. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/btn-over-bg.gif +0 -0
  534. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/gray-bg.gif +0 -0
  535. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/more.gif +0 -0
  536. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/tb-bg.gif +0 -0
  537. data/public/{resources/ext/images → images/vendor/ext}/gray/toolbar/tb-btn-sprite.gif +0 -0
  538. data/public/{resources/ext/images → images/vendor/ext}/gray/tree/arrows.gif +0 -0
  539. data/public/{resources/ext/images → images/vendor/ext}/gray/tree/elbow-end-minus-nl.gif +0 -0
  540. data/public/{resources/ext/images → images/vendor/ext}/gray/tree/elbow-end-minus.gif +0 -0
  541. data/public/{resources/ext/images → images/vendor/ext}/gray/tree/elbow-end-plus-nl.gif +0 -0
  542. data/public/{resources/ext/images → images/vendor/ext}/gray/tree/elbow-end-plus.gif +0 -0
  543. data/public/{resources/ext/images → images/vendor/ext}/gray/window/icon-error.gif +0 -0
  544. data/public/{resources/ext/images → images/vendor/ext}/gray/window/icon-info.gif +0 -0
  545. data/public/{resources/ext/images → images/vendor/ext}/gray/window/icon-question.gif +0 -0
  546. data/public/{resources/ext/images → images/vendor/ext}/gray/window/icon-warning.gif +0 -0
  547. data/public/{resources/ext/images → images/vendor/ext}/gray/window/left-corners.png +0 -0
  548. data/public/{resources/ext/images → images/vendor/ext}/gray/window/left-right.png +0 -0
  549. data/public/{resources/ext/images → images/vendor/ext}/gray/window/right-corners.png +0 -0
  550. data/public/{resources/ext/images → images/vendor/ext}/gray/window/top-bottom.png +0 -0
  551. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/bg-center.gif +0 -0
  552. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/bg-left.gif +0 -0
  553. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/bg-right.gif +0 -0
  554. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/close.gif +0 -0
  555. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/collapse.gif +0 -0
  556. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/dlg-bg.gif +0 -0
  557. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/e-handle.gif +0 -0
  558. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/expand.gif +0 -0
  559. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/hd-sprite.gif +0 -0
  560. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/s-handle.gif +0 -0
  561. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/se-handle.gif +0 -0
  562. data/public/{resources/ext/images → images/vendor/ext}/vista/basic-dialog/w-handle.gif +0 -0
  563. data/public/{resources/ext/images → images/vendor/ext}/vista/gradient-bg.gif +0 -0
  564. data/public/{resources/ext/images → images/vendor/ext}/vista/grid/grid-split.gif +0 -0
  565. data/public/{resources/ext/images → images/vendor/ext}/vista/grid/grid-vista-hd.gif +0 -0
  566. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/collapse.gif +0 -0
  567. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/expand.gif +0 -0
  568. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/gradient-bg.gif +0 -0
  569. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/ns-collapse.gif +0 -0
  570. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/ns-expand.gif +0 -0
  571. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/panel-close.gif +0 -0
  572. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/panel-title-bg.gif +0 -0
  573. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/panel-title-light-bg.gif +0 -0
  574. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/stick.gif +0 -0
  575. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/tab-close-on.gif +0 -0
  576. data/public/{resources/ext/images → images/vendor/ext}/vista/layout/tab-close.gif +0 -0
  577. data/public/{resources/ext/images → images/vendor/ext}/vista/qtip/bg.gif +0 -0
  578. data/public/{resources/ext/images → images/vendor/ext}/vista/qtip/tip-sprite.gif +0 -0
  579. data/public/{resources/ext/images → images/vendor/ext}/vista/s.gif +0 -0
  580. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/e-handle-dark.gif +0 -0
  581. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/e-handle.gif +0 -0
  582. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/ne-handle-dark.gif +0 -0
  583. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/ne-handle.gif +0 -0
  584. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/nw-handle-dark.gif +0 -0
  585. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/nw-handle.gif +0 -0
  586. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/s-handle-dark.gif +0 -0
  587. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/s-handle.gif +0 -0
  588. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/se-handle-dark.gif +0 -0
  589. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/se-handle.gif +0 -0
  590. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/sw-handle-dark.gif +0 -0
  591. data/public/{resources/ext/images → images/vendor/ext}/vista/sizer/sw-handle.gif +0 -0
  592. data/public/{resources/ext/images → images/vendor/ext}/vista/tabs/tab-btm-inactive-left-bg.gif +0 -0
  593. data/public/{resources/ext/images → images/vendor/ext}/vista/tabs/tab-btm-inactive-right-bg.gif +0 -0
  594. data/public/{resources/ext/images → images/vendor/ext}/vista/tabs/tab-btm-left-bg.gif +0 -0
  595. data/public/{resources/ext/images → images/vendor/ext}/vista/tabs/tab-btm-right-bg.gif +0 -0
  596. data/public/{resources/ext/images → images/vendor/ext}/vista/tabs/tab-sprite.gif +0 -0
  597. data/public/{resources/ext/images → images/vendor/ext}/vista/toolbar/gray-bg.gif +0 -0
  598. data/public/{resources/ext/images → images/vendor/ext}/vista/toolbar/tb-btn-sprite.gif +0 -0
  599. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/README.txt +0 -0
  600. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/corners-blue.gif +0 -0
  601. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/corners.gif +0 -0
  602. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/l-blue.gif +0 -0
  603. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/l.gif +0 -0
  604. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/r-blue.gif +0 -0
  605. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/r.gif +0 -0
  606. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/tb-blue.gif +0 -0
  607. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/box/tb.gif +0 -0
  608. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/arrow.gif +0 -0
  609. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/btn.gif +0 -0
  610. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/group-cs.gif +0 -0
  611. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/group-lr.gif +0 -0
  612. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/group-tb.gif +0 -0
  613. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/s-arrow-b-noline.gif +0 -0
  614. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/s-arrow-b.gif +0 -0
  615. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/s-arrow-bo.gif +0 -0
  616. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/s-arrow-noline.gif +0 -0
  617. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/s-arrow-o.gif +0 -0
  618. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/button/s-arrow.gif +0 -0
  619. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/dd/drop-add.gif +0 -0
  620. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/dd/drop-no.gif +0 -0
  621. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/dd/drop-yes.gif +0 -0
  622. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/editor/tb-sprite.gif +0 -0
  623. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/checkbox.gif +0 -0
  624. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/clear-trigger.gif +0 -0
  625. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/clear-trigger.psd +0 -0
  626. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/date-trigger.gif +0 -0
  627. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/date-trigger.psd +0 -0
  628. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/error-tip-corners.gif +0 -0
  629. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/exclamation.gif +0 -0
  630. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/radio.gif +0 -0
  631. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/search-trigger.gif +0 -0
  632. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/search-trigger.psd +0 -0
  633. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/text-bg.gif +0 -0
  634. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/trigger-square.gif +0 -0
  635. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/trigger-square.psd +0 -0
  636. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/trigger-tpl.gif +0 -0
  637. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/trigger.gif +0 -0
  638. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/form/trigger.psd +0 -0
  639. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/gradient-bg.gif +0 -0
  640. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/arrow-left-white.gif +0 -0
  641. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/arrow-right-white.gif +0 -0
  642. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/col-move-bottom.gif +0 -0
  643. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/col-move-top.gif +0 -0
  644. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/columns.gif +0 -0
  645. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/dirty.gif +0 -0
  646. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/done.gif +0 -0
  647. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/drop-no.gif +0 -0
  648. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/drop-yes.gif +0 -0
  649. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/footer-bg.gif +0 -0
  650. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid-blue-hd.gif +0 -0
  651. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid-blue-split.gif +0 -0
  652. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid-hrow.gif +0 -0
  653. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid-loading.gif +0 -0
  654. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid-split.gif +0 -0
  655. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid-vista-hd.gif +0 -0
  656. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid3-hd-btn.gif +0 -0
  657. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid3-hrow-over.gif +0 -0
  658. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid3-hrow.gif +0 -0
  659. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid3-special-col-bg.gif +0 -0
  660. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/grid3-special-col-sel-bg.gif +0 -0
  661. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/group-by.gif +0 -0
  662. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/group-collapse.gif +0 -0
  663. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/group-expand-sprite.gif +0 -0
  664. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/group-expand.gif +0 -0
  665. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/hd-pop.gif +0 -0
  666. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/hmenu-asc.gif +0 -0
  667. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/hmenu-desc.gif +0 -0
  668. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/hmenu-lock.gif +0 -0
  669. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/hmenu-lock.png +0 -0
  670. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/hmenu-unlock.gif +0 -0
  671. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/hmenu-unlock.png +0 -0
  672. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/invalid_line.gif +0 -0
  673. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/loading.gif +0 -0
  674. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/mso-hd.gif +0 -0
  675. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/nowait.gif +0 -0
  676. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-first-disabled.gif +0 -0
  677. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-first.gif +0 -0
  678. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-last-disabled.gif +0 -0
  679. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-last.gif +0 -0
  680. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-next-disabled.gif +0 -0
  681. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-next.gif +0 -0
  682. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-prev-disabled.gif +0 -0
  683. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/page-prev.gif +0 -0
  684. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/pick-button.gif +0 -0
  685. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/refresh.gif +0 -0
  686. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/row-check-sprite.gif +0 -0
  687. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/row-expand-sprite.gif +0 -0
  688. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/row-over.gif +0 -0
  689. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/row-sel.gif +0 -0
  690. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/sort-hd.gif +0 -0
  691. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/sort_asc.gif +0 -0
  692. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/sort_desc.gif +0 -0
  693. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/grid/wait.gif +0 -0
  694. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/collapse.gif +0 -0
  695. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/expand.gif +0 -0
  696. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/gradient-bg.gif +0 -0
  697. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/mini-bottom.gif +0 -0
  698. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/mini-left.gif +0 -0
  699. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/mini-right.gif +0 -0
  700. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/mini-top.gif +0 -0
  701. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/ns-collapse.gif +0 -0
  702. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/ns-expand.gif +0 -0
  703. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/panel-close.gif +0 -0
  704. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/panel-title-bg.gif +0 -0
  705. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/panel-title-light-bg.gif +0 -0
  706. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/stick.gif +0 -0
  707. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/stuck.gif +0 -0
  708. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/tab-close-on.gif +0 -0
  709. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/layout/tab-close.gif +0 -0
  710. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/menu/checked.gif +0 -0
  711. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/menu/group-checked.gif +0 -0
  712. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/menu/item-over.gif +0 -0
  713. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/menu/menu-parent.gif +0 -0
  714. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/menu/menu.gif +0 -0
  715. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/menu/unchecked.gif +0 -0
  716. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/corners-sprite.gif +0 -0
  717. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/left-right.gif +0 -0
  718. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/light-hd.gif +0 -0
  719. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/tool-sprite-tpl.gif +0 -0
  720. data/public/images/vendor/ext/yourtheme/panel/tool-sprites.gif +0 -0
  721. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/tools-sprites-trans.gif +0 -0
  722. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/top-bottom.gif +0 -0
  723. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/top-bottom.png +0 -0
  724. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/white-corners-sprite.gif +0 -0
  725. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/white-left-right.gif +0 -0
  726. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/panel/white-top-bottom.gif +0 -0
  727. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/progress/progress-bg.gif +0 -0
  728. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/qtip/bg.gif +0 -0
  729. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/qtip/close.gif +0 -0
  730. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/qtip/tip-anchor-sprite.gif +0 -0
  731. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/qtip/tip-sprite.gif +0 -0
  732. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/s.gif +0 -0
  733. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shadow-c.png +0 -0
  734. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shadow-lr.png +0 -0
  735. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shadow.png +0 -0
  736. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/blue-loading.gif +0 -0
  737. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/calendar.gif +0 -0
  738. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/glass-bg.gif +0 -0
  739. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/hd-sprite.gif +0 -0
  740. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/large-loading.gif +0 -0
  741. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/left-btn.gif +0 -0
  742. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/loading-balls.gif +0 -0
  743. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/right-btn.gif +0 -0
  744. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/shared/warning.gif +0 -0
  745. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/e-handle-dark.gif +0 -0
  746. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/e-handle.gif +0 -0
  747. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/ne-handle-dark.gif +0 -0
  748. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/ne-handle.gif +0 -0
  749. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/nw-handle-dark.gif +0 -0
  750. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/nw-handle.gif +0 -0
  751. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/s-handle-dark.gif +0 -0
  752. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/s-handle.gif +0 -0
  753. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/se-handle-dark.gif +0 -0
  754. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/se-handle.gif +0 -0
  755. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/square.gif +0 -0
  756. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/sw-handle-dark.gif +0 -0
  757. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/sizer/sw-handle.gif +0 -0
  758. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/slider/slider-bg.png +0 -0
  759. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/slider/slider-thumb.png +0 -0
  760. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/slider/slider-v-bg.png +0 -0
  761. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/slider/slider-v-thumb.png +0 -0
  762. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/scroll-left.gif +0 -0
  763. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/scroll-right.gif +0 -0
  764. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/scroller-bg.gif +0 -0
  765. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-btm-inactive-left-bg.gif +0 -0
  766. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-btm-inactive-right-bg.gif +0 -0
  767. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-btm-left-bg.gif +0 -0
  768. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-btm-over-left-bg.gif +0 -0
  769. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-btm-over-right-bg.gif +0 -0
  770. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-btm-right-bg.gif +0 -0
  771. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-close.gif +0 -0
  772. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-strip-bg.gif +0 -0
  773. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-strip-bg.png +0 -0
  774. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tab-strip-btm-bg.gif +0 -0
  775. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tabs/tabs-sprite.gif +0 -0
  776. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/bg.gif +0 -0
  777. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/btn-arrow-light.gif +0 -0
  778. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/btn-arrow.gif +0 -0
  779. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/btn-over-bg.gif +0 -0
  780. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/gray-bg.gif +0 -0
  781. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/more.gif +0 -0
  782. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/tb-bg.gif +0 -0
  783. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/tb-btn-sprite.gif +0 -0
  784. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/tb-xl-btn-sprite.gif +0 -0
  785. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/toolbar/tb-xl-sep.gif +0 -0
  786. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/arrows.gif +0 -0
  787. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/drop-add.gif +0 -0
  788. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/drop-between.gif +0 -0
  789. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/drop-no.gif +0 -0
  790. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/drop-over.gif +0 -0
  791. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/drop-under.gif +0 -0
  792. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/drop-yes.gif +0 -0
  793. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-end-minus-nl.gif +0 -0
  794. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-end-minus.gif +0 -0
  795. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-end-plus-nl.gif +0 -0
  796. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-end-plus.gif +0 -0
  797. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-end.gif +0 -0
  798. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-line.gif +0 -0
  799. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-minus-nl.gif +0 -0
  800. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-minus.gif +0 -0
  801. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-plus-nl.gif +0 -0
  802. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow-plus.gif +0 -0
  803. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/elbow.gif +0 -0
  804. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/folder-open.gif +0 -0
  805. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/folder.gif +0 -0
  806. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/leaf.gif +0 -0
  807. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/loading.gif +0 -0
  808. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/tree/s.gif +0 -0
  809. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/icon-error.gif +0 -0
  810. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/icon-info.gif +0 -0
  811. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/icon-question.gif +0 -0
  812. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/icon-warning.gif +0 -0
  813. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/left-corners.png +0 -0
  814. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/left-corners.psd +0 -0
  815. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/left-right.png +0 -0
  816. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/left-right.psd +0 -0
  817. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/right-corners.png +0 -0
  818. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/right-corners.psd +0 -0
  819. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/top-bottom.png +0 -0
  820. data/public/{resources/ext/images → images/vendor/ext}/yourtheme/window/top-bottom.psd +0 -0
  821. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-container.png +0 -0
  822. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-bbcode.png +0 -0
  823. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-dotclear.png +0 -0
  824. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-html.png +0 -0
  825. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-json.png +0 -0
  826. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-markdown.png +0 -0
  827. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-textile.png +0 -0
  828. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-wiki.png +0 -0
  829. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor-xml.png +0 -0
  830. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/bg-editor.png +0 -0
  831. data/public/{resources/markitup/sets/default/images → images/vendor/markitup}/bold.png +0 -0
  832. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/code.png +0 -0
  833. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/h1.png +0 -0
  834. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/h2.png +0 -0
  835. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/h3.png +0 -0
  836. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/h4.png +0 -0
  837. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/h5.png +0 -0
  838. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/h6.png +0 -0
  839. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/handle.png +0 -0
  840. data/public/{resources/markitup/sets/default/images → images/vendor/markitup}/italic.png +0 -0
  841. data/public/{resources/markitup/sets/default/images → images/vendor/markitup}/link.png +0 -0
  842. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/list-bullet.png +0 -0
  843. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/list-numeric.png +0 -0
  844. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/menu.png +0 -0
  845. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/paragraph.png +0 -0
  846. data/public/{resources/markitup/sets/default/images → images/vendor/markitup}/picture.png +0 -0
  847. data/public/{resources/markitup/sets/default/images → images/vendor/markitup}/preview.png +0 -0
  848. data/public/{resources/markitup/sets/textile/images → images/vendor/markitup}/quotes.png +0 -0
  849. data/public/{resources/markitup/sets/default/images → images/vendor/markitup}/stroke.png +0 -0
  850. data/public/{resources/markitup/skins/markitup/images → images/vendor/markitup}/submenu.png +0 -0
  851. data/public/javascripts/Rwiki.js +95 -40
  852. data/public/javascripts/Rwiki/AboutDialog.js +32 -0
  853. data/public/javascripts/Rwiki/Button.js +29 -0
  854. data/public/javascripts/Rwiki/Data/Page.js +83 -0
  855. data/public/javascripts/Rwiki/Data/PageManager.js +195 -0
  856. data/public/javascripts/Rwiki/Debug.js +21 -0
  857. data/public/javascripts/Rwiki/{EditorPanel/Editor.js → Editor/EditorPanel.js} +43 -23
  858. data/public/javascripts/Rwiki/EditorWindow.js +68 -26
  859. data/public/javascripts/Rwiki/ExceptionWindow.js +32 -0
  860. data/public/javascripts/Rwiki/Flash.js +43 -0
  861. data/public/javascripts/Rwiki/Mask.js +79 -0
  862. data/public/javascripts/Rwiki/NavigationPanel.js +1 -1
  863. data/public/javascripts/Rwiki/PageNameDialog.js +39 -0
  864. data/public/javascripts/Rwiki/Search/FuzzyFinderWindow.js +37 -0
  865. data/public/javascripts/Rwiki/Search/TextSearchWindow.js +35 -0
  866. data/public/javascripts/Rwiki/Search/Window.js +42 -0
  867. data/public/javascripts/Rwiki/TabPanel.js +62 -74
  868. data/public/javascripts/Rwiki/Tabs/PageTab.js +47 -0
  869. data/public/javascripts/Rwiki/Tabs/Toolbar.js +101 -0
  870. data/public/javascripts/Rwiki/TocPanel.js +55 -0
  871. data/public/javascripts/Rwiki/Tree/Loader.js +23 -0
  872. data/public/javascripts/Rwiki/Tree/Menu.js +100 -0
  873. data/public/javascripts/Rwiki/Tree/Node.js +83 -0
  874. data/public/javascripts/Rwiki/TreePanel.js +36 -72
  875. data/public/javascripts/vendor/ext/ext-all.js +6 -6
  876. data/public/javascripts/vendor/ext/{adapter/jquery/ext-jquery-adapter-debug.js → ext-jquery-adapter-debug.js} +0 -0
  877. data/public/javascripts/vendor/ext/{adapter/jquery/ext-jquery-adapter.js → ext-jquery-adapter.js} +5 -5
  878. data/public/javascripts/vendor/jquery/{jquery-1.4.2.js → jquery-1.5.js} +3502 -1566
  879. data/public/stylesheets/{coderay.css → Rwiki/coderay.css} +4 -0
  880. data/public/stylesheets/Rwiki/markitup.css +19 -0
  881. data/public/stylesheets/{page.css → Rwiki/page.css} +2 -7
  882. data/public/stylesheets/style.css +72 -16
  883. data/public/{resources/ext/css → stylesheets/vendor/ext}/ext-all.css +258 -293
  884. data/public/stylesheets/vendor/markitup/sets/textile/style.css +60 -0
  885. data/public/{resources → stylesheets/vendor}/markitup/skins/markitup/style.css +12 -12
  886. data/rwiki.gemspec +926 -1056
  887. data/sandbox/grit.rb +116 -0
  888. data/script/build_cucumber +24 -0
  889. data/script/build_jasmine +18 -0
  890. data/script/build_rspec +13 -0
  891. data/script/shotgun +2 -0
  892. data/spec/coffeescripts/Rwiki/Data/PageSpec.coffee +31 -0
  893. data/spec/coffeescripts/Rwiki/Mask.coffee +6 -0
  894. data/spec/coffeescripts/Rwiki/TabPanelSpec.coffee +72 -0
  895. data/spec/coffeescripts/Rwiki/Tabs/PageTabSpec.coffee +7 -0
  896. data/spec/coffeescripts/Rwiki/Tree/MenuSpec.coffee +95 -0
  897. data/spec/coffeescripts/Rwiki/TreePanelSpec.coffee +115 -0
  898. data/spec/fixtures/Home.txt +1 -0
  899. data/spec/fixtures/Home/About.txt +1 -0
  900. data/spec/fixtures/Home/Development.txt +5 -0
  901. data/spec/fixtures/Home/Development/Databases.txt +4 -0
  902. data/spec/fixtures/Home/Development/Databases/MySQL.txt +5 -0
  903. data/{test/fixtures/pages/empty_folder/dummy → spec/fixtures/Home/Development/Databases/Oracle.txt} +0 -0
  904. data/{test/fixtures/pages/folder/subfolder/ruby.txt → spec/fixtures/Home/Development/Databases/Postgres.txt} +0 -0
  905. data/spec/fixtures/Home/Development/Programming Languages.txt +3 -0
  906. data/spec/fixtures/Home/Development/Programming Languages/Java.txt +1 -0
  907. data/test/fixtures/pages/folder/test 1.txt b/data/spec/fixtures/Home/Development/Programming → Languages/JavaScript.txt +0 -0
  908. data/test/fixtures/pages/subfolder/dummy b/data/spec/fixtures/Home/Development/Programming → Languages/Python.txt +0 -0
  909. data/spec/fixtures/Home/Development/Programming Languages/Ruby.txt +148 -0
  910. data/spec/fixtures/Home/Development/test 1.txt b/data/spec/fixtures/Home/Development/test → 1.txt +0 -0
  911. data/test/fixtures/pages/folder/test 2.txt b/data/spec/fixtures/Home/Development/test → 2.txt +0 -0
  912. data/{test/fixtures/pages/folder → spec/fixtures/Home/Development}/test.txt +0 -0
  913. data/spec/fixtures/Home/Personal stuff.txt b/data/spec/fixtures/Home/Personal → stuff.txt +0 -0
  914. data/spec/fixtures/Home/Personal stuff/Addresses.txt +1 -0
  915. data/spec/fixtures/Home/Personal stuff/Notes.txt b/data/spec/fixtures/Home/Personal → stuff/Notes.txt +0 -0
  916. data/spec/javascripts/support/jasmine.yml +10 -8
  917. data/spec/javascripts/support/jasmine_config.rb +55 -0
  918. data/spec/javascripts/support/jasmine_runner.rb +15 -4
  919. data/spec/rwiki/app_spec.rb +71 -0
  920. data/spec/rwiki/page_spec.rb +254 -0
  921. data/spec/rwiki/utils/file_helper_spec.rb +252 -0
  922. data/spec/rwiki/utils/textile_helper_spec.rb +73 -0
  923. data/spec/rwiki_spec.rb +22 -0
  924. data/spec/spec_helper.rb +30 -0
  925. data/spec/support/rwiki_macros.rb +26 -0
  926. data/spec/support/tmpdir_helper.rb +23 -0
  927. data/specs.watchr +57 -0
  928. data/views/index.erb +62 -3
  929. data/views/print.erb +1 -1
  930. metadata +918 -1053
  931. data/VERSION +0 -1
  932. data/features/editor.feature +0 -49
  933. data/features/rename_page.feature +0 -88
  934. data/features/step_definitions/common_transforms.rb +0 -5
  935. data/features/step_definitions/wait_steps.rb +0 -21
  936. data/lib/rwiki/models.rb +0 -7
  937. data/lib/rwiki/models/folder.rb +0 -62
  938. data/lib/rwiki/models/node.rb +0 -96
  939. data/lib/rwiki/models/page.rb +0 -110
  940. data/public/SpecRunner.html +0 -64
  941. data/public/jasmine/jasmine-html.js +0 -182
  942. data/public/jasmine/jasmine.css +0 -166
  943. data/public/jasmine/jasmine.js +0 -2421
  944. data/public/jasmine/json2.js +0 -478
  945. data/public/javascripts/Rwiki/EditorPanel.js +0 -45
  946. data/public/javascripts/Rwiki/FuzzyFinderDialog.js +0 -61
  947. data/public/javascripts/Rwiki/Node.js +0 -37
  948. data/public/javascripts/Rwiki/NodeManager.js +0 -177
  949. data/public/javascripts/Rwiki/TabPanel/PageTab.js +0 -49
  950. data/public/javascripts/Rwiki/TreePanel/Filter.js +0 -66
  951. data/public/javascripts/Rwiki/TreePanel/Loader.js +0 -24
  952. data/public/javascripts/Rwiki/TreePanel/Menu.js +0 -108
  953. data/public/javascripts/Rwiki/TreePanel/Node.js +0 -60
  954. data/public/javascripts/Rwiki/TreePanel/Toolbar.js +0 -44
  955. data/public/javascripts/vendor/ext/adapter/ext/ext-base-debug-w-comments.js +0 -3637
  956. data/public/javascripts/vendor/ext/adapter/ext/ext-base-debug.js +0 -2886
  957. data/public/javascripts/vendor/ext/adapter/ext/ext-base.js +0 -7
  958. data/public/javascripts/vendor/ext/adapter/prototype/ext-prototype-adapter-debug.js +0 -1826
  959. data/public/javascripts/vendor/ext/adapter/prototype/ext-prototype-adapter.js +0 -7
  960. data/public/javascripts/vendor/ext/adapter/yui/ext-yui-adapter-debug.js +0 -1592
  961. data/public/javascripts/vendor/ext/adapter/yui/ext-yui-adapter.js +0 -7
  962. data/public/javascripts/vendor/ext/ext-all-debug.js +0 -51256
  963. data/public/javascripts/vendor/jquery/jquery-1.4.2.min.js +0 -154
  964. data/public/resources/ext/charts.swf +0 -0
  965. data/public/resources/ext/css/README.txt +0 -6
  966. data/public/resources/ext/css/debug.css +0 -43
  967. data/public/resources/ext/css/ext-all-notheme.css +0 -5302
  968. data/public/resources/ext/css/reset-min.css +0 -7
  969. data/public/resources/ext/css/structure/borders.css +0 -54
  970. data/public/resources/ext/css/structure/box.css +0 -80
  971. data/public/resources/ext/css/structure/button.css +0 -445
  972. data/public/resources/ext/css/structure/combo.css +0 -45
  973. data/public/resources/ext/css/structure/core.css +0 -341
  974. data/public/resources/ext/css/structure/date-picker.css +0 -271
  975. data/public/resources/ext/css/structure/dd.css +0 -61
  976. data/public/resources/ext/css/structure/debug.css +0 -26
  977. data/public/resources/ext/css/structure/dialog.css +0 -59
  978. data/public/resources/ext/css/structure/editor.css +0 -92
  979. data/public/resources/ext/css/structure/form.css +0 -573
  980. data/public/resources/ext/css/structure/grid.css +0 -588
  981. data/public/resources/ext/css/structure/layout.css +0 -296
  982. data/public/resources/ext/css/structure/list-view.css +0 -86
  983. data/public/resources/ext/css/structure/menu.css +0 -245
  984. data/public/resources/ext/css/structure/panel-reset.css +0 -130
  985. data/public/resources/ext/css/structure/panel.css +0 -493
  986. data/public/resources/ext/css/structure/pivotgrid.css +0 -65
  987. data/public/resources/ext/css/structure/progress.css +0 -46
  988. data/public/resources/ext/css/structure/qtips.css +0 -153
  989. data/public/resources/ext/css/structure/reset.css +0 -13
  990. data/public/resources/ext/css/structure/resizable.css +0 -149
  991. data/public/resources/ext/css/structure/slider.css +0 -103
  992. data/public/resources/ext/css/structure/tabs.css +0 -392
  993. data/public/resources/ext/css/structure/toolbar.css +0 -246
  994. data/public/resources/ext/css/structure/tree.css +0 -218
  995. data/public/resources/ext/css/structure/window.css +0 -222
  996. data/public/resources/ext/css/theme-access/borders.css +0 -25
  997. data/public/resources/ext/css/theme-access/box.css +0 -74
  998. data/public/resources/ext/css/theme-access/button.css +0 -136
  999. data/public/resources/ext/css/theme-access/combo.css +0 -43
  1000. data/public/resources/ext/css/theme-access/core.css +0 -81
  1001. data/public/resources/ext/css/theme-access/date-picker.css +0 -145
  1002. data/public/resources/ext/css/theme-access/dd.css +0 -29
  1003. data/public/resources/ext/css/theme-access/debug.css +0 -24
  1004. data/public/resources/ext/css/theme-access/dialog.css +0 -34
  1005. data/public/resources/ext/css/theme-access/editor.css +0 -16
  1006. data/public/resources/ext/css/theme-access/form.css +0 -176
  1007. data/public/resources/ext/css/theme-access/grid.css +0 -288
  1008. data/public/resources/ext/css/theme-access/layout.css +0 -56
  1009. data/public/resources/ext/css/theme-access/list-view.css +0 -43
  1010. data/public/resources/ext/css/theme-access/menu.css +0 -79
  1011. data/public/resources/ext/css/theme-access/panel.css +0 -94
  1012. data/public/resources/ext/css/theme-access/progress.css +0 -35
  1013. data/public/resources/ext/css/theme-access/qtips.css +0 -44
  1014. data/public/resources/ext/css/theme-access/resizable.css +0 -44
  1015. data/public/resources/ext/css/theme-access/slider.css +0 -21
  1016. data/public/resources/ext/css/theme-access/tabs.css +0 -119
  1017. data/public/resources/ext/css/theme-access/toolbar.css +0 -120
  1018. data/public/resources/ext/css/theme-access/tree.css +0 -165
  1019. data/public/resources/ext/css/theme-access/window.css +0 -87
  1020. data/public/resources/ext/css/theme-gray/borders.css +0 -29
  1021. data/public/resources/ext/css/theme-gray/box.css +0 -74
  1022. data/public/resources/ext/css/theme-gray/button.css +0 -94
  1023. data/public/resources/ext/css/theme-gray/combo.css +0 -43
  1024. data/public/resources/ext/css/theme-gray/core.css +0 -83
  1025. data/public/resources/ext/css/theme-gray/date-picker.css +0 -143
  1026. data/public/resources/ext/css/theme-gray/dd.css +0 -29
  1027. data/public/resources/ext/css/theme-gray/debug.css +0 -24
  1028. data/public/resources/ext/css/theme-gray/dialog.css +0 -34
  1029. data/public/resources/ext/css/theme-gray/editor.css +0 -13
  1030. data/public/resources/ext/css/theme-gray/form.css +0 -117
  1031. data/public/resources/ext/css/theme-gray/grid.css +0 -276
  1032. data/public/resources/ext/css/theme-gray/layout.css +0 -53
  1033. data/public/resources/ext/css/theme-gray/list-view.css +0 -37
  1034. data/public/resources/ext/css/theme-gray/menu.css +0 -82
  1035. data/public/resources/ext/css/theme-gray/panel.css +0 -87
  1036. data/public/resources/ext/css/theme-gray/pivotgrid.css +0 -28
  1037. data/public/resources/ext/css/theme-gray/progress.css +0 -32
  1038. data/public/resources/ext/css/theme-gray/qtips.css +0 -44
  1039. data/public/resources/ext/css/theme-gray/resizable.css +0 -43
  1040. data/public/resources/ext/css/theme-gray/slider.css +0 -21
  1041. data/public/resources/ext/css/theme-gray/tabs.css +0 -127
  1042. data/public/resources/ext/css/theme-gray/toolbar.css +0 -95
  1043. data/public/resources/ext/css/theme-gray/tree.css +0 -157
  1044. data/public/resources/ext/css/theme-gray/window.css +0 -86
  1045. data/public/resources/ext/css/visual/borders.css +0 -25
  1046. data/public/resources/ext/css/visual/box.css +0 -74
  1047. data/public/resources/ext/css/visual/button.css +0 -94
  1048. data/public/resources/ext/css/visual/combo.css +0 -43
  1049. data/public/resources/ext/css/visual/core.css +0 -82
  1050. data/public/resources/ext/css/visual/date-picker.css +0 -143
  1051. data/public/resources/ext/css/visual/dd.css +0 -29
  1052. data/public/resources/ext/css/visual/debug.css +0 -24
  1053. data/public/resources/ext/css/visual/dialog.css +0 -34
  1054. data/public/resources/ext/css/visual/editor.css +0 -13
  1055. data/public/resources/ext/css/visual/form.css +0 -123
  1056. data/public/resources/ext/css/visual/grid.css +0 -277
  1057. data/public/resources/ext/css/visual/layout.css +0 -53
  1058. data/public/resources/ext/css/visual/list-view.css +0 -37
  1059. data/public/resources/ext/css/visual/menu.css +0 -87
  1060. data/public/resources/ext/css/visual/panel.css +0 -87
  1061. data/public/resources/ext/css/visual/pivotgrid.css +0 -28
  1062. data/public/resources/ext/css/visual/progress.css +0 -32
  1063. data/public/resources/ext/css/visual/qtips.css +0 -44
  1064. data/public/resources/ext/css/visual/resizable.css +0 -43
  1065. data/public/resources/ext/css/visual/slider.css +0 -21
  1066. data/public/resources/ext/css/visual/tabs.css +0 -127
  1067. data/public/resources/ext/css/visual/toolbar.css +0 -95
  1068. data/public/resources/ext/css/visual/tree.css +0 -152
  1069. data/public/resources/ext/css/visual/window.css +0 -86
  1070. data/public/resources/ext/css/xtheme-access.css +0 -1820
  1071. data/public/resources/ext/css/xtheme-blue.css +0 -1674
  1072. data/public/resources/ext/css/xtheme-gray.css +0 -1682
  1073. data/public/resources/ext/css/yourtheme.css +0 -1652
  1074. data/public/resources/ext/expressinstall.swf +0 -0
  1075. data/public/resources/ext/images/default/panel/tool-sprites.gif +0 -0
  1076. data/public/resources/ext/images/gray/grid/sort-hd.gif +0 -0
  1077. data/public/resources/ext/images/gray/panel/tool-sprites.gif +0 -0
  1078. data/public/resources/ext/images/gray/window/left-corners.pspimage +0 -0
  1079. data/public/resources/ext/resources.jsb +0 -507
  1080. data/public/resources/markitup/images/body.png +0 -0
  1081. data/public/resources/markitup/images/jaysalvat.png +0 -0
  1082. data/public/resources/markitup/images/markitup.png +0 -0
  1083. data/public/resources/markitup/images/style.css +0 -27
  1084. data/public/resources/markitup/sets/default/images/clean.png +0 -0
  1085. data/public/resources/markitup/sets/default/images/image.png +0 -0
  1086. data/public/resources/markitup/sets/default/set.js +0 -27
  1087. data/public/resources/markitup/sets/default/style.css +0 -27
  1088. data/public/resources/markitup/sets/textile/images/bold.png +0 -0
  1089. data/public/resources/markitup/sets/textile/images/italic.png +0 -0
  1090. data/public/resources/markitup/sets/textile/images/link.png +0 -0
  1091. data/public/resources/markitup/sets/textile/images/picture.png +0 -0
  1092. data/public/resources/markitup/sets/textile/images/preview.png +0 -0
  1093. data/public/resources/markitup/sets/textile/images/stroke.png +0 -0
  1094. data/public/resources/markitup/sets/textile/readme.txt +0 -11
  1095. data/public/resources/markitup/sets/textile/set.js +0 -40
  1096. data/public/resources/markitup/sets/textile/style.css +0 -60
  1097. data/public/resources/markitup/skins/simple/images/handle.png +0 -0
  1098. data/public/resources/markitup/skins/simple/images/menu.png +0 -0
  1099. data/public/resources/markitup/skins/simple/images/submenu.png +0 -0
  1100. data/public/resources/markitup/skins/simple/style.css +0 -118
  1101. data/public/resources/markitup/templates/preview.css +0 -5
  1102. data/public/resources/markitup/templates/preview.html +0 -11
  1103. data/public/stylesheets/markitup.css +0 -19
  1104. data/run_tests.sh +0 -1
  1105. data/script/server +0 -17
  1106. data/spec/javascripts/Rwiki/NodeManagerSpec.js +0 -8
  1107. data/spec/javascripts/Rwiki/TabPanel/PageTabSpec.js +0 -22
  1108. data/spec/javascripts/Rwiki/TabPanelSpec.js +0 -94
  1109. data/spec/javascripts/Rwiki/TreePanel/MenuSpec.js +0 -169
  1110. data/spec/javascripts/Rwiki/TreePanelSpec.js +0 -161
  1111. data/spec/javascripts/helpers/SpecHelper.js +0 -5
  1112. data/test/fixtures/pages/home.txt +0 -5
  1113. data/test/fixtures/pages/test.txt +0 -1
  1114. data/test/helper.rb +0 -22
  1115. data/test/rwiki/models/test_folder.rb +0 -206
  1116. data/test/rwiki/models/test_node.rb +0 -147
  1117. data/test/rwiki/models/test_page.rb +0 -110
  1118. data/test/rwiki/test_app.rb +0 -45
  1119. data/test/tmpdir_helper.rb +0 -21
  1120. data/tmp/fssm_test.rb +0 -13
  1121. data/views/layout.erb +0 -66
@@ -0,0 +1,29 @@
1
+ Ext.ns('Rwiki');
2
+
3
+ /**
4
+ * Custom button implementation.
5
+ * @see http://tdg-i.com/535/quicktip-prevent-ext-js-buttons-from-stealing-focus
6
+ */
7
+ Rwiki.Button = Ext.extend(Ext.Button, {
8
+
9
+ constructor: function() {
10
+ Rwiki.Button.superclass.constructor.apply(this, arguments);
11
+ },
12
+
13
+ onMouseDown: function(e) {
14
+ if (!this.disabled && e.button === 0) {
15
+ e.stopEvent(); // injected line here
16
+ this.getClickEl(e).addClass('x-btn-click');
17
+ this.doc.on('mouseup', this.onMouseUp, this);
18
+ }
19
+ },
20
+
21
+ onMouseUp: function(e) {
22
+ if (e.button === 0) {
23
+ e.stopEvent(); // injected line here
24
+ this.getClickEl(e, true).removeClass('x-btn-click');
25
+ this.doc.un('mouseup', this.onMouseUp, this);
26
+ }
27
+ }
28
+
29
+ });
@@ -0,0 +1,83 @@
1
+ Ext.ns('Rwiki.Data');
2
+
3
+ /**
4
+ * Transfer object used in Rwiki events handlers
5
+ * @param data
6
+ */
7
+ Rwiki.Data.Page = function(data) {
8
+ this._data = data;
9
+ };
10
+
11
+ Rwiki.Data.Page.prototype = {
12
+
13
+ /**
14
+ * Returns data binded by ajax event handler
15
+ */
16
+ getData: function() {
17
+ return this._data;
18
+ },
19
+
20
+ /**
21
+ * Returns node's html content
22
+ */
23
+ getHtmlContent: function() {
24
+ return this._data.htmlContent;
25
+ },
26
+
27
+ /**
28
+ * Returns node's html table of content
29
+ */
30
+ getHtmlToc: function() {
31
+ return this._data.htmlToc;
32
+ },
33
+
34
+ /**
35
+ * Returns node's raw content
36
+ */
37
+ getRawContent: function() {
38
+ return this._data.rawContent;
39
+ },
40
+
41
+ /**
42
+ * Return node's path
43
+ */
44
+ getPath: function() {
45
+ return this._data.path;
46
+ },
47
+
48
+ /**
49
+ * Sets the new page path.
50
+ * @param path
51
+ */
52
+ setPath: function(path) {
53
+ this._data.path = path;
54
+ },
55
+
56
+ /**
57
+ * Returns node's parent path
58
+ */
59
+ getParentPath: function() {
60
+ var paths = this.getPath().split('/');
61
+ paths.pop();
62
+
63
+ return paths.join('/');
64
+ },
65
+
66
+ /**
67
+ * Returns node's file name
68
+ */
69
+ getBaseName: function() {
70
+ var path = this.getPath();
71
+ if (path) {
72
+ return path.split('/').pop();
73
+ }
74
+ },
75
+
76
+ /**
77
+ * Returns node's title displayed on tree panel or tab panel
78
+ */
79
+ getTitle: function() {
80
+ return this.getBaseName();
81
+ }
82
+
83
+ };
@@ -0,0 +1,195 @@
1
+ Ext.ns('Rwiki.Data');
2
+
3
+ Rwiki.Data.PageManager = Ext.extend(Ext.util.Observable, {
4
+ constructor: function() {
5
+ if (Rwiki.Data.PageManager.caller !== Rwiki.Data.PageManager.getInstance) {
6
+ throw new Error("There is no public constructor for Rwiki.Data.PageManager");
7
+ }
8
+
9
+ this.timeout = 10000;
10
+ this.initEvents();
11
+ },
12
+
13
+ initEvents: function() {
14
+ this.addEvents(
15
+ 'rwiki:beforePageLoad',
16
+ 'rwiki:pageLoaded',
17
+ 'rwiki:pageNotFound',
18
+
19
+ 'rwiki:beforePageSave',
20
+ 'rwiki:pageSaved',
21
+
22
+ 'rwiki:pageDeleted',
23
+ 'rwiki:pageCreated',
24
+ 'rwiki:pageRenamed'
25
+ );
26
+ },
27
+
28
+ _onFailure: function(response, opts) {
29
+ Rwiki.mask.hide();
30
+
31
+ var window = new Rwiki.ExceptionWindow();
32
+ window.showResponse(response);
33
+ },
34
+
35
+ loadPage: function(path) {
36
+ var page = new Rwiki.Data.Page({ path: path });
37
+ this.fireEvent('rwiki:beforePageLoad', page);
38
+
39
+ Ext.Ajax.request({
40
+ url: '/node',
41
+ method: 'GET',
42
+ params: { path: path },
43
+ scope: this,
44
+ timeout: this.timeout,
45
+ success: function(response) {
46
+ var data = Ext.decode(response.responseText);
47
+ if (data.success) {
48
+ var page = new Rwiki.Data.Page(data);
49
+ this.fireEvent('rwiki:pageLoaded', page);
50
+ } else {
51
+ this.fireEvent('rwiki:pageNotFound', data.message);
52
+ }
53
+ },
54
+ failure: this._onFailure
55
+ });
56
+ },
57
+
58
+ createPage: function(parentPath, name) {
59
+ Rwiki.mask.creatingPage(parentPath, name);
60
+
61
+ Ext.Ajax.request({
62
+ url: '/node',
63
+ type: 'POST',
64
+ params: {
65
+ parentPath: parentPath,
66
+ name: name
67
+ },
68
+ scope: this,
69
+ timeout: this.timeout,
70
+ success: function(response) {
71
+ var data = Ext.decode(response.responseText);
72
+ var node = new Rwiki.Data.Page(data);
73
+
74
+ this.fireEvent('rwiki:pageCreated', node);
75
+ },
76
+ failure: this._onFailure
77
+ });
78
+ },
79
+
80
+ savePage: function(path, rawContent) {
81
+ var page = new Rwiki.Data.Page({ path: path });
82
+ this.fireEvent('rwiki:beforePageSave', page);
83
+
84
+ Ext.Ajax.request({
85
+ url: '/node',
86
+ method: 'PUT',
87
+ params: {
88
+ path: path,
89
+ rawContent: rawContent
90
+ },
91
+ scope: this,
92
+ timeout: this.timeout,
93
+ success: function(response) {
94
+ var data = Ext.decode(response.responseText);
95
+ var page = new Rwiki.Data.Page(data);
96
+ this.fireEvent('rwiki:pageSaved', page);
97
+ },
98
+ failure: this._onFailure
99
+ });
100
+ },
101
+
102
+ renameNode: function(oldPath, newName) {
103
+ Rwiki.mask.renamingPage(oldPath, newName);
104
+
105
+ Ext.Ajax.request({
106
+ url: '/node/rename',
107
+ method: 'POST',
108
+ params: {
109
+ path: oldPath,
110
+ newName: newName
111
+ },
112
+ scope: this,
113
+ timeout: this.timeout,
114
+ success: function(response) {
115
+ var data = Ext.decode(response.responseText);
116
+ var page = new Rwiki.Data.Page(data);
117
+
118
+ this.fireEvent('rwiki:pageRenamed', page);
119
+ },
120
+ failure: this._onFailure
121
+ });
122
+ },
123
+
124
+ deleteNode: function(path) {
125
+ Rwiki.mask.deletingPage(path);
126
+
127
+ Ext.Ajax.request({
128
+ url: '/node',
129
+ method: 'DELETE',
130
+ params: { path: path },
131
+ scope: this,
132
+ timeout: this.timeout,
133
+ success: function(response) {
134
+ var data = Ext.decode(response.responseText);
135
+ var page = new Rwiki.Data.Page(data);
136
+
137
+ this.fireEvent('rwiki:pageDeleted', page);
138
+ },
139
+ failure: this._onFailure
140
+ });
141
+ },
142
+
143
+ moveNode: function(path, newParentPath) {
144
+ Rwiki.mask.movingPage(path, newParentPath);
145
+
146
+ var self = this;
147
+ var result = $.ajax({
148
+ type: 'PUT',
149
+ url: '/node/move',
150
+ dataType: 'json',
151
+ async: false,
152
+ data: {
153
+ path: path,
154
+ newParentPath: newParentPath
155
+ },
156
+ timeout: this.timeout,
157
+ success: function(data) {
158
+ var page = new Rwiki.Data.Page(data);
159
+
160
+ Rwiki.mask.hide();
161
+ self.fireEvent('rwiki:pageRenamed', page);
162
+ },
163
+ failure: this._onFailure
164
+ });
165
+
166
+ return Ext.util.JSON.decode(result.responseText);
167
+ },
168
+
169
+ isParent: function(parentPath, path) {
170
+ var parentParts = parentPath.split('/');
171
+ var pathParts = path.split('/');
172
+
173
+ var result = true;
174
+ var n = Math.min(parentParts.length, pathParts.length);
175
+ var i;
176
+ for (i = 0; i < n; i++) {
177
+ if (parentParts[i] !== pathParts[i]) {
178
+ result = false;
179
+ break;
180
+ }
181
+ }
182
+
183
+ return result;
184
+ }
185
+ });
186
+
187
+ Rwiki.Data.PageManager._instance = null;
188
+
189
+ Rwiki.Data.PageManager.getInstance = function() {
190
+ if (this._instance === null) {
191
+ this._instance = new Rwiki.Data.PageManager();
192
+ }
193
+
194
+ return this._instance;
195
+ };
@@ -0,0 +1,21 @@
1
+ Ext.ns('Rwiki');
2
+
3
+ Rwiki.Debug = {
4
+
5
+ /**
6
+ * Log the event names to the console of any observable object.
7
+ */
8
+ captureEvents: function(observable) {
9
+ Ext.util.Observable.capture(observable, function(eventName, data) {
10
+ if (!window.console) return;
11
+
12
+ console.log(data);
13
+ console.log(eventName);
14
+ });
15
+ },
16
+
17
+ emulateSlowConnection: function(emulate) {
18
+ Ext.Ajax.extraParams = { emulateSlowConnection: emulate };
19
+ }
20
+
21
+ };
@@ -1,15 +1,34 @@
1
- Ext.ns('Rwiki.EditorPanel');
1
+ Ext.ns('Rwiki.Editor');
2
2
 
3
- Rwiki.EditorPanel.Editor = Ext.extend(Ext.util.Observable, {
3
+ Rwiki.Editor.Panel = Ext.extend(Ext.Panel, {
4
4
  constructor: function() {
5
- Rwiki.EditorPanel.Editor.superclass.constructor.apply(this, arguments);
6
- this.container = $('textarea#editor');
5
+ Ext.apply(this, {
6
+ contentEl: 'editor-container',
7
+ header: false,
8
+ height: 400,
9
+
10
+ listeners: {
11
+ resize: function(panel, width, height) {
12
+ // some magic number for tuning the editor layout
13
+ var offset = 36 - 25;
14
+ $('.markItUpContainer').height(height - offset);
15
+
16
+ var heightOffset = 73 - 25;
17
+ $('#editor').height(height - heightOffset);
18
+
19
+ var widthOffset = 26;
20
+ $('#editor').width(width - widthOffset);
21
+ }
22
+ }
23
+ });
24
+
25
+ Rwiki.Editor.Panel.superclass.constructor.apply(this, arguments);
26
+
27
+ this.editorContainer = $('textarea#editor');
7
28
  this.initMarkItUp();
8
29
  },
9
30
 
10
31
  initMarkItUp: function() {
11
- var self = this;
12
-
13
32
  var textileSettings = {
14
33
  nameSpace: "textile", // Useful to prevent multi-instances CSS conflict
15
34
  onShiftEnter: {keepDefault:false, replaceWith:'\n\n'},
@@ -43,37 +62,38 @@ Rwiki.EditorPanel.Editor = Ext.extend(Ext.util.Observable, {
43
62
  resizeHandle: false
44
63
  };
45
64
 
46
- this.container.markItUp(textileSettings);
65
+ this.editorContainer.markItUp(textileSettings);
47
66
  },
48
67
 
49
- clearContent: function() {
50
- this.container.val('');
51
- this.disable();
68
+ initEvents: function() {
69
+ Rwiki.Editor.Panel.superclass.initEvents.apply(this, arguments);
70
+
71
+ this.relayEvents(Rwiki.Data.PageManager.getInstance(), ['rwiki:pageLoaded']);
72
+ this.on('rwiki:pageLoaded', this.onPageLoaded);
52
73
  },
53
74
 
54
- getContent: function() {
55
- return this.container.val();
75
+ onPageLoaded: function(page) {
76
+ this.setContent(page.getRawContent());
56
77
  },
57
78
 
58
79
  setContent: function(content) {
59
- this.container.val(content);
60
- this.enable();
80
+ this.editorContainer.val(content);
81
+ this.updateOldContent();
61
82
  },
62
83
 
63
- setPagePath: function(path) {
64
- this.path = path;
84
+ getContent: function() {
85
+ return this.editorContainer.val();
65
86
  },
66
87
 
67
- getPagePath: function() {
68
- return this.path;
88
+ clearContent: function() {
89
+ this.editorContainer.val('');
69
90
  },
70
91
 
71
- enable: function() {
72
- this.enabled = true;
92
+ updateOldContent: function() {
93
+ this.oldContent = this.getContent();
73
94
  },
74
95
 
75
- disable: function() {
76
- this.enabled = false;
96
+ isContentChanged: function() {
97
+ return this.getContent() !== this.oldContent;
77
98
  }
78
99
  });
79
-
@@ -2,7 +2,8 @@ Ext.ns('Rwiki');
2
2
 
3
3
  Rwiki.EditorWindow = Ext.extend(Ext.Window, {
4
4
  constructor: function() {
5
- this.editorPanel = new Rwiki.EditorPanel();
5
+ this.editorPanel = new Rwiki.Editor.Panel();
6
+ this._container = Ext.get('editor-container');
6
7
 
7
8
  Ext.apply(this, {
8
9
  maximizable: true,
@@ -16,61 +17,102 @@ Rwiki.EditorWindow = Ext.extend(Ext.Window, {
16
17
  bodyStyle: 'padding: 5px;',
17
18
  buttonAlign: 'center',
18
19
  items: this.editorPanel,
19
- buttons: [
20
- {
21
- text: 'Save',
22
- scope: this,
23
- handler: this.onSaveButton,
24
- iconCls: 'icon-save'
25
- },
26
- {
27
- text: 'Save and continue',
28
- scope: this,
29
- handler: this.onSaveAndContinueButton,
30
- iconCls: 'icon-save'
31
- },
32
- {
33
- text: 'Cancel',
34
- scope: this,
35
- handler: this.onCancelButton,
36
- iconCls: 'icon-cancel'
37
- }
38
- ]
20
+ buttons: [new Rwiki.Button({
21
+ text: 'Save',
22
+ scope: this,
23
+ handler: this.onSaveButton,
24
+ iconCls: 'icon-save'
25
+ }), new Rwiki.Button({
26
+ text: 'Save and continue',
27
+ scope: this,
28
+ handler: this.onSaveAndContinueButton,
29
+ iconCls: 'icon-save'
30
+ }), new Rwiki.Button({
31
+ text: 'Cancel',
32
+ scope: this,
33
+ handler: this.onCancelButton,
34
+ iconCls: 'icon-cancel'
35
+ })]
39
36
  });
40
37
 
41
38
  Rwiki.EditorWindow.superclass.constructor.apply(this, arguments);
42
39
  },
43
40
 
41
+ initEvents: function() {
42
+ Rwiki.EditorWindow.superclass.initEvents.apply(this, arguments);
43
+
44
+ this.relayEvents(Rwiki.Data.PageManager.getInstance(), ['rwiki:pageLoaded', 'rwiki:pageSaved']);
45
+ this.on('rwiki:pageLoaded', this.onPageLoaded);
46
+ this.on('rwiki:pageSaved', this.onPageLoaded);
47
+ },
48
+
44
49
  setPagePath: function(path) {
45
50
  this.pagePath = path;
46
51
  this.setTitle('Editing page ' + path);
47
52
  },
48
53
 
49
54
  show: function() {
50
- Rwiki.NodeManager.getInstance().loadPage(this.pagePath);
51
55
  Rwiki.EditorWindow.superclass.show.apply(this, arguments);
52
56
 
53
- Ext.get('editor-container').mask('Loading the page...');
57
+ Rwiki.mask.on(this._container).loadingPage(this.pagePath);
58
+ this._disableButtons();
59
+
60
+ Rwiki.Data.PageManager.getInstance().loadPage(this.pagePath);
61
+ },
62
+
63
+ onPageLoaded: function() {
64
+ Rwiki.mask.on(this._container).hide();
65
+ this._enableButtons();
54
66
  },
55
67
 
56
68
  savePage: function() {
57
- Rwiki.NodeManager.getInstance().savePage(this.pagePath, this.editorPanel.getRawContent());
69
+ Rwiki.Data.PageManager.getInstance().savePage(this.pagePath, this.editorPanel.getContent());
70
+ this.editorPanel.updateOldContent();
58
71
  },
59
72
 
60
73
  onSaveButton: function() {
74
+ Rwiki.mask.savingPage(this.pagePath);
75
+
61
76
  this.savePage();
62
77
  this.hide();
63
78
  },
64
79
 
65
80
  onSaveAndContinueButton: function() {
81
+ Rwiki.mask.on(this._container).savingPage(this.pagePath);
82
+
83
+ this._disableButtons();
66
84
  this.savePage();
67
85
  },
68
86
 
69
87
  onCancelButton: function() {
70
- this.hide();
88
+ this._exitEditor();
71
89
  },
72
90
 
73
91
  close: function() {
74
- this.hide();
92
+ this._exitEditor();
93
+ },
94
+
95
+ _exitEditor: function() {
96
+ if (!this.editorPanel.isContentChanged() || confirm('Content has been changes, continue?')) {
97
+ this.hide();
98
+ }
99
+ },
100
+
101
+ _disableButtons: function() {
102
+ this._eachButton(function(button) {
103
+ button.setDisabled(true);
104
+ });
105
+ },
106
+
107
+ _enableButtons: function() {
108
+ this._eachButton(function(button) {
109
+ button.setDisabled(false);
110
+ });
111
+ },
112
+
113
+ _eachButton: function(callback) {
114
+ Ext.each(this.buttons, function(button) {
115
+ callback(button);
116
+ });
75
117
  }
76
118
  });