-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/livechat-hide-system-messages
- Loading branch information
Showing
122 changed files
with
2,173 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@rocket.chat/meteor': patch | ||
--- | ||
|
||
Fixes an issue not allowing edit webhooks properly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
Fixed a problem that caused Business Hours feature (Multiple) to make bot agents not available when turning on the feature, and not making them available after that. Now, Business Hours will ignore Bot users, allowing admins to decide manually if a bot should be or not be active during a period of time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
Allowed upload of `lst` files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@rocket.chat/meteor': patch | ||
--- | ||
|
||
Don't use the registration.yaml file to configure Matrix Federation anymore. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
"@rocket.chat/livechat": patch | ||
--- | ||
|
||
Fixes issue where the livechat offline form would render even when disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
fix: Show always all rooms when requesting chat history, even unserved ones. A faulty condition caused an issue where chat history was only able to present either served or unserved chats at once, without a proper way to get both. Now, the Chat history feature will showcase all closed rooms for the requested visitor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
Introduced a new step to the queue worker: when an inquiry that's on an improper status is selected for processing, queue worker will first check its status and will attempt to fix it. | ||
For example, if an inquiry points to a closed room, there's no point in processing, system will now remove the inquiry | ||
If an inquiry is already taken, the inquiry will be updated to reflect the new status and clean the queue. | ||
|
||
This prevents issues where the queue worker attempted to process an inquiry _forever_ because it was in an improper state. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
apps/meteor/client/components/Contextualbar/Contextualbar.tsx
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
apps/meteor/client/components/Contextualbar/ContextualbarDialog.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { Contextualbar } from '@rocket.chat/fuselage'; | ||
import { useLayoutSizes, useLayoutContextualBarPosition } from '@rocket.chat/ui-contexts'; | ||
import type { ComponentProps, KeyboardEvent } from 'react'; | ||
import React, { useCallback, useRef } from 'react'; | ||
import type { AriaDialogProps } from 'react-aria'; | ||
import { FocusScope, useDialog } from 'react-aria'; | ||
|
||
import { useRoomToolbox } from '../../views/room/contexts/RoomToolboxContext'; | ||
|
||
type ContextualbarDialogProps = AriaDialogProps & ComponentProps<typeof Contextualbar>; | ||
|
||
/** | ||
* TODO: inside administration it should have a mechanism to display the contextualbar programmatically | ||
* @prop closeTab only work inside a room | ||
* */ | ||
const ContextualbarDialog = (props: ContextualbarDialogProps) => { | ||
const ref = useRef(null); | ||
const { dialogProps } = useDialog({ 'aria-labelledby': 'contextualbarTitle', ...props }, ref); | ||
const sizes = useLayoutSizes(); | ||
const position = useLayoutContextualBarPosition(); | ||
const { closeTab } = useRoomToolbox(); | ||
|
||
const callbackRef = useCallback( | ||
(node) => { | ||
if (!node) { | ||
return; | ||
} | ||
|
||
ref.current = node; | ||
node.addEventListener('keydown', (e: KeyboardEvent) => { | ||
if (e.key === 'Escape') { | ||
closeTab(); | ||
} | ||
}); | ||
}, | ||
[closeTab], | ||
); | ||
|
||
return ( | ||
<FocusScope autoFocus restoreFocus> | ||
<Contextualbar ref={callbackRef} width={sizes.contextualBar} position={position} {...dialogProps} {...props} /> | ||
</FocusScope> | ||
); | ||
}; | ||
|
||
export default ContextualbarDialog; |
9 changes: 9 additions & 0 deletions
9
apps/meteor/client/components/Contextualbar/ContextualbarTitle.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { ContextualbarTitle as ContextualbarTitleComponent } from '@rocket.chat/fuselage'; | ||
import type { ComponentProps } from 'react'; | ||
import React from 'react'; | ||
|
||
const ContextualbarTitle = (props: ComponentProps<typeof ContextualbarTitleComponent>) => ( | ||
<ContextualbarTitleComponent id='contextualbarTitle' {...props} /> | ||
); | ||
|
||
export default ContextualbarTitle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.