Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
acdba2e
link: documentation for this endpoint
jsoref Oct 16, 2025
f6d0eec
link: download the contents of this repository
jsoref Oct 16, 2025
2ad1114
link: files in this repo
jsoref Oct 16, 2025
ba4469c
link: disconnect your GitLab account and reconnect with a valid token
jsoref Oct 16, 2025
8c44cec
link: more information on locations
jsoref Oct 16, 2025
1c0552c
link: example of a full custom taxonomy and more information about ea…
jsoref Oct 16, 2025
f5a4253
link: set a password
jsoref Oct 16, 2025
e9036ec
link: questions and comments
jsoref Oct 16, 2025
4e3eb14
link: blank version of the Election Research Preacceptance Competitio…
jsoref Oct 16, 2025
baf7795
link: review the request
jsoref Oct 21, 2025
af11de1
link: disable this feature
jsoref Oct 16, 2025
fa6dcf0
link: OSF Storage capacity
jsoref Oct 16, 2025
a0b59f1
link: Version history for this policy
jsoref Oct 16, 2025
fcc4216
link: view it as a contributor
jsoref Oct 16, 2025
bfae29c
link: withdraw its parent registration
jsoref Oct 16, 2025
812151f
link: resend your confirmation email
jsoref Oct 16, 2025
f85721f
link: set a password for your account
jsoref Oct 16, 2025
4444950
link: approve this ...
jsoref Oct 16, 2025
006ea2d
link: cancel this ...
jsoref Oct 16, 2025
9956d4e
link: View your draft
jsoref Oct 21, 2025
20ded22
link: Review and contribute to the updates in progress
jsoref Oct 16, 2025
7987bb9
link: Review the updates in progress
jsoref Oct 16, 2025
67f21c6
link: Review and either approve or reject the submitted updates
jsoref Oct 16, 2025
68adcb4
link: Review the submited updates
jsoref Oct 16, 2025
e78d38f
link: about preregistration
jsoref Oct 16, 2025
b3d8edd
link: how to upload a preprint
jsoref Oct 16, 2025
bf8f4c7
link: create a registration
jsoref Oct 21, 2025
debef3c
link: upload a preprint
jsoref Oct 21, 2025
3327d4a
link: list of storage provider keys
jsoref Oct 17, 2025
1a0c2af
Remove bogus aria-label
jsoref Oct 21, 2025
eabab52
link: Submitting to a Moderated Preprint Service
jsoref Oct 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions addons/bitbucket/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ def before_page_load(self, node, user):
)
else:
message += (
' The files in this Bitbucket repo can be viewed on Bitbucket '
'<u><a href="https://bitbucket.org/{user}/{repo}/">here</a></u>.'
' View the <u><a href="https://bitbucket.org/{user}/{repo}/">files in this repo</a></u> on Bitbucket '
'.'
).format(
user=self.user,
repo=self.repo,
Expand Down Expand Up @@ -369,8 +369,8 @@ def before_remove_contributor_message(self, node, removed):
"""
try:
message = (super().before_remove_contributor_message(node, removed) +
'You can download the contents of this repository before removing '
'this contributor <u><a href="{url}">here</a></u>.'.format(
'You can <u><a href="{url}">download the contents of this repository</a></u> before removing '
'this contributor.'.format(
url=node.api_url + 'bitbucket/tarball/'
))
except TypeError:
Expand Down
8 changes: 4 additions & 4 deletions addons/github/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ def before_page_load(self, node, user):
)
else:
message += (
' The files in this GitHub repo can be viewed on GitHub '
'<u><a href="https://github.com/{user}/{repo}/">here</a></u>.'
' View the <u><a href="https://github.com/{user}/{repo}/">files in this repo</a></u> on GitHub '
'.'
).format(
user=self.user,
repo=self.repo,
Expand All @@ -355,8 +355,8 @@ def before_remove_contributor_message(self, node, removed):
"""
try:
message = (super().before_remove_contributor_message(node, removed) +
'You can download the contents of this repository before removing '
'this contributor <u><a href="{url}">here</a></u>.'.format(
'You can <u><a href="{url}">download the contents of this repository</a></u> before removing '
'this contributor.'.format(
url=node.api_url + 'github/tarball/'
))
except TypeError:
Expand Down
4 changes: 2 additions & 2 deletions addons/gitlab/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def repos(self, all=False):
return self.gitlab.projects.list(membership=True, all=all)
except gitlab.GitlabAuthenticationError:
raise HTTPError(http_status.HTTP_403_FORBIDDEN, data={
'message_long': 'Your Gitlab token is deleted or invalid you may disconnect your Gitlab account and '
'reconnect with a valid token <a href="/settings/addons/">here</a>.'
'message_long': 'Your GitLab token is deleted or invalid you may <a href="/settings/addons/">disconnect '
Copy link
Author

Choose a reason for hiding this comment

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

'your GitLab account and reconnect with a valid token</a>.'
})

def branches(self, repo_id, branch=None):
Expand Down
8 changes: 4 additions & 4 deletions addons/gitlab/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ def before_page_load(self, node, user):
)
else:
message += (
' The files in this GitLab repo can be viewed on GitLab '
'<u><a href="{url}" aria-label="github link" >here</a></u>.'
' View the <u><a href="{url}">files in this repo</a></u> on GitLab '
'.'
).format(url=repo.http_url_to_repo)
messages.append(message)
return messages
Expand All @@ -318,8 +318,8 @@ def before_remove_contributor_message(self, node, removed):
"""
try:
message = (super().before_remove_contributor_message(node, removed) +
'You can download the contents of this repository before removing '
'this contributor <u><a href="{url}">here</a></u>.'.format(
'You can <u><a href="{url}">download the contents of this repository</a></u> before removing '
'this contributor.'.format(
url=node.api_url + 'gitlab/tarball/'
))
except TypeError:
Expand Down
4 changes: 2 additions & 2 deletions addons/s3/static/s3NodeConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ var s3FolderPickerViewModel = oop.extend(OauthAddonFolderPicker, {
'</div>' +
'</div>' +
'</form>' +
'<span>For more information on locations, click ' +
'<a href="http://help.osf.io/m/addons/l/863985">here</a>' +
'<span>See <a href="http://help.osf.io/m/addons/l/863985">more ' +
'information on locations</a>' +
'</span>' +
'</div>' +
'</div>',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h2>Custom Taxonomy</h2>
<p>To remove an entry, delete it from the text box in the Built Custom Taxonomy section. If deleting the last item in a list, be sure to also remove the
final comma.</p>

<p>Click <a role="button" data-toggle="modal" href="#exampleModal">here</a> to see an example of a full custom taxonomy and for more information about each field.</p>
<p>See an <a role="button" data-toggle="modal" href="#exampleModal">example of a full custom taxonomy and more information about each field</a>.</p>
</div>
<form id="taxonomy-form" action="{% url 'preprint_providers:process_custom_taxonomy' preprint_provider_id %}" method="post">
{% csrf_token %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h2>Custom Taxonomy</h2>
<p>To remove an entry, delete it from the text box in the Built Custom Taxonomy section. If deleting the last item in a list, be sure to also remove the
final comma.</p>

<p>Click <a role="button" data-toggle="modal" href="#exampleModal">here</a> to see an example of a full custom taxonomy and for more information about each field.</p>
<p>See an <a role="button" data-toggle="modal" href="#exampleModal">example of a full custom taxonomy and more information about each field</a>.</p>
</div>
<form id="taxonomy-form" action="{% url 'registration_providers:process_custom_taxonomy' %}" method="post">
{% csrf_token %}
Expand Down
2 changes: 1 addition & 1 deletion api/addons/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_addon_settings(self, provider=None, fail_if_absent=True, check_object_pe
return addon_settings

class AddonList(JSONAPIBaseView, generics.ListAPIView, ListFilterMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/addons_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/addons_list).
"""
permission_classes = (
drf_permissions.AllowAny,
Expand Down
4 changes: 2 additions & 2 deletions api/brands/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_brand(self):


class BrandList(JSONAPIBaseView, generics.ListAPIView, BrandMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/institutions_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/institutions_list).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand All @@ -57,7 +57,7 @@ def get_queryset(self):


class BrandDetail(JSONAPIBaseView, generics.RetrieveAPIView, BrandMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/subjects_read).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/subjects_read).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down
4 changes: 2 additions & 2 deletions api/citations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class CitationStyleList(JSONAPIBaseView, generics.ListAPIView, ListFilterMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/citations_styles_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/citations_styles_list).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand All @@ -35,7 +35,7 @@ def get_queryset(self):
return self.get_queryset_from_request()

class CitationStyleDetail(JSONAPIBaseView, generics.RetrieveAPIView):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/citations_styles_read).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/citations_styles_read).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down
4 changes: 2 additions & 2 deletions api/collections/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def perform_update(self, serializer):


class CollectionSubmissionSubjectsList(BaseResourceSubjectsList, CollectionMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/collected_meta_subjects).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/collected_meta_subjects).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand All @@ -489,7 +489,7 @@ def get_resource(self):


class CollectionSubmissionSubjectsRelationshipList(SubjectRelationshipBaseView, CollectionMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/collected_meta_subjects_relationship).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/collected_meta_subjects_relationship).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down
2 changes: 1 addition & 1 deletion api/comments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_comment(self, check_permissions=True):


class CommentDetail(JSONAPIBaseView, generics.RetrieveUpdateDestroyAPIView, CommentMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/comments_read).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/comments_read).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down
6 changes: 3 additions & 3 deletions api/files/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_file(self, check_permissions=True):


class FileDetail(JSONAPIBaseView, generics.RetrieveUpdateAPIView, FileMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/files_detail).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/files_detail).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down Expand Up @@ -108,7 +108,7 @@ def get_object(self):


class FileVersionsList(JSONAPIBaseView, generics.ListAPIView, FileMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/files_versions).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/files_versions).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down Expand Up @@ -140,7 +140,7 @@ def node_from_version(request, view, obj):


class FileVersionDetail(JSONAPIBaseView, generics.RetrieveAPIView, FileMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/files_version_detail).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/files_version_detail).
"""
version_lookup_url_kwarg = 'version_id'
permission_classes = (
Expand Down
10 changes: 5 additions & 5 deletions api/institutions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_institution(self):


class InstitutionList(JSONAPIBaseView, generics.ListAPIView, ListFilterMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/institutions_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/institutions_list).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand All @@ -104,7 +104,7 @@ def get_queryset(self):


class InstitutionDetail(JSONAPIBaseView, generics.RetrieveAPIView, InstitutionMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/institutions_detail).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/institutions_detail).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand All @@ -125,7 +125,7 @@ def get_object(self):


class InstitutionNodeList(JSONAPIBaseView, generics.ListAPIView, InstitutionMixin, NodesFilterMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/institutions_node_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/institutions_node_list).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down Expand Up @@ -160,7 +160,7 @@ def get_queryset(self):


class InstitutionUserList(JSONAPIBaseView, ListFilterMixin, generics.ListAPIView, InstitutionMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/institutions_users_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/institutions_users_list).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down Expand Up @@ -215,7 +215,7 @@ def post(self, request, *args, **kwargs):


class InstitutionRegistrationList(InstitutionNodeList):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/institutions_registration_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/institutions_registration_list).
"""
serializer_class = RegistrationSerializer
view_name = 'institution-registrations'
Expand Down
4 changes: 2 additions & 2 deletions api/licenses/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


class LicenseDetail(JSONAPIBaseView, generics.RetrieveAPIView):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/licenses_read).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/licenses_read).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down Expand Up @@ -40,7 +40,7 @@ def get_object(self):


class LicenseList(JSONAPIBaseView, generics.ListAPIView, ListFilterMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/license_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/license_list).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down
2 changes: 1 addition & 1 deletion api/logs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_log(self):


class NodeLogDetail(JSONAPIBaseView, generics.RetrieveAPIView, LogMixin):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/logs_read).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/logs_read).
"""
permission_classes = (
drf_permissions.IsAuthenticatedOrReadOnly,
Expand Down
4 changes: 2 additions & 2 deletions api/metaschemas/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DeprecatedRegistrationMetaSchemaDetail(DeprecatedView, views.RegistrationS


class DeprecatedMetaSchemasList(DeprecatedView, views.RegistrationSchemaList):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/metaschemas_list).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/metaschemas_list).
"""
max_version = '2.7'
view_category = 'metaschemas'
Expand All @@ -27,7 +27,7 @@ class DeprecatedMetaSchemasList(DeprecatedView, views.RegistrationSchemaList):


class DeprecatedMetaSchemaDetail(DeprecatedView, views.RegistrationSchemaDetail):
"""The documentation for this endpoint can be found [here](https://developer.osf.io/#operation/metaschemas_read).
"""See [documentation for this endpoint](https://developer.osf.io/#operation/metaschemas_read).
"""
max_version = '2.7'
view_category = 'metaschemas'
Expand Down
Loading