Code Monkey home page Code Monkey logo

julython.org's People

Contributors

chadwhitacre avatar chrisoelmueller avatar cp16net avatar dtgay avatar florinmatei avatar gdub avatar joshmarshall avatar kmooney avatar kulinsky avatar mattoc avatar megamark16 avatar modocache avatar pagenoare avatar parbhat avatar rashfael avatar rmyers avatar romanlevin avatar topherjaynes avatar umbrae avatar waawal avatar zsiciarz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

julython.org's Issues

Create an api to enter beginners scores

We need an api endpoint to register successful answers to the beginner questions. This will also require a new model for questions 1 to 31 like this, parent will be the User object.

class Question(ndb.Model):
    number = ndb.IntegerProperty() # 1- 31
    title = ndb.StringProperty()
    score = ndb.IntegerProperty() # not sure if we need this
    date = ndb.DatetimeProperty(auto_now_add=True)

rotate text of bar chart and add full date

The barchart should be made to work with a array like:

[{'label': '7/23', 'count': 45}, ...]

This will require the labels to be rotated as well as the function changes to parse the data.

Create 'winner' badges and add them to the profile page.

  • All 'winners' from last july should have a badge. (winner/july 2012)
  • All participants should have a badge with the. (played/July 2012)
  • All people to committed to Julython should get a special badge. (cause I'm special ;)
  • Think of anything else that might be worthy of badges, possibly we could look at commit data and mark big commits as 'git bombs' :)

Unable to "Sign In With GitHub"

Trying to sign in with GitHub doesn't work for me. I get a "Whoops! More work to do!".

The first time I tried this, I got the question for the authorization decision (in OAuth2 parlance). Accepting this led to the aforementioned error. Subsequent sign in attempts lead to a whoops immediately.

Add support for big query.

Big query will allow all manners of sql like queries on the data. Possibly help with creating reports and graphs.

Create a question listing page

Create a page listing out 31 questions and a quick link to submit an answer for one.

Create a new model to store questions:

  • These should have a start and end date on them.
  • Text field for rst
  • Text field for the unit test code to test it.

attempting to 'Edit Profile' leads to a 'Whoops! More work to do!' page

I signed up for Julython today (June 28th 2013) and I forget to put in my last name.

When I tried to change my last name in the 'Edit Profile' tab in my account's page, my browser (tried it with Chrome/Firefox) is directed to a 'Whoops! More work to do!' page, Attempting to change any of my profile's information leads to the same thing.

Bellow is my julython information:
github account: mfarhan12
First name: Mohammad
Location: Ottawa, Canada
Team: OPAG

DeserializationError when setting up database as per readme.

Running

python manage.py loaddata july/fixtures/development.json

throws

DeserializationError: Problem installing fixture 'july/fixtures/development.json'[u"'Python' value must be an integer."]

When this is resolved, I'll be able to test a few tweaks I have. 😄

Spam Users

Send out an email to remind everyone that Julython is coming up!

Add the ability to remove projects

My account is linked to a couple of old repos from the last Julython that I no longer want linked. I'd really appreciate the ability to remove them.

Add form for 'winners' to enter address for t-shirts

The winners will need to have shirts shipped to them.

  • Get or Create a new model for Address and make the parent the User
  • Add/Edit form/html for address entry
  • Handle International addresses?

The url can be 'secret' for now and we'll decide later how to expose it.

Whoops! More work to do!

I'm trying to stand up julython.org locally. I've created a virtualenv and have pip installed the requirements (I commented out MySQL-python and gunicorn). I ran python manage.py syncdb and python manage.py migrate. I created a secrets.py file and set up Twitter and GitHub apps and put their keys in secrets.py along with a SECRET_KEY. Then I ran python manage.py runserver and hit http://localhost:8000/ and I get:

Whoops! More work to do!

Is this because I don't have grunt set up yet, maybe?

How do I debug this? I don't have a traceback in my console, just this line:

[05/Jan/2013 13:39:55] "GET / HTTP/1.1" 500 657

Create a file upload for beginner questions

Add a answer question form with takes a file upload and a question number. Place the file in google drive and kick off a task on an external server to test the code. Run the code in a fresh chroot to minimize security risks :)

Bitbucket Repos need a description

The web hook improperly sets the description to None when the user does not have a website set.

  • Change to:
description = repo.get('website') or ''
  • add tests

integrate Gittip with Julython

There's a couple ways this could be done:

  1. Use the Julython user's GitHub and/or Twitter account to format a Gittip URL, like https://www.gittip.com/on/github/rmyers/.
  2. Add a field to the Julython user object to collect a Gittip username.

Then I was thinking this would show up on a person page:

+Gittip

Is this something you'd be interested in?

Fix account creation with just username.

Since the move off of appengine the account creation and login with just email and password has been broken.

  • Fix the login page to work with email/password
  • Add a signup page for just email/password

UPDATE:

  • Fix login for username/password
  • Add signup page for username/password

Setup Celery

We need web workers to handle the creation of commits.

Histogram does not place commits in the correct day

The current histogram is not very smart. It just creates a list from the days returned, this means that if there are no commits on day 3 but there are on day 4 they appear on day 3. We need to inspect the data coming back and fill in zeros for the missing days. Also we should change the front end to accept a json object like:

{'count': 9, 'label': '2013-07-04'}

Check for Python projects

First of all, I must say that julython is an awesome idea and thank you for it.

I've run across an interesting thing in the leaderboard: http://www.julython.org/projects/gh-FNNDSC-chrisreloaded/
There would be nothing wrong with that project except for the fact that welll, it's not Python.

And that's against the rules.

I'm not sure how to fix this but perhaps we could have a look at GitHub API and see if the project is mostly writen in Python?

Thanks for julython anyway!

Archive data from July 2012

Create a backup or a alternative table to store old commits in?

Then delete the data so we can start fresh.

"This ain't you" error thrown inappropriately

I suspect this comes from having made my account with Twitter and having signed in to edit it with GitHub. Although the site recognizes that I'm signed into my own account, when I try to edit my profile it tells me I'm not me.

I'm not particularly concerned or bothered by this, I just thought you might like to know.

Add links to admin site to disable users/projects/teams

  • add link to admin site to disable account/team/project
  • add admin action to delete all projects/commits for the user
  • add admin action to delete all commits for a project
  • add filters to show all disabled entries in admin backend.

Support logging in via GitHub

I'm not a twitter user, so I have no means of logging in. GitHub would probably be a logical choice to add support for IMHO

Unicode error in publish commits

Traceback (most recent call last):
  File "/usr/local/julython/venv/src/july/july/api.py", line 136, in _publish_commits
    requests.post(url + 'project-%s' % commit.project.id, serialized)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/requests/api.py", line 81, in post
    return request('post', url, data=data, **kwargs)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/newrelic-1.9.0.21/newrelic/api/object_wrapper.py", line 220, in __call__
    self._nr_instance, args, kwargs)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/newrelic-1.9.0.21/newrelic/api/external_trace.py", line 60, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/requests/api.py", line 38, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/requests/sessions.py", line 262, in request
    resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/requests/sessions.py", line 357, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/requests/adapters.py", line 152, in send
    timeout=timeout,
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 422, in urlopen
    body=body, headers=headers)
  File "/usr/local/julython/venv/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 274, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python2.7/httplib.py", line 962, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 996, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 958, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 822, in _send_output
    self.send(message_body)
  File "/usr/lib/python2.7/httplib.py", line 794, in send
    self.sock.sendall(data)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 201: ordinal not in range(128)

Example post:

{"pusher":{"name":"fluxbot","email":"[email protected]"},
"repository":{
"name":"dput-ng","size":1564,"created_at":"2012-10-27T07:44:08-07:00","has_wiki":false,"watchers":1,"private":false,"fork":false,"url":"https://github.com/Debian/dput-ng","language":"Python","id":6417909,"pushed_at":"2013-01-02T14:40:10-08:00","has_downloads":true,"open_issues":0,"homepage":"http://people.debian.org/~paultag/dput-ng/","has_issues":false,"organization":"Debian","forks":0,"description":"next generation of dput -- mirror only, real repo @ git.d.o","stargazers":1,"owner":{"name":"Debian","email":null}
},
"forced":false,
"after":"64621d4ff11f25337f05ca0e2b9c22452670ea1c",
"head_commit":{
"modified":[],
"added":["dput/commands/contrib/__init__.py"],
"author":{"name":"Arno Töll","email":"[email protected]"},
"timestamp":"2013-01-02T14:37:26-08:00",
"removed":[],
"url":"https://github.com/Debian/dput-ng/commit/64621d4ff11f25337f05ca0e2b9c22452670ea1c",
"id":"64621d4ff11f25337f05ca0e2b9c22452670ea1c",
"distinct":true,
"message":"Merge branch 'master' of ssh://git.debian.org/git/collab-maint/dputng",
"committer":{"name":"Arno Töll","email":"[email protected]"}},
"deleted":false,
"ref":"refs/heads/master",
"commits":[{"modified":["TODO","dput/command.py"],"added":[],"author":{"name":"Arno Töll","email":"[email protected]"},"timestamp":"2013-01-02T14:37:12-08:00","removed":[],"url":"https://github.com/Debian/dput-ng/commit/71f2456bac403243bcae3e9319530a428f02452e","id":"71f2456bac403243bcae3e9319530a428f02452e","distinct":true,"message":"Write a memo why we stubbed the profile in dcut","committer":{"name":"Arno Töll","email":"[email protected]"}},{"modified":[],"added":["dput/commands/contrib/__init__.py"],"author":{"name":"Arno Töll","email":"[email protected]"},"timestamp":"2013-01-02T14:37:26-08:00","removed":[],"url":"https://github.com/Debian/dput-ng/commit/64621d4ff11f25337f05ca0e2b9c22452670ea1c","id":"64621d4ff11f25337f05ca0e2b9c22452670ea1c","distinct":true,"message":"Merge branch 'master' of ssh://git.debian.org/git/collab-maint/dputng","committer":{"name":"Arno Töll","email":"[email protected]"}}],"compare":"https://github.com/Debian/dput-ng/compare/5d5d7fc673b2...64621d4ff11f","before":"5d5d7fc673b2265f2f69badcdec8ac5d79ae1fd8","created":false}

Arrange projects by size.

The leader board should have three columns. 'small', 'medium', 'large' depending on the number of watchers/stars/forks.

  • decide on the levels (add to game model?)
  • add hooks in the project creation and update the stats
  • add filters to sort by newest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.