snapshot of https://github.com/mattermost/mattermost.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Server CI / Postgres (shard 0) (push) Has been skipped
Server CI / Postgres (shard 3) (push) Has been skipped
BuildEnv Docker Image / build-image (push) Failing after 4s
BuildEnv Docker Image / build-image-fips (push) Failing after 4s
Migration Review & Release Notes / Generate migration review & release notes (push) Failing after 3s
Server CI / Build Environment (push) Failing after 3s
Server CI / Postgres (shard 1) (push) Has been skipped
Tools CI / check-style (mattermost-govet) (push) Failing after 4s
Server CI / Postgres (shard 2) (push) Has been skipped
Tools CI / check-style (mmgotool) (push) Failing after 3s
Server CI / Elasticsearch v8 Compatibility (push) Has been skipped
Server CI / OpenSearch v2 Compatibility (push) Has been skipped
Server CI / Postgres FIPS (shard 0) (push) Has been skipped
Tools CI / Test (mattermost-govet) (push) Failing after 3s
Server CI / Postgres FIPS (shard 1) (push) Has been skipped
Server CI / Postgres FIPS (shard 2) (push) Has been skipped
Tools CI / Test (mmgotool) (push) Failing after 3s
Server CI / Postgres FIPS (shard 3) (push) Has been skipped
Server CI / Run mmctl tests (push) Has been skipped
Server CI / Run mmctl tests (FIPS) (push) Has been skipped
Server CI / Merge Postgres Test Results (push) Has been skipped
Server CI / Merge Postgres FIPS Test Results (push) Has been skipped
Server CI / Check backport migrations (push) Has been skipped
Server CI / Check generated files (push) Has been skipped
Server CI / check-style (push) Has been skipped
Server CI / Vet API (push) Has been skipped
Server CI / Build mattermost server app (push) Has been skipped
Server CI / Server CI Complete (push) Failing after 2s
Server CI / Server CI Artifacts (push) Has been skipped
Server CI / Sentry Upload (push) Has been skipped
Server CI / Server CI Report (push) Failing after 5m1s
Server CI Nightly Race / Race Detector (push) Has been skipped
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Webapp CI Cache Warm / Warm Webapp node_modules Cache (push) Has been cancelled
E2E CI Cache Warm / Warm E2E npm Registry Cache (push) Has been cancelled
API / build (push) Has been cancelled
Web App CI / check-types (push) Has been cancelled
Web App CI / check-lint (push) Has been cancelled
Web App CI / check-i18n (push) Has been cancelled
Web App CI / check-external-links (push) Has been cancelled
Web App CI / test (platform) (push) Has been cancelled
Web App CI / test (mattermost-redux) (push) Has been cancelled
Web App CI / test (channels shard 1/4) (push) Has been cancelled
Web App CI / test (channels shard 2/4) (push) Has been cancelled
Web App CI / test (channels shard 3/4) (push) Has been cancelled
Web App CI / test (channels shard 4/4) (push) Has been cancelled
Web App CI / upload-coverage (push) Has been cancelled
Web App CI / build (push) Has been cancelled
YAML Lint / yamllint (push) Has been cancelled
Push mirrored docker images / cd/Push mirrored docker images (push) Has been cancelled
docs-cd / Build and deploy docs (push) Has been cancelled
Docs CI / build (push) Has been cancelled
E2E Cache Warm: Cypress deps / Warm Cypress deps cache (push) Has been cancelled
Scorecards supply-chain security / Scorecard analysis (push) Has been cancelled
Server CI Weekly / Postgres FIPS (push) Has been skipped
Server CI Weekly / Run mmctl tests (FIPS) (push) Has been skipped
Server CI Weekly / Postgres with binary parameters (push) Has been skipped
Server CI Weekly / Build Environment (push) Failing after 1s
Server CI Cache Warm / Warm Go Module and Build Cache (push) Failing after 2s
Server CI Nightly Race / Build Environment (push) Failing after 1s

This commit is contained in:
upstream-mirror
2026-09-16 00:29:55 +05:00
commit 240db4e2a7
15309 changed files with 2173406 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
diff --git a/node_modules/@types/react-bootstrap/lib/Dropdown.d.ts b/node_modules/@types/react-bootstrap/lib/Dropdown.d.ts
index 3711eed..664d607 100644
--- a/node_modules/@types/react-bootstrap/lib/Dropdown.d.ts
+++ b/node_modules/@types/react-bootstrap/lib/Dropdown.d.ts
@@ -22,7 +22,7 @@ declare namespace Dropdown {
role?: string | undefined;
}
- export type DropdownProps = Dropdown.DropdownBaseProps & React.HTMLProps<Dropdown>;
+ export type DropdownProps = Dropdown.DropdownBaseProps & Omit<React.HTMLProps<Dropdown>, "onToggle">;
}
declare class Dropdown extends React.Component<Dropdown.DropdownProps> {
diff --git a/node_modules/@types/react-bootstrap/lib/NavItem.d.ts b/node_modules/@types/react-bootstrap/lib/NavItem.d.ts
index 4f8ca4f..0f2855d 100644
--- a/node_modules/@types/react-bootstrap/lib/NavItem.d.ts
+++ b/node_modules/@types/react-bootstrap/lib/NavItem.d.ts
@@ -2,7 +2,7 @@ import * as React from "react";
import { SelectCallback, Sizes } from "react-bootstrap";
declare namespace NavItem {
- export interface NavItemProps extends React.HTMLProps<NavItem> {
+ export interface NavItemProps extends Omit<React.HTMLProps<NavItem>, "onToggle"> {
active?: boolean | undefined;
brand?: any; // TODO: Add more specific type
bsSize?: Sizes | undefined;
diff --git a/node_modules/@types/react-bootstrap/lib/Navbar.d.ts b/node_modules/@types/react-bootstrap/lib/Navbar.d.ts
index 748ca44..9699a40 100644
--- a/node_modules/@types/react-bootstrap/lib/Navbar.d.ts
+++ b/node_modules/@types/react-bootstrap/lib/Navbar.d.ts
@@ -6,7 +6,7 @@ import NavbarHeader = require("./NavbarHeader");
import NavbarToggle = require("./NavbarToggle");
declare namespace Navbar {
- export interface NavbarProps extends React.HTMLProps<Navbar> {
+ export interface NavbarProps extends Omit<React.HTMLProps<Navbar>, "onToggle"> {
brand?: any; // TODO: Add more specific type
bsSize?: Sizes | undefined;
bsStyle?: string | undefined;
diff --git a/node_modules/@types/react-bootstrap/lib/Panel.d.ts b/node_modules/@types/react-bootstrap/lib/Panel.d.ts
index 4f085a0..dace6ff 100644
--- a/node_modules/@types/react-bootstrap/lib/Panel.d.ts
+++ b/node_modules/@types/react-bootstrap/lib/Panel.d.ts
@@ -8,7 +8,7 @@ import PanelBody = require("./PanelBody");
import PanelFooter = require("./PanelFooter");
declare namespace Panel {
- export interface PanelProps extends TransitionCallbacks, React.HTMLProps<Panel> {
+ export interface PanelProps extends TransitionCallbacks, Omit<React.HTMLProps<Panel>, "onToggle"> {
bsClass?: string | undefined;
bsStyle?: string | undefined;
defaultExpanded?: boolean | undefined;

View File

@@ -0,0 +1,40 @@
diff --git a/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js b/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js
index 94a27b7..3337e2a 100644
--- a/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js
+++ b/node_modules/dom-accessibility-api/dist/accessible-name-and-description.js
@@ -442,7 +442,14 @@ function computeTextAlternative(root) {
var skipToStep2E = context.recursion && isControl(current) && compute === "name";
if (!skipToStep2E) {
var ariaLabel = ((0, _util.isElement)(current) && current.getAttribute("aria-label") || "").trim();
- if (ariaLabel !== "" && compute === "name") {
+
+ // @hmhealey I commented out the check below for `compute === "name"` because the current version of this library
+ // doesn't allow for one element's description to use another element's aria-label when that other element is in
+ // the first element's aria-describedby. Chrome and Firefox both support that, and based on my reading of
+ // https://www.w3.org/TR/accname-1.2/#computation-steps, step "2.4 AriaLabel" states that that should it should
+ // be supported. This is likely also why the current version of this library fails the
+ // accname/description_from_content_of_describedby_element-manual test from https://github.com/web-platform-tests/wpt.
+ if (ariaLabel !== ""/* && compute === "name"*/) {
consultedNodes.add(current);
return ariaLabel;
}
diff --git a/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs b/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
index 05f9ca6..8d37d55 100644
--- a/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
+++ b/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
@@ -437,7 +437,14 @@ export function computeTextAlternative(root) {
var skipToStep2E = context.recursion && isControl(current) && compute === "name";
if (!skipToStep2E) {
var ariaLabel = (isElement(current) && current.getAttribute("aria-label") || "").trim();
- if (ariaLabel !== "" && compute === "name") {
+
+ // @hmhealey I commented out the check below for `compute === "name"` because the current version of this library
+ // doesn't allow for one element's description to use another element's aria-label when that other element is in
+ // the first element's aria-describedby. Chrome and Firefox both support that, and based on my reading of
+ // https://www.w3.org/TR/accname-1.2/#computation-steps, step "2.4 AriaLabel" states that that should it should
+ // be supported. This is likely also why the current version of this library fails the
+ // accname/description_from_content_of_describedby_element-manual test from https://github.com/web-platform-tests/wpt.
+ if (ariaLabel !== ""/* && compute === "name"*/) {
consultedNodes.add(current);
return ariaLabel;
}

View File

@@ -0,0 +1,86 @@
diff --git a/node_modules/react-intl/lib/src/utils.js b/node_modules/react-intl/lib/src/utils.js
index 6a9aae8..b798c02 100644
--- a/node_modules/react-intl/lib/src/utils.js
+++ b/node_modules/react-intl/lib/src/utils.js
@@ -12,11 +12,6 @@ export function invariantIntlContext(intl) {
'<IntlProvider> needs to exist in the component ancestry.');
}
export var DEFAULT_INTL_CONFIG = __assign(__assign({}, CORE_DEFAULT_INTL_CONFIG), { textComponent: React.Fragment });
-var toKeyedReactNode = function (reactNode, key) {
- return React.isValidElement(reactNode)
- ? React.cloneElement(reactNode, { key: key })
- : reactNode;
-};
/**
* Builds an array of {@link React.ReactNode}s with index-based keys, similar to
* {@link React.Children.toArray}. However, this function tells React that it
@@ -25,14 +20,19 @@ var toKeyedReactNode = function (reactNode, key) {
* React doesn't recommend doing this because it makes reordering inefficient,
* but we mostly need this for message chunks, which don't tend to reorder to
* begin with.
+ *
*/
-export var toKeyedReactNodeArray = function (children) { var _a;
-/**
- * Note: {@link React.Children.map} will add its own index-based prefix to
- * every key anyway, so the auto-injected one doesn't even have to be unique.
- * This basically just tells React that it's explicit/intentional.
- */
-return (_a = React.Children.map(children, toKeyedReactNode)) !== null && _a !== void 0 ? _a : []; };
+export var toKeyedReactNodeArray = function (children) {
+ var childrenArray = React.Children.toArray(children);
+ return childrenArray.map(function (child, index) {
+ // For React elements, wrap in a keyed Fragment
+ // This creates a new element with a key rather than trying to add one after creation
+ if (React.isValidElement(child)) {
+ return React.createElement(React.Fragment, { key: index }, child);
+ }
+ return child;
+ });
+};
/**
* Takes a `formatXMLElementFn`, and composes it in function, which passes
* argument `parts` through, assigning unique key to each part, to prevent
diff --git a/node_modules/react-intl/src/utils.js b/node_modules/react-intl/src/utils.js
index 8ef8083..fd22455 100644
--- a/node_modules/react-intl/src/utils.js
+++ b/node_modules/react-intl/src/utils.js
@@ -19,11 +19,6 @@ function invariantIntlContext(intl) {
'<IntlProvider> needs to exist in the component ancestry.');
}
exports.DEFAULT_INTL_CONFIG = tslib_1.__assign(tslib_1.__assign({}, intl_1.DEFAULT_INTL_CONFIG), { textComponent: React.Fragment });
-var toKeyedReactNode = function (reactNode, key) {
- return React.isValidElement(reactNode)
- ? React.cloneElement(reactNode, { key: key })
- : reactNode;
-};
/**
* Builds an array of {@link React.ReactNode}s with index-based keys, similar to
* {@link React.Children.toArray}. However, this function tells React that it
@@ -32,14 +27,19 @@ var toKeyedReactNode = function (reactNode, key) {
* React doesn't recommend doing this because it makes reordering inefficient,
* but we mostly need this for message chunks, which don't tend to reorder to
* begin with.
+ *
*/
-var toKeyedReactNodeArray = function (children) { var _a;
-/**
- * Note: {@link React.Children.map} will add its own index-based prefix to
- * every key anyway, so the auto-injected one doesn't even have to be unique.
- * This basically just tells React that it's explicit/intentional.
- */
-return (_a = React.Children.map(children, toKeyedReactNode)) !== null && _a !== void 0 ? _a : []; };
+var toKeyedReactNodeArray = function (children) {
+ var childrenArray = React.Children.toArray(children);
+ return childrenArray.map(function (child, index) {
+ // For React elements, wrap in a keyed Fragment
+ // This creates a new element with a key rather than trying to add one after creation
+ if (React.isValidElement(child)) {
+ return React.createElement(React.Fragment, { key: index }, child);
+ }
+ return child;
+ });
+};
exports.toKeyedReactNodeArray = toKeyedReactNodeArray;
/**
* Takes a `formatXMLElementFn`, and composes it in function, which passes

View File

@@ -0,0 +1,30 @@
diff --git a/node_modules/react-overlays/cjs/Modal.js b/node_modules/react-overlays/cjs/Modal.js
index 2247ad0..51cdaba 100644
--- a/node_modules/react-overlays/cjs/Modal.js
+++ b/node_modules/react-overlays/cjs/Modal.js
@@ -218,9 +218,7 @@ var Modal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
if (keyboard && e.keyCode === 27 && modal.isTopModal()) {
onEscapeKeyDown == null ? void 0 : onEscapeKeyDown(e);
- if (!e.defaultPrevented) {
- onHide();
- }
+ onHide();
}
});
var removeFocusListenerRef = (0, _react.useRef)();
diff --git a/node_modules/react-overlays/esm/Modal.js b/node_modules/react-overlays/esm/Modal.js
index 42f79e4..1f43388 100644
--- a/node_modules/react-overlays/esm/Modal.js
+++ b/node_modules/react-overlays/esm/Modal.js
@@ -196,9 +196,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
if (keyboard && e.keyCode === 27 && modal.isTopModal()) {
onEscapeKeyDown == null ? void 0 : onEscapeKeyDown(e);
- if (!e.defaultPrevented) {
- onHide();
- }
+ onHide();
}
});
var removeFocusListenerRef = useRef();

View File

@@ -0,0 +1,22 @@
diff --git a/node_modules/redux-batched-actions/lib/index.d.ts b/node_modules/redux-batched-actions/lib/index.d.ts
index 4b47c65..eb172f7 100644
--- a/node_modules/redux-batched-actions/lib/index.d.ts
+++ b/node_modules/redux-batched-actions/lib/index.d.ts
@@ -3,7 +3,7 @@ import * as Redux from 'redux';
export declare type BatchActionType = 'BATCHING_REDUCER.BATCH';
export declare const BATCH: BatchActionType;
-export interface BatchAction {
+export interface BatchAction extends Redux.UnknownAction {
type: BatchActionType;
payload: Redux.Action[];
meta: {
@@ -11,7 +11,7 @@ export interface BatchAction {
}
}
-export declare function batchActions(actions: Redux.AnyAction[], type?: string): BatchAction;
+export declare function batchActions(actions: Redux.UnknownAction[], type?: string): BatchAction;
export declare function enableBatching<S>(reduce: Redux.Reducer<S>): Redux.Reducer<S>;