Travis Ralston
27138b33c0
Match settings paragraph style in all cases
2020-04-22 11:08:46 -06:00
Travis Ralston
3f99332f4b
Use componentDidMount in place of componentWillMount where possible
...
This fixes a common React warning we see. Most of these components should be using constructors instead, however componentDidMount is just as good (and doesn't require converting most of these).
Conversion to classes will be done in a later stage of React warning fixes.
For https://github.com/vector-im/riot-web/issues/12877
2020-03-31 14:14:17 -06:00
Michael Telatynski
d783ce86c8
Use noreferrer in addition to noopener for edge case browsers
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:14:29 +00:00
Damir Jelić
81e61d6f9d
EventIndexPanel: Move the comments around for the getStats calls.
2020-02-20 14:46:10 +01:00
Damir Jelić
1897d67818
EventIndexPanel: Catch getStats failures.
...
Getting the stats can fail when used with Seshat. Tantivy periodically
garbage collects its files. Smaller files are merged and the old ones
are removed.
If garbage collection occurs while we try to get the stats, which go
trough the files and figure out their sizes, we can end up trying to
figure out the file size of a removed file. The getStats call will fail
in this case but we can ignore the failure since we will likely get a
nice result next time we try.
2020-02-20 14:46:10 +01:00
Michael Telatynski
16bbea0b59
Fix various leaks due to method re-binding
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-20 02:35:30 +00:00
Damir Jelić
ab8ea52266
EventIndexPanel: Make sure links get opened in a new tab.
2020-01-27 16:50:33 +01:00
Damir Jelić
cd225943ea
EventIndexPanel: Shorten a overly long line.
2020-01-24 16:22:09 +01:00
Damir Jelić
ddea7415c7
EventIndexPanel: Use formatCountLong to format the event and room counts.
2020-01-24 16:15:06 +01:00
Damir Jelić
47999c2e46
EventIndexPanel: Add a separate message for the case where Seshat is missing.
2020-01-24 15:26:54 +01:00
Damir Jelić
029369a04b
EventIndexPanel: Small style fix.
2020-01-24 11:56:43 +01:00
Damir Jelić
ffe5d411db
EventIndexPanel: Add a link to the download page of Riot Desktop.
2020-01-24 11:44:56 +01:00
Damir Jelić
660240e2c0
EventIndexPanel: Use formatCount to format the room count.
2020-01-24 11:13:09 +01:00
Damir Jelić
93facca479
ManageEventIndex: Rename the file to contain the Dialog suffix.
2020-01-24 09:54:46 +01:00
Damir Jelić
a5a149933a
EventIndexPanel: Add a spinner when the index is being enabled.
2020-01-23 15:06:38 +01:00
Damir Jelić
981acec0d2
EventIndexPanel: Show the enable button if event indexing is disabled.
2020-01-23 14:27:46 +01:00
Damir Jelić
a2892f5b02
EventIndex: Fix some lint issues.
2020-01-21 16:40:32 +01:00
Damir Jelić
6b85284632
EventIndexPanel: Move the bulk of the event index info into a modal.
2020-01-21 13:20:30 +01:00
Damir Jelić
908a00a13d
EventIndexPanel: Move the panel from the preferences to the security tab.
2020-01-21 10:06:04 +01:00
Damir Jelić
4913d579e3
EventIndexPanel: Reword the crawler state if no room is being crawled.
2020-01-21 09:24:20 +01:00
Damir Jelić
8de149704e
EventIndexPanel: Dynamically update the indexer stats.
2020-01-20 17:43:55 +01:00
Damir Jelić
1b9b30d4ea
EventIndexPanel: Get more stats for our indexer, not just the size.
2020-01-20 17:42:24 +01:00
Damir Jelić
695b8aff5b
EventIndexPanel: Reword the enable/disable setting.
2020-01-17 17:14:55 +01:00
Damir Jelić
3b99f7565d
PreferencesUserSettingsTab: Move the event index UI into a separate component.
2020-01-17 17:10:59 +01:00