-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into testing-scale
* upstream/main: (23 commits) Fixed handling of missing Host and invalid Authorization headers Update opentelemetry-js monorepo Update Vite packages to v2.1.7 Update dependency @sentry/node to v8.42.0 Added to and cc fields to Articles Update dependency @fedify/fedify to v1.3.0 Update nginx Docker tag to v1.27.3 Update dependency @fedify/cli to v1.3.0 Update dependency typescript to v5.7.2 Update dependency @google-cloud/pubsub to v4.9.0 Update dependency @logtape/logtape to v0.8.0 Added explicit OTel dependencies Update wiremock/wiremock Docker tag to v3.10.0 Update dependency @sentry/node to v8.41.0 Update dependency @sentry/node to v8.39.0 Update Vite packages to v2.1.6 Update dependency mysql2 to v3.11.5 Reduced size of activitypub collection page (#219) Misc cleanup after adding profile posts endpoint (#218) Added endpoint for retrieving profile posts (#217) ...
- Loading branch information
Showing
21 changed files
with
581 additions
and
566 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#! /bin/sh | ||
#!/usr/bin/env bash | ||
|
||
export TAGS=$1 | ||
|
||
|
This file contains 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 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 |
---|---|---|
@@ -1,40 +1,41 @@ | ||
Feature: Creating a note | ||
Scenario: Note content is validated against being empty | ||
When we attempt to create a note with no content | ||
Then the request is rejected with a 400 | ||
|
||
Scenario: Note content is validated against being invalid | ||
When we attempt to create a note with invalid content | ||
Then the request is rejected with a 400 | ||
Scenario: Note content is validated against being empty | ||
When we attempt to create a note with no content | ||
Then the request is rejected with a 400 | ||
|
||
Scenario: Created note is added to the Outbox | ||
When we create a note "Note" with the content | ||
""" | ||
Hello, world! | ||
""" | ||
Then "Note" is in our Outbox | ||
Scenario: Note content is validated against being invalid | ||
When we attempt to create a note with invalid content | ||
Then the request is rejected with a 400 | ||
|
||
Scenario: Created note is formatted | ||
When we create a note "Note" with the content | ||
""" | ||
Hello | ||
World | ||
""" | ||
Then "Note" is in our Outbox | ||
And "Note" has the content "<p>Hello<br />World</p>" | ||
Scenario: Created note is added to the Outbox | ||
When we create a note "Note" with the content | ||
""" | ||
Hello, world! | ||
""" | ||
Then "Note" is in our Outbox | ||
|
||
Scenario: Created note is sent to followers | ||
Given an Actor "Person(Alice)" | ||
And an Actor "Person(Bob)" | ||
And a "Follow(Us)" Activity "F1" by "Alice" | ||
And a "Follow(Us)" Activity "F2" by "Bob" | ||
And "Alice" sends "F1" to the Inbox | ||
And "F1" is in our Inbox | ||
And "Bob" sends "F2" to the Inbox | ||
And "F2" is in our Inbox | ||
When we create a note "Note" with the content | ||
""" | ||
Hello, world! | ||
""" | ||
Then Activity "Note" is sent to "Alice" | ||
And Activity "Note" is sent to "Bob" | ||
Scenario: Created note is formatted | ||
When we create a note "Note" with the content | ||
""" | ||
Hello | ||
World | ||
""" | ||
Then "Note" is in our Outbox | ||
And "Note" has the content "<p>Hello<br />World</p>" | ||
|
||
Scenario: Created note is sent to followers | ||
Given an Actor "Person(Alice)" | ||
And an Actor "Person(Bob)" | ||
And a "Follow(Us)" Activity "F1" by "Alice" | ||
And a "Follow(Us)" Activity "F2" by "Bob" | ||
And "Alice" sends "F1" to the Inbox | ||
And "F1" is in our Inbox | ||
And "Bob" sends "F2" to the Inbox | ||
And "F2" is in our Inbox | ||
When we create a note "Note" with the content | ||
""" | ||
Hello, world! | ||
""" | ||
Then Activity "Note" is sent to "Alice" | ||
And Activity "Note" is sent to "Bob" |
This file contains 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 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM nginx:1.27.2 | ||
FROM nginx:1.27.3 | ||
COPY nginx.conf /etc/nginx/nginx.conf | ||
COPY server.conf /etc/nginx/conf.d/default.conf |
This file contains 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 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.