Deleting is annoying and can't feasibly be done from the command line (especially with the auth issue for iris-redis).
So we really need to add a delete page in a secure fashion.
I'll just do something cheap like put a page that takes an image filename, grabs the emojiid and excises that filename from the list of recent emoji and adds a "deleted" flag to the emoji object in the image:id hash.
For security we can just do something stupid like have an admin password in the env variables and require that password as part of the form to delete an image.
Deleting is annoying and can't feasibly be done from the command line (especially with the auth issue for iris-redis).
So we really need to add a delete page in a secure fashion.
I'll just do something cheap like put a page that takes an image filename, grabs the emojiid and excises that filename from the list of recent emoji and adds a "deleted" flag to the emoji object in the image:id hash.
For security we can just do something stupid like have an admin password in the env variables and require that password as part of the form to delete an image.