Closed hitime1234 closed 3 months ago
I wonder if "nnames" is really worth the 3 characters you're saving
On Sat, 24 Aug 2024, 17:42 Ren, @.***> wrote:
Additions: Nicknames - called nnames
- Database new column character varying 255 (can be null)
- 19.sql patch to allow for upgrades (manual migration must be done)
- (this has already been completed on ury's version of myradio)
Rewording:
- In my investigations of trying to fix 2016 site and myradio connections. I stumbled upon a miscommunication that user profiles have the email listed as public obtainable. But isn't called that in the user profile editor.
-Other minor updates adds comments on what to remove if you want to setup your own mini ury (this is needed as 2016 site expects a mixcloud item)
Thank you for reading this pr, (sorry whoever has to review it) Also sorry for the scuffed ness I am on a train Ren
See pictures below of example changes as tested on my docker cloud
Example of 2016 site after changes: image.png (view on web) https://github.com/user-attachments/assets/2de3a919-7ea6-49b3-8165-c098542b5ac2
Example Myradio changes:
example name nickname changes:
image.png (view on web) https://github.com/user-attachments/assets/45e71b5f-0b91-44f1-bc50-45804b767470
image.png (view on web) https://github.com/user-attachments/assets/d6d0c036-9bb8-4864-b8fc-f1d6f847b1fa
https://github.com/user-attachments/assets/971646c7-8a0a-41b3-aaf5-bcdf6f13b7a7
Public email changes:
image.png (view on web) https://github.com/user-attachments/assets/7405d113-8a0a-4164-9ea1-08b40fc22805
You can view, comment on, or merge this pull request online at:
https://github.com/UniversityRadioYork/MyRadio/pull/1154 Commit Summary
- dbd57d8 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/dbd57d8e6306b517b9e63687a74d1bba64916c3b Nickname Upgrade
- f241e70 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/f241e702253584a07e2954cb4170231ae839913a fixes news column
- d7e19f6 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/d7e19f6e014d15b8ca405e4748f912fa9d7ad0c5 fixes email leak
- 47667ec https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/47667ecab2ba66253d804ce41e237e376e102716 changes wording on emails to state that emails are public
- 46eb851 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/46eb851fb7b8e15d7c488bc5d87fa58c183504f3 adds nickname to user Profile inside internal myradio
- 94c566e https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/94c566e134b1245c59704aeac8453501fda8e028 fixes show search name becoming concat
- 55c582f https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/55c582fccdd5966f14d868caccb0ae334fdaadd1 migration test
- 402197b https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/402197bcf519a626ab40b58ece0d35705bbf8ce1 needs actually tell it to update
- 6cbd87f https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/6cbd87fd078c04ab4e165696767c395392429827 migration test pt2?
- 1f70d5f https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/1f70d5ff2084c3bfba984ca3c3e297d50a6f071e migration test pt3?
- b3f6e09 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/b3f6e09d0f88a42e84815e34b11686c659c43ab4 migration test pt4?
- 2260f10 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/2260f10581acfb3573cfe4b5790c1a199a5f181a ?????????
- 1595045 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/1595045f4ff04df8e925f693fca184c1dd679d6f ?????????????
- 568c8a4 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/568c8a40e5dad4d6010cb5d10c8056b3d55f590b maybe?
- 00b7f79 https://github.com/UniversityRadioYork/MyRadio/pull/1154/commits/00b7f792148710037550f6c61b9da22b9b7f7074 Finale (Ready for merge)
File Changes
(22 files https://github.com/UniversityRadioYork/MyRadio/pull/1154/files )
- M docs/install.md https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-162b45a313f5f057a233411edbe31e72a13185f4df0ae0e1af2c13521bc05d5a (2)
- M schema/api.graphql https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-afbf94a8b068ba09b5b23cdb6fe9ea3979a7231f311ee5f4c8888e98e0cc2d59 (2)
- M schema/api.json https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-ff832003e7b94a058f50e7bcd5fbaa81112b18ec33ed1a44610a4e8e8b9b0fde (3)
- M schema/base.sql https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-1c1f865cddf2c5200d8c91b803b021060cebd18b03bd77ff7cee66ceff64b269 (3)
- A schema/patches/19.sql https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-17c63408ecd64faaae9925c9fd2b24f4e231e9ebe5411f67ccabdf6d924af14b (2)
- M scripts/gdprdeleteuser.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-4eec22e461b7a7006baee4752120d92d3554ad0cb2e310f250d7f5141f7c76f3 (2)
- M src/Classes/MyRadio/MyRadioNews.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-8b52098f7a4c3239c9542b259819c35d9ccfeb775c6c88e66ef1c4782da4f01f (2)
- M src/Classes/ServiceAPI/MyRadio_Season.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-142d7d010036a4523014e3d89c474bd35659334307fd074ee904f361dbdc995a (2)
- M src/Classes/ServiceAPI/MyRadio_Timeslot.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-1338d6d9b15e1812a186f8645954fdb1a51fc62cee437869a1ca00ccccc6d382 (7)
- M src/Classes/ServiceAPI/MyRadio_Track.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-b10ece31446bd47c4735e953633a891286cc75264d8feed2c3715665c48dc915 (6)
- M src/Classes/ServiceAPI/MyRadio_User.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-354290191718c42ccc2b112786067c5e502b68ea86bba468b1a1446ab8e9992d (83)
- M src/Classes/ServiceAPI/Profile.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-608c75a8de3d1f3d515e1a9e0a91349906a2e09073a6820e7847326a278909eb (21)
- M src/Controllers/Profile/bulkAdd.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-8cdd1773ac30fed21378f208b676f893558960abb8874f6c71b8b85f81c860ec (1)
- M src/Controllers/Profile/edit.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-964d869806098698d27c7372f4e525c8f6c0ed1eefb9cb685cf60dbb460abd2c (1)
- M src/Controllers/Profile/quickAdd.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-09835136d134814ee247c4ef46bd6af50a335b779c70ea4496ebee389d3a90b6 (1)
- M src/Controllers/Setup/user.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-6fe8092d56dbf1fd46bab37fb9a8824ff21fe363da0661b849b7daceffd37478 (1)
- M src/Controllers/root.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-66ae155ca42a12272249777b1dd12522138e10ae42eaedd99326e19e990f278a (2)
- M src/Public/js/myradio.form.js https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-bcdd9b5fb45dd940348ed155a79cc5566d9acd508e2ab25e2bb7d9cdf17865dd (16)
- M src/Public/js/myradio.timeslot.js https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-85d0e3d2d7a09c52aaf0b1e4b53e793912b55539c73c770c9138d4a1511de53e (40)
- M src/Templates/Profile/user.twig https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-e2d707b44a3b30db735a0cdf7090b082d45750d835cfd345aa17e100669c9f67 (4)
- M src/Templates/Setup/user.twig https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-4e61d013df9c6ed4ceadd82d844ad1b945e019770ca872f631dfce617b025d91 (4)
- M tests/api/ShowSpecCest.php https://github.com/UniversityRadioYork/MyRadio/pull/1154/files#diff-afb45a063df5fd07164d2d7255f82ba15ab5a72c3c25ee6fa6abfa1fb77d59f4 (1)
Patch Links:
- https://github.com/UniversityRadioYork/MyRadio/pull/1154.patch
- https://github.com/UniversityRadioYork/MyRadio/pull/1154.diff
— Reply to this email directly, view it on GitHub https://github.com/UniversityRadioYork/MyRadio/pull/1154, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6SQOGRA44VBPRW7ZWEB4LZTCZZFAVCNFSM6AAAAABNBXKSPWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4DINZRGU4DSOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I did think of that. Ultimately wanted keep fname,nname,sname similar so they're a bit more consistent. But I am open to changing to nicknames
I wonder if "nnames" is really worth the 3 characters you're saving
Would have saved them if you handn't commented this
Additions: Nicknames - called nnames
Rewording:
-Other minor updates adds comments on what to remove if you want to setup your own mini ury (this is needed as 2016 site expects a mixcloud item)
Thank you for reading this pr, (sorry whoever has to review it) Also sorry for the scuffed ness I am on a train Ren
See pictures below of example changes as tested on my docker cloud
Example of 2016 site after changes:
Example Myradio changes:
example name nickname changes:
https://github.com/user-attachments/assets/971646c7-8a0a-41b3-aaf5-bcdf6f13b7a7
Public email changes: