Michael Telatynski
431ae32304
Reuse media content/info types from the js-sdk ( #12308 )
2024-03-11 09:30:00 +00:00
Travis Ralston
86b3564b54
Enable redirected media by default ( #12142 )
...
* Enable redirected media by default
See https://github.com/matrix-org/matrix-js-sdk/pull/4007
* Update the tests
* Update tests
* Update end-to-end tests too
* Update linkifier to use Media customisation endpoint
* Fix tests for new js-sdk behaviour
* Fix unchanged file
* Fix linkifier
* Fix lint
2024-02-11 07:32:57 +00:00
renovate[bot]
a0c8575113
Update dependency prettier to v3 ( #12095 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 18:56:39 +00:00
Michael Telatynski
5252361d1e
Migrate more strings to translation keys ( #11669 )
2023-09-26 13:04:17 +01:00
Michael Telatynski
c3574c2050
Switch to importing client from main js-sdk export ( #11370 )
2023-08-09 07:18:41 +00: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
9b5b053148
Use MatrixClientPeg::safeGet for strict typing ( #10989 )
2023-06-21 17:29:44 +01:00
Michael Telatynski
456c66db5b
Conform more of the codebase to strictNullChecks ( #10800 )
2023-05-10 08:41:55 +01:00
Michael Telatynski
daad630827
Conform more of the codebase to strictNullChecks
( #10602 )
...
* Conform more of the codebase to `strictNullChecks`
* Conform more of the codebase to `strictNullChecks`
* Fix types
2023-04-17 08:31:58 +01:00
Michael Telatynski
4574c665ea
Conform more code to strict null checking ( #10167 )
...
* Conform more code to strict null checking
* Delint
* Iterate PR based on feedback
2023-02-16 17:21:44 +00:00
Michael Telatynski
9743852380
Improve typescript null checking in places ( #10073 ( #10073
...
* Improve typescript null checking in places
* Iterate
* Fix Timer.ts
2023-02-03 15:27:47 +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
Michael Telatynski
8b54be6f48
Move from browser-request
to fetch
( #9345 )
2022-10-12 18:59:07 +01:00
Michael Telatynski
964c60d086
Apply corrections identified by SonarQube ( #8457 )
2022-05-03 22:04:37 +01:00
J. Ryan Stinnett
a9f35e8c69
Lint MXC APIs to centralise access
...
This adds linting rules to ensure that MXC APIs are only accessed via the
`Media` helper so they can be customised easily when desired.
Fixes https://github.com/vector-im/element-web/issues/16933
2021-06-30 14:19:39 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
058cbbbd0c
Fix imports
2021-06-18 16:13:55 +01:00
Michael Telatynski
915f8b3c9c
Scale all mxc thumbs using device pixel ratio for hidpi
...
as we are notoriously bad at doing it everywhere we ought to, like the TopLeftMenu avatar
2021-04-26 18:25:49 +01:00
Travis Ralston
8bc2356fd0
Fix crash on login when using social login
...
We weren't passing a matrix client through, and the peg wasn't set at this point. Just need to thread it through to the media endpoints.
Fixes https://github.com/vector-im/element-web/issues/16765
2021-03-25 22:22:43 -06:00
Travis Ralston
4ebd35f845
Remove unused functions
2021-03-10 12:32:18 -07:00
Travis Ralston
2a40bc87cc
Fix ResizeMethod usage
2021-03-10 12:32:18 -07:00
Travis Ralston
1ac12479ca
Convert cases of mxcUrlToHttp to new media customisation
2021-03-10 12:32:18 -07:00
Travis Ralston
93f7f13c44
Early proof of concept for media customization support
2021-03-10 12:32:18 -07:00