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

implemented new page-loader animated icon #2

Merged
merged 1 commit into from
May 24, 2015
Merged

implemented new page-loader animated icon #2

merged 1 commit into from
May 24, 2015

Conversation

rcaferati
Copy link
Contributor

No description provided.

rcaferati added a commit that referenced this pull request May 24, 2015
implemented new page-loader animated icon
@rcaferati rcaferati merged commit 2136f1e into RocketChat:master May 24, 2015
engelgabriel pushed a commit that referenced this pull request Jun 28, 2015
merging Rocket.Chat master
engelgabriel added a commit that referenced this pull request Sep 6, 2015
Sing-Li added a commit that referenced this pull request Oct 14, 2015
@jmls jmls mentioned this pull request Jun 10, 2016
robertsoakes pushed a commit to GuruLabs/Rocket.Chat that referenced this pull request Oct 7, 2016
engelgabriel pushed a commit that referenced this pull request Jan 17, 2017
BobOnRails referenced this pull request in dbsystel/Rocket.Chat Mar 2, 2017
- bugfix: handle HEX -> Kanji Encoding
@kamushadenes kamushadenes mentioned this pull request Mar 13, 2017
kamushadenes added a commit to kamushadenes/Rocket.Chat that referenced this pull request Mar 13, 2017
Syirrus pushed a commit to Syirrus/Rocket.Chat that referenced this pull request Mar 21, 2017
…nto clarapy-v4

* 'develop' of https://github.com/RocketChat/Rocket.Chat: (32 commits)
  Update HISTORY.md
  Fix previous commits
  Fix coffee indentation
  Fix url links
  Update requests.js
  Solves issue RocketChat#3 by validating image domain
  Solves issue RocketChat#2 using CSP
  Make Integration scripts work with Sandstorm
  LingoHub Update 🚀
  fix RocketChat#6334
  Solves issue RocketChat#1 at user input
  Improvements to multiline codeblock parsing
  Keep LingoHub ident style for JSON translations
  Screen sharing doesn't flip anymore
  update stylelint
  Hotfix closes RocketChat#6300
  lint fix
  fix RocketChat#6226
  Simple ignores the custom audio from being loaded
  open shoud open a private channel to
  ...
engelgabriel pushed a commit that referenced this pull request Mar 21, 2017
engelgabriel pushed a commit that referenced this pull request Mar 22, 2017
Click the Allow Reacting option error
rodrigok pushed a commit that referenced this pull request Aug 22, 2017
rodrigok pushed a commit that referenced this pull request Jan 18, 2018
gdelavald pushed a commit that referenced this pull request Jan 20, 2018
…te (#2)

* Use a separate server for graphql subscriptions

* Fix an issue with channel creation in REST API
xbolshe referenced this pull request in xbolshe/Rocket.Chat Feb 11, 2018
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>
HappyTobi pushed a commit to HappyTobi/Rocket.Chat that referenced this pull request Jul 10, 2018
kb0304 pushed a commit to kb0304/Rocket.Chat that referenced this pull request Nov 28, 2018
MarcosSpessatto pushed a commit that referenced this pull request May 17, 2019
sudhirbitsgoa referenced this pull request in sudhirbitsgoa/Rocket.Chat Dec 17, 2019
dougfabris pushed a commit that referenced this pull request Nov 22, 2021
amolghode1981 added a commit that referenced this pull request Mar 16, 2022
…kup.com/t/22xdyn5

Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
casalsgh pushed a commit that referenced this pull request Mar 17, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
KevLehman pushed a commit that referenced this pull request Mar 18, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
AllanPazRibeiro pushed a commit that referenced this pull request Mar 18, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
AllanPazRibeiro pushed a commit that referenced this pull request Mar 18, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
AllanPazRibeiro pushed a commit that referenced this pull request Mar 18, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
sampaiodiego pushed a commit that referenced this pull request Mar 21, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
sampaiodiego pushed a commit that referenced this pull request Mar 21, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
sampaiodiego pushed a commit that referenced this pull request Mar 21, 2022
* Clickup task : https://app.clickup.com/t/25jwe53
Description : Whenever the user state is changed (Explicitly or automatically by the virtue of user's inactivity)
Voip component gets reloaded. Also during the reload of the page, the Voip component gets initialised multiple times, causing
multiple websockets opened to asterisk.
This happens because of the following facts:
1. The useEffect of useVoipClient, which creates the Voip component had user in its dependency list.
2. Whenever any user property changes, it would cause the useEffect to trigger and execute the entire initialisation of
voip component.
3. When state change happens, it triggers update on all the components. So OmnichannelCallToggleReady gets re-rendered, also useVoipClient causes reinitialisation (user state change).
4. Now, when the useEffect of OmnichannelCallToggleReady gets executed, voipClient.getRegistrarState(); value is not |registered| because the state change has caused reinitialisation
of voip component, which is not registered.
5. So again, the phone button value gets reset, the agent becomes unavailable.

Fix:
Even though the user state may change, user identity does not change. SIP client reinitialisation should happen only when userId changes.
So the fix is not to add the entire userObject in the dependency list of the useEffect of useVoipClient hook. Instead
1. Create a state userId.
2. Add another useEffect watching the user. Whenever user becomes available or any user change happens, update the userId
3. The useEffect which does the voip client initialisation, should have the userId in the dependency list.

When this is done, the Voip initialisation will happen only when userId changes.

* Clickup task : https://app.clickup.com/t/25jwe53
Description : Realised that we have useUserId hook. As we have this hook, removed the useEffect which
fetches the userId from user. Also removed the state. Instead added a constant userId.

* Clickup Tasks: https://app.clickup.com/t/25jwe53 and https://app.clickup.com/t/22xdyn5
Description :
Though this workspace was fix the first issue, it was realised that there are few other issues
which are dependent on this(Not all may have a clickup task associated).
This commit also fixes following :
1. Voip button does not get disabled when the user state changes. This happens because the user gets updated whenever the state change happens, this causes useVoipClient to reload
this reload causes the reinitialsation of voipUser which initialises the connection again.
2. PR #24752 : This PR fixes the icon display only when the extension associated with the user. This is also fixed as this was broken due to fix for #1. (THis was using user object, and we are now not using the user object directly in the useEffect for voipClient initialisation.
3. This fix broke the fact that whenever user gets associated with the agent, voip button gets active. But because we removed the use of user, This was broken too. This got fixed by the virtue of fixing #2, i.e using extension as a state.
4. Even though the association is deleted, agent was still receiving the call. This was because the SIP user was never unregistered and cleared when the association gets deleted. Fixed this issue by calling voipClient.stop() method. This would take care of unregistering if the UA is registered and then closing the webSocket.
ggazzo pushed a commit that referenced this pull request Dec 19, 2022
@dasouch dasouch mentioned this pull request May 2, 2023
Kishn0109 pushed a commit to Kishn0109/Rocket.Chat that referenced this pull request May 26, 2023
* add redhat dockerfile to master (RocketChat#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (RocketChat#10476)

* [FIX] Even TypeErrors with SAML (RocketChat#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (RocketChat#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (RocketChat#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Release 0.64.2 (RocketChat#10812)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (RocketChat#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (RocketChat#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (RocketChat#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (RocketChat#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (RocketChat#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (RocketChat#10705)

* [BREAK] Improvements to notifications logic (RocketChat#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (RocketChat#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (RocketChat#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (RocketChat#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (RocketChat#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (RocketChat#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (RocketChat#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (RocketChat#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Bump version to 0.64.2-rc.0

* Fix notifications for direct messages (RocketChat#10760)

* Add setting and expose prometheus on port 9100 (RocketChat#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (RocketChat#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (RocketChat#10779)

* Better metric for notifications (RocketChat#10786)

* Improvement to push notifications on direct messages (RocketChat#10788)

* Prometheus: Improve metric names (RocketChat#10789)

* Bump version to 0.64.2-rc.1

* [FIX] Not escaping special chars on mentions (RocketChat#10793)

* Regression: Fix wrong wizard field name (RocketChat#10804)

* Prometheus: Fix notification metric (RocketChat#10803)

* Regression: Autorun of wizard was not destroyed after completion (RocketChat#10802)

* Prometheus: Add metric to track hooks time (RocketChat#10798)

* Bump version to 0.64.2-rc.2

* Prevent setup wizard redirects (RocketChat#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Bump version to 0.64.2

* Bump version to 0.65.0-rc.0

* Bump version to 0.65.0-rc.1

* Bump version to 0.65.0-rc.2

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0

* Release 0.65.0 (RocketChat#10893)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (RocketChat#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (RocketChat#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (RocketChat#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (RocketChat#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (RocketChat#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (RocketChat#10705)

* [BREAK] Improvements to notifications logic (RocketChat#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (RocketChat#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (RocketChat#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (RocketChat#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (RocketChat#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (RocketChat#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (RocketChat#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (RocketChat#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Fix notifications for direct messages (RocketChat#10760)

* Add setting and expose prometheus on port 9100 (RocketChat#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (RocketChat#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (RocketChat#10779)

* Better metric for notifications (RocketChat#10786)

* Improvement to push notifications on direct messages (RocketChat#10788)

* Prometheus: Improve metric names (RocketChat#10789)

* [FIX] Not escaping special chars on mentions (RocketChat#10793)

* Regression: Fix wrong wizard field name (RocketChat#10804)

* Prometheus: Fix notification metric (RocketChat#10803)

* Regression: Autorun of wizard was not destroyed after completion (RocketChat#10802)

* Prometheus: Add metric to track hooks time (RocketChat#10798)

* Prevent setup wizard redirects (RocketChat#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Stop caching private settings (RocketChat#10625)

* [NEW] Add REST API endpoints `channels.setCustomFields` and `groups.setCustomFields` (RocketChat#9733)

* Add channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Delete unused `user` parameter
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add tests for channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Propogate setCustomFields to Subscriptions
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix semicolon
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [NEW] Add REST API endpoints `channels.counters`, `groups.counters and `im.counters` (RocketChat#9679)

* Add countVisibleByRoomIdBetweenTimestampsInclusive
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.counters, groups.counters, im.counters
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix spaces
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fixes
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix RocketChat#2
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix RocketChat#3
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.couters and groups.couters tests
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix tests, last message and unread message times
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix last message and unread message times for IM
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add im.counters test
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix for msgs=0
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [FIX] UI was not disabling the actions when users has had no permissions to create channels or add users to rooms (RocketChat#10564)

* hide plus icon when user doesn't have both permission for create-c and create-p

* add helper to checkout two permissions set initial value for the room type

* hide the plus icon in directory if user doesn't have both create-c and creat-p permissions

* get permissions for create channels and groups

* check if user can add channel hide and groups, hide button based upon correct state

* prevent add user button from being hidden when user has permission add user to joined room

* removed the if statement and use short hand if else syntax

* better code for disabling checkbox in create room feature if user doesn't have permission

* add missing simicolon

* put canShowAddUsersButton into seperate function call function in events and helpers

* move the canShowAddUsersButton function to define before it's called

* fix bug that prevents the viewing of the keyboard shortcuts button in groups and direct messages

* fix permissions

* Add verification to authorize get images with X-user-id and X-auth-token (RocketChat#10741)

* [FIX] Fix rest /me endpoint (RocketChat#10662)

[NEW] REST API endpoint `/me` now returns all the settings, including the default values

* Add REST endpoint to mark messages as unread (RocketChat#10778)

[NEW] Add REST endpoint `subscriptions.unread` to mark messages as unread

* [NEW] REST API endpoint `settings` now allow set colors and trigger actions (RocketChat#10488)

* edited settings-api to execute button event

* FIx identation and defer await

* removing the defer and waiting for the method to execute

* Add Rest endpoint to get username suggestion (RocketChat#10702)

* major dependencies update (RocketChat#10661)

* Remove old translations (RocketChat#10448)

* [FIX] disable/enable System Messages (RocketChat#10704)

[FIX] Missing option to disable/enable System Messages

* [NEW] View pinned message's attachment (RocketChat#10214)

* displays pinned file's attachments

* handles pin for replies and quotes

* fix review

* [FIX] Enabling "Collapse Embedded Media by Default" hides replies, quotes (RocketChat#10427)

[FIX] Enabling `Collapse Embedded Media by Default` was hiding replies and quotes

* [NEW] lazy load image attachments (RocketChat#10608)

[NEW] Lazy load image attachments

* Develop sync (RocketChat#10815)

* add redhat dockerfile to master (RocketChat#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (RocketChat#10476)

* [FIX] Even TypeErrors with SAML (RocketChat#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (RocketChat#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (RocketChat#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Bump version to 0.65.0-develop

* [NEW] Return the result of the `/me` endpoint within the result of the `/login` endpoint (RocketChat#10677)

* Add response of the /me endpoint to /login endpoint

* change underscore use to ES6 object destructuring

* The Livechat settings of the 'color' types  were not appearing correctly in the administrative area. (RocketChat#10612)

* [NEW] Enable/disable Livechat registration form fields (RocketChat#10584)

[NEW] Options to enable/disable each Livechat registration form field

* When a manager tried to send a message in a live room, an error was being displayed because there is no subscription for the manager. (RocketChat#10663)

[FIX] Livechat managers were not being able to send messages in some cases

* [NEW] Implement a local password policy (RocketChat#9857)

* Implement a local password policy

* Improve ValidatePasswordPolicy and create tests

* Validate user’s password on method saveUserProfile

* Fix typo PasswordPoliceClass

* Apps: Command Previews, Message and Room Removal Events (RocketChat#10822)

* Add message and room removal events for Apps, fix a few other issues

* First very rough draft of the slash command preview

* Add the command preview rest api and make the previews selectable via the keyboard

* Add loading i18n

* Remove duplicated toLowerCase()

* Bump version to 0.65.0-rc.0

* Update room.html (RocketChat#10715)

Fix working of cancel button in progress bar, while uploading file.

* [NEW] Add view-broadcast-member-list permission (RocketChat#10753)

[NEW] Add permission `view-broadcast-member-list`

* [FIX] Livechat sidebar using "Unread on Top" user preference (RocketChat#10734)

[FIX] User's preference `Unread on Top` wasn't working for LiveChat rooms

* Fix REST /me regression (RocketChat#10833)

Fix: Regression in REST API endpoint `/me`

* [FIX] Broadcast/ Read only issues (RocketChat#10835)

[FIX] Broadcast channels were showing reply button for deleted messages and generating wrong reply links some times

* Create temp folder if it doesn't exist (RocketChat#10837)

* Fix: Regression on users avatar in admin pages (RocketChat#10836)

* fix avatar admin lists

* Update messagePopup.js

* Bump version to 0.65.0-rc.1

* Fix: Clarify the wording of the release issue template (RocketChat#10520)

* Clarify the wording of the release issue template

* Update release.md

* Regression: Make settings `Site_Name` and `Language` public again (RocketChat#10848)

* Fix layout badge cutting on unread messages for long names (RocketChat#10846)

[FIX] Layout badge cutting on unread messages for long names

* [FIX] Missing pagination fields in the response of REST /directory endpoint (RocketChat#10840)

* Add missing pagination fields in the response of REST /directory endpoint

* Add support to choose sort field in REST directory

* Allow click on command previews and add setting to control apps enablement (RocketChat#10853)

* Regression: Fix email notification preference not showing correct selected value (RocketChat#10847)

* Fix email notification preference not showing correct selected value

Closes RocketChat#10844

* Save email notification preferences correctly

Closes RocketChat#10787

* Create room with user notification preferences

* Add back the uploaded file message on push notifications

* Bump version to 0.65.0-rc.2

* [FIX] The first users was not set as admin some times (RocketChat#10878)

* Fixed a typo on error message for push token API (RocketChat#10857)

Fix: typo on error message for push token API

* Adds flex-box to preview commands (RocketChat#10883)

* Fix: Regression Lazyload fix shuffle avatars (RocketChat#10887)

* fix avatar admin lists

* test to fix shuffle avatars

* LingoHub Update 🚀 (RocketChat#10886)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Manage apps layout (RocketChat#10882)

Fix: Manage apps layout was a bit confuse

* Fixed slackbridge (RocketChat#10875)

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0
janainaCoelhoRocketchat pushed a commit that referenced this pull request Aug 18, 2023
* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Release 0.64.2 (#10812)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Bump version to 0.64.2-rc.0

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* Bump version to 0.64.2-rc.1

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Bump version to 0.64.2-rc.2

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Bump version to 0.64.2

* Bump version to 0.65.0-rc.0

* Bump version to 0.65.0-rc.1

* Bump version to 0.65.0-rc.2

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0

* Release 0.65.0 (#10893)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Stop caching private settings (#10625)

* [NEW] Add REST API endpoints `channels.setCustomFields` and `groups.setCustomFields` (#9733)

* Add channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Delete unused `user` parameter
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add tests for channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Propogate setCustomFields to Subscriptions
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix semicolon
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [NEW] Add REST API endpoints `channels.counters`, `groups.counters and `im.counters` (#9679)

* Add countVisibleByRoomIdBetweenTimestampsInclusive
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.counters, groups.counters, im.counters
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix spaces
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fixes
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #2
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #3
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.couters and groups.couters tests
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix tests, last message and unread message times
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix last message and unread message times for IM
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add im.counters test
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix for msgs=0
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [FIX] UI was not disabling the actions when users has had no permissions to create channels or add users to rooms (#10564)

* hide plus icon when user doesn't have both permission for create-c and create-p

* add helper to checkout two permissions set initial value for the room type

* hide the plus icon in directory if user doesn't have both create-c and creat-p permissions

* get permissions for create channels and groups

* check if user can add channel hide and groups, hide button based upon correct state

* prevent add user button from being hidden when user has permission add user to joined room

* removed the if statement and use short hand if else syntax

* better code for disabling checkbox in create room feature if user doesn't have permission

* add missing simicolon

* put canShowAddUsersButton into seperate function call function in events and helpers

* move the canShowAddUsersButton function to define before it's called

* fix bug that prevents the viewing of the keyboard shortcuts button in groups and direct messages

* fix permissions

* Add verification to authorize get images with X-user-id and X-auth-token (#10741)

* [FIX] Fix rest /me endpoint (#10662)

[NEW] REST API endpoint `/me` now returns all the settings, including the default values

* Add REST endpoint to mark messages as unread (#10778)

[NEW] Add REST endpoint `subscriptions.unread` to mark messages as unread

* [NEW] REST API endpoint `settings` now allow set colors and trigger actions (#10488)

* edited settings-api to execute button event

* FIx identation and defer await

* removing the defer and waiting for the method to execute

* Add Rest endpoint to get username suggestion (#10702)

* major dependencies update (#10661)

* Remove old translations (#10448)

* [FIX] disable/enable System Messages (#10704)

[FIX] Missing option to disable/enable System Messages

* [NEW] View pinned message's attachment (#10214)

* displays pinned file's attachments

* handles pin for replies and quotes

* fix review

* [FIX] Enabling "Collapse Embedded Media by Default" hides replies, quotes (#10427)

[FIX] Enabling `Collapse Embedded Media by Default` was hiding replies and quotes

* [NEW] lazy load image attachments (#10608)

[NEW] Lazy load image attachments

* Develop sync (#10815)

* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Bump version to 0.65.0-develop

* [NEW] Return the result of the `/me` endpoint within the result of the `/login` endpoint (#10677)

* Add response of the /me endpoint to /login endpoint

* change underscore use to ES6 object destructuring

* The Livechat settings of the 'color' types  were not appearing correctly in the administrative area. (#10612)

* [NEW] Enable/disable Livechat registration form fields (#10584)

[NEW] Options to enable/disable each Livechat registration form field

* When a manager tried to send a message in a live room, an error was being displayed because there is no subscription for the manager. (#10663)

[FIX] Livechat managers were not being able to send messages in some cases

* [NEW] Implement a local password policy (#9857)

* Implement a local password policy

* Improve ValidatePasswordPolicy and create tests

* Validate user’s password on method saveUserProfile

* Fix typo PasswordPoliceClass

* Apps: Command Previews, Message and Room Removal Events (#10822)

* Add message and room removal events for Apps, fix a few other issues

* First very rough draft of the slash command preview

* Add the command preview rest api and make the previews selectable via the keyboard

* Add loading i18n

* Remove duplicated toLowerCase()

* Bump version to 0.65.0-rc.0

* Update room.html (#10715)

Fix working of cancel button in progress bar, while uploading file.

* [NEW] Add view-broadcast-member-list permission (#10753)

[NEW] Add permission `view-broadcast-member-list`

* [FIX] Livechat sidebar using "Unread on Top" user preference (#10734)

[FIX] User's preference `Unread on Top` wasn't working for LiveChat rooms

* Fix REST /me regression (#10833)

Fix: Regression in REST API endpoint `/me`

* [FIX] Broadcast/ Read only issues (#10835)

[FIX] Broadcast channels were showing reply button for deleted messages and generating wrong reply links some times

* Create temp folder if it doesn't exist (#10837)

* Fix: Regression on users avatar in admin pages (#10836)

* fix avatar admin lists

* Update messagePopup.js

* Bump version to 0.65.0-rc.1

* Fix: Clarify the wording of the release issue template (#10520)

* Clarify the wording of the release issue template

* Update release.md

* Regression: Make settings `Site_Name` and `Language` public again (#10848)

* Fix layout badge cutting on unread messages for long names (#10846)

[FIX] Layout badge cutting on unread messages for long names

* [FIX] Missing pagination fields in the response of REST /directory endpoint (#10840)

* Add missing pagination fields in the response of REST /directory endpoint

* Add support to choose sort field in REST directory

* Allow click on command previews and add setting to control apps enablement (#10853)

* Regression: Fix email notification preference not showing correct selected value (#10847)

* Fix email notification preference not showing correct selected value

Closes #10844

* Save email notification preferences correctly

Closes #10787

* Create room with user notification preferences

* Add back the uploaded file message on push notifications

* Bump version to 0.65.0-rc.2

* [FIX] The first users was not set as admin some times (#10878)

* Fixed a typo on error message for push token API (#10857)

Fix: typo on error message for push token API

* Adds flex-box to preview commands (#10883)

* Fix: Regression Lazyload fix shuffle avatars (#10887)

* fix avatar admin lists

* test to fix shuffle avatars

* LingoHub Update 🚀 (#10886)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Manage apps layout (#10882)

Fix: Manage apps layout was a bit confuse

* Fixed slackbridge (#10875)

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0
ManojaD2004 added a commit to ManojaD2004/Rocket.Chat that referenced this pull request Feb 5, 2024
implemented new page-loader animated icon
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.

None yet

1 participant