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

fix: Handle case of disconnected replies #5351

Merged

Conversation

prateekj117
Copy link
Contributor

@prateekj117 prateekj117 commented Jun 30, 2020

Status

Ready for review

Description of Changes

Fixes #5349

Handled the case of disconnected replies and added a test for the same.

A similar case and more discussion why we decided not to return the disconnected resources altogether can be found here: #5345

Checklist

If you made changes to the server application code:

  • Linting (make lint) and tests (make test) pass in the development container

If you made changes to securedrop-admin:

  • Linting and tests (make -C admin test) pass in the admin development container

If you made changes to the system configuration:

If you made non-trivial code changes:

  • I have written a test plan and validated it for this PR

If you made changes to documentation:

  • Doc linting (make docs-lint) passed locally

@prateekj117 prateekj117 changed the title fix: Handle case of disconnected submissions fix: Handle case of disconnected replies Jun 30, 2020
Copy link
Contributor

@rmol rmol left a comment

Choose a reason for hiding this comment

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

👍 Looks great. Thanks again.

@rmol rmol merged commit 488939c into freedomofpress:develop Jul 1, 2020
@rmol rmol added this to the 1.5.0 milestone Jul 15, 2020
@zenmonkeykstop zenmonkeykstop mentioned this pull request Jul 20, 2020
18 tasks
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.

Journalist API get_all_replies endpoint should omit disconnected replies
2 participants