Commit Graph

7860 Commits (c23a3fd7fedf10aab874381822216237a4a237b9)

Author SHA1 Message Date
Travis Ralston b5d5c81f32 Add a new component to back various settings
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 20:43:27 -06:00
Travis Ralston 52f227cb3b Drop the idea of "config" being automatically supported
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 17:08:39 -06:00
Travis Ralston 0d3f0eaf98 Convert local settings to granular settings
This breaks language selection.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 16:53:00 -06:00
Travis Ralston b3d17a7b51 Support legacy settings on the device
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 16:08:45 -06:00
Travis Ralston e8acb0e102 Use getValueAt()
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 16:02:51 -06:00
Travis Ralston ae10a11ac4 Convert synced settings to granular settings
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-29 01:43:52 -06:00
Travis Ralston bf815f4be9 Support labs features
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 20:21:50 -06:00
Travis Ralston 7dda5e9196 Appease the linter round 1
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 19:53:12 -06:00
Travis Ralston 23d159e21c Make reading settings synchronous
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 19:45:48 -06:00
Travis Ralston 989bdcf5fb Rebuild SettingsStore to be better supported
This does away with the room- and account-style settings, and just replaces them with `supportedLevels`. The handlers have also been moved out to be in better support of the other options, like SdkConfig and per-room-per-device.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 19:13:06 -06:00
Matthew Hodgson 672fbb2873 hopefully fix NPE on toLowerCase 2017-10-28 18:33:38 +01:00
Travis Ralston c43bf336a9 Appease the linter
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 11:26:40 -06:00
Travis Ralston e02dcae3b6 Change wording to better describe the class
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 11:26:40 -06:00
Travis Ralston 8c3e5ebbad Create GranularSettingStore
GranularSettingStore is a class to manage settings of varying granularity, such as URL previews at the device, room, and account levels.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-10-28 11:26:40 -06:00
grrgui 8a2155822f Translated using Weblate (French)
Currently translated at 89.6% (818 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-10-28 08:10:27 +00:00
David Baker 063ab7e9b7 Merge branch 'dbkr/try_lowercase_username' into matthew/status 2017-10-27 19:09:31 +01:00
David Baker 858c3a2548 Merge remote-tracking branch 'origin/develop' into matthew/status 2017-10-27 18:59:57 +01:00
David Baker b437a2559d PR feedback 2017-10-27 18:59:13 +01:00
Weblate 94cf33d836 Merge remote-tracking branch 'origin/develop' into develop 2017-10-27 17:40:23 +00:00
Walter d72f70dcfd Translated using Weblate (Ukrainian)
Currently translated at 11.1% (102 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2017-10-27 17:40:23 +00:00
David Baker 580d8dce19
Merge pull request #1549 from matrix-org/luke/groups-fix-mygroups-avatar-scale-method
Use "crop" method to scale group avatars in MyGroups
2017-10-27 18:40:19 +01:00
David Baker 5312a869e4 Try lowercase username on login
Fixes https://github.com/vector-im/riot-web/issues/5446
2017-10-27 18:36:59 +01:00
Luke Barnard 5209f29a5c Use "crop" method to scale group avatars in MyGroups 2017-10-27 18:27:54 +01:00
Stefan Parviainen 95b2392104 Merge branch 'develop' into departify 2017-10-27 19:23:13 +02:00
Weblate 8f19e4c55c Merge remote-tracking branch 'origin/develop' into develop 2017-10-27 17:01:36 +00:00
Walter 41257020c0 Translated using Weblate (Ukrainian)
Currently translated at 11.0% (101 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2017-10-27 17:01:36 +00:00
Luke Barnard 27083df0f9
Merge pull request #1547 from matrix-org/dbkr/username_to_lower
Lowercase all usernames
2017-10-27 18:01:32 +01:00
David Baker 4eb8fe3e6a Lowercase all usernames
As synapse doesn't accept usernames with capitals in them now

Fixes https://github.com/vector-im/riot-web/issues/5445
2017-10-27 17:49:44 +01:00
Richard Lewis 3756ce606d Check URL prop updates and ensure that widgets are refreshed. 2017-10-27 17:49:14 +01:00
Weblate 82818cd316 Merge remote-tracking branch 'origin/develop' into develop 2017-10-27 16:26:13 +00:00
Luke Barnard 47c395ec06
Merge pull request #1546 from matrix-org/luke/fix-MELS-plural-strings-in-tests
Add sensible missing entry generator for MELS tests
2017-10-27 17:26:08 +01:00
Luke Barnard 8a64123ab8 Add sensible missing entry generator for MELS tests
Fixes vector-im/riot-web#5426 (because we don't test plurals anywhere else)
2017-10-27 16:55:13 +01:00
Weblate 6618687b36 Merge remote-tracking branch 'origin/develop' into develop 2017-10-27 15:42:51 +00:00
Krombel 138a61c9ac Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 15:42:51 +00:00
Luke Barnard 55e8f16ee3
Merge pull request #1545 from matrix-org/dbkr/fix_chat_reuse_prompt
Fix prompt to re-use chat room
2017-10-27 16:42:48 +01:00
Richard Lewis 0a7273bf1d Add URL search paramas polyfill 2017-10-27 16:39:04 +01:00
David Baker 2f3e0fb049 Lint 2017-10-27 16:29:56 +01:00
Bamstam 0dac8b0aa2 Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 15:26:56 +00:00
David Baker 5d0b9d73b4 Fix prompt to re-use chat room
I managed to lose this when refactoring ChatInviteDialog in
https://github.com/matrix-org/matrix-react-sdk/pull/1300

Fixes https://github.com/vector-im/riot-web/issues/5119
2017-10-27 16:20:17 +01:00
Weblate 4c4a933a09 Merge remote-tracking branch 'origin/develop' into develop 2017-10-27 15:10:33 +00:00
Bamstam a281a1d278 Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 15:10:32 +00:00
Luke Barnard b421fd05ef
Merge pull request #1544 from matrix-org/luke/groups-store-add-unregister-api
Add unregiseterListener to GroupStore
2017-10-27 16:10:27 +01:00
Luke Barnard 175fadbb57 Add unregiseterListener to GroupStore 2017-10-27 15:08:38 +01:00
Krombel be2935f814 Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 14:06:54 +00:00
Bamstam e2cd2e9524 Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 14:04:58 +00:00
Krombel e8db013d4b Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 14:01:40 +00:00
Bamstam 1a1874e1b5 Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 14:00:53 +00:00
Krombel 3ceb63b97e Translated using Weblate (German)
Currently translated at 100.0% (912 of 912 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-10-27 13:49:23 +00:00
Matthew Hodgson 5d0629ff73 resolve matrix.status.im v. matrix.org confusion 2017-10-27 14:23:16 +01:00
Richard Lewis 7662b5ac8f Unfinished, non-working changes to try and handle URL changes gracefully 2017-10-27 13:47:51 +01:00