rwiki 0.1.3 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. data/Capfile +2 -0
  2. data/Gemfile +30 -0
  3. data/Rakefile +22 -65
  4. data/VERSION +1 -1
  5. data/config.ru +11 -0
  6. data/config/config.yml.example +1 -0
  7. data/config/deploy.rb +37 -0
  8. data/features/create_page.feature +30 -20
  9. data/features/delete_page.feature +23 -18
  10. data/features/display_page.feature +10 -11
  11. data/features/editor.feature +45 -0
  12. data/features/history.feature +46 -0
  13. data/features/rename_page.feature +42 -37
  14. data/features/step_definitions/common_steps.rb +19 -47
  15. data/features/step_definitions/common_transforms.rb +5 -0
  16. data/features/step_definitions/dialog_box_steps.rb +16 -0
  17. data/features/step_definitions/history_steps.rb +11 -0
  18. data/features/step_definitions/tab_panel_steps.rb +27 -0
  19. data/features/step_definitions/tree_panel_steps.rb +42 -0
  20. data/features/step_definitions/wait_steps.rb +21 -0
  21. data/features/support/env.rb +6 -0
  22. data/features/tab_panel.feature +47 -0
  23. data/features/tree_panel.feature +14 -15
  24. data/lib/rwiki.rb +1 -0
  25. data/lib/rwiki/app.rb +14 -2
  26. data/lib/rwiki/models/folder.rb +1 -1
  27. data/lib/rwiki/models/node.rb +11 -1
  28. data/lib/rwiki/models/page.rb +1 -1
  29. data/public/favicon.ico +0 -0
  30. data/public/images/compressed.png +0 -0
  31. data/public/images/css.png +0 -0
  32. data/public/images/file.png +0 -0
  33. data/public/images/html.png +0 -0
  34. data/public/images/icon_word.png +0 -0
  35. data/public/images/image.png +0 -0
  36. data/public/images/javascript.png +0 -0
  37. data/public/images/pdf.png +0 -0
  38. data/public/images/php.png +0 -0
  39. data/public/images/presentation.png +0 -0
  40. data/public/images/ruby.png +0 -0
  41. data/public/images/shellscript.png +0 -0
  42. data/public/images/stylesheet.png +0 -0
  43. data/public/images/text.png +0 -0
  44. data/public/images/wordprocessing.png +0 -0
  45. data/public/javascripts/Rwiki.js +71 -29
  46. data/public/javascripts/Rwiki/EditorPanel.js +5 -37
  47. data/public/javascripts/Rwiki/EditorPanel/Editor.js +8 -44
  48. data/public/javascripts/Rwiki/EditorWindow.js +66 -0
  49. data/public/javascripts/Rwiki/FuzzyFinderDialog.js +61 -0
  50. data/public/javascripts/Rwiki/NavigationPanel.js +25 -0
  51. data/public/javascripts/Rwiki/NodeManager.js +2 -0
  52. data/public/javascripts/Rwiki/TabPanel.js +39 -2
  53. data/public/javascripts/Rwiki/TreePanel.js +39 -26
  54. data/public/javascripts/Rwiki/TreePanel/Menu.js +1 -1
  55. data/public/javascripts/Rwiki/TreePanel/Node.js +46 -0
  56. data/public/javascripts/vendor/ext/adapter/ext/ext-base-debug.js +836 -710
  57. data/public/javascripts/vendor/ext/adapter/ext/ext-base.js +5 -5
  58. data/public/javascripts/vendor/ext/adapter/jquery/ext-jquery-adapter-debug.js +47 -700
  59. data/public/javascripts/vendor/ext/adapter/jquery/ext-jquery-adapter.js +5 -5
  60. data/public/javascripts/vendor/ext/adapter/prototype/ext-prototype-adapter-debug.js +45 -698
  61. data/public/javascripts/vendor/ext/adapter/prototype/ext-prototype-adapter.js +5 -5
  62. data/public/javascripts/vendor/ext/adapter/yui/ext-yui-adapter-debug.js +39 -696
  63. data/public/javascripts/vendor/ext/adapter/yui/ext-yui-adapter.js +5 -5
  64. data/public/javascripts/vendor/ext/ext-all-debug-w-comments.js +17932 -12860
  65. data/public/javascripts/vendor/ext/ext-all-debug.js +11674 -8102
  66. data/public/javascripts/vendor/ext/ext-all.js +6 -6
  67. data/public/javascripts/vendor/ext/ux/StatusBar.js +418 -0
  68. data/public/resources/ext/charts.swf +0 -0
  69. data/public/resources/ext/css/debug.css +4 -4
  70. data/public/resources/ext/css/ext-all-notheme.css +204 -52
  71. data/public/resources/ext/css/ext-all.css +234 -54
  72. data/public/resources/ext/css/reset-min.css +4 -4
  73. data/public/resources/ext/css/structure/borders.css +4 -4
  74. data/public/resources/ext/css/structure/box.css +4 -4
  75. data/public/resources/ext/css/structure/button.css +7 -7
  76. data/public/resources/ext/css/structure/combo.css +4 -4
  77. data/public/resources/ext/css/structure/core.css +15 -5
  78. data/public/resources/ext/css/structure/date-picker.css +4 -4
  79. data/public/resources/ext/css/structure/dd.css +4 -4
  80. data/public/resources/ext/css/structure/debug.css +4 -4
  81. data/public/resources/ext/css/structure/dialog.css +6 -9
  82. data/public/resources/ext/css/structure/editor.css +4 -4
  83. data/public/resources/ext/css/structure/form.css +14 -4
  84. data/public/resources/ext/css/structure/grid.css +15 -5
  85. data/public/resources/ext/css/structure/layout.css +7 -7
  86. data/public/resources/ext/css/structure/list-view.css +4 -4
  87. data/public/resources/ext/css/structure/menu.css +13 -6
  88. data/public/resources/ext/css/structure/panel-reset.css +4 -4
  89. data/public/resources/ext/css/structure/panel.css +70 -22
  90. data/public/resources/ext/css/structure/pivotgrid.css +65 -0
  91. data/public/resources/ext/css/structure/progress.css +4 -4
  92. data/public/resources/ext/css/structure/qtips.css +4 -4
  93. data/public/resources/ext/css/structure/reset.css +11 -5
  94. data/public/resources/ext/css/structure/resizable.css +4 -4
  95. data/public/resources/ext/css/structure/slider.css +4 -4
  96. data/public/resources/ext/css/structure/tabs.css +13 -8
  97. data/public/resources/ext/css/structure/toolbar.css +5 -5
  98. data/public/resources/ext/css/structure/tree.css +11 -11
  99. data/public/resources/ext/css/structure/window.css +5 -5
  100. data/public/resources/ext/css/theme-access/borders.css +4 -4
  101. data/public/resources/ext/css/theme-access/box.css +4 -4
  102. data/public/resources/ext/css/theme-access/button.css +4 -4
  103. data/public/resources/ext/css/theme-access/combo.css +4 -4
  104. data/public/resources/ext/css/theme-access/core.css +4 -4
  105. data/public/resources/ext/css/theme-access/date-picker.css +4 -4
  106. data/public/resources/ext/css/theme-access/dd.css +4 -4
  107. data/public/resources/ext/css/theme-access/debug.css +4 -4
  108. data/public/resources/ext/css/theme-access/dialog.css +4 -4
  109. data/public/resources/ext/css/theme-access/editor.css +4 -4
  110. data/public/resources/ext/css/theme-access/form.css +4 -4
  111. data/public/resources/ext/css/theme-access/grid.css +4 -4
  112. data/public/resources/ext/css/theme-access/layout.css +4 -4
  113. data/public/resources/ext/css/theme-access/list-view.css +8 -4
  114. data/public/resources/ext/css/theme-access/menu.css +4 -4
  115. data/public/resources/ext/css/theme-access/panel.css +4 -4
  116. data/public/resources/ext/css/theme-access/progress.css +4 -4
  117. data/public/resources/ext/css/theme-access/qtips.css +4 -4
  118. data/public/resources/ext/css/theme-access/resizable.css +4 -4
  119. data/public/resources/ext/css/theme-access/slider.css +4 -4
  120. data/public/resources/ext/css/theme-access/tabs.css +4 -4
  121. data/public/resources/ext/css/theme-access/toolbar.css +4 -4
  122. data/public/resources/ext/css/theme-access/tree.css +4 -4
  123. data/public/resources/ext/css/theme-access/window.css +5 -5
  124. data/public/resources/ext/css/theme-gray/borders.css +4 -4
  125. data/public/resources/ext/css/theme-gray/box.css +4 -4
  126. data/public/resources/ext/css/theme-gray/button.css +4 -4
  127. data/public/resources/ext/css/theme-gray/combo.css +4 -4
  128. data/public/resources/ext/css/theme-gray/core.css +6 -4
  129. data/public/resources/ext/css/theme-gray/date-picker.css +4 -4
  130. data/public/resources/ext/css/theme-gray/dd.css +4 -4
  131. data/public/resources/ext/css/theme-gray/debug.css +4 -4
  132. data/public/resources/ext/css/theme-gray/dialog.css +4 -4
  133. data/public/resources/ext/css/theme-gray/editor.css +4 -4
  134. data/public/resources/ext/css/theme-gray/form.css +4 -4
  135. data/public/resources/ext/css/theme-gray/grid.css +10 -6
  136. data/public/resources/ext/css/theme-gray/layout.css +4 -4
  137. data/public/resources/ext/css/theme-gray/list-view.css +5 -5
  138. data/public/resources/ext/css/theme-gray/menu.css +4 -4
  139. data/public/resources/ext/css/theme-gray/panel.css +4 -4
  140. data/public/resources/ext/css/theme-gray/pivotgrid.css +28 -0
  141. data/public/resources/ext/css/theme-gray/progress.css +4 -4
  142. data/public/resources/ext/css/theme-gray/qtips.css +4 -4
  143. data/public/resources/ext/css/theme-gray/resizable.css +4 -4
  144. data/public/resources/ext/css/theme-gray/slider.css +4 -4
  145. data/public/resources/ext/css/theme-gray/tabs.css +4 -4
  146. data/public/resources/ext/css/theme-gray/toolbar.css +4 -4
  147. data/public/resources/ext/css/theme-gray/tree.css +4 -4
  148. data/public/resources/ext/css/theme-gray/window.css +4 -4
  149. data/public/resources/ext/css/visual/borders.css +4 -4
  150. data/public/resources/ext/css/visual/box.css +4 -4
  151. data/public/resources/ext/css/visual/button.css +4 -4
  152. data/public/resources/ext/css/visual/combo.css +4 -4
  153. data/public/resources/ext/css/visual/core.css +6 -4
  154. data/public/resources/ext/css/visual/date-picker.css +4 -4
  155. data/public/resources/ext/css/visual/dd.css +4 -4
  156. data/public/resources/ext/css/visual/debug.css +4 -4
  157. data/public/resources/ext/css/visual/dialog.css +4 -4
  158. data/public/resources/ext/css/visual/editor.css +4 -4
  159. data/public/resources/ext/css/visual/form.css +4 -4
  160. data/public/resources/ext/css/visual/grid.css +8 -4
  161. data/public/resources/ext/css/visual/layout.css +4 -4
  162. data/public/resources/ext/css/visual/list-view.css +4 -4
  163. data/public/resources/ext/css/visual/menu.css +4 -4
  164. data/public/resources/ext/css/visual/panel.css +4 -4
  165. data/public/resources/ext/css/visual/pivotgrid.css +28 -0
  166. data/public/resources/ext/css/visual/progress.css +4 -4
  167. data/public/resources/ext/css/visual/qtips.css +4 -4
  168. data/public/resources/ext/css/visual/resizable.css +4 -4
  169. data/public/resources/ext/css/visual/slider.css +4 -4
  170. data/public/resources/ext/css/visual/tabs.css +4 -4
  171. data/public/resources/ext/css/visual/toolbar.css +5 -5
  172. data/public/resources/ext/css/visual/tree.css +4 -4
  173. data/public/resources/ext/css/visual/window.css +4 -4
  174. data/public/resources/ext/css/xtheme-access.css +9 -5
  175. data/public/resources/ext/css/xtheme-blue.css +34 -6
  176. data/public/resources/ext/css/xtheme-gray.css +35 -7
  177. data/public/resources/ext/css/yourtheme.css +11 -5
  178. data/public/resources/ext/images/access/panel/tool-sprites.gif +0 -0
  179. data/public/resources/ext/images/default/grid/grid3-rowheader.gif +0 -0
  180. data/public/resources/ext/images/default/grid/refresh-disabled.gif +0 -0
  181. data/public/resources/ext/images/default/panel/tool-sprites.gif +0 -0
  182. data/public/resources/ext/images/gray/grid/sort-hd.gif +0 -0
  183. data/public/resources/ext/images/gray/panel/tool-sprites.gif +0 -0
  184. data/public/resources/ext/images/gray/window/left-corners.png +0 -0
  185. data/public/resources/ext/images/gray/window/left-right.png +0 -0
  186. data/public/resources/ext/images/gray/window/right-corners.png +0 -0
  187. data/public/resources/ext/images/gray/window/top-bottom.png +0 -0
  188. data/public/stylesheets/coderay.css +3 -0
  189. data/public/stylesheets/markitup.css +19 -0
  190. data/public/stylesheets/style.css +1 -1
  191. data/run_tests.sh +1 -0
  192. data/rwiki.gemspec +56 -37
  193. data/test/fixtures/pages/Info/dummy +0 -0
  194. data/test/rwiki/models/test_folder.rb +4 -4
  195. data/vendor/.gitkeep +0 -0
  196. data/views/layout.erb +13 -5
  197. metadata +78 -69
  198. data/.idea/projectCodeStyle.xml +0 -80
  199. data/.rvmrc +0 -1
  200. data/public/javascripts/Rwiki/SidePanel.js +0 -26
  201. data/public/javascripts/Rwiki/Toolbar.js +0 -31
  202. data/public/javascripts/Rwiki/Viewport.js +0 -10
  203. data/tmp/ExtDesigner/MyViewport.js +0 -18
  204. data/tmp/ExtDesigner/MyViewport.ui.js +0 -29
  205. data/tmp/ExtDesigner/Rwiki.EditorPanel.js +0 -19
  206. data/tmp/ExtDesigner/Rwiki.EditorPanel.ui.js +0 -27
  207. data/tmp/ExtDesigner/Rwiki.MainPanel.js +0 -19
  208. data/tmp/ExtDesigner/Rwiki.MainPanel.ui.js +0 -29
  209. data/tmp/ExtDesigner/Rwiki.TabPane.PageTab.js +0 -19
  210. data/tmp/ExtDesigner/Rwiki.TabPane.PageTab.ui.js +0 -19
  211. data/tmp/ExtDesigner/Rwiki.TabPanel.js +0 -19
  212. data/tmp/ExtDesigner/Rwiki.TabPanel.ui.js +0 -27
  213. data/tmp/ExtDesigner/Rwiki.TreePanel.js +0 -19
  214. data/tmp/ExtDesigner/Rwiki.TreePanel.ui.js +0 -27
  215. data/tmp/ExtDesigner/Rwiki.Viewport.js +0 -18
  216. data/tmp/ExtDesigner/Rwiki.Viewport.ui.js +0 -30
  217. data/tmp/ExtDesigner/rwiki.xds +0 -192
  218. data/tmp/ExtDesigner/xds_includeOrder.txt +0 -12
  219. data/tmp/ExtDesigner/xds_index.html +0 -26
  220. data/tmp/ExtDesigner/xds_index.js +0 -19
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Ext JS Library 3.2.1
3
- * Copyright(c) 2006-2010 Ext JS, Inc.
4
- * licensing@extjs.com
5
- * http://www.extjs.com/license
2
+ * Ext JS Library 3.3.1
3
+ * Copyright(c) 2006-2010 Sencha Inc.
4
+ * licensing@sencha.com
5
+ * http://www.sencha.com/license
6
6
  */
7
7
  .x-toolbar{
8
8
  border-color:#a9bfd3;
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  .x-item-disabled .x-tbar-loading{
70
- background-image: url(../images/default/grid/loading.gif) !important;
70
+ background-image: url(../images/default/grid/refresh-disabled.gif) !important;
71
71
  }
72
72
 
73
73
  .x-item-disabled .x-tbar-page-first{
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Ext JS Library 3.2.1
3
- * Copyright(c) 2006-2010 Ext JS, Inc.
4
- * licensing@extjs.com
5
- * http://www.extjs.com/license
2
+ * Ext JS Library 3.3.1
3
+ * Copyright(c) 2006-2010 Sencha Inc.
4
+ * licensing@sencha.com
5
+ * http://www.sencha.com/license
6
6
  */
7
7
  .x-tree-node-expanded .x-tree-node-icon{
8
8
  background-image:url(../images/default/tree/folder-open.gif);
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Ext JS Library 3.2.1
3
- * Copyright(c) 2006-2010 Ext JS, Inc.
4
- * licensing@extjs.com
5
- * http://www.extjs.com/license
2
+ * Ext JS Library 3.3.1
3
+ * Copyright(c) 2006-2010 Sencha Inc.
4
+ * licensing@sencha.com
5
+ * http://www.sencha.com/license
6
6
  */
7
7
  .x-window-proxy {
8
8
  background-color:#c7dffc;
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Ext JS Library 3.2.1
3
- * Copyright(c) 2006-2010 Ext JS, Inc.
4
- * licensing@extjs.com
5
- * http://www.extjs.com/license
2
+ * Ext JS Library 3.3.1
3
+ * Copyright(c) 2006-2010 Sencha Inc.
4
+ * licensing@sencha.com
5
+ * http://www.sencha.com/license
6
6
  */
7
7
  body {
8
8
  background-color:#16181a;
@@ -1556,7 +1556,7 @@ a.x-menu-item {
1556
1556
  }
1557
1557
 
1558
1558
  .x-window-tl .x-window-header {
1559
- color:fff;
1559
+ color:#fff;
1560
1560
  font:bold 14px tahoma,arial,verdana,sans-serif;
1561
1561
  }
1562
1562
 
@@ -1750,6 +1750,10 @@ body.x-body-masked .x-window-plain .x-window-mc {
1750
1750
  line-height: 14px;
1751
1751
  }
1752
1752
 
1753
+ .x-list-body-inner {
1754
+ background-color:#1B232B;
1755
+ }
1756
+
1753
1757
  .x-list-body dt em {
1754
1758
  font:normal 14px arial, tahoma, helvetica, sans-serif;
1755
1759
  }
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Ext JS Library 3.2.1
3
- * Copyright(c) 2006-2010 Ext JS, Inc.
4
- * licensing@extjs.com
5
- * http://www.extjs.com/license
2
+ * Ext JS Library 3.3.1
3
+ * Copyright(c) 2006-2010 Sencha Inc.
4
+ * licensing@sencha.com
5
+ * http://www.sencha.com/license
6
6
  */
7
7
  .ext-el-mask {
8
8
  background-color: #ccc;
@@ -46,9 +46,11 @@
46
46
  background-color: #deecfd;
47
47
  }
48
48
 
49
+ /*
49
50
  .x-color-palette em:hover, .x-color-palette span:hover{
50
51
  background-color: #deecfd;
51
52
  }
53
+ */
52
54
 
53
55
  .x-color-palette em {
54
56
  border-color:#aca899;
@@ -465,7 +467,7 @@ ul.x-tab-strip-bottom{
465
467
  }
466
468
 
467
469
  .x-item-disabled .x-tbar-loading{
468
- background-image: url(../images/default/grid/loading.gif) !important;
470
+ background-image: url(../images/default/grid/refresh-disabled.gif) !important;
469
471
  }
470
472
 
471
473
  .x-item-disabled .x-tbar-page-first{
@@ -636,6 +638,10 @@ td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-as
636
638
  background-image:url(../images/default/grid/col-move-bottom.gif);
637
639
  }
638
640
 
641
+ td.grid-hd-group-cell {
642
+ background: url(../images/default/grid/grid3-hrow.gif) repeat-x bottom;
643
+ }
644
+
639
645
  .x-grid3-row-selected {
640
646
  background-color: #dfe8f6 !important;
641
647
  background-image: none;
@@ -793,7 +799,29 @@ td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-as
793
799
 
794
800
  .x-grid-with-col-lines .x-grid3-row-selected {
795
801
  border-top-color:#a3bae9;
796
- }.x-dd-drag-ghost{
802
+ }.x-pivotgrid .x-grid3-header-offset table td {
803
+ background: url(../images/default/grid/grid3-hrow.gif) repeat-x 50% 100%;
804
+ border-left: 1px solid;
805
+ border-right: 1px solid;
806
+ border-left-color: #EEE;
807
+ border-right-color: #D0D0D0;
808
+ }
809
+
810
+ .x-pivotgrid .x-grid3-row-headers {
811
+ background-color: #f9f9f9;
812
+ }
813
+
814
+ .x-pivotgrid .x-grid3-row-headers table td {
815
+ background: #EEE url(../images/default/grid/grid3-rowheader.gif) repeat-x left top;
816
+ border-left: 1px solid;
817
+ border-right: 1px solid;
818
+ border-left-color: #EEE;
819
+ border-right-color: #D0D0D0;
820
+ border-bottom: 1px solid;
821
+ border-bottom-color: #D0D0D0;
822
+ height: 18px;
823
+ }
824
+ .x-dd-drag-ghost{
797
825
  color:#000;
798
826
  font: normal 11px arial, helvetica, sans-serif;
799
827
  border-color: #ddd #bbb #bbb #ddd;
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Ext JS Library 3.2.1
3
- * Copyright(c) 2006-2010 Ext JS, Inc.
4
- * licensing@extjs.com
5
- * http://www.extjs.com/license
2
+ * Ext JS Library 3.3.1
3
+ * Copyright(c) 2006-2010 Sencha Inc.
4
+ * licensing@sencha.com
5
+ * http://www.sencha.com/license
6
6
  */
7
7
  .ext-el-mask {
8
8
  background-color: #ccc;
@@ -47,9 +47,11 @@
47
47
  background-color: #eaeaea;
48
48
  }
49
49
 
50
+ /*
50
51
  .x-color-palette em:hover, .x-color-palette span:hover{
51
52
  background-color: #eaeaea;
52
53
  }
54
+ */
53
55
 
54
56
  .x-color-palette em {
55
57
  border-color:#aca899;
@@ -531,8 +533,12 @@ ul.x-tab-strip-bottom{
531
533
  border-color:#d0d0d0;
532
534
  }
533
535
 
534
- .x-grid3-hd-row td, .x-grid3-row td, .x-grid3-summary-row td{
535
- font:normal 11px arial, tahoma, helvetica, sans-serif;
536
+ .x-grid3-row td, .x-grid3-summary-row td{
537
+ font:normal 11px/13px arial, tahoma, helvetica, sans-serif;
538
+ }
539
+
540
+ .x-grid3-hd-row td {
541
+ font:normal 11px/15px arial, tahoma, helvetica, sans-serif;
536
542
  }
537
543
 
538
544
  .x-grid3-hd-row td {
@@ -789,6 +795,28 @@ td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-as
789
795
  .x-grid-with-col-lines .x-grid3-row-selected {
790
796
  border-top-color:#B9B9B9;
791
797
  }
798
+ .x-pivotgrid .x-grid3-header-offset table td {
799
+ background: url(../images/gray/grid/grid3-hrow2.gif) repeat-x 50% 100%;
800
+ border-left: 1px solid;
801
+ border-right: 1px solid;
802
+ border-left-color: #D0D0D0;
803
+ border-right-color: #D0D0D0;
804
+ }
805
+
806
+ .x-pivotgrid .x-grid3-row-headers {
807
+ background-color: #f9f9f9;
808
+ }
809
+
810
+ .x-pivotgrid .x-grid3-row-headers table td {
811
+ background: #EEE url(../images/default/grid/grid3-rowheader.gif) repeat-x left top;
812
+ border-left: 1px solid;
813
+ border-right: 1px solid;
814
+ border-left-color: #EEE;
815
+ border-right-color: #D0D0D0;
816
+ border-bottom: 1px solid;
817
+ border-bottom-color: #D0D0D0;
818
+ height: 18px;
819
+ }
792
820
  .x-dd-drag-ghost{
793
821
  color:#000;
794
822
  font: normal 11px arial, helvetica, sans-serif;
@@ -1606,7 +1634,7 @@ body.x-body-masked .x-window-plain .x-window-mc {
1606
1634
  }
1607
1635
 
1608
1636
  .x-list-header-inner em.sort-asc, .x-list-header-inner em.sort-desc {
1609
- background-image:none;
1637
+ background-image:url(../images/gray/grid/sort-hd.gif);
1610
1638
  border-color: #d0d0d0;
1611
1639
  }
1612
1640
  .x-slider-horz, .x-slider-horz .x-slider-end, .x-slider-horz .x-slider-inner {
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Ext JS Library 3.2.1
3
- * Copyright(c) 2006-2010 Ext JS, Inc.
4
- * licensing@extjs.com
5
- * http://www.extjs.com/license
2
+ * Ext JS Library 3.3.1
3
+ * Copyright(c) 2006-2010 Sencha Inc.
4
+ * licensing@sencha.com
5
+ * http://www.sencha.com/license
6
6
  */
7
7
  .ext-el-mask {
8
8
  background-color: #ccc;
@@ -46,9 +46,11 @@
46
46
  background-color: #deecfd;
47
47
  }
48
48
 
49
+ /*
49
50
  .x-color-palette em:hover, .x-color-palette span:hover{
50
51
  background-color: #deecfd;
51
52
  }
53
+ */
52
54
 
53
55
  .x-color-palette em {
54
56
  border-color:#aca899;
@@ -465,7 +467,7 @@ ul.x-tab-strip-bottom{
465
467
  }
466
468
 
467
469
  .x-item-disabled .x-tbar-loading{
468
- background-image: url(../images/default/grid/loading.gif) !important;
470
+ background-image: url(../images/default/grid/refresh-disabled.gif) !important;
469
471
  }
470
472
 
471
473
  .x-item-disabled .x-tbar-page-first{
@@ -636,6 +638,10 @@ td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-as
636
638
  background-image:url(../images/default/grid/col-move-bottom.gif);
637
639
  }
638
640
 
641
+ td.grid-hd-group-cell {
642
+ background: url(../images/default/grid/grid3-hrow.gif) repeat-x bottom;
643
+ }
644
+
639
645
  .x-grid3-row-selected {
640
646
  background-color: #dfe8f6 !important;
641
647
  background-image: none;
@@ -7,6 +7,9 @@
7
7
  overflow: auto;
8
8
  font-size: 14px;
9
9
  margin: 12px 0;
10
+ margin-left: auto;
11
+ margin-right: auto;
12
+ width: 85%;
10
13
  }
11
14
  .CodeRay pre {
12
15
  margin: 0px;
@@ -0,0 +1,19 @@
1
+ .markItUp .insert-code a {
2
+ background-image: url(/images/file.png);
3
+ }
4
+
5
+ .markItUp .insert-code.ruby a {
6
+ background-image: url(/images/ruby.png);
7
+ }
8
+
9
+ .markItUp .insert-code.javascript a {
10
+ background-image: url(/images/javascript.png);
11
+ }
12
+
13
+ .markItUp .insert-code.html a {
14
+ background-image: url(/images/html.png);
15
+ }
16
+
17
+ .markItUp .insert-code.css a {
18
+ background-image: url(/images/stylesheet.png);
19
+ }
@@ -43,7 +43,7 @@
43
43
  background-image: url(../images/icons/collapse-all.gif) !important;
44
44
  }
45
45
 
46
- .icon-page {
46
+ .icon-page, .icon-edit {
47
47
  background-image: url(../images/icons/page.png) !important;
48
48
  }
49
49
 
@@ -0,0 +1 @@
1
+ rvm 1.9.2,1.8.7 rake test
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rwiki}
8
- s.version = "0.1.3"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Łukasz Bandzarewicz"]
12
- s.date = %q{2011-01-16}
12
+ s.date = %q{2011-01-22}
13
13
  s.default_executable = %q{rwiki}
14
14
  s.description = %q{Personal wiki based on ExtJS}
15
15
  s.email = %q{lucassus@gmail.com}
@@ -20,22 +20,34 @@ Gem::Specification.new do |s|
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
- ".idea/projectCodeStyle.xml",
24
- ".rvmrc",
23
+ "Capfile",
24
+ "Gemfile",
25
25
  "LICENSE",
26
26
  "README.rdoc",
27
27
  "Rakefile",
28
28
  "VERSION",
29
29
  "bin/rwiki",
30
+ "config.ru",
31
+ "config/config.yml.example",
32
+ "config/deploy.rb",
30
33
  "features/create_page.feature",
31
34
  "features/delete_page.feature",
32
35
  "features/display_page.feature",
36
+ "features/editor.feature",
37
+ "features/history.feature",
33
38
  "features/rename_page.feature",
34
39
  "features/step_definitions/common_steps.rb",
40
+ "features/step_definitions/common_transforms.rb",
41
+ "features/step_definitions/dialog_box_steps.rb",
42
+ "features/step_definitions/history_steps.rb",
43
+ "features/step_definitions/tab_panel_steps.rb",
44
+ "features/step_definitions/tree_panel_steps.rb",
45
+ "features/step_definitions/wait_steps.rb",
35
46
  "features/step_definitions/web_steps.rb",
36
47
  "features/support/env.rb",
37
48
  "features/support/firebug-1.6.1-fx.xpi",
38
49
  "features/support/paths.rb",
50
+ "features/tab_panel.feature",
39
51
  "features/tree_panel.feature",
40
52
  "lib/rwiki.rb",
41
53
  "lib/rwiki/app.rb",
@@ -45,6 +57,12 @@ Gem::Specification.new do |s|
45
57
  "lib/rwiki/models/node.rb",
46
58
  "lib/rwiki/models/page.rb",
47
59
  "public/SpecRunner.html",
60
+ "public/favicon.ico",
61
+ "public/images/compressed.png",
62
+ "public/images/css.png",
63
+ "public/images/file.png",
64
+ "public/images/html.png",
65
+ "public/images/icon_word.png",
48
66
  "public/images/icons/accept.png",
49
67
  "public/images/icons/add.png",
50
68
  "public/images/icons/anchor.png",
@@ -1047,6 +1065,16 @@ Gem::Specification.new do |s|
1047
1065
  "public/images/icons/zoom.png",
1048
1066
  "public/images/icons/zoom_in.png",
1049
1067
  "public/images/icons/zoom_out.png",
1068
+ "public/images/image.png",
1069
+ "public/images/javascript.png",
1070
+ "public/images/pdf.png",
1071
+ "public/images/php.png",
1072
+ "public/images/presentation.png",
1073
+ "public/images/ruby.png",
1074
+ "public/images/shellscript.png",
1075
+ "public/images/stylesheet.png",
1076
+ "public/images/text.png",
1077
+ "public/images/wordprocessing.png",
1050
1078
  "public/jasmine/jasmine-html.js",
1051
1079
  "public/jasmine/jasmine.css",
1052
1080
  "public/jasmine/jasmine.js",
@@ -1054,18 +1082,18 @@ Gem::Specification.new do |s|
1054
1082
  "public/javascripts/Rwiki.js",
1055
1083
  "public/javascripts/Rwiki/EditorPanel.js",
1056
1084
  "public/javascripts/Rwiki/EditorPanel/Editor.js",
1085
+ "public/javascripts/Rwiki/EditorWindow.js",
1086
+ "public/javascripts/Rwiki/FuzzyFinderDialog.js",
1087
+ "public/javascripts/Rwiki/NavigationPanel.js",
1057
1088
  "public/javascripts/Rwiki/NodeManager.js",
1058
- "public/javascripts/Rwiki/SidePanel.js",
1059
1089
  "public/javascripts/Rwiki/TabPanel.js",
1060
1090
  "public/javascripts/Rwiki/TabPanel/PageTab.js",
1061
- "public/javascripts/Rwiki/Toolbar.js",
1062
1091
  "public/javascripts/Rwiki/TreePanel.js",
1063
1092
  "public/javascripts/Rwiki/TreePanel/Filter.js",
1064
1093
  "public/javascripts/Rwiki/TreePanel/Loader.js",
1065
1094
  "public/javascripts/Rwiki/TreePanel/Menu.js",
1066
1095
  "public/javascripts/Rwiki/TreePanel/Node.js",
1067
1096
  "public/javascripts/Rwiki/TreePanel/Toolbar.js",
1068
- "public/javascripts/Rwiki/Viewport.js",
1069
1097
  "public/javascripts/vendor/ext/adapter/ext/ext-base-debug-w-comments.js",
1070
1098
  "public/javascripts/vendor/ext/adapter/ext/ext-base-debug.js",
1071
1099
  "public/javascripts/vendor/ext/adapter/ext/ext-base.js",
@@ -1078,6 +1106,7 @@ Gem::Specification.new do |s|
1078
1106
  "public/javascripts/vendor/ext/ext-all-debug-w-comments.js",
1079
1107
  "public/javascripts/vendor/ext/ext-all-debug.js",
1080
1108
  "public/javascripts/vendor/ext/ext-all.js",
1109
+ "public/javascripts/vendor/ext/ux/StatusBar.js",
1081
1110
  "public/javascripts/vendor/ext/ux/TabCloseMenu.js",
1082
1111
  "public/javascripts/vendor/jquery/jquery-1.4.2.js",
1083
1112
  "public/javascripts/vendor/jquery/jquery-1.4.2.min.js",
@@ -1105,6 +1134,7 @@ Gem::Specification.new do |s|
1105
1134
  "public/resources/ext/css/structure/menu.css",
1106
1135
  "public/resources/ext/css/structure/panel-reset.css",
1107
1136
  "public/resources/ext/css/structure/panel.css",
1137
+ "public/resources/ext/css/structure/pivotgrid.css",
1108
1138
  "public/resources/ext/css/structure/progress.css",
1109
1139
  "public/resources/ext/css/structure/qtips.css",
1110
1140
  "public/resources/ext/css/structure/reset.css",
@@ -1154,6 +1184,7 @@ Gem::Specification.new do |s|
1154
1184
  "public/resources/ext/css/theme-gray/list-view.css",
1155
1185
  "public/resources/ext/css/theme-gray/menu.css",
1156
1186
  "public/resources/ext/css/theme-gray/panel.css",
1187
+ "public/resources/ext/css/theme-gray/pivotgrid.css",
1157
1188
  "public/resources/ext/css/theme-gray/progress.css",
1158
1189
  "public/resources/ext/css/theme-gray/qtips.css",
1159
1190
  "public/resources/ext/css/theme-gray/resizable.css",
@@ -1178,6 +1209,7 @@ Gem::Specification.new do |s|
1178
1209
  "public/resources/ext/css/visual/list-view.css",
1179
1210
  "public/resources/ext/css/visual/menu.css",
1180
1211
  "public/resources/ext/css/visual/panel.css",
1212
+ "public/resources/ext/css/visual/pivotgrid.css",
1181
1213
  "public/resources/ext/css/visual/progress.css",
1182
1214
  "public/resources/ext/css/visual/qtips.css",
1183
1215
  "public/resources/ext/css/visual/resizable.css",
@@ -1430,6 +1462,7 @@ Gem::Specification.new do |s|
1430
1462
  "public/resources/ext/images/default/grid/grid3-hd-btn.gif",
1431
1463
  "public/resources/ext/images/default/grid/grid3-hrow-over.gif",
1432
1464
  "public/resources/ext/images/default/grid/grid3-hrow.gif",
1465
+ "public/resources/ext/images/default/grid/grid3-rowheader.gif",
1433
1466
  "public/resources/ext/images/default/grid/grid3-special-col-bg.gif",
1434
1467
  "public/resources/ext/images/default/grid/grid3-special-col-sel-bg.gif",
1435
1468
  "public/resources/ext/images/default/grid/group-by.gif",
@@ -1456,6 +1489,7 @@ Gem::Specification.new do |s|
1456
1489
  "public/resources/ext/images/default/grid/page-prev-disabled.gif",
1457
1490
  "public/resources/ext/images/default/grid/page-prev.gif",
1458
1491
  "public/resources/ext/images/default/grid/pick-button.gif",
1492
+ "public/resources/ext/images/default/grid/refresh-disabled.gif",
1459
1493
  "public/resources/ext/images/default/grid/refresh.gif",
1460
1494
  "public/resources/ext/images/default/grid/row-check-sprite.gif",
1461
1495
  "public/resources/ext/images/default/grid/row-expand-sprite.gif",
@@ -1625,6 +1659,7 @@ Gem::Specification.new do |s|
1625
1659
  "public/resources/ext/images/gray/grid/page-prev.gif",
1626
1660
  "public/resources/ext/images/gray/grid/refresh.gif",
1627
1661
  "public/resources/ext/images/gray/grid/row-expand-sprite.gif",
1662
+ "public/resources/ext/images/gray/grid/sort-hd.gif",
1628
1663
  "public/resources/ext/images/gray/grid/sort_asc.gif",
1629
1664
  "public/resources/ext/images/gray/grid/sort_desc.gif",
1630
1665
  "public/resources/ext/images/gray/menu/group-checked.gif",
@@ -2022,8 +2057,10 @@ Gem::Specification.new do |s|
2022
2057
  "public/resources/markitup/templates/preview.css",
2023
2058
  "public/resources/markitup/templates/preview.html",
2024
2059
  "public/stylesheets/coderay.css",
2060
+ "public/stylesheets/markitup.css",
2025
2061
  "public/stylesheets/page.css",
2026
2062
  "public/stylesheets/style.css",
2063
+ "run_tests.sh",
2027
2064
  "rwiki.gemspec",
2028
2065
  "script/server",
2029
2066
  "script/xvfb",
@@ -2035,6 +2072,7 @@ Gem::Specification.new do |s|
2035
2072
  "spec/javascripts/helpers/SpecHelper.js",
2036
2073
  "spec/javascripts/support/jasmine.yml",
2037
2074
  "spec/javascripts/support/jasmine_runner.rb",
2075
+ "test/fixtures/pages/Info/dummy",
2038
2076
  "test/fixtures/pages/empty_folder/dummy",
2039
2077
  "test/fixtures/pages/folder/subfolder/ruby.txt",
2040
2078
  "test/fixtures/pages/folder/test 1.txt",
@@ -2049,29 +2087,13 @@ Gem::Specification.new do |s|
2049
2087
  "test/rwiki/models/test_page.rb",
2050
2088
  "test/rwiki/test_app.rb",
2051
2089
  "test/tmpdir_helper.rb",
2052
- "tmp/ExtDesigner/MyViewport.js",
2053
- "tmp/ExtDesigner/MyViewport.ui.js",
2054
- "tmp/ExtDesigner/Rwiki.EditorPanel.js",
2055
- "tmp/ExtDesigner/Rwiki.EditorPanel.ui.js",
2056
- "tmp/ExtDesigner/Rwiki.MainPanel.js",
2057
- "tmp/ExtDesigner/Rwiki.MainPanel.ui.js",
2058
- "tmp/ExtDesigner/Rwiki.TabPane.PageTab.js",
2059
- "tmp/ExtDesigner/Rwiki.TabPane.PageTab.ui.js",
2060
- "tmp/ExtDesigner/Rwiki.TabPanel.js",
2061
- "tmp/ExtDesigner/Rwiki.TabPanel.ui.js",
2062
- "tmp/ExtDesigner/Rwiki.TreePanel.js",
2063
- "tmp/ExtDesigner/Rwiki.TreePanel.ui.js",
2064
- "tmp/ExtDesigner/Rwiki.Viewport.js",
2065
- "tmp/ExtDesigner/Rwiki.Viewport.ui.js",
2066
- "tmp/ExtDesigner/rwiki.xds",
2067
- "tmp/ExtDesigner/xds_includeOrder.txt",
2068
- "tmp/ExtDesigner/xds_index.html",
2069
- "tmp/ExtDesigner/xds_index.js",
2070
2090
  "tmp/fssm_test.rb",
2091
+ "vendor/.gitkeep",
2071
2092
  "views/index.erb",
2072
2093
  "views/layout.erb"
2073
2094
  ]
2074
2095
  s.homepage = %q{http://github.com/lucassus/rwiki}
2096
+ s.licenses = ["MIT"]
2075
2097
  s.require_paths = ["lib"]
2076
2098
  s.rubygems_version = %q{1.3.7}
2077
2099
  s.summary = %q{Yet another personal wiki}
@@ -2095,40 +2117,38 @@ Gem::Specification.new do |s|
2095
2117
  s.add_runtime_dependency(%q<coderay>, [">= 0"])
2096
2118
  s.add_runtime_dependency(%q<json_pure>, [">= 0"])
2097
2119
  s.add_runtime_dependency(%q<thin>, [">= 0"])
2098
- s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
2120
+ s.add_runtime_dependency(%q<fuzzy_file_finder>, [">= 0"])
2121
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
2099
2122
  s.add_development_dependency(%q<rack-test>, [">= 0"])
2100
2123
  s.add_development_dependency(%q<test-unit>, [">= 0"])
2101
2124
  s.add_development_dependency(%q<shoulda>, [">= 0"])
2102
2125
  s.add_development_dependency(%q<jasmine>, [">= 0"])
2103
2126
  s.add_development_dependency(%q<cucumber>, [">= 0"])
2104
2127
  s.add_development_dependency(%q<cucumber-rails>, [">= 0"])
2105
- s.add_development_dependency(%q<webrat>, [">= 0"])
2106
2128
  s.add_development_dependency(%q<capybara>, [">= 0"])
2107
2129
  s.add_development_dependency(%q<rspec>, [">= 0"])
2108
2130
  s.add_development_dependency(%q<rspec-core>, [">= 0"])
2109
2131
  s.add_development_dependency(%q<rspec-expectations>, [">= 0"])
2110
- s.add_development_dependency(%q<Selenium>, [">= 0"])
2111
- s.add_development_dependency(%q<selenium-client>, [">= 0"])
2132
+ s.add_development_dependency(%q<capistrano>, [">= 0"])
2112
2133
  else
2113
2134
  s.add_dependency(%q<sinatra>, [">= 0"])
2114
2135
  s.add_dependency(%q<RedCloth>, [">= 0"])
2115
2136
  s.add_dependency(%q<coderay>, [">= 0"])
2116
2137
  s.add_dependency(%q<json_pure>, [">= 0"])
2117
2138
  s.add_dependency(%q<thin>, [">= 0"])
2118
- s.add_dependency(%q<ruby-debug19>, [">= 0"])
2139
+ s.add_dependency(%q<fuzzy_file_finder>, [">= 0"])
2140
+ s.add_dependency(%q<jeweler>, [">= 0"])
2119
2141
  s.add_dependency(%q<rack-test>, [">= 0"])
2120
2142
  s.add_dependency(%q<test-unit>, [">= 0"])
2121
2143
  s.add_dependency(%q<shoulda>, [">= 0"])
2122
2144
  s.add_dependency(%q<jasmine>, [">= 0"])
2123
2145
  s.add_dependency(%q<cucumber>, [">= 0"])
2124
2146
  s.add_dependency(%q<cucumber-rails>, [">= 0"])
2125
- s.add_dependency(%q<webrat>, [">= 0"])
2126
2147
  s.add_dependency(%q<capybara>, [">= 0"])
2127
2148
  s.add_dependency(%q<rspec>, [">= 0"])
2128
2149
  s.add_dependency(%q<rspec-core>, [">= 0"])
2129
2150
  s.add_dependency(%q<rspec-expectations>, [">= 0"])
2130
- s.add_dependency(%q<Selenium>, [">= 0"])
2131
- s.add_dependency(%q<selenium-client>, [">= 0"])
2151
+ s.add_dependency(%q<capistrano>, [">= 0"])
2132
2152
  end
2133
2153
  else
2134
2154
  s.add_dependency(%q<sinatra>, [">= 0"])
@@ -2136,20 +2156,19 @@ Gem::Specification.new do |s|
2136
2156
  s.add_dependency(%q<coderay>, [">= 0"])
2137
2157
  s.add_dependency(%q<json_pure>, [">= 0"])
2138
2158
  s.add_dependency(%q<thin>, [">= 0"])
2139
- s.add_dependency(%q<ruby-debug19>, [">= 0"])
2159
+ s.add_dependency(%q<fuzzy_file_finder>, [">= 0"])
2160
+ s.add_dependency(%q<jeweler>, [">= 0"])
2140
2161
  s.add_dependency(%q<rack-test>, [">= 0"])
2141
2162
  s.add_dependency(%q<test-unit>, [">= 0"])
2142
2163
  s.add_dependency(%q<shoulda>, [">= 0"])
2143
2164
  s.add_dependency(%q<jasmine>, [">= 0"])
2144
2165
  s.add_dependency(%q<cucumber>, [">= 0"])
2145
2166
  s.add_dependency(%q<cucumber-rails>, [">= 0"])
2146
- s.add_dependency(%q<webrat>, [">= 0"])
2147
2167
  s.add_dependency(%q<capybara>, [">= 0"])
2148
2168
  s.add_dependency(%q<rspec>, [">= 0"])
2149
2169
  s.add_dependency(%q<rspec-core>, [">= 0"])
2150
2170
  s.add_dependency(%q<rspec-expectations>, [">= 0"])
2151
- s.add_dependency(%q<Selenium>, [">= 0"])
2152
- s.add_dependency(%q<selenium-client>, [">= 0"])
2171
+ s.add_dependency(%q<capistrano>, [">= 0"])
2153
2172
  end
2154
2173
  end
2155
2174