-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
Default author for exercises should be hostname #159
Comments
Looking into this. |
This is a fix for issue wger-project#159. Previously, if the administrator did not specify an author when creating a new exercise, the author would default to ‘wger.de’. Now, if the administrator does not specify an author for a new exercise, the author will default to the hostname that WGER is installed on.
Commit c687301 fixes issue wger-project#159 by making the default author for new exercises the hostname of the local computer. This change updates the test to ensure this is what we test for.
This is a fix for issue wger-project#159. Previously, if the administrator did not specify an author when creating a new exercise, the author would default to ‘wger.de’. Now, if the administrator does not specify an author for a new exercise, the author will default to the hostname that WGER is installed on. Update test for commit c687301 This commit also updates the test to ensure this is what we test for.
This is a fix for issue wger-project#159. Previously, if the administrator did not specify an author when creating a new exercise, the author would default to ‘wger.de’. Now, if the administrator does not specify an author for a new exercise, the author will default to the hostname that WGER is installed on. This commit also updates the test to ensure this is what we test for.
I've just learned what interactive rebasing is, so my future pull requests should be cleaner. Huzzah! James |
I know that some projects practically demand to rebase everything for push requests, but I am more relaxed, if you needed 5 commits, then I get those 5 commits, they don't hurt. But obviously, if you want to tidy up the commits, feel free! 😄 (BTW, you can also rebase commits in a pull request after you have opened it, even multiple times) |
Good to know. Thanks.! |
Implemented with pull request #166 |
At the moment, the author used for exercises when added by an administrator is the hard coded string 'wger.de'. This should be changed to the current hostname so that local installations get sensible data.
The text was updated successfully, but these errors were encountered: