-
Notifications
You must be signed in to change notification settings - Fork 689
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
removed TODOs and documented them in ticket tracker #3615
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #3615 +/- ##
========================================
Coverage 85.12% 85.12%
========================================
Files 37 37
Lines 2367 2367
Branches 260 260
========================================
Hits 2015 2015
Misses 289 289
Partials 63 63
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a big fan of tracking these TODOs in the bug tracker 🤘 thanks @heartsucker
How do we relate the TODO's with their replacement in the list of issues? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey - I went through and wrote out my justifications for these line by line for @dachary to peruse. also: @dachary or @heartsucker, if either you disagree with any of my comments, feel free to add a note on the corresponding issue or file a followup
@@ -50,9 +50,6 @@ output like this: | |||
Passphrases include the spaces between the words, but not leading or trailing | |||
whitespace. Be sure to save this passphrase in the appropriate KeePassX database. | |||
|
|||
.. todo:: Clarify how to set up TOTP/HOTP through ``./manage.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue #3594
@@ -164,15 +164,6 @@ from the `Vagrant Downloads page`_ and then install it. | |||
instructions in Vagrantfile that would enable vagrant-cachier are | |||
currently commented out. | |||
|
|||
.. todo:: This warning is here because a common refrain during hackathons for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
irrelevant, we use the Docker dev env at hackathons (rarely if ever to people wade into the waters 🌊 of the staging VMs at hackathons)
@@ -40,13 +40,6 @@ key, used for decryption, stays on the *Journalist Workstation*. The | |||
public key, used for encryption, is copied to the *Secure Viewing | |||
Station*. | |||
|
|||
.. todo:: This document recommends transferring documents from the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue #3598
@@ -41,9 +41,6 @@ you have a lot of journalists who wish to access SecureDrop | |||
concurrently, you will need to provision multiple *Secure Viewing | |||
Stations*. | |||
|
|||
.. todo:: Describe best practices for provisioning multiple Secure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue #3596
@@ -58,9 +58,6 @@ the sources, and the journalists. | |||
|
|||
|SecureDrop architecture overview diagram| | |||
|
|||
.. todo:: A picture of an actual physical setup (e.g. the office |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue #3599
@@ -161,7 +161,6 @@ def test_unauthorized_access_redirects_to_login(journalist_app): | |||
|
|||
def test_login_throttle(journalist_app, test_journo): | |||
# Overwrite the default value used during testing | |||
# TODO this may break other tests during parallel testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1130,9 +1129,6 @@ def tearDown(self): | |||
# making a point of this, we hope to avoid the introduction of new tests, | |||
# that do not truly prove their result because of this disconnect between | |||
# request context in Flask Testing and production. | |||
# | |||
# TODO: either ditch Flask Testing or subclass it as discussed in the | |||
# aforementioned issue to fix the described problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue #3607
@@ -16,7 +16,7 @@ | |||
|
|||
FILES_DIR = abspath(join(dirname(realpath(__file__)), '..', 'files')) | |||
|
|||
# TODO: the PID file for the redis worker is hard-coded below. Ideally this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one is also issue #3606
@@ -13,7 +13,6 @@ def test_tor_service_directories(File, Sudo, tor_service): | |||
with Sudo(): | |||
f = File("/var/lib/tor/services/{}".format(tor_service['name'])) | |||
assert f.is_directory | |||
# TODO: tor might mark these dirs as setgid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue #3602
@@ -153,8 +153,6 @@ Once the restore is done, the Application Server will use the original Source an | |||
*Journalist Interface* Onion URLs. You will need to update the corresponding | |||
files on the Admin Workstation: | |||
|
|||
.. todo:: We really should automate this process for Admins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imho fine to remove, this is no longer a priority to implement as:
- the correct behavior is documented for admins,
- the restore part of the backup/restore is a rare action. as such, engineering effort spent on automating it does not produce benefits to end users as much as automating more common tasks e.g. the journalist provisioning process (issue Provisioning utility for journalists & Journalist Workstations #1177, a common request by admins)
Great reference, thanks! @redshiftzero |
Status
Ready for review
Description of Changes
(kinda sorta) Fixes #724
Just removed TODOs
Testing
Just let CI run.