Germain Souquet
c40f97fa25
Add reset option for corrupted event index store
2021-03-26 09:44:52 +00:00
Germain Souquet
5104d7bed8
Improve error reporting when EventIndex fails on a supported environment
2021-03-24 11:51:39 +00:00
Damir Jelić
860b1b46e0
event-index: Use camel case for the user/device id.
2020-10-13 17:03:58 +02:00
Damir Jelić
5989a21dfb
event-index: Pass the user/device id pair when initializing the event index.
2020-10-13 16:34:25 +02:00
Travis Ralston
1f7f40736b
Fix imports for SettingLevel to point at new file
2020-07-28 11:53:43 -06:00
Damir Jelić
2aa00cbf41
EventIndex: Bump our user version and delete the db if it's an old db.
2020-06-17 17:13:25 +02:00
Travis Ralston
fdcdd2529e
Take encrypted message search out of labs
...
Fixes https://github.com/vector-im/riot-web/issues/13262
This is part of the cross-signing shipping master plan. Known issues relating to this feature are:
* https://github.com/vector-im/riot-web/issues/12896
* https://github.com/vector-im/riot-web/issues/12385
* https://github.com/vector-im/riot-web/issues/11831
* https://github.com/vector-im/riot-web/issues/11155
In theory, these are issues we're comfortable with shipping as we're already enabling it by default. This just makes it easier on everyone by removing the flag (making it still enabled by default).
2020-04-22 10:58:11 -06:00
Damir Jelić
a612a66b69
EventIndex: Properly await the index closing.
2020-03-13 11:33:58 +01:00
Damir Jelić
825b6f7b7d
EventIndexPeg: Style fix for a docstring.
2020-01-24 11:16:49 +01:00
Damir Jelić
0d545ed335
EventIndexPeg: Small refactor and change the init logic.
...
This changes the way the event index is initialized, if it's disabled in
the settings it will not be initialized at all, before only the crawler
loop was not being started.
2020-01-23 12:23:23 +01:00
Damir Jelić
928bb69b11
EventIndexPeg: Add a helper method to easily start the crawler.
2020-01-17 14:22:22 +01: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
Damir Jelić
21a15fdcb4
EventIndex: Move the checkpoint loading logic into the init method.
...
The checkpoints don't seem to be loaded anymore in the onSync method,
the reason why this has stopped working is left unexplored since loading
the checkpoints makes most sense during the initialization step anyways.
2019-11-25 18:11:50 +01:00
Damir Jelić
e9df973c82
EventIndex: Move the event indexing files into a separate folder.
2019-11-19 14:05:00 +01:00