Michael Telatynski
72498df28f
Remove create-react-class
2020-08-29 12:14:16 +01:00
Travis Ralston
c815a370e7
Remove some unused components
...
We no longer have tinting support, so remove it. We still need the `Tinter` to exist though as it's used in quite a few places (though does nothing). Similarly, we have to keep the `roomColor` setting due to it being used in a few places - another PR can take away the tinter support properly.
The room tile context menu and top left menu are artifacts of the old room list.
The end to end tests weren't failing before as the code path is unused, however it seems worthwhile to keep it as we will eventually need it.
2020-08-20 20:47:02 -06: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
Travis Ralston
1f7f40736b
Fix imports for SettingLevel to point at new file
2020-07-28 11:53:43 -06:00
Jorik Schellekens
7699aafcaf
Use new eslint package- fix lint issues in ts and js
2020-06-23 17:01:19 +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
Travis Ralston
e4835c4b03
Demonstrate dis.fire() with view_user_settings
...
Like a5f3318f3b
, this proves that the new dispatcher conversion works for fire-and-forget style dispatches too. This is another obvious-if-broken and generally safe conversion to make.
Other actions which can be dispatched this way have been excluded for reasons mentioned in the Action enum's comments.
2020-05-13 21:08:08 -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
e1e65a0fe1
Make RoomPublishSetting import-skinnable
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-16 17:13:33 +01:00
Michael Telatynski
384336e8f1
s/alias/address/ in copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-14 10:06:57 +01:00
Michael Telatynski
19aae087e0
Field: make id optional, generate one if not provided
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-29 22:59:15 +01:00
Bruno Windels
f8c6097c39
remove logging
2020-03-18 11:18:48 +01:00
Bruno Windels
7b1b4cda14
ensure local state for aliases doesn't get garbled up
...
when removing another alias before the response of the first comes back
2020-03-17 20:37:44 +01:00
Bruno Windels
1f4e92885b
Update src/components/views/room_settings/AliasSettings.js
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-03-17 10:43:01 +00:00
Bruno Windels
3253d0b93d
more margin between published and local addresses
2020-03-16 18:30:40 +01:00
Bruno Windels
d6ddc5096f
tweak labels, etc
2020-03-16 18:25:13 +01:00
Bruno Windels
78fb95aa9e
change <details> appearance for local aliases
2020-03-16 18:24:49 +01:00
Bruno Windels
31cb257eb9
add headers and copy to lessen confusion of new alias workings
2020-03-16 17:28:45 +01:00
Bruno Windels
26f6203985
move room publish toggle below canonical alias
...
also to own component to not contaminate alias settings too much
with this
2020-03-16 17:27:06 +01:00
Bruno Windels
cccf7cd07f
specific error for lack of permissions when trying to delete an alias
2020-03-11 12:13:28 +01:00
Bruno Windels
3baaaaab07
use splice correctly after removing a local alias
2020-03-11 12:03:16 +01:00
Bruno Windels
dcbbf31f04
fix lint
2020-03-09 16:50:34 +01:00
Bruno Windels
f7cb633e3d
only load local aliases on mount when you can edit the canonical alias
2020-03-09 16:43:52 +01:00
Bruno Windels
7079d70f18
hide local aliases by default
2020-03-09 16:32:13 +01:00
Bruno Windels
08a31886a7
make domain postfix optional (not needed for alt aliases)
2020-03-09 16:31:30 +01:00
Bruno Windels
eb539537f2
add recommendations for alt aliases
2020-03-09 16:31:07 +01:00
Bruno Windels
38e99f3a68
add editable list for alt aliases
2020-03-09 16:29:04 +01:00
Bruno Windels
ee9558cb0b
change state from domainToAliases to local and alt aliases
2020-03-09 16:28:33 +01:00
Bruno Windels
a5b9682572
show spinner while loading local aliases
2020-02-19 15:15:05 +01:00
Bruno Windels
4c9c57bfe5
check server feature flag
...
if not available, revert to old behavior
2020-02-19 10:06:52 +01:00
Bruno Windels
e6ca581f10
get local aliases from /aliases in room settings
2020-02-18 16:27:45 +01:00
Travis Ralston
bf6798e109
Appease the linter
2020-01-13 13:28:33 -07:00
Travis Ralston
135c84251c
Fix more imports post-merge
2020-01-09 14:19:19 -07:00
Travis Ralston
3e5cc9550b
Fix import merge conflicts, removing any that aren't needed anymore
...
Many imports were removed as part of refactoring work, so here we are.
2020-01-09 14:17:33 -07:00
Travis Ralston
fde32f13a5
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop
2020-01-09 14:15:09 -07:00
Travis Ralston
59f608ffd6
Merge pull request #3761 from matrix-org/travis/babel7-wp-es6-export
...
Convert CommonJS exports to ES6 exports
2020-01-08 09:09:11 -07:00
Michael Telatynski
163df614f3
Merge pull request #3807 from matrix-org/t3chguy/fix_AliasSettings
...
Delegate all room alias validation to the RoomAliasField validator
2020-01-06 21:26:00 +00:00
Michael Telatynski
b6098ddb47
Delegate all room alias validation to the RoomAliasField validator
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-05 21:58:36 +00:00
Michael Telatynski
295dcbfe48
Fix ability to remove avatars
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-04 13:34:05 +00:00
Michael Telatynski
aa990462ce
delint
2019-12-27 17:05:51 +00:00
Michael Telatynski
ebf7eb698d
Turn RoomAliasField into properly controlled and use in RoomSettings
2019-12-26 18:52:57 +00:00
Travis Ralston
f1ac3d2f64
Convert imports to ES6 from CommonJS
...
This is needed because `require()` means something different in webpack - it ends up importing the module as something we didn't expect (and is occasionally async)
2019-12-22 21:16:06 -07:00
Travis Ralston
042bd35d79
Fix MatrixClientPeg imports
2019-12-22 21:15:54 -07:00
Travis Ralston
d56f0f2a25
Convert many imports to handle ES6 exports
...
Reliant upon https://github.com/matrix-org/matrix-react-sdk/pull/3761
2019-12-22 21:04:42 -07:00
Travis Ralston
344dac4fb9
Convert CommonJS exports to ES6-compatible exports
...
We use `export default` begrudgingly here. Ideally we'd use just `export`, though this entire SDK expects things to be exported as a default. Instead of breaking everything, we'll sacrifice our export pattern for a smaller diff - a later commit can always do the default export -> regular export conversion.
2019-12-22 21:01:02 -07:00
Michael Telatynski
937b32663c
Migrate away from Legacy React Contexts
2019-12-17 17:26:12 +00:00
Michael Telatynski
5ab98e9899
open ImageView when clicking on a set avatar
2019-12-16 15:21:05 +00:00
Michael Telatynski
9fa2680dc6
Implement new design for uploading/removing avatars
2019-12-16 14:58:12 +00:00
Michael Telatynski
d22985f12e
Migrate string refs over to createRef
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:16:17 +00:00
Michael Telatynski
d4d51dc61f
Rip out the remainder of Bluebird
2019-11-18 10:03:05 +00:00