Release 2020.001 - HL Vanilla Community
<main> <article class="userContent"> <h5 data-id="release-2020.001-was-first-deployed-to-vanilla-cloud-on-thursday-january-09-2020."><em>Release 2020.001 was first deployed to Vanilla Cloud on Thursday, January 09 2020.</em></h5><h2 data-id="banner-images-built-in">Banner Images Built In</h2><p><em>This functionality was previously available through the "Hero Image" plugin. It is now built-in to Vanilla. Existing theme integrations with "Hero Image" will continue to work, even though the plugin is no longer visible on the plugins page.</em></p><p><em>Existing uploaded "Hero Images" will be converted to banner images.</em></p><p>A banner image can now be uploaded in the "Branding & SEO" page of the dashboard.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/600/XW0ZHRMXF74O.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/600/XW0ZHRMXF74O.png" alt="image.png" height="536" width="2040" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>This can banner image can easily be used in a custom theme (or the Customize Theme plugin) by using the <code class="code codeInline" spellcheck="false" tabindex="0">{banner_image_url}</code> Smarty function. This function will give the URL of the banner image for the current page and should be used in an <code class="code codeInline" spellcheck="false" tabindex="0"><img/></code> HTML tag or a CSS <code class="code codeInline" spellcheck="false" tabindex="0">background-image</code>.</p><h3 data-id="keystone-integration">Keystone Integration</h3><p>Users of the "Keystone" theme can benefit from an automatic banner image integration by visiting the "Theme Options" page and enabling the integration.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/838/VHJDESQVLEWJ.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/838/VHJDESQVLEWJ.png" alt="image.png" height="380" width="2040" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="per-category-banner-images">Per-Category Banner Images</h3><p>The banner image can be overridden on a per-category basis by uploading through the category page.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/873/KTX7UTOLPTVI.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/873/KTX7UTOLPTVI.png" alt="image.png" height="414" width="2036" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="community-bug-fixes">Community Bug Fixes</h2><ul><li>Fix images being stretched on iOS. <a href="https://github.com/vanilla/vanilla/issues/9844" rel="nofollow noreferrer ugc">vanilla#9844</a></li><li>Fix group posting permission. <a href="https://github.com/vanilla/vanilla-patches/pull/676" rel="nofollow noreferrer ugc">internal#676</a></li><li>Fix post content displaying incorrectly in popup notification.<a href="https://github.com/vanilla/vanilla/pull/9857" rel="nofollow noreferrer ugc"> vanilla#9857</a></li><li>Fix email's decoding incorrectly. <a href="https://github.com/vanilla/vanilla-patches/pull/675" rel="nofollow noreferrer ugc">vanilla#675</a> & <a href="https://github.com/vanilla/vanilla-patches/pull/672" rel="nofollow noreferrer ugc">vanilla#672</a></li><li>Fix new discussion submit returning during redirect. <a href="https://github.com/vanilla/vanilla/pull/9840" rel="nofollow noreferrer ugc">vanilla#9840</a></li><li>Fix <code class="code codeInline" spellcheck="false" tabindex="0">/api/v2/media</code> endpoint removing animation from GIFs (fixes Rich Editor uploads). <a href="https://github.com/vanilla/vanilla/pull/9839" rel="nofollow noreferrer ugc">vanilla#9839</a></li><li>Tweak URL generation for improved SEO. <a href="https://github.com/vanilla/vanilla/pull/9834" rel="nofollow noreferrer ugc">vanilla#9834</a></li><li>Fix reset password link in login form error message. <a href="https://github.com/vanilla/vanilla/pull/9794" rel="nofollow noreferrer ugc">vanilla#9794</a></li></ul><h2 data-id="knowledge-base">Knowledge Base</h2><ul><li>Each column of the article layout can now be scrolled independently. <a href="https://github.com/vanilla/vanilla/pull/9865" rel="nofollow noreferrer ugc">vanilla#9865</a></li><li>Fixed a bug where a Knowledge Base description was silently validated as required and did not display a visible error message. <a href="https://github.com/vanilla/knowledge/pull/1450" rel="nofollow noreferrer ugc">knowledge#1450</a></li></ul><h2 data-id="products-subcommunities">Products & Subcommunities</h2><p>Additionally error indicators and tooltips have been added to address common multisite configuration issues:</p><ul><li>When a product has no subcommunities a warning is displayed.</li><li>When a product has no subcommunities it is not displayed in the product dropdown.</li><li>When a product has no subcommunities but is was previously assigned to a subcommunity, a warning is shown on the subcommunity.</li></ul><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/152/2JPRRE2N60KE.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/152/2JPRRE2N60KE.png" alt="image.png" height="546" width="1424" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <ul><li>When a knowledge base is no accessible to a subcommunity or product configuration issue, a warning icon and a tooltip is not displayed.</li></ul><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/517/G5W10XY7NAQ7.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/517/G5W10XY7NAQ7.png" alt="image.png" height="420" width="1586" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="warnings-notes-community-rules">Warnings & Notes - Community Rules</h2><p>Community rules is a new feature of warnings and notes that allows site administrators to create rules where users can be warned by moderators for violating them. A "Community Rules" section now appears in the dashboard once the "Warnings and Notes" plugin is enabled. Site administrators can then be allowed to create, modify and delete these rules.</p><p>Moderators can able to select a rule that was broken when warning a user. The violated rule will be visible by the user who received the warning.</p><h3 data-id="rule-creation">Rule Creation</h3><p>Rules can be created from the dashboard.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://user-images.githubusercontent.com/5429361/69990918-a598b880-1514-11ea-8cc0-561730e20bc9.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://user-images.githubusercontent.com/5429361/69990918-a598b880-1514-11ea-8cc0-561730e20bc9.png" alt="Screen Shot 2019-12-02 at 3 01 32 PM" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="attaching-rules-to-a-warning">Attaching rules to a warning</h3><p>Once rules are configured a dropdown will become visible when creating a warning.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://user-images.githubusercontent.com/5429361/69991042-eee90800-1514-11ea-8622-c984d77d4a8b.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://user-images.githubusercontent.com/5429361/69991042-eee90800-1514-11ea-8622-c984d77d4a8b.png" alt="Screen Shot 2019-12-02 at 3 02 56 PM" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>The infringed rule will appear on the warning, giving more information to the user.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://user-images.githubusercontent.com/5429361/69991119-150ea800-1515-11ea-92a5-94619bda156e.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://user-images.githubusercontent.com/5429361/69991119-150ea800-1515-11ea-92a5-94619bda156e.png" alt="Screen Shot 2019-12-02 at 3 04 09 PM" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h3 data-id="rules-apiv2-endpoints">Rules APIv2 Endpoints</h3><p>API endpoints were also created to manage rules, but they might not be useful at the moment. It was previously discussed that this module could be made using react, but this was not part of the scope.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://user-images.githubusercontent.com/5429361/69991201-425b5600-1515-11ea-8aea-b4d076832b79.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://user-images.githubusercontent.com/5429361/69991201-425b5600-1515-11ea-8aea-b4d076832b79.png" alt="Screen Shot 2019-12-02 at 3 05 56 PM" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="warnings-notes-multiple-posts">Warnings & Notes - Multiple Posts</h2><p>In a previous release of Warnings & Notes, the ability to warn multiple users at once was added. However, the implementation of this feature removed the ability to see the reported posts content and instead gave only a link to the content. Unfortunately, since many reported posts are deleted the links normally went nowhere.</p><p>Taking into account all the feedback we received about this feature, we've made the following improvements.</p><ul><li>Fix the reporting of activity.</li><li>Improve generation of reported URLs to include the correct subcommunity.</li><li>All reported content will now be displayed as a Rich Embed. This preserves all original details of the post, so that even if they original post is deleted, the warning will still retain the proper context. If Rich Editor is disabled (plugin turned to off), then a simple markdown warning with links will be used instead.</li></ul><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/213/DMVNPF8PV68H.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/213/DMVNPF8PV68H.png" alt="image.png" height="1548" width="2336" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="addons">Addons</h2><ul><li>AutoRolesByEmail: Fix inability to remove auto-roles when editing users. <a href="https://github.com/vanilla/internal/pull/2128" rel="nofollow noreferrer ugc">internal#2128</a></li><li>Polls: Add AJAX form submission to new poll creation. <a href="https://github.com/vanilla/internal/pull/2147" rel="nofollow noreferrer ugc">internal#2147</a></li><li>Reactions: Fix inability to react to posts on groups via the API. <a href="https://github.com/vanilla/internal/pull/2154" rel="nofollow noreferrer ugc">internal#2154</a></li><li>ShareThis: Addon marked hidden. <a href="https://github.com/vanilla/addons/pull/765" rel="nofollow noreferrer ugc">addons#765</a></li></ul><h2 data-id="api-v2">API V2</h2><p><strong>Bug Fixes</strong></p><ul><li>It is now possible to update a users password with the PATCH <code class="code codeInline" spellcheck="false" tabindex="0">/api/v2/users</code>. <a href="https://github.com/vanilla/vanilla/issues/9735" rel="nofollow noreferrer ugc">vanilla#9735</a></li></ul><p><strong>Format Field changes</strong></p><p>Starting in this release, the schema for the field <code class="code codeInline" spellcheck="false" tabindex="0">format</code> has been tightened across the board. Previously this field would allow any string, even if they result in an invalid post.</p><p>The schema has been tightened to only allow valid formats (<code class="code codeInline" spellcheck="false" tabindex="0">rich</code>, <code class="code codeInline" spellcheck="false" tabindex="0">markdown</code>, <code class="code codeInline" spellcheck="false" tabindex="0">text</code>, <code class="code codeInline" spellcheck="false" tabindex="0">textex</code>, <code class="code codeInline" spellcheck="false" tabindex="0">wysiwyg</code>, <code class="code codeInline" spellcheck="false" tabindex="0">bbcode</code>, and in some cases, <code class="code codeInline" spellcheck="false" tabindex="0">html</code> & <code class="code codeInline" spellcheck="false" tabindex="0">ipb</code>).</p><p>Some existing workflows may send values that do not align with these. For this purpose a feature flag has been added that will re-allow any value here. The feature flag is <code class="code codeInline" spellcheck="false" tabindex="0">legacyFormats</code>. If you need it enabled, please contact your CSM.</p><p><strong><em>Note about the </em></strong><em><code class="code codeInline" spellcheck="false" tabindex="0">html</code></em><strong><em> format. The </em></strong><em><code class="code codeInline" spellcheck="false" tabindex="0">html</code></em><strong><em> format is officially deprecated as of this release. If you are trying to insert HTML from some other source into Vanilla, please use the </em></strong><em><code class="code codeInline" spellcheck="false" tabindex="0">wysiwyg</code></em><strong><em> format, which is more accurate in its rendering.</em></strong></p><h2 data-id="developer-notes">Developer notes</h2><ul><li>Vanilla now issues equivalent <code class="code codeInline" spellcheck="false" tabindex="0">X-Frame-Options</code> to its <code class="code codeInline" spellcheck="false" tabindex="0">Content-Security-Policy</code> wherever possible. <a href="https://github.com/vanilla/vanilla-patches/pull/673" rel="nofollow noreferrer ugc">vanilla-patches#673</a></li><li>Fix call to <code class="code codeInline" spellcheck="false" tabindex="0">time()</code> in user model. <a href="https://github.com/vanilla/vanilla/pull/9867" rel="nofollow noreferrer ugc">vanilla#9867</a></li><li>Add format value validation to API endpoints. <a href="https://github.com/vanilla/internal/pull/2145" rel="nofollow noreferrer ugc">internal#2145</a></li><li>Move general functions with dependencies to new framework functions file. <a href="https://github.com/vanilla/vanilla/pull/9808" rel="nofollow noreferrer ugc">vanilla#9808</a></li><li>Add PHP 7.3 and 7.4 polyfills. <a href="https://github.com/vanilla/vanilla/pull/9806" rel="nofollow noreferrer ugc">vanilla#9806</a></li><li>Add a feature flag for legacy embed method. <a href="https://github.com/vanilla/vanilla-patches/pull/671" rel="nofollow noreferrer ugc">vanilla#671</a></li><li>Improve markdown list handling. <a href="https://github.com/vanilla/vanilla/pull/9549" rel="nofollow noreferrer ugc">vanilla#9549</a></li><li>Fix empty string assignment in <code class="code codeInline" spellcheck="false" tabindex="0">formatMentionsCallback</code>. <a href="https://github.com/vanilla/vanilla/pull/9567" rel="nofollow noreferrer ugc">vanilla#9567</a></li></ul><p><br></p> </article> </main>