Michael Telatynski
3c5c2bef6d
Remove Piwik support ( #8835 )
...
* Remove all mentions of Piwik
* Kill off all consumer of the old Piwik Analytics module
* Simplify ModalManager interface
* i18n
* Attempt to fix old e2e tests
* Remove unused component
* Iterate PR
2022-06-14 17:51:51 +01:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05:00
Šimon Brandner
af853e1d86
Convert DialogButtons to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 18:47:14 +02:00
Germain Souquet
efce2d16f1
Merge branch 'develop' into gsouqet/ts-migration-1
2021-07-20 18:43:08 +02:00
Germain Souquet
fdd98bbf3f
linter fix
2021-07-20 09:55:26 +02:00
Michael Telatynski
ce78cdf4ad
Conform to new react and typescript eslint rules
2021-07-19 22:43:11 +01:00
Germain Souquet
c8bd375130
Migrate DisableEventIndexDialog to TypeScript
2021-07-15 15:11:45 +02:00
Šimon Brandner
b40027a193
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-02 18:02:41 +02:00
Šimon Brandner
9d569c378e
Second batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-02 17:08:27 +02:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
J. Ryan Stinnett
2be8f0c9c7
Fix onFinished type
2021-04-27 11:26:45 +01:00
J. Ryan Stinnett
01cfd9361e
Fix ManageEventIndexDialog props syntax
2021-04-26 15:06:10 +01:00
J. Ryan Stinnett
b8a915bb76
Tweak private / underscores for fields and methods
2021-04-26 14:02:53 +01:00
J. Ryan Stinnett
f34489e2df
Actually fix indent lint errors
2021-04-23 18:11:54 +01:00
J. Ryan Stinnett
d7e6f4b4b5
Add basic types
2021-04-23 17:05:50 +01:00
J. Ryan Stinnett
31a28b1a9e
Update extensions for some files with types
...
This migrates one bucket of files using some amount of Flow typing to mark them
as TypeScript instead. The remaining type errors are fixed in subsequent
commits.
2021-04-23 16:05:30 +01:00
Travis Ralston
1f7f40736b
Fix imports for SettingLevel to point at new file
2020-07-28 11:53:43 -06:00
J. Ryan Stinnett
9085627a28
Use brand name from config in all strings
2020-07-10 19:57:01 +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
7fe8894c51
Update seshat copy to remove trailing full stop
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-18 23:16:40 +01:00
Travis Ralston
0fcbe40bec
Merge pull request #4314 from matrix-org/travis/react-warnings/2-code-quality
...
Fix a number of minor code quality issues
2020-04-01 11:13: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
Travis Ralston
c86d75693b
Fix a number of minor code quality issues
...
Most of these are complaints from my IDE. Discovered by going through nearly every file looking for React warnings.
2020-03-31 14:05:56 -06: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
Damir Jelić
69389823f7
ManageEventIndexDialog: Reword and move the crawler state around a bit.
...
This reflects now the latests design on Figma.
2020-03-06 16:07:10 +01:00
Damir Jelić
364899b27d
ManageEventIndexDialog: Show how many rooms are done instead being processed.
2020-03-06 15:44:23 +01:00
Damir Jelić
bff3f3e632
Revert "ManageEventIndexDialog: Reword the status for the currently indexing rooms."
...
This reverts commit 7d6569a0b87c48733dbddec3c2662325977d0234.
2020-03-06 15:44:23 +01:00
Damir Jelić
8fe54e5dca
ManageEventIndexDialog: Reword the status for the currently indexing rooms.
2020-03-06 15:44:23 +01:00
Damir Jelić
81e61d6f9d
EventIndexPanel: Move the comments around for the getStats calls.
2020-02-20 14:46:10 +01:00
Damir Jelić
a650c47d6b
ManageEventIndexDialog: Add a space before the function parenthesis.
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
Damir Jelić
9e3b0fdf7c
EventIndexPanel: Fix the removal of the updateCurrentRoom listeners.
...
The event listeners that update the current room and try to get the
current stats from the event index don't seem to be unmounted because
this != this confusion.
Turning them into arrow methods of the react class fixes this.
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
J. Ryan Stinnett
b92fe59436
Improve event indexing status strings for translation
...
The strings used for the count of rooms was hard to translate, so this adds a
bit more context.
2020-02-04 23:09:49 +00:00
Damir Jelić
d8576f23de
ManageEventINdexDialog: Fix a line length issue.
2020-02-01 12:11:49 +01:00
Damir Jelić
75fe3c2219
ManageEventIndexDialog: Show how many rooms are being currently crawled.
2020-02-01 12:01:53 +01:00
Damir Jelić
01c1c2364b
ManageEventIndexDialog: Add back a control for the crawler sleep time.
2020-01-31 18:46:45 +01:00
Damir Jelić
e38f1191a5
ManageEventIndex: Clarify that we're currently not downloading any messages.
2020-01-27 15:51:19 +01:00
Damir Jelić
7e0ab2f0a3
DisableEventIndexDialog: Turn the cancel button red.
2020-01-27 15:28:43 +01:00
Damir Jelić
9f3e5ab1db
ManageEventIndexDialog: Remove an unused import.
2020-01-24 16:52:26 +01:00
Damir Jelić
3208ac60c7
ManageEventIndexDialog: Override the Disable button class to be danger.
2020-01-24 16:47:29 +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ć
2252f48e04
DisableEventIndexDialog: Use a self-closing tag for the buttons.
2020-01-24 15:26:24 +01:00
Damir Jelić
97d55f63a3
DisableEventIndexDialog: Remove the incorrect class on the dialog.
2020-01-24 15:26:09 +01:00
Damir Jelić
ee133a9c71
DisableEventIndexDialog: Remove an unused import.
2020-01-24 11:56:19 +01:00
Damir Jelić
6f919eaeec
DisableEventIndexDialog: Use the correct spinner.
2020-01-24 11:27:56 +01:00
Damir Jelić
128c0b7300
ManageEventIndexDialog: Use formatCount to format the message and room count.
2020-01-24 11:11:53 +01:00
Damir Jelić
71024d1418
ManageEventIndexDialog: Properly indent the content of the BaseDialog.
2020-01-24 11:03:40 +01:00
Damir Jelić
cba7764784
DisableEventIndexDialog: Use the DialogButtons element for the buttons.
2020-01-24 11:00:28 +01:00