active_administration 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (522) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +46 -0
  3. data/.travis.yml +19 -0
  4. data/.yardopts +9 -0
  5. data/CHANGELOG.md +1074 -0
  6. data/CONTRIBUTING.md +139 -0
  7. data/Gemfile +52 -0
  8. data/Guardfile +7 -0
  9. data/LICENSE +25 -0
  10. data/README.md +8 -0
  11. data/Rakefile +33 -0
  12. data/active_administration.gemspec +34 -0
  13. data/app/assets/images/active_admin/admin_notes_icon.png +0 -0
  14. data/app/assets/images/active_admin/datepicker/datepicker-header-bg.png +0 -0
  15. data/app/assets/images/active_admin/datepicker/datepicker-input-icon.png +0 -0
  16. data/app/assets/images/active_admin/datepicker/datepicker-next-link-icon.png +0 -0
  17. data/app/assets/images/active_admin/datepicker/datepicker-nipple.png +0 -0
  18. data/app/assets/images/active_admin/datepicker/datepicker-prev-link-icon.png +0 -0
  19. data/app/assets/images/active_admin/index_list_icons/block_icon.svg +10 -0
  20. data/app/assets/images/active_admin/index_list_icons/blog_icon.svg +4 -0
  21. data/app/assets/images/active_admin/index_list_icons/grid_icon.svg +13 -0
  22. data/app/assets/images/active_admin/index_list_icons/table_icon.svg +3 -0
  23. data/app/assets/images/active_admin/loading.gif +0 -0
  24. data/app/assets/images/active_admin/nested_menu_arrow.gif +0 -0
  25. data/app/assets/images/active_admin/nested_menu_arrow_dark.gif +0 -0
  26. data/app/assets/images/active_admin/orderable.png +0 -0
  27. data/app/assets/javascripts/active_admin/application.js.coffee +30 -0
  28. data/app/assets/javascripts/active_admin/base.js.coffee +14 -0
  29. data/app/assets/javascripts/active_admin/ext/jquery-ui.js.coffee +6 -0
  30. data/app/assets/javascripts/active_admin/ext/jquery.js.coffee +7 -0
  31. data/app/assets/javascripts/active_admin/lib/batch_actions.js.coffee +39 -0
  32. data/app/assets/javascripts/active_admin/lib/checkbox-toggler.js.coffee +36 -0
  33. data/app/assets/javascripts/active_admin/lib/dropdown-menu.js.coffee +85 -0
  34. data/app/assets/javascripts/active_admin/lib/has_many.js.coffee +75 -0
  35. data/app/assets/javascripts/active_admin/lib/modal_dialog.js.coffee +36 -0
  36. data/app/assets/javascripts/active_admin/lib/popover.js.coffee +68 -0
  37. data/app/assets/javascripts/active_admin/lib/table-checkbox-toggler.js.coffee +24 -0
  38. data/app/assets/stylesheets/active_admin/_base.css.scss +42 -0
  39. data/app/assets/stylesheets/active_admin/_forms.css.scss +329 -0
  40. data/app/assets/stylesheets/active_admin/_header.css.scss +156 -0
  41. data/app/assets/stylesheets/active_admin/_mixins.css.scss +1 -0
  42. data/app/assets/stylesheets/active_admin/_typography.css.scss +100 -0
  43. data/app/assets/stylesheets/active_admin/components/_batch_actions.css.scss +11 -0
  44. data/app/assets/stylesheets/active_admin/components/_blank_slates.scss +31 -0
  45. data/app/assets/stylesheets/active_admin/components/_breadcrumbs.scss +20 -0
  46. data/app/assets/stylesheets/active_admin/components/_buttons.scss +11 -0
  47. data/app/assets/stylesheets/active_admin/components/_columns.scss +3 -0
  48. data/app/assets/stylesheets/active_admin/components/_comments.css.scss +41 -0
  49. data/app/assets/stylesheets/active_admin/components/_date_picker.css.scss +127 -0
  50. data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +151 -0
  51. data/app/assets/stylesheets/active_admin/components/_flash_messages.css.scss +39 -0
  52. data/app/assets/stylesheets/active_admin/components/_grid.scss +9 -0
  53. data/app/assets/stylesheets/active_admin/components/_index_list.scss +12 -0
  54. data/app/assets/stylesheets/active_admin/components/_links.scss +5 -0
  55. data/app/assets/stylesheets/active_admin/components/_modal_dialog.scss +31 -0
  56. data/app/assets/stylesheets/active_admin/components/_pagination.scss +34 -0
  57. data/app/assets/stylesheets/active_admin/components/_panels.scss +6 -0
  58. data/app/assets/stylesheets/active_admin/components/_popovers.css.scss +123 -0
  59. data/app/assets/stylesheets/active_admin/components/_scopes.scss +10 -0
  60. data/app/assets/stylesheets/active_admin/components/_status_tags.scss +16 -0
  61. data/app/assets/stylesheets/active_admin/components/_table_tools.css.scss +65 -0
  62. data/app/assets/stylesheets/active_admin/components/_tables.css.scss +111 -0
  63. data/app/assets/stylesheets/active_admin/mixins/_all.css.scss +11 -0
  64. data/app/assets/stylesheets/active_admin/mixins/_buttons.css.scss +66 -0
  65. data/app/assets/stylesheets/active_admin/mixins/_gradients.css.scss +38 -0
  66. data/app/assets/stylesheets/active_admin/mixins/_icons.css.scss +20 -0
  67. data/app/assets/stylesheets/active_admin/mixins/_reset.css.scss +165 -0
  68. data/app/assets/stylesheets/active_admin/mixins/_rounded.css.scss +43 -0
  69. data/app/assets/stylesheets/active_admin/mixins/_sections.css.scss +36 -0
  70. data/app/assets/stylesheets/active_admin/mixins/_shadows.css.scss +22 -0
  71. data/app/assets/stylesheets/active_admin/mixins/_typography.scss +3 -0
  72. data/app/assets/stylesheets/active_admin/mixins/_utilities.scss +26 -0
  73. data/app/assets/stylesheets/active_admin/mixins/_variables.css.scss +34 -0
  74. data/app/assets/stylesheets/active_admin/pages/_logged_out.scss +44 -0
  75. data/app/assets/stylesheets/active_admin/print.css.scss +284 -0
  76. data/app/assets/stylesheets/active_admin/structure/_footer.scss +14 -0
  77. data/app/assets/stylesheets/active_admin/structure/_main_structure.scss +29 -0
  78. data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +46 -0
  79. data/app/views/active_admin/dashboard/index.html.arb +1 -0
  80. data/app/views/active_admin/devise/confirmations/new.html.erb +14 -0
  81. data/app/views/active_admin/devise/mailer/reset_password_instructions.html.erb +8 -0
  82. data/app/views/active_admin/devise/mailer/unlock_instructions.html.erb +7 -0
  83. data/app/views/active_admin/devise/passwords/edit.html.erb +19 -0
  84. data/app/views/active_admin/devise/passwords/new.html.erb +14 -0
  85. data/app/views/active_admin/devise/registrations/new.html.erb +22 -0
  86. data/app/views/active_admin/devise/sessions/new.html.erb +20 -0
  87. data/app/views/active_admin/devise/shared/_links.erb +27 -0
  88. data/app/views/active_admin/devise/unlocks/new.html.erb +14 -0
  89. data/app/views/active_admin/page/index.html.arb +1 -0
  90. data/app/views/active_admin/resource/edit.html.arb +1 -0
  91. data/app/views/active_admin/resource/index.csv.erb +17 -0
  92. data/app/views/active_admin/resource/index.html.arb +1 -0
  93. data/app/views/active_admin/resource/new.html.arb +1 -0
  94. data/app/views/active_admin/resource/show.html.arb +1 -0
  95. data/app/views/kaminari/active_admin/_first_page.html.erb +11 -0
  96. data/app/views/kaminari/active_admin/_gap.html.erb +8 -0
  97. data/app/views/kaminari/active_admin/_last_page.html.erb +11 -0
  98. data/app/views/kaminari/active_admin/_next_page.html.erb +11 -0
  99. data/app/views/kaminari/active_admin/_page.html.erb +12 -0
  100. data/app/views/kaminari/active_admin/_paginator.html.erb +23 -0
  101. data/app/views/kaminari/active_admin/_prev_page.html.erb +11 -0
  102. data/app/views/layouts/active_admin.html.arb +1 -0
  103. data/app/views/layouts/active_admin_logged_out.html.erb +37 -0
  104. data/config/locales/bg.yml +102 -0
  105. data/config/locales/bs.yml +121 -0
  106. data/config/locales/ca.yml +102 -0
  107. data/config/locales/cs.yml +106 -0
  108. data/config/locales/da.yml +103 -0
  109. data/config/locales/de-CH.yml +118 -0
  110. data/config/locales/de.yml +143 -0
  111. data/config/locales/el.yml +111 -0
  112. data/config/locales/en-GB.yml +95 -0
  113. data/config/locales/en.yml +117 -0
  114. data/config/locales/es.yml +127 -0
  115. data/config/locales/es_MX.yml +110 -0
  116. data/config/locales/fi.yml +110 -0
  117. data/config/locales/fr.yml +109 -0
  118. data/config/locales/he.yml +92 -0
  119. data/config/locales/hr.yml +121 -0
  120. data/config/locales/hu.yml +96 -0
  121. data/config/locales/it.yml +114 -0
  122. data/config/locales/ja.yml +114 -0
  123. data/config/locales/ko.yml +85 -0
  124. data/config/locales/lt.yml +118 -0
  125. data/config/locales/lv.yml +90 -0
  126. data/config/locales/nl.yml +94 -0
  127. data/config/locales/no-NB.yml +111 -0
  128. data/config/locales/pl.yml +100 -0
  129. data/config/locales/pt-BR.yml +117 -0
  130. data/config/locales/pt-PT.yml +90 -0
  131. data/config/locales/ro.yml +94 -0
  132. data/config/locales/ru.yml +121 -0
  133. data/config/locales/sv-SE.yml +90 -0
  134. data/config/locales/tr.yml +94 -0
  135. data/config/locales/uk.yml +121 -0
  136. data/config/locales/vi.yml +91 -0
  137. data/config/locales/zh-CN.yml +112 -0
  138. data/config/locales/zh-TW.yml +94 -0
  139. data/cucumber.yml +3 -0
  140. data/docs/0-installation.md +84 -0
  141. data/docs/1-general-configuration.md +138 -0
  142. data/docs/10-custom-pages.md +84 -0
  143. data/docs/11-decorators.md +50 -0
  144. data/docs/12-arbre-components.md +150 -0
  145. data/docs/13-authorization-adapter.md +239 -0
  146. data/docs/2-resource-customization.md +359 -0
  147. data/docs/3-index-pages.md +245 -0
  148. data/docs/3-index-pages/create-an-index.md +31 -0
  149. data/docs/3-index-pages/index-as-block.md +21 -0
  150. data/docs/3-index-pages/index-as-blog.md +71 -0
  151. data/docs/3-index-pages/index-as-grid.md +29 -0
  152. data/docs/3-index-pages/index-as-table.md +163 -0
  153. data/docs/4-csv-format.md +39 -0
  154. data/docs/5-forms.md +118 -0
  155. data/docs/6-show-pages.md +77 -0
  156. data/docs/7-sidebars.md +63 -0
  157. data/docs/8-custom-actions.md +159 -0
  158. data/docs/9-batch-actions.md +233 -0
  159. data/features/action_item.feature +73 -0
  160. data/features/authorization.feature +64 -0
  161. data/features/authorization_cancan.feature +52 -0
  162. data/features/authorization_pundit.feature +37 -0
  163. data/features/belongs_to.feature +66 -0
  164. data/features/breadcrumb.feature +75 -0
  165. data/features/comments/commenting.feature +159 -0
  166. data/features/comments/viewing_index.feature +19 -0
  167. data/features/dashboard.feature +16 -0
  168. data/features/decorators.feature +41 -0
  169. data/features/development_reloading.feature +31 -0
  170. data/features/edit_page.feature +114 -0
  171. data/features/favicon.feature +20 -0
  172. data/features/first_boot.feature +16 -0
  173. data/features/global_navigation.feature +29 -0
  174. data/features/i18n.feature +43 -0
  175. data/features/index/batch_actions.feature +123 -0
  176. data/features/index/filters.feature +138 -0
  177. data/features/index/format_as_csv.feature +117 -0
  178. data/features/index/formats.feature +66 -0
  179. data/features/index/index_as_block.feature +15 -0
  180. data/features/index/index_as_blog.feature +69 -0
  181. data/features/index/index_as_grid.feature +45 -0
  182. data/features/index/index_as_table.feature +208 -0
  183. data/features/index/index_blank_slate.feature +83 -0
  184. data/features/index/index_parameters.feature +75 -0
  185. data/features/index/index_scope_to.feature +56 -0
  186. data/features/index/index_scopes.feature +251 -0
  187. data/features/index/page_title.feature +41 -0
  188. data/features/index/pagination.feature +59 -0
  189. data/features/index/switch_index_view.feature +73 -0
  190. data/features/menu.feature +53 -0
  191. data/features/new_page.feature +106 -0
  192. data/features/registering_assets.feature +35 -0
  193. data/features/registering_pages.feature +148 -0
  194. data/features/registering_resources.feature +33 -0
  195. data/features/root_to.feature +17 -0
  196. data/features/show/default_content.feature +43 -0
  197. data/features/show/page_title.feature +58 -0
  198. data/features/sidebar_sections.feature +210 -0
  199. data/features/site_title.feature +47 -0
  200. data/features/specifying_actions.feature +93 -0
  201. data/features/step_definitions/action_item_steps.rb +7 -0
  202. data/features/step_definitions/action_link_steps.rb +7 -0
  203. data/features/step_definitions/additional_web_steps.rb +82 -0
  204. data/features/step_definitions/asset_steps.rb +15 -0
  205. data/features/step_definitions/attribute_steps.rb +18 -0
  206. data/features/step_definitions/batch_action_steps.rb +55 -0
  207. data/features/step_definitions/breadcrumb_steps.rb +3 -0
  208. data/features/step_definitions/comment_steps.rb +12 -0
  209. data/features/step_definitions/configuration_steps.rb +100 -0
  210. data/features/step_definitions/dashboard_steps.rb +15 -0
  211. data/features/step_definitions/factory_steps.rb +34 -0
  212. data/features/step_definitions/filter_steps.rb +17 -0
  213. data/features/step_definitions/flash_steps.rb +11 -0
  214. data/features/step_definitions/format_steps.rb +45 -0
  215. data/features/step_definitions/i18n_steps.rb +3 -0
  216. data/features/step_definitions/index_scope_steps.rb +21 -0
  217. data/features/step_definitions/index_views_steps.rb +3 -0
  218. data/features/step_definitions/layout_steps.rb +3 -0
  219. data/features/step_definitions/member_link_steps.rb +7 -0
  220. data/features/step_definitions/menu_steps.rb +11 -0
  221. data/features/step_definitions/pagination_steps.rb +8 -0
  222. data/features/step_definitions/sidebar_steps.rb +12 -0
  223. data/features/step_definitions/site_title_steps.rb +15 -0
  224. data/features/step_definitions/symbol_leak_steps.rb +3 -0
  225. data/features/step_definitions/tab_steps.rb +3 -0
  226. data/features/step_definitions/table_steps.rb +119 -0
  227. data/features/step_definitions/user_steps.rb +41 -0
  228. data/features/step_definitions/web_steps.rb +86 -0
  229. data/features/sti_resource.feature +65 -0
  230. data/features/strong_parameters.feature +72 -0
  231. data/features/support/env.rb +119 -0
  232. data/features/support/paths.rb +71 -0
  233. data/features/support/selectors.rb +45 -0
  234. data/features/symbol_leak.feature +35 -0
  235. data/features/users/logging_in.feature +34 -0
  236. data/features/users/logging_out.feature +13 -0
  237. data/features/users/resetting_password.feature +34 -0
  238. data/lib/active_admin.rb +135 -0
  239. data/lib/active_admin/abstract_view_factory.rb +86 -0
  240. data/lib/active_admin/application.rb +250 -0
  241. data/lib/active_admin/asset_registration.rb +29 -0
  242. data/lib/active_admin/authorization_adapter.rb +132 -0
  243. data/lib/active_admin/base_controller.rb +78 -0
  244. data/lib/active_admin/base_controller/authorization.rb +151 -0
  245. data/lib/active_admin/base_controller/menu.rb +34 -0
  246. data/lib/active_admin/batch_actions.rb +17 -0
  247. data/lib/active_admin/batch_actions/controller.rb +29 -0
  248. data/lib/active_admin/batch_actions/resource_extension.rb +154 -0
  249. data/lib/active_admin/batch_actions/views/batch_action_form.rb +38 -0
  250. data/lib/active_admin/batch_actions/views/batch_action_popover.rb +28 -0
  251. data/lib/active_admin/batch_actions/views/batch_action_selector.rb +57 -0
  252. data/lib/active_admin/batch_actions/views/selection_cells.rb +37 -0
  253. data/lib/active_admin/callbacks.rb +84 -0
  254. data/lib/active_admin/cancan_adapter.rb +40 -0
  255. data/lib/active_admin/component.rb +5 -0
  256. data/lib/active_admin/controller_action.rb +12 -0
  257. data/lib/active_admin/csv_builder.rb +70 -0
  258. data/lib/active_admin/dependencies.rb +38 -0
  259. data/lib/active_admin/deprecation.rb +35 -0
  260. data/lib/active_admin/devise.rb +80 -0
  261. data/lib/active_admin/dsl.rb +165 -0
  262. data/lib/active_admin/engine.rb +7 -0
  263. data/lib/active_admin/error.rb +22 -0
  264. data/lib/active_admin/event.rb +33 -0
  265. data/lib/active_admin/filters.rb +9 -0
  266. data/lib/active_admin/filters/dsl.rb +21 -0
  267. data/lib/active_admin/filters/forms.rb +87 -0
  268. data/lib/active_admin/filters/formtastic_addons.rb +73 -0
  269. data/lib/active_admin/filters/resource_extension.rb +135 -0
  270. data/lib/active_admin/form_builder.rb +185 -0
  271. data/lib/active_admin/helpers/collection.rb +23 -0
  272. data/lib/active_admin/helpers/i18n.rb +7 -0
  273. data/lib/active_admin/helpers/optional_display.rb +38 -0
  274. data/lib/active_admin/helpers/scope_chain.rb +23 -0
  275. data/lib/active_admin/helpers/settings.rb +106 -0
  276. data/lib/active_admin/iconic.rb +54 -0
  277. data/lib/active_admin/iconic/icons.rb +142 -0
  278. data/lib/active_admin/inputs.rb +15 -0
  279. data/lib/active_admin/inputs/datepicker_input.rb +20 -0
  280. data/lib/active_admin/inputs/filter_base.rb +40 -0
  281. data/lib/active_admin/inputs/filter_base/search_method_select.rb +73 -0
  282. data/lib/active_admin/inputs/filter_boolean_input.rb +32 -0
  283. data/lib/active_admin/inputs/filter_check_boxes_input.rb +48 -0
  284. data/lib/active_admin/inputs/filter_date_range_input.rb +34 -0
  285. data/lib/active_admin/inputs/filter_numeric_input.rb +10 -0
  286. data/lib/active_admin/inputs/filter_select_input.rb +53 -0
  287. data/lib/active_admin/inputs/filter_string_input.rb +24 -0
  288. data/lib/active_admin/menu.rb +107 -0
  289. data/lib/active_admin/menu_collection.rb +96 -0
  290. data/lib/active_admin/menu_item.rb +97 -0
  291. data/lib/active_admin/namespace.rb +231 -0
  292. data/lib/active_admin/order_clause.rb +26 -0
  293. data/lib/active_admin/orm/active_record.rb +3 -0
  294. data/lib/active_admin/orm/active_record/comments.rb +84 -0
  295. data/lib/active_admin/orm/active_record/comments/comment.rb +49 -0
  296. data/lib/active_admin/orm/active_record/comments/namespace_helper.rb +14 -0
  297. data/lib/active_admin/orm/active_record/comments/resource_helper.rb +17 -0
  298. data/lib/active_admin/orm/active_record/comments/show_page_helper.rb +23 -0
  299. data/lib/active_admin/orm/active_record/comments/views.rb +2 -0
  300. data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +75 -0
  301. data/lib/active_admin/orm/mongoid.rb +1 -0
  302. data/lib/active_admin/orm/mongoid/.gitkeep +0 -0
  303. data/lib/active_admin/page.rb +88 -0
  304. data/lib/active_admin/page_controller.rb +29 -0
  305. data/lib/active_admin/page_dsl.rb +28 -0
  306. data/lib/active_admin/page_presenter.rb +32 -0
  307. data/lib/active_admin/pundit_adapter.rb +42 -0
  308. data/lib/active_admin/resource.rb +156 -0
  309. data/lib/active_admin/resource/action_items.rb +91 -0
  310. data/lib/active_admin/resource/belongs_to.rb +36 -0
  311. data/lib/active_admin/resource/controllers.rb +18 -0
  312. data/lib/active_admin/resource/menu.rb +64 -0
  313. data/lib/active_admin/resource/naming.rb +84 -0
  314. data/lib/active_admin/resource/page_presenters.rb +82 -0
  315. data/lib/active_admin/resource/pagination.rb +19 -0
  316. data/lib/active_admin/resource/routes.rb +99 -0
  317. data/lib/active_admin/resource/scope_to.rb +74 -0
  318. data/lib/active_admin/resource/scopes.rb +50 -0
  319. data/lib/active_admin/resource/sidebars.rb +28 -0
  320. data/lib/active_admin/resource_collection.rb +70 -0
  321. data/lib/active_admin/resource_controller.rb +50 -0
  322. data/lib/active_admin/resource_controller/action_builder.rb +21 -0
  323. data/lib/active_admin/resource_controller/data_access.rb +284 -0
  324. data/lib/active_admin/resource_controller/decorators.rb +100 -0
  325. data/lib/active_admin/resource_controller/resource_class_methods.rb +24 -0
  326. data/lib/active_admin/resource_controller/scoping.rb +31 -0
  327. data/lib/active_admin/resource_controller/sidebars.rb +18 -0
  328. data/lib/active_admin/resource_dsl.rb +171 -0
  329. data/lib/active_admin/router.rb +106 -0
  330. data/lib/active_admin/scope.rb +57 -0
  331. data/lib/active_admin/sidebar_section.rb +45 -0
  332. data/lib/active_admin/version.rb +3 -0
  333. data/lib/active_admin/view_factory.rb +27 -0
  334. data/lib/active_admin/view_helpers.rb +21 -0
  335. data/lib/active_admin/view_helpers/active_admin_application_helper.rb +12 -0
  336. data/lib/active_admin/view_helpers/assigns_with_indifferent_access_helper.rb +7 -0
  337. data/lib/active_admin/view_helpers/auto_link_helper.rb +37 -0
  338. data/lib/active_admin/view_helpers/breadcrumb_helper.rb +27 -0
  339. data/lib/active_admin/view_helpers/display_helper.rb +64 -0
  340. data/lib/active_admin/view_helpers/download_format_links_helper.rb +49 -0
  341. data/lib/active_admin/view_helpers/fields_for.rb +50 -0
  342. data/lib/active_admin/view_helpers/flash_helper.rb +13 -0
  343. data/lib/active_admin/view_helpers/form_helper.rb +21 -0
  344. data/lib/active_admin/view_helpers/icon_helper.rb +12 -0
  345. data/lib/active_admin/view_helpers/method_or_proc_helper.rb +93 -0
  346. data/lib/active_admin/view_helpers/sidebar_helper.rb +15 -0
  347. data/lib/active_admin/view_helpers/title_helper.rb +11 -0
  348. data/lib/active_admin/view_helpers/view_factory_helper.rb +11 -0
  349. data/lib/active_admin/views.rb +8 -0
  350. data/lib/active_admin/views/action_items.rb +17 -0
  351. data/lib/active_admin/views/components/action_list_popover.rb +29 -0
  352. data/lib/active_admin/views/components/attributes_table.rb +105 -0
  353. data/lib/active_admin/views/components/blank_slate.rb +17 -0
  354. data/lib/active_admin/views/components/columns.rb +157 -0
  355. data/lib/active_admin/views/components/dropdown_menu.rb +73 -0
  356. data/lib/active_admin/views/components/index_list.rb +68 -0
  357. data/lib/active_admin/views/components/paginated_collection.rb +126 -0
  358. data/lib/active_admin/views/components/panel.rb +34 -0
  359. data/lib/active_admin/views/components/popover.rb +27 -0
  360. data/lib/active_admin/views/components/scopes.rb +66 -0
  361. data/lib/active_admin/views/components/sidebar_section.rb +29 -0
  362. data/lib/active_admin/views/components/site_title.rb +55 -0
  363. data/lib/active_admin/views/components/status_tag.rb +67 -0
  364. data/lib/active_admin/views/components/table_for.rb +212 -0
  365. data/lib/active_admin/views/footer.rb +20 -0
  366. data/lib/active_admin/views/header.rb +32 -0
  367. data/lib/active_admin/views/index_as_block.rb +36 -0
  368. data/lib/active_admin/views/index_as_blog.rb +156 -0
  369. data/lib/active_admin/views/index_as_grid.rb +80 -0
  370. data/lib/active_admin/views/index_as_table.rb +277 -0
  371. data/lib/active_admin/views/pages/base.rb +139 -0
  372. data/lib/active_admin/views/pages/form.rb +51 -0
  373. data/lib/active_admin/views/pages/index.rb +163 -0
  374. data/lib/active_admin/views/pages/layout.rb +26 -0
  375. data/lib/active_admin/views/pages/page.rb +30 -0
  376. data/lib/active_admin/views/pages/show.rb +59 -0
  377. data/lib/active_admin/views/tabbed_navigation.rb +62 -0
  378. data/lib/active_admin/views/title_bar.rb +55 -0
  379. data/lib/activeadmin.rb +1 -0
  380. data/lib/generators/active_admin/assets/assets_generator.rb +16 -0
  381. data/lib/generators/active_admin/assets/templates/active_admin.css.scss +17 -0
  382. data/lib/generators/active_admin/assets/templates/active_admin.js.coffee +1 -0
  383. data/lib/generators/active_admin/devise/devise_generator.rb +66 -0
  384. data/lib/generators/active_admin/install/install_generator.rb +46 -0
  385. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +243 -0
  386. data/lib/generators/active_admin/install/templates/admin_user.rb.erb +30 -0
  387. data/lib/generators/active_admin/install/templates/dashboard.rb +33 -0
  388. data/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb +19 -0
  389. data/lib/generators/active_admin/resource/resource_generator.rb +16 -0
  390. data/lib/generators/active_admin/resource/templates/admin.rb +17 -0
  391. data/lib/ransack_ext.rb +12 -0
  392. data/script/local +44 -0
  393. data/script/use_rails +53 -0
  394. data/spec/integration/default_namespace_spec.rb +61 -0
  395. data/spec/integration/javascript_spec.rb +20 -0
  396. data/spec/integration/memory_spec.rb +29 -0
  397. data/spec/integration/stylesheets_spec.rb +18 -0
  398. data/spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee +50 -0
  399. data/spec/javascripts/coffeescripts/jquery.aa.popover-spec.js.coffee +82 -0
  400. data/spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee +34 -0
  401. data/spec/javascripts/compiled/jquery.aa.checkbox-toggler-spec.js +60 -0
  402. data/spec/javascripts/compiled/jquery.aa.popover-spec.js +106 -0
  403. data/spec/javascripts/compiled/jquery.aa.table-checkbox-toggler-spec.js +37 -0
  404. data/spec/javascripts/fixtures/checkboxes.html +9 -0
  405. data/spec/javascripts/fixtures/table_checkboxes.html +17 -0
  406. data/spec/javascripts/helpers/SpecHelper.js +3 -0
  407. data/spec/javascripts/helpers/vendor/jasmine-fixture-0.0.5.js +108 -0
  408. data/spec/javascripts/helpers/vendor/jasmine-jquery.js +288 -0
  409. data/spec/javascripts/helpers/vendor/sinon-1.2.0.js +2915 -0
  410. data/spec/javascripts/support/jasmine.yml +74 -0
  411. data/spec/javascripts/support/jasmine_config.rb +23 -0
  412. data/spec/javascripts/support/jasmine_runner.rb +32 -0
  413. data/spec/javascripts/support/jquery-ui-1.8.16.custom.min.js +34 -0
  414. data/spec/javascripts/support/jquery.min.js +4 -0
  415. data/spec/spec_helper.rb +182 -0
  416. data/spec/spec_helper_without_rails.rb +16 -0
  417. data/spec/support/deferred_garbage_collection.rb +19 -0
  418. data/spec/support/detect_rails_version.rb +42 -0
  419. data/spec/support/integration_example_group.rb +31 -0
  420. data/spec/support/jslint.yml +80 -0
  421. data/spec/support/rails_template.rb +117 -0
  422. data/spec/support/rails_template_with_data.rb +59 -0
  423. data/spec/support/templates/admin/stores.rb +11 -0
  424. data/spec/support/templates/cucumber.rb +24 -0
  425. data/spec/support/templates/cucumber_with_reloading.rb +5 -0
  426. data/spec/support/templates/en.yml +8 -0
  427. data/spec/support/templates/policies/active_admin/comment_policy.rb +9 -0
  428. data/spec/support/templates/policies/active_admin/page_policy.rb +18 -0
  429. data/spec/support/templates/policies/admin_user_policy.rb +11 -0
  430. data/spec/support/templates/policies/application_policy.rb +45 -0
  431. data/spec/support/templates/policies/category_policy.rb +7 -0
  432. data/spec/support/templates/policies/post_policy.rb +15 -0
  433. data/spec/support/templates/policies/store_policy.rb +11 -0
  434. data/spec/support/templates/policies/user_policy.rb +11 -0
  435. data/spec/support/templates/post_decorator.rb +11 -0
  436. data/spec/unit/abstract_view_factory_spec.rb +79 -0
  437. data/spec/unit/action_builder_spec.rb +126 -0
  438. data/spec/unit/active_admin_spec.rb +11 -0
  439. data/spec/unit/application_spec.rb +140 -0
  440. data/spec/unit/asset_registration_spec.rb +52 -0
  441. data/spec/unit/authorization/authorization_adapter_spec.rb +61 -0
  442. data/spec/unit/authorization/controller_authorization_spec.rb +39 -0
  443. data/spec/unit/auto_link_spec.rb +34 -0
  444. data/spec/unit/batch_actions/resource_spec.rb +92 -0
  445. data/spec/unit/batch_actions/settings_spec.rb +61 -0
  446. data/spec/unit/belongs_to_spec.rb +42 -0
  447. data/spec/unit/cancan_adapter_spec.rb +43 -0
  448. data/spec/unit/comments_spec.rb +144 -0
  449. data/spec/unit/component_spec.rb +18 -0
  450. data/spec/unit/config_shared_examples.rb +59 -0
  451. data/spec/unit/controller_filters_spec.rb +37 -0
  452. data/spec/unit/csv_builder_spec.rb +134 -0
  453. data/spec/unit/devise_spec.rb +116 -0
  454. data/spec/unit/dsl_spec.rb +61 -0
  455. data/spec/unit/event_spec.rb +47 -0
  456. data/spec/unit/filters/filter_form_builder_spec.rb +418 -0
  457. data/spec/unit/filters/resource_spec.rb +121 -0
  458. data/spec/unit/form_builder_spec.rb +576 -0
  459. data/spec/unit/generators/install_spec.rb +23 -0
  460. data/spec/unit/helpers/collection_spec.rb +65 -0
  461. data/spec/unit/helpers/scope_chain_spec.rb +36 -0
  462. data/spec/unit/helpers/settings_spec.rb +30 -0
  463. data/spec/unit/menu_collection_spec.rb +62 -0
  464. data/spec/unit/menu_item_spec.rb +143 -0
  465. data/spec/unit/menu_spec.rb +71 -0
  466. data/spec/unit/namespace/authorization_spec.rb +27 -0
  467. data/spec/unit/namespace/register_page_spec.rb +74 -0
  468. data/spec/unit/namespace/register_resource_spec.rb +163 -0
  469. data/spec/unit/namespace_spec.rb +103 -0
  470. data/spec/unit/order_clause_spec.rb +57 -0
  471. data/spec/unit/page_controller_spec.rb +5 -0
  472. data/spec/unit/page_spec.rb +72 -0
  473. data/spec/unit/pretty_format_spec.rb +63 -0
  474. data/spec/unit/pundit_adapter_spec.rb +36 -0
  475. data/spec/unit/resource/action_items_spec.rb +62 -0
  476. data/spec/unit/resource/menu_spec.rb +18 -0
  477. data/spec/unit/resource/naming_spec.rb +122 -0
  478. data/spec/unit/resource/page_presenters_spec.rb +44 -0
  479. data/spec/unit/resource/pagination_spec.rb +38 -0
  480. data/spec/unit/resource/routes_spec.rb +73 -0
  481. data/spec/unit/resource/scopes_spec.rb +50 -0
  482. data/spec/unit/resource/sidebars_spec.rb +43 -0
  483. data/spec/unit/resource_collection_spec.rb +158 -0
  484. data/spec/unit/resource_controller/data_access_spec.rb +73 -0
  485. data/spec/unit/resource_controller/decorators_spec.rb +86 -0
  486. data/spec/unit/resource_controller/sidebars_spec.rb +46 -0
  487. data/spec/unit/resource_controller_spec.rb +265 -0
  488. data/spec/unit/resource_registration_spec.rb +56 -0
  489. data/spec/unit/resource_spec.rb +263 -0
  490. data/spec/unit/routing_spec.rb +172 -0
  491. data/spec/unit/scope_spec.rb +114 -0
  492. data/spec/unit/settings_spec.rb +88 -0
  493. data/spec/unit/view_factory_spec.rb +21 -0
  494. data/spec/unit/view_helpers/breadcrumbs_spec.rb +180 -0
  495. data/spec/unit/view_helpers/display_name_spec.rb +68 -0
  496. data/spec/unit/view_helpers/download_format_links_helper_spec.rb +39 -0
  497. data/spec/unit/view_helpers/fields_for_spec.rb +50 -0
  498. data/spec/unit/view_helpers/form_helper_spec.rb +42 -0
  499. data/spec/unit/view_helpers/method_or_proc_helper_spec.rb +97 -0
  500. data/spec/unit/views/components/action_list_popover_spec.rb +29 -0
  501. data/spec/unit/views/components/attributes_table_spec.rb +259 -0
  502. data/spec/unit/views/components/batch_action_popover_spec.rb +33 -0
  503. data/spec/unit/views/components/blank_slate_spec.rb +17 -0
  504. data/spec/unit/views/components/columns_spec.rb +172 -0
  505. data/spec/unit/views/components/index_list_spec.rb +32 -0
  506. data/spec/unit/views/components/paginated_collection_spec.rb +229 -0
  507. data/spec/unit/views/components/panel_spec.rb +51 -0
  508. data/spec/unit/views/components/popover_spec.rb +33 -0
  509. data/spec/unit/views/components/sidebar_section_spec.rb +47 -0
  510. data/spec/unit/views/components/site_title_spec.rb +78 -0
  511. data/spec/unit/views/components/status_tag_spec.rb +102 -0
  512. data/spec/unit/views/components/table_for_spec.rb +242 -0
  513. data/spec/unit/views/pages/form_spec.rb +35 -0
  514. data/spec/unit/views/pages/layout_spec.rb +63 -0
  515. data/spec/unit/views/pages/show_spec.rb +20 -0
  516. data/spec/unit/views/tabbed_navigation_spec.rb +149 -0
  517. data/tasks/docs.rake +37 -0
  518. data/tasks/js.rake +32 -0
  519. data/tasks/parallel_tests.rake +60 -0
  520. data/tasks/test.rake +79 -0
  521. data/tasks/yard.rake +7 -0
  522. metadata +741 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 145f50b7cc6fe941f82780eec5bf618b733ac276
4
+ data.tar.gz: a290c9cac39ca8214b2c44eb16d744c8b6564d10
5
+ SHA512:
6
+ metadata.gz: 06d82bbdfadf42ef93ec9419967937e5991cda380cfba777a9557e3dc0ff85d4a3ccbb18bc6dd9f4078dcc3105f61433f40577a7e7d6395e85a8f1e0b036a9dc
7
+ data.tar.gz: b68c87d057d341d892972dcc200c9bdda7c57c764012fadbeacbcdf43566f9b0cff053e31eba02c792bf35a505ee80f795326b6154017fddba478bf6126bfd08
data/.gitignore ADDED
@@ -0,0 +1,46 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## WINDOWS
5
+ .Thumbs.db
6
+
7
+ ## TEXTMATE
8
+ *.tmproj
9
+ tmtags
10
+
11
+ ## EMACS
12
+ *~
13
+ \#*
14
+ .\#*
15
+
16
+ ## VIM
17
+ *.swp
18
+ # IDEA / RUBYMINE
19
+ .idea
20
+
21
+ ## RVM
22
+ .rvmrc
23
+ .ruby-version
24
+ .ruby-gemset
25
+
26
+ ## PROJECT::GENERAL
27
+ tags
28
+ coverage
29
+ rdoc
30
+ doc
31
+ .yardoc
32
+ pkg
33
+
34
+ ## PROJECT::SPECIFIC
35
+ .bundle
36
+ spec/rails
37
+ *.sqlite3-journal
38
+ Gemfile.lock
39
+ Gemfile-*.lock
40
+ capybara*
41
+ viewcumber
42
+ test-rails*
43
+ public
44
+ .rspec
45
+ .rails-version
46
+ .rbenv-version
data/.travis.yml ADDED
@@ -0,0 +1,19 @@
1
+ language: ruby
2
+ script: bundle exec rake test_with_coveralls
3
+ before_install:
4
+ - gem install bundler # use the latest bundler, since Travis doesn't update for us
5
+ rvm:
6
+ - 1.9.3
7
+ - 2.1.1
8
+ env:
9
+ - RAILS=3.2.17
10
+ - RAILS=4.0.3
11
+ notifications:
12
+ irc:
13
+ channels:
14
+ - "irc.freenode.org#activeadmin"
15
+ on_success: change
16
+ on_failure: always
17
+ skip_join: true
18
+ template:
19
+ - "(%{branch}/%{commit} by %{author}): %{message} (%{build_url})"
data/.yardopts ADDED
@@ -0,0 +1,9 @@
1
+ lib/**/*.rb
2
+ --protected
3
+ --no-private
4
+ --exclude features
5
+ --plugin redcarpet-ext
6
+ -
7
+ README.md
8
+ CHANGELOG.md
9
+ docs/**/*.md
data/CHANGELOG.md ADDED
@@ -0,0 +1,1074 @@
1
+ ## 1.0.0 [☰](https://github.com/gregbell/active_admin/compare/v0.6.3...master) (unreleased)
2
+
3
+ ### Major Changes
4
+ * Migration from Metasearch to Ransack [#1979][] by [@seanlinsley][]
5
+ * Rails 4 support [#2326][] by many people :heart:
6
+
7
+ ### Enhancements
8
+ * Make AA ORM-agnostic [#2545][] by [@johnnyshields][]
9
+ * Add multi-record support to `attributes_table_for` [#2544][] by [@zorab47][]
10
+ * Table CSS classes are now prefixed to prevent clashes [#2532][] by [@TimPetricola][]
11
+ * Allow Inherited Resources shorthand for redirection [#2001][] by [@seanlinsley][]
12
+ ```ruby
13
+ controller do
14
+ # Redirects to index page instead of rendering udpated resource
15
+ def update
16
+ update!{ collection_path }
17
+ end
18
+ end
19
+ ```
20
+
21
+ * Accept block for download links [#2040][] by [@potatosalad][]
22
+ ```ruby
23
+ index download_links: ->{ can?(:view_all_download_links) || [:pdf] }
24
+ ```
25
+
26
+ ### Security Fixes
27
+
28
+ * Prevents potential DOS attack via Ruby symbols [#1926][] by [@seanlinsley][]
29
+
30
+ ### Bug Fixes
31
+
32
+ * Fixes filters for `has_many :through` relationships [#2541][] by [@shekibobo][]
33
+ * "New" action item now only shows up on the index page bf659bc by [@seanlinsley][]
34
+ * Fixes comment creation bug with aliased resources 9a082486 by [@seanlinsley][]
35
+ * Fixes the deletion of `:if` and `:unless` from filters [#2523][] by [@PChambino][]
36
+
37
+ ## 0.6.3 [☰](https://github.com/gregbell/active_admin/compare/v0.6.2...v0.6.3)
38
+
39
+ * __Reinstitutes the 10k limit for CSV exports__ [#2847][] by [@seanlinsley][]
40
+ * Blacklists Devise versions vulnerable to CVE-2013-0233 [#2744][] by [@jjarmoc][]
41
+ * Autoloads the Comments model so it respects user's Kaminari config 77c97d27 by [@seanlinsley][]
42
+ * Hides the blank slate link if user doesn't have permissions [#2588][] by [@seanlinsley][]
43
+ * Fixes incorrect breadcrumb on edit pages [#2601][] by [@shekibobo][]
44
+ * Resurrects `ResourceMismatchError` b1c28cdb by [@seanlinsley][]
45
+ * Keeps filter conditions from being deleted fa0edec4 by [@seanlinsley][]
46
+ * Translations by [@teoulas][], [@tricknotes][], [@givanse][], and [@pcreux][] :heart:
47
+
48
+ ## 0.6.2 [☰](https://github.com/gregbell/active_admin/compare/v0.6.1...v0.6.2)
49
+
50
+ * Patches MetaSearch bug for attributes ending in "ne" d5db9ff4 by [@seanlinsley][]
51
+
52
+ ## 0.6.1 [☰](https://github.com/gregbell/active_admin/compare/v0.6.0...v0.6.1)
53
+
54
+ ### Features
55
+
56
+ * OmniAuth provider links now automatically appear on the login page [#2088][] by [@henrrrik][]
57
+ * Menu items can now properly overflow [#2046][] by [@maax][]; later updated in [#2125][] by [@ball-hayden][]
58
+ * Favicon support [#2348][] by [@stereoscott][]
59
+ * HABTM filters [#1928][] by [@seanlinsley][]
60
+ ```ruby
61
+ # (assuming Foo HABTM Bars)
62
+ ActiveAdmin.register Foo do
63
+ filter :bars
64
+ end
65
+ ```
66
+
67
+ * Advanced string filters [#2096][] by [@joseluistorres][]; later updated in [#2228][] by [@seanlinsley][]
68
+ * Select filters now respect custom MetaSerch search methods [#2420][] by [@seanlinsley][]
69
+ * The navbar now links to the current user's profile [#2395][] by [@seanlinsley][]
70
+
71
+ ### Bug Fixes
72
+
73
+ * The CSS encapsulation from 0.6.0 has been rolled back [#1952][] by [@tinynumbers][]
74
+ * Fixes problem where extra `/` route was being generated [#2062][] by [@jbhannah][]
75
+ * `IndexAsBlog` now renders title/body procs in the view context [#2087][] by [@macfanatic][]
76
+ * Fixes `route_instance_path` for `belongs_to` resources [#2099][] by [@pcreux][]
77
+ * Fixes breadcrumb links for `belongs_to` resources [#2090][] by [@seanlinsley][]
78
+ * Fixes ID regression, again using `to_param` [#2175][] by [@cknoxrun][]
79
+ * Fixes `check_box_checked?` bug [#2186][] by [@seanlinsley][]; later updated in [#2221][] by [@dmfrancisco][]
80
+ * Ensures that assets can only be registered once [#2139][] by [@seanlinsley][]
81
+ * Makes breadcrumbs respect the decorator [#2315][] by [@amiel][]
82
+ * CSV download links now respect pagination [#2419][] by [@seanlinsley][]
83
+ * Panels no longer escape html-safe entities [#2403][] by [@zorab47][]
84
+
85
+ ### Enhancements
86
+
87
+ * Adds option to "undecorate" resource when building forms [#2085][] by [@amiel][]
88
+ * Adds `:pagination_total` option to index to hide count for large databases [#2333][] by [@joseluistorres][]
89
+ * Adds [better_errors](https://github.com/charliesome/better_errors) gem for a better AA development experience [#2095][] by [@seanlinsley][]
90
+ * Scopes now support blocks for the `:default` option [#2084][] by [@macfanatic][]
91
+ * `:if` and `:unless` options added to `scope_to` [#2089][] by [@macfanatic][]
92
+ * Renames Comment to AdminComment [#2060][] by [@jbhannah][]; later replaced by [#2113][]
93
+ * Improves Comments UI and adds config settings [#2113][] by [@seanlinsley][]
94
+ ```ruby
95
+ config.show_comments_in_menu = false # Defaults to true
96
+ config.comments_registration_name = 'AdminComment' # Defaults to 'Comment'
97
+ ```
98
+
99
+ * `has_many` forms
100
+ * Adds 'has_many_delete' CSS class to `li` elements [#2054][] by [@shekibobo][]
101
+ * Adds `:heading` option to customize the heading displayed [#2068][] by [@coreyward][]
102
+ * Adds `:allow_destroy` option to add in a checkbox to the form to delete records [#2071][] by [@shekibobo][]
103
+ * Adds `:new_record` option to hide "new" button [#2134][] by [@developer88][]
104
+ * translations
105
+ * German (Switzerland), English (UK) locales added [#1916][] by [@psy-q][]
106
+ * Danish locale updated [#2154][] by [@jokklan][]
107
+ * Bulgarian locale updated [#2150][] by [@mitio][]
108
+ * Ukrainian locale added [#2258][] by [@valdemarua][]
109
+ * Mexican Spanish locale added [#2319][] by [@neoriddle][]
110
+ * Japanese locale updated [#2416][] by [@nappa][]
111
+ * move filter translation into `SearchMethodSelect` [#2231][] by [@seanlinsley][]
112
+ * fix plural translations for default `batch_action` [#2255][] by [@mindhalt][]
113
+ * In development, load each individual AA JS file [#2215][] by [@tank-bohr][]
114
+ * Removes Railtie, only using Rails Engine [#2162][] by [@jherdman][]
115
+ * Excludes associations from `display_name` helper [#2147][] by [@seanlinsley][]
116
+ * Prevents new AA::Application instances from using the same `namespace` hash [#2313][] by [@seanlinsley][]
117
+ * Moves hard-coded SASS colors into variables [#2454][] by [@ilyakatz][]
118
+
119
+ ### Cleanup
120
+
121
+ * Cucumber step definitions refactor [#2015][] by [@seanlinsley][]
122
+ * Misc cleanup in [#2075][] and [#2107][] by [@seanlinsley][]
123
+ * Removes messy spacing from `AdminUser` generator file [#2058][] by [@lupinglade][]
124
+ * Fixes documentation formatting [#2083][] by [@amiel][]
125
+ * Deprecated settings & code removed [#2165][] by [@seanlinsley][]
126
+
127
+ ## 0.6.0 [☰](https://github.com/gregbell/active_admin/compare/v0.5.1...v0.6.0)
128
+
129
+ ### Bug Fixes
130
+
131
+ * Fix conflict with Redcloth [#1805][] by [@adrienkohlbecker][]
132
+ * Add missing batch actions translations. [#1788][] by [@EtienneDepaulis][]
133
+ * JS fix for batch actions checkbox toggling [#1947][] by [@ai][]
134
+ * Fixed routing bug for root namespace [#2043][] by [@seanlinsley][] and [@gregbell][]
135
+
136
+ ### Enhancements
137
+
138
+ * Rubinis compatability change over block variables [#1871][] by [@dbussin][]
139
+ * Compatability with Draper 1.0 release [#1896][] by [@hakanensari][]
140
+ * Fixed references to "dashboards.rb" in locales, since file doesn't exist [#1873][] by [@ryansch][]
141
+ * Removing deprecated bourbon box-shadow mixin [#1913][] by [@stereoscott][]
142
+ * More Japanese localizations [#1929][] by [@johnnyshields][]
143
+ * Devise lockable module now supported by default [#1933][] by [@Bishop][]
144
+ * Index table now uses a unique DOM id (`#index_table_posts` instead of `#posts`) [#1966][] by [@TiagoCardoso1983][]
145
+ * Coffeescript 1.5 compatability as constructors no longer return a value [#1940][] by [@ronen][]
146
+ * Allow options to be passed to the Abre element for rows in `attributes_table` [#1439][] by [@seanlinsley][]
147
+ * Gender neutral Spanish translations [#1973][] by [@laffinkippah][]
148
+ * Adds the ability to use `starts_with` and `ends_with` in string filters [#1962][] by [@rmw][]
149
+ * Adds support for translating resources when registered with `:as` [#2044][] by [@seanlinsley][]
150
+ * Scopes are no longer hidden when empty filter results [#1804][] by [@seanlinsley][]
151
+ * Dynamic scope names with procs [#2018][] by [@seanlinsley][]
152
+ * Filters now support the `:if` optional argument [#1801][] by [@seanlinsley][]
153
+ * Member & collection actions support multiple HTTP methods for the same action [#2000][] by [@rdsoze][]
154
+
155
+ ### Features
156
+
157
+ * Authorization DSL including a default CanCan adapter [#1817][] by [@pcreux][] and [@gregbell][]
158
+ * New "actions" DSL for customizing actions on index listing [#1834][] by [@ejholmes][]
159
+ * Index title can now be set via a proc [#1861][] by [@jamesalmond][]
160
+ * Can now disable `download_links` per resource, index collection or globally throughout AA [#1908][] by [@TBAA][]
161
+ * Filters: add ability to search for blank/null fields with boolean search [#1893][] by [@whatcould][]
162
+ * New `navigation_menu` DSL for menu system [#1967][] by [@macfanatic][] and [@gregbell][]
163
+ * Support segmented control switch between different index styles [#1745][] by [@joshuacollins85][]
164
+
165
+ ### Other
166
+
167
+ * Updated documentation for formtastic deprecated f.buttons [#1867][] by [@ericcumbee][]
168
+ * Copyright updated for 2013 [#1937][] by [@snapapps][]
169
+
170
+ ### Contributors
171
+
172
+ 327 Commits by 42 authors
173
+
174
+ * Adrien Kohlbecker
175
+ * Alexandr Prudnikov
176
+ * Andrew Pietsch
177
+ * Andrey A.I. Sitnik
178
+ * Andrey Rozhkovsky
179
+ * Anthony Zacharakis
180
+ * Bartlomiej Niemtur
181
+ * David DIDIER
182
+ * David Reese
183
+ * Sean Linsley
184
+ * Dirkjan Bussink
185
+ * Dominik Masur
186
+ * Eric Cumbee
187
+ * Eric J. Holmes
188
+ * Etienne Depaulis
189
+ * Gosha Arinich
190
+ * Greg Bell
191
+ * Ian Carroll
192
+ * James Almond
193
+ * Johnny Shields
194
+ * Joshua Collins
195
+ * Kieran Klaassen
196
+ * Luís Ramalho
197
+ * Matt Brewer
198
+ * Nathaniel Bibler
199
+ * Olek Janiszewski
200
+ * Philippe Creux
201
+ * Raison Dsouza
202
+ * Rebecca Miller-Webster
203
+ * Roman Sklenar
204
+ * Roman Sklenář
205
+ * Ryan Schlesinger
206
+ * Scott Meves
207
+ * Sergey Pchelincev
208
+ * Simon Menke
209
+ * Tiago Cardoso
210
+ * Travis Pew
211
+ * WU Jun
212
+ * laffinkippah
213
+ * ronen barzel
214
+ * тιηуηυмвєяѕ
215
+
216
+ ## 0.5.1 [☰](https://github.com/gregbell/active_admin/compare/v0.5.0...v0.5.1)
217
+
218
+ ### Enhancements
219
+
220
+ * Developer can pass options for CSV generation. [#1626][] by [@rheaton][]
221
+ ```ruby
222
+ ActiveAdmin.register Post do
223
+ csv options: {force_quotes: true} do
224
+ column :title
225
+ end
226
+ end
227
+ ```
228
+
229
+ * Breadcrumb links can be customized by [@simonoff][]
230
+ ```ruby
231
+ ActiveAdmin.register Post do
232
+ breadcrumb do
233
+ [
234
+ link_to("My account", account_path(current_user))
235
+ ]
236
+ end
237
+ end
238
+ ```
239
+
240
+ * Support proc for parent options on menus [#1664][] by [@shell][]
241
+ ```ruby
242
+ ActiveAdmin.register Post do
243
+ menu parent: proc { I18n.t("admin") }
244
+ end
245
+ ```
246
+
247
+ * Support automatic use of Decorators. [#1117][] by [@amiel][] and [#1647][] by [@dapi][]
248
+ ```ruby
249
+ ActiveAdmin.register Post do
250
+ decorate_with PostDecorator
251
+ end
252
+ ```
253
+
254
+ * Allow blacklisting of filters with 'remove_filter' [#1609][] by [@tracedwax][]
255
+ ```ruby
256
+ ActiveAdmin.register Post do
257
+ remove_filter :author
258
+ end
259
+ ```
260
+
261
+ * ActiveAdmin i18n translations can be overwritten in your rails
262
+ application locales. [#1775][] by [@caifara][]
263
+ * Add "Powered by" to translations. [#1783][] by [@sunny][]
264
+ * Forms accept two level deeps has_many. [#1699][] by [@kerberoS][] and tests in [#1782][] by [@ptn][]
265
+ * Extract download_format_links into helper [#1752][] by [@randym][]
266
+ * Add support for semantic errors [#905][] by [@robdiciuccio][]
267
+ * Add support for boolean inputs [#1668][] by [@orendon][]
268
+ * Support subURI on logout [#1681][] by [@yawn][]
269
+
270
+ ### Bug fix
271
+ * Apply before_filter to BaseController [#1683][] by [@yorch][]
272
+ * ... and much more.
273
+
274
+ ### Contributions
275
+
276
+ 156 commits (49 Pull Requests) by 51 contributors.
277
+
278
+ ## 0.5.0 [☰](https://github.com/gregbell/active_admin/compare/v0.4.4...v0.5.0)
279
+
280
+ ### Enhancements
281
+
282
+ * Created new view components (Footer, TitleBar, Header, UtilityNav) to more
283
+ easily customize the views in Active Admin and per namespace. ([@gregbell][])
284
+ * All CSS is now encapsulated under the `body.active_admin` class. This may
285
+ change the precedence of styles that you created to override or use in
286
+ other areas of your application.
287
+ * Dashboards are now implemented as pages. For more details of how to configure
288
+ a page, checkout http://activeadmin.info/docs/9-custom-pages.html
289
+ * Root route can be set to any controller#action using `#root_to`.
290
+ * Batch Actions allows you to select entries on index page and perform
291
+ an action against them.
292
+ * CSV separators are configurable.
293
+ * Lot of bug fixes.
294
+
295
+ ### Deprecations
296
+
297
+ * Removed all references to ActiveAdmin::Renderer. If you were using these
298
+ please update code to use an Arbre component. Removed
299
+ `ActiveAdmin:Views::HeaderRender` and replaced with
300
+ `ActiveAdmin::Views::Header` component.
301
+ * ActiveAdmin::Menu and ActiveAdmin::MenuItem API has changed. If you were
302
+ creating custom menu items, the builder syntax has changed to. Menu#add now
303
+ accepts a MenuItem, instead of building the menu item for you.
304
+ * `ActiveAdmin::Dashboards.build` is deprecated in favour of generating a page
305
+ and using the new `config.root_to` option.
306
+ * Arbre is now a gem on its own.
307
+
308
+ ### Contributions
309
+
310
+ 561 commits (142 Pull Requests) by 88 contributors.
311
+
312
+ ## 0.4.4 [☰](https://github.com/gregbell/active_admin/compare/v0.4.3...v0.4.4)
313
+
314
+ ### Dependencies
315
+
316
+ * Use `formtastic` ~> 2.1.1 until AA 0.5.0 is released
317
+ * Use `inherited_resources` >= 1.3.1 (ensure flash messages work)
318
+
319
+ ## 0.4.3 [☰](https://github.com/gregbell/active_admin/compare/v0.4.2...v0.4.3)
320
+
321
+ ### Bug Fixes
322
+
323
+ * [#1063][]: Fix comment issues when using postgres ([@jancel][])
324
+
325
+ ## 0.4.2 [☰](https://github.com/gregbell/active_admin/compare/v0.4.1...v0.4.2)
326
+
327
+ ### Enhancements
328
+
329
+ * [#822][]: Automatically include js and css to precompile list ([@jschwindt][])
330
+ * [#1033][]: Site title accepts a proc that is rendered in the context
331
+ of the view ([@pcreux][])
332
+ * [#70][]: Form blocks are now rendered within the context of the view ([@gregbell][])
333
+ * [#70][]: Filter's collections are now eval'd in the context of the view ([@gregbell][])
334
+ * [#1032][]: The html body now includes a class for the namespace name ([@mattvague][])
335
+ * [#1013][]: Hide the count from one specific scope using `:show_count => false`
336
+ ([@latortuga][])
337
+ * [#1023][]: Add localization support for comments ([@MoritzMoritz][])
338
+
339
+ ### Bug Fixes
340
+
341
+ * [#34][]: Comments now work with models using string ids ([@jancel][])
342
+ * [#1041][]: When `table_for` collection is empty it no longer outputs
343
+ a blank array in Ruby 1.9 ([@jancel][], [#1016][])
344
+ * [#983][]: Fixed compatibility with pry-rails ([@pcreux][])
345
+ * [#409][]: Install generator handles custom class names for user ([@gregbell][])
346
+
347
+ ### Contributors
348
+
349
+ 42 Commits by 10 authors
350
+
351
+ * Allen Huang
352
+ * Daniel Lepage
353
+ * Thibaut Barrère
354
+ * Drew Ulmer
355
+ * Juan Schwindt
356
+ * Moritz Behr
357
+ * Jeff Ancel
358
+ * Matt Vague
359
+ * Greg Bell
360
+ * Philippe Creux
361
+
362
+
363
+ ## 0.4.1 [☰](https://github.com/gregbell/active_admin/compare/v0.4.0...v0.4.1)
364
+
365
+ ### Enhancements
366
+
367
+ * [#865][]: Pages support the `#page_action` to add custom controller actions
368
+ to a page ([@BoboFraggins][])
369
+ * Columns component now supports column spans, max and min widths ([@gregbell][])
370
+ * [#497][]: Custom pagination settings per resource ([@pcreux][])
371
+ * [#993][]: Login form now focuses on email ([@mattvague][])
372
+ * [#865][]: Add `:if` support to sidebar sections ([@BoboFraggins][])
373
+ * [#865][]: Added `:scope_count => false` to the index to hide scope counts
374
+ in generated scopes ([@BoboFraggins][])
375
+
376
+ ### Bug Fixes
377
+
378
+ * [#101][]: Global nav now works with RackBaseURI ([@gregbell][])
379
+ * [#960][]: Global nav works when scoped in rails routes ([@gregbell][])
380
+ * [#994][]: Fix index page check collection.limit(1).exists? causes exception when
381
+ ordering by virtual colum ([@latortuga][], [@gregbell][])
382
+ * [#971][]: Fix SQL when sorting tables with a column named "group" ([@ggilder][])
383
+
384
+ ### Dependencies
385
+
386
+ * [#978][]: Support for Inherited Resources 1.3.0 ([@fabiormoura][])
387
+
388
+ ### Contributors
389
+
390
+ 75 Commits by 12 authors
391
+
392
+ * Bruno Bonamin
393
+ * David Radcliffe
394
+ * Dinesh Majrekar
395
+ * Erik Michaels-Ober
396
+ * Fábio Maia
397
+ * Gabriel Gilder
398
+ * Greg Bell
399
+ * Kyle Macey
400
+ * Matt Vague
401
+ * Oldani Pablo
402
+ * Peter Fry
403
+ * Philippe Creux
404
+ * Søren Houen
405
+
406
+
407
+ ## 0.4.0 [☰](https://github.com/gregbell/active_admin/compare/v0.3.4...v0.4.0)
408
+
409
+ ### Upgrade Notes
410
+
411
+ If you're running on Rails 3.0.x, make sure to run `rails generate active_admin:assets`
412
+ since we've changed both the CSS and JS files.
413
+
414
+ ### Deprecations
415
+
416
+ * In the initializer `config.allow_comments_in = []` is now
417
+ `config.allow_comments = true`. Use the new namespace specific configurations
418
+ to allow or disallow configuration within a specific namespace.
419
+ * Removed `Object#to_html` in favour of `to_s`. Any Arbre components
420
+ implementing a `to_html` method need to be updated to use `to_s` instead.
421
+
422
+ ### New Features
423
+
424
+ * Namespace specific configurations in the initializer ([@gregbell][])
425
+ * [#624][]: Set an image as the site title using `config.site_title_image` in the
426
+ Active Admin initializer. ([@mattvague][])
427
+ * [#758][]: Create a standalone page in Active Admin using
428
+ `ActiveAdmin.register_page` ([@pcreux][])
429
+ * [#723][]: Register stylesheets with a media type ([@macfanatic][])
430
+
431
+ ### Enhancements
432
+
433
+ * [#428][]: Paginated Collection now supports `:param_name` and `:download_links`.
434
+ These two additions allow you to use the `paginated_collection` component multiple
435
+ times on show screens. ([@samvincent][])
436
+ * [#527][]: Refactored all form helpers to use Formtastic 2([@ebeigarts][])
437
+ * [#551][]: Dashboards can now be conditionally displayed using `:if` ([@samvincent][])
438
+ * [#555][]: scopes now accept `:if`. They only get displayed if the proc returns true ([@macfanatic][])
439
+ * [#601][]: Breadcrumbs are internationalized ([@vairix-ssierra][])
440
+ * [#605][]: Validations on ActiveAdmin::Comment should work with
441
+ `accepts_nested_attributes_for` ([@DMajrekar ][])
442
+ * [#623][]: Index table can sort on any table using `:sort => 'table.column'` ([@ZequeZ][])
443
+ * [#638][]: Add `:label` option to `status_tag` component ([@fbuenemann][])
444
+ * [#644][]: Added proper I18n support to pagination ([@fbuenemann][])
445
+ * [#689][]: Scopes preserve title when provided as a string ([@macfanatic][])
446
+ * [#711][]: Styles update. Now sexier and more refined design. Redesigned Scopes. Split
447
+ css into smaller files. ([@mattvague][])
448
+ * [#741][]: Default media type of css is now "all" instead of "screen" ([@sftsang][])
449
+ * [#751][]: Pagination numbers work with a custom `[@per_page][]` ([@DMajrekar][])
450
+ * `default_actions` in an index table only display implemented actions ([@watson][])
451
+
452
+ ### Bug Fixes
453
+
454
+ * [#590][]: Comments now work in the default namespace ([@jbarket][])
455
+ * [#780][]: Fix stack level too deep exception when logout path is setup to use
456
+ `:logout_path` named route. ([@george][])
457
+ * [#637][]: Fix scope all I18n ([@fbuenemann][])
458
+ * [#496][]: Remove global `Object#to_html` [@ebeigarts][]
459
+ * [#470][], [#154][]: Arbre properly supports blocks that return Numeric values
460
+ ([@bobbytables][], [@utkarshkukreti][], [@gregbell][])
461
+ * [#897][]: Fix count display for collections with GROUP BY [@comboy][]
462
+
463
+ ### Dependencies
464
+
465
+ * [#468][]: Removed vendored jQuery. Now depends on the jquery-rails gem. If you're
466
+ running Rails 3.0.x (no asset pipeline), make sure to run
467
+ `rails generate active_admin:assets` to generate the correct files. ([@gregbell][])
468
+ * [#527][]: Active Admin now requires Formtastic 2.0 or greater ([@ebeigarts][])
469
+ * [#711][]: Active admin now depends on Bourbon > 1.0.0. If you're using Rails
470
+ 3.0.x, make sure to run `rails generate active_admin:assets` to ensure you
471
+ have the correct css files ([@mattvague][])
472
+ * [#869][]: Upgraded Kaminari to >= 0.13.0 and added support for
473
+ `Kaminari.config.page_method_name`. Active Admin should now be happy if
474
+ `will_paginate` is installed with it. ([@j][]-manu)
475
+ * [#931][]: Support for Rails 3.2 added ([@mperham][])
476
+
477
+ ### Contributors
478
+
479
+ 274 commits by 42 authors
480
+
481
+ * Greg Bell
482
+ * Philippe Creux
483
+ * Matt Vague
484
+ * Felix Bünemann
485
+ * Matthew Brewer
486
+ * Edgars Beigarts
487
+ * Mike Perham
488
+ * Sam Vincent
489
+ * Kieran Klaassen
490
+ * Jonathan Barket
491
+ * Ankur Sethi
492
+ * Dinesh Majrekar
493
+ * comboy
494
+ * Juan E. Pemberthy
495
+ * Leandro Moreira
496
+ * Manu
497
+ * Marc Riera
498
+ * Radan Skorić
499
+ * Rhys Powell
500
+ * Sebastian Sierra
501
+ * Sherman Tsang
502
+ * Szymon Przybył
503
+ * Thomas Watson Steen
504
+ * Tim Habermaas
505
+ * Yara Mayer
506
+ * Zequez
507
+ * asancio
508
+ * emmek
509
+ * Alexey Noskov
510
+ * igmizo
511
+ * Alli
512
+ * Bendik Lynghaug
513
+ * Douwe Homans
514
+ * Eric Koslow
515
+ * Eunsub Kim
516
+ * Garami Gábor
517
+ * George Anderson
518
+ * Henrik Hodne
519
+ * Ivan Storck
520
+ * Jeff Dickey
521
+ * John Ferlito
522
+ * Josef Šimánek
523
+
524
+
525
+ ## 0.3.4 [☰](https://github.com/gregbell/active_admin/compare/v0.3.3...v0.3.4)
526
+
527
+ 2 commits by 2 authors
528
+
529
+ ### Bug Fixes
530
+
531
+ * Fix reloading issues across operating systems.
532
+ * Fix issue where SASS was recompiling on every request. This can seriously
533
+ decrease the load time of applications when running in development mode.
534
+ Thanks [@dhiemstra][] for tracking this one down!
535
+
536
+ ### Contributors
537
+
538
+ * Danny Hiemstra
539
+ * Greg Bell
540
+
541
+ ## 0.3.3 [☰](https://github.com/gregbell/active_admin/compare/v0.3.2...v0.3.3)
542
+
543
+ 1 commit by 1 author
544
+
545
+ ### Enhancements
546
+
547
+ * Only reload Active Admin when files in the load paths have changed. This is a
548
+ major speed increase in development mode. Also helps with memory consumption
549
+ because we aren't reloading Active admin all the time.
550
+
551
+ ### Contributors
552
+
553
+ * Greg Bell
554
+
555
+ ## 0.3.2 [☰](https://github.com/gregbell/active_admin/compare/v0.3.1...v0.3.2)
556
+
557
+ 45 commits by 15 contributors
558
+
559
+ ### Enhancements
560
+
561
+ * Site title can now be a link. Use config.site_title_link in
562
+ config/initializers/active_admin.rb
563
+ * i18n support for Japanese
564
+ * i18n support for Bulgarian
565
+ * i18n support for Swedish
566
+
567
+ ### Bug Fixes
568
+
569
+ * DeviseGenerator respects singular table names
570
+ * Active Admin no longer assumes sass-rails is installed
571
+ * Arbre::Context passes methods to the underlying html which fixes
572
+ issues on different types of servers (and on Heroku)
573
+ * [#45][]: Fix for multibyte characters ([@tricknotes][])
574
+ * [#505][]: Fix titlebar height when no breadcrumb ([@mattvague][])
575
+ * Fixed vertical align in dashboard
576
+ * Fixed i18n path's for multi-word model names
577
+
578
+ ### Dependencies
579
+
580
+ * Formtastic 2.0.0 breaks Active Admin. Locking to < 2.0.0
581
+
582
+ ### Contributors
583
+
584
+ * Amiel Martin
585
+ * Christian Hjalmarsson
586
+ * Edgars Beigarts
587
+ * Greg Bell
588
+ * Jan Dupal
589
+ * Joe Van
590
+ * Mark Roghelia
591
+ * Mathieu Martin
592
+ * Matt Vague
593
+ * Philippe Creux
594
+ * Ryunosuke SATO
595
+ * Sam Vincent
596
+ * Trace Wax
597
+ * Tsvetan Roustchev
598
+ * l4u
599
+
600
+ ## 0.3.1 [☰](https://github.com/gregbell/active_admin/compare/v0.3.0...v0.3.1)
601
+
602
+ * Only support InheritedResources up to 1.2.2
603
+
604
+ ## 0.3.0 [☰](https://github.com/gregbell/active_admin/compare/v0.2.2...v0.3.0)
605
+
606
+ 326 commits by 35 contributors
607
+
608
+ ### New Features
609
+
610
+ * I18n! Now supported in 10 languages!
611
+ * Customizeable CSV ([@pcreux][], [@gregbell][])
612
+ * Menus now support `if` and `priority` (Moritz Lawitschka)
613
+ * Rails 3.1 support
614
+ * Asset pipeline support ([@gregbell][])
615
+ * `skip_before_filter` now supported in DSL ([@shayfrendt][])
616
+ * Added a blank slate design ([@mattvague][])
617
+ * Collection and Member actions use the Active Admin layout ([@gregbell][])
618
+
619
+ ### Enhancements
620
+
621
+ * Better I18n config file loading ([@fabiokr][])
622
+ * `TableFor` now supports I18n headers ([@fabiokr][])
623
+ * `AttributesTable` now supports I18n attributes ([@fabiokr][])
624
+ * Member actions all use CSS class `member_link` ([@doug316][])
625
+ * Made `status_tag` an Arbre component ([@pcreux][])
626
+ * CSV downloads have sexy names such as "articles-2011-06-21.csv" ([@pcreux][])
627
+ * Created `ActiveAdmin::Setting` to easily create settings ([@gregbell][])
628
+ * New datepicker styles ([@mattvague][])
629
+ * Set `[@page_title][]` in member action to render a custom title ([@gregbell][])
630
+ * [#248][]: Settable logout link options in initializer ([@gregbell][])
631
+ * Added a DependencyChecker that warns if dependencies aren't met ([@pcreux][])
632
+
633
+ ### Bug Fixes
634
+
635
+ * [#52][]: Fix update action with STI models ([@gregbell][])
636
+ * [#122][]: Fix sortable columns on nested resources ([@knoopx][])
637
+ * Fix so that Dashboard Sections can appear in root namespace ([@knoopx][])
638
+ * [#131][]: Fixed `status_tag` with nil content ([@pcreux][])
639
+ * [#110][]: Fixed dropdown menu floats in Firefox ([@mattvague][])
640
+ * Use quoted table names ([@krug][])
641
+ * Fixed CSS float of `.paginated_collection_contents` bug in Firefox ([@mattvague][])
642
+ * Removed unwanted gradient in IE in attribute table headers ([@emzeq][])
643
+ * [#222][]: Added `Arbre::Context#length` for Rack servers ([@gregbell][])
644
+ * [#255][]: Fixed problem with dropdown menus in IE8 and IE9 ([@mattvague][])
645
+ * [#235][]: Default sort order should use primary_key ([@gregbell][])
646
+ * [#197][]: Fixed issues with #form params disappearing ([@rolfb][])
647
+ * [#186][]: Fixes for when `default_namespace = false` ([@gregbell][])
648
+ * [#135][]: Comments on STI classes redirect correctly ([@gregbell][])
649
+ * [#77][]: Fixed performance issue where ActiveRecord::Base.all was being called ([@pcreux][])
650
+ * [#332][]: Fixed Devise redirection when in false namespace ([@gregbell][])
651
+ * [#171][]: Fixed issue where class names would clash with HTML object names ([@gregbell][])
652
+ * [#381][]: Fixed issues with Devise < 1.2 ([@pcreux][])
653
+ * [#369][]: Added support for pluralized model names such as News ([@gregbell][])
654
+ * [#42][]: Default forms work with polymorphic associations ([@mattvague][])
655
+
656
+ ### Dependencies
657
+
658
+ * Switched from will_paginate to Kaminari for pagination ([@mwindwer][])
659
+ * Removed dependency on InheritedViews ([@gregbell][])
660
+ * Removed Jeweler. Using Bundler and a gemspec ([@gregbell][])
661
+
662
+ ### Contributors
663
+
664
+ * Armand du Plessis
665
+ * Aurelio Agundez
666
+ * Bruno Bonamin
667
+ * Chris Ostrowski
668
+ * Corey Woodcox
669
+ * DeLynn Berry
670
+ * Doug Puchalski
671
+ * Fabio Kreusch
672
+ * Greg Bell
673
+ * Ismael G Marin C
674
+ * Jackson Pires
675
+ * Jesper Hvirring Henriksen
676
+ * Josef Šimánek
677
+ * Jørgen Orehøj Erichsen
678
+ * Liborio Cannici
679
+ * Matt Vague
680
+ * Matthew Windwer
681
+ * Moritz Lawitschka
682
+ * Nathan Le Ray
683
+ * Nicolas Mosconi
684
+ * Philippe Creux
685
+ * Rolf Bjaanes
686
+ * Ryan D Johnson
687
+ * Ryan Krug
688
+ * Shay Frendt
689
+ * Steve Klabnik
690
+ * Tiago Rafael Godinho
691
+ * Toby Hede
692
+ * Vijay Dev
693
+ * Víctor Martínez
694
+ * doabit
695
+ * hoverlover
696
+ * nhurst
697
+ * whatthewhat
698
+ * Łukasz Anwajler
699
+
700
+
701
+ ## 0.2.2 [☰](https://github.com/gregbell/active_admin/compare/v0.2.1...v0.2.2)
702
+
703
+ 68 Commits by 13 Contributors
704
+
705
+ ### Features & Enhancements
706
+
707
+ * Arbre includes self closing tags ([#100][])
708
+ * Controller class & action added to body as CSS classes ([#99][])
709
+ * HAML is not required by default ([#92][])
710
+ * Devise login now respects Devise.authentication_keys ([#69][])
711
+ * Active Admin no longer uses <tt>ActiveRecord::Base#search</tt> ([#28][])
712
+ * Resource's can now override the label in the menu ([#48][])
713
+ * Subdirectories are now loaded in the Active Admin load path
714
+
715
+ ### Bug Fixes
716
+
717
+ * Sort order now includes table name ([#38][])
718
+ * Fixed table_for 'odd', 'even' row classes ([#96][])
719
+ * Fixed Devise installation if AdminUser already exists ([#95][])
720
+ * Fixed issues when ActiveAdmin.default_namespaces is false ([#32][])
721
+ * Added styles for missing HTML 5 inputs ([#31][])
722
+ * Fixed issue if adding empty Active Admin Comment ([#21][])
723
+ * Fixed layout issues in FF 4 ([#22][])
724
+ * Use Sass::Plugin.options[:css_location] instead of Rails.root ([#55][])
725
+
726
+ ### Test Suite
727
+
728
+ * Update RSpec to latest & fix specs (Thanks Ben Marini & Jeremt Ruppel!) ([#100][])
729
+ * Added tests for STI models ([#52][])
730
+
731
+ ### Contributors
732
+
733
+ * Ben Marini
734
+ * Bookis Smuin
735
+ * Caley Woods
736
+ * Doug Puchalski
737
+ * Federico Romero
738
+ * Greg Bell
739
+ * Ian MacLeod
740
+ * Jeremy Ruppel
741
+ * Jordan Sitkin
742
+ * Juha Suuraho
743
+ * Mathieu Martin
744
+ * Paul Annesley
745
+ * Philippe Creux
746
+
747
+ ## 0.2.1 [☰](https://github.com/gregbell/active_admin/compare/v0.2.0...v0.2.1)
748
+
749
+ ### Bug Fixes
750
+ * Fixed issue with dashboard rendering a sidebar
751
+
752
+ ## 0.2.0 [☰](https://github.com/gregbell/active_admin/compare/v0.1.1...v0.2.0)
753
+
754
+ 0.2.0 is essentially an entire re-write of Active Admin. Here are some
755
+ of the highlights. 250 commits. Enough said.
756
+
757
+ ### Features & Enhancements
758
+
759
+ * Full visual redesign
760
+ * Integrated Devise for authentication
761
+ * Brand new view and component layer called Arbre (Project coming soon)
762
+ * Added ActiveAdmin::Comments
763
+
764
+ ### Bug Fixes
765
+
766
+ * Too many to list! Been in production for close to a year
767
+
768
+ ## 0.1.1 [☰](https://github.com/gregbell/active_admin/compare/v0.1.0...v0.1.1)
769
+
770
+ ### Bug Fixes
771
+
772
+ * Fixed issues running on Ruby 1.9.2
773
+
774
+ ## 0.1.0
775
+
776
+ * Initial release
777
+
778
+ <!--- The following link definition list is generated by PimpMyChangelog --->
779
+ [#21]: https://github.com/gregbell/active_admin/issues/21
780
+ [#22]: https://github.com/gregbell/active_admin/issues/22
781
+ [#28]: https://github.com/gregbell/active_admin/issues/28
782
+ [#31]: https://github.com/gregbell/active_admin/issues/31
783
+ [#32]: https://github.com/gregbell/active_admin/issues/32
784
+ [#34]: https://github.com/gregbell/active_admin/issues/34
785
+ [#38]: https://github.com/gregbell/active_admin/issues/38
786
+ [#42]: https://github.com/gregbell/active_admin/issues/42
787
+ [#45]: https://github.com/gregbell/active_admin/issues/45
788
+ [#48]: https://github.com/gregbell/active_admin/issues/48
789
+ [#52]: https://github.com/gregbell/active_admin/issues/52
790
+ [#55]: https://github.com/gregbell/active_admin/issues/55
791
+ [#69]: https://github.com/gregbell/active_admin/issues/69
792
+ [#70]: https://github.com/gregbell/active_admin/issues/70
793
+ [#77]: https://github.com/gregbell/active_admin/issues/77
794
+ [#92]: https://github.com/gregbell/active_admin/issues/92
795
+ [#95]: https://github.com/gregbell/active_admin/issues/95
796
+ [#96]: https://github.com/gregbell/active_admin/issues/96
797
+ [#99]: https://github.com/gregbell/active_admin/issues/99
798
+ [#100]: https://github.com/gregbell/active_admin/issues/100
799
+ [#101]: https://github.com/gregbell/active_admin/issues/101
800
+ [#110]: https://github.com/gregbell/active_admin/issues/110
801
+ [#122]: https://github.com/gregbell/active_admin/issues/122
802
+ [#131]: https://github.com/gregbell/active_admin/issues/131
803
+ [#135]: https://github.com/gregbell/active_admin/issues/135
804
+ [#154]: https://github.com/gregbell/active_admin/issues/154
805
+ [#171]: https://github.com/gregbell/active_admin/issues/171
806
+ [#186]: https://github.com/gregbell/active_admin/issues/186
807
+ [#197]: https://github.com/gregbell/active_admin/issues/197
808
+ [#222]: https://github.com/gregbell/active_admin/issues/222
809
+ [#235]: https://github.com/gregbell/active_admin/issues/235
810
+ [#248]: https://github.com/gregbell/active_admin/issues/248
811
+ [#255]: https://github.com/gregbell/active_admin/issues/255
812
+ [#332]: https://github.com/gregbell/active_admin/issues/332
813
+ [#369]: https://github.com/gregbell/active_admin/issues/369
814
+ [#381]: https://github.com/gregbell/active_admin/issues/381
815
+ [#409]: https://github.com/gregbell/active_admin/issues/409
816
+ [#428]: https://github.com/gregbell/active_admin/issues/428
817
+ [#468]: https://github.com/gregbell/active_admin/issues/468
818
+ [#470]: https://github.com/gregbell/active_admin/issues/470
819
+ [#496]: https://github.com/gregbell/active_admin/issues/496
820
+ [#497]: https://github.com/gregbell/active_admin/issues/497
821
+ [#505]: https://github.com/gregbell/active_admin/issues/505
822
+ [#527]: https://github.com/gregbell/active_admin/issues/527
823
+ [#551]: https://github.com/gregbell/active_admin/issues/551
824
+ [#555]: https://github.com/gregbell/active_admin/issues/555
825
+ [#590]: https://github.com/gregbell/active_admin/issues/590
826
+ [#601]: https://github.com/gregbell/active_admin/issues/601
827
+ [#605]: https://github.com/gregbell/active_admin/issues/605
828
+ [#623]: https://github.com/gregbell/active_admin/issues/623
829
+ [#624]: https://github.com/gregbell/active_admin/issues/624
830
+ [#637]: https://github.com/gregbell/active_admin/issues/637
831
+ [#638]: https://github.com/gregbell/active_admin/issues/638
832
+ [#644]: https://github.com/gregbell/active_admin/issues/644
833
+ [#689]: https://github.com/gregbell/active_admin/issues/689
834
+ [#711]: https://github.com/gregbell/active_admin/issues/711
835
+ [#723]: https://github.com/gregbell/active_admin/issues/723
836
+ [#741]: https://github.com/gregbell/active_admin/issues/741
837
+ [#751]: https://github.com/gregbell/active_admin/issues/751
838
+ [#758]: https://github.com/gregbell/active_admin/issues/758
839
+ [#780]: https://github.com/gregbell/active_admin/issues/780
840
+ [#822]: https://github.com/gregbell/active_admin/issues/822
841
+ [#865]: https://github.com/gregbell/active_admin/issues/865
842
+ [#869]: https://github.com/gregbell/active_admin/issues/869
843
+ [#897]: https://github.com/gregbell/active_admin/issues/897
844
+ [#905]: https://github.com/gregbell/active_admin/issues/905
845
+ [#931]: https://github.com/gregbell/active_admin/issues/931
846
+ [#960]: https://github.com/gregbell/active_admin/issues/960
847
+ [#971]: https://github.com/gregbell/active_admin/issues/971
848
+ [#978]: https://github.com/gregbell/active_admin/issues/978
849
+ [#983]: https://github.com/gregbell/active_admin/issues/983
850
+ [#993]: https://github.com/gregbell/active_admin/issues/993
851
+ [#994]: https://github.com/gregbell/active_admin/issues/994
852
+ [#1013]: https://github.com/gregbell/active_admin/issues/1013
853
+ [#1016]: https://github.com/gregbell/active_admin/issues/1016
854
+ [#1023]: https://github.com/gregbell/active_admin/issues/1023
855
+ [#1032]: https://github.com/gregbell/active_admin/issues/1032
856
+ [#1033]: https://github.com/gregbell/active_admin/issues/1033
857
+ [#1041]: https://github.com/gregbell/active_admin/issues/1041
858
+ [#1063]: https://github.com/gregbell/active_admin/issues/1063
859
+ [#1117]: https://github.com/gregbell/active_admin/issues/1117
860
+ [#1439]: https://github.com/gregbell/active_admin/issues/1439
861
+ [#1609]: https://github.com/gregbell/active_admin/issues/1609
862
+ [#1626]: https://github.com/gregbell/active_admin/issues/1626
863
+ [#1647]: https://github.com/gregbell/active_admin/issues/1647
864
+ [#1664]: https://github.com/gregbell/active_admin/issues/1664
865
+ [#1668]: https://github.com/gregbell/active_admin/issues/1668
866
+ [#1681]: https://github.com/gregbell/active_admin/issues/1681
867
+ [#1683]: https://github.com/gregbell/active_admin/issues/1683
868
+ [#1699]: https://github.com/gregbell/active_admin/issues/1699
869
+ [#1745]: https://github.com/gregbell/active_admin/issues/1745
870
+ [#1752]: https://github.com/gregbell/active_admin/issues/1752
871
+ [#1775]: https://github.com/gregbell/active_admin/issues/1775
872
+ [#1782]: https://github.com/gregbell/active_admin/issues/1782
873
+ [#1783]: https://github.com/gregbell/active_admin/issues/1783
874
+ [#1788]: https://github.com/gregbell/active_admin/issues/1788
875
+ [#1801]: https://github.com/gregbell/active_admin/issues/1801
876
+ [#1804]: https://github.com/gregbell/active_admin/issues/1804
877
+ [#1805]: https://github.com/gregbell/active_admin/issues/1805
878
+ [#1817]: https://github.com/gregbell/active_admin/issues/1817
879
+ [#1834]: https://github.com/gregbell/active_admin/issues/1834
880
+ [#1861]: https://github.com/gregbell/active_admin/issues/1861
881
+ [#1867]: https://github.com/gregbell/active_admin/issues/1867
882
+ [#1871]: https://github.com/gregbell/active_admin/issues/1871
883
+ [#1873]: https://github.com/gregbell/active_admin/issues/1873
884
+ [#1893]: https://github.com/gregbell/active_admin/issues/1893
885
+ [#1896]: https://github.com/gregbell/active_admin/issues/1896
886
+ [#1908]: https://github.com/gregbell/active_admin/issues/1908
887
+ [#1913]: https://github.com/gregbell/active_admin/issues/1913
888
+ [#1916]: https://github.com/gregbell/active_admin/issues/1916
889
+ [#1926]: https://github.com/gregbell/active_admin/issues/1926
890
+ [#1928]: https://github.com/gregbell/active_admin/issues/1928
891
+ [#1929]: https://github.com/gregbell/active_admin/issues/1929
892
+ [#1933]: https://github.com/gregbell/active_admin/issues/1933
893
+ [#1937]: https://github.com/gregbell/active_admin/issues/1937
894
+ [#1940]: https://github.com/gregbell/active_admin/issues/1940
895
+ [#1947]: https://github.com/gregbell/active_admin/issues/1947
896
+ [#1952]: https://github.com/gregbell/active_admin/issues/1952
897
+ [#1960]: https://github.com/gregbell/active_admin/issues/1960
898
+ [#1961]: https://github.com/gregbell/active_admin/issues/1961
899
+ [#1962]: https://github.com/gregbell/active_admin/issues/1962
900
+ [#1966]: https://github.com/gregbell/active_admin/issues/1966
901
+ [#1967]: https://github.com/gregbell/active_admin/issues/1967
902
+ [#1973]: https://github.com/gregbell/active_admin/issues/1973
903
+ [#1979]: https://github.com/gregbell/active_admin/issues/1979
904
+ [#2000]: https://github.com/gregbell/active_admin/issues/2000
905
+ [#2001]: https://github.com/gregbell/active_admin/issues/2001
906
+ [#2015]: https://github.com/gregbell/active_admin/issues/2015
907
+ [#2018]: https://github.com/gregbell/active_admin/issues/2018
908
+ [#2040]: https://github.com/gregbell/active_admin/issues/2040
909
+ [#2043]: https://github.com/gregbell/active_admin/issues/2043
910
+ [#2044]: https://github.com/gregbell/active_admin/issues/2044
911
+ [#2046]: https://github.com/gregbell/active_admin/issues/2046
912
+ [#2054]: https://github.com/gregbell/active_admin/issues/2054
913
+ [#2058]: https://github.com/gregbell/active_admin/issues/2058
914
+ [#2060]: https://github.com/gregbell/active_admin/issues/2060
915
+ [#2062]: https://github.com/gregbell/active_admin/issues/2062
916
+ [#2068]: https://github.com/gregbell/active_admin/issues/2068
917
+ [#2071]: https://github.com/gregbell/active_admin/issues/2071
918
+ [#2072]: https://github.com/gregbell/active_admin/issues/2072
919
+ [#2075]: https://github.com/gregbell/active_admin/issues/2075
920
+ [#2083]: https://github.com/gregbell/active_admin/issues/2083
921
+ [#2084]: https://github.com/gregbell/active_admin/issues/2084
922
+ [#2085]: https://github.com/gregbell/active_admin/issues/2085
923
+ [#2087]: https://github.com/gregbell/active_admin/issues/2087
924
+ [#2088]: https://github.com/gregbell/active_admin/issues/2088
925
+ [#2089]: https://github.com/gregbell/active_admin/issues/2089
926
+ [#2090]: https://github.com/gregbell/active_admin/issues/2090
927
+ [#2095]: https://github.com/gregbell/active_admin/issues/2095
928
+ [#2096]: https://github.com/gregbell/active_admin/issues/2096
929
+ [#2099]: https://github.com/gregbell/active_admin/issues/2099
930
+ [#2107]: https://github.com/gregbell/active_admin/issues/2107
931
+ [#2113]: https://github.com/gregbell/active_admin/issues/2113
932
+ [#2125]: https://github.com/gregbell/active_admin/issues/2125
933
+ [#2134]: https://github.com/gregbell/active_admin/issues/2134
934
+ [#2139]: https://github.com/gregbell/active_admin/issues/2139
935
+ [#2147]: https://github.com/gregbell/active_admin/issues/2147
936
+ [#2150]: https://github.com/gregbell/active_admin/issues/2150
937
+ [#2154]: https://github.com/gregbell/active_admin/issues/2154
938
+ [#2162]: https://github.com/gregbell/active_admin/issues/2162
939
+ [#2165]: https://github.com/gregbell/active_admin/issues/2165
940
+ [#2175]: https://github.com/gregbell/active_admin/issues/2175
941
+ [#2186]: https://github.com/gregbell/active_admin/issues/2186
942
+ [#2215]: https://github.com/gregbell/active_admin/issues/2215
943
+ [#2221]: https://github.com/gregbell/active_admin/issues/2221
944
+ [#2228]: https://github.com/gregbell/active_admin/issues/2228
945
+ [#2231]: https://github.com/gregbell/active_admin/issues/2231
946
+ [#2255]: https://github.com/gregbell/active_admin/issues/2255
947
+ [#2258]: https://github.com/gregbell/active_admin/issues/2258
948
+ [#2313]: https://github.com/gregbell/active_admin/issues/2313
949
+ [#2315]: https://github.com/gregbell/active_admin/issues/2315
950
+ [#2319]: https://github.com/gregbell/active_admin/issues/2319
951
+ [#2326]: https://github.com/gregbell/active_admin/issues/2326
952
+ [#2333]: https://github.com/gregbell/active_admin/issues/2333
953
+ [#2348]: https://github.com/gregbell/active_admin/issues/2348
954
+ [#2395]: https://github.com/gregbell/active_admin/issues/2395
955
+ [#2403]: https://github.com/gregbell/active_admin/issues/2403
956
+ [#2416]: https://github.com/gregbell/active_admin/issues/2416
957
+ [#2419]: https://github.com/gregbell/active_admin/issues/2419
958
+ [#2420]: https://github.com/gregbell/active_admin/issues/2420
959
+ [#2454]: https://github.com/gregbell/active_admin/issues/2454
960
+ [#2523]: https://github.com/gregbell/active_admin/issues/2523
961
+ [#2532]: https://github.com/gregbell/active_admin/issues/2532
962
+ [#2541]: https://github.com/gregbell/active_admin/issues/2541
963
+ [#2544]: https://github.com/gregbell/active_admin/issues/2544
964
+ [#2545]: https://github.com/gregbell/active_admin/issues/2545
965
+ [#2588]: https://github.com/gregbell/active_admin/issues/2588
966
+ [#2601]: https://github.com/gregbell/active_admin/issues/2601
967
+ [#2744]: https://github.com/gregbell/active_admin/issues/2744
968
+ [#2847]: https://github.com/gregbell/active_admin/issues/2847
969
+ [@Bishop]: https://github.com/Bishop
970
+ [@BoboFraggins]: https://github.com/BoboFraggins
971
+ [@DMajrekar]: https://github.com/DMajrekar
972
+ [@EtienneDepaulis]: https://github.com/EtienneDepaulis
973
+ [@MoritzMoritz]: https://github.com/MoritzMoritz
974
+ [@PChambino]: https://github.com/PChambino
975
+ [@TBAA]: https://github.com/TBAA
976
+ [@TiagoCardoso1983]: https://github.com/TiagoCardoso1983
977
+ [@TimPetricola]: https://github.com/TimPetricola
978
+ [@ZequeZ]: https://github.com/ZequeZ
979
+ [@adrienkohlbecker]: https://github.com/adrienkohlbecker
980
+ [@ai]: https://github.com/ai
981
+ [@amiel]: https://github.com/amiel
982
+ [@ball-hayden]: https://github.com/ball-hayden
983
+ [@bobbytables]: https://github.com/bobbytables
984
+ [@caifara]: https://github.com/caifara
985
+ [@cknoxrun]: https://github.com/cknoxrun
986
+ [@comboy]: https://github.com/comboy
987
+ [@coreyward]: https://github.com/coreyward
988
+ [@dapi]: https://github.com/dapi
989
+ [@dbussin]: https://github.com/dbussin
990
+ [@developer88]: https://github.com/developer88
991
+ [@dhiemstra]: https://github.com/dhiemstra
992
+ [@dmfrancisco]: https://github.com/dmfrancisco
993
+ [@doug316]: https://github.com/doug316
994
+ [@ebeigarts]: https://github.com/ebeigarts
995
+ [@ejholmes]: https://github.com/ejholmes
996
+ [@emzeq]: https://github.com/emzeq
997
+ [@ericcumbee]: https://github.com/ericcumbee
998
+ [@ericpromislow]: https://github.com/ericpromislow
999
+ [@fabiokr]: https://github.com/fabiokr
1000
+ [@fabiormoura]: https://github.com/fabiormoura
1001
+ [@fbuenemann]: https://github.com/fbuenemann
1002
+ [@george]: https://github.com/george
1003
+ [@ggilder]: https://github.com/ggilder
1004
+ [@givanse]: https://github.com/givanse
1005
+ [@gregbell]: https://github.com/gregbell
1006
+ [@hakanensari]: https://github.com/hakanensari
1007
+ [@henrrrik]: https://github.com/henrrrik
1008
+ [@ilyakatz]: https://github.com/ilyakatz
1009
+ [@j]: https://github.com/j
1010
+ [@jamesalmond]: https://github.com/jamesalmond
1011
+ [@jancel]: https://github.com/jancel
1012
+ [@jbarket]: https://github.com/jbarket
1013
+ [@jbhannah]: https://github.com/jbhannah
1014
+ [@jherdman]: https://github.com/jherdman
1015
+ [@jjarmoc]: https://github.com/jjarmoc
1016
+ [@johnnyshields]: https://github.com/johnnyshields
1017
+ [@jokklan]: https://github.com/jokklan
1018
+ [@joseluistorres]: https://github.com/joseluistorres
1019
+ [@joshuacollins85]: https://github.com/joshuacollins85
1020
+ [@jschwindt]: https://github.com/jschwindt
1021
+ [@kerberoS]: https://github.com/kerberoS
1022
+ [@knoopx]: https://github.com/knoopx
1023
+ [@krug]: https://github.com/krug
1024
+ [@laffinkippah]: https://github.com/laffinkippah
1025
+ [@latortuga]: https://github.com/latortuga
1026
+ [@lupinglade]: https://github.com/lupinglade
1027
+ [@maax]: https://github.com/maax
1028
+ [@macfanatic]: https://github.com/macfanatic
1029
+ [@mattvague]: https://github.com/mattvague
1030
+ [@mindhalt]: https://github.com/mindhalt
1031
+ [@mitio]: https://github.com/mitio
1032
+ [@mperham]: https://github.com/mperham
1033
+ [@mwindwer]: https://github.com/mwindwer
1034
+ [@nappa]: https://github.com/nappa
1035
+ [@neoriddle]: https://github.com/neoriddle
1036
+ [@orendon]: https://github.com/orendon
1037
+ [@page_title]: https://github.com/page_title
1038
+ [@pcreux]: https://github.com/pcreux
1039
+ [@per_page]: https://github.com/per_page
1040
+ [@potatosalad]: https://github.com/potatosalad
1041
+ [@psy-q]: https://github.com/psy-q
1042
+ [@ptn]: https://github.com/ptn
1043
+ [@randym]: https://github.com/randym
1044
+ [@rdsoze]: https://github.com/rdsoze
1045
+ [@rheaton]: https://github.com/rheaton
1046
+ [@rmw]: https://github.com/rmw
1047
+ [@robdiciuccio]: https://github.com/robdiciuccio
1048
+ [@rolfb]: https://github.com/rolfb
1049
+ [@ronen]: https://github.com/ronen
1050
+ [@ryansch]: https://github.com/ryansch
1051
+ [@samvincent]: https://github.com/samvincent
1052
+ [@seanlinsley]: https://github.com/seanlinsley
1053
+ [@sftsang]: https://github.com/sftsang
1054
+ [@shayfrendt]: https://github.com/shayfrendt
1055
+ [@shekibobo]: https://github.com/shekibobo
1056
+ [@shell]: https://github.com/shell
1057
+ [@simonoff]: https://github.com/simonoff
1058
+ [@snapapps]: https://github.com/snapapps
1059
+ [@stereoscott]: https://github.com/stereoscott
1060
+ [@sunny]: https://github.com/sunny
1061
+ [@tank-bohr]: https://github.com/tank-bohr
1062
+ [@teoulas]: https://github.com/teoulas
1063
+ [@tinynumbers]: https://github.com/tinynumbers
1064
+ [@tracedwax]: https://github.com/tracedwax
1065
+ [@tricknotes]: https://github.com/tricknotes
1066
+ [@utkarshkukreti]: https://github.com/utkarshkukreti
1067
+ [@vairix]: https://github.com/vairix
1068
+ [@vairix-ssierra]: https://github.com/vairix-ssierra
1069
+ [@valdemarua]: https://github.com/valdemarua
1070
+ [@watson]: https://github.com/watson
1071
+ [@whatcould]: https://github.com/whatcould
1072
+ [@yawn]: https://github.com/yawn
1073
+ [@yorch]: https://github.com/yorch
1074
+ [@zorab47]: https://github.com/zorab47