- 
                Notifications
    You must be signed in to change notification settings 
- Fork 350
Spelling #11379
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
base: develop
Are you sure you want to change the base?
Spelling #11379
Conversation
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
| @@ -28,7 +28,7 @@ | |||
| .wiki-sidenav h4 { | |||
| margin-top:20px; | |||
| margin-bottom: 0; | |||
| font-weigth: normal; | |||
| font-weight: normal; | |||
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.
notable
| SESSION_COOKIE_HTTPONLY=true | ||
| SESSION_COOKIE_SAMESITE=Lax | ||
| OSF_SENSITIVE_DATA_SECRET="TrainglesAre5Squares" | ||
| OSF_SENSITIVE_DATA_SECRET="TrianglesAre5Squares" | 
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 assuming no one cares.
| ## Ticket | ||
|  | ||
| <!-- Link to JIRA ticket, if applicable e.g. https://openscience.atlassian.net/browse/OSF-1234 --> | ||
| <!-- Link to Jira ticket, if applicable e.g. https://openscience.atlassian.net/browse/OSF-1234 --> | 
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.
Brand
|  | ||
| 1. Install the Docker Client | ||
| - OSX: https://www.docker.com/products/docker#/mac | ||
| - macOS: https://www.docker.com/products/docker#/mac | 
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.
Brand
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.
-...ers/managment_commands/test_sync_dois.py
+...ers/management_commands/test_sync_dois.pyThere 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.
-...ons/views/test_regisatration_callbacks.py
+...ons/views/test_registration_callbacks.pyThere 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.
-...iews/test_registrations_childrens_list.py
+...iews/test_registrations_children_list.pyThere 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.
-tests/test_project_contibutor_views.py
+tests/test_project_contributor_views.pyThere 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.
-...merican_Economic_Review_Resgistration.txt
+...merican_Economic_Review_Registration.txt| I'll be reviewing this PR either today or tomorrow, depending on availability. For both of these PRs, I will check with others and update the target branch accordingly if that's ok with you. Sorry for the delay in getting back to you, and thank you so much for your contributions! | 
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 took a little longer to get through than expected! Thank you for all the work here! I think the biggest change that gave me pause was one of the URL patterns that we use has a typo in it (external_login_comfirm_email using "coMfirm" with an "M"). To make sure we don't mess up the routing for any existing links with that typo, I would err on the side of caution and avoid replacing the route, and just add a new route with the correct spelling that does the same thing. I'll leave a comment with the suggested change. There's another wording change regarding an email that goes out to deleted users that I want to run past our product team and make sure they are ok with that update.
| operation['source_field_name'] = '_path' | ||
| # NOTE: This is potentially fragile, if we ever add filtering on provider | ||
| # we're going to have to get a bit tricky. get_default_queryset should ramain filtering on BaseFileNode, for now | ||
| # we're going to have to get a bit tricky. get_default_queryset should retain filtering on BaseFileNode, for now | 
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 believe this should be "remain" in this case?
| urlpatterns = [ | ||
| re_path(r'^reset_password/$', views.ResetPassword.as_view(), name=views.ResetPassword.view_name), | ||
| re_path(r'^external_login_comfirm_email/$', views.ExternalLoginConfirmEmailView.as_view(), name=views.ExternalLoginConfirmEmailView.view_name), | ||
| re_path(r'^external_login_confirm_email/$', views.ExternalLoginConfirmEmailView.as_view(), name=views.ExternalLoginConfirmEmailView.view_name), | 
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.
Hmmm, yea, this may cause some existing links to break. My hunch is to leave the old misspelled path, and add the correct spelling path instead.
| filter_str = 'fitler[name]' | ||
| filter_str = 'filter[name]' | ||
| match = self.filter_regex.match(filter_str) | ||
| assert not match | ||
|  | ||
| def test_single_field_non_alphanumeric_character(self): | ||
| filter_str = 'fitler[<name>]' | ||
| filter_str = 'filter[<name>]' | 
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 agree that this is a notable change, but now this should actually be testing what we want it to test, so should be an improvement.
|  | ||
| def test_bulk_creates_children_and_sanitizes_html_logged_in_owner( | ||
| self, app, user, project, url): | ||
| title = '<em>Reasoning</em> <strong>Aboot Projects</strong>' | 
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 gave me a chuckle 😄
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.
As a (relatively new) Canadian, things like this definitely give me a chuckle.
| user=contributor, | ||
| submitter=user, | ||
| is_initator=self.creator == contributor, | ||
| is_initiator=self.creator == contributor, | 
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.
Just leaving myself a reminder here: if /website/templates/emails/collection_submission_submitted.html.mako is updated with this change, I think we are ok
|  | ||
| RESOURCE_ADDED = 'resource_identifier_added' | ||
| RESOURCE_UPDATED = 'resource_identifier_udpated' | ||
| RESOURCE_UPDATED = 'resource_identifier_updated' | 
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.
Comment for self: potentially notable change here as this is likely used in the frontend. Check front-end repo to make sure this isn't being used with the typo included
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.
Looks like we should be ok with this corrected spelling https://github.com/CenterForOpenScience/angular-osf/blob/main/src/assets/i18n/en.json#L3052
| '_id': 'cornell', | ||
| 'name': 'Cornell University', | ||
| 'description': 'Supported by the Cornell Research Data Management Service Group and the Cornell University Library. The OSF service may not be used to store or transfer personally identifiable, confidential/restricted, HIPPA-regulated or any other controlled unclassified information. Learn more at <a href="https://data.research.cornell.edu">https://data.research.cornell.edu</a> | <a href="mailto:[email protected]">[email protected]</a>.', | ||
| 'description': 'Supported by the Cornell Research Data Management Service Group and the Cornell University Library. The OSF service may not be used to store or transfer personally identifiable, confidential/restricted, HIPAA-regulated or any other controlled unclassified information. Learn more at <a href="https://data.research.cornell.edu">https://data.research.cornell.edu</a> | <a href="mailto:[email protected]">[email protected]</a>.', | 
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.
Should be fine to update these, as these descriptions are separate from the ones we should be using in production. These are scripts used to populate institutions during local development.
| @@ -8,7 +8,7 @@ | |||
| Hello ${user.fullname},<br> | |||
| <br> | |||
| <p> | |||
| % if is_initator: | |||
| % if is_initiator: | |||
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.
Note to myself (and any other reviewer), this is updated in `osf/models/collection_submission.py as well
| Your OSF account has been deactivated. You will not show up in search, nor will a profile be visible for you. | ||
| Your OSF account has been deactivated. You will not show up in search, nor will your profile be visible. | 
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.
Will bring this up with our Product team to make sure this language change is ok with them
Co-authored-by: futa-ikeda <[email protected]>
I can rebase to
masterif requested.Purpose
This PR corrects misspellings identified by the check-spelling action
The misspellings have been reported at https://github.com/jsoref/osf.io/actions/runs/18599108247/attempts/1#summary-53032928103
The action reports that the changes in this PR would make it mostly happy: https://github.com/jsoref/osf.io/actions/runs/18599109509/attempts/1#summary-53032931263
Changes
Spelling fixes
QA Notes
Please make verification statements inspired by your code and what your code touches.
What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation
Side Effects
Certainly (there are approximately 330 sets of changes)
Ticket