Skip to content

Releases: codn/adminpanel

2.5.4

29 Apr 02:04
Compare
Choose a tag to compare

Should have been 2.6 but anyway, here's how to upgrade from 2.5.3 and down.

  • Add Friendly concern.
  • Renamed belongs_to to select and instead of model you give an ActiveRecord::Relation (Model.all)
  • Renamed has_many to checkbox and instead of model you give an ActiveRecord::Relation (Model.all)

To upgrade from 2.5.x

  • Change def self.form_fields attributes with 'type' => 'belongs_to' to 'type' => 'select'
  • Change def self.form_fields attributes with 'type' => 'has_many' to 'type' => 'checkbox'
  • Change def self.form_fields attributes with 'model' => 'Adminpanel::AnyModel' to:
'options' => Proc.new { |object|
  Adminpanel::AnyModel.all # you can call scopes too, or even use the object for customizing the scope
}

2.5.3

21 Mar 03:28
Compare
Choose a tag to compare
  • Friendly id support.

2.5.1

Fix bug that didn't let adminpanel initialize from scratch.

2.5.2

Fix bug that didn't let adminpanel generate a resource with double wysiwyg.

2.5.0

20 Mar 18:14
Compare
Choose a tag to compare
  • Add custom errors generator.
  • Send fresh cache header on index.
  • Sortable by drag & drop.
  • 🔥 Remove categories custom templates, and don't generate it's template when initializing.
  • Add drag and drop to sortable things.

Migration instructions from 2.4.x

  • Rename all include Adminpanel::Galleryzation to include Adminpanel::SortableGallery
  • Galleryfiles have to include Adminpanel::Base even if they aren't including SortableGallery

2.4.3

22 Jan 02:03
Compare
Choose a tag to compare
  • Show section images.
  • Icons with titles

2.4.2

15 Jan 02:30
Compare
Choose a tag to compare
  • Fixed an issue with the file filed

2.4.1

14 Jan 19:04
Compare
Choose a tag to compare
  • Fix dump with carrierwave fields.
  • Add "add another" button in show.
  • Add support for custom fields in contact generator.

2.4.0

29 Dec 08:40
Compare
Choose a tag to compare

Migration instructions from 2.3.x

Add order (integer) to adminpanel_sections table.

2.3.1

29 Dec 08:29
Compare
Choose a tag to compare
  • collection_name

2.3.0

26 Dec 09:17
Compare
Choose a tag to compare
  • Default image processor is now minimagick
  • Fixed an issue where publishing a tweet with only the link would fail.
  • Add contact generator.
  • Add dump generator.
  • Add sortable concern.
  • 🐛 🐛 🐛

Migrating instructions from 2.2.5 to 2.3.0:

  • Change your :rol to :roles adminpanel_setup.rb file if you have it in your displayable_resources.
  • Change your uploaders RMagick for MiniMagick
  • Rename table adminpanel_rol to adminpanel_roles
  • Rename table adminpanel_images to adminpanel_sectionfiles
  • Rename attribute adminpanel_users.rol_id to adminpanel_users.role_id
  • Rename attribute adminpanel_permissions.rol_id to adminpanel_permissions.role_id
  • Add integer column max_files with default 0, to adminpanel_sections
  • Update your precompiled to not include the old adminapnel assets since now they are precompiled by default.
  • Precompile assets
  • Default gallery model is removed, please use Adminpanel::Sortable concern.

2.2.5

08 Aug 07:08
Compare
Choose a tag to compare
  • 🐛