Commit Graph

62531 Commits

Author SHA1 Message Date
Damir Jelić c3c5756c7a ElectronPlatform: Implement the EventIndexManager for Seshat. 2019-11-13 15:55:07 +01:00
Damir Jelić bf558b46c3 EventIndexPeg: Clean up the event index initialization. 2019-11-13 15:39:39 +01:00
Damir Jelić c33f5ba0ca BaseEventIndexManager: Add a method to perform runtime checks for indexing support. 2019-11-13 15:39:06 +01:00
Damir Jelić ab7f34b45a EventIndexing: Don't mention Seshat in the logs. 2019-11-13 15:26:27 +01:00
Damir Jelić 1316e04776 EventIndexing: Check if there is a room when resetting the timeline. 2019-11-13 15:23:08 +01:00
Damir Jelić f453fea24a BasePlatform: Move the event indexing methods into a separate class. 2019-11-13 14:46:17 +01:00
take100yen d7c4ef2fe7 Translated using Weblate (Japanese)
Currently translated at 100.0% (23 of 23 strings)

Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ja/
2019-11-13 11:44:52 +00:00
Damir Jelić 80b28004e1 Searching: Define the room id in the const object. 2019-11-13 11:02:54 +01:00
Damir Jelić 54b352f69c MatrixChat: Fix the limited timeline checkpoint adding. 2019-11-13 10:37:20 +01:00
Damir Jelić 1df28c7526 Fix some lint errors. 2019-11-13 10:30:38 +01:00
Damir Jelić 1cc64f2426 Searching: Move the small helper functions out of the eventIndexSearch function. 2019-11-13 10:10:35 +01:00
Damir Jelić 008554463d Lifecycle: Move the event index deletion into the clear storage method. 2019-11-13 09:52:59 +01:00
Travis Ralston 3dcc92b79d Add some logging/recovery for lost rooms
Zero inserts is not normal, so we apply the same recovery technique from the categorization logic above this block: insert it to be the very first room and hope that someone complains that the room is ordered incorrectly.

There's some additional logging to try and identify what went wrong because it should definitely be inserted. The `!== 1` check is not supposed to be called, ever.

Logging for https://github.com/vector-im/riot-web/issues/11303
2019-11-12 15:39:03 -07:00
Weblate 799851ab54 Merge branch 'origin/develop' into Weblate. 2019-11-12 22:38:54 +00:00
Weblate 3d7131569e Merge branch 'origin/develop' into Weblate. 2019-11-12 22:38:50 +00:00
Szimszon a0ff1e9e9b Translated using Weblate (Hungarian)
Currently translated at 100.0% (1898 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-12 22:38:50 +00:00
Jiri Grönroos 6b8d8d13f2 Translated using Weblate (Finnish)
Currently translated at 95.6% (1814 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-12 22:38:46 +00:00
Besnik Bleta 651098b2ca Translated using Weblate (Albanian)
Currently translated at 99.8% (1894 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-12 22:38:46 +00:00
Travis Ralston fa6e02fafb Revert "Add some logging/recovery for lost rooms"
This reverts commit 1aa0ab13e6.
2019-11-12 15:38:45 -07:00
Travis Ralston 1aa0ab13e6 Add some logging/recovery for lost rooms
Zero inserts is not normal, so we apply the same recovery technique from the categorization logic above this block: insert it to be the very first room and hope that someone complains that the room is ordered incorrectly.

There's some additional logging to try and identify what went wrong because it should definitely be inserted. The `!== 1` check is not supposed to be called, ever.

Logging for https://github.com/vector-im/riot-web/issues/11303
2019-11-12 15:38:29 -07:00
Travis Ralston 2e642310b8 Merge pull request #11375 from vector-im/travis/fix-chrome-favicon
Perform favicon updates twice in Chrome
2019-11-12 15:20:43 -07:00
Travis Ralston 71fb2e04a9 fix catch block indentation 2019-11-12 15:14:11 -07:00
Travis Ralston fd28cf7a4c Move notification count to in front of the room name in the page title
Fixes https://github.com/vector-im/riot-web/issues/10943
2019-11-12 15:12:54 -07:00
Travis Ralston e84861f770 Apparently our eslint rules are different in different layers 2019-11-12 15:04:56 -07:00
Travis Ralston ec9a38c2fe Perform favicon updates twice in Chrome
See diff for why this arcane magic is needed.

Fixes https://github.com/vector-im/riot-web/issues/11347
2019-11-12 15:02:52 -07:00
Michael Telatynski 79ebb9091c Merge branch 'develop' into t3chguy/remove_bluebird_1 2019-11-12 18:16:34 +00:00
Travis Ralston c6f62632d8 Fix config.json syntax 2019-11-12 10:12:25 -07:00
Weblate 67ffc1c8f3 Merge branch 'origin/develop' into Weblate. 2019-11-12 17:02:09 +00:00
송태섭 523e17838d Translated using Weblate (Korean)
Currently translated at 100.0% (1864 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-12 17:02:08 +00:00
shuji narazaki 5fa4bc7192 Translated using Weblate (Japanese)
Currently translated at 62.7% (1168 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-12 17:02:04 +00:00
take100yen 87f9e0d565 Translated using Weblate (Japanese)
Currently translated at 62.7% (1168 of 1864 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-12 17:02:03 +00:00
Travis Ralston d0cbcb85f5 Merge pull request #3585 from matrix-org/travis/mjolnir
Add Mjolnir ban list support
2019-11-12 10:01:50 -07:00
Travis Ralston 2561e3a64f Merge pull request #11275 from vector-im/travis/mjolnir
Add labs documentation for Mjolnir
2019-11-12 10:00:37 -07:00
Travis Ralston 6d0b388fa2 Merge branch 'develop' into travis/mjolnir 2019-11-12 10:00:01 -07:00
J. Ryan Stinnett c9ca8b9869 Merge pull request #3610 from matrix-org/jryans/alias-cache
Improve room switching performance with alias cache
2019-11-12 18:24:43 +02:00
Damir Jelić 3502454c61 LifeCycle: Stop the crawler and delete the index when whe log out. 2019-11-12 15:58:38 +01:00
Damir Jelić d69eb78b66 EventIndexing: Add a missing platform getting. 2019-11-12 15:41:14 +01:00
Damir Jelić ecbc47c548 EventIndexing: Rename the stop method. 2019-11-12 15:40:49 +01:00
Damir Jelić d911055f5d MatrixChat: Move the indexing limited room logic to a different event. 2019-11-12 15:39:54 +01:00
Damir Jelić e296fd05c0 RoomView: Move the search logic into a separate module. 2019-11-12 15:39:26 +01:00
J. Ryan Stinnett 3f2b77189e Simplify dispatch blocks 2019-11-12 13:29:01 +00:00
Michael Telatynski b73d0ca92a delint and run i18n 2019-11-12 12:37:47 +00:00
Michael Telatynski c3df2f941d attach promise utils atop bluebird 2019-11-12 12:30:05 +00:00
Damir Jelić cfdcf45ac6 MatrixChat: Move the event indexing logic into separate modules. 2019-11-12 13:29:07 +01:00
Michael Telatynski f5d467b391 delint 2019-11-12 12:26:07 +00:00
Michael Telatynski 2b34cf4362 Replace Promise.delay with promise utils sleep
(cherry picked from commit 0a21957b2c)
2019-11-12 12:07:56 +00:00
Michael Telatynski 2ea239d192 Replace rest of defer usages using small shim. Add homebrew promise utils
(cherry picked from commit 6850c14739)
2019-11-12 12:07:56 +00:00
Michael Telatynski 217dfc3eed Replace all trivial Promise.defer usages with regular Promises
(cherry picked from commit 44401d73b4)
2019-11-12 12:07:56 +00:00
Michael Telatynski 548e38cba9 Revert "Replace all trivial Promise.defer usages with regular Promises"
This reverts commit 44401d73
2019-11-12 11:56:53 +00:00
Michael Telatynski 7a512f7299 Revert "Replace rest of defer usages using small shim. Add homebrew promise utils"
This reverts commit 6850c147
2019-11-12 11:56:43 +00:00