Notable Changes
- The essence view partials don't get cached anymore (#1099)
- Removes update_essence_select_elements (#1103)
- The admin resource form now uses the datetime-picker instead of the date-picker for datetime fields.
- The
preview_mode_codehelper is moved to a partial inalchemy/preview_mode_code. (#1110) - The
render_meta_datahelper is moved to a partial inalchemy/pages/meta_dataand can be rendered with the same options as before but now passed in as locals. (#1110) - The view helpers
preview_mode_code,render_meta_data,render_meta_tag,render_page_title,render_title_tagare now deprecated. (#1110) - An easy way to include several edit mode related partials is now available (#1120):
render 'alchemy/edit_mode'loadsmenubarandpreview_mode_codeat once - Add support for Turbolinks 5.0 (#1095)
- Use Dragonfly middleware to render pictures and remove our custom solution (#1084)
image_sizeoption is now deprecated. Please use justsize(#1084)show_alchemy_picture_pathhelper is now deprecated. Please usepicture.urlinstead (#1084)- Display download information on the Attachment Modal Dialog (#1137)
- Added foreign keys to important associations (#1149)
- Also destroy trashed elements when page gets destroyed (#1149)
- Upgrade tasks can now be run separately (#1152)
- Update to Tinymce 4.4.3
Fixed Bugs
- Fix setting of locale when
current_alchemy_user.languagedoesn't return a Symbol (#1097) - Presence validation of EssenceFile is not working (#1096)
Notable Changes
- Allow users to manually publish changes on global pages
Fixed Bugs
- Remove trailing new lines in the AddImageFileFormatToAlchemyPictures migration. (#1107)
If you migrated already, use the
alchemy:upgrade:fix_picture_formatrake task. - Don't overwrite the fallback options when rendering a picture (#1113)
- Fixes the messages mailer views generator (#1118)
New Features
MessagesMailer(formerly known asMessages) now inherits fromApplicationMailerwhen it is defined.- Adds time based published pages: The public status of a page is now made of two time stamps:
public_onandpublic_until - Send page expiration cache headers
- Adds an +EssencePictureView+ class responsible for rendering the
essence_picture_viewpartial - Adds a file type filter to file archive
- Allow setting the type of EssenceText input fields in the elements.yml via
settings[:input_type] - Adds support for defining custom searchable attributes in resources
- Automatically add tag management to admin module views, when the resource model
has been set to
acts_as_taggable. - Automatically add scope filters to admin module views, when the resource model
has the class method
alchemy_resource_filtersdefined.
Notable Changes
Messagesmailer class has been renamed toMessagesMailer- Removed the auto-magically merge of Ability classes (#1022)
- Replace jQueryUI datepicker with $.datetimepicker
- Thumbnails now render in original file format, but GIFs will always be flattened
- Pictures will be rendered in original file format by default
- Allow SVG files to be rendered as EssencePicture
- When using Alchemy content outside of Alchemy,
current_abilityis no longer included withAlchemy::ControllerActionsto prevent method clashes. If you need access tocurrent_abilityyou also need to includeAlchemy::AbilityHelper - Asset manifests are now installed into
vendor/assetsfolder in order to provide easy customization Please don't use alchemy/custom files any more. Instead require your customizations in the manifests. - Removes the default_scope from Language on_site current while ensuring to load languages by code from current site only.
- Removes the
Language.get_defaultmethod alias forLanguage.default - Move site select into pages and languages module to avoid confusion about curent site (#1067)
- List pages from all sites in currently locked pages tabs and Dashboard widget (#1067)
- The locked value on page is now a timestamp (
locked_at), so we can order locked pages by (#1070) - Persist user in dummy app
- When publishing a page with the publish button,
Page#public_ondoes not get reset to the current time when it is already set and in the past, andPage#public_untildoes not get nilled when it is in the future.
Fixed Bugs
- Fix table width for attachments and resources on small window sizes.
- Generators don't delete directories any more (#850)
- Some elements crashed the backend's JS when being saved (#1091)
- Fix bug that rendered duplicate nested elements within a cell after copying a parent element.
- Use relative url for page preview frame in order to prevent cross origin errors (#1076)
- Fix use of Alchemy::Resource with namespaced models (#729)
- Allow setting the type of EssenceText input fields in the elements.yml via
settings[:input_type] - Admin locale switching does not switch language tree any more (#1065)
- Fixes bug where old site session causes not found errors (#1047)
- Fix inability to add nested elements on pages with cells (#1039)
- Skip upgrader if no element definitions are found (#1060)
- Fix selecting the active cell for elements with nested elements (#1041)
New Features
- Add support for Sprockets 3
- Add support for jquery-rails 4.1
- Show a welcome page, if no users or pages are present yet
- Namespace spec files
- Image library slideshow
- Global "current locked pages" tabs
- New option
linkable: falseforEssencePicture - Allow custom routing for admin backend
- Resource forms can now have Tinymce enabled by adding
.tinymceclass Alchemy::EssenceFilenow has alink_textattribute, so the editor is able to change the linked text of the download link.- Enable to pass multiple page layout names to
on_page_layoutcallbacks - Client side rendering of the pages admin
- Deprecate
redirect_indexconfiguration - Add Nestable elements feature
- Default site in seeder is now configurable
- Frontpage name and page layout are now editable when creating new language trees
Notable Changes
- Essence generator does not namespace the model into
Alchemynamespace anymore - New simplified uploader that allows to drag and drop images onto the archive everywhere in your app
- Model names in uploader
allowed_filetypessetting are now namespaced. Please be sure to runrake alchemy:upgradeto update your settings.
- Model names in uploader
- Allow uppercase country codes
- Uses Time.current instead of Time.now for proper timezone support
- Adds year to
created_atcolumn of attachments table - Removes "available contents" feature.
- Use Ransack for Admin Resources filtering, sorting and searching
- Renames Alchemy translation helpers from
_ttoAlchemy.t - Do not append geometry string to preprocess option
- Skip the default locale in urls
- Add a proper index route and do not redirect to page anymore
- Updates Tinymce to 4.2.3
- Moves page status info into reusable partial
- Refactors factories into individual requirable files
- Do not raise error if
element_idsparams is missing while ordering elements - Removes old middleware for rescueing legacy sessions
- Use rails tag helpers instead of plain HTML for meta tags
- Remove the duplication of
#decriptionvs.#definition - Resource CSV export now includes ID column and does not truncate large text columns anymore
Alchemy::Attachment#urlnamenow returns always an escaped urlname w/o format suffix and does not convert thefile_nameonce on create anymore- Speed up the admin interface significantly when handling a large amount of pages
Fixed Bugs
- Add
localetoAlchemy::Languageto avoid errors for languages with missing locale files #831 - Fixes
Alchemy::PageLayout.get_all_by_attributes - Fix tag list display in picture library
- Animated GIFs display correctly
- EssenceSelect grouped options tags
- Add missing element partials for dummy app
- Eliminate an SQL lookup on frontend cached element partials
- Add missing german and spanish translation for element toolbar
- Use the site_id parameter and the session only in the Admin area
- Render 404 if accessing an unpublished index page that has "on page layout" callbacks
Fixed Bugs
- Fix constant lookup issues with registered abilites
- Fix:
EssenceSelectgroupedselect_values - Respect
:reverseoption when sorting elements - Directly updates position in database while sorting contents
- Don't show trashed elements when using a fallback
- Fixes wrong week number in datepicker
No changes