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

More moderation tools and stats enpoints #9

Merged
merged 12 commits into from Jun 29, 2018
Merged

More moderation tools and stats enpoints #9

merged 12 commits into from Jun 29, 2018

Conversation

jayserdny
Copy link
Collaborator

@jayserdny jayserdny commented Jun 28, 2018

Changes made:

  • Reserve a post so another moderator cannot moderate it (unless the moderation is expired)
  • Reduce the number of queries by passing objects through middlewares using locals
  • Add new members to the moderation team (can be added as a moderator or supervisor)
  • Reset moderation data (supervisors only)
  • Demote moderators and/or supervisors. (Only master supervisor can demote supervisors and not vice-versa)
  • Improve API docs by adding parameters default values and specify if they are optional
  • Stats endpoints: pending, approved, moderated, not-approved, reserved posts. (They all can be queried by a specific user as well)
  • Update package.json to decrement the version of the API back to 1.0.0 and change the author
  • Remove coded relate to JWT and users
  • Clean up unused code and unused libraries

@onozasi onozasi merged commit 1e5ad00 into knacksteem:master Jun 29, 2018
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.

None yet

3 participants