forked from element-hq/element-web
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add inline code formatting to rich text editor ([\element-hq#9720](matrix-org/matrix-react-sdk#9720)). * Add emoji handling for plain text mode of the new rich text editor ([\element-hq#9727](matrix-org/matrix-react-sdk#9727)). * Overlay virtual room call events into main timeline ([\element-hq#9626](matrix-org/matrix-react-sdk#9626)). Fixes element-hq#22929. * Adds a new section under "Room Settings" > "Roles & Permissions" which adds the possibility to multiselect users from this room and grant them more permissions. ([\element-hq#9596](matrix-org/matrix-react-sdk#9596)). Contributed by @GoodGuyMarco. * Add emoji handling for rich text mode ([\element-hq#9661](matrix-org/matrix-react-sdk#9661)). * Add setting to hide bold notifications ([\element-hq#9705](matrix-org/matrix-react-sdk#9705)). * Further password reset flow enhancements ([\element-hq#9662](matrix-org/matrix-react-sdk#9662)). * Snooze the bulk unverified sessions reminder on dismiss ([\element-hq#9706](matrix-org/matrix-react-sdk#9706)). * Honor advanced audio processing settings when recording voice messages ([\element-hq#9610](matrix-org/matrix-react-sdk#9610)). Contributed by @MrAnno. * Improve the visual balance of bubble layout ([\element-hq#9704](matrix-org/matrix-react-sdk#9704)). * Add config setting to disable bulk unverified sessions nag ([\element-hq#9657](matrix-org/matrix-react-sdk#9657)). * Only display bulk unverified sessions nag when current sessions is verified ([\element-hq#9656](matrix-org/matrix-react-sdk#9656)). * Separate labs and betas more clearly ([\element-hq#8969](matrix-org/matrix-react-sdk#8969)). Fixes element-hq#22706. * Show user an error if we fail to create a DM for verification. ([\element-hq#9624](matrix-org/matrix-react-sdk#9624)). * Prevent unnecessary m.direct updates ([\element-hq#9805](matrix-org/matrix-react-sdk#9805)). Fixes element-hq#24059. * Fix checkForPreJoinUISI for thread roots ([\element-hq#9803](matrix-org/matrix-react-sdk#9803)). Fixes element-hq#24054. * Load RTE components only when RTE labs is enabled ([\element-hq#9804](matrix-org/matrix-react-sdk#9804)). * Fix issue where thread panel did not update correctly ([\element-hq#9746](matrix-org/matrix-react-sdk#9746)). Fixes element-hq#23971. * Remove async call to get virtual room from room load ([\element-hq#9743](matrix-org/matrix-react-sdk#9743)). Fixes element-hq#23968. * Check each thread for unread messages. ([\element-hq#9723](matrix-org/matrix-react-sdk#9723)). * Device manage - handle sessions that don't support encryption ([\element-hq#9717](matrix-org/matrix-react-sdk#9717)). Fixes element-hq#23722. * Fix hover state for formatting buttons (Rich text editor) (fix element-hq/issues/23832) ([\element-hq#9715](matrix-org/matrix-react-sdk#9715)). * Don't allow group calls to be unterminated ([\element-hq#9710](matrix-org/matrix-react-sdk#9710)). * Fix replies to emotes not showing as inline ([\element-hq#9707](matrix-org/matrix-react-sdk#9707)). Fixes element-hq#23903. * Update copy of 'Change layout' button to match Element Call ([\element-hq#9703](matrix-org/matrix-react-sdk#9703)). * Fix call splitbrains when switching between rooms ([\element-hq#9692](matrix-org/matrix-react-sdk#9692)). * bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events ([\element-hq#9664](matrix-org/matrix-react-sdk#9664)). Fixes element-hq#17263. * Fix power selector being wrongly disabled for admins themselves ([\element-hq#9681](matrix-org/matrix-react-sdk#9681)). Fixes element-hq#23882. * Show day counts in call durations ([\element-hq#9641](matrix-org/matrix-react-sdk#9641)).
- Loading branch information
Showing
104 changed files
with
4,811 additions
and
4,768 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 |
---|---|---|
@@ -1,85 +1,90 @@ | ||
module.exports = { | ||
plugins: ["matrix-org"], | ||
extends: [ | ||
"plugin:matrix-org/babel", | ||
"plugin:matrix-org/react", | ||
], | ||
extends: ["plugin:matrix-org/babel", "plugin:matrix-org/react"], | ||
env: { | ||
browser: true, | ||
node: true, | ||
}, | ||
rules: { | ||
// Things we do that break the ideal style | ||
"quotes": "off", | ||
quotes: "off", | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
version: "detect", | ||
}, | ||
}, | ||
overrides: [{ | ||
files: [ | ||
"src/**/*.{ts,tsx}", | ||
"test/**/*.{ts,tsx}", | ||
"module_system/**/*.{ts,tsx}", | ||
], | ||
extends: [ | ||
"plugin:matrix-org/typescript", | ||
"plugin:matrix-org/react", | ||
], | ||
// NOTE: These rules are frozen and new rules should not be added here. | ||
// New changes belong in https://github.com/matrix-org/eslint-plugin-matrix-org/ | ||
rules: { | ||
// Things we do that break the ideal style | ||
"prefer-promise-reject-errors": "off", | ||
"quotes": "off", | ||
overrides: [ | ||
{ | ||
files: ["src/**/*.{ts,tsx}", "test/**/*.{ts,tsx}", "module_system/**/*.{ts,tsx}"], | ||
extends: ["plugin:matrix-org/typescript", "plugin:matrix-org/react"], | ||
// NOTE: These rules are frozen and new rules should not be added here. | ||
// New changes belong in https://github.com/matrix-org/eslint-plugin-matrix-org/ | ||
rules: { | ||
// Things we do that break the ideal style | ||
"prefer-promise-reject-errors": "off", | ||
"quotes": "off", | ||
|
||
// We disable this while we're transitioning | ||
"@typescript-eslint/no-explicit-any": "off", | ||
// We're okay with assertion errors when we ask for them | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
// We disable this while we're transitioning | ||
"@typescript-eslint/no-explicit-any": "off", | ||
// We're okay with assertion errors when we ask for them | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
|
||
// Ban matrix-js-sdk/src imports in favour of matrix-js-sdk/src/matrix imports to prevent unleashing hell. | ||
"no-restricted-imports": ["error", { | ||
"paths": [{ | ||
"name": "matrix-js-sdk", | ||
"message": "Please use matrix-js-sdk/src/matrix instead", | ||
}, { | ||
"name": "matrix-js-sdk/", | ||
"message": "Please use matrix-js-sdk/src/matrix instead", | ||
}, { | ||
"name": "matrix-js-sdk/src", | ||
"message": "Please use matrix-js-sdk/src/matrix instead", | ||
}, { | ||
"name": "matrix-js-sdk/src/", | ||
"message": "Please use matrix-js-sdk/src/matrix instead", | ||
}, { | ||
"name": "matrix-js-sdk/src/index", | ||
"message": "Please use matrix-js-sdk/src/matrix instead", | ||
}, { | ||
"name": "matrix-react-sdk", | ||
"message": "Please use matrix-react-sdk/src/index instead", | ||
}, { | ||
"name": "matrix-react-sdk/", | ||
"message": "Please use matrix-react-sdk/src/index instead", | ||
}], | ||
"patterns": [{ | ||
"group": ["matrix-js-sdk/lib", "matrix-js-sdk/lib/", "matrix-js-sdk/lib/**"], | ||
"message": "Please use matrix-js-sdk/src/* instead", | ||
}, { | ||
"group": ["matrix-react-sdk/lib", "matrix-react-sdk/lib/", "matrix-react-sdk/lib/**"], | ||
"message": "Please use matrix-react-sdk/src/* instead", | ||
}], | ||
}], | ||
// Ban matrix-js-sdk/src imports in favour of matrix-js-sdk/src/matrix imports to prevent unleashing hell. | ||
"no-restricted-imports": [ | ||
"error", | ||
{ | ||
paths: [ | ||
{ | ||
name: "matrix-js-sdk", | ||
message: "Please use matrix-js-sdk/src/matrix instead", | ||
}, | ||
{ | ||
name: "matrix-js-sdk/", | ||
message: "Please use matrix-js-sdk/src/matrix instead", | ||
}, | ||
{ | ||
name: "matrix-js-sdk/src", | ||
message: "Please use matrix-js-sdk/src/matrix instead", | ||
}, | ||
{ | ||
name: "matrix-js-sdk/src/", | ||
message: "Please use matrix-js-sdk/src/matrix instead", | ||
}, | ||
{ | ||
name: "matrix-js-sdk/src/index", | ||
message: "Please use matrix-js-sdk/src/matrix instead", | ||
}, | ||
{ | ||
name: "matrix-react-sdk", | ||
message: "Please use matrix-react-sdk/src/index instead", | ||
}, | ||
{ | ||
name: "matrix-react-sdk/", | ||
message: "Please use matrix-react-sdk/src/index instead", | ||
}, | ||
], | ||
patterns: [ | ||
{ | ||
group: ["matrix-js-sdk/lib", "matrix-js-sdk/lib/", "matrix-js-sdk/lib/**"], | ||
message: "Please use matrix-js-sdk/src/* instead", | ||
}, | ||
{ | ||
group: ["matrix-react-sdk/lib", "matrix-react-sdk/lib/", "matrix-react-sdk/lib/**"], | ||
message: "Please use matrix-react-sdk/src/* instead", | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}, | ||
}, { | ||
files: [ | ||
"test/**/*.{ts,tsx}", | ||
], | ||
rules: { | ||
// We don't need super strict typing in test utilities | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/explicit-member-accessibility": "off", | ||
{ | ||
files: ["test/**/*.{ts,tsx}"], | ||
rules: { | ||
// We don't need super strict typing in test utilities | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/explicit-member-accessibility": "off", | ||
}, | ||
}, | ||
}], | ||
], | ||
}; |
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.