Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate homeserver configuration prior to loading the app #9779

Merged
merged 22 commits into from May 23, 2019
Commits on May 3, 2019
  1. Validate default homeserver config before loading the app

    turt2live committed Apr 16, 2019
    Implements the process described here: #9290 (comment)
    
    The expectation is that later layers (like the react-sdk) will make use of the `validated_discovery_config` option instead of interpreting the config themselves.
    
    We intentionally block the UI from loading here to avoid races between discovery and the app loading.
  2. Add note to self

    turt2live committed Apr 17, 2019
  3. Don't repackage the ValidatedDiscoveryConfig

    turt2live committed Apr 18, 2019
    It's usable as-is, and we can add things to it when we need to (ie: integrations).
  4. Add a couple notes

    turt2live committed May 2, 2019
  5. Fix tests to use new server config options

    turt2live committed May 3, 2019
  6. Fix unit tests for new login

    turt2live committed May 3, 2019
    Supply a server config to the component and adjust the wait logic to be less of a race. The Login component will noop onPasswordLogin if it is "busy", and it is busy when it requests the login flows.
Commits on May 10, 2019
  1. Merge pull request #9496 from vector-im/travis/guests/block-ui

    turt2live committed May 10, 2019
    Validate default homeserver config before loading the app
Commits on May 14, 2019
  1. Clarify comment on is_url and hs_url handling

    turt2live committed May 14, 2019
    We don't actually need to do anything because the app transparently handles this.
    
    See #9290
  2. Flag the validated config as the default config

    turt2live committed May 14, 2019
    For use in the rest of the app.
    
    See #9290
  3. Show most homeserver options on the mobile guide

    turt2live committed May 14, 2019
    This doesn't cover default_server_name because that pulls in a questionable amount of JS.
    
    See #9290
Commits on May 16, 2019
  1. Merge pull request #9719 from vector-im/travis/wk/clarify_is_hs_url

    turt2live committed May 16, 2019
    Clarify comment on is_url and hs_url handling
  2. Merge pull request #9721 from vector-im/travis/wk/fallback_hs

    turt2live committed May 16, 2019
    Flag the validated config as the default config
  3. Merge branch 'develop' into travis/feature/wellknown2

    turt2live committed May 16, 2019
Commits on May 17, 2019
  1. Merge pull request #9726 from vector-im/travis/wk/mobileguide

    turt2live committed May 17, 2019
    Show resolved homeserver configuration on the mobile guide
Commits on May 21, 2019
  1. Merge branch 'develop' into travis/feature/wellknown2

    turt2live committed May 21, 2019
Commits on May 23, 2019
  1. Update copyright

    turt2live committed May 23, 2019
  2. Merge branch 'develop' into travis/feature/wellknown2

    turt2live committed May 23, 2019
You can’t perform that action at this time.