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

Make server GUI default to "None" directory if not set. #2442

Merged
merged 3 commits into from
Mar 3, 2022

Conversation

softins
Copy link
Member

@softins softins commented Feb 28, 2022

Short description of changes

If the directory is not set in the ini file or the command line, the server should not automatically register to All Genres 1. It should default to not registering until the user actually chooses a directory.
This PR sets the default for the GUI accordingly.

CHANGELOG: Server: Set default directory to "None" when not set in ini file or command line.

Context: Fixes an issue?

Fixes #2441

Does this change need documentation? What needs to be documented and how?

Probably not.

Status of this Pull Request

Tested and ready

What is missing until this pull request can be merged?

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

Fixes jamulussoftware#2441. If the directory is not set in the ini file or the command line,
the server should not automatically register to All Genres 1. It should
default to not registering until the user actually chooses a directory.
@ann0see ann0see requested a review from pljones February 28, 2022 18:51
@softins softins requested a review from pljones March 3, 2022 16:15
@hoffie hoffie added this to the Release 3.9.0 milestone Mar 3, 2022
Copy link
Member

@hoffie hoffie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Tested:

  • This PR with empty ini: registration is disabled.
  • 3.8.2 with registration disabled stays disables with this PR
  • 3.8.2 with registration on public directory stays like this with this PR
  • 3.8.2 with registration on custom directory stays like this with this PR

@pljones
Copy link
Collaborator

pljones commented Mar 3, 2022

Looks good to me.

Tested:

....

What, not with 3.4.5? ;) Nice work, thanks.

@softins softins merged commit 7c858dd into jamulussoftware:master Mar 3, 2022
@softins softins deleted the server-gui-default-dir branch March 4, 2022 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server GUI directory should default to "None" (not registered)
3 participants