J. Ryan Stinnett
f99ae6d46a
Tweak /addwidget
widget names ( #7681 )
2022-01-31 15:37:49 +00:00
Michael Telatynski
cbc671b19f
Share e2ee keys when using /invite SlashCommand ( #7655 )
2022-01-28 10:02:37 +00:00
Eric Eastwood
c0681333bf
Fix /jumptodate using wrong MSC feature flag ( #7563 )
...
As reported by @turt2live, https://matrix.to/#/!EMAlzkQQlZGEVTkDnD:matrix.org/$gnoVWQnIkYYL1i1cL8A4qRKJCFpNtq0Oj5khpzOq1mQ?via=half-shot.uk&via=matrix.org&via=element.io
Also fixes camelCase typo
2022-01-18 09:51:25 -06:00
Michael Telatynski
f4a6219c88
Replace kick
terminology with Remove from chat
( #7469 )
2022-01-14 13:08:34 +00:00
Michael Telatynski
b835588331
Allow using room pills in slash commands ( #7513 )
2022-01-12 09:40:18 +00:00
Eric Eastwood
038a6bc204
Make slash command errors translatable but also work in rageshakes ( #7377 )
...
See https://github.com/matrix-org/matrix-react-sdk/pull/7372#discussion_r769556546
We want the error to be translated for the user but not in our rageshake logs.
Also updates some error messages to give more info.
2022-01-11 12:25:28 -06:00
Eric Eastwood
1e09599447
Add /jumptodate
slash command ( #7372 )
...
Fix https://github.com/vector-im/element-web/issues/7677
Utilizing MSC3030: https://github.com/matrix-org/matrix-doc/pull/3030
Experimental Synapse implementation added in https://github.com/matrix-org/synapse/pull/9445
---
Jump to date headers are being worked on in https://github.com/matrix-org/matrix-react-sdk/pull/7339
2021-12-15 06:34:47 -06:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Šimon Brandner
cbb34d8ac7
Make CallHandler
more EventEmitter
y ( #6704 )
...
* sharedInstance() -> instance
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use CallState event instead of dispatching
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Simplifie some code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use a method to start a call instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use a method instead of place_conference_call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make terminateCallApp() and hangupCallApp() public
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use hangupAllCalls() instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Make dialNumber(), startTransferToMatrixID() and startTransferToPhoneNumber() public instead of using the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use answerCall() instead of using the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use hangupOrReject() instead of the dispatcher
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Update docs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Dispatch call_state, see https://github.com/vector-im/element-web/pull/18823#issuecomment-917377277
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add missing import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-30 18:09:13 +00:00
Renan Cleyson
ae0dba4e87
Add view_room
to Action
enum ( #7203 )
...
* Add ViewRoom action to Action enum
Signed-off-by: Renan <renancleyson.f@gmail.com>
* Change view_room occurrences to Action.ViewRoom
Signed-off-by: Renan <renancleyson.f@gmail.com>
* Add missing Action import
2021-11-25 21:49:43 +01:00
Germain
87201c8bfb
Chat effects fixes for threads ( #7183 )
2021-11-23 08:17:30 +00:00
Michael Telatynski
fe4d834c72
Disable op/deop commands where user has no permissions ( #7161 )
2021-11-19 10:49:34 +00:00
Germain
256c468c15
Chat Effects & Commands in thread context ( #7138 )
2021-11-18 12:47:11 +00:00
Michael Telatynski
e3d1615169
Make /msg <message> param optional for more flexibility ( #7028 )
2021-10-25 11:40:33 +01:00
Travis Ralston
d99660d420
Add customisation point for visibility of invites and room creation
...
Fixes https://github.com/vector-im/element-web/issues/19331
2021-10-12 14:33:29 -06: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
Michael Telatynski
c2a5cfb11e
remove stale unused import
2021-08-31 16:11:22 +01:00
Michael Telatynski
0cd00ae64f
Remove non-functional DuckDuckGo Autocomplete Provider
2021-08-31 16:05:16 +01:00
Michael Telatynski
390b05617c
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17686
...
Conflicts:
src/components/views/dialogs/CreateRoomDialog.tsx
src/components/views/dialogs/RoomUpgradeDialog.tsx
src/components/views/dialogs/RoomUpgradeWarningDialog.tsx
src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx
2021-07-21 10:46:41 +01:00
Michael Telatynski
ce78cdf4ad
Conform to new react and typescript eslint rules
2021-07-19 22:43:11 +01:00
Michael Telatynski
f412fb44a7
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17686
...
Conflicts:
src/SlashCommands.tsx
src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx
src/createRoom.ts
2021-07-09 08:13:39 +01:00
Šimon Brandner
916589e2b9
Eighth batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-03 11:24:33 +02:00
Michael Telatynski
e8f0412fe3
Add way to manage Restricted join rule in Room Settings
2021-07-02 14:51:55 +01:00
Michael Telatynski
e768ecb3d0
Typescript conversion of Composer components and more
2021-06-30 13:01:26 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
0ae4e7b11d
Fix typescript types
2021-06-18 16:21:46 +01:00
Michael Telatynski
cce4ccb157
Fix types in SlashCommands which assumed something was a promise but it wasn't
2021-06-17 11:37:06 +01:00
Michael Telatynski
db5c0012c2
Add dev dependency for parse5 typings
2021-05-07 10:11:56 +01:00
Michael Telatynski
12bdbd50f1
Merge pull request #5853 from matrix-org/t3chguy/fix/16925
...
Fix unknown slash command error exploding
2021-04-19 17:15:59 +01:00
Michael Telatynski
fd54fa5119
Fix unknown slash command error exploding
2021-04-13 10:33:32 +01:00
Travis Ralston
9805170a6f
Update SlashCommands.tsx
2021-04-12 14:34:24 -06:00
Travis Ralston
cc4d145f14
Fix js-sdk import in SlashCommands
...
This is important because the `matrix-js-sdk` types are mismatched in some builds of Element
2021-04-12 14:07:17 -06:00
Robin Townsend
8a709b3bf9
Merge branch 'develop' into spoiler-command
2021-03-25 18:20:29 -04:00
Travis Ralston
da7d31aeb6
Merge pull request #5686 from robintown/reply-commands
...
Support replying with a message command
2021-03-24 09:56:56 -06:00
Robin Townsend
f1fabd831c
Add /spoiler command
...
As a temporary measure until we have an extensible Markdown parser.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-26 20:34:01 -05:00
Robin Townsend
c25a8b70fa
Support sending invite reasons with /invite command
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-26 17:10:20 -05:00
Robin Townsend
563620484d
Support replying with a message command
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-25 14:59:47 -05:00
David Baker
e787d11c73
Merge remote-tracking branch 'origin/develop' into dbkr/virtual_rooms_v2
2021-02-16 19:41:54 +00:00
Jaiwanth
d73648dfb0
Modified regex to account for an immediate new line after slash commands
...
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-15 17:46:32 +05:30
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
Šimon Brandner
0c5a8f8adb
Added commands for DM conversion
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-13 15:30:09 +01:00
Emmanouil Kampitakis
f4d3668214
Add the unflip slashcommand
...
Signed-off-by: Emmanouil Kampitakis <info+github@kampitakis.de>
2020-12-18 12:19:37 +01:00
Emmanouil Kampitakis
98a1b7a2d8
Add the tableflip slashcommand
...
Signed-off-by: Emmanouil Kampitakis <info+github@kampitakis.de>
2020-12-18 12:19:37 +01:00
nurjinn jafar
6ce5d3b044
refactored effects dir and changed effects exported name
2020-11-27 16:32:04 +01:00
Steffen Kolmer
ede67684e4
Removed trailing space
2020-11-26 18:27:35 +01:00
Steffen Kolmer
27312c3553
Merge branch 'develop' into feature_confetti#14676
2020-11-26 18:21:28 +01:00
David Baker
50bce642d5
Merge pull request #5366 from matrix-org/dbkr/call_hold
...
Implement call hold
2020-11-10 08:41:34 +00:00
David Baker
5cccb2848e
make quotes consistent
2020-11-05 09:49:14 +00:00
David Baker
333b13802f
Support thirdparty lookup for phone numbers
...
As per MSC2845. Hidden behind /query for now, until we hook it up
to a dial pad.
2020-11-04 15:32:21 +00:00
David Baker
7796621e8d
Merge remote-tracking branch 'origin/develop' into dbkr/call_hold
2020-10-30 16:49:42 +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
nurjinn jafar
1c6d28b861
refactoring roomView / slashCommands / SendMessageComposer with the new effects configurations and fix confetti animation timeout
2020-10-21 13:37:36 +02:00
Steffen Kolmer
48633f76ab
added event handling back
2020-10-19 23:10:43 +02:00
Steffen Kolmer
607e33feba
Extensibility, TypeScript and lazy loading
2020-10-19 21:25:01 +02:00
Steffen Kolmer
c86964cd5e
Merge remote-tracking branch 'upstream/develop' into feature_confetti#14676
2020-10-19 13:15:33 +02:00
Michael Telatynski
f4f94e31d1
UI Feature Flag: Disable integrations entry UI
2020-09-16 11:38:50 +01:00
Michael Telatynski
6c166f0560
If no bug_report_endpoint_url, hide rageshaking from the App
2020-09-15 15:49:25 +01:00
Travis Ralston
77f715ba73
Fix i18n and analytics
2020-09-09 14:55:27 -06:00
Travis Ralston
9b5823cccb
Run the rageshake command through the bug report dialog
...
Ideally we encourage users to give us information like a github issue or options to download their logs.
2020-09-09 14:53:38 -06:00
Michael Telatynski
80b22d1f82
Merge pull request #5158 from dkanada/patch-1
...
add lenny face command
2020-09-07 14:28:40 +01:00
dkanada
bc9ea04118
add lenny face command
2020-08-29 20:29:43 +09:00
Michael Telatynski
9ba33c7f80
Fix eslint ts override tsx matching and delint
2020-08-29 01:11:08 +01:00
nurjinn jafar
95051a42b1
checking for unreadMessages before sending confetti
...
throwing the confetti on the sender's side
change sendHtmlMessage to sendTextMessage in slashCommands
2020-08-26 18:56:23 +02:00
nurjinn jafar
5753c96431
a workaround to make ocnfetti work on recipient side.
...
changed the implementation of on.Event.decrypted function
2020-08-25 16:39:57 +02:00
nurjinn jafar
1123545cfa
Merge branch 'develop' of https://github.com/nordeck/matrix-react-sdk into feature_confetti#14676
...
Conflicts:
src/SlashCommands.tsx
src/i18n/strings/de_DE.json
2020-08-25 11:52:48 +02:00
nurjinn jafar
43f266bfe3
remove unused import
...
fix if condition
trying (pass the dispatcher to sendHtmlMessage)
2020-08-25 11:11:20 +02:00
nurjinn jafar
b79cf1e7ad
updated translated string
2020-08-24 13:59:11 +02:00
nurjinn jafar
34cee20140
added confetti on command /confetti
2020-08-24 10:43:41 +02:00
Travis Ralston
e0b8343088
Run all room leaving behaviour through a single function
...
Fixes https://github.com/vector-im/element-web/issues/14999
Fixes https://github.com/vector-im/element-web/issues/10380
We were failing to handle errors when `/part`ing a room, though the leave room button was fine. This runs both the button and command through the same function for handling, including the 'view next room' behaviour.
2020-08-19 19:21:40 -06:00
nurjinn jafar
ecd4d6e19e
test commit for confetti changes
2020-08-18 17:57:51 +02:00
Michael Telatynski
3f2c1500e5
Fix /op slash command
2020-08-13 16:29:25 +01:00
J. Ryan Stinnett
ce226ab534
Replace Riot with Element in docs and comments
...
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.
Part of https://github.com/vector-im/element-web/issues/14864
2020-08-03 18:33:36 +01:00
Michael Telatynski
6ef9a2474c
Merge branches 'develop' and 't3chguy/ts/1' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/1
...
Conflicts:
src/@types/global.d.ts
2020-07-20 15:38:48 +01:00
Michael Telatynski
8480d387cc
Fix slash commands null guard
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-18 11:40:45 +01:00
Michael Telatynski
030586275f
Fix /op command to accept only joined/invited users
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-14 10:59:06 +01:00
Michael Telatynski
67d1956437
Merge branches 'develop' and 't3chguy/fix-op' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix-op
2020-07-14 10:56:15 +01:00
Michael Telatynski
209c350132
Fix typing
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 00:19:15 +01:00
Mike Pennisi
b5391f8ec8
"ignore"/"unignore" commands: validate user ID
...
Extend the accepted patterns so that users are alerted about invalid
input. These patterns are approximations of the Matrix user ID grammer.
Resolves https://github.com/vector-im/riot-web/issues/12743
2020-07-03 17:25:11 -04:00
Michael Telatynski
9f6893ef2b
Fix /join slash command via servers including room id as a via
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-29 16:27:59 +01:00
Michael Telatynski
fcd3ebe051
Fix case-sensitivity of /me to match rest of slash commands
...
also better error handling for attempted runs of unimplemented commands
2020-06-16 00:41:21 +01:00
Michael Telatynski
707e22ad09
Merge pull request #4402 from matrix-org/t3chguy/alias
...
Replace `alias` with `address` in copy for consistency
2020-05-26 09:36:58 +01:00
Michael Telatynski
b4e2e54dc1
make test more specific
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-18 12:06:20 +01:00
Michael Telatynski
6eee39c153
Fix /op Slash Command
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-18 12:04:13 +01:00
Travis Ralston
a5f3318f3b
Convert view_user dispatch to prove the conversion works
...
This is a relatively obvious dispatch action that doesn't require a lot of complicated type definitions, so should be a good candidate to prove the thing works. If for some reason the thing stops working, we've done something wrong.
This also adds a bit of generic types to the dispatch call so we don't confuse the tsx parser by using `dis.dispatch(<ViewUserPayload>{...})` as it thinks that's supposed to be a component. We still get type safety, and the thing remains happy with the generics approach.
2020-05-13 21:07:50 -06:00
Travis Ralston
90a898d03f
Move dispatcher into a subdirectory
...
We're expecting to have a whole bunch of types for the dispatched payloads, so pull the thing into a directory we can throw them in.
2020-05-13 21:07:50 -06:00
Michael Telatynski
998b661796
Merge pull request #4578 from matrix-org/t3chguy/topic_dialog
...
Fix topic dialog not supporting escape as it didn't have a "Close"
2020-05-13 10:51:00 +01:00
Michael Telatynski
3e3d537fec
Fix topic dialog not supporting escape as it didn't have a "Close"
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-12 10:51:27 +01:00
Michael Telatynski
3fa13d7de3
Add comment for the regex
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-12 10:23:53 +01:00
Michael Telatynski
293bd15ee9
fix variable name shadowing
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-11 11:05:03 +01:00
Michael Telatynski
6ea9aebda3
Add slash commands /query and /msg to match IRC
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-05-11 10:55:31 +01:00
David Baker
719faed2ff
Separate toasts for existing & new device verification
...
Separate device verification toasts into ones for devices that were
there when the app loaded and a separate toast for each device that
has appeared since.
Reverts part of https://github.com/matrix-org/matrix-react-sdk/pull/4506
(clicking a device from your own UserInfo now triggers the legacy
verification flow again).
Fixes https://github.com/vector-im/riot-web/issues/13422
Fixes https://github.com/vector-im/riot-web/issues/13418
2020-04-28 18:35:16 +01:00
Michael Telatynski
dd1f1b3092
Merge pull request #4452 from matrix-org/t3chguy/autocomplete
...
Convert autocomplete stuff to TypeScript
2020-04-22 10:20:24 +01:00
Michael Telatynski
fced4ea51e
Convert autocomplete stuff to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-20 19:00:54 +01:00
Travis Ralston
36f154f2b2
Name Jitsi correctly in args
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-04-20 09:35:35 -06:00
Travis Ralston
a55698e943
Merge branch 'travis/moar-jitsi' into travis/addwidget-improvements
2020-04-20 09:22:38 -06:00
Travis Ralston
d8a5ba9b14
Merge branch 'develop' into travis/moar-jitsi
2020-04-20 09:21:48 -06:00
Michael Telatynski
881848b98b
Add modal to confirm that rageshake from cmd was sent
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-19 12:19:31 +01:00
Michael Telatynski
170d10a1a6
Add rageshake slash command
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-19 12:09:07 +01:00
Travis Ralston
77bdde4021
Merge branch 'travis/moar-jitsi' into travis/addwidget-improvements
2020-04-14 12:58:16 -06:00