Michael Telatynski
88cd2f8af7
Fix unfocused paste handling and focus return for file uploads ( #7625 )
2022-01-26 09:04:19 +00:00
Michael Telatynski
cdbe59900c
Fix offscreen canvas breaking with split-brained firefox support ( #7440 )
2022-01-04 08:57:35 +00:00
Michael Telatynski
c96b9413e7
Update Typescript to 4.5 ( #7344 )
2021-12-13 11:22:53 +00:00
Travis Ralston
e4b96cff1f
Merge remote-tracking branch 'aaronraimist/sort-imports' into develop
2021-12-09 16:03:59 -07:00
Germain
cba92c0e90
Remove unused return ( #7321 )
2021-12-09 17:33:00 +00:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Germain
f2fee53a0e
Allow stickers to be sent in a Thread ( #7267 )
2021-12-03 08:22:13 +00:00
Germain
392c4ad8d9
Make local echo work for threads ( #7157 )
2021-11-24 08:40:15 +00:00
Germain
801eb068d6
Make attachments uploadable to a thread ( #7064 )
2021-11-03 08:43:24 +00:00
Michael Telatynski
82807434b8
Remove redundant duplicate mimetype field which doesn't conform to spec ( #7045 )
2021-10-28 09:40:38 +01:00
Dariusz Niemczyk
5290afcc4c
Replace console.warn with logger.warn
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02: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
Dariusz Niemczyk
2d1d42b90e
Globally replace all console.logs via codemod ( #6827 )
...
This commit replaces all the `console.log` to `logger.log` via an automated script.
Related: vector-im/element-web#18425
2021-09-21 09:48:09 -06:00
Travis Ralston
21e33362e5
Add config option to turn on in-room event sending timing metrics
...
This is intended to be hooked up to an external system.
Due to the extra events and metadata concerns, this is only available if turned on from the config.
See `sendTimePerformanceMetrics.ts` for event schemas.
2021-09-08 11:28:19 -06:00
Michael Telatynski
980b284642
Fix image & blurhash info when skipping thumbnail due to thresholds
2021-08-05 13:12:01 +01:00
Michael Telatynski
99adbfd1ea
Skip sending a thumbnail if it is not a sufficient saving over the original
2021-08-05 13:04:20 +01:00
Michael Telatynski
ce78cdf4ad
Conform to new react and typescript eslint rules
2021-07-19 22:43:11 +01:00
Michael Telatynski
59a1df71c8
remove redundant Promise.all
2021-07-13 17:05:57 +01:00
Michael Telatynski
bbd785b158
Move blurhashing into a Worker and use OffscreenCanvas where possible for thumbnailing
2021-07-13 16:57:40 +01:00
Michael Telatynski
bd175c6f40
Improve and consolidate typing
2021-07-10 15:43:46 +01:00
Šimon Brandner
68d194444a
FocusComposer -> FocusSendMessageComposer
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-08 17:36:31 +02:00
Michael Telatynski
06d589d769
Lower number of blurhash components and apply image ratio to it
2021-07-07 19:43:12 +01:00
Šimon Brandner
be4c29b27c
Revert some changes due to them breaking Element
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-03 08:50:45 +02:00
Šimon Brandner
a4fe2f143f
First batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-02 12:12:41 +02:00
Michael Telatynski
1f337b28ac
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into travis/blurhash
...
Conflicts:
src/ContentMessages.tsx
src/components/structures/UploadBar.tsx
src/components/views/messages/MImageBody.js
src/components/views/messages/MStickerBody.js
src/components/views/messages/MVideoBody.tsx
2021-07-01 20:48:34 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Travis Ralston
cb0d2a2c4f
Encrypt the voice message file if needed
...
Fixes https://github.com/vector-im/element-web/issues/17729
"oops, should have done that"
2021-06-25 13:54:05 -06:00
Michael Telatynski
660a849cdd
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into travis/blurhash
...
Conflicts:
package.json
src/ContentMessages.tsx
yarn.lock
2021-06-15 12:58:29 +01:00
Germain Souquet
84679cf8ec
remove legacy polyfills and unused dependencies
2021-06-11 12:19:14 +01:00
Travis Ralston
c9883f346c
Build pass 1
2021-06-01 22:21:04 -06:00
Michael Telatynski
dbca9b4625
use const for blurhash field
2021-05-21 21:19:41 +01:00
Michael Telatynski
254697644e
Fix video thumbnailer
2021-05-21 21:04:36 +01:00
Michael Telatynski
3ed421dacf
Tweak blurhash size
2021-05-21 21:04:22 +01:00
Michael Telatynski
6672cbcf80
fix typo
2021-05-21 15:29:17 +01:00
Michael Telatynski
8368b86440
Wire up local blurhash encoding
2021-05-21 14:52:27 +01:00
Michael Telatynski
c21445c406
switch from MatrixClientPeg in ContentMessages for consistency
2021-05-20 13:23:17 +01:00
Michael Telatynski
bf01ebae6d
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into travis/blurhash
...
Conflicts:
package.json
src/components/views/messages/MImageBody.js
yarn.lock
2021-05-18 13:48:40 +01:00
Travis Ralston
bb80cfb9a6
Convert all of file uploads to the new dispatcher
2021-03-05 13:20:50 -07:00
J. Ryan Stinnett
84b1f2e6c6
Resolve typing errors after TypeScript upgrade
2021-01-27 12:42:37 +00:00
Michael Telatynski
c3a355097d
Initial Countly work
2020-10-29 15:57:16 +00:00
Michael Telatynski
17ed333beb
Replace extend with Object.assign
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:36:40 +01:00
Michael Telatynski
9ba33c7f80
Fix eslint ts override tsx matching and delint
2020-08-29 01:11:08 +01:00
Travis Ralston
53db386731
Add support for blurhash (MSC2448)
...
MSC: https://github.com/matrix-org/matrix-doc/pull/2448
While the image loads, we can show a blurred version of it (calculated at upload time) so we don't have a blank space in the timeline.
2020-08-10 22:07:19 -06:00
Michael Telatynski
e54eea0c51
Merge pull request #4956 from matrix-org/t3chguy/ts/1
...
Convert Modal to TypeScript
2020-07-21 17:55:20 +01:00
Jorik Schellekens
4ba1f91a2b
Fix lint issues in new code
2020-07-20 20:43:55 +01:00
Jorik Schellekens
c3ffbdbdbc
Fix naming format errors
2020-07-20 20:02:21 +01:00
Michael Telatynski
209c350132
Fix typing
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 00:19:15 +01:00
Jorik Schellekens
7699aafcaf
Use new eslint package- fix lint issues in ts and js
2020-06-23 17:01:19 +01:00
Travis Ralston
1f1f613777
Add a focus_composer dispatcher action
...
and use it
2020-06-02 19:07:46 -06:00
Michael Telatynski
19e8fa01f2
use import instead of getComponent
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-01 17:05:53 +01:00