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

Fixes #25 and #26 #39

Merged
merged 6 commits into from
Jun 22, 2013
Merged

Fixes #25 and #26 #39

merged 6 commits into from
Jun 22, 2013

Conversation

monfresh
Copy link
Member

Developers can now sign up for an account (email is required and has to be confirmed), and can register applications. When an application is registered, a random API token is automatically generated and displayed.

The rate limiter now checks for an X-API-Token header with a token that matches one belonging to a registered application. If it finds it, then it grants the application 5000 requests per hour. Otherwise, the client gets 60 requests per hour.

monfresh added 5 commits June 19, 2013 15:52
Fixed the invalid params tests to actually test invalid scenarios and fixed the create, delete, and redirect on create specs by using "reload"
The Rails scaffold generator creates a few unnecessary actions and files. One of them is the "show" action that just shows the information. A user must then click the "Edit" link to be able to update the application. I think it's a better experience for the user to be taken directly to the edit mode when they click on one of their applications.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling feb20f1 on 25-api-keys into 0d45b36 on master.

Otherwise, bad things will happen, such as having a higher number of remaining requests than the limit.
anselmbradford added a commit that referenced this pull request Jun 22, 2013
@anselmbradford anselmbradford merged commit 532c761 into master Jun 22, 2013
@anselmbradford anselmbradford deleted the 25-api-keys branch June 22, 2013 13:49
skasch pushed a commit to skasch/ohana-api that referenced this pull request Feb 7, 2015
animista01 pushed a commit to IOfoundation/ohana-api that referenced this pull request May 19, 2020
CS-833 Ohana changes to support Location form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants