Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Basically adds nickname support to myradio again, It should be a lot more tested now.
But if you want to test it yourself without installing it yourself my webserver is
https://ury.yae.gay
message me on slack for the account password
or alternatively run your own myradio instance
FEEDBACK IS HIGHLY WELCOME
I am so sorry
Github copliot:
This pull request introduces several changes to the
docs/install.md
file to improve installation instructions and updates theMyRadio_User
class to support nicknames. The most important changes include adding instructions for handlingautoload.php
errors, updating the database schema and API to include a nickname field, and modifying various methods to utilize the new nickname field.Improvements to installation instructions:
docs/install.md
: Added instructions for handlingautoload.php
errors and clarified steps for Docker, Vagrant, and uncontained installations. [1] [2] [3] [4] [5]Support for nicknames in user profiles:
schema/api.graphql
,schema/api.json
: Addednname
(nickname) field to theUser
andMemberSearchResult
types. [1] [2] [3]schema/patches/19.sql
: Addednname
column to themember
table and updated metadata keys.src/Classes/ServiceAPI/MyRadio_User.php
: Updated theMyRadio_User
class to include thenname
field, modified methods to handle nicknames, and updated thegetEditForm
method to include a nickname field. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]Updates to other classes and scripts:
src/Classes/MyRadio/MyRadioNews.php
: ModifiedgetNewsItem
method to display nicknames if available.src/Classes/ServiceAPI/Profile.php
: UpdatedgetThisYearsMembers
,getCurrentOfficers
, andgetOfficers
methods to include nicknames in the user name formatting. [1] [2] [3]scripts/gdprdeleteuser.php
: Updated the GDPR delete user script to include thenname
field.src/Controllers/Profile/edit.php
: Modified the profile edit controller to handle the nickname field.