Damir Jelić
a0599dedf0
EventIndex: Use the newly exposed TimelineWindow methods.
2020-01-21 15:45:29 +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ć
4cf44cf5a5
EventIndex/FilePanel: Allow longer lines.
2020-01-20 12:43:20 +01:00
Damir Jelić
0b4b9d8d5d
EventIndex: Simplify the json event getting logic.
2020-01-20 12:42:46 +01:00
Damir Jelić
b4c8a686ce
EventIndex: Don't import the whole js-sdk.
2020-01-20 12:41:55 +01:00
Damir Jelić
3c46a56391
EventIndex: Fix some lint errors.
2020-01-17 14:22:22 +01:00
Damir Jelić
928bb69b11
EventIndexPeg: Add a helper method to easily start the crawler.
2020-01-17 14:22:22 +01:00
Damir Jelić
4fe7752f3c
EventIndex: Add a method to gather the currently crawled rooms.
2020-01-17 14:22:22 +01:00
Damir Jelić
0132c3bbe3
EventIndex: Start the crawler only if it's configured to start.
2020-01-17 14:22:22 +01:00
Damir Jelić
47156351a6
EventIndex: Use a setting for the crawler sleep time.
2020-01-17 14:22:22 +01:00
Damir Jelić
b7b66cfd9a
EventIndex: Use the sleep method from our utils.
2020-01-17 14:21:25 +01:00
Damir Jelić
f324f676d3
EventIndex: Add a method to get the current disk usage of the index.
2020-01-17 14:20:54 +01:00
Damir Jelić
ccfe3c7e70
FilePanel/EventIndex: Fix lint errors.
2020-01-17 11:52:20 +01:00
Damir Jelić
95b86b42d0
BaseEventIndexManager: Update the docs for the loadFileEvents method.
2020-01-17 11:06:05 +01:00
Damir Jelić
70d394e668
EventIndex: Update the imports for the new build system.
2020-01-17 10:58:31 +01:00
Damir Jelić
49c1dbe421
FilePanel: Implement pagination requesting using the EventIndex.
2020-01-17 10:11:21 +01:00
Damir Jelić
8a17c73b79
EventIndex: Add a method to populate an event timeline with file events.
2020-01-17 10:10:21 +01:00
Damir Jelić
263370c9ae
BaseEventIndexManager: Add a method to load file events of a room.
2020-01-17 10:10:21 +01:00
Damir Jelić
4f63b10465
EventIndex: Live events can be unencrypted as well.
2020-01-17 10:10:21 +01: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
Travis Ralston
042bd35d79
Fix MatrixClientPeg imports
2019-12-22 21:15:54 -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
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ć
4bd46f9d69
EventIndex: Silence the linter complaining about missing docs.
2019-11-20 12:47:20 +01:00
Damir Jelić
2f5b0a9652
EventIndex: Use property initializer style for the bound callbacks.
2019-11-20 12:30:03 +01:00
Damir Jelić
e9df973c82
EventIndex: Move the event indexing files into a separate folder.
2019-11-19 14:05:00 +01:00