-
Notifications
You must be signed in to change notification settings - Fork 351
[ENG-8064] Notification Refactor Phase 2 #11322
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
Closed
Closed
Changes from 14 commits
Commits
Show all changes
133 commits
Select commit
Hold shift + click to select a range
0ae75d0
Squash Merge Notification Refactor Phase 2 (#11321)
cslzchen 5e29285
[ENG-8996] Fix moderator digest (#11319)
Ostap-Zherebetskyi ffa65ec
[ENG-8978] Fix issue with user confirmation/merger creating subscript…
Johnetordoff d24cb2c
[ENG-8995] Fix issue with no login not being sent (#11326)
Johnetordoff cf68080
Update v2 subscription API for Ag and new data
Johnetordoff caca24c
fix issues with the API backward compatibility
Johnetordoff 7975650
Merge remote-tracking branch 'upstream/develop' into feature/notifica…
cslzchen 6c987b9
Fix merge conflicts as a result of merge commit 7975650a11
cslzchen 8d55887
fix template language
Johnetordoff cc84096
reorganize templates to deal with conditional statement better gramma…
Johnetordoff cce5b22
Fix templates
bodintsov 491b828
Merge pull request #11370 from bodintsov/fix/notification-contrib-tem…
cslzchen 469ea23
fix unit tests
Ostap-Zherebetskyi 7969612
Turn on script tests
Ostap-Zherebetskyi b48fc7e
fix merge conflict issues
Ostap-Zherebetskyi 25ac360
Merge pull request #11372 from Ostap-Zherebetskyi/fix/script_tests
cslzchen 38d6315
fix email template mismatch
Johnetordoff fd453ec
Merge pull request #11328 from Johnetordoff/fix-moderator-added-template
cslzchen 0b7fe79
Merge pull request #11329 from Johnetordoff/fix/update-v2-subscriptions
Johnetordoff e477dcd
fix merge conflicts for unregistered contributors
Johnetordoff 0766a7e
remove assertions
Ostap-Zherebetskyi b2440ac
Merge pull request #11388 from Ostap-Zherebetskyi/fix/password_reset_…
Johnetordoff 06f93dc
Merge branch 'feature/notification-refactor-p2-s' of https://github.c…
Johnetordoff b6f5305
fix institutional node request updates template
Johnetordoff a741876
Merge pull request #11384 from Johnetordoff/fix-test-add-contributors…
Johnetordoff faaf112
Merge branch 'feature/notification-refactor-p2-s' of https://github.c…
Johnetordoff 89ae33b
Merge pull request #11389 from Johnetordoff/fix-institutional-request…
Johnetordoff f3aa95c
fix test_non_contributor_create_project_from_public_template_success
Ostap-Zherebetskyi f7d58c1
fix test_contributor_create_project_from_private_template_with_permis…
Ostap-Zherebetskyi 9150fbe
update draft registration URL to use angular route
Ostap-Zherebetskyi 4896055
fix unit test
Ostap-Zherebetskyi 7794bda
Merge pull request #11392 from Ostap-Zherebetskyi/fix/ENG-9630_node_u…
Johnetordoff 20b97ee
Merge pull request #11393 from Ostap-Zherebetskyi/fix/ENG-8988-regist…
Johnetordoff 2e00d45
fix review comments
Ostap-Zherebetskyi 71d98e0
update event_context key
Ostap-Zherebetskyi 0aad687
return missing variables
Ostap-Zherebetskyi e421342
Merge pull request #11395 from Ostap-Zherebetskyi/fix/NR_review_comments
Johnetordoff 9cdb472
fix filtering and file subscription creation for nodes
Johnetordoff b4dce11
update migration test for on demand subscription creation
Johnetordoff aab8aa6
filter on query instead of list
Johnetordoff 7b09dc4
Merge pull request #11405 from Johnetordoff/fix-node-subscriptions-on…
Johnetordoff 3ac7d7d
Add status for moderator emails that have subscription, but have mode…
Johnetordoff b10e1b5
remove unnecessary log statement to avoid filling up Sentry
Johnetordoff 067fc19
add notificationdigest test to CI and standardize
Johnetordoff b7580b3
remove osf groups from CI, this was cause all tests on this branch to…
Johnetordoff 6582cc1
Merge branch 'develop' of https://github.com/centerforopenscience/osf…
Johnetordoff f9f7027
Revert "revert push to develop"
Johnetordoff 316b46d
Merge pull request #11415 from Johnetordoff/feature/notification-refa…
Johnetordoff 8876684
reinstate osf groups tests and activate api_tests/notifications in CI
Johnetordoff eadfc33
fix reactivated and added notifications tests to work with refactor
Johnetordoff 700180d
add context manager for mocking notifications without the any notific…
Johnetordoff 8d7bbdf
use context argument `allow_none=True` instead of new manager.
Johnetordoff c83c418
fix unit tests and pull provider id from subscription instead of even…
Johnetordoff 91634ba
Merge pull request #11416 from Johnetordoff/fix-api3-test-issues
Johnetordoff 0b0f9ff
Merge branch 'feature/notification-refactor-p2-s' of https://github.c…
Johnetordoff 529edc8
remove second `'api_tests/notifications', as previous PR as merged
Johnetordoff 278efb5
remove second `'api_tests/notifications', as previous PR as merged
Johnetordoff 795ae7d
don't change 'api_tests/notifications', in this PR
Johnetordoff 348964c
fix api3 ci
Ostap-Zherebetskyi 74504ad
fix api3 ci
Ostap-Zherebetskyi d6adb5f
Merge pull request #11419 from Ostap-Zherebetskyi/fix/api3_ci_tests
Johnetordoff 7b198e8
Merge branch 'feature/notification-refactor-p2-s' of https://github.c…
Johnetordoff 794b3f0
Merge pull request #11408 from Johnetordoff/fix-moderator-emails-with…
Johnetordoff 78cffa9
redo new_public_project notifications to happen every time a contribu…
Johnetordoff 8fb3c17
fix no login email
Ostap-Zherebetskyi 95ba79f
make object subscribed to node
Johnetordoff 3399481
update send_no_login_email
Ostap-Zherebetskyi 181dfe4
Merge pull request #11423 from Ostap-Zherebetskyi/fix/no_login_email
Johnetordoff e3da416
Merge pull request #11421 from Johnetordoff/add-public-project-notifi…
Johnetordoff bfebd2e
fix issues where legacy notification subscription settings didn't mov…
Johnetordoff ad0ebfd
add extra fields for migration
Johnetordoff 2a5bff0
add more statements altering tables to separate out legacy data
Johnetordoff 3a0c583
improve migrate notifications migration and command
Johnetordoff e18b744
use better migration naming convention
Johnetordoff d3aaf14
use correct query for backfill migration
Johnetordoff ff29e91
fix comments for migration noties
Johnetordoff e3edf96
fix tests still using model relationships
Johnetordoff 1fd26ff
add file from previous commit I forgot
Johnetordoff 6f15188
add node subscription tests and make migration reversible by renaming…
Johnetordoff fcd6d29
use better more static raw SQL query for retrieving legacy data
Johnetordoff 95a52ca
fix digest tests with new naming scheme for notifications refactor
Johnetordoff e33c0f6
replace bulk create for file subscriptions with `get_or_create` and a…
Johnetordoff d5c457a
don't create necessary subscriptions, but default to instant delivery
Johnetordoff 0d050d2
add tests ensuring the correct subscriptions for registered and unreg…
Johnetordoff b1f0527
Merge pull request #11426 from Johnetordoff/fix-issue-with-duplicate-…
Johnetordoff 04a68ad
fix migrate_legacy_notification_subscriptions
Ostap-Zherebetskyi 9398855
Merge pull request #11424 from Johnetordoff/fix-legacy-notification-m…
Johnetordoff 7109646
fix notification template spelling error
Johnetordoff d202525
fix spelling mistake in fixed mistake
Johnetordoff 6b3b582
change url from api link to web link, though the are both called `abs…
Johnetordoff 2ba08ad
fix password reset link
Johnetordoff 0ab798a
Merge pull request #11428 from Johnetordoff/fix-spelling-in-template
Johnetordoff 2086a40
add provider url
Ostap-Zherebetskyi 9870b69
Merge pull request #11429 from Johnetordoff/fix-collection-template-link
Johnetordoff 85b8434
Merge pull request #11430 from Johnetordoff/fix-password-reset-link
Johnetordoff a021957
Merge pull request #11431 from Ostap-Zherebetskyi/fix/moderator_added…
Johnetordoff f8961b5
fix TestNotificationSubscriptionMigration
Ostap-Zherebetskyi 7741716
Merge pull request #11432 from Ostap-Zherebetskyi/fix/migrate_legacy_…
Johnetordoff 218ee4e
check if node has provider and moderator groups
Johnetordoff aa77110
fix API links for collection submissions
Johnetordoff ccc2314
update tests for correct subscribed object behavior
Johnetordoff 9668206
add subscribed object for sanctions
Johnetordoff c6aa7ee
ensure sanctions have a subscribed object
Johnetordoff 0561e13
add event name for provider notifications and use preprintprovider on…
Johnetordoff 5d258cd
Merge pull request #11441 from Johnetordoff/fix-patching-notification…
Johnetordoff 16833e8
Merge pull request #11439 from Johnetordoff/fix-for-nodes-without-mod…
Johnetordoff e9703be
fix provider_url passed into template as tuple
Ostap-Zherebetskyi b7aaf01
add provider_url in confirmation email template
Ostap-Zherebetskyi b45c8b8
Merge pull request #11448 from Ostap-Zherebetskyi/fix/provider_url_tuple
cslzchen a53a91e
fix notifications logo
Ostap-Zherebetskyi ff216dd
Merge pull request #11442 from Ostap-Zherebetskyi/fix/template_logo
cslzchen c1c9be6
Revert "Revert "push to develop""
cslzchen e3c84ff
use server dependent domain instead of hard-coded production URL
Ostap-Zherebetskyi 38326bb
add domain to USER_FILE_OPERATION event_context
Ostap-Zherebetskyi 9f8541b
fix digest tests
Ostap-Zherebetskyi 16a9375
update notification settings URL and provider URL based on provider type
Ostap-Zherebetskyi 3971926
fix: update logo image paths to use static directory
Ostap-Zherebetskyi 9ad2947
update claim URLs to use legacy path in test cases
Ostap-Zherebetskyi deac425
update SubscriptionDetail APIView
Ostap-Zherebetskyi c50d126
Merge pull request #11450 from Ostap-Zherebetskyi/fix/hardcoded_logo_url
cslzchen f427102
fix unit tests
Ostap-Zherebetskyi f01229b
fix unit tests
Ostap-Zherebetskyi 7260fec
update notification_settings_url
Ostap-Zherebetskyi 40555a8
Merge pull request #11451 from Ostap-Zherebetskyi/fix/update_provider…
cslzchen 82ab217
Merge pull request #11440 from Johnetordoff/fix-collection-submission…
cslzchen 32dac1f
Merge pull request #11454 from Ostap-Zherebetskyi/fix/notification_se…
cslzchen f9a6f03
Merge pull request #11449 from CenterForOpenScience/revert-11415-feat…
cslzchen 0c1fc50
fix notifications settings
Ostap-Zherebetskyi 27d7129
fix unit tests
Ostap-Zherebetskyi 330f616
fix review comments
Ostap-Zherebetskyi c18642d
Merge pull request #11456 from Ostap-Zherebetskyi/fix/notification_se…
cslzchen 27b43be
fix NotificationSubscription _id property
Ostap-Zherebetskyi ad6943a
Merge pull request #11457 from Ostap-Zherebetskyi/fix/notification_se…
cslzchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.