Skip to content

Commit bb1d1f5

Browse files
committed
re-expose quickfiles migrated logs
1 parent 9aed0ad commit bb1d1f5

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

osf/models/nodelog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ class NodeLog(ObjectIDMixin, BaseModel):
140140
CONFIRM_HAM = 'confirm_ham'
141141
FLAG_SPAM = 'flag_spam'
142142
CONFIRM_SPAM = 'confirm_spam'
143+
MIGRATED_QUICK_FILES = 'migrated_quickfiles'
143144

144145
RESOURCE_ADDED = 'resource_identifier_added'
145146
RESOURCE_UPDATED = 'resource_identifier_udpated'

website/static/js/anonymousLogActionsList.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"subjects_updated": "A user updated the subjects",
9393
"view_only_link_added": "A user created a view-only link to a project",
9494
"view_only_link_removed": "A user removed a view-only link to a project",
95+
"migrated_quickfiles": "QuickFiles were migrated into a public project",
9596
"resource_identifier_added": "A Resource has been added to the Node",
9697
"resource_identifier_removed": "A Resource has been removed from the Node",
9798
"resource_identifier_updated": "A Resource on the Node has had its PID updated"

website/static/js/logActionsList.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
"prereg_links_updated": "${user} has updated their preregistration data links",
105105
"why_no_prereg_updated": "${user} has updated their preregistration data availability statement",
106106
"prereg_links_info_updated": "${user} has updated their preregistration links to ${value}",
107+
"migrated_quickfiles": "${user} had their QuickFiles migrated into ${node}",
107108
"resource_identifier_added": "${user} has added a Resource with DOI ${new_identifier} to Registration ${node}",
108109
"resource_identifier_removed": "${user} has removed a Resource with DOI ${obsolete_identifier} to Registration ${node}",
109110
"resource_identifier_updated": "${user} has updated a Resource DOI on Registration ${node} from ${obsolete_identifier} to ${new_identifier}"

0 commit comments

Comments
 (0)