drewww / me-moji

A website for collecting faces of people trying to look like emoji!
http://me-moji.com
1 stars 0 forks source link

add a delete page #91

Closed drewww closed 11 years ago

drewww commented 11 years ago

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.