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

[stable21.1] Delete chat messages #5200

Closed
wants to merge 17 commits into from

Commits on Feb 19, 2021

  1. delete a message

    Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
    jakobroehrl authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    506e357 View commit details
    Browse the repository at this point in the history
  2. Add an endpoint to delete a message

    For now it only creates a system message
    
    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    fcd407d View commit details
    Browse the repository at this point in the history
  3. Trigger API request to delete a chat message when the button is pressed

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    566b669 View commit details
    Browse the repository at this point in the history
  4. Don't render the system message that someone deleted something

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    1668ca6 View commit details
    Browse the repository at this point in the history
  5. Post a system message when deleting a message

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    4354875 View commit details
    Browse the repository at this point in the history
  6. Render deleted chat messages differently

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    beaeae8 View commit details
    Browse the repository at this point in the history
  7. Don't remove message from store on deleting it but update it correctly

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    11f8e7d View commit details
    Browse the repository at this point in the history
  8. Allow to know when deleting might not be sufficient

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    2b412e1 View commit details
    Browse the repository at this point in the history
  9. Check max age on deleting

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    6425215 View commit details
    Browse the repository at this point in the history
  10. Show error/warning if deleting wasn't as successful

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    5ce7d5f View commit details
    Browse the repository at this point in the history
  11. Add a capability

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    1792c05 View commit details
    Browse the repository at this point in the history
  12. Add docs and restrict deleting to non-lobby and read-write chats

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    1c4ac98 View commit details
    Browse the repository at this point in the history
  13. Add integration tests for deleted messages

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    25fd37e View commit details
    Browse the repository at this point in the history
  14. Fix "you" for deleted chat messages

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    4f39db9 View commit details
    Browse the repository at this point in the history
  15. Don't allow replying to deleted messages

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    ce162ad View commit details
    Browse the repository at this point in the history
  16. Fix JS docs

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    ced9c34 View commit details
    Browse the repository at this point in the history
  17. Prevent deleting system messages and shares

    Signed-off-by: Joas Schilling <coding@schilljs.com>
    nickvergessen authored and backportbot[bot] committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    6c2bd48 View commit details
    Browse the repository at this point in the history