mirror of https://github.com/pixelfed/pixelfed.git
Merge branch 'staging' into patch-4
This commit is contained in:
commit
027b0a7115
|
@ -9,6 +9,8 @@
|
||||||
- Hardcode UTC application timezone to prevent timezone issues ([b0d2c5e1](https://github.com/pixelfed/pixelfed/commit/b0d2c5e1))
|
- Hardcode UTC application timezone to prevent timezone issues ([b0d2c5e1](https://github.com/pixelfed/pixelfed/commit/b0d2c5e1))
|
||||||
- Remove arbitrary metro url redirect timeout ([84209c24](https://github.com/pixelfed/pixelfed/commit/84209c24))
|
- Remove arbitrary metro url redirect timeout ([84209c24](https://github.com/pixelfed/pixelfed/commit/84209c24))
|
||||||
- Add trusted proxies flag to admin dashboard diagnostics ([#3450](https://github.com/pixelfed/pixelfed/pull/3450))
|
- Add trusted proxies flag to admin dashboard diagnostics ([#3450](https://github.com/pixelfed/pixelfed/pull/3450))
|
||||||
|
- Fix json-ld attributes, fixes #3423 ([95f902b1](https://github.com/pixelfed/pixelfed/commit/95f902b1))
|
||||||
|
- Update exp config, enforce mastoapi compatibility by default ([a160b233](https://github.com/pixelfed/pixelfed/commit/a160b233))
|
||||||
|
|
||||||
## [v0.11.3 (2022-05-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.2...v0.11.3)
|
## [v0.11.3 (2022-05-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.2...v0.11.3)
|
||||||
|
|
||||||
|
|
|
@ -60,10 +60,10 @@ class CreateNote extends Fractal\TransformerAbstract
|
||||||
'Hashtag' => 'as:Hashtag',
|
'Hashtag' => 'as:Hashtag',
|
||||||
'sensitive' => 'as:sensitive',
|
'sensitive' => 'as:sensitive',
|
||||||
'commentsEnabled' => 'sc:Boolean',
|
'commentsEnabled' => 'sc:Boolean',
|
||||||
'capabilities' => [
|
'@capabilities' => [
|
||||||
'announce' => ['@type' => '@id'],
|
'@announce' => '@id',
|
||||||
'like' => ['@type' => '@id'],
|
'@like' => '@id',
|
||||||
'reply' => ['@type' => '@id']
|
'@reply' => '@id',
|
||||||
],
|
],
|
||||||
'toot' => 'http://joinmastodon.org/ns#',
|
'toot' => 'http://joinmastodon.org/ns#',
|
||||||
'Emoji' => 'toot:Emoji'
|
'Emoji' => 'toot:Emoji'
|
||||||
|
|
|
@ -23,11 +23,11 @@ class CreateQuestion extends Fractal\TransformerAbstract
|
||||||
'Hashtag' => 'as:Hashtag',
|
'Hashtag' => 'as:Hashtag',
|
||||||
'sensitive' => 'as:sensitive',
|
'sensitive' => 'as:sensitive',
|
||||||
'commentsEnabled' => 'sc:Boolean',
|
'commentsEnabled' => 'sc:Boolean',
|
||||||
'capabilities' => [
|
'@capabilities' => [
|
||||||
'announce' => ['@type' => '@id'],
|
'@announce' => '@id',
|
||||||
'like' => ['@type' => '@id'],
|
'@like' => '@id',
|
||||||
'reply' => ['@type' => '@id']
|
'@reply' => '@id',
|
||||||
]
|
],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'id' => $status->permalink(),
|
'id' => $status->permalink(),
|
||||||
|
|
|
@ -10,10 +10,7 @@ class DeleteNote extends Fractal\TransformerAbstract
|
||||||
public function transform(Status $status)
|
public function transform(Status $status)
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'@context' => [
|
'@context' => 'https://www.w3.org/ns/activitystreams',
|
||||||
'https://www.w3.org/ns/activitystreams',
|
|
||||||
'https://w3id.org/security/v1',
|
|
||||||
],
|
|
||||||
'id' => $status->permalink('#delete'),
|
'id' => $status->permalink('#delete'),
|
||||||
'type' => 'Delete',
|
'type' => 'Delete',
|
||||||
'actor' => $status->profile->permalink(),
|
'actor' => $status->profile->permalink(),
|
||||||
|
@ -24,4 +21,4 @@ class DeleteNote extends Fractal\TransformerAbstract
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,10 +61,10 @@ class Note extends Fractal\TransformerAbstract
|
||||||
'Hashtag' => 'as:Hashtag',
|
'Hashtag' => 'as:Hashtag',
|
||||||
'sensitive' => 'as:sensitive',
|
'sensitive' => 'as:sensitive',
|
||||||
'commentsEnabled' => 'sc:Boolean',
|
'commentsEnabled' => 'sc:Boolean',
|
||||||
'capabilities' => [
|
'@capabilities' => [
|
||||||
'announce' => ['@type' => '@id'],
|
'@announce' => '@id',
|
||||||
'like' => ['@type' => '@id'],
|
'@like' => '@id',
|
||||||
'reply' => ['@type' => '@id'],
|
'@reply' => '@id',
|
||||||
],
|
],
|
||||||
'toot' => 'http://joinmastodon.org/ns#',
|
'toot' => 'http://joinmastodon.org/ns#',
|
||||||
'Emoji' => 'toot:Emoji'
|
'Emoji' => 'toot:Emoji'
|
||||||
|
|
|
@ -40,11 +40,11 @@ class Question extends Fractal\TransformerAbstract
|
||||||
'Hashtag' => 'as:Hashtag',
|
'Hashtag' => 'as:Hashtag',
|
||||||
'sensitive' => 'as:sensitive',
|
'sensitive' => 'as:sensitive',
|
||||||
'commentsEnabled' => 'sc:Boolean',
|
'commentsEnabled' => 'sc:Boolean',
|
||||||
'capabilities' => [
|
'@capabilities' => [
|
||||||
'announce' => ['@type' => '@id'],
|
'@announce' => '@id',
|
||||||
'like' => ['@type' => '@id'],
|
'@like' => '@id',
|
||||||
'reply' => ['@type' => '@id']
|
'@reply' => '@id',
|
||||||
]
|
],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'id' => $status->url(),
|
'id' => $status->url(),
|
||||||
|
|
|
@ -38,7 +38,6 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'website' => null
|
'website' => null
|
||||||
],
|
],
|
||||||
'mentions' => [],
|
'mentions' => [],
|
||||||
'tags' => [],
|
|
||||||
'emojis' => [],
|
'emojis' => [],
|
||||||
'card' => null,
|
'card' => null,
|
||||||
'poll' => null,
|
'poll' => null,
|
||||||
|
|
|
@ -32,6 +32,5 @@ return [
|
||||||
'spa' => true,
|
'spa' => true,
|
||||||
|
|
||||||
// Enforce Mastoapi Compatibility (alpha)
|
// Enforce Mastoapi Compatibility (alpha)
|
||||||
// Note: this may break 3rd party apps who use non-mastodon compliant fields
|
'emc' => env('EXP_EMC', true),
|
||||||
'emc' => env('EXP_EMC', false),
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue