-
Notifications
You must be signed in to change notification settings - Fork 805
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
Add ability to provide multiple hardcoded server URLs via CMake define #7160
Conversation
fe2132a
to
2f0987f
Compare
a2d977b
to
efb18ea
Compare
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Signed-off-by: Claudio Cambra <[email protected]>
…act a JSON array string describing multiple servers Signed-off-by: Claudio Cambra <[email protected]>
…rver JSON string Signed-off-by: Claudio Cambra <[email protected]>
…f override url Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
…box selection url as url in setup page Signed-off-by: Claudio Cambra <[email protected]>
… error string in setup page Signed-off-by: Claudio Cambra <[email protected]>
…ive but have multiple servers Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
efb18ea
to
c16b620
Compare
AppImage file: nextcloud-PR-7160-c16b6205f155fff54963501eff2f32b550a8ccad-x86_64.AppImage |
/backport to stable-3.14 |
Can be done by feeding a JSON array string describing the multiple servers to the
APPLICATION_SERVER_URL
define (so when using CMake, for example,-DAPPLICATION_SERVER_URL=[{\"name\": \"server1\", \"url\": \"https://c.a.com\"},{\"name\": \"server2\", \"url\": \"https://c.b.com\"}]'
If the override server URLs are enforced (via
APPLICATION_SERVER_URL_ENFORCE
) then a combo box will be shown letting the user pick the server in question