wice_grid 3.6.2 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +41 -0
  3. data/.circleci/run-build-locally.sh +7 -0
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  5. data/.gitignore +5 -2
  6. data/Appraisals +11 -0
  7. data/CHANGELOG.md +38 -1
  8. data/Gemfile.lock +299 -0
  9. data/README.md +77 -34
  10. data/config/locales/ja.yml +3 -3
  11. data/gemfiles/rails_5.0.gemfile +7 -0
  12. data/gemfiles/rails_5.0.gemfile.lock +291 -0
  13. data/gemfiles/rails_5.1.gemfile +7 -0
  14. data/gemfiles/rails_5.1.gemfile.lock +291 -0
  15. data/gemfiles/rails_5.2.gemfile +7 -0
  16. data/gemfiles/rails_5.2.gemfile.lock +299 -0
  17. data/lib/wice/columns.rb +13 -6
  18. data/lib/wice/columns/column_integer.rb +11 -1
  19. data/lib/wice/columns/column_rails_datetime_helper.rb +3 -2
  20. data/lib/wice/columns/column_range.rb +6 -4
  21. data/lib/wice/grid_renderer.rb +23 -7
  22. data/lib/wice/helpers/bs_calendar_helpers.rb +9 -1
  23. data/lib/wice/helpers/wice_grid_view_helpers.rb +6 -6
  24. data/lib/wice/wice_grid_controller.rb +7 -5
  25. data/lib/wice/wice_grid_core_ext.rb +5 -1
  26. data/lib/wice/wice_grid_misc.rb +1 -1
  27. data/lib/wice_grid.rb +86 -59
  28. data/spec/acceptance_helper.rb +58 -0
  29. data/spec/features/action_column_request_spec.rb +280 -0
  30. data/spec/features/adding_rows_request_spec.rb +21 -0
  31. data/spec/features/all_records_request_spec.rb +18 -0
  32. data/spec/features/auto_reloads2_request_spec.rb +349 -0
  33. data/spec/features/auto_reloads3_request_spec.rb +130 -0
  34. data/spec/features/auto_reloads_request_spec.rb +348 -0
  35. data/spec/features/basics1_request_spec.rb +11 -0
  36. data/spec/features/basics2_request_spec.rb +10 -0
  37. data/spec/features/basics3_request_spec.rb +29 -0
  38. data/spec/features/basics4_request_spec.rb +19 -0
  39. data/spec/features/basics5_request_spec.rb +13 -0
  40. data/spec/features/basics6_request_spec.rb +22 -0
  41. data/spec/features/blockless_column_definition_spec.rb +27 -0
  42. data/spec/features/buttons_request_spec.rb +172 -0
  43. data/spec/features/csv_and_detached_filters_spec.rb +10 -0
  44. data/spec/features/csv_export_request_spec.rb +13 -0
  45. data/spec/features/custom_filter_params_request_spec.rb +29 -0
  46. data/spec/features/custom_filters1_request_spec.rb +155 -0
  47. data/spec/features/custom_filters2_request_spec.rb +53 -0
  48. data/spec/features/custom_filters3_request_spec.rb +50 -0
  49. data/spec/features/custom_filters4_request_spec.rb +13 -0
  50. data/spec/features/custom_ordering_on_calculated_request_spec.rb +30 -0
  51. data/spec/features/custom_ordering_request_spec.rb +36 -0
  52. data/spec/features/custom_ordering_with_arel_request_spec.rb +36 -0
  53. data/spec/features/custom_ordering_with_proc_request_spec.rb +44 -0
  54. data/spec/features/custom_ordering_with_ruby_request_spec.rb +30 -0
  55. data/spec/features/dates_request_spec.rb +56 -0
  56. data/spec/features/detached_filters_spec.rb +10 -0
  57. data/spec/features/detached_filters_two_grids_spec.rb +127 -0
  58. data/spec/features/disable_all_filters_spec.rb +22 -0
  59. data/spec/features/hiding_checkboxes_in_action_column_request_spec.rb +294 -0
  60. data/spec/features/integration_with_application_view_request_spec.rb +43 -0
  61. data/spec/features/integration_with_forms_request_spec.rb +141 -0
  62. data/spec/features/joining_tables_spec.rb +40 -0
  63. data/spec/features/localization_request_spec.rb +24 -0
  64. data/spec/features/many_grids_on_page_request_spec.rb +104 -0
  65. data/spec/features/negation_request_spec.rb +25 -0
  66. data/spec/features/no_records_request_spec.rb +26 -0
  67. data/spec/features/numeric_filters_request_spec.rb +10 -0
  68. data/spec/features/resultset_processings2_request_spec.rb +27 -0
  69. data/spec/features/resultset_processings_request_spec.rb +30 -0
  70. data/spec/features/saved_queries_request_spec.rb +120 -0
  71. data/spec/features/shared.rb +1005 -0
  72. data/spec/features/shared_detached_filters.rb +158 -0
  73. data/spec/features/styling_spec.rb +15 -0
  74. data/spec/features/two_associations_spec.rb +48 -0
  75. data/spec/features/upper_pagination_panel_request_spec.rb +23 -0
  76. data/spec/features/when_filtered_spec.rb +209 -0
  77. data/spec/fixtures/.gitkeep +0 -0
  78. data/spec/fixtures/companies.yml +21 -0
  79. data/spec/fixtures/priorities.yml +31 -0
  80. data/spec/fixtures/project_roles.yml +25 -0
  81. data/spec/fixtures/projects.yml +22 -0
  82. data/spec/fixtures/statuses.yml +55 -0
  83. data/spec/fixtures/tasks.yml +751 -0
  84. data/spec/fixtures/tasks_users.yml +2089 -0
  85. data/spec/fixtures/users.yml +61 -0
  86. data/spec/fixtures/versions.yml +78 -0
  87. data/spec/models/company_spec.rb +6 -0
  88. data/spec/models/priority_spec.rb +6 -0
  89. data/spec/models/project_spec.rb +11 -0
  90. data/spec/models/status_spec.rb +6 -0
  91. data/spec/models/task_spec.rb +12 -0
  92. data/spec/models/user_project_participation_spec.rb +7 -0
  93. data/spec/models/user_spec.rb +12 -0
  94. data/spec/models/version_spec.rb +5 -0
  95. data/spec/rails_helper.rb +15 -0
  96. data/spec/spec_helper.rb +10 -9
  97. data/spec/support/test_app/Rakefile +3 -0
  98. data/spec/support/test_app/app/assets/javascripts/application.js +20 -0
  99. data/spec/support/test_app/app/assets/javascripts/common.js.coffee +6 -0
  100. data/spec/support/test_app/app/assets/javascripts/jquery.ui.datepicker.locales.js +56 -0
  101. data/spec/support/test_app/app/assets/stylesheets/adding_rows.scss +3 -0
  102. data/spec/support/test_app/app/assets/stylesheets/application.scss +46 -0
  103. data/spec/support/test_app/app/assets/stylesheets/csv_and_detached_filters.scss +3 -0
  104. data/spec/support/test_app/app/assets/stylesheets/many_grids_on_page.scss +3 -0
  105. data/spec/support/test_app/app/controllers/action_column_controller.rb +15 -0
  106. data/spec/support/test_app/app/controllers/adding_rows_controller.rb +14 -0
  107. data/spec/support/test_app/app/controllers/all_records_controller.rb +14 -0
  108. data/spec/support/test_app/app/controllers/application_controller.rb +99 -0
  109. data/spec/support/test_app/app/controllers/auto_reloads2_controller.rb +14 -0
  110. data/spec/support/test_app/app/controllers/auto_reloads3_controller.rb +20 -0
  111. data/spec/support/test_app/app/controllers/auto_reloads_controller.rb +14 -0
  112. data/spec/support/test_app/app/controllers/basics1_controller.rb +6 -0
  113. data/spec/support/test_app/app/controllers/basics2_controller.rb +6 -0
  114. data/spec/support/test_app/app/controllers/basics3_controller.rb +6 -0
  115. data/spec/support/test_app/app/controllers/basics4_controller.rb +6 -0
  116. data/spec/support/test_app/app/controllers/basics5_controller.rb +6 -0
  117. data/spec/support/test_app/app/controllers/basics6_controller.rb +11 -0
  118. data/spec/support/test_app/app/controllers/blockless_column_definition_controller.rb +6 -0
  119. data/spec/support/test_app/app/controllers/buttons_controller.rb +6 -0
  120. data/spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb +13 -0
  121. data/spec/support/test_app/app/controllers/csv_export_controller.rb +28 -0
  122. data/spec/support/test_app/app/controllers/custom_filter_params_controller.rb +6 -0
  123. data/spec/support/test_app/app/controllers/custom_filters1_controller.rb +9 -0
  124. data/spec/support/test_app/app/controllers/custom_filters2_controller.rb +14 -0
  125. data/spec/support/test_app/app/controllers/custom_filters3_controller.rb +12 -0
  126. data/spec/support/test_app/app/controllers/custom_filters4_controller.rb +12 -0
  127. data/spec/support/test_app/app/controllers/custom_ordering_controller.rb +18 -0
  128. data/spec/support/test_app/app/controllers/custom_ordering_on_calculated_controller.rb +6 -0
  129. data/spec/support/test_app/app/controllers/custom_ordering_with_arel_controller.rb +18 -0
  130. data/spec/support/test_app/app/controllers/custom_ordering_with_proc_controller.rb +11 -0
  131. data/spec/support/test_app/app/controllers/custom_ordering_with_ruby_controller.rb +6 -0
  132. data/spec/support/test_app/app/controllers/dates_controller.rb +8 -0
  133. data/spec/support/test_app/app/controllers/detached_filters_controller.rb +6 -0
  134. data/spec/support/test_app/app/controllers/detached_filters_two_grids_controller.rb +7 -0
  135. data/spec/support/test_app/app/controllers/disable_all_filters_controller.rb +6 -0
  136. data/spec/support/test_app/app/controllers/hiding_checkboxes_in_action_column_controller.rb +13 -0
  137. data/spec/support/test_app/app/controllers/home_controller.rb +3 -0
  138. data/spec/support/test_app/app/controllers/integration_with_application_view_controller.rb +16 -0
  139. data/spec/support/test_app/app/controllers/integration_with_forms_controller.rb +11 -0
  140. data/spec/support/test_app/app/controllers/joining_tables_controller.rb +11 -0
  141. data/spec/support/test_app/app/controllers/localization_controller.rb +26 -0
  142. data/spec/support/test_app/app/controllers/many_grids_on_page_controller.rb +7 -0
  143. data/spec/support/test_app/app/controllers/negation_controller.rb +14 -0
  144. data/spec/support/test_app/app/controllers/no_records_controller.rb +8 -0
  145. data/spec/support/test_app/app/controllers/null_values_controller.rb +10 -0
  146. data/spec/support/test_app/app/controllers/numeric_filters_controller.rb +6 -0
  147. data/spec/support/test_app/app/controllers/queries_controller.rb +4 -0
  148. data/spec/support/test_app/app/controllers/resultset_processings2_controller.rb +29 -0
  149. data/spec/support/test_app/app/controllers/resultset_processings_controller.rb +30 -0
  150. data/spec/support/test_app/app/controllers/saved_queries_controller.rb +14 -0
  151. data/spec/support/test_app/app/controllers/styling_controller.rb +7 -0
  152. data/spec/support/test_app/app/controllers/tasks_controller.rb +14 -0
  153. data/spec/support/test_app/app/controllers/two_associations_controller.rb +6 -0
  154. data/spec/support/test_app/app/controllers/upper_pagination_panel_controller.rb +6 -0
  155. data/spec/support/test_app/app/controllers/when_filtered_controller.rb +6 -0
  156. data/spec/support/test_app/app/helpers/application_helper.rb +82 -0
  157. data/spec/support/test_app/app/mailers/.gitkeep +0 -0
  158. data/spec/support/test_app/app/models/.gitkeep +0 -0
  159. data/spec/support/test_app/app/models/company.rb +5 -0
  160. data/spec/support/test_app/app/models/populate.rb +84 -0
  161. data/spec/support/test_app/app/models/priority.rb +10 -0
  162. data/spec/support/test_app/app/models/project.rb +14 -0
  163. data/spec/support/test_app/app/models/project_role.rb +3 -0
  164. data/spec/support/test_app/app/models/status.rb +10 -0
  165. data/spec/support/test_app/app/models/task.rb +11 -0
  166. data/spec/support/test_app/app/models/to_dropdown_mixin.rb +16 -0
  167. data/spec/support/test_app/app/models/user.rb +8 -0
  168. data/spec/support/test_app/app/models/user_project_participation.rb +6 -0
  169. data/spec/support/test_app/app/models/version.rb +6 -0
  170. data/spec/support/test_app/app/views/action_column/_grid.html.erb +35 -0
  171. data/spec/support/test_app/app/views/action_column/index.html.haml +45 -0
  172. data/spec/support/test_app/app/views/adding_rows/_grid.html.erb +58 -0
  173. data/spec/support/test_app/app/views/adding_rows/index.html.haml +37 -0
  174. data/spec/support/test_app/app/views/all_records/_grid.html.erb +30 -0
  175. data/spec/support/test_app/app/views/all_records/index.html.haml +12 -0
  176. data/spec/support/test_app/app/views/auto_reloads/_grid.html.erb +32 -0
  177. data/spec/support/test_app/app/views/auto_reloads/index.html.haml +15 -0
  178. data/spec/support/test_app/app/views/auto_reloads2/_grid.html.erb +32 -0
  179. data/spec/support/test_app/app/views/auto_reloads2/index.html.haml +65 -0
  180. data/spec/support/test_app/app/views/auto_reloads3/_grid.html.erb +25 -0
  181. data/spec/support/test_app/app/views/auto_reloads3/index.html.haml +78 -0
  182. data/spec/support/test_app/app/views/basics1/_grid.html.erb +26 -0
  183. data/spec/support/test_app/app/views/basics1/index.html.haml +13 -0
  184. data/spec/support/test_app/app/views/basics2/_grid.html.erb +27 -0
  185. data/spec/support/test_app/app/views/basics2/index.html.haml +12 -0
  186. data/spec/support/test_app/app/views/basics3/_grid.html.erb +28 -0
  187. data/spec/support/test_app/app/views/basics3/index.html.haml +13 -0
  188. data/spec/support/test_app/app/views/basics4/_grid.html.erb +21 -0
  189. data/spec/support/test_app/app/views/basics4/index.html.haml +12 -0
  190. data/spec/support/test_app/app/views/basics5/_grid.html.erb +19 -0
  191. data/spec/support/test_app/app/views/basics5/index.html.haml +12 -0
  192. data/spec/support/test_app/app/views/basics6/_grid.html.erb +19 -0
  193. data/spec/support/test_app/app/views/basics6/index.html.haml +23 -0
  194. data/spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb +19 -0
  195. data/spec/support/test_app/app/views/blockless_column_definition/index.html.haml +15 -0
  196. data/spec/support/test_app/app/views/buttons/_grid.html.erb +20 -0
  197. data/spec/support/test_app/app/views/buttons/index.html.haml +30 -0
  198. data/spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb +23 -0
  199. data/spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml +58 -0
  200. data/spec/support/test_app/app/views/csv_export/_projects_grid.html.erb +17 -0
  201. data/spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb +43 -0
  202. data/spec/support/test_app/app/views/csv_export/index.html.haml +90 -0
  203. data/spec/support/test_app/app/views/custom_filter_params/_grid.html.erb +12 -0
  204. data/spec/support/test_app/app/views/custom_filter_params/index.html.haml +12 -0
  205. data/spec/support/test_app/app/views/custom_filters1/_g1.html.erb +8 -0
  206. data/spec/support/test_app/app/views/custom_filters1/_g2.html.erb +9 -0
  207. data/spec/support/test_app/app/views/custom_filters1/_g3.html.erb +9 -0
  208. data/spec/support/test_app/app/views/custom_filters1/_g4.html.erb +8 -0
  209. data/spec/support/test_app/app/views/custom_filters1/index.html.haml +30 -0
  210. data/spec/support/test_app/app/views/custom_filters2/_grid.html.erb +30 -0
  211. data/spec/support/test_app/app/views/custom_filters2/index.html.haml +41 -0
  212. data/spec/support/test_app/app/views/custom_filters3/_grid.html.erb +18 -0
  213. data/spec/support/test_app/app/views/custom_filters3/index.html.haml +16 -0
  214. data/spec/support/test_app/app/views/custom_filters4/_grid.html.erb +20 -0
  215. data/spec/support/test_app/app/views/custom_filters4/index.html.haml +12 -0
  216. data/spec/support/test_app/app/views/custom_ordering/_grid.html.erb +10 -0
  217. data/spec/support/test_app/app/views/custom_ordering/index.html.haml +24 -0
  218. data/spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb +14 -0
  219. data/spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml +23 -0
  220. data/spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb +10 -0
  221. data/spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml +24 -0
  222. data/spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb +10 -0
  223. data/spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml +21 -0
  224. data/spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb +10 -0
  225. data/spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml +23 -0
  226. data/spec/support/test_app/app/views/dates/_grid.html.erb +25 -0
  227. data/spec/support/test_app/app/views/dates/index.html.haml +52 -0
  228. data/spec/support/test_app/app/views/detached_filters/_grid.html.erb +23 -0
  229. data/spec/support/test_app/app/views/detached_filters/index.html.haml +79 -0
  230. data/spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb +23 -0
  231. data/spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml +85 -0
  232. data/spec/support/test_app/app/views/disable_all_filters/_grid.html.erb +21 -0
  233. data/spec/support/test_app/app/views/disable_all_filters/index.html.haml +14 -0
  234. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb +34 -0
  235. data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml +32 -0
  236. data/spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb +27 -0
  237. data/spec/support/test_app/app/views/integration_with_application_view/index.html.haml +33 -0
  238. data/spec/support/test_app/app/views/integration_with_forms/_grid.html.erb +23 -0
  239. data/spec/support/test_app/app/views/integration_with_forms/index.html.haml +18 -0
  240. data/spec/support/test_app/app/views/joining_tables/_grid.html.erb +23 -0
  241. data/spec/support/test_app/app/views/joining_tables/index.html.haml +26 -0
  242. data/spec/support/test_app/app/views/layouts/application.html.haml +61 -0
  243. data/spec/support/test_app/app/views/localization/_grid.html.erb +36 -0
  244. data/spec/support/test_app/app/views/localization/index.html.haml +20 -0
  245. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb +12 -0
  246. data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb +12 -0
  247. data/spec/support/test_app/app/views/many_grids_on_page/index.html.haml +26 -0
  248. data/spec/support/test_app/app/views/negation/_grid.html.erb +30 -0
  249. data/spec/support/test_app/app/views/negation/index.html.haml +15 -0
  250. data/spec/support/test_app/app/views/no_records/_empty_grid.html.haml +1 -0
  251. data/spec/support/test_app/app/views/no_records/_grid1.html.erb +11 -0
  252. data/spec/support/test_app/app/views/no_records/_grid2.html.erb +9 -0
  253. data/spec/support/test_app/app/views/no_records/_grid3.html.erb +9 -0
  254. data/spec/support/test_app/app/views/no_records/index.html.haml +24 -0
  255. data/spec/support/test_app/app/views/null_values/_grid.html.erb +17 -0
  256. data/spec/support/test_app/app/views/null_values/index.html.haml +21 -0
  257. data/spec/support/test_app/app/views/numeric_filters/_grid.html.erb +19 -0
  258. data/spec/support/test_app/app/views/numeric_filters/index.html.haml +12 -0
  259. data/spec/support/test_app/app/views/resultset_processings/_grid.html.erb +27 -0
  260. data/spec/support/test_app/app/views/resultset_processings/index.html.haml +50 -0
  261. data/spec/support/test_app/app/views/resultset_processings2/_grid.html.erb +27 -0
  262. data/spec/support/test_app/app/views/resultset_processings2/index.html.haml +48 -0
  263. data/spec/support/test_app/app/views/saved_queries/_grid.html.erb +30 -0
  264. data/spec/support/test_app/app/views/saved_queries/index.html.haml +15 -0
  265. data/spec/support/test_app/app/views/styling/_grid1.html.erb +12 -0
  266. data/spec/support/test_app/app/views/styling/_grid2.html.erb +31 -0
  267. data/spec/support/test_app/app/views/styling/index.html.haml +65 -0
  268. data/spec/support/test_app/app/views/tasks/_grid.html.erb +19 -0
  269. data/spec/support/test_app/app/views/tasks/index.html.haml +1 -0
  270. data/spec/support/test_app/app/views/two_associations/_grid.html.erb +13 -0
  271. data/spec/support/test_app/app/views/two_associations/index.html.haml +13 -0
  272. data/spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb +27 -0
  273. data/spec/support/test_app/app/views/upper_pagination_panel/index.html.haml +14 -0
  274. data/spec/support/test_app/app/views/when_filtered/_grid.html.erb +19 -0
  275. data/spec/support/test_app/app/views/when_filtered/index.html.haml +15 -0
  276. data/spec/support/test_app/bin/rails +4 -0
  277. data/spec/support/test_app/bin/rake +4 -0
  278. data/spec/support/test_app/config.ru +5 -0
  279. data/spec/support/test_app/config/application.rb +70 -0
  280. data/spec/support/test_app/config/boot.rb +7 -0
  281. data/spec/support/test_app/config/database.travis.yml +27 -0
  282. data/spec/support/test_app/config/database.yml +16 -0
  283. data/spec/support/test_app/config/database.yml.mysql +19 -0
  284. data/spec/support/test_app/config/database.yml.postgresql +18 -0
  285. data/spec/support/test_app/config/environment.rb +6 -0
  286. data/spec/support/test_app/config/environments/development.rb +34 -0
  287. data/spec/support/test_app/config/environments/production.rb +66 -0
  288. data/spec/support/test_app/config/environments/test.rb +34 -0
  289. data/spec/support/test_app/config/initializers/backtrace_silencers.rb +8 -0
  290. data/spec/support/test_app/config/initializers/inflections.rb +16 -0
  291. data/spec/support/test_app/config/initializers/mime_types.rb +6 -0
  292. data/spec/support/test_app/config/initializers/secret_token.rb +12 -0
  293. data/spec/support/test_app/config/initializers/session_store.rb +9 -0
  294. data/spec/support/test_app/config/initializers/wice_grid_config.rb +163 -0
  295. data/spec/support/test_app/config/initializers/wrap_parameters.rb +15 -0
  296. data/spec/support/test_app/config/locales/en.yml +5 -0
  297. data/spec/support/test_app/config/locales/wice_grid.yml +550 -0
  298. data/spec/support/test_app/config/puma.rb +15 -0
  299. data/spec/support/test_app/config/routes.rb +125 -0
  300. data/spec/support/test_app/db/migrate/20120224193505_create_tasks.rb +27 -0
  301. data/spec/support/test_app/db/migrate/20120224193517_create_users.rb +12 -0
  302. data/spec/support/test_app/db/migrate/20120224193522_create_projects.rb +14 -0
  303. data/spec/support/test_app/db/migrate/20120224193529_create_priorities.rb +13 -0
  304. data/spec/support/test_app/db/migrate/20120224193537_create_statuses.rb +13 -0
  305. data/spec/support/test_app/db/migrate/20120224193543_create_versions.rb +15 -0
  306. data/spec/support/test_app/db/migrate/20120224193550_create_project_roles.rb +12 -0
  307. data/spec/support/test_app/db/migrate/20120224193610_create_companies.rb +12 -0
  308. data/spec/support/test_app/db/migrate/20120224195351_create_user_project_participations.rb +16 -0
  309. data/spec/support/test_app/db/migrate/20120224195521_add_tasks_users.rb +11 -0
  310. data/spec/support/test_app/db/migrate/20120610091944_create_wice_grid_serialized_queries.rb +14 -0
  311. data/spec/support/test_app/db/schema.rb +139 -0
  312. data/spec/support/test_app/db/seeds.rb +10 -0
  313. data/spec/support/test_app/lib/ar_fixtures.rb +100 -0
  314. data/spec/support/test_app/lib/assets/.gitkeep +0 -0
  315. data/spec/support/test_app/lib/tasks/.gitkeep +0 -0
  316. data/spec/support/test_app/lib/tasks/ar_fixtures.rake +45 -0
  317. data/spec/support/test_app/public/404.html +26 -0
  318. data/spec/support/test_app/public/422.html +26 -0
  319. data/spec/support/test_app/public/500.html +25 -0
  320. data/spec/support/test_app/public/favicon.ico +0 -0
  321. data/spec/support/test_app/public/robots.txt +5 -0
  322. data/spec/wice/grid_output_buffer_spec.rb +2 -2
  323. data/spec/wice/table_column_matrix_spec.rb +1 -1
  324. data/vendor/assets/javascripts/wice_grid_init.js.coffee +16 -4
  325. data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +1 -0
  326. data/wice_grid.gemspec +29 -9
  327. metadata +606 -62
  328. data/release_notes/RELEASE_NOTES_3.2.pre1.rdoc +0 -81
  329. data/release_notes/RELEASE_NOTES_3.2.pre2.rdoc +0 -6
  330. data/release_notes/RELEASE_NOTES_3.3.0.rdoc +0 -21
  331. data/spec/support/wice_grid_test_config.rb +0 -173
  332. data/test/readme.txt +0 -1
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
5
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
6
+
7
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
8
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # Add new inflection rules using the following format
5
+ # (all these examples are active by default):
6
+ # ActiveSupport::Inflector.inflections do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+ #
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,6 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # Add new mime types for use in respond_to blocks:
5
+ # Mime::Type.register "text/richtext", :rtf
6
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,12 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ # Your secret key for verifying the integrity of signed cookies.
5
+ # If you change this key, all old signed cookies will become invalid!
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ if Examples::TestApp.config.respond_to?(:secret_key_base)
9
+ Examples::TestApp.config.secret_key_base = '41aebe1604463465ca9a3d0c79244d48b668ca1db17b75fba958b31d250d42f2771eecac77be54fe2c6a919a4c40de4e5348857b77c4593987fcb890fcce8827'
10
+ else
11
+ Examples::TestApp.config.secret_token = '41aebe1604463465ca9a3d0c79244d48b668ca1db17b75fba958b31d250d42f2771eecac77be54fe2c6a919a4c40de4e5348857b77c4593987fcb890fcce8827'
12
+ end
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+
4
+ Examples::TestApp.config.session_store :cookie_store, key: '_examples_session'
5
+
6
+ # Use the database for sessions instead of the cookie-based default,
7
+ # which shouldn't be used to store highly confidential information
8
+ # (create the session table with "rails generate session_migration")
9
+ # Examples::Application.config.session_store :active_record_store
@@ -0,0 +1,163 @@
1
+ # encoding: utf-8
2
+ if defined?(Wice::Defaults)
3
+
4
+ # Default number of rows to show per page.
5
+ Wice::Defaults::PER_PAGE = 20
6
+
7
+ # Default order direction
8
+ Wice::Defaults::ORDER_DIRECTION = 'asc'
9
+
10
+ # Default name for a grid. A grid name is the basis for a lot of
11
+ # names including parameter names, DOM IDs, etc
12
+ # The shorter the name is the shorter the request URI will be.
13
+ Wice::Defaults::GRID_NAME = 'grid'
14
+
15
+ # If REUSE_LAST_COLUMN_FOR_FILTER_ICONS is true and the last column doesn't have any filter and column name, it will be used
16
+ # for filter related icons (filter icon, reset icon, show/hide icon), otherwise an additional table column is added.
17
+ Wice::Defaults::REUSE_LAST_COLUMN_FOR_FILTER_ICONS = true
18
+
19
+ # The label of the first option of a custom dropdown list meaning 'All items'
20
+ Wice::Defaults::CUSTOM_FILTER_ALL_LABEL = '--'
21
+
22
+ # A list of classes for the table tag of the grid
23
+ Wice::Defaults::DEFAULT_TABLE_CLASSES = ['table', 'table-bordered', 'table-striped']
24
+
25
+ # Allow switching between a single and multiple selection modes in custom filters (dropdown boxes)
26
+ Wice::Defaults::ALLOW_MULTIPLE_SELECTION = true
27
+
28
+ # Show the upper pagination panel by default or not
29
+ Wice::Defaults::SHOW_UPPER_PAGINATION_PANEL = false
30
+
31
+ # Disabling CSV export by default
32
+ Wice::Defaults::ENABLE_EXPORT_TO_CSV = false
33
+
34
+ # Default CSV field separator
35
+ Wice::Defaults::CSV_FIELD_SEPARATOR = ','
36
+
37
+ # Default CSV encoding (p.e. 'CP1252:UTF-8' to make Microsoft Excel(tm) happy)
38
+ Wice::Defaults::CSV_ENCODING = nil
39
+
40
+
41
+ # The strategy when to show the filter.
42
+ # * <tt>:when_filtered</tt> - when the table is the result of filtering
43
+ # * <tt>:always</tt> - show the filter always
44
+ # * <tt>:no</tt> - never show the filter
45
+ Wice::Defaults::SHOW_FILTER = :always
46
+
47
+ # A boolean value specifying if a change in a filter triggers reloading of the grid.
48
+ Wice::Defaults::AUTO_RELOAD = false
49
+
50
+ # SQL operator used for matching strings in string filters.
51
+ Wice::Defaults::STRING_MATCHING_OPERATOR = 'LIKE'
52
+ # STRING_MATCHING_OPERATOR = 'ILIKE' # Use this for Postgresql case-insensitive matching.
53
+
54
+ # Defining one string matching operator globally for the whole application turns is not enough
55
+ # when you connect to two databases one of which is MySQL and the other is Postgresql.
56
+ # If the key for an adapter is missing it will fall back to Wice::Defaults::STRING_MATCHING_OPERATOR
57
+ Wice::Defaults::STRING_MATCHING_OPERATORS = {
58
+ 'ActiveRecord::ConnectionAdapters::MysqlAdapter' => 'LIKE',
59
+ 'ActiveRecord::ConnectionAdapters::PostgreSQLAdapter' => 'ILIKE'
60
+ }
61
+
62
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
63
+ # Advanced Filters #
64
+
65
+ # Switch of the negation checkbox in all text filters
66
+ Wice::Defaults::NEGATION_IN_STRING_FILTERS = false
67
+
68
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
69
+ # Showing All Records #
70
+
71
+ # Enable or disable showing all records (non-paginated table)
72
+ Wice::Defaults::ALLOW_SHOWING_ALL_RECORDS = true
73
+
74
+ # If number of all queries is more than this value, the user will be given a warning message
75
+ Wice::Defaults::START_SHOWING_WARNING_FROM = 100
76
+
77
+ # Hide the "show all" link if the number of all records is more than...
78
+ # Force-resets back to pagination starting from this value.
79
+ # Set to nil to always show it
80
+ Wice::Defaults::SHOW_ALL_ALLOWED_UP_TO = nil
81
+
82
+ #
83
+ # set to nil to skip the check
84
+ Wice::Defaults::SWITCH_BACK_TO_PAGINATION_FROM = nil
85
+
86
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
87
+ # Saving Queries #
88
+
89
+ # ActiveRecord model to store queries. Read the documentation for details
90
+ # QUERY_STORE_MODEL = 'WiceGridSerializedQuery'
91
+ Wice::Defaults::QUERY_STORE_MODEL = 'WiceGridSerializedQuery'
92
+
93
+ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
94
+ # Here go settings related to the date/datetime filters #
95
+
96
+ # Default column filters
97
+ # Possible values:
98
+ # * <tt>:jquery_datepicker</tt> - Jquery datepicker (works for datetime, too)
99
+ # * <tt>:bootstrap_datepicker</tt> - Bootstrap datepicker (works for datetime, too)
100
+ # * <tt>:rails_date_helper</tt> - standard Rails date helper
101
+ # * <tt>:rails_datetime_helper</tt> - standard Rails datetime helper
102
+
103
+ Wice::Defaults::DEFAULT_FILTER_FOR_DATE = :jquery_datepicker
104
+ Wice::Defaults::DEFAULT_FILTER_FOR_DATETIME = :jquery_datepicker
105
+
106
+ # Format of the datetime displayed.
107
+ # If you change the format, make sure to check if +DATETIME_PARSER+ can still parse this string.
108
+ Wice::Defaults::DATETIME_FORMAT = '%Y-%m-%d %H:%M'
109
+
110
+ # Format of the date displayed.
111
+ # If you change the format, make sure to check if +DATE_PARSER+ can still parse this string.
112
+ Wice::Defaults::DATE_FORMAT = '%Y-%m-%d'
113
+
114
+ # Format of the date displayed in jQuery's Datepicker
115
+ # If you change the format, make sure to check if +DATE_PARSER+ can still parse this string.
116
+ Wice::Defaults::DATE_FORMAT_JQUERY = 'yy-mm-dd'
117
+
118
+ # Format of the date displayed in Bootstrap's Datepicker
119
+ # If you change the format, make sure to check if +DATE_PARSER+ can still parse this string.
120
+ Wice::Defaults::DATE_FORMAT_BOOTSTRAP = 'yyyy-mm-dd'
121
+
122
+ # With Calendar helpers enabled the parameter sent is the string displayed. This lambda will be given a date string in the
123
+ # format defined by +DATETIME_FORMAT+ and must generate a DateTime object.
124
+ # In many cases <tt>Time.zone.parse</tt> is enough, for instance, <tt>%Y-%m-%d</tt>. If you change the format, make sure to check this code
125
+ # and modify it if needed.
126
+ Wice::Defaults::DATETIME_PARSER = lambda do|datetime_string|
127
+ if datetime_string.blank?
128
+ nil
129
+ elsif Time.zone
130
+ Time.zone.parse(datetime_string)
131
+ else
132
+ Time.parse(datetime_string)
133
+ end
134
+ end
135
+
136
+ # The range of years to display in jQuery Datepicker.
137
+ # It can always be changed dynamically with the following javascript:
138
+ # $( ".hasDatepicker" ).datepicker( "option", "yearRange", "2000:2042" );
139
+ Wice::Defaults::DATEPICKER_YEAR_RANGE = (from = Date.current.year - 10).to_s + ':' + (from + 15).to_s
140
+
141
+ # With Calendar helpers enabled the parameter sent is the string displayed. This lambda will be given a date string in the
142
+ # format defined by +DATETIME+ and must generate a Date object.
143
+ # In many cases <tt>Date.parse</tt> is enough, for instance, <tt>%Y-%m-%d</tt>. If you change the format, make sure to check this code
144
+ # and modify it if needed.
145
+ Wice::Defaults::DATE_PARSER = lambda do|date_string|
146
+ if date_string.blank?
147
+ nil
148
+ else
149
+ Date.parse(date_string)
150
+ end
151
+ end
152
+
153
+ # The name of the page method (should correspond to Kaminari.config.page_method_name)
154
+ Wice::Defaults::PAGE_METHOD_NAME = :page
155
+
156
+ # The name of the theme to use for the pagination with Kaminari
157
+ Wice::Defaults::PAGINATION_THEME = :wice_grid
158
+
159
+ # by default Wice-Grid always use unscoped,set to true to force use of default_scope by default instead
160
+ Wice::Defaults::USE_DEFAULT_SCOPE = false
161
+
162
+
163
+ end
@@ -0,0 +1,15 @@
1
+ # encoding: utf-8
2
+ # Be sure to restart your server when you modify this file.
3
+ #
4
+ # This file contains settings for ActionController::ParamsWrapper which
5
+ # is enabled by default.
6
+
7
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
8
+ ActiveSupport.on_load(:action_controller) do
9
+ wrap_parameters format: [:json]
10
+ end
11
+
12
+ # Disable root element in JSON by default.
13
+ ActiveSupport.on_load(:active_record) do
14
+ self.include_root_in_json = false
15
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,550 @@
1
+ en:
2
+ date:
3
+ order:
4
+ - :year
5
+ - :month
6
+ - :day
7
+ wice_grid:
8
+ show_filter_tooltip: Show filter
9
+ hide_filter_tooltip: Hide filter
10
+ csv_export_tooltip: Export to CSV
11
+ filter_tooltip: Filter
12
+ reset_filter_tooltip: Reset
13
+ boolean_filter_true_label: "yes"
14
+ boolean_filter_false_label: "no"
15
+ previous_label: «
16
+ next_label: »
17
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
18
+ date_selector_tooltip_from: From
19
+ # Title of the icon clicking on which will show the calendar to set the TO date.
20
+ date_selector_tooltip_to: To
21
+ # The title of the checkox to turn on negation
22
+ negation_checkbox_title: Exclude
23
+ # link to switch to show all records
24
+ show_all_records_label: show all
25
+ # tooltip for the link to switch to show all records
26
+ show_all_records_tooltip: Show all records
27
+ # Warning message shown when the user wants to switch to all-records mode
28
+ all_queries_warning: Are you sure you want to display all records?
29
+ # link to paginated view
30
+ switch_back_to_paginated_mode_label: back to paginated view
31
+ # tooltip for the link to paginated view
32
+ switch_back_to_paginated_mode_tooltip: Switch back to the view with pages
33
+ # Title of the date string.
34
+ date_string_tooltip: Click to delete
35
+ saved_query_panel_title: Saved Queries
36
+ save_query_button_label: Save the state of filters
37
+ saved_query_deletion_confirmation: Are you sure?
38
+ saved_query_deletion_link_title: Delete query
39
+ saved_query_link_title: Load query
40
+ validates_uniqueness_error: A query with this name already exists
41
+ validates_presence_error: Please submit the name of the custom query
42
+ query_deleted_message: Saved query deleted.
43
+ query_saved_message: Query saved.
44
+ select_all: Select all
45
+ deselect_all: Remove selection
46
+ expand: Expand
47
+ collapse: Collapse
48
+
49
+
50
+ is:
51
+ date:
52
+ order:
53
+ - :year
54
+ - :month
55
+ - :day
56
+ wice_grid:
57
+ show_filter_tooltip: Sýna síumöguleika
58
+ hide_filter_tooltip: Fela síumoguleika
59
+ csv_export_tooltip: Flytja út CSV
60
+ filter_tooltip: Sía
61
+ reset_filter_tooltip: Hreinsa
62
+ boolean_filter_true_label: Já
63
+ boolean_filter_false_label: Nei
64
+ previous_label: «
65
+ next_label: »
66
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
67
+ date_selector_tooltip_from: Frá
68
+ # Title of the icon clicking on which will show the calendar to set the TO date.
69
+ date_selector_tooltip_to: Til
70
+ # The title of the checkox to turn on negation
71
+ negation_checkbox_title: Undanskilja
72
+ # link to switch to show all records
73
+ show_all_records_label: Sýna allt
74
+ # tooltip for the link to switch to show all records
75
+ show_all_records_tooltip: Sýna öll gögn
76
+ # Warning message shown when the user wants to switch to all-records mode
77
+ all_queries_warning: Ertu viss um að þú viljir láta sýna öll gögn?
78
+ # link to paginated view
79
+ switch_back_to_paginated_mode_label: Aftur til síðuhorfs
80
+ # tooltip for the link to paginated view
81
+ switch_back_to_paginated_mode_tooltip: Aftur til síðuhorfs
82
+ # Title of the date string.
83
+ date_string_tooltip: Smella á til að eyða
84
+ saved_query_panel_title: Vistaðar leitarskipanir
85
+ save_query_button_label: Vista síuval
86
+ saved_query_deletion_confirmation: Ertu viss?
87
+ saved_query_deletion_link_title: Eyða leitarskipun
88
+ saved_query_link_title: Hlaða leitarskipun
89
+ validates_uniqueness_error: Leitarskipun með þessu nafni er þegar til
90
+ validates_presence_error: Vinsamlegast gefið heiti fyrir leitarskipun
91
+ query_deleted_message: Vistaðri leitarskipun hefur verið eytt
92
+ query_saved_message: leitaskipun hefur verið vistuð
93
+ # To do: translate
94
+ select_all: Select all
95
+ deselect_all: Remove selection
96
+
97
+ nl:
98
+ date:
99
+ order:
100
+ - :year
101
+ - :month
102
+ - :day
103
+ wice_grid:
104
+ show_filter_tooltip: Filter tonen
105
+ hide_filter_tooltip: Filter verbergen
106
+ csv_export_tooltip: Als CSV exporteren
107
+ filter_tooltip: Filter
108
+ reset_filter_tooltip: Terugstellen
109
+ boolean_filter_true_label: ja
110
+ boolean_filter_false_label: neen
111
+ previous_label: «
112
+ next_label: »
113
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
114
+ date_selector_tooltip_from: Vanaf
115
+ # Title of the icon clicking on which will show the calendar to set the TO date.
116
+ date_selector_tooltip_to: Tot
117
+ # The title of the checkox to turn on negation
118
+ negation_checkbox_title: Uitsluiten
119
+ # link to switch to show all records
120
+ show_all_records_label: Alle rijen tonen
121
+ # tooltip for the link to switch to show all records
122
+ show_all_records_tooltip: Alle rijen tonen
123
+ # Warning message shown when the user wants to switch to all-records mode
124
+ all_queries_warning: Bent u zeker dat u alle rijen wilt tonen?
125
+ # link to paginated view
126
+ switch_back_to_paginated_mode_label: Terug naar pagina's
127
+ # tooltip for the link to paginated view
128
+ switch_back_to_paginated_mode_tooltip: Terug naar pagina's
129
+ # Title of the date string.
130
+ date_string_tooltip: Klik om te verwijderen
131
+ saved_query_panel_title: Opgeslagen query's
132
+ save_query_button_label: Query opslaan
133
+ saved_query_deletion_confirmation: Bent u zeker?
134
+ saved_query_deletion_link_title: Query verwijderen
135
+ saved_query_link_title: Query laden
136
+ validates_uniqueness_error: Deze query bestaat reeds
137
+ validates_presence_error: Gelieve de naam van de query in te vullen
138
+ query_deleted_message: Opgeslagen query verwijderd.
139
+ query_saved_message: Query opgeslagen
140
+ select_all: Selecteer alle rijen
141
+ deselect_all: Deselecteer alle rijen
142
+
143
+ fr:
144
+ date:
145
+ order:
146
+ - :year
147
+ - :month
148
+ - :day
149
+ wice_grid:
150
+ show_filter_tooltip: Afficher le filtre
151
+ hide_filter_tooltip: Cacher le filtrer
152
+ csv_export_tooltip: Exporter en CSV
153
+ filter_tooltip: Filtrer
154
+ reset_filter_tooltip: Effacer
155
+ boolean_filter_true_label: oui
156
+ boolean_filter_false_label: non
157
+ previous_label: «
158
+ next_label: »
159
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
160
+ date_selector_tooltip_from: De
161
+ # Title of the icon clicking on which will show the calendar to set the TO date.
162
+ date_selector_tooltip_to: à
163
+ # The title of the checkox to turn on negation
164
+ negation_checkbox_title: Exclure
165
+ # link to switch to show all records
166
+ show_all_records_label: Voir tous
167
+ # tooltip for the link to switch to show all records
168
+ show_all_records_tooltip: Voir tous les enregistrements
169
+ # Warning message shown when the user wants to switch to all-records mode
170
+ all_queries_warning: Etes-vous certain de vouloir afficher tous les enregistrements?
171
+ # link to paginated view
172
+ switch_back_to_paginated_mode_label: Retour à la vue paginée
173
+ # tooltip for the link to paginated view
174
+ switch_back_to_paginated_mode_tooltip: Retour à la vue par pages
175
+ # Title of the date string.
176
+ date_string_tooltip: Cliquez pour effacer
177
+ saved_query_panel_title: Requêtes sauvées
178
+ save_query_button_label: Sauver l'état des filtres
179
+ saved_query_deletion_confirmation: Etes vous sûr?
180
+ saved_query_deletion_link_title: Effacer la requête
181
+ saved_query_link_title: Charger la requête
182
+ validates_uniqueness_error: Un requête existante porte déjà ce nom
183
+ validates_presence_error: Veuillez indiquer le nom de la requête que vous souhaitez sauver
184
+ query_deleted_message: La requête a été effacée.
185
+ query_saved_message: La requête a été sauvée.
186
+ select_all: Sélectionner tout
187
+ deselect_all: Désélectionner tout
188
+
189
+ ru:
190
+ date:
191
+ order:
192
+ - :year
193
+ - :month
194
+ - :day
195
+ wice_grid:
196
+ show_filter_tooltip: Показать фильтр
197
+ hide_filter_tooltip: Спрятать фильтр
198
+ csv_export_tooltip: Экспорт в CSV
199
+ filter_tooltip: Фильтровать
200
+ reset_filter_tooltip: Сброс
201
+ boolean_filter_true_label: да
202
+ boolean_filter_false_label: нет
203
+ previous_label: «
204
+ next_label: »
205
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
206
+ date_selector_tooltip_from: С
207
+ # Title of the icon clicking on which will show the calendar to set the TO date.
208
+ date_selector_tooltip_to: До
209
+ # The title of the checkox to turn on negation
210
+ negation_checkbox_title: Исключая строки
211
+ # link to switch to show all records
212
+ show_all_records_label: показать все
213
+ # tooltip for the link to switch to show all records
214
+ show_all_records_tooltip: Показать все записи
215
+ # Warning message shown when the user wants to switch to all-records mode
216
+ all_queries_warning: Вы уверены в том, что хотите отобразить все записи?
217
+ # link to paginated view
218
+ switch_back_to_paginated_mode_label: Назад к постраничному выводу
219
+ # tooltip for the link to paginated view
220
+ switch_back_to_paginated_mode_tooltip: Назад к постраничному выводу
221
+ # Title of the date string.
222
+ date_string_tooltip: Кликните, чтобы удалить дату
223
+ saved_query_panel_title: Сохранённые фильтры
224
+ save_query_button_label: Сохранить фильтр
225
+ saved_query_deletion_confirmation: Вы уверены?
226
+ saved_query_deletion_link_title: Удалить сохранённый фильтр
227
+ saved_query_link_title: Загрузить сохранённый фильтр
228
+ validates_uniqueness_error: Сохранённый фильтр с таким именем уже существует
229
+ validates_presence_error: Пожалуйста введите имя сохраняемого фильтра
230
+ query_deleted_message: Сохранённый фильтр удалён.
231
+ query_saved_message: Сохранённый фильтр сохранён.
232
+ select_all: Отметить все
233
+ deselect_all: Убрать выделение
234
+
235
+
236
+ pt:
237
+ date:
238
+ order:
239
+ - :year
240
+ - :month
241
+ - :day
242
+ wice_grid:
243
+ show_filter_tooltip: Mostrar o filtro
244
+ hide_filter_tooltip: Esconder o filtro
245
+ csv_export_tooltip: Exportar em CSV
246
+ filter_tooltip: Filtrar
247
+ reset_filter_tooltip: Reinicializar
248
+ boolean_filter_true_label: sim
249
+ boolean_filter_false_label: não
250
+ previous_label: «
251
+ next_label: »
252
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
253
+ date_selector_tooltip_from: De
254
+ # Title of the icon clicking on which will show the calendar to set the TO date.
255
+ date_selector_tooltip_to: a
256
+ # The title of the checkox to turn on negation
257
+ negation_checkbox_title: Excluir
258
+ # link to switch to show all records
259
+ show_all_records_label: Ver todos
260
+ # tooltip for the link to switch to show all records
261
+ show_all_records_tooltip: Ver todos os registos
262
+ # Warning message shown when the user wants to switch to all-records mode
263
+ all_queries_warning: Tem a certeza de querer visualizar todos os registos?
264
+ # link to paginated view
265
+ switch_back_to_paginated_mode_label: Retorno à vista paginada
266
+ # tooltip for the link to paginated view
267
+ switch_back_to_paginated_mode_tooltip: Retorno à vista por página
268
+ # Title of the date string.
269
+ date_string_tooltip: Cliquar para apagar
270
+ saved_query_panel_title: Queries gravadas
271
+ save_query_button_label: Gravar o estado dos filtros
272
+ saved_query_deletion_confirmation: Tem a certeza?
273
+ saved_query_deletion_link_title: Apagar a query
274
+ saved_query_link_title: Caregar a query
275
+ validates_uniqueness_error: Já existe uma query com o mesmo nome
276
+ validates_presence_error: Queira indicar o nome da query que deseja gravar
277
+ query_deleted_message: A query foi apagada.
278
+ query_saved_message: A query foi gravada.
279
+ select_all: Selecionar todos
280
+ deselect_all: Remover seleção
281
+
282
+ pt-BR:
283
+ date:
284
+ order:
285
+ - :year
286
+ - :month
287
+ - :day
288
+ wice_grid:
289
+ show_filter_tooltip: Mostrar o filtro
290
+ hide_filter_tooltip: Esconder o filtro
291
+ csv_export_tooltip: Exportar em CSV
292
+ filter_tooltip: Filtrar
293
+ reset_filter_tooltip: Reinicializar
294
+ boolean_filter_true_label: sim
295
+ boolean_filter_false_label: não
296
+ previous_label: «
297
+ next_label: »
298
+ date_selector_tooltip_from: De
299
+ date_selector_tooltip_to: a
300
+ negation_checkbox_title: Excluir
301
+ show_all_records_label: Ver todos
302
+ show_all_records_tooltip: Ver todos os registos
303
+ all_queries_warning: Tem certeza que gostaria de visualizar todos os registos?
304
+ switch_back_to_paginated_mode_label: Voltar à lista paginada
305
+ switch_back_to_paginated_mode_tooltip: Voltar à lista por página
306
+ date_string_tooltip: Clique para apagar
307
+ saved_query_panel_title: Filtros gravados
308
+ save_query_button_label: Gravar o estado dos filtros
309
+ saved_query_deletion_confirmation: Tem certeza?
310
+ saved_query_deletion_link_title: Apagar o filtro
311
+ saved_query_link_title: Carregar o filtro
312
+ validates_uniqueness_error: Já existe um filtro com o mesmo nome
313
+ validates_presence_error: Indique o nome do filtro que deseja gravar
314
+ query_deleted_message: O filtro foi apagado.
315
+ query_saved_message: O filtro foi gravado.
316
+ select_all: Selecionar todos
317
+ deselect_all: Remover seleção
318
+
319
+
320
+ sk:
321
+ date:
322
+ order:
323
+ - :year
324
+ - :month
325
+ - :day
326
+ wice_grid:
327
+ show_filter_tooltip: Zobraziť filter
328
+ hide_filter_tooltip: Skryť filter
329
+ csv_export_tooltip: Exportovať do CSV
330
+ filter_tooltip: Filter
331
+ reset_filter_tooltip: Zrušiť filtre
332
+ boolean_filter_true_label: "áno"
333
+ boolean_filter_false_label: "nie"
334
+ previous_label: «
335
+ next_label: »
336
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
337
+ date_selector_tooltip_from: Dátum od
338
+ # Title of the icon clicking on which will show the calendar to set the TO date.
339
+ date_selector_tooltip_to: Dátum do
340
+ # The title of the checkox to turn on negation
341
+ negation_checkbox_title: Inverzný výber
342
+ # link to switch to show all records
343
+ show_all_records_label: Zobraziť všetko
344
+ # tooltip for the link to switch to show all records
345
+ show_all_records_tooltip: Zobrazí všetky záznamy v databáze
346
+ # Warning message shown when the user wants to switch to all-records mode
347
+ all_queries_warning: Určite chceš zobraziť všetky záznamy v databáze?
348
+ # link to paginated view
349
+ switch_back_to_paginated_mode_label: späť na stránkové zobrazenie
350
+ # tooltip for the link to paginated view
351
+ switch_back_to_paginated_mode_tooltip: Prepnúť do stránkového zobrazenia
352
+ # Title of the date string.
353
+ date_string_tooltip: Kliknutím zmažeš
354
+ saved_query_panel_title: Uložené filtre/výsledky
355
+ save_query_button_label: Uložiť stav filtrov
356
+ saved_query_deletion_confirmation: Si si istý?
357
+ saved_query_deletion_link_title: Vymazať uložený filter
358
+ saved_query_link_title: Nahrať uložený filter
359
+ validates_uniqueness_error: Filter s uvedeným názvom už existuje.
360
+ validates_presence_error: Prosím zadaj názov uloženého filtra.
361
+ query_deleted_message: Uložený filter bol vymazaný.
362
+ query_saved_message: Filter bol uložený.
363
+ select_all: Vyber všetko
364
+ deselect_all: Zrušiť výber
365
+
366
+ cz:
367
+ date:
368
+ order:
369
+ - :year
370
+ - :month
371
+ - :day
372
+ wice_grid:
373
+ show_filter_tooltip: Zobrazit filtr
374
+ hide_filter_tooltip: Skrýt filtr
375
+ csv_export_tooltip: Exportovat do CSV
376
+ filter_tooltip: Filtr
377
+ reset_filter_tooltip: Zrušit filtr
378
+ boolean_filter_true_label: "áno"
379
+ boolean_filter_false_label: "ne"
380
+ previous_label: «
381
+ next_label: »
382
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
383
+ date_selector_tooltip_from: Dátum od
384
+ # Title of the icon clicking on which will show the calendar to set the TO date.
385
+ date_selector_tooltip_to: Dátum do
386
+ # The title of the checkox to turn on negation
387
+ negation_checkbox_title: Inverzní výběr
388
+ # link to switch to show all records
389
+ show_all_records_label: Zobrazit všechno
390
+ # tooltip for the link to switch to show all records
391
+ show_all_records_tooltip: Zobrazí všechny záznamy v databáze
392
+ # Warning message shown when the user wants to switch to all-records mode
393
+ all_queries_warning: Určitě chceš zobrazit všechny záznamy v databáze?
394
+ # link to paginated view
395
+ switch_back_to_paginated_mode_label: zpět na stránkové zobrazení
396
+ # tooltip for the link to paginated view
397
+ switch_back_to_paginated_mode_tooltip: Přepnout do stránkového zobrazení
398
+ # Title of the date string.
399
+ date_string_tooltip: Kliknutím zmažeš
400
+ saved_query_panel_title: Uložené filtry
401
+ save_query_button_label: Uložit aktuálni stav filtrů
402
+ saved_query_deletion_confirmation: Seš si jistej?
403
+ saved_query_deletion_link_title: Smazat uloženej filtr
404
+ saved_query_link_title: Použít uloženej filtr
405
+ validates_uniqueness_error: Filtr už existuje.
406
+ validates_presence_error: Prosím zadej název filtru.
407
+ query_deleted_message: Uložený filtr byl smazán.
408
+ query_saved_message: Filtr byl uložen.
409
+ select_all: Vyber všechno
410
+ deselect_all: Zrušit výběr
411
+
412
+ de:
413
+ date:
414
+ order:
415
+ - :year
416
+ - :month
417
+ - :day
418
+ wice_grid:
419
+ show_filter_tooltip: Filter einblenden
420
+ hide_filter_tooltip: Filter ausblenden
421
+ csv_export_tooltip: CSV Export
422
+ filter_tooltip: Filter
423
+ reset_filter_tooltip: Reset
424
+ boolean_filter_true_label: "Ja"
425
+ boolean_filter_false_label: "Nein"
426
+ previous_label: «
427
+ next_label: »
428
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
429
+ date_selector_tooltip_from: Von
430
+ # Title of the icon clicking on which will show the calendar to set the TO date.
431
+ date_selector_tooltip_to: Bis
432
+ # The title of the checkox to turn on negation
433
+ negation_checkbox_title: Ausschließen
434
+ # link to switch to show all records
435
+ show_all_records_label: Alle anzeigen
436
+ # tooltip for the link to switch to show all records
437
+ show_all_records_tooltip: Alle anzeigen
438
+ # Warning message shown when the user wants to switch to all-records mode
439
+ all_queries_warning: Wollen Sie wirkliche alle Einträge anzeigen?
440
+ # link to paginated view
441
+ switch_back_to_paginated_mode_label: Zurück zur seitenbasierten Ansicht
442
+ # tooltip for the link to paginated view
443
+ switch_back_to_paginated_mode_tooltip: Zurück zur seitenbasierten Ansicht
444
+ # Title of the date string.
445
+ date_string_tooltip: Löschen
446
+ saved_query_panel_title: Gespeicherte Abfragen
447
+ save_query_button_label: Filter speichern
448
+ saved_query_deletion_confirmation: Sind Sie sicher?
449
+ saved_query_deletion_link_title: Abfrage löschen
450
+ saved_query_link_title: Abfrage laden
451
+ validates_uniqueness_error: Eine Abfrage mit dieser Bezeichnung existiert bereits!
452
+ validates_presence_error: Bitte vergeben Sie einen Namen!
453
+ query_deleted_message: Abfrage gelöscht.
454
+ query_saved_message: Abfrage gespeichert.
455
+ select_all: Alle auswählen
456
+ deselect_all: Auswahl aufheben
457
+
458
+ zh:
459
+ date:
460
+ order:
461
+ - :year
462
+ - :month
463
+ - :day
464
+ wice_grid:
465
+ show_filter_tooltip: 显示过滤
466
+ hide_filter_tooltip: 隐藏过滤
467
+ csv_export_tooltip: 输出CSV档
468
+ filter_tooltip: 过滤
469
+ reset_filter_tooltip: 清除过滤
470
+ boolean_filter_true_label: "是"
471
+ boolean_filter_false_label: "否"
472
+ previous_label: «
473
+ next_label: »
474
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
475
+ date_selector_tooltip_from: 从
476
+ # Title of the icon clicking on which will show the calendar to set the TO date.
477
+ date_selector_tooltip_to: 至
478
+ # The title of the checkox to turn on negation
479
+ negation_checkbox_title: 排除
480
+ # link to switch to show all records
481
+ show_all_records_label: 显示全部
482
+ # tooltip for the link to switch to show all records
483
+ show_all_records_tooltip: 显示全部记录
484
+ # Warning message shown when the user wants to switch to all-records mode
485
+ all_queries_warning: 确定要显示全部记录?
486
+ # link to paginated view
487
+ switch_back_to_paginated_mode_label: 回到分页显示
488
+ # tooltip for the link to paginated view
489
+ switch_back_to_paginated_mode_tooltip: 切换到分页显示
490
+ # Title of the date string.
491
+ date_string_tooltip: 按下以清除
492
+ saved_query_panel_title: 查询存储
493
+ save_query_button_label: 储存查询状态
494
+ saved_query_deletion_confirmation: 确定删除?
495
+ saved_query_deletion_link_title: 删除查询
496
+ saved_query_link_title: 读取查询
497
+ validates_uniqueness_error: 已存在相同名称的查询
498
+ validates_presence_error: 请为此查询命名
499
+ query_deleted_message: 查询已删除
500
+ query_saved_message: 查询已储存
501
+ select_all: 全选
502
+ deselect_all: 全清
503
+
504
+ ja:
505
+ date:
506
+ order:
507
+ - :年
508
+ - :月
509
+ - :日
510
+ wice_grid:
511
+ show_filter_tooltip: フィルタ表示
512
+ hide_filter_tooltip: フィルタ非表示
513
+ csv_export_tooltip: CSVエクスポート
514
+ filter_tooltip: フィルタ
515
+ reset_filter_tooltip: リセット
516
+ boolean_filter_true_label: "yes"
517
+ boolean_filter_false_label: "no"
518
+ previous_label: «
519
+ next_label: »
520
+ # Title of the icon clicking on which will show the calendar to set the FROM date.
521
+ date_selector_tooltip_from: From
522
+ # Title of the icon clicking on which will show the calendar to set the TO date.
523
+ date_selector_tooltip_to: To
524
+ # The title of the checkox to turn on negation
525
+ negation_checkbox_title: 除外する
526
+ # link to switch to show all records
527
+ show_all_records_label: すべて表示
528
+ # tooltip for the link to switch to show all records
529
+ show_all_records_tooltip: 前レコード表示
530
+ # Warning message shown when the user wants to switch to all-records mode
531
+ all_queries_warning: 全てのレコードを表示しますか?
532
+ # link to paginated view
533
+ switch_back_to_paginated_mode_label: 戻る
534
+ # tooltip for the link to paginated view
535
+ switch_back_to_paginated_mode_tooltip: 戻る
536
+ # Title of the date string.
537
+ date_string_tooltip: 削除
538
+ saved_query_panel_title: クエリ保存
539
+ save_query_button_label: フィルタ保存
540
+ saved_query_deletion_confirmation: 本当によろしいですか?
541
+ saved_query_deletion_link_title: クエリ削除
542
+ saved_query_link_title: クエリのロード
543
+ validates_uniqueness_error: 同じ名前がすでに存在します
544
+ validates_presence_error: クエリ名を記入して下さい
545
+ query_deleted_message: クエリの削除が完了しました
546
+ query_saved_message: クエリを保存しました
547
+ select_all: 全てを選択
548
+ deselect_all: 選択を解除
549
+ expand: 開く
550
+ collapse: 閉じる