Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Mozillians API v2 #1152

Merged
merged 1 commit into from
Feb 3, 2015
Merged

Conversation

johngian
Copy link
Contributor

No description provided.

@johngian johngian mentioned this pull request Jan 19, 2015
@johngian johngian force-pushed the api-users-skills-groups branch 2 times, most recently from e94af61 to 966c257 Compare January 19, 2015 19:21
@johngian
Copy link
Contributor Author

Most of the work here is integrating @glogiotatidis work from [1] and [2].

@comzeradd
Can you please take a look?

[1] https://github.com/glogiotatidis/mozillians/tree/newapi-usersonly
[2] https://github.com/glogiotatidis/mozillians/tree/newapi

@coveralls
Copy link

Coverage Status

Coverage increased (+0.12%) when pulling 966c257 on johngian:api-users-skills-groups into 6caae12 on mozilla:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.12%) when pulling 966c257 on johngian:api-users-skills-groups into 6caae12 on mozilla:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.12%) when pulling 966c257 on johngian:api-users-skills-groups into 6caae12 on mozilla:master.

"""
Returns a list of Mozillians groups respecting authorization
levels and privacy settings.
"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the description is generated through the docstring, maybe you should consider adding a different docstring for GroupViewSet and UserProfileViewSet.

@akatsoulas
Copy link
Contributor

Is there a reason why commit e3ec255 is on its own? Docstrings should be part of the commit with the class. Moreover in the commit message you are adding docstrings for users/groups/skills but there only the docstrings for users/groups.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.12%) when pulling a7bcc2f on johngian:api-users-skills-groups into 6caae12 on mozilla:master.

<a class="brand" rel="nofollow" href="{% url 'api-root' %}">
Mozillians API <span class="version">2</span>
</a>
{% endblock %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the indentation? You should indent after the block statements.

@johngian johngian force-pushed the api-users-skills-groups branch 5 times, most recently from ebf9add to 879876d Compare February 3, 2015 15:05
Fixes bugs: 926673, 1011220, 1011227, 1011243

* Expose new API endpoint for v2
* Use django-rest-framework instead of tastypie
* Respect per field privacy level
* API Resources: Users, Groups, Skills
* Manage API v2 in /admin
* Add page to allow users manage their API keys
* Grant PUBLIC level API access for vouched Mozillians
@coveralls
Copy link

Coverage Status

Coverage increased (+0.11%) to 92.99% when pulling 454d141 on johngian:api-users-skills-groups into 9c973a0 on mozilla:master.

johngian added a commit that referenced this pull request Feb 3, 2015
@johngian johngian merged commit 53ed6a3 into mozilla:master Feb 3, 2015
@johngian johngian deleted the api-users-skills-groups branch February 3, 2015 15:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants