mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] Implement backfilling statuses thru scheduled_at (#3685)
* Implement backfilling statuses thru scheduled_at * Forbid mentioning others in backfills * Update error messages & codes * Add new tests for backfilled statuses * Test that backfilling doesn't timeline or notify * Fix check for absence of notification * Test that backfills do not cause federation * Fix type of apimodel.StatusCreateRequest.ScheduledAt in tests * Add config file switch and min date check
This commit is contained in:
@@ -50,7 +50,7 @@ func (suite *InstanceTestSuite) TestDerefInstance() {
|
||||
//
|
||||
// Debug-level logs should show something like:
|
||||
//
|
||||
// - "can't fetch /nodeinfo/2.1: robots.txt disallows it"
|
||||
// - "can't fetch /nodeinfo/2.1: robots.txt disallows it"
|
||||
instanceIRI: testrig.URLMustParse("https://furtive-nerds.example.org"),
|
||||
expectedSoftware: "",
|
||||
},
|
||||
@@ -60,7 +60,7 @@ func (suite *InstanceTestSuite) TestDerefInstance() {
|
||||
//
|
||||
// Debug-level logs should show something like:
|
||||
//
|
||||
// - "can't fetch api/v1/instance: robots.txt disallows it"
|
||||
// - "can't fetch api/v1/instance: robots.txt disallows it"
|
||||
// - "can't fetch .well-known/nodeinfo: robots.txt disallows it"
|
||||
instanceIRI: testrig.URLMustParse("https://robotic.furtive-nerds.example.org"),
|
||||
expectedSoftware: "",
|
||||
@@ -71,7 +71,7 @@ func (suite *InstanceTestSuite) TestDerefInstance() {
|
||||
//
|
||||
// Debug-level logs should show something like:
|
||||
//
|
||||
// - "can't use fetched .well-known/nodeinfo: robots tags disallows it"
|
||||
// - "can't use fetched .well-known/nodeinfo: robots tags disallows it"
|
||||
instanceIRI: testrig.URLMustParse("https://really.furtive-nerds.example.org"),
|
||||
expectedSoftware: "",
|
||||
},
|
||||
|
Reference in New Issue
Block a user