Skip to content

Releases: comfy/comfortable-mexican-sofa

2.0.19

31 Dec 23:32
@GBH GBH
Compare
Choose a tag to compare
  • Support for Rails 6.0 (file upload bug is fixed)

2.0.18

16 Mar 19:50
@GBH GBH
Compare
Choose a tag to compare
  • Fixing bugs mostly related to ActiveStorage attachments
  • Since Ruby SASS is getting deprecated dependency is changed from sass-rails to sassc-rails
  • Minor tweaks that accumulated over the last several months.

Note that existing Files might get their labels blanked-out. There was a label method that would output filename if label is blank. Now label is always set during creation.

2.0.17

18 Mar 16:35
@GBH GBH
Compare
Choose a tag to compare

Quick fix so proper form builder is used.

2.0.16

23 May 19:11
@GBH GBH
Compare
Choose a tag to compare
  • Fixing ERB injection vulnerability with #825. Good idea to upgrade if you're letting un-trusted users edit content.
  • Updating vendored Bootstrap to v4.1.1

2.0.15

30 Apr 20:59
@GBH GBH
Compare
Choose a tag to compare
  • Updated Spanish translations
  • New Finnish translations
  • Fixing issue with cms_snippet_render and cms_fragment_render not working with some tags.

2.0.14

09 Apr 00:58
@GBH GBH
Compare
Choose a tag to compare

Content tags have support for nested hashes and arrays. For example:

{{ cms:partial "path/to/partial", foo: { a: b, c: d }, bar: [a, b, c] }}

Will translate to:

<%= render partial: "path/to/partial", locals: {"foo" => {"a" => "b", "c" => "d"}, "bar" => ["a", "b", "c"] } %>

Keep in mind that hash keys and values are always going to be strings

Also fixed how AS variants are using image magic options. See rails/rails#31518 for details

2.0.13

13 Mar 02:56
@GBH GBH
Compare
Choose a tag to compare

This release is brought you by @glebm

New tag: page_file_link

It's similar to file_link tag that you can link previously uploaded files into content somewhere. Difference is that this tag links files uploaded for a specific page. Basically, you set up a bucket with all the files and then you can selectively drop them into the content.

Example set up:

On Layout content have {{ cms:files attachments, render: false }} tag defined.

During page creation populate that field with files and save. Now, during editing you may drag-and-drop previously uploaded files. See PR for more details: #799

Ability to drag and drop is also extended to files uploaded site-wide.

See it in action:

File linking in action

  • All Javascript is converted from Coffeescript back to Javascript. Dependency on coffee-rails is dropped.
  • Support for Ruby < 2.3 is dropped. All strings are frozen now.

2.0.10 - Bootstrap 4 final

08 Feb 05:23
@GBH GBH
Compare
Choose a tag to compare
  • From 2.0.0 to 2.0.10 there were mostly small bug fixes and general polish updates.
  • Now CMS is using Bootstrap 4 final in the admin area.
  • Bootstrap is shipped inside /app/assets/{stylesheets|javascripts}/comfy/vendor/bootstrap
  • bootstrap_form is replaced with comfy_bootstrap_form as former doesn't support Bootstrap 4 still.
  • Locale files are a little bit more complete. See: #771

2.0.0 - Rails 5.2 release

30 Nov 03:35
@GBH GBH
Compare
Choose a tag to compare
  • Paperclip is out, ActiveStorage that comes with Rails 5.2 is in. (No support for Rails apps lower than 5.2)
  • Site mirroring is gone. It was used as a clunky mechanism to support multi-language sites. Now you can have translations directly associated with pages.
  • Completely overhauled content parsing and rendering engine.
    • New tag format: {{ cms:tag_class params}}.
    • Old {{ cms:page:content:rich_text }} now looks like {{ cms:wysiwyg content }}
    • Tags handle params that may look like this: {{ cms:partial "path/to/partial", local_var_a: "a,b,c", local_var_b: 123 }}
    • Parser handles block tags. {{cms:block}} some content {{cms:end}}. No tags that use this just yet.
  • Renamed Comfy::Cms::Block to Comfy::Cms::Fragment.
  • CMS Fixtures are CMS Seeds now. Completely rewritten. Now all fragments are found in a single file.
  • Timepicker is replaced with Flatpickr.
  • Admin area is using Bootstrap 4 and is fully responsive (looks nice on a smartphone)
  • Generator updated to make 99% ready to go CRUDS.
  • Built-in sitemap generator is gone. Too clunky when you need to add more items there. Easy enough to make one for your own app.
  • Million of other small fixes and tweaks.

1.12.10 - Rails 5 release

22 Dec 18:51
@GBH GBH
Compare
Choose a tag to compare
  • Maintenance update to have CMS working for Rails 5 apps. There a lot of deprecation warnings that will be cleaned up in the future when support for Rails 4 is fully dropped.
  • Added Turkish locale