Skip to content

[WIP] Refactor Notifications Phase 1 #11176

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

Open
wants to merge 35 commits into
base: feature/pbs-25-10
Choose a base branch
from

Conversation

Johnetordoff
Copy link
Contributor

@Johnetordoff Johnetordoff commented Jun 9, 2025

Purpose

This is the first phase of the notifications refactor project, that will update and improve the notifications model. Theis first phase is to remove all the code assassinated with notifications no longer being sent.

Changes

  • removes OSF Groups
  • removes notifications for OSF Meetings
  • removes notifications for OSF Comments
  • removes OSF Quickfiles code

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

Ticket

Ostap-Zherebetskyi and others added 24 commits May 1, 2025 13:37
…move-meetings-comments-and-osf-groups-notifications

[ENG-7908] Remove Meetings, Comments and OSF Groups Notifications
…cience/osf.io into refactor-notifications

* 'feature/pbs-25-10' of https://github.com/CenterForOpenScience/osf.io:
  fix issue where trying another already confirmed email threw an uncaught exception (#11161)
  [ENG-8148] Add ArtifactOutcome in annotations to linked nodes  (#11158)
  [ENG-7966] Add "collected-in" relationship for Nodes (#11140)
  fix issue where not having any external identities caused a 500
  [ENG-7965] Add v2 email token confirmation endpoints (#11139)
  [ENG-8052] Fixed FilterMixin issue with multiple values of notification subscription field (#11150)
  support related_counts for view_only links (#11148)
  allow admins change registration providers (#11145)
  [ENG-7927] Improved logging for embargo termination (#11137)
  [ENG-7873] CLONE - SPAM - When Hamming a Spammed user, preprints and registrations remain private (#11125)
  Update changelog and package.json
  fix TypeError when check stucked registration
  revert async email sending (#11134)
  [ENG-7921] Add scopes for applications to full_read and full_write scopes (#11126)

# Conflicts:
#	api_tests/nodes/views/test_node_detail.py
#	api_tests/nodes/views/test_node_linked_registrations.py
#	framework/auth/oauth_scopes.py
#	tests/test_registrations/test_retractions.py
…OpenScience/osf.io into feature/notification-refactor-phase-1

* 'refactor-notifications' of https://github.com/CenterForOpenScience/osf.io:
  Clean up tests
  Clean up tests
  Clean up imports
  Remove Meetings, Comments and OSF Groups Notifications
  remove osf groups
  remove osf groups
  remove osf groups
  remove osf groups
  remove osf groups

# Conflicts:
#	api_tests/nodes/views/test_node_detail.py
#	api_tests/nodes/views/test_node_linked_registrations.py
#	framework/auth/oauth_scopes.py
#	tests/test_registrations/test_retractions.py
…hub.com/bodintsov/osf.io into feature/notification-refactor-phase-1

* 'feature/remove-remaining-quickiles-code' of https://github.com/bodintsov/osf.io:
  flake8
  fixed tests
  remove quickfiles
…ap-Zherebetskyi/osf.io into feature/notification-refactor-phase-1

* 'feature/remove_test_speed-up' of https://github.com/Ostap-Zherebetskyi/osf.io:
  update mails mock
  Update send_mail mocks
…ctor-phase-1

Update Notification Refactor to Phase 1
…OpenScience/osf.io into refactor-notifications

* 'refactor-notifications' of https://github.com/CenterForOpenScience/osf.io:
  flake8
  fixed tests
  remove quickfiles
  update mails mock
  Update send_mail mocks

# Conflicts:
#	tests/test_registrations/test_retractions.py
@Johnetordoff Johnetordoff changed the title [WIP] Refactor Notifications [WIP] Refactor Notifications Phase 1 Jun 9, 2025
Johnetordoff and others added 5 commits June 9, 2025 12:12
…wing

[ENG-8181] Fixed bug with contributors
…ns - BE (#11174)

* [ENG-8147] Manually assign GUID when creating registrations and preprints (#11160)
* [ENG-8145] Added manual doi setting for registrations and preprints (#11162)
* [ENG-8145] Update manual DOI assignment for Preprints (#11172)
* Revert unnecessary changes in generate_guid() (c46e21b)
* Allow blank value when manually setting GUID and DOI (2b09d94)
* [ENG-8185] Unit tests for Manual GUID and DOI (#11175)
cslzchen and others added 5 commits June 11, 2025 15:58
Manual GUID & DOI assignment during Preprint and Registration Creation
 into refactor-notifications

* 'develop' of https://github.com/CenterForOpenScience/osf.io:
  Update changelog and package.json
  [ENG-8145] [ENG-8147] Manual DOI and GUID for Preprints & Registrations - BE (#11174)
@Johnetordoff Johnetordoff marked this pull request as ready for review June 16, 2025 14:30
@Johnetordoff Johnetordoff changed the base branch from develop to feature/pbs-25-10 June 16, 2025 14:35
…cience/osf.io into refactor-notifications

* 'feature/pbs-25-10' of https://github.com/CenterForOpenScience/osf.io:
  Update hybrid values for new workflow check (#11166)
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.

4 participants