mosaico

Mosaico - Responsive Email Template Editor

GPL-3.0 License

Downloads
47
Stars
1.7K
Committers
11

Bot releases are hidden (Show)

mosaico - v0.18.10 Latest Release

Published by bago over 1 year ago

New

  • update versafix-template to 1.3.5 (workaround for samsung email app) (b967fed)
  • Refactor selectable/hoverable editable item UI to workaround Chrome issue (ad4a7aa)

Fixes

  • Prevent "p" insertion by shift-enter in singleline editables (regression) (4d8908b)
  • Fix regression preventing "incompatible template" popup to appear on loading (c2cae9d)
  • fix regression about client side image resizing (624439b)

Dev notes

  • Accomodate for new MIT-0 license for nodemailer (a579884)
  • update dev dependencies (1923afc)
  • update dependencies (2ac43d0)
  • security audit fix for decode-uri-component (d7b5f8a)
mosaico - v0.18.9

Published by bago almost 2 years ago

  • update versafix to 1.3.4 (fix sideArticle regression with short texts) (97b1f6d)
  • Make sure resizing works with integer pixels (c706e5d)
  • expose undoserializer through viewModel as an extension point (8be1758)
  • Major: fix regression preventing html export! (189ba7c)

Notes

  • we found a regression in this release about automatic image down-resizing before upload for images larger than 1920x1080: in order to re-enable the client side resizing for big images you can pass the fileuploadConfig.disableImageResize property set to "false" as an option to mosaico.init.
mosaico - v0.18.8

Published by bago almost 2 years ago

Warn

  • this release break html export support

New

  • sample retina images support (3189d42)
  • introduce placeholderText() function to define the text for image placeholders (d7aeec5)

Fixes

  • Improve select widget so to avoid following hints when hints data is incomplete (7849abb)
  • Fix template string translation for new select widget ("ut" instead of "t" call) (f1c55e6)
  • reuse .input-select mixin for new selectize widget (b3628e5)

Developer notes

  • dependencies update (94f8033)
  • remove timed-call "performanceAwareCaller" loading time debug (5d228f1)
  • fileupload: explicit width/height risizing + remove obsolete option (492fbd9)
  • refactoring to remove "timed-call" dependency from viewModel (2630190)
  • fix dependabot alert about xmldom, again (d5bb72f)
  • fix dependabot alert about xmldom (c131aec)
  • update dependencies (376f861)

Notes

  • don't use this release as it contains a major bug preventing export
mosaico - v0.18.7

Published by bago about 2 years ago

Improvements

  • Update versafix-1 from 1.1.22 to 1.3.2 (1bd64fa)
  • Template cleanup refactoring with support for known code-breaking extensions (744f47a)
  • Add check for block-level function support in the preflight compatibiliy test (e30fa33)

Developer notes

  • Update dependencies (45b172c)
  • node >= 14 to node >= 15 (node 15 included npm 7 that is the first to support the new lockfile version) (fee0007)
  • no need to support old node versions (move to 14/16/18) (1392bf3)

Notes

  • Please note versafix version bundled with this release is buggy. Update it to latest 1.3.x if you use this release.
mosaico - v0.18.6

Published by bago over 2 years ago

Fix

  • refactor virtualAttrStyle binding to fix #661 (9b60f09)
  • let text-decoration: underline flow through the new editing divs (edfe1b8) (regression introduced by v0.18.3 )

Improvements

  • Update model importer function to deal with model "updating" (4b9d961)
mosaico - v0.18.5

Published by bago over 2 years ago

New

  • Add support for deprecated blocks (61fdc50)
  • Add support for block "visibility:" option so that fixed blocks can "reuse" the delete button to switch the block visibility (a302738)
  • url conversion for @ font-face declarations (37fa7d5)
  • Better accessibility for boolean and select widgets ("replaced checkbox" and selectize) (bc2ec39)
  • Improve accessibility for new selectize elements (focusing and movement by keyboard) (f25eed9)

Fix (regressions since 0.18.x)

  • fix new variant code when applied to themed (style) properties (8cc8a97)
  • Fix automatic usage-tracking for src when using the new widget (a1d8a10)
  • Fix conditional bindings for css properties (-ko-prop-if and -ko-prop-ifnot) when used together with other css properties (1ed994d)
  • fix removal of data-ko-properties after processing when applied to data-ko-block elements. (60b7412)
  • Make sure to include the Url utility (c2d9710)
  • fix: new "buttonset" does not update selection when the value is updated outside from the widget (e.g: undo/redo) (e4cebd6)
  • fix error results for new development backend image manipulation functions. (704175a)
  • prevent small flickering introduced by the new debounce mode (4ae5ad9)

Developer notes

  • did some code refactoring
  • very basic tests for the checkDef method (9d7dd19)
mosaico - v0.18.4

Published by bago over 2 years ago

Feature:

  • implemented new widgets and major improvements for existing widgets:
    • color widget: support for transparent option (8ef45f7)
    • select widget cleanup (9f19b57) (ee72908)
    • support for better options widgets (a1bd793)
    • Support for url conversion in the blockdef style section (3709d4e), needed to be able to use template relative images in the definition.
    • new basic 'src' widget for background images (02eac98)
    • basic textarea widget (45fc3f7)
    • placeholder "https://..." for url widget (9f97f37)
    • Add support for -ko-bind-stylesheet (36599cd) (used with the textarea widget to give users the ability to add their own css styles)
  • improvements for the new data-ko-height feature:
    • updated data-ko-height (extresizable) to supports the min/max options from the linked integer widget definition. (6f823c6) (2cf3589)
    • updated data-ko-height to provide "linked hovers" for resizing handles dealing with the same variable (6d0bb60)
    • debounce code for image loading (b555634) this is indirectly related to data-ko-height, just because data-ko-height made it clear we needed debouncing.
  • Update versafix-template to 1.1.22 (make use of new widget hints) (b53cbae)

Developer notes:

  • replaced grunt-release with "release-it" (4be4645)
  • we now use pure javascript image manipulation in the development backend instead of ImageMagick (aaf61fa)
  • added a test "aspect" method for development backend (88f63e3)
mosaico - v0.18.3

Published by bago over 2 years ago

Feature:

  • updated tinymce to 4.9.11
  • updated tinymce integration so to be able to upgrade to newer tinymce releases (we stuck to 4.5.x because of tinymce issues): core should be now compatibile with 5.x (and maybe 6.x) releases too (#644)

Fix:

  • make scrollIntoView less prone to exceptions

Developer notes:

  • extracted editing widgets to their own files in form of widget plugins
  • added experimental Url.templatePath and Url.imageProcessor methods for the templating language (NOTE: the code was published here, but included in runtime only after 0.18.5)
mosaico - v0.18.2

Published by bago over 2 years ago

Fix:

  • Let toastr escape contents to prevent XSS issues.

Developer notes:

  • content._unwrap() does not exists anymore: now you have to use content._plainObject().
  • content._plainObject(object) can be used to replace the content with a previously exported content.

Then more fixes a few regressions/bugs introduced in 0.18.0/0.18.1!

Fix:

  • Fix image dropzones #643
  • Fix undo/redo and editing with adding/removing blocks and undoing the action #641
  • Prevent template flickering on block variant changes (introduced with image preloading)
mosaico - v0.18.1

Published by bago over 2 years ago

Just fixes a few regressions/bugs introduced in 0.18.0!

Fix:

  • New integer widget (slider) broken on some browser #640
  • IE11 compatibility broken in 0.18.0 #639
  • Fontawesome css included twice: #638
  • Workaround for Cheerio broken versions cheeriojs/cheerio#2500
mosaico - v0.18.0

Published by bago over 2 years ago

New:

  • Declare accept format (images) for input files #586
  • Preliminary support for data-ko-height (vertical resizer)
  • Slider+Spinner widget for integer values
  • New arabian language file + update many language files
  • Improved conditional comments handing/replacement
  • Image preloading: client side placeholders + replace images only when they are fully loaded

Developer notes:

  • Many dependencies/build system updates
  • Fix main source map generation
  • Moved tinymce to devDependency
  • Rewrote development backend to remove jquery-file-upload-middleware
  • Added support for knockout 3.5.0 and 3.5.1
  • Refactored undo/redo handing for "move" actions
  • Bumped build requirements to Node 8 and Npm 8.3: build works with older npm but they don't correctly handle package overrides.
mosaico - v0.17.5

Published by bago over 5 years ago

  • Update master template versafix to 1.1.19 ( https://github.com/voidlabs/versafix-template/releases/tag/v1.1.19 )
    • Added Telegram and Whatsapp social icons
    • Windows 10 Mail workaround to prevent some weird "colouring", see
    • Minor fix to remove ALT attribute when it is left empty
  • New Turkish language translation
  • Minor development environment improvements.
mosaico - v0.17.4

Published by bago about 6 years ago

New

  • versafix-1 master template updated to 1.1.17 (#467 includes 6 fixes/minor changes)

Fix

  • IE11 fails to show tinymce toolbar (#459)
  • Tweaks to the build to make it more solid in older environments (#454)
mosaico - v0.17.3

Published by bago over 6 years ago

Fix

  • Prevent downloading resources while parsing the master template (fixed only when using jQuery 3+)
  • Prevent double tooltips on image upload button (safari/edge)
  • Refactored hover/selection visual outlines/borders for element/blocks so to avoid WebKit (safari/midori/otter) bugs
mosaico - v0.17.2

Published by bago over 6 years ago

Post-release notes

We have feedback of flickering issues while editing in Safari (see #430), so we don't recommend using this in production.

New

  • Added image tool to browser the gallery
  • Improvements on the TinyMCE binding:
    • Option ko.bindingHandlers.wysiwyg.getContentOptions = {}; to use standard getContent instead of "raw" getContent (it could work better) with regard to empty contents (see #428 and #426).
    • Option ko.bindingHandlers.wysiwyg.useTarget = true; to stop creating id attributes for every editable element and run tinymce against the dom element instead of the selector.
    • Option ko.bindingHandlers.wysiwyg.initializingClass = 'yourclass'; defaulting to "wysiwyg-loading" that will add the class to the element during the tinymce initialization.
    • Option ko.bindingHandlers.wysiwyg.removeSelectionOnBlur = false; defaulting to "true" that will force browser selection to be emptied when you unfocus an editor (set this to false to revert to the old behaviour).
    • Option ko.bindingHandlers.wysiwyg.emptyClass = 'emptyclass'; defaulting to "wysiwyg-empty", that will add the class on contents with no "text" (remove html tags and trims to check this), so you can add CSS to add behaviour. By default we don't include styles related to this class.
    • Use inline-block for inline editables, force a min-width, add hacks to prevent element from collapsing + new debug console error when wysiwyg is started on inline elements (inline-block or block support is better)
    • Also added some CSS to prevent the editable to be clickable during initialization and show a fade animation in that timeframe.

Fix

  • Revert dependency declaration for load-image and canvas to keep npm3 compatibility
mosaico - v0.17.1

Published by bago over 6 years ago

Post-release notes

  • The build requires npm v5. Previous npm releases (we have reports from v3) produce an invalid mosaico-libs.min.js because it is missing a couple of dependencies.

New:

  • Added pt_BR language
  • Passive events for more "responsive" events on touch devices

Developer Notes:

  • added license_check and release goals
  • dependencies css/js bundle
  • DOWNGRADE tinymce to 4.5.8 because of issues with 4.6.0+

Fix:

  • Support quoted strings in template language declarations
  • deal with both JSON and JS for the data parameter during startup
  • trim options key/labels for select widget/variants
  • Missing localization string for gallery paginator
  • Attempt to catch some TinyMCE exceptions
mosaico - v0.17.0

Published by bago over 6 years ago

Post-release notes

  • we have feedback of TinyMCE 4.6.0+ issues with this release, so we suggest downgrading to version 4.5.8 (mosaico v0.17.1 downgrade the declared dependency).

New

  • added Russian and Serbian language packs
  • added decodeURI, encodeURI, decodeURIComponent and encodeURIComponent to functions available to template authors.
  • updated versafix-1 template to 1.1.16 with new blocks and new options: see release notes

Updates

  • compatibility with jquery up to latest 3.3 (using jquery migrate)
  • compatibility with knockout 3.4.2
  • compatibility with latest TinyMCE 4.7.x

Fixes

  • fix for -ko-attr-name-with-dashes attributes
  • fix colorpicker labels color
  • fix scrolling behaviour for floating Tinymce toolbar and improve compatibility with newer versions of Tinymce

Developers notes

  • major build refactoring to remove bower and improve build reproducibility over time (previous releases are not anymore buildable because of bower and no package.lock mechanisms in older npm).
  • fix watch/autoreload feature
  • fix nodejs demo backend way to generate images (to workaround imagemagick security policy that created issues on some platform)
  • use browserify incremental builds for better build/rebuild times
  • removed makethumb task (and dependency on phantomjs): thumbnail generation is not needed for mosaico itself, you can see/get the old code here
  • dockerfile to build on alpine + dockerfile to build on CentOS (both configured on docker.io as CI)
  • updated TravisCI configuration according to updated build
  • overall dependency updates: jsep 0.3.1, knockout-reactor 1.4.0, knockout-sortable 1.0.0, evol-colorpicker 3.3.1, juice 4.2.2, fileupload packages.
  • removed knockout-wrap in favor of custom code
  • included own own knockout-undomanager code in the tree instead of relying on the external project.
  • removed all "github" dependencies in favor of direct npmjs bundle references
mosaico - v0.16

Published by bago almost 8 years ago

Fixed issues

  • css inliner was overriding custom inline-styles added by editing long-texts manually

Templates

  • versafix-1: "smart" unsubscribe-link color that will ensure readability against the background color.

New

  • Created an example Docker file to show how mosaico runs in a centos distribution

Massive dependencies update

  • added compatibility with KO 3.4.0 and KO 3.4.1
  • updated knockout to 3.4.1
  • updated knockout-sortable from 0.11 to 0.15
  • updated jquery-file-upload from 9.8.0 to 9.12.5
  • updated jquery from ~1.11.2 to ~1.12.4
  • updated jquery-ui from ~1.11.3 to ~1.11.4
  • updated knockoutjs-reactor to official ~1.3.9
  • updated knockout-jqueryui to official ~2.2.3
  • updated tinymce from ~4.3.2 to ~4.4.3
  • updated juice to official ~3.0.1
  • updated tinycolor from ~1.2.1 to ~1.4.1
  • NOTE: jQuery-UI >= 1.12 is not compatible with Mosaico because of backward incompatible changes introduced by jQuery-UI on button and "checkboxes"
  • requires node >= 6 to build
  • massive updates of build dependencies
mosaico - v0.15

Published by bago about 8 years ago

Improvements:

  • CSS Inlining now "built-in" in mosaico library (no need to do CSS inlining in the backend)
  • Added NOTICE.txt with details about dependencies licensing terms.

Fixed issues:

  • Various fixes/improvements to Conditional Comments handling.
mosaico - v0.14

Published by bago over 8 years ago

This is a minor maintenance release.

Improvements:

  • Dutch and Swedish translations!
  • Update bower-npm-install to 0.5.10 to support npm 3 enhancement
  • Complaint/Warn about missing dependencies enhancement

Fixed issues:

  • Fix an issue with KO 3.3.0: 0.13 problems with knockout 3.3.0 bug
  • iPhone email rendering issues when avast extension is installed in the browser using mosaico enhancement
  • Fixed an issu with Tinymce skin and newer Tinymce: Modal button text is invisible bug
  • Fixed "simpleTranslationPlugin": "Undo (#COUNT#)" and "Redo" not translatable? bug
  • Fixed issues with wrapping spaces in input type="url": Trim urls in the model bug
  • Metadata is lost when passing both the templateFile and metadata bug
  • Sometimes clicking a button (e.g: undo/redo) result in the underlying link being followed (if you use base href the page changes, otherwise you see the hash changes).