Skip to content
Snippets Groups Projects
  1. Nov 01, 2018
  2. Oct 29, 2018
  3. Oct 26, 2018
  4. Oct 17, 2018
  5. Oct 09, 2018
  6. Oct 03, 2018
  7. Sep 28, 2018
  8. Sep 27, 2018
  9. Sep 21, 2018
  10. Sep 20, 2018
  11. Sep 19, 2018
  12. Sep 11, 2018
  13. Sep 03, 2018
  14. Aug 21, 2018
  15. Aug 20, 2018
  16. Aug 17, 2018
  17. Aug 16, 2018
  18. Aug 15, 2018
  19. Aug 07, 2018
  20. Aug 02, 2018
  21. Aug 01, 2018
  22. Jul 20, 2018
    • フィンメーラ's avatar
      [NEW][BREAK] Message retention policy and pruning (#11236) · 829c5d1b
      フィンメーラ authored
      Closes #6749
      Closes #8321
      Closes #9374
      Closes #2700
      Closes #2639
      Closes #2355 
      Closes #1861
      Closes #8757
      Closes #7228
      Closes #10870
      Closes #6193 
      Closes #11299
      Closes #11468
      Closes #9317
      Closes #11300 (will incorporate a fix to this PR's issue)
      Closes #11046 (will incorporate a fix to this PR's issue)
      Contributes to #5944 
      Contributes to #11475
      _...and possibly more!_
      
      This PR makes deleting messages (automatically and manually) a lot easier on Rocket.Chat.
      
      - [X] Implement a bulk message deletion notification, to quickly push large message deletions to users without reload
        - [X] Use it in `rooms.cleanHistory`
        - [X] Use it in user deletions
      - [X] Completely remove cleanChannelHistory as required by v0.67
        - [X] Remove server method `cleanChannelHistory`
        - [X] Remove REST API `channels.cleanHistory`
      - [x] Implement a sidebar option to clean history
        - [x] Basic implementation
        - [x] Allow excluding pinned messages
        - [x] Allow attachment-only mode
        - [x] Allow specifying user(s) to narrow down to
          - [x] Also update REST API
          - [x] Also update docs
        - [x] Break the deletion into multiple different requests, so the client can keep track of progress
        - [x] Clear animation / progress bar for deleting
      - [x] Retention policy
        - [X] Global, set by admin
          - [X] Global timer that runs every second and deletes messages over the set limit
            - [X] Can change its timer's resolution to prevent insane CPU overhead
          - [X] Admin can decide what room types to target (channels, groups and/or DMs)
          - [X] Allow excluding pinned messages
          - [X] Allow attachment-only mode
        - [x] Per-channel, set by those with a new permission
          - [x] Disabled when master switch off
          - [x] Set in channel info
          - [x] Can override global policy with a switch that requires `edit-privileged-setting`
          - [x] Allow excluding pinned messages
          - [x] Allow attachment-only mode
          - [x] Uses same global timer for cleanup
        - [X] Message at start of channel history / in channel info if there is a retention policy set
        - [x] Message in channel info if there is a retention policy set on that channel specifically
      - [X] Make cleaning history also delete files (completely!)
        - [X] Manual purging
        - [X] Automatic purging
      - [x] Make other deletions also delete files
        - [x] User deletion
          - [X] Own messages
          - [x] DMs with them's partner messages
        - [x] Room deletion
      - [x] Cleanup
      - [x] Finish related [docs](https://github.com/RocketChat/docs/pull/815)
      - [x] Link to the docs in the settings
      
      Please suggest any cool changes/additions! Any support is greatly appreciated.
      
      **Breaking change:** This PR removes REST API endpoint `channels.cleanHistory` and Meteor callable `cleanChannelHistory` as per the protocol specified for them.
      
      ![bzzzzzzzz](https://user-images.githubusercontent.com/39674991/41799087-56d1dea0-7670-11e8-94c0-bc534b1f832d.png) 
      829c5d1b
  23. Jul 19, 2018
    • Tasso Evangelista's avatar
      [NEW] Room files search form (#11486) · 0306438e
      Tasso Evangelista authored
      * Keep only one PhotoSwipe gallery open
      
      * Refactor PhotoSwipe code
      
      * Handle preloading in PhotoSwipe
      
      * Use common fixCordova helper in uploadFilesList
      
      * Fix log helper
      
      * Fix the server-side handling of room_files collection
      
      * Improvements in uploadedFilesList
      
      * Adjust margins
      
      * Add file name filter for uploaded files
      
      * Add search form for uploaded files
      
      * Add missing translation key
      
      * Fix indentation in template
      
      * Add layout changes
      
      * Fix progressive loading in uploaded files list
      
      * Add rel="noopener noreferrer" to links in uploaded files list
      
      * Rename parameter
      
      * Handle image loading for PhotoShipe gallery
      
      * Show images in uploaded files list in PhotoSwipe gallery
      
      * Add escapeCssUrl helper
      
      * Escape thumbnail URL in uploaded files list
      
      * Force download on uploaded files list
      
      * Add a publication for uploaded files list with search text
      
      * Update roomFiles.js
      
      * Update roomFilesWithSearchText.js
      0306438e
  24. Jul 18, 2018
  25. Jul 11, 2018
  26. Jul 06, 2018
  27. Jul 04, 2018
  28. Jul 03, 2018
  29. Jun 25, 2018
Loading