-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
added parameter default values #3087
Conversation
based on a source code analysis (looking for getSystemValue() function) I added the default values of the prameters
@j-ed, thanks for your PR! By analyzing the history of the files in this pull request, we identified @MorrisJobke, @georgehrke and @oparoz to be potential reviewers. |
👍 |
@@ -74,8 +74,10 @@ | |||
|
|||
|
|||
/** | |||
* Where user files are stored; this defaults to ``data/`` in the Nextcloud | |||
* directory. The SQLite database is also stored here, when you use SQLite. | |||
* Where user files are stored.The SQLite database is also stored here, when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space before The
missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[x] fixed.
@@ -762,6 +762,11 @@ | |||
/** | |||
* This section is for configuring the download links for Nextcloud clients, as | |||
* seen in the first-run wizard and on Personal pages. | |||
* | |||
* Defaults to | |||
* * Desktop client: ```https://nextcloud.com/install/#install-clients``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be two ticks only on each side, not 3
@j-ed Sorry for not bringing this up earlier: we require a sign-off for your commits. You can read the details here: https://github.com/nextcloud/server/blob/master/CONTRIBUTING.md#sign-your-work Thanks for the contribution and it now looks good. Once the sign-off is added to the commits we can merge it :) |
Then also CI gets green ;) |
@@ -1182,12 +1322,16 @@ | |||
* When changing this, note that older unsupported versions of the Nextcloud desktop | |||
* client may not function as expected, and could lead to permanent data loss for | |||
* clients or other unexpected results. | |||
* | |||
* Defaults to ``2.2.0`` | |||
*/ | |||
'minimum.supported.desktop.version' => '2.0.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd also adjust the sample value here to match the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed typo after double-checking which default is used in the source code.
*/ | ||
'share_folder' => '/', | ||
|
||
/** | ||
* If you are applying a theme to Nextcloud, enter the name of the theme here. | ||
* The default location for themes is ``nextcloud/themes/``. | ||
* | ||
* Default to ``themes/`` in Nextcloud directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is not the theme directory, but the actual theme. This has no default value:
Defaults to the theming app which is shipped since Nextcloud 9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[x] done.
@@ -1140,6 +1272,8 @@ | |||
* use. | |||
* | |||
* The Web server user must have write access to this directory. | |||
* | |||
* Defaults to ``''`` (empty string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defaults to null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default information removed.
@@ -1025,6 +1148,8 @@ | |||
* to be fetched in addition to any requested file. | |||
* | |||
* One way to test is applying for a trystack account at http://trystack.org/ | |||
* | |||
* Defaults to ``''`` (empty string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an array and has no default value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[x] done.
I've adjusted the label accordingly |
- removed default value for 'objectstore' because it has not default value. - removed default value for 'tempdirectory' because it is unset. - changed default value for 'theme' to "Defaults to the theming app which is shipped since Nextcloud 9" - fixed typo in default value of 'minimum.supported.desktop.version', after double-checking the version number in /apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php:71. Signed-off-by: Juergen Edner <juergen@eisfair.org>
@MorrisJobke I've added a 'Signed-off-by:" line to my last commit. |
It needs to be done for all commits. I will squash them into one and merge this here then. |
Done in #3133 |
Fix #3069
Based on a source code analysis (looking for getSystemValue() function) I added the default values of the parameters.
I followed the recommendation of @nickvergessen and created separate issue tickets for each parameter.