- Mar 30, 2022
-
-
Diego Sampaio authored
-
Filipe Marins authored
* fix: if not find room on subscription try on chatroom * refactor: remove aditional request and aadd rid * refactor: remove unsed async * fields -> projection * fix link to new users on spotlight Co-authored-by:
Pierre Lehnen <pierre.lehnen@rocket.chat>
-
Tasso Evangelista authored
* Upgrade Storybook * Replace `ts-loader` with `babel-loader` * Rearrange some stories * Rearrange some stories * Move `NotAuthorizedPage` * Rearrange some stories * Rearrange some stories * Rearrange some stories * Rearrange some stories * Rearrange some stories * Squashed commit of the following: commit f0cda61e Author: Tiago Evangelista Pinto <tiago.evangelista@rocket.chat> Date: Fri Mar 25 15:45:59 2022 -0300 fix review commit 4113ffb9 Author: Tiago Evangelista Pinto <tiago.evangelista@rocket.chat> Date: Thu Mar 24 17:34:48 2022 -0300 fix commit 82e14b6c Author: Tiago Evangelista Pinto <tiago.evangelista@rocket.chat> Date: Thu Mar 24 17:18:57 2022 -0300 fix * Rearrange some stories * Rearrange some stories * Improve `ServerProviderMock` with parameters * Expand story mocking capabilities * Move mocks * Fix lint issues
- Mar 29, 2022
-
-
Martin Schoeler authored
-
Diego Sampaio authored
This reverts commit f79e7eb5.
-
Matheus Barbosa Silva authored
-
Gerzon Z authored
-
- Mar 28, 2022
-
-
lingohub[bot] authored
Project Name: Rocket.Chat Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat User: Robot LingoHub Easy language translations with LingoHub
Co-authored-by:Robot LingoHub <robot@lingohub.com>
-
Yash Rajpal authored
* render Login Form on correct hash * remove log
-
- Mar 25, 2022
-
-
Diego Sampaio authored
-
Allan Ribeiro authored
-
- Mar 24, 2022
-
-
Matheus Barbosa Silva authored
[FIX] LDAP avatars being rotated according to metadata even if the setting to rotate uploads is off (#24320) Co-authored-by:
Pierre Lehnen <pierre.lehnen@rocket.chat>
-
Aaron Ogle authored
* Force name and email to string If its ever anything but a string. Like an array for example It borks the user list because of the aggregations done to bring in users * Removed force to string for email Downstream user creation logic handles this so its safe to let go as is * Log number of values received per attribute * Allow multiple emails Co-authored-by:
Pierre Lehnen <pierre.lehnen@rocket.chat>
-
- Mar 23, 2022
-
-
Martin Schoeler authored
-
eduardofcabrera authored
* White label stats * lint fix * Invites * Models Methods * Teams stats and 2fa stats * Users Created Stats * Import Fix * Import Fix 2 * team fix * moved to statistics.ts Co-authored-by:
Leonardo Ostjen Couto <leonardoostjen@gmail.com>
-
Diego Sampaio authored
-
Himanshu Malviya authored
-
Thomas Kurz authored
-
- Mar 22, 2022
-
-
Pierre Lehnen authored
* [FIX] `roles.delete` not properly checking if subscription based roles are being used * Improved typings * Added error message in development if a role scope is passed to a method that expects a scope value * Fix prettier rules * Replace role name by id in findUsersInRole * Fix Users In Role page * Fix role not available error * Fix Users in Role screen for users' custom roles * Check if role exists before adding to user * Fix Remove user from role * Fix roles _id field * Partial commit of changes * some changes * merge fixes * Replaces some names with ids * parseCSV util * ts * Changes from yesterday * api * Removed more roleNames * typo * roles.getUsersInRole * findUsersInRole * fixed import path * removeUserFromRoles * Removed comments * removed comment * migration * Imports * types * createOrUpdateProtectedRole * Removed DetailedError * tests * await server fresh install * Update server/lib/roles/updateRole.ts Co-authored-by:
Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com> * MeteorErrors * Display role name in UserInfo when description is not available * Migrate roleNames * syntax * syntax * Review fixes Co-authored-by:
Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com> Co-authored-by:
matheusbsilva137 <matheus_barbosa137@hotmail.com>
-
eduardofcabrera authored
* stats events api and engagement dashboard * Engagement Dashboard stats * Message Auditing * Jitsi Stats * otr stats * improvements * rewrite telemetry events * improved types and queries * telemetry events generics * otr stats update * auth required in telemetry endpoint * Update app/otr/client/rocketchat.otr.room.js Co-authored-by:
Pierre Lehnen <55164754+pierre-lehnen-rc@users.noreply.github.com> * fixed api calls * removed console.log() * lint * fixed more broken API calls * fixed types * incrementValueByID + moved OTR telemtry call from end() to acknoledge() * IStats update Co-authored-by:
Leonardo Ostjen Couto <leonardoostjen@gmail.com> Co-authored-by:
Pierre Lehnen <55164754+pierre-lehnen-rc@users.noreply.github.com>
-
Cauê Felchar authored
Co-authored-by:
Kevin Aleman <kaleman960@gmail.com>
-
Diego Sampaio authored
-
gabriellsh authored
-
Diego Sampaio authored
-
Diego Sampaio authored
-
Diego Sampaio authored
-
Diego Sampaio authored
Release 4.5.3
- Mar 21, 2022
-
-
Diego Sampaio authored
-
Guilherme Gazzo authored
-
Diego Sampaio authored
-
Kevin Aleman authored
-
Kevin Aleman authored
Co-authored-by:
Tiago Evangelista Pinto <tiago.evangelista@rocket.chat>
-
Tiago Evangelista Pinto authored
-
Kevin Aleman authored
* Standarize queue behavior for managers and agents when subscribing to department/public queues * Fix import * Remove task from comment
-
Kevin Aleman authored
-
Kevin Aleman authored
-
amolghode1981 authored
* 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 https://github.com/RocketChat/Rocket.Chat/pull/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.
-