Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVE] Filter markdown in notifications #9995

Merged
merged 9 commits into from
Apr 21, 2020

Conversation

c0dzilla
Copy link
Contributor

@c0dzilla c0dzilla commented Mar 3, 2018

@RocketChat/core

Closes #9979

This pr adds a filter to remove markdown tags from desktop/push notifications.

Example:

testingfilter

gives notification
filter_notification

@RocketChat RocketChat deleted a comment Mar 3, 2018
@RocketChat RocketChat deleted a comment Mar 3, 2018
@RocketChat RocketChat deleted a comment Mar 3, 2018
@RocketChat RocketChat deleted a comment Mar 3, 2018
@RocketChat RocketChat deleted a comment Mar 3, 2018
@c0dzilla c0dzilla force-pushed the markdown-filter branch 6 times, most recently from 1503b79 to b9601ba Compare March 5, 2018 19:11
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@RocketChat RocketChat deleted a comment Mar 5, 2018
@rodrigok rodrigok added this to the 3.0.0 milestone Dec 19, 2019
@c0dzilla c0dzilla force-pushed the markdown-filter branch 3 times, most recently from 37fc644 to d5ef312 Compare February 26, 2020 18:23
@rodrigok
Copy link
Member

@c0dzilla can you check the unit tests?

@c0dzilla
Copy link
Contributor Author

c0dzilla commented Mar 2, 2020

@rodrigok fixed the tests.

@engelgabriel engelgabriel modified the milestones: 3.0.0, 3.1.0 Mar 17, 2020
@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

@engelgabriel engelgabriel modified the milestones: 3.1.0, 3.2.0 Apr 20, 2020
app/markdown/lib/markdown.js Outdated Show resolved Hide resolved
app/markdown/lib/markdown.js Outdated Show resolved Hide resolved
app/markdown/lib/markdown.js Outdated Show resolved Hide resolved
@rodrigok rodrigok merged commit ead78d7 into RocketChat:develop Apr 21, 2020
gabriellsh added a commit that referenced this pull request Apr 22, 2020
…users_and_rooms

* 'develop' of github.com:RocketChat/Rocket.Chat: (29 commits)
  [FIX] 2FA not showing codes for Spanish translation (#17378)
  [NEW] [ENTERPRISE] Restrict the permissions configuration for guest users  (#17333)
  [NEW] Federation event for when users left rooms (#17091)
  [FIX] CSV Importer fails when there are no users to import (#16790)
  Import slack's mpims as direct rooms instead of private groups (#17206)
  [FIX] SAML Idp Initiated Logout Error (#17324)
  [NEW] Better Push and Email Notification logic (#17357)
  [NEW] Error page when browser is not supported (#17372)
  [NEW] [ENTERPRISE] Omnichannel queue priorities (#17141)
  [IMPROVE] Change the SAML metadata order to conform to XSD specification (#15488)
  [IMPROVE] Filter markdown in notifications (#9995)
  [IMPROVE] User gets UI feedback when message is pinned or unpinned (#16056)
  Remove set as alias setting (#16343)
  [IMPROVE] Add `file-title` and `file-desc` as new filter tag options on message search (#16858)
  [NEW]  Add ability to set tags in the Omnichannel room closing dialog (#17254)
  [FIX] Show active admin and user account menu item (#17047)
  [NEW] [ENTERPRISE] Allows to set a group of departments accepted for forwarding chats (#17335)
  [FIX] Prevent user from getting stuck on login, if there is some bad fname (#17331)
  [FIX] Remove properties from users.info response (#17238)
  Bump version to 3.1.1
  ...
@sampaiodiego sampaiodiego mentioned this pull request Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[IMPROVEMENT] Remove all markdown from Push Notification
8 participants