Skip to content

Conversation

Johnetordoff
Copy link
Contributor

Purpose

Changes

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

Johnetordoff and others added 27 commits May 7, 2025 08:42
…opes (CenterForOpenScience#11126)

## Purpose
Allow more scopes for application write PAT, but remove it from admin scope.

## Changes
- changes scope composition to add write_application to `FULL_WRITE`
- adds tests `test_application_detail_scopes.py`
- improves `test_application_detail.py` and fixes url validation issues.

## Side Effects
Fixing the some of the Application Detail view tests (spliting them up into more atomic tests in the process), relvealed a additional issue with application attribute url length maxuims being poorly validated. This comment explain more: https://github.com/CenterForOpenScience/osf.io/pull/11126/files#r2074027385 

## Ticket
https://openscience.atlassian.net/browse/ENG-7921
## Purpose

Revert async function that causes 502
…registrations remain private (CenterForOpenScience#11125)

## Purpose
fix was_public state when flag spam

## Changes
- correct check if node was public when flag_spam
- use earliest confirm/flag spam log to check if node was public instead of the latest one
---
- fix TypeError when check archiving status for stuck registrations (not related to ticket ENG-7873, but it's just one line `permissible_addons = set(permissible_addons)`, so no additional testing is required)

## QA Notes
I couldn't reproduce this issue via UI, but combination `confirm_spam()` -> `flag_spam()` -> `...` breaks this feature. I'm not sure if it's exactly what's happening in our case, but since `flag_spam()` is used with automatic spam checks during node/preprint updates, it's quite possible.

## Ticket
https://openscience.atlassian.net/browse/ENG-7873
…ence#11137)

## Purpose
Embargo termination logging doesn't provide useful info regarding of what error was raised

## Changes
Improved logging, removed if statement duplicate

## Ticket
https://openscience.atlassian.net/browse/ENG-7927
## Purpose
allow admins change registration providers

## Changes
- add a dropdown menu to provider section on admin UI
- add endpoint that allows to update registration provider

## Ticket
https://openscience.atlassian.net/browse/ENG-7977
…ience#11139)

## Purpose
Update the alternate email confirmation system to v2

## Changes
- adds `/users/<user_id>/confirm/` route with views
- adds tests
- adds `/users/<user_id>/sanction_response/` route with views
- adds tests
- cleans-up and simplifies sanction_handler code to work better in different request contexts

## Ticket
https://openscience.atlassian.net/browse/ENG-7965
…onfirm-user

Fix issue where not having any external identities caused a 500
…ience#11140)

## Purpose
adds new relationship for collections a node is in.

## Changes
- splits up node detail tests into more workable files <500 that are more atomic
- add related view for collection to nodes detail
- adds tests 

## Ticket
https://openscience.atlassian.net/browse/ENG-7966
…ForOpenScience#11158)

## Purpose
- Add ArtifactOutcome attributes to linked registrations

## Changes
- add annotations to  linked registration views
- add test cases
- split up tests to keep < 500 ln, clean them up and make more atomic

## Ticket
https://openscience.atlassian.net/browse/ENG-8148
…ght exception (CenterForOpenScience#11161)

## Purpose
If user email already existed the error was uncaught.


## Changes
- adds change to catch 400 error 
- adds test case.
…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
@Johnetordoff Johnetordoff force-pushed the feature/notification-refactor-phase-1 branch from 05d1263 to 1a2f7c1 Compare June 3, 2025 18:47
…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
@Johnetordoff Johnetordoff force-pushed the feature/notification-refactor-phase-1 branch from 9fa911c to 013d422 Compare June 3, 2025 19:00
@Johnetordoff Johnetordoff marked this pull request as ready for review June 3, 2025 19:28
@Johnetordoff Johnetordoff merged commit f7f8197 into CenterForOpenScience:refactor-notifications Jun 3, 2025
12 checks passed
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.

6 participants