1.0.0 ☰ (unreleased)
- Migration from Metasearch to Ransack #1979 by @seanlinsley
- Rails 4 support #2326 by many people ❤️
- Column block on table index is now sortable by default #3075 by @dmitry
- Allow Arbre to be used inside ActiveAdmin forms #3486 by @varyonic
- Make AA ORM-agnostic #2545 by @johnnyshields
- Add multi-record support to
attributes_table_for
#2544 by @zorab47 - Table CSS classes are now prefixed to prevent clashes #2532 by @TimPetricola
- Allow Inherited Resources shorthand for redirection #2001 by @seanlinsley
controller do
# Redirects to index page instead of rendering updated resource
def update
update!{ collection_path }
end
end
- Accept block for download links #2040 by @potatosalad
index download_links: ->{ can?(:view_all_download_links) || [:pdf] }
- Prevents potential DOS attack via Ruby symbols #1926 by @seanlinsley
- Fixes filters for
has_many :through
relationships #2541 by @shekibobo - "New" action item now only shows up on the index page bf659bc by @seanlinsley
- Fixes comment creation bug with aliased resources 9a082486 by @seanlinsley
- Fixes the deletion of
:if
and:unless
from filters #2523 by @PChambino
0.6.3 ☰
- Reinstitutes the 10k limit for CSV exports #2847 by @seanlinsley
- Blacklists Devise versions vulnerable to CVE-2013-0233 #2744 by @jjarmoc
- Autoloads the Comments model so it respects user's Kaminari config 77c97d27 by @seanlinsley
- Hides the blank slate link if user doesn't have permissions #2588 by @seanlinsley
- Fixes incorrect breadcrumb on edit pages #2601 by @shekibobo
- Resurrects
ResourceMismatchError
b1c28cdb by @seanlinsley - Keeps filter conditions from being deleted fa0edec4 by @seanlinsley
- Translations by @teoulas, @tricknotes, @givanse, and @pcreux ❤️
0.6.2 ☰
- Patches MetaSearch bug for attributes ending in "ne" d5db9ff4 by @seanlinsley
0.6.1 ☰
- OmniAuth provider links now automatically appear on the login page #2088 by @henrrrik
- Menu items can now properly overflow #2046 by @maax; later updated in #2125 by @ball-hayden
- Favicon support #2348 by @stereoscott
- HABTM filters #1928 by @seanlinsley
# (assuming Foo HABTM Bars)
ActiveAdmin.register Foo do
filter :bars
end
- Advanced string filters #2096 by @joseluistorres; later updated in #2228 by @seanlinsley
- Select filters now respect custom MetaSerch search methods #2420 by @seanlinsley
- The navbar now links to the current user's profile #2395 by @seanlinsley
- The CSS encapsulation from 0.6.0 has been rolled back #1952 by @tinynumbers
- Fixes problem where extra
/
route was being generated #2062 by @jbhannah IndexAsBlog
now renders title/body procs in the view context #2087 by @macfanatic- Fixes
route_instance_path
forbelongs_to
resources #2099 by @pcreux - Fixes breadcrumb links for
belongs_to
resources #2090 by @seanlinsley - Fixes ID regression, again using
to_param
#2175 by @cknoxrun - Fixes
check_box_checked?
bug #2186 by @seanlinsley; later updated in #2221 by @dmfrancisco - Ensures that assets can only be registered once #2139 by @seanlinsley
- Makes breadcrumbs respect the decorator #2315 by @amiel
- CSV download links now respect pagination #2419 by @seanlinsley
- Panels no longer escape html-safe entities #2403 by @zorab47
- Adds option to "undecorate" resource when building forms #2085 by @amiel
- Adds
:pagination_total
option to index to hide count for large databases #2333 by @joseluistorres - Adds better_errors gem for a better AA development experience #2095 by @seanlinsley
- Scopes now support blocks for the
:default
option #2084 by @macfanatic :if
and:unless
options added toscope_to
#2089 by @macfanatic- Renames Comment to AdminComment #2060 by @jbhannah; later replaced by #2113
- Improves Comments UI and adds config settings #2113 by @seanlinsley
config.show_comments_in_menu = false # Defaults to true
config.comments_registration_name = 'AdminComment' # Defaults to 'Comment'
has_many
forms- Adds 'has_many_delete' CSS class to
li
elements #2054 by @shekibobo - Adds
:heading
option to customize the heading displayed #2068 by @coreyward - Adds
:allow_destroy
option to add in a checkbox to the form to delete records #2071 by @shekibobo - Adds
:new_record
option to hide "new" button #2134 by @developer88
- Adds 'has_many_delete' CSS class to
- translations
- German (Switzerland), English (UK) locales added #1916 by @psy-q
- Danish locale updated #2154 by @jokklan
- Bulgarian locale updated #2150 by @mitio
- Ukrainian locale added #2258 by @valdemarua
- Mexican Spanish locale added #2319 by @neoriddle
- Japanese locale updated #2416 by @nappa
- move filter translation into
SearchMethodSelect
#2231 by @seanlinsley - fix plural translations for default
batch_action
#2255 by @mindhalt
- In development, load each individual AA JS file #2215 by @tank-bohr
- Removes Railtie, only using Rails Engine #2162 by @jherdman
- Excludes associations from
display_name
helper #2147 by @seanlinsley - Prevents new AA::Application instances from using the same
namespace
hash #2313 by @seanlinsley - Moves hard-coded SASS colors into variables #2454 by @ilyakatz
- Cucumber step definitions refactor #2015 by @seanlinsley
- Misc cleanup in #2075 and #2107 by @seanlinsley
- Removes messy spacing from
AdminUser
generator file #2058 by @lupinglade - Fixes documentation formatting #2083 by @amiel
- Deprecated settings & code removed #2165 by @seanlinsley
0.6.0 ☰
- Fix conflict with Redcloth #1805 by @adrienkohlbecker
- Add missing batch actions translations. #1788 by @EtienneDepaulis
- JS fix for batch actions checkbox toggling #1947 by @ai
- Fixed routing bug for root namespace #2043 by @seanlinsley and @gregbell
- Rubinis compatability change over block variables #1871 by @dbussin
- Compatability with Draper 1.0 release #1896 by @hakanensari
- Fixed references to "dashboards.rb" in locales, since file doesn't exist #1873 by @ryansch
- Removing deprecated bourbon box-shadow mixin #1913 by @stereoscott
- More Japanese localizations #1929 by @johnnyshields
- Devise lockable module now supported by default #1933 by @Bishop
- Index table now uses a unique DOM id (
#index_table_posts
instead of#posts
) #1966 by @TiagoCardoso1983 - Coffeescript 1.5 compatability as constructors no longer return a value #1940 by @ronen
- Allow options to be passed to the Abre element for rows in
attributes_table
#1439 by @seanlinsley - Gender neutral Spanish translations #1973 by @laffinkippah
- Adds the ability to use
starts_with
andends_with
in string filters #1962 by @rmw - Adds support for translating resources when registered with
:as
#2044 by @seanlinsley - Scopes are no longer hidden when empty filter results #1804 by @seanlinsley
- Dynamic scope names with procs #2018 by @seanlinsley
- Filters now support the
:if
optional argument #1801 by @seanlinsley - Member & collection actions support multiple HTTP methods for the same action #2000 by @rdsoze
- Authorization DSL including a default CanCan adapter #1817 by @pcreux and @gregbell
- New "actions" DSL for customizing actions on index listing #1834 by @ejholmes
- Index title can now be set via a proc #1861 by @jamesalmond
- Can now disable
download_links
per resource, index collection or globally throughout AA #1908 by @TBAA - Filters: add ability to search for blank/null fields with boolean search #1893 by @whatcould
- New
navigation_menu
DSL for menu system #1967 by @macfanatic and @gregbell - Support segmented control switch between different index styles #1745 by @joshuacollins85
- Updated documentation for formtastic deprecated f.buttons #1867 by @ericcumbee
- Copyright updated for 2013 #1937 by @snapapps
327 Commits by 42 authors
- Adrien Kohlbecker
- Alexandr Prudnikov
- Andrew Pietsch
- Andrey A.I. Sitnik
- Andrey Rozhkovsky
- Anthony Zacharakis
- Bartlomiej Niemtur
- David DIDIER
- David Reese
- Sean Linsley
- Dirkjan Bussink
- Dominik Masur
- Eric Cumbee
- Eric J. Holmes
- Etienne Depaulis
- Gosha Arinich
- Greg Bell
- Ian Carroll
- James Almond
- Johnny Shields
- Joshua Collins
- Kieran Klaassen
- Luís Ramalho
- Matt Brewer
- Nathaniel Bibler
- Olek Janiszewski
- Philippe Creux
- Raison Dsouza
- Rebecca Miller-Webster
- Roman Sklenar
- Roman Sklenář
- Ryan Schlesinger
- Scott Meves
- Sergey Pchelincev
- Simon Menke
- Tiago Cardoso
- Travis Pew
- WU Jun
- laffinkippah
- ronen barzel
- тιηуηυмвєяѕ
0.5.1 ☰
ActiveAdmin.register Post do
csv options: {force_quotes: true} do
column :title
end
end
- Breadcrumb links can be customized by @simonoff
ActiveAdmin.register Post do
breadcrumb do
[
link_to("My account", account_path(current_user))
]
end
end
ActiveAdmin.register Post do
menu parent: proc { I18n.t("admin") }
end
ActiveAdmin.register Post do
decorate_with PostDecorator
end
- Allow blacklisting of filters with 'remove_filter' #1609 by @tracedwax
ActiveAdmin.register Post do
remove_filter :author
end
- ActiveAdmin i18n translations can be overwritten in your rails application locales. #1775 by @caifara
- Add "Powered by" to translations. #1783 by @sunny
- Forms accept two level deeps has_many. #1699 by @kerberoS and tests in #1782 by @ptn
- Extract download_format_links into helper #1752 by @randym
- Add support for semantic errors #905 by @robdiciuccio
- Add support for boolean inputs #1668 by @orendon
- Support subURI on logout #1681 by @yawn
156 commits (49 Pull Requests) by 51 contributors.
0.5.0 ☰
- Created new view components (Footer, TitleBar, Header, UtilityNav) to more easily customize the views in Active Admin and per namespace. (@gregbell)
- All CSS is now encapsulated under the
body.active_admin
class. This may change the precedence of styles that you created to override or use in other areas of your application. - Dashboards are now implemented as pages. For more details of how to configure a page, checkout http://activeadmin.info/docs/9-custom-pages.html
- Root route can be set to any controller#action using
#root_to
. - Batch Actions allows you to select entries on index page and perform an action against them.
- CSV separators are configurable.
- Lot of bug fixes.
- Removed all references to ActiveAdmin::Renderer. If you were using these
please update code to use an Arbre component. Removed
ActiveAdmin:Views::HeaderRender
and replaced withActiveAdmin::Views::Header
component. - ActiveAdmin::Menu and ActiveAdmin::MenuItem API has changed. If you were creating custom menu items, the builder syntax has changed to. Menu#add now accepts a MenuItem, instead of building the menu item for you.
ActiveAdmin::Dashboards.build
is deprecated in favour of generating a page and using the newconfig.root_to
option.- Arbre is now a gem on its own.
561 commits (142 Pull Requests) by 88 contributors.
0.4.4 ☰
- Use
formtastic
~> 2.1.1 until AA 0.5.0 is released - Use
inherited_resources
>= 1.3.1 (ensure flash messages work)
0.4.3 ☰
0.4.2 ☰
- #822: Automatically include js and css to precompile list (@jschwindt)
- #1033: Site title accepts a proc that is rendered in the context of the view (@pcreux)
- #70: Form blocks are now rendered within the context of the view (@gregbell)
- #70: Filter's collections are now eval'd in the context of the view (@gregbell)
- #1032: The html body now includes a class for the namespace name (@mattvague)
- #1013: Hide the count from one specific scope using
:show_count => false
(@latortuga) - #1023: Add localization support for comments (@MoritzMoritz)
- #34: Comments now work with models using string ids (@jancel)
- #1041: When
table_for
collection is empty it no longer outputs a blank array in Ruby 1.9 (@jancel, #1016) - #983: Fixed compatibility with pry-rails (@pcreux)
- #409: Install generator handles custom class names for user (@gregbell)
42 Commits by 10 authors
- Allen Huang
- Daniel Lepage
- Thibaut Barrère
- Drew Ulmer
- Juan Schwindt
- Moritz Behr
- Jeff Ancel
- Matt Vague
- Greg Bell
- Philippe Creux
0.4.1 ☰
- #865: Pages support the
#page_action
to add custom controller actions to a page (@BoboFraggins) - Columns component now supports column spans, max and min widths (@gregbell)
- #497: Custom pagination settings per resource (@pcreux)
- #993: Login form now focuses on email (@mattvague)
- #865: Add
:if
support to sidebar sections (@BoboFraggins) - #865: Added
:scope_count => false
to the index to hide scope counts in generated scopes (@BoboFraggins)
- #101: Global nav now works with RackBaseURI (@gregbell)
- #960: Global nav works when scoped in rails routes (@gregbell)
- #994: Fix index page check collection.limit(1).exists? causes exception when ordering by virtual colum (@latortuga, @gregbell)
- #971: Fix SQL when sorting tables with a column named "group" (@ggilder)
- #978: Support for Inherited Resources 1.3.0 (@fabiormoura)
75 Commits by 12 authors
- Bruno Bonamin
- David Radcliffe
- Dinesh Majrekar
- Erik Michaels-Ober
- Fábio Maia
- Gabriel Gilder
- Greg Bell
- Kyle Macey
- Matt Vague
- Oldani Pablo
- Peter Fry
- Philippe Creux
- Søren Houen
0.4.0 ☰
If you're running on Rails 3.0.x, make sure to run rails generate active_admin:assets
since we've changed both the CSS and JS files.
- In the initializer
config.allow_comments_in = []
is nowconfig.allow_comments = true
. Use the new namespace specific configurations to allow or disallow configuration within a specific namespace. - Removed
Object#to_html
in favour ofto_s
. Any Arbre components implementing ato_html
method need to be updated to useto_s
instead.
- Namespace specific configurations in the initializer (@gregbell)
- #624: Set an image as the site title using
config.site_title_image
in the Active Admin initializer. (@mattvague) - #758: Create a standalone page in Active Admin using
ActiveAdmin.register_page
(@pcreux) - #723: Register stylesheets with a media type (@macfanatic)
- #428: Paginated Collection now supports
:param_name
and:download_links
. These two additions allow you to use thepaginated_collection
component multiple times on show screens. (@samvincent) - #527: Refactored all form helpers to use Formtastic 2(@ebeigarts)
- #551: Dashboards can now be conditionally displayed using
:if
(@samvincent) - #555: scopes now accept
:if
. They only get displayed if the proc returns true (@macfanatic) - #601: Breadcrumbs are internationalized (@vairix-ssierra)
- #605: Validations on ActiveAdmin::Comment should work with
accepts_nested_attributes_for
(@DMajrekar ) - #623: Index table can sort on any table using
:sort => 'table.column'
(@ZequeZ) - #638: Add
:label
option tostatus_tag
component (@fbuenemann) - #644: Added proper I18n support to pagination (@fbuenemann)
- #689: Scopes preserve title when provided as a string (@macfanatic)
- #711: Styles update. Now sexier and more refined design. Redesigned Scopes. Split css into smaller files. (@mattvague)
- #741: Default media type of css is now "all" instead of "screen" (@sftsang)
- #751: Pagination numbers work with a custom
[@per_page][]
(@DMajrekar) default_actions
in an index table only display implemented actions (@watson)
- #590: Comments now work in the default namespace (@jbarket)
- #780: Fix stack level too deep exception when logout path is setup to use
:logout_path
named route. (@george) - #637: Fix scope all I18n (@fbuenemann)
- #496: Remove global
Object#to_html
@ebeigarts - #470, #154: Arbre properly supports blocks that return Numeric values (@bobbytables, @utkarshkukreti, @gregbell)
- #897: Fix count display for collections with GROUP BY @comboy
- #468: Removed vendored jQuery. Now depends on the jquery-rails gem. If you're
running Rails 3.0.x (no asset pipeline), make sure to run
rails generate active_admin:assets
to generate the correct files. (@gregbell) - #527: Active Admin now requires Formtastic 2.0 or greater (@ebeigarts)
- #711: Active admin now depends on Bourbon > 1.0.0. If you're using Rails
3.0.x, make sure to run
rails generate active_admin:assets
to ensure you have the correct css files (@mattvague) - #869: Upgraded Kaminari to >= 0.13.0 and added support for
Kaminari.config.page_method_name
. Active Admin should now be happy ifwill_paginate
is installed with it. (@j-manu) - #931: Support for Rails 3.2 added (@mperham)
274 commits by 42 authors
- Greg Bell
- Philippe Creux
- Matt Vague
- Felix Bünemann
- Matthew Brewer
- Edgars Beigarts
- Mike Perham
- Sam Vincent
- Kieran Klaassen
- Jonathan Barket
- Ankur Sethi
- Dinesh Majrekar
- comboy
- Juan E. Pemberthy
- Leandro Moreira
- Manu
- Marc Riera
- Radan Skorić
- Rhys Powell
- Sebastian Sierra
- Sherman Tsang
- Szymon Przybył
- Thomas Watson Steen
- Tim Habermaas
- Yara Mayer
- Zequez
- asancio
- emmek
- Alexey Noskov
- igmizo
- Alli
- Bendik Lynghaug
- Douwe Homans
- Eric Koslow
- Eunsub Kim
- Garami Gábor
- George Anderson
- Henrik Hodne
- Ivan Storck
- Jeff Dickey
- John Ferlito
- Josef Šimánek
0.3.4 ☰
2 commits by 2 authors
- Fix reloading issues across operating systems.
- Fix issue where SASS was recompiling on every request. This can seriously decrease the load time of applications when running in development mode. Thanks @dhiemstra for tracking this one down!
- Danny Hiemstra
- Greg Bell
0.3.3 ☰
1 commit by 1 author
- Only reload Active Admin when files in the load paths have changed. This is a major speed increase in development mode. Also helps with memory consumption because we aren't reloading Active admin all the time.
- Greg Bell
0.3.2 ☰
45 commits by 15 contributors
- Site title can now be a link. Use config.site_title_link in config/initializers/active_admin.rb
- i18n support for Japanese
- i18n support for Bulgarian
- i18n support for Swedish
- DeviseGenerator respects singular table names
- Active Admin no longer assumes sass-rails is installed
- Arbre::Context passes methods to the underlying html which fixes issues on different types of servers (and on Heroku)
- #45: Fix for multibyte characters (@tricknotes)
- #505: Fix titlebar height when no breadcrumb (@mattvague)
- Fixed vertical align in dashboard
- Fixed i18n path's for multi-word model names
- Formtastic 2.0.0 breaks Active Admin. Locking to < 2.0.0
- Amiel Martin
- Christian Hjalmarsson
- Edgars Beigarts
- Greg Bell
- Jan Dupal
- Joe Van
- Mark Roghelia
- Mathieu Martin
- Matt Vague
- Philippe Creux
- Ryunosuke SATO
- Sam Vincent
- Trace Wax
- Tsvetan Roustchev
- l4u
0.3.1 ☰
- Only support InheritedResources up to 1.2.2
0.3.0 ☰
326 commits by 35 contributors
- I18n! Now supported in 10 languages!
- Customizeable CSV (@pcreux, @gregbell)
- Menus now support
if
andpriority
(Moritz Lawitschka) - Rails 3.1 support
- Asset pipeline support (@gregbell)
skip_before_filter
now supported in DSL (@shayfrendt)- Added a blank slate design (@mattvague)
- Collection and Member actions use the Active Admin layout (@gregbell)
- Better I18n config file loading (@fabiokr)
TableFor
now supports I18n headers (@fabiokr)AttributesTable
now supports I18n attributes (@fabiokr)- Member actions all use CSS class
member_link
(@doug316) - Made
status_tag
an Arbre component (@pcreux) - CSV downloads have sexy names such as "articles-2011-06-21.csv" (@pcreux)
- Created
ActiveAdmin::Setting
to easily create settings (@gregbell) - New datepicker styles (@mattvague)
- Set
[@page_title][]
in member action to render a custom title (@gregbell) - #248: Settable logout link options in initializer (@gregbell)
- Added a DependencyChecker that warns if dependencies aren't met (@pcreux)
- #52: Fix update action with STI models (@gregbell)
- #122: Fix sortable columns on nested resources (@knoopx)
- Fix so that Dashboard Sections can appear in root namespace (@knoopx)
- #131: Fixed
status_tag
with nil content (@pcreux) - #110: Fixed dropdown menu floats in Firefox (@mattvague)
- Use quoted table names (@krug)
- Fixed CSS float of
.paginated_collection_contents
bug in Firefox (@mattvague) - Removed unwanted gradient in IE in attribute table headers (@emzeq)
- #222: Added
Arbre::Context#length
for Rack servers (@gregbell) - #255: Fixed problem with dropdown menus in IE8 and IE9 (@mattvague)
- #235: Default sort order should use primary_key (@gregbell)
- #197: Fixed issues with #form params disappearing (@rolfb)
- #186: Fixes for when
default_namespace = false
(@gregbell) - #135: Comments on STI classes redirect correctly (@gregbell)
- #77: Fixed performance issue where ActiveRecord::Base.all was being called (@pcreux)
- #332: Fixed Devise redirection when in false namespace (@gregbell)
- #171: Fixed issue where class names would clash with HTML object names (@gregbell)
- #381: Fixed issues with Devise < 1.2 (@pcreux)
- #369: Added support for pluralized model names such as News (@gregbell)
- #42: Default forms work with polymorphic associations (@mattvague)
- Switched from will_paginate to Kaminari for pagination (@mwindwer)
- Removed dependency on InheritedViews (@gregbell)
- Removed Jeweler. Using Bundler and a gemspec (@gregbell)
- Armand du Plessis
- Aurelio Agundez
- Bruno Bonamin
- Chris Ostrowski
- Corey Woodcox
- DeLynn Berry
- Doug Puchalski
- Fabio Kreusch
- Greg Bell
- Ismael G Marin C
- Jackson Pires
- Jesper Hvirring Henriksen
- Josef Šimánek
- Jørgen Orehøj Erichsen
- Liborio Cannici
- Matt Vague
- Matthew Windwer
- Moritz Lawitschka
- Nathan Le Ray
- Nicolas Mosconi
- Philippe Creux
- Rolf Bjaanes
- Ryan D Johnson
- Ryan Krug
- Shay Frendt
- Steve Klabnik
- Tiago Rafael Godinho
- Toby Hede
- Vijay Dev
- Víctor Martínez
- doabit
- hoverlover
- nhurst
- whatthewhat
- Łukasz Anwajler
0.2.2 ☰
68 Commits by 13 Contributors
- Arbre includes self closing tags (#100)
- Controller class & action added to body as CSS classes (#99)
- HAML is not required by default (#92)
- Devise login now respects Devise.authentication_keys (#69)
- Active Admin no longer uses ActiveRecord::Base#search (#28)
- Resource's can now override the label in the menu (#48)
- Subdirectories are now loaded in the Active Admin load path
- Sort order now includes table name (#38)
- Fixed table_for 'odd', 'even' row classes (#96)
- Fixed Devise installation if AdminUser already exists (#95)
- Fixed issues when ActiveAdmin.default_namespaces is false (#32)
- Added styles for missing HTML 5 inputs (#31)
- Fixed issue if adding empty Active Admin Comment (#21)
- Fixed layout issues in FF 4 (#22)
- Use Sass::Plugin.options[:css_location] instead of Rails.root (#55)
- Update RSpec to latest & fix specs (Thanks Ben Marini & Jeremt Ruppel!) (#100)
- Added tests for STI models (#52)
- Ben Marini
- Bookis Smuin
- Caley Woods
- Doug Puchalski
- Federico Romero
- Greg Bell
- Ian MacLeod
- Jeremy Ruppel
- Jordan Sitkin
- Juha Suuraho
- Mathieu Martin
- Paul Annesley
- Philippe Creux
0.2.1 ☰
- Fixed issue with dashboard rendering a sidebar
0.2.0 ☰
0.2.0 is essentially an entire re-write of Active Admin. Here are some of the highlights. 250 commits. Enough said.
- Full visual redesign
- Integrated Devise for authentication
- Brand new view and component layer called Arbre (Project coming soon)
- Added ActiveAdmin::Comments
- Too many to list! Been in production for close to a year
0.1.1 ☰
- Fixed issues running on Ruby 1.9.2
- Initial release