-
Notifications
You must be signed in to change notification settings - Fork 10
Promote QA → production (10 commits) #784
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
aac89c4
chore(e2e-deps): bump typescript from 5.9.3 to 6.0.3 in /tests/e2e (#…
dependabot[bot] 7197778
chore(deps): Bump Anthropic from 12.11.0 to 12.22.0 (#685)
dependabot[bot] 10a6863
chore(deps): Bump coverlet.collector from 10.0.0 to 10.0.1 (#686)
dependabot[bot] fd53382
feat(admin): show full User.Email + UserEmails on duplicate-account d…
peterdrier e5fc2c0
feat(mailer): add MarketingNoTicketAudience (#690)
peterdrier 4b0c4c1
chore(deps): Bump Google.Apis.CloudIdentity.v1 from 1.74.0.4030 to 1.…
dependabot[bot] d192db1
chore(deps): Bump dotnet-stryker from 4.14.1 to 4.14.2 (#687)
dependabot[bot] 7a2958b
chore(e2e-deps): Bump @playwright/test in /tests/e2e (#684)
dependabot[bot] 43a1013
fix(mailer): scope import to Website group + reset miswritten marketi…
peterdrier 543c884
chore(deps): Bump Ical.Net from 5.2.1 to 5.2.2 (#689)
dependabot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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
30 changes: 30 additions & 0 deletions
30
src/Humans.Application/Services/Mailer/Audiences/MarketingNoTicketAudience.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| using Humans.Application.Interfaces.Mailer; | ||
| using Humans.Application.Interfaces.Tickets; | ||
| using Humans.Application.Interfaces.Users; | ||
|
|
||
| namespace Humans.Application.Services.Mailer.Audiences; | ||
|
|
||
| /// <summary> | ||
| /// "Humans - Marketing no Ticket" — humans who have explicitly opted in to the | ||
| /// Marketing communication category (<see cref="UserInfo.MarketingOptedOut"/> == false) | ||
| /// AND do not currently hold a ticket in the active vendor event. | ||
| /// Users with no Marketing preference row (default-off) or who hold a ticket are excluded. | ||
| /// </summary> | ||
| public sealed class MarketingNoTicketAudience( | ||
| IUserService users, | ||
| ITicketQueryService tickets) : IMailerAudience | ||
| { | ||
| public string Key => "marketing-no-ticket"; | ||
| public string DisplayName => "Marketing opt-ins without a ticket"; | ||
| public string MailerLiteGroupName => "Humans - Marketing no Ticket"; | ||
|
|
||
| public async Task<IReadOnlySet<Guid>> ComputeMemberUserIdsAsync(CancellationToken ct) | ||
| { | ||
| var ticketHolders = await tickets.GetUserIdsWithTicketsAsync(); | ||
| var allUsers = await users.GetAllUserInfosAsync(ct); | ||
| return allUsers | ||
| .Where(u => u.MarketingOptedOut == false && !ticketHolders.Contains(u.Id)) | ||
| .Select(u => u.Id) | ||
| .ToHashSet(); | ||
| } | ||
| } |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARN — About page not updated after NuGet bumps
memory/process/about-page-license-attribution.md— After any NuGet update,src/Humans.Web/Views/About/Index.cshtmlmust be updated to reflect the new versions and licenses (AGPL-3.0 attribution requirement).This PR bumps three production NuGet packages without updating the About page:
Anthropic12.11.0 → 12.22.0Ical.Net5.2.1 → 5.2.2Google.Apis.CloudIdentity.v11.74.0.4030 → 1.74.0.4150Update
Views/About/Index.cshtmlto reflect the new versions before merging.