Skip to content

Releases: comfy/comfortable-mexican-sofa

1.12.8

01 Apr 20:29
@GBH GBH
Compare
Choose a tag to compare
  • Fixed a bug that would delete content when a mirrored site is deleted.
  • Made translation files consistent and added a test that should help to keep them that way.

1.12.7

25 Jan 15:00
@GBH GBH
Compare
Choose a tag to compare
  • Added Ukrainian locale
  • Small improvement for page files
  • Small js/css tweaks

1.12.5

18 Jan 20:16
@GBH GBH
Compare
Choose a tag to compare
  • Thanks to Roman Almeida (@nasmorn) now we have Redactor OEM license. This allows me to replace tinyMCE with Redactor. Normally it would cost at least 99 bucks to integrate it in your project. Now you're getting it for free. It's smaller, easier to extend. It's also hooked up to existing i18n support. It also comes with image/file manager out the box. Of course you can always use whatever wysiwyg editor you want.
  • Restructured assets folder. You might need to adjust things if you were overriding default assets.
  • Should work now with turbolinks enabled installs
  • Made fixtures sync happen only when index actions are triggered. Should decrease unnecessary churn.

1.12.4 - Rails 4.2 release

12 Jan 04:36
@GBH GBH
Compare
Choose a tag to compare
  • Making everything work with Rails 4.2
  • small fixes

1.12.3

22 Nov 23:02
@GBH GBH
Compare
Choose a tag to compare
  • The file widget is dead. Long live the file widget. Now with more pagination, more drag-and-drop with better feedback. Can be opened by clicking on the icon on the 'Files' navigation link.
    • Uploading is handled via plupload so there's a new dependency.
    • Run rails g cms or plug Mime::Type.register 'text/plupload', :plupload into your config/initializers/mime_types.rb
  • There are new rails generators available:
    • rails g comfy:cms:views - copy all cms view templates to your application. Now you can change if you want wysiwyg or normal text for snippets yourself. It's back to plain text by default, by the way.
    • rails g comfy:cms:controllers - copy all cms controllers to your application.
    • rails g comfy:cms:models - copy all cms models to your application.
    • rails g comfy:cms:assets - copy all cms js, css and image files to your application.
  • Small change how defining categories in fixtures works. Categories you define directly on Pages, for example, are only linkages. You need to have those categories defined in categories/pages.yml first.
  • Now there's a new authorization functionality. See config.admin_authorization = 'ComfyAdminAuthorization'. Just create a module with authorize method and put all your logic there. You'll have access to params and instance variables relevant to a given controller. For example:
module ComfyAdminAuthorization
  def authorize
    if params[:controller] == 'comfy/admin/cms/layouts' && !current_user.is_admin?
      flash[:error] = "Bug off, only admins can change layouts"
      redirect_to admin_root_path
    end
  end
end
  • Plus few more small fixes and improvements.

1.12.2

30 Aug 00:31
@GBH GBH
Compare
Choose a tag to compare
  • Making jquery-ui-rails v5 work without crashing
  • Merged a bunch of small pull requests

1.12.1

24 May 13:11
@GBH GBH
Compare
Choose a tag to compare
  • CMS served assets have cache buster and are served with proper headers
  • Random bug fixes

1.12.0

04 May 19:22
@GBH GBH
Compare
Choose a tag to compare

1.11.2

03 Feb 00:51
@GBH GBH
Compare
Choose a tag to compare
  • Paperclip 4.0.0 release broke previous versions of CMS. This one fixes it.
  • Added {{cms:field:some_label:boolean}} tag
  • Added it locale and fixed up pluralization code.

1.11.1

20 Dec 20:01
@GBH GBH
Compare
Choose a tag to compare
  • Some small fixes.
  • Content serving controller can output in json format now.
  • Works with Rails 4.1.0.beta1