Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestion: duplicate detection #15

Open
aaazalea opened this issue Jul 11, 2018 · 2 comments
Open

Feature suggestion: duplicate detection #15

aaazalea opened this issue Jul 11, 2018 · 2 comments

Comments

@aaazalea
Copy link
Contributor

If someone uploads a puzzle that is already in the database, don't create multiple copies of it clogging up the home page.

@stevenhao
Copy link
Member

this should be doable by maintaining something like puzzlehashes/:hash = {pid} in the db.

  • the hash should not depend on metadata, because different sources (e.g. cruciverb archive page, nyt archive-view, downloadacross, nyt puzzle-view all provide .puz files, but all name the puzzles differently)

@stevenhao
Copy link
Member

after detecting the duplicate, maybe we should a message like "this puzzle exists already" and show a link to /beta/play/:existingpid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants