matrix-react-sdk
Add support for platform specific event indexing and search
#3550
Merged

Add support for platform specific event indexing and search #3550

poljar merged 64 commits into develop from poljar/seshat-pr
poljar
poljar BasePlatform: Add prototype methods for event indexing.
b8a3ee18
poljar MatrixChat: Create an event index and start crawling for events.
9ce478cb
poljar MatrixChat: Stop the crawler function and delete the index when loggi…
b23ba5f8
poljar MatrixChat: Add live events to the event index as well.
5e7076e9
poljar MatrixChat: Add new crawler checkpoints if there was a limited timeline.
4acec19d
poljar RoomView: Use platform specific search if our platform supports it.
3f536918
poljar MatrixChat: Add more detailed logging to the event crawler.
1b63886a
poljar MatrixChat: Catch errors when fetching room messages in the crawler.
89f14e55
poljar MatrixChat: Check if our state array is empty in the crawled messages…
64061173
jryans jryans requested a review 6 years ago
bwindels
bwindels commented on 2019-10-28
bwindels bwindels requested a review 6 years ago
jryans jryans changed the title [RFC] Add support for platform specific event indexing and search. Add support for platform specific event indexing and search 6 years ago
turt2live turt2live removed review request 6 years ago
turt2live turt2live requested a review from bwindels bwindels 6 years ago
turt2live turt2live requested a review from jryans jryans 6 years ago
jryans jryans removed review request from bwindels bwindels 6 years ago
jryans
jryans requested changes on 2019-11-06
lampholder lampholder added phase:5
poljar MatrixChat: Add some missing semicolons.
2c5565e5
poljar MatrixChat: Move the event indexing logic into separate modules.
cfdcf45a
poljar RoomView: Move the search logic into a separate module.
e296fd05
poljar MatrixChat: Move the indexing limited room logic to a different event.
d911055f
poljar EventIndexing: Rename the stop method.
ecbc47c5
poljar EventIndexing: Add a missing platform getting.
d69eb78b
poljar LifeCycle: Stop the crawler and delete the index when whe log out.
3502454c
poljar Lifecycle: Move the event index deletion into the clear storage method.
00855446
poljar Searching: Move the small helper functions out of the eventIndexSearc…
1cc64f24
poljar Fix some lint errors.
1df28c75
poljar MatrixChat: Fix the limited timeline checkpoint adding.
54b352f6
poljar Searching: Define the room id in the const object.
80b28004
poljar BasePlatform: Move the event indexing methods into a separate class.
f453fea2
poljar EventIndexing: Check if there is a room when resetting the timeline.
1316e047
poljar EventIndexing: Don't mention Seshat in the logs.
ab7f34b4
poljar BaseEventIndexManager: Add a method to perform runtime checks for ind…
c33f5ba0
poljar EventIndexPeg: Clean up the event index initialization.
bf558b46
poljar EventIndexing: Fix a typo.
c26df9d9
poljar EventIndex: Add some more docs and fix some lint issues.
cc2ee538
poljar EventIndexing: Fix a style issue.
368a77ec
poljar EventIndexing: Move the max events per crawl constant into the class.
d4b31cb7
poljar EventIndexing: Use the correct timeout value.
9b32ec10
poljar
poljar EventIndexing: Don't scope the event index per user.
28d2e658
poljar EventIndexPeg: Add a missing return statement.
448c9a82
poljar EventIndexing: Rework the index initialization and deletion.
7516f272
poljar BaseEventIndexManager: Remove a return from a docstring.
d82d4246
poljar EventIndexPeg: Remove the now unused import of MatrixClientPeg.
eb0b0a40
poljar poljar requested a review from jryans jryans 6 years ago
jryans
jryans requested changes on 2019-11-15
poljar BaseEventIndexManager: Remove the flow annotation.
30d4dd36
poljar Fix the copyright headers from New Vector to The Matrix Foundation.
ab937454
poljar BaseEventIndexManager: Fix a typo.
9fa8e823
poljar MatrixChat: Revert the unnecessary changes in the MatrixChat class.
51491640
poljar BaseEventIndexManager: Fix some type annotations.
910c3ac0
poljar EventIndexPeg: Move a docstring to the correct place.
ddb536e9
poljar EventIndexPeg: Treat both cases of unavailable platform support the s…
050e52ce
poljar EventIndexing: Don't capitalize homeserver.
3b06c684
poljar Searching: Move a comment to the correct place.
b4a61232
poljar Searching: Use the short form to build the search arguments object.
a4ad8151
poljar Searching: Remove the func suffix from our search functions.
0e3a0008
poljar Searching: Fix a typo.
2bb331cd
poljar EventIndexPeg: Rewrite the module documentation.
579cbef7
poljar EventIndexing: Rename our EventIndexer class.
45e7aab4
poljar EventIndex: Rename the file to be consistent with the class.
b983eaa3
poljar EventIndex: Remove some unnecessary checks if event indexing is suppo…
c48ccf97
poljar EventIndex: Remove the unused deleteEventIndex method.
8d7e7d0c
poljar EventIndex: Rework the crawler cancellation.
4a6623bc
poljar EventIndex: Fix some spelling errors.
21f00aae
poljar EventIndex: Remove some unused variables and some trailing whitespace.
d2a99183
poljar EventIndex: Move the event listener registration into the EventIndex …
6017473c
poljar Lifecycle: Make the clear storage method async.
97980379
poljar EventIndex: Hide the feature behind a labs flag.
f776bdcc
poljar EventIndex: Move the event indexing files into a separate folder.
e9df973c
poljar Fix the translations en_EN file by regenerating it.
27d1e4fb
poljar poljar requested a review from jryans jryans 6 years ago
poljar
jryans
jryans commented on 2019-11-20
jryans
jryans approved these changes on 2019-11-20
poljar EventIndex: Use property initializer style for the bound callbacks.
2f5b0a96
poljar Settings: Fix the supportedLevels for event indexing feature.
0631faf9
jryans
jryans commented on 2019-11-20
poljar EventIndex: Silence the linter complaining about missing docs.
4bd46f9d
poljar poljar merged 4bd46f9d into develop 6 years ago
poljar poljar deleted the poljar/seshat-pr branch 5 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone