Commit Graph

94 Commits

Author SHA1 Message Date
Michael Telatynski 7033f8696a Improve typing (#7349) 2021-12-14 15:34:54 +00:00
Michael Telatynski c96b9413e7 Update Typescript to 4.5 (#7344) 2021-12-13 11:22:53 +00:00
Michael Telatynski aa7cae08aa Add utility method mxLoginWithAccessToken to login with existing access token (#7261) 2021-12-02 13:46:44 +00:00
Michael Telatynski 5ad3261cb2 Implement more meta-spaces (#7077) 2021-11-11 13:07:41 +00:00
James Salter 8170697bbf Add a global mxSendSentryReport so we can debug sentry from the console (#7042) 2021-10-27 13:05:58 +00:00
Šimon Brandner ff30dacc84 Convert theme to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:41:08 +02:00
Šimon Brandner 6adf762569 Convert Skinner to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:41:08 +02:00
Šimon Brandner b6fc10b65e Merge remote-tracking branch 'upstream/develop' into task/rageshake-ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 09:56:09 +02:00
Šimon Brandner af9429c8a0 Convert ActiveWidgetStore to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 19:57:02 +02:00
Šimon Brandner 2584b5bc6b Convert rageshake to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 16:53:43 +02:00
Šimon Brandner 2f1ee610d9 Use source id directly
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-02 14:27:55 +02:00
Šimon Brandner 7ae9f3d1ae Remove Element-specifc screen-sharing code out of the js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:45:13 +02:00
Dariusz Niemczyk 44b8bace47 Merge branch 'develop' into fix/15142/fix-grecaptcha-race-condition
* develop: (141 commits)
  delint
  Doc some values
  Remove useless image reference
  Revert accidental renaming of dispatcherRef
  Fix event highlighthing
  Move some code around for clarity
  Constrain emoji skins type even further
  Delint
  i18n irc and fix lint from merge conflict
  Remove unwanted coma in EventTile
  fix three lints
  lint fix
  not sure how these happened :/
  remove unused prop
  Update eslint-plugin-matrix-org
  Fix placeholder centering
  Make emoji skins type more specific
  Rename some variables since their purpose has changed
  Conform to new react and typescript eslint rules
  Apply code review suggestions
  ...
2021-07-20 17:33:05 +02:00
Michael Telatynski ce78cdf4ad Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
Dariusz Niemczyk 9e9992078b Update src/@types/global.d.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-07-19 16:34:07 +02:00
Dariusz Niemczyk c2394b9161 Fix styling comments 2021-07-19 16:27:39 +02:00
Dariusz Niemczyk 9de5ebd4de Fix grecaptcha throwing useless error sometimes 2021-07-19 15:41:44 +02:00
Michael Telatynski d3652996d6 Convert FontManager to TS 2021-07-12 20:45:19 +01:00
Michael Telatynski 318a68e761 Update Modernizr and stop it from polluting classes on the html tag 2021-07-09 11:49:05 +01:00
Germain Souquet e7743e2a57 Migrate RoomScrollStateStore to TypeScript 2021-07-03 12:21:00 +01:00
Michael Telatynski cecf0ce299 Convert MessagePanel, TimelinePanel, ScrollPanel, and more to Typescript 2021-06-22 20:41:26 +01:00
Michael Telatynski dda4c8ec4c Move Promise::allSettled typing from react-sdk to js-sdk 2021-06-21 21:04:29 +01:00
Germain Souquet 5f2ab50a90 migrate SetupEncryptionStore to TypeScript 2021-06-14 20:58:20 +01:00
Germain Souquet fcae19f831 Track left panel width using ResizeObserver 2021-05-27 12:36:16 +01:00
Germain f7d0afcd28 Performance monitoring measurements (#6041) 2021-05-19 10:07:02 +01:00
Travis Ralston b08e47bfe1 Support compatibility points for Safari
Tested on MacOS Big Sur, Safari 14.0.3
2021-05-06 21:43:17 -06:00
J. Ryan Stinnett 683aec1066 Merge pull request #5833 from SimonBrandner/feed
Support for multiple streams (not MSC3077)
2021-05-06 11:20:09 +01:00
Šimon Brandner 551e8ecb8d Merge branch 'develop' into feed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-28 10:52:23 +02:00
Travis Ralston c2bcdae8a9 Switch global var to the store for easier debugging 2021-04-27 23:04:49 -06:00
Šimon Brandner c54aa86532 Merge branch 'develop' into feed 2021-04-23 18:32:05 +02:00
J. Ryan Stinnett 2344ddd164 Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts 2021-04-23 17:19:52 +01:00
J. Ryan Stinnett d7e6f4b4b5 Add basic types 2021-04-23 17:05:50 +01:00
Travis Ralston 14809dfda7 Misc cleanup 2021-04-22 08:22:31 -06:00
Travis Ralston 7d9562137e Replace deprecated processor with a worklet 2021-04-19 21:54:08 -06:00
Travis Ralston b0a04c9f81 Rename VoiceRecorder -> VoiceRecording to better match expected function 2021-04-14 20:00:16 -06:00
Šimon Brandner 27ec3af03a Merge branch 'develop' into feed
Looking forward to merging again! :D

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-03 09:15:55 +02:00
Travis Ralston be2e30df0d Add an early voice recorder utility class 2021-03-16 22:58:44 -06:00
Šimon Brandner ab60c9b5da Add HTMLAudioElement and HTMLVideoElement
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-10 12:26:59 +01:00
Michael Telatynski 7030c636f0 Initial Space Store for keeping track of space hierarchies from sync 2021-02-25 16:36:35 +00:00
David Baker 196507a730 VoIP virtual rooms, mk II
Does a thirdparty protocol lookup to the homeserver to get the
corresponding native/virtual user for a matrix ID. Stores the
mappings in room account data. Involves some slightly nasty workarounds
for that fact that room account data has no local echo.
2021-02-12 20:55:54 +00:00
Travis Ralston 0001e1e684 Support initial ordering and calculation for widgets by layout 2021-01-18 17:41:42 -07:00
David Baker 7796621e8d Merge remote-tracking branch 'origin/develop' into dbkr/call_hold 2020-10-30 16:49:42 +00:00
Michael Telatynski db38d737a4 fix ts global 2020-10-30 10:43:52 +00:00
David Baker f828c6d494 Implement call hold
Currently just by adding /holdcall and /unholdcall slash commands

The only place the hold status of the call is currently represented
is when the call is a voice call and you're viewing a different room:
it's not wired up when you're viewing the room because that currently
uses the room status bar which it won't do with the new UI.

Also convert VideoFeed to typescript, and remove videoview because
it essentially just managed the fullscreen functionality, but we'll
want and 'on hold' representation (and probably chrome for hagnup etc)
in the fullscreen UI too, so let's just make CallView the thing that
gets fullscreened.
2020-10-29 17:56:24 +00:00
Michael Telatynski c3a355097d Initial Countly work 2020-10-29 15:57:16 +00:00
Michael Telatynski 00b1a03a3e Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/modal-widgets
 Conflicts:
	src/@types/global.d.ts
	src/FromWidgetPostMessageApi.js
	src/WidgetMessaging.js
	src/widgets/WidgetApi.ts
2020-10-19 19:46:07 +01:00
Michael Telatynski cace3fd8aa TS conversion exports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:40:34 +01:00
J. Ryan Stinnett 2698a12a6f Convert src/SecurityManager.js to TypeScript
This includes a few small API tweaks as well, only in cases where TS revealed we
were doing something confusing or wrong.

Part of https://github.com/vector-im/element-web/issues/15350
2020-10-09 17:27:03 +01:00
Michael Telatynski 290ef5e652 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/modal-widgets
 Conflicts:
	src/@types/global.d.ts
2020-09-28 12:47:47 +01:00
Michael Telatynski e3b0bf1915 Fix url encoding issue for modal widgets widgetId
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-25 15:03:54 +01:00