Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.mdfile to improve installation instructions and updates theMyRadio_Userclass to support nicknames. The most important changes include adding instructions for handlingautoload.phperrors, 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.phperrors 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 theUserandMemberSearchResulttypes. [1] [2] [3]schema/patches/19.sql: Addednnamecolumn to themembertable and updated metadata keys.src/Classes/ServiceAPI/MyRadio_User.php: Updated theMyRadio_Userclass to include thennamefield, modified methods to handle nicknames, and updated thegetEditFormmethod 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: ModifiedgetNewsItemmethod to display nicknames if available.src/Classes/ServiceAPI/Profile.php: UpdatedgetThisYearsMembers,getCurrentOfficers, andgetOfficersmethods to include nicknames in the user name formatting. [1] [2] [3]scripts/gdprdeleteuser.php: Updated the GDPR delete user script to include thennamefield.src/Controllers/Profile/edit.php: Modified the profile edit controller to handle the nickname field.