Skip to content

Conversation

@jsoref
Copy link

@jsoref jsoref commented Oct 17, 2025

I can rebase to master if 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.

  • Verify
  • Verify

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

jsoref added 30 commits October 17, 2025 13:15
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]>
jsoref added 23 commits October 17, 2025 14:11
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;
Copy link
Author

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"
Copy link
Author

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 -->
Copy link
Author

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
Copy link
Author

Choose a reason for hiding this comment

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

Brand

Copy link
Author

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.py

Copy link
Author

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.py

Copy link
Author

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.py

Copy link
Author

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.py

Copy link
Author

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

@jsoref jsoref marked this pull request as ready for review October 17, 2025 18:20
@futa-ikeda
Copy link
Contributor

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!

Copy link
Contributor

@futa-ikeda futa-ikeda left a 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
Copy link
Contributor

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),
Copy link
Contributor

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.

Comment on lines -556 to +561
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>]'
Copy link
Contributor

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>'
Copy link
Contributor

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 😄

Copy link
Author

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,
Copy link
Contributor

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'
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

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

'_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>.',
Copy link
Contributor

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:
Copy link
Contributor

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.
Copy link
Contributor

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

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.

2 participants