Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Releases: BindaCMS/binda

Audio Feature

01 Mar 23:11
Compare
Choose a tag to compare
Audio Feature Pre-release
Pre-release

To upgrade from v0.1.6 create a new migration:

rails generate migration addAudioToAssets

Then update the file db/migrate/xxxxxx_add_audio_to_assets.rb with the following line:

def change
    add_column :binda_assets, :audio, :string
end

Once done just run migrations:

rails db:migrate

v0.1.6

26 Feb 22:55
afde99d
Compare
Choose a tag to compare

Find below new features and updates introduced by version v0.1.6.

New features

  • Description of field groups and repeaters now appears on components and boards editors
  • Field groups and field settings are now sortable
  • Field groups now have a convenient way to list all its field settings

Updates

  • Creating a component via console autogenerates all associated fields
  • Repeater views are now more polished and DRY with form-item--collapsable
  • All classes with position value are now consistent, with counter starting from 0.
  • A combination of FieldSetting and Fieldable now can have only one associated field. This is true for Text String Selection Radio Checkbox Relation Date
  • More secure control over orphan fields
  • Better installation process

Changelog & Fixes

v0.1.6.alpha.5
v0.1.6.alpha.3

Fixes and small updates

20 Feb 15:02
Compare
Choose a tag to compare
Pre-release

New feature

  • Description of field groups and repeaters now appears on components and boards editors

Updates

  • Creating a component via console autogenerates all associated fields

Fixes

  • Repeaters sortable and change collapsable resize
  • Possible unsync of fields instances on newly created fieldables

Sortable field groups and field setting list

15 Feb 14:10
3995d90
Compare
Choose a tag to compare

Upgrading from previous version:

$ rails binda:remove_orphan_fields
$ rails binda:create_missing_field_instances

New features

  • Field groups and field settings are now sortable
  • Field groups now have a convenient way to list all its field settings

Updates

  • Repeater views are now more polished and DRY with form-item--collapsable
  • All classes with position value are now consistent, with counter starting from 0.
  • A combination of FieldSetting and Fieldable now can have only one associated field. This is true for Text String Selection Radio Checkbox Relation Date
  • More secure control over orphan fields
  • Better installation process

FIX

  • Better installation process with proper tests
  • Several minor fixes
  • FIX #157
  • FIX #143
  • FIX #74
  • FIX #32
  • FIX #66

Minor fixes

06 Feb 14:18
Compare
Choose a tag to compare
Minor fixes Pre-release
Pre-release
v0.1.6.alpha.1

Fixes

Image details

06 Feb 14:17
Compare
Choose a tag to compare

How to upgrade from 0.1.4

In order to add image details related to width, height and content type create a new migration by running these from terminal:

rails generate migration addFileSizeAndContentType

On the new migration db/migrate/XXXXXXX_add_file_size_and_content_type.rb add the following code

  def change
  	add_column :binda_assets, :file_width, :float
  	add_column :binda_assets, :file_height, :float
  	add_column :binda_assets, :file_size, :float
  	add_column :binda_assets, :content_type, :string
  end

At this point you can update the db by running the following line from terminal:

rails db:migrate

Now it's possible to update any previous Binda::Image by running the following task.

rails binda:update_image_details

Deprecated methods

old method new method
has_repeater has_repeaters
get_repeater get_repeaters
get_selection_choice get_selection_choices

New features

Binda::Image now stores size, dimension and mime type of the image.
You can retrieve those details with the following methods.

image_setting = Binda::FieldSetting.find_by(slug: 'my-image')
component = Binda::Component.first
get_image_size('my-image')
# => 123.0
get_image_dimension('my-image')
# => { width: 123.0, height: 123.0 }
get_image_mime_type('my-image')
# => 'image/jpeg'

Fixes

v0.1.4 — New select/radio/checkbox logic

01 Feb 17:29
32808b8
Compare
Choose a tag to compare

In order to upgrade from 0.1.3 you need to run the following migration.

rails generate migration changeAllowNullDefault

Then in the migration file just created add the following line:

def change
    change_column_default :binda_field_settings, :allow_null, true
end

Once done all you need is to migrate the database

rails db:migrate

NOTES

There is a new logic for select/radio/checkbox buttons. See Official Documentation

UPDATES

  • Add remove orphan fields task to guidelines
  • Better explanation of get_repeater helper
  • Use JSPrettier to clean js and sass code properly
  • Remove all glyphicons, better components index sorting
  • Cleaned views, changed errors notices
  • Add TinyMCE code button to toolbar
  • Huge work on building the select/radio/checkbox logic and all tests.
  • Add Rubocop to better test code locally

FIXES

  • FIX #145
  • FIX #128
  • FIX #126
  • FIX #149
  • FIX #150
  • FIX #130
  • FIX #141
  • FIX #22
  • issue when saving field setting/group with a slug already present in database
  • issue with has_string and has_text helpers that return false for empty string
  • issue with sidebar on small viewports
  • issue with release 4.7.5 of TinyMCE-rails and update the other dependencies
  • description on selection fields

Minor fixes

12 Jan 16:00
Compare
Choose a tag to compare

UPDATE

  • Better error handling over file uploads.

FIX

  • FIX video file uploader
  • FIX popup warning issues
  • FIX popup warning and fileupload removal script

Minor Fixes and layout improvement

12 Jan 15:58
Compare
Choose a tag to compare

UPDATE

  • ADD transition to sortable tables
  • ADD table with div for sortable pages
  • ADD transition to sortable
  • Add loader for structure sortable index
  • Separate fielg group parent settings from repeaters ones
  • Update readme

FIX

  • Reduce complexity
  • FIX fieldgroup layout
  • FIX codeclimate config file
  • FIX choice
  • FIX field group slug not being save on field group creation
  • FIX structure sortable index table
  • FIX odd transition of shadows when hovering sortable row, AND add flex layout
  • FIX structures title
  • FIX row td width 1of2
  • FIX issue Sortable without shadow on Safari #138

Minor Fixes

12 Jan 13:19
Compare
Choose a tag to compare

UPDATE

  • General layout improvement

FIX

  • Add new GIF and video preview
  • FIX default choice in generator
  • FIX choices style
  • FIX field_group delete link
  • FIX sortable and layout
  • FIX mistake on create_new_choice and reduce complexity on choice model
  • Correct test specs
  • Layout improvement and cleaner code (lots of stuff)
  • Update Devise
  • Reduce code complexity
  • FIX routes
  • Reduce code complexity
  • Reduce code complexity
  • FIX sortable on repeaters. Now should avoid displaying loader after having sorted repeaters order
  • Remove bullet console.log