Programs on KA can be hidden from the hot list, but they can also be "completely" hidden, what the API calls appearsAsDeleted. People other than the program author and guardians, when given a direct link to one of these programs, see KA's 404 page, as if the program was deleted. But these programs aren't actually deleted, and anybody can still see the program's API data (including code).
This PR does three things:
Adds a check to the 404 page to see if the program actually exists, and lets the user know if it does.
Adds a check to the program info table to see if the current program is completely hidden (really only applicable for the program author).
Combines the above check, with the existing hidden and guardian approved checks into one table row. (See screenshots)
I realize 99% of the time these features are unnecessary. I added them mostly to satisfy my own paranoia. And this probably messes with your plans to re-do the program info table, Luke.
Programs on KA can be hidden from the hot list, but they can also be "completely" hidden, what the API calls
appearsAsDeleted
. People other than the program author and guardians, when given a direct link to one of these programs, see KA's 404 page, as if the program was deleted. But these programs aren't actually deleted, and anybody can still see the program's API data (including code). This PR does three things:I realize 99% of the time these features are unnecessary. I added them mostly to satisfy my own paranoia. And this probably messes with your plans to re-do the program info table, Luke.
Screenshots: Ultimate TD
A program that got completely hidden years ago:
Terra Magma:
A random program
A program created with
// /cs/pro/5733417664643072