Skip to content

Conversation

@ggazzo
Copy link
Member

@ggazzo ggazzo commented Jan 28, 2020

No description provided.

@ggazzo ggazzo added this to the 3.0.0 milestone Jan 28, 2020
ggazzo and others added 3 commits January 29, 2020 09:58
…-presence-lazy

* 'develop' of github.com:RocketChat/Rocket.Chat:
  [FIX] Role tags missing - Description field explanation (#16356)
  Regression: Rate limiter was not working due to Meteor internal changes (#16361)
  [FIX] Invite links usage by channel owners/moderators (#16176)
  Fix assets download on CI (#16352)
  Regression: Fix set name to alias validation (#16347)
  Send build artifacts to S3 (#16237)
  [NEW] Create a user for the Apps during installation (#15896)
@ggazzo ggazzo changed the title [WIP] Get presence on demand [IMPROVE] Get presence on demand Feb 3, 2020
ggazzo and others added 6 commits February 3, 2020 20:05
…-presence-lazy

* 'develop' of github.com:RocketChat/Rocket.Chat:
  Regression: Fix sending a message not scrolling to bottom (#16451)
  LingoHub based on develop (#16450)
  [IMPROVE] Changes App user's status when the app was enabled/disabled (#16392)
  [IMPROVE] Log as info level when Method Rate Limiters are reached (#16446)
  Use GitHub Actions to store builds (#16443)
  [NEW] Sort the Omnichannel Chat list according to the user preferences (#16437)
  Regression: recent opened rooms being marked as read (#16442)
  [FIX] Option to make a channel default  (#16433)
  [NEW] Setting to only send plain text emails (#16065)
  fix group
  Regression: Fix status bar margins (#16438)
  [NEW] Check the Omnichannel service status per Department (#16425)
  [IMPROVE] Show more information related to the Omnichannel room closing data (#16414)
  Fix index creation for apps_logs collection (#16401)
  Revert message properties validation (#16395)
  [FIX] Rooms not being marked as read sometimes (#16397)
  Update apps engine to 1.12.0-beta.2496 (#16398)
  [FIX] Container heights (#16388)
  fix group messages
@sampaiodiego sampaiodiego changed the title [IMPROVE] Get presence on demand [IMPROVE] Request user presence on demand Feb 4, 2020
@sampaiodiego sampaiodiego merged commit ebda5ea into develop Feb 4, 2020
@sampaiodiego sampaiodiego deleted the user-presence-lazy branch February 4, 2020 21:13
gabriellsh added a commit that referenced this pull request Feb 5, 2020
…default-favorite-channels

* 'develop' of github.com:RocketChat/Rocket.Chat: (27 commits)
  [FIX] Missing edited icon in newly created messages (#16484)
  Regression: allow private channels to hide system messages  (#16483)
  Regression: Fix uikit modal closing on click (#16475)
  Regression: Fix undefined presence after reconnect (#16477)
  [FIX] Read Message after receive a message and the room is opened (#16473)
  [FIX] Send message with pending messages (#16474)
  Fix tests (#16469)
  Bump version to 3.0.0-develop
  [NEW] Button to download admin server info (#16059)
  Revert importer streamed uploads (#16465)
  [NEW] UiKit - Interactive UI elements for Rocket.Chat Apps (#16048)
  [FIX] Result of get avatar from url can be null (#16123)
  [IMPROVE] Request user presence on demand (#16348)
  [IMPROVE] Major overhaul on data importers (#16279)
  [BREAK] Filter System messages per room (#16369)
  Regression: Fix app user status change for non-existing user (#16458)
  [FIX] `stdout` streamer infinite loop (#16452)
  Regression: Fix sending a message not scrolling to bottom (#16451)
  LingoHub based on develop (#16450)
  [IMPROVE] Changes App user's status when the app was enabled/disabled (#16392)
  ...
@sampaiodiego sampaiodiego mentioned this pull request Feb 15, 2020
@ankar84
Copy link

ankar84 commented Feb 28, 2020

I learned about such an important innovation only from the YouTube video (so thankful for that!)
I am sure that such extremely important changes require descriptions that are as detailed as possible.
Thanks a lot, anyway!

@EionRobb
Copy link

Is there any way a client can subscribe to status changes after this change, or is it now completely polling-only?

@emikolajczak
Copy link

Hi
I have a question about parameter DISABLE_PRESENCE_MONITOR and this change in presence monitor.
Will statuses show correctly when I set DISABLE_PRESENCE_MONITOR on true.
I am asking beacues set DISABLE_PRESENCE_MONITOR on true cause lower CPU load and better performance of Rocket.Chat.

@sampaiodiego
Copy link
Member

they're not entirely related.. DISABLE_PRESENCE_MONITOR will prevent rocket.chat instances from monitoring (an updating) users's presence status.. while this PR just change how the client requests users' status from server.

in other words, if you use DISABLE_PRESENCE_MONITOR on all rocket.chat instances, all your users will appear as offline.

@ggazzo
Copy link
Member Author

ggazzo commented Apr 14, 2020

Is there any way a client can subscribe to status changes after this change, or is it now completely polling-only?

the realtime data still arrives from stream-notify-logged "eventName":"user-status" we just changed how much info we loaded by the first time

@codeneno
Copy link

@ggazzo does this work on 2.4.12?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants