Andy Balaam
d3c0435446
Adept KnownMembership imports for new location in types
2024-03-18 14:43:08 +00:00
Andy Balaam
34559d2a89
Adapt Membership usage for the change to an enum KnownMembership
2024-03-18 14:43:08 +00:00
Stanislav Demydiuk
da99bad7b9
Introduce Membership type
2024-03-18 14:43:08 +00:00
Michael Telatynski
42ac873c55
Reset power selector on API failure to prevent state mismatch ( #12319 )
...
* Reset power selector on API failure to prevent state mismatch
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Allow onChange to be sync or async
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Add unmounted check
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-08 11:58:36 +00:00
Michael Telatynski
4d0d024e86
Migrate more strings to translation keys ( #11671 )
2023-09-26 18:35:55 +01:00
Michael Telatynski
f4d056fd38
Migrate more strings to translation keys ( #11651 )
2023-09-22 16:39:40 +01:00
Michael Telatynski
d77b871769
Migrate more strings to translation keys ( #11637 )
2023-09-21 09:11:26 +01:00
Michael Telatynski
85be845f16
Migrate more strings to translation keys ( #11532 )
2023-09-05 17:52:06 +01:00
Michael Telatynski
c40141cc4f
Align common_*
strings with Element X project in Localazy ( #11434 )
2023-08-22 18:47:33 +01:00
Michael Telatynski
ac70f7ac9b
Fix instances of double translation and guard translation calls using typescript ( #11443 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-08-22 16:32:05 +01:00
Michael Telatynski
033c600fa2
Switch to importing @types/{event,partials} from main js-sdk export ( #11369 )
2023-08-08 10:12:12 +00:00
Michael Telatynski
24703eea8f
Switch to importing models/event from main js-sdk export ( #11363 )
2023-08-07 08:24:58 +00:00
Michael Telatynski
e6af09e424
Switch to importing models/room-state & models/room-member from main js-sdk export ( #11362 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Switch to importing models/room-state & models/room-member from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix bad merge
2023-08-04 11:22:08 +00:00
Michael Telatynski
9c48487d85
Prefer MatrixClientContext over MatrixClientPeg ( #10986 )
2023-06-14 13:42:07 +01:00
Kerry
520659242b
Fix spacing regression in user settings - roles & permissions ( #10993 )
...
* add content container to settingsfieldset
* fix spacing
2023-05-28 22:20:44 +00:00
Kerry
4736f0e44c
Use semantic headings for room settings content ( #10734 )
...
* split SettingsSection out of SettingsTab, replace usage
* correct copyright
* use semantic headings in GeneralRoomSettingsTab
* use SettingsTab and SettingsSubsection in room settings
* fix VoipRoomSettingsTab
2023-05-02 21:14:36 +00:00
Kerry
223892bf0e
Bail out of RoomSettingsDialog
when room is not found ( #10662 )
...
* hack to fix console noise from unfaked timers and clearAllModals
* remove old debug logging in AsyncWrapper
* pass room to room settings tabs
* add errorboundary for roomsettingsdialog
* apply strictnullchecks to tabs/room
* dedupe code to set toom in roomsettingdialog
* add unit tests
* test SecurityRoomSettingsTab
* remove snapshot
* strict fixes
* more tests
* 2% more test coverage
* remove roomName from RoomSettingsDialogs state
2023-04-27 01:20:02 +00:00
Michael Telatynski
1c9ea423c9
Conform more code to strictNullChecks
( #10374 )
...
* Apply `strictNullChecks` to `src/components/views/room_settings/*`
* Restore tsconfig.json
* Conform more code to `strictNullChecks`
* Iterate
* Update matrix-widget-api
* Conform more code to `strictNullChecks`
2023-03-16 11:07:29 +00:00
Michael Telatynski
127a3b667c
Conform more of the codebase to strictNullChecks
( #10350
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Generics ftw
* Iterate
2023-03-10 14:55:06 +00:00
Michael Telatynski
e8b92b308b
Conform more code to strict null checking ( #10169 )
...
* Conform more code to strict null checking
* delint
* Iterate
* delint
* Fix bad test
2023-02-16 09:38:44 +00:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type
in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility
on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Marco Bartelt
95ac957fa4
add-privileged-users-in-room ( #9596 )
2022-12-08 12:40:31 +01:00
Michael Telatynski
ccfb455847
Fix power selector being wrongly disabled for admins themselves ( #9681 )
2022-12-01 09:49:46 +00:00
Michael Telatynski
e66027cd0c
Deduplicate string compare utility ( #9579 )
2022-11-15 10:20:36 +00:00
Šimon Brandner
5680d13acf
Handle missing Element Call brand
( #9376 )
2022-10-07 21:55:48 +02:00
Šimon Brandner
26a74a193f
Add Element Call room settings ( #9347 )
...
Co-authored-by: Robin <robin@robin.town>
2022-10-07 18:10:17 +00:00
Michael Weimann
0cc4f4e1bc
Add voice broadcast permissions ( #9284 )
...
* Add Voice Broadcast labs setting and composer button
* Implement strict typing
* Extend MessageComposer-test
* Extend tests
* Revert some strict type fixex
* Implement voice broadcast permissions
* Update variable casing
2022-09-19 06:42:29 +00:00
Michael Telatynski
3c5c2bef6d
Remove Piwik support ( #8835 )
...
* Remove all mentions of Piwik
* Kill off all consumer of the old Piwik Analytics module
* Simplify ModalManager interface
* i18n
* Attempt to fix old e2e tests
* Remove unused component
* Iterate PR
2022-06-14 17:51:51 +01:00
Jonas Platte
1afecc474f
Fix fallback value for missing invite power level ( #8335 )
...
The spec was recently amended to document that invites actually fall
back to a default of 0, rather than 50 (since this is what Synapse was
doing all along): https://github.com/matrix-org/matrix-spec/pull/1021
2022-04-15 10:29:41 -04:00
Travis Ralston
997d6d40bf
Step 1: Remove all usage of @replaceableComponent
2022-03-28 14:02:31 -06:00
Šimon Brandner
8f128ef0dc
Expose redaction power level in room settings ( #7599 )
2022-03-01 16:41:58 +00:00
Michael Telatynski
c257bc3f7a
Prefer RoomStateEvent.Update where possible as it fires far less ( #7878 )
2022-02-24 14:39:25 +00:00
Michael Telatynski
b0737b6e31
Throttle RoomState.members handlers ( #7876 )
2022-02-22 17:20:30 +00:00
Michael Telatynski
7fa01ffb06
Improve typing around event emitter handlers ( #7816 )
2022-02-22 12:18:08 +00:00
Michael Telatynski
f4a6219c88
Replace kick
terminology with Remove from chat
( #7469 )
2022-01-14 13:08:34 +00:00
Michael Telatynski
fdd0a2ada3
Add permission dropdown for sending reactions ( #7492 )
2022-01-10 11:35:41 +00:00
Travis Ralston
e4b96cff1f
Merge remote-tracking branch 'aaronraimist/sort-imports' into develop
2021-12-09 16:03:59 -07:00
Kerry
2e3f225520
Put room settings form elements in fieldsets ( #7311 )
...
* override default fieldset styles
Signed-off-by: Kerry Archibald <kerrya@element.io>
* SettingsFieldset component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test settings fieldset
Signed-off-by: Kerry Archibald <kerrya@element.io>
* refactor SettingsFlag styles
* use SettingsFieldset in room > securit settings
* use fieldset in urlpreviewsettings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use SettingsFieldset in AliasSettings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fieldset in room > roles settings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* css lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* run i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fussy order
Signed-off-by: Kerry Archibald <kerrya@element.io>
* default export
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix copyright headers
Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-09 18:44:22 +01:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Michael Telatynski
ca6feaad89
Expose PL control for pinned events when lab enabled ( #7278 )
2021-12-06 09:25:37 +00:00
Michael Telatynski
c2ab593816
Prevent custom power levels from breaking roles & permissions tab ( #7160 )
2021-11-19 10:08:57 +00:00
Michael Telatynski
155157dba1
Expose power level control for m.space.child ( #7120 )
2021-11-11 16:32:30 +00:00
Dariusz Niemczyk
5e73a212f4
Replace console.error with logger.error
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Šimon Brandner
24df63abd7
Improve typing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 09:09:21 +02:00
Michael Telatynski
558b292c25
Adapt and re-use the RolesRoomSettingsTab for Spaces
2021-09-10 09:41:58 +01:00
Michael Telatynski
f5630acea7
Adhere to better eslint rules
2021-07-23 10:35:10 +01:00