Notes de publication de Discourse 2.7.0.beta2

Nouvelles fonctionnalités dans 2.7.0.beta2

:warning: Reconstruction requise. La reconstruction mettra à jour les versions des paquets vers les dernières versions et doit être effectuée si le site n’a pas été reconstruit en ligne de commande au cours de la dernière semaine.

:warning: Mise à niveau de la version de la base de données. La reconstruction mettra à niveau la base de données de votre site vers PostgreSQL 13. Veuillez consulter PostgreSQL 13 update pour tous les détails, en particulier si vous utilisez un serveur avec des contraintes de stockage.

Ajout de l’anglais (Royaume-Uni) en tant que locale

Épelez-vous « defense » avec un « c » ? « Catalogue » avec un « ue » ? Mettez un « y » dans « tire » ou ajoutez un « u » à « color » ? Bonne nouvelle, Discourse prend désormais en charge l’anglais (Royaume-Uni). Alors profitez de vos vacances avec votre boisson gazeuse et votre biscuit, faites une course dans vos baskets, et installez-vous confortablement devant le feu dans votre appartement avec votre joli pull chaud. Moi, je vais essayer de comprendre ce que je viens de taper :smiley:.

Vous avez repéré quelque chose qui ne va pas dans une traduction ? Rendez-vous sur https://translate.discourse.org pour contribuer à l’anglais (Royaume-Uni) et à nos nombreuses autres langues.

Sélecteur de langue pour la personnalisation du texte du site

Auparavant, un administrateur devait s’assurer que la langue de son interface était définie sur la langue concernée dans son profil utilisateur avant de modifier l’un des textes de son site. Pour les communautés multilingues, cela pouvait entraîner des allers-retours excessifs entre son profil et les pages de personnalisation du texte. Nous incluons désormais un sélecteur de langue en haut de la page de personnalisation :

Mode « Ne pas déranger »

Le mode « Ne pas déranger » est arrivé ! Désactivez les notifications et les e-mails afin de vous concentrer sur ce sur quoi vous travaillez. Le mode « Ne pas déranger » peut être activé pour une période définie ou jusqu’au lendemain. Vous pouvez également configurer votre calendrier de notifications pour activer automatiquement le mode « Ne pas déranger » chaque jour. Cela peut être fait dans Préférences utilisateur → Notifications. Pour plus de détails, consultez Do not disturb mode.
image

Améliorations de l’accessibilité

Discourse a récemment subi un audit d’accessibilité « Lightning assessment ». Celui-ci a examiné les parties clés de Discourse pour s’assurer qu’elles respectent le niveau AA des directives d’accessibilité du contenu web. Des améliorations de Discourse basées sur cet audit ont été apportées et continueront de l’être au cours des prochaines versions bêta.

Utilisation de logo small pour l’avatar de l’utilisateur système

L’utilisateur système d’un site utilisera désormais le petit logo des paramètres du site au lieu de l’engrenage générique. Cela donne une apparence et une sensation plus spécifiques au site lorsque des actions système sont effectuées ou que des MP automatiques sont envoyés. Les sites souhaitant outrepasser cela peuvent désactiver le paramètre du site use_site_small_logo_as_system_avatar.

Activation de Onebox en ligne pour tous les domaines par défaut

Discourse prend depuis longtemps en charge Oneboxing. Collez un lien sur sa propre ligne et Discourse tentera d’extraire le logo du site, le titre et la description de la source du lien, ou affichera un aperçu de l’image liée ou du lecteur vidéo en ligne. Mais saviez-vous que Discourse prend également en charge le Oneboxing en ligne ? Collez un lien au sein d’un paragraphe et le lien sera automatiquement remplacé par le titre. Par exemple, collez https://en.wikipedia.org/wiki/Main_Page et il s’affichera sous forme de Wikipedia, the free encyclopedia.

Vue filtrée des réponses (optionnelle)

Désactivée par défaut, les sites peuvent activer le paramètre du site enable filtered replies view pour modifier la façon dont les réponses sont affichées dans le flux de publications. Lorsqu’elle est utilisée, le flux de publications est actualisé avec uniquement les réponses de la conversation actuelle marquées comme visibles.

Améliorations de la modération par groupe de catégories

Les modérateurs de catégories peuvent désormais modifier les titres des sujets, ainsi que lister/délistes les sujets.

Autres fonctionnalités notables

  • Autoriser la désactivation de la suppression automatique des publications
  • Remplacer -> par → lorsque le typographe Markdown est activé
  • Inclure le numéro de publication dans les titres Onebox en ligne
  • Augmenter la longueur maximale des mots surveillés de 50 à 100 caractères
  • Les utilisateurs non membres du personnel peuvent utiliser des brouillons partagés

Encore plus !

Mais attendez, il y a plus ! Nous faisons de notre mieux pour mettre en avant les nouvelles fonctionnalités et les changements pour vous, mais il y a toujours trop de changements à détailler. Pour une liste complète des nouvelles fonctionnalités, corrections de bugs, améliorations de l’UX, et plus encore, assurez-vous de consulter les Fonctionnalités et corrections supplémentaires listées ci-dessous.

30 « J'aime »

Plugin improvements

Many plugins

  • Bug fix
    • We’ve patched numerous bugs in many of our plugins
  • Translations
    • We’ve updated the translations in many of our plugins

GitHub

  • Improve contributors detection

Onebox

  • Support Instagram TV links
  • Display section title when URL contains fragment

WP Discourse

  • Now maintained by Angus and the Pavilion team
  • Use direct db r/w for values used and updated in publication logic
    • Adds get_post_meta_from_db and add_post_meta_to_db, which are direct substitutes for get_post_meta and add_post_meta that read and write directly to and from the db instead of using the wordpress object cache as first port of call.
    • Like the prior usage of add_post_meta, add_post_meta_to_db enforces uniqueness.
    • These new methods have only been applied to the meta value both used AND updated in the publish logic, i.e. discourse_post_id.
  • Update @wordpress/scripts to 12.1.0
  • State should not be initialized if postType is not allowed
  • Add option to enable/disable direct db usage
  • Formatting changes for the PHP codesniffer

Chat Integration

  • Add support for Webex Teams

Canned Replies

  • Hide hyperlink and calender buttons in editor

Assign

  • Show assigned user on search results

Code Review

  • Set API Key site setting as secret, requires click to display
  • Allow disablingt of automatic followup approval
  • Use default branch instead of ‘master’

Solved

  • Silently auto close solved topic

Subscriptions

  • Add coupon support

Additional Features and Fixes

Click to expand

New Features

  • Give user menu icons alt attributes
  • Support DISCOURSE_SMTP_FORCE_TLS option
  • Replace single dash arrows when the typographer is enabled.
  • Reason to reject user signup
  • IMAP detect spammed email and delete associated Discourse topic
  • Log when a group is deleted.
  • Add before-groups-index-container outlet
  • Warn admins when installing a theme that’s already installed
  • Disable post deletions by setting max_post_deletions to zero…
  • Add dash warning for using S3 without CDN
  • Introduce skip_auto_delete_reply_likes site setting
  • Explicitly ban outlier traffic sources in robots.txt
  • Special shortcut for searching for own posts
  • Adds support for the WEBP image format
  • Allow plugins to show custom HTML via renderTags
  • Allow plugins to preload custom data on search
  • Allow plugins to register demon processes
  • Allow IP anonymization via admin user controller API
  • Automatically disable slow mode.
  • Support for GitHub Codespaces development
  • Link to text customization when editing system badges
  • Adds back button to theme editor
  • Add after-topic-list-body plugin-outlet
  • Reviewed by filter.
  • Silently close topic

Bug Fixes

  • Embedded comments should only return regular posts
  • Show the fallback locale warning when both settings are enabled.
  • Change default for IncomingEmail#created_via to 0 (unknown) and make NOT NULL
  • I18n couldn’t find translations.
  • Allow max_redemptions_limit to be 1
  • Polish lang label
  • Don’t try to focus on a missing element
  • Support for single use invite links
  • Always show overriden colors filter
  • Remove rendering UX from ember models
  • Unescape emoji when pg headlines is used for search result blurb.
  • Do not email group user with user_private_message notification
  • Make sure login required skipped for confirm new email routes
  • CurrentUser was missing appEvents
  • Add Retry-Header to rate limited responses
  • Do not test bookmark rate limiter message
  • Do not process pop3 mails >` 1 week old
  • Add bookmark limits
  • Check for user presence before granting badge
  • Allow users to opt-out of using the site’s small logo as the system user avatar.
  • Acceptance/bookmarks test date issue
  • Make sure current user timezone is used for bookmark reminders from post dates
  • Remove migrate_from_s3 task that silently corrupts data
  • TopicTrackingState was initialized after Site
  • Url:refresh triggered when query params change
  • Stop incorrect emailing of group email from PostAlerter
  • Prevent users from converting the default theme to a component
  • IMAP post alerter race condition and code improvements
  • Render fancy title correctly in composer
  • Render topic fancy title in review queue
  • Make category change work with shared drafts
  • Prevents debouncing and query to override each other
  • Use ImageMagick to detect animated images
  • Safari iOS page title and url regression when sharing
  • Users can remove themselves from a PM even if they can still access it through a group.
  • Use the same time moment for related Redis calls in rate limiter
  • Sliding window end time in rate limiter
  • Make category slugs lowercase
  • Do not downsize or crop GIF images
  • Discobot exception when site_contact_username is promoted
  • Publish DND ends_at updates in httpdate format
  • Hiding a post should not trigger the duplicate check
  • Show unassigned component warning when installing multiple components successively
  • Reset theme install modal state on close
  • Hidden tags returned in extras of tags index json
  • Always truncate uncomplete emojis in excerpts
  • Broken emojis in topic excerpt
  • Do not include URL query in auto-generated CSP header
  • Don’t error topic RSS when posts are deleted
  • Don’t count HTML comments when calculating reply length.
  • Tab key should autocomplete like enter key does
  • Recurring was not working for some cases (eg: hours and unit >` 1)
  • Fix bg color of header on published page
  • Hide notification count on document title in Do Not Disturb
  • Validate type when picking an avatar.
  • Group SMTP email improvements
  • Inline Onebox should use encoding from Content-Type header when present
  • Prevents autocompoete of username to appear on right
  • Ensures defined expired_in is passed from write to write_entry
  • Correctly set scroll position when viewing a tag’s topic list.
  • Increase inventory lag for s3 to 2 days
  • Ensures recurring works when setting a start date in future
  • S3 CDN warning was showing wrong warning message
  • The title attribute of the diversity scales was incorrect
  • User destroyer spec
  • When the user is deleted anonymise category post
  • Show all topic statuses on full page search.
  • Use Redis replica host and port
  • Allow for final sigma in suggested usernames
  • Don’t enqueue imported users when there’re multiple custom fields.
  • Disallow zero-width and other non-printing characters in tags
  • Handle badge grant for deleted badge
  • Search topic title headline being truncated.
  • Missing PG topic title headline when pg headlines is enabled.
  • Autoplay videos must always be muted
  • Show restricted tags in bulk select
  • Re-run remove flag and queued post web hook migrations.
  • Make find_by_slug_path work with default slugs
  • Clear in-process theme cache after clearing DB cache
  • Missing default notification level on group creation
  • Scroll to the last position when navigating back to the tag topic list.
  • Bypass AnonymousCache for /srv/status route.
  • No email when the category is muted and mailing list is on
  • Do not forbid tags in /new-topic on mobile
  • Clear WordWatcher cache after topic_spec
  • Show quote replies when filtering
  • Show correct avatar in post stream bar
  • Users without shared drafts access can still have access to the category.
  • Make Oneboxer#apply insert block Oneboxes correctly
  • Show retina avatars on Chrome
  • Posts with Staff Colors were excluded from the group activity
  • Show ‘New’ filter when ‘none’ subcategory set
  • Normalize links by converting them to lower case
  • Build correct topic list filter
  • Logout redirect should only be /login for login_required sites
  • Use sql_fragment instead of sanitize_sql_array
  • notify_file_change was outputting a command to vim
  • Correct tracking when mute all categories
  • Don’t raise an error if a custom emoji image was deleted
  • Only block local edits for git-sourced themes
  • Prevent error when primary email is missing
  • Missing translation
  • Only cache reports with exceptions for 1 minute
  • Prevent usage of composer-action-undefined CSS class
  • Replace Vimeo iframes with a link in emails
  • Avoid clock skew issues when logging in with Google
  • Allow for cateogry edit routes of unknown depth
  • Remove custom ‘error’ action on build-category-route/discovery
  • Actually error when topic timer time is in the past
  • Removes extra slashes from URL
  • Generate correct prev and next topics page URL
  • Correct casing of whitelisted SVG elements
  • Restore dismissing the first notification
  • Local dates showed incorrect timezones with extra whitespace
  • Follow open in new tab site setting for bio links
  • Stop category 404s from breaking the router
  • Hide user id when hide_email_address_taken
  • Adjust reviewable menu placement on mobile
  • Include locale in cache key for not_found_topics
  • Use CDN for custom emojis
  • Group#flair_url must be a real URL
  • Do not replace smiling_face by slight_smile
  • Trigger an event when a post is bookmarked.
  • Stop using duplicate composer button ID
  • Correct link in the notification about moved post
  • Load .js files from plugins in qunit testing env
  • On invite redemption only update pending ReviewableUser record
  • URL encode tag name
  • Show/hide ignored users preferences
  • Don’t error-index category job when missing category

UX Changes

  • Fallback locale warning improvements.
  • Use uniform style for tag counts
  • Text customization for different languages.
  • Show a warning on the category edit page when category style is none and colors are disabled.
  • Stop attempts to convert the default theme to a component by removing button
  • Ellipsis hamburger menu link text when overflowing
  • Add space between links and text in labels
  • Improve color scheme choices in user prefs
  • Refactor topic list nav
  • Autocomplete suggestions should be unselected by default
  • Allow quick access profile content to scroll
  • Allows to copy/paste a list of | separated values in sk
  • Transition to edit URL when adding a category
  • Move do not disturb to profile panel
  • Text overflow user-{primary,secondary}-navigation
  • Move reply filter button on mobile
  • Adjust default menu width
  • Blend header colors
  • Don’t wrap menu text under icon
  • Add title attribute to watched word input
  • Make theme install modal more responsive
  • When input placeholders are too long, truncate with ellipsis
  • Remove timeline from print view, fix header in crawler view
  • Tweaks to filtered replies
  • Show required indication consistently on signup
  • Fix unreachable buttons on menus in Safari iOS
  • Add full date title to fps-result date
  • Makes sk components full width on users admin page
  • When requiring user fields at signup, also mark default fields as required
  • Fix invite checkbox width issue

Performance

  • Improve cook_url performance for topic thumbnails
  • Optimize homepage and topic performance
  • Add indexes to speed up profile pages
  • Run user merging task in a background job.
27 « J'aime »