Notas de lançamento do Discourse 2.4.0.beta8

Novos recursos na versão 2.4.0.beta8

Sinônimos de Tags

O Discourse agora suporta sinônimos de tags, bem como a mesclagem de tags. Tags semelhantes, erros comuns de digitação, gírias e muito mais podem agora ser combinados em uma única tag. Além disso, se a tag definida como sinônimo já existir, as tags serão mescladas automaticamente, com todos os tópicos sendo reetiquetados com a tag principal.

Melhorias no Gerenciamento de Temas

O sistema de temas do Discourse evoluiu tremendamente nas últimas versões. Componentes de tema foram introduzidos, permitindo que designers de sites criem um único design ou recurso que possa ser facilmente adicionado a qualquer tema existente por meio da interface do usuário. À medida que os sites crescem e mais temas e componentes são criados, pode tornar-se difícil lembrar de incluir cada componente em cada tema, e consumir muito tempo quando isso é lembrado.

Designers de sites agora podem facilmente adicionar um componente a um tema sem sair da página do componente do tema, bem como adicionar rapidamente um componente a todos os temas ativos. Os designers também podem facilmente adicionar todos os componentes ativos a um único tema, sem a necessidade de selecionar cada componente individualmente.

Observe que o recurso “adicionar tudo” adiciona apenas temas/componentes ativos. Se um tema ou componente não for usado por nenhum outro tema/componente, ele não será adicionado via “adicionar tudo”. Tais temas/componentes precisarão ser adicionados individualmente pelo menos uma vez primeiro.

Melhorias nas Enquetes

Dois novos recursos foram adicionados às enquetes do Discourse. Anteriormente, os resultados das enquetes eram exibidos como gráficos de barras. Agora, os criadores de enquetes também podem escolher uma exibição de gráfico de pizza. Observe que não é possível mostrar quem votou (votos públicos) com a exibição de gráfico de pizza.

Enquetes (gráficos de barras e de pizza) também podem agora ser exportadas rapidamente por administradores, diretamente da postagem. Ao exportar, os administradores recebem um CSV com os resultados completos da enquete, que podem então ser analisados conforme necessário. Observe que o plugin Data Explorer deve estar instalado e habilitado para que este recurso funcione.

Configuração de categoria suppress from latest removida

A opção “suppress from latest” permitia que administradores de sites removessem os tópicos de uma categoria da página inicial padrão do site, seja /latest, /categories ou outra. No entanto, esse recurso causou confusão para administradores e usuários quando os usuários alteravam sua preferência de página inicial. Também recebemos solicitações para ocultar categorias de forma mais completa, em vez de apenas na página inicial. Era também uma configuração de todo o site, então usuários que desejavam ver a categoria em sua página inicial não tinham opção para fazê-lo.

Todas as categorias definidas como suppress_from_latest serão automaticamente definidas como silenciadas para todos os usuários. Os usuários podem então escolher desativar o silêncio da categoria se preferirem vê-la em sua página inicial, bem como em outras visualizações dentro do Discourse. Além disso, uma nova configuração de site mute all categories by default foi adicionada para sites com um grande número de categorias, a maioria das quais eles não precisam que os usuários vejam por padrão. Quando mute all categories by default estiver habilitado, os administradores devem configurar as categorias nas configurações default_categories_tracking e default_categories_watching para substituir o silêncio e garantir que novos usuários vejam algo ao se cadastrar no site.

Nível de Confiança 2 PM

Usuários que atingem o TL2 (Nível de Confiança 2) agora receberão uma mensagem privada (PM) automática parabenizando-os pela promoção e incentivando-os a iniciar o tutorial para usuários avançados. Como todo texto no Discourse, esta PM pode ser personalizada pelos administradores conforme necessário.

E muito mais!

Mas espere, há mais! Fazemos o nosso melhor para destacar novos recursos e mudanças para você, mas sempre há muitas mudanças para detalhar. Destacamos alguns recursos novos abaixo, mas para uma lista completa de novos recursos, correções de bugs, melhorias de UX e muito mais, não deixe de revisar os Recursos e Correções Adicionais listados abaixo.

  • Suporte para colar uma lista de nomes de usuários em uma PM
  • Melhorar a descoberta de usuários suspeitos
  • Consolidar notificações de solicitação de associação a grupos
  • Limitar o número de sessões ativas para um usuário
  • Ocultar postagens de e-mails recebidos com base na decisão do DMARC
  • Melhorar o fluxo de trabalho de alteração de e-mail
  • Filtrar revisáveis por intervalo de datas
  • Dispensar novas postagens por categoria
  • Redirecionar automaticamente para o autenticador quando houver apenas um
  • Notificar observadores de tags quando uma tag for adicionada a uma postagem
37 curtidas

Plugin improvements

Akismet

  • Track Akismet state for users
  • Bug fixes

Encrypt

  • Bug fixes

Assign

  • Add support for sending emails only when assigned by a different user (no self-assign emails)
  • Support filtering review queue by assigned user
  • Bug fixes

BCC

Initial release. See:

Math

  • Update KaTeX render to v0.11.1

Translator

  • Add Vietnamese support with Microsoft translator

Solved

  • Bug fixes

Chat integration

  • Bug fix

Voting

  • Bug fix

Tooltips

  • Bug fix

Yearly Review

  • Misc improvements

SAML

  • Support for syncing moderator, trust level, and groups by SAML attribute
  • Support additional SAML configuration like frame width/height, button title, and more.

Onebox

  • Bug fixes

Calendar

  • Use new core timezone user option instead of plugin user option.

Data Explorer

  • Adds poll result query to support new core poll export feature
  • Bug fixes

Patreon

  • Bug fixes

Group Tracker

  • Bug fix

Code Review

  • Prefer newer topics over older when showing next unreviewed topic
  • Bug fixes

Policy

  • Bug fix

RSS Polling

  • Bug fix

Additional Features and Fixes

Click to expand

New Features

  • Add topic_filtered_posts_count attribute to web hook post serializer.
  • Add hidden setting to allow unsafe-eval in CSP
  • Plugin outlet adjacent to new topic btn
  • Make site texts controller handle pages and locales
  • Add timezone to core user_options
  • New API to apply custom filters to the review queue
  • Support RS256 algorithm for webauthn
  • Normalize the service worker route
  • Block screaming frog SEO spider by default
  • Introduce default application level rate limiting by IP
  • Allow scoping search to tag
  • Allow FinalDestination to use custom user agent for specific hosts

Bug Fixes

  • Keep ruby & rt tags in html to markdown conversion.
  • Secure Upload URLs in lightbox
  • BufferedValuesString.split is not a function
  • Prevents multiple jumps to happen with LockOn
  • Allow for nil upload record when migrating to S3
  • Ensures the element is on the page before scroll with lockon
  • Use filtered posts when determining the next page
  • Add a component to all themes takes only active ones
  • Move select components/themes to top
  • Improve defaultIsAvailable
  • Add filter(Boolean) and remove btn class
  • Inbound link when the only slug available
  • Don’t allow category slugs to be entirely digits
  • Respect enable_inline_emoji_translation setting in titles
  • Prepends whitespace when inserting via emoji picker
  • Linting
  • Filter readers avatars correctly when the post is a whisper
  • Call the right method
  • Guarantee order to correctly defer replies in review queue
  • 500 error for missing badge grouping
  • Hide pie legend when results are grouped
  • Poll pie container was too large
  • Do not autocomplete categories or emojis in code blocks
  • Generate redirect URL correctly when using a subdirectory
  • Handle none path correctly with three levels
  • Ensures censor has always at least an empty string to handle
  • Delay the ‘send_advanced_tutorial_message’ job to prevent race conditions
  • Optimize quoted images
  • Add a unique index to developers table
  • Fix typo
  • Make sure the suspended status is up to date
  • Adds data-topic-id to quick-access-item
  • Improvement after code review
  • Improvement after code review2
  • Use mapBy and filterBy directly
  • Make Google Groups scraper work for G Suite users
  • Cache failed onebox URL request server-side
  • Mark secure media upload insecure automatically if used for theme component
  • Serve crawler view to Google PageSpeed
  • Correctly ignore/approve replies when acting on a flagged post
  • Do not start the login flow when logging out from SSO/Authenticator
  • Use dedicated Vimeo onebox for all video types
  • Correctly resize lazy loaded images in Oneboxes
  • Correct hostname in vimeo.com
  • Bypass finaldestination check for Vimeo links.
  • Do not validate topic when resetting bumped_at
  • Show updated_at for invite sent date.
  • Draft not clearing when replying to new topic
  • Oneboxer.js infinitely retrying failed requests
  • Improves recurring by ensuring DST is computed correctly
  • Don’t error when the empty current value in dif
  • The build; ran prettier
  • Update site data when we receive a list of categories
  • Only trigger upload ACL update when needed
  • Show quoted images correctly.
  • Be more tactical with replacing markdown chars
  • Replace %20 with space in markdown file name for uploads
  • When dismissing category inform via MessageBus
  • Prevents exception and more duplicates
  • Prevents timezone to show duplicated zones in preview
  • Method names incorrect
  • Always return secure_proxy_without_cdn url for secure media
  • Remove uneeded from discourse loader
  • Aliases for require functioning
  • Allow private media uploads to be reused in login_required sites
  • Replace this.get(“foo”) with this.foo to fix linting checks
  • Followup to a8d58c3b
  • Handle german quotes in discourse local-dates
  • Mobile top topic list with a period and a category or tag
  • Do not log if an invalid mime type is passed to app
  • EventTarget error
  • Add skip_validations in one more place for narrative bot plugin
  • Allow advanced tutorial when title emojis are disabled
  • Use correct MIME type for theme exports
  • Abort CensoredWordsValidator early if censored_words_regexp nil
  • Amazon video oneboxes were not working.
  • Allow secure uploads if global s3 setting active and enable_s3_uploads validations
  • More Promise uses that were not imported
  • For a single authenticator, do not interrupt registration flow
  • Email excerpts for posts starting with a quote were displaying a username
  • Turn off auto bumping for topics with scheduled bumps
  • Parallel spec system needs needs a dedicated upload folder for each worker.
  • ‘default_categories_muted’ site setting not working for anonymous users.
  • Do not insert conflict rows into category user
  • Automatically recover from bad sprockets cache in development
  • Unable to remove required tag group from a category
  • Errors when using tags with colons in their name
  • Ensure load-more considers current position
  • Better handling of Group model state
  • Enter key should submit password reset form, not refresh the page
  • PM glyph in user-menu should always be shown to staff
  • We don’t need to refresh dates so often
  • Attempts to be correct about dst when using recurrence
  • A pmOnly tag should link to messages
  • Don’t error CleanUpInactiveUserJob when user is missing
  • Ensure revisions are made to store edit reasons and no reasons get wiped
  • Support for rake db:rollback with plugins
  • Include 5 participants in topic summary
  • Use this.content.category instead of this.category on navigation-item
  • Confirm new email with backup codes enabled
  • Don’t show bots as post readers
  • Revert mobile jump to last post behaviour
  • SVG Sprite version hash should be based on bundle result
  • Tag topic lists should pass on noSubcategories when building the top menu
  • Tracking Topic State know about category_seen_at
  • Need to require open-uri for discourse-narrative-bot plugin
  • Allow importing themes with subdirectories in extra_js
  • Missing User objects in Utilities
  • Failing tests
  • Missing braces
  • Computed is part of @ember/object not @ember/object/computed
  • Allow forceActive without a customHref
  • Do not strip nil string
  • Do not deactivate admin accounts with recent posts or api keys
  • Update quotes after moving posts
  • Topic lists filtered by tag and a specified filter don’t work
  • Tag and category watchers regression
  • Better error handling for invalid locale bundle versions
  • In case @ember/object hasn’t been loaded yet
  • Do not skip some emails in user search
  • Keep emoji images in group bio excerpt
  • More missing RSVP imports
  • Was using a native browser Promise instead of RSVP
  • Use correct class variable to get notification levels.
  • Remove magic numbers in notification levels.
  • Update api_key rake task for recent changes
  • Return a deprecation for Discourse.Session
  • Add deprecation for Discourse.NavItem in case themes are using it
  • Ran prettier to fix build
  • Alias modules that are required AND imported
  • Count current penalty if it started more than 6 months ago
  • Use ‘about.json’ endpoint instead of using ember model to get the data.
  • Badge and user title interaction fixes
  • Ensure enforce 2FA for staff satisfied by security keys
  • Drafts are unique by draft_key and user_id
  • Correct display of last used date in API key details UI
  • Prettier to fix build
  • Downcase SSO external email before checking against Discourse email
  • Include onebox default options in development environment
  • The internal position on the topic timeline is a scroll position
  • Regression not showing excerpts in mobile timeline
  • Use long version of month names in date formats
  • Unicode group names encoded for url
  • Too much blank padding in video oneboxes

UX Changes

  • Prevent scrollbars on initial panel load
  • Adjusts wizard step margins
  • Skip leading spaces in selection when adding a link.
  • Show group full name even when title is same.
  • Do not show shadow on hover images on touch devices
  • Show obvious message when backup restoration is disabled
  • Adds hover effect on lightboxed images
  • Rename ‘Hide results’ to ‘Show vote’ in polls
  • Set selected scale to 100% if scale is undefined
  • Make share icons consistent color for dark themes
  • Increase fade on long sign-up form content for more evident scroll
  • More obvious alt auth link
  • Allow enter key to submit test email in admin panel
  • Instead of total user count display only the count of users going to be affected.
  • Adds +n indicator in PM topic list
  • Add CSP documentation link to content_security_policy_script_src setting
  • Do not add leading/trailing spaces when copying API key in Firefox

Performance

  • Do fewer queries when converting posts.
  • Cache static assets in NGINX for longer
23 curtidas