paulcwatts / 1hph Goto Github PK
View Code? Open in Web Editor NEWOne Hour Photo Hunt -- a web-based photo sharing game I was writing to learn Django. I've learned quite a bit since then :)
License: BSD 3-Clause "New" or "Revised" License
One Hour Photo Hunt -- a web-based photo sharing game I was writing to learn Django. I've learned quite a bit since then :)
License: BSD 3-Clause "New" or "Revised" License
For each photo, you should be able to mark it as inappropriate, or delete it if you are the person who submitted it.
Create a wiki page that lists all the test cases that we should begin to build unit tests for.
The recent activity list is fugly right now.
Add some icons to it.
Make it look nicer.
Oh, and while you're add it, limit it to the last few days.
For all client forms, use the jQuery form validation plugin to verify the form before the user clicks "submit."
This will allow us to compress CSS and Javascript.
We actually can use both -- but it's probably better to put all of this into the web server config rather than relying on Django.
Twitter users who send a picture to @1hph with the proper hashtag will be added to the hunt. Standard submission rules apply.
Big TODO: How do we extract the file from whatever twitter upload service they use? Hopefully there's some metadata we can use.
This will allow people to use their Google credentials to log into 1hph.
User can upload their profile photo.
Need to add the ability in the profile settings screen for the user to remove their photo.
MySQL is encumbered. Don't use it.
Sign-in, view current hunts, submit photos, vote. It doesn't need to be fancy.
This needs to be finished if we ever want to make our API public.
Right now it's fugly. We need better art and a cooler rules intro.
This will list the top winners (based on points? XP? depends).
For now, it will be the people who have won the most medals.
This could be done using an async call after they first sign in, or it could be manual.
This is an "uber-story" that encompasses all the stuff we need to implement the metagame. Fill this out as needed.
Every X hours a new hunt should be generated that expires in an hour, with voting expiring a day later.
X could be 24 to start.
Add RSS/Atom feeds for Hunts, Comments, and a User's Activity stream.
Current behavior:
Right now if the email submission code throws an exception for some reason, this is sent back to the user as a failed email.
Desired behavior:
Send back a better response, and put the backtrace somewhere we might care about it.
Repro:
Expected:
The Vote button shouldn't appear unless there are >2 submissions.
They need to have some ability to remove submissions they create.
This should be integrated with some form of "button overlay" for all images that will provide buttons for other photo-related actions, like "mark as inappropriate"
Once we have Twitter submissions, get the latitude/longitude via the Tweet.
Next, we may be able to find it in the photo.
/media can be rewritten to be media.1hph.com or somesuch so that it there are no cookies on the domain.
Add captchas to comments and submissions for non-authenticated users (check out django-simple-captcha or supercaptcha, django-myrecaptcha)
Similar to Twitter's stream API, use a long-lived connection and stream Javascript callbacks for "push" notifications.
Make this enabled by settings, and enable it on the production server.
Write basic copy for the Help, TOS, Privacy Policy, About us, and Learn More pages.
This is currently unimplemented.
Create a good robots.txt so search engines don't crawl some pages.
Current behavior:
If you submit via email, there is no reply. The user needs to go to the site to see whether or not the submission succeeded.
Desired behavior:
Reply to the email, and include a link to the photo.
Begin creating ads on certain screens (hunt, submission, comments)
Repro:
Actual:
3. There's a TODO in gonzo.webapp.account.views.twitter_postauth because in this situation an exception would be thrown if we tried to create a new user with that screen name.
Expected:
3. The new Twitter user should get the opportunity to create a new user name to complete signup.
The default table inserts a
between the form input and the hint text. It also doesn't add any classes to the hint text, so it's very difficult to style.
We need to do our own form layout (create an inclusion tag or snippet to do this for all forms: see http://docs.djangoproject.com/en/1.2/topics/forms/ (search for "reusable form templates")
This will be enabled to profile settings. These will come from @1hph, and contain the hashtag of the hunt.
They may contain the short URL of the submission as well.
Current SSL is disabled. What we need to do:
OAuth 2.0, which is the replacement for Facebook Connect
Currently this is unimplemented.
Need to set up mod_expires so our Apache-served resources can be cached. That's why we serve them from Apache in the first place.
Also, add a Cache-Control: public so proxies can cache stuff.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.