mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 19:17:45 +02:00
feat(comments): add comments to episodes + update naming of status to post
- remove confusing counts for episode (total favourites, total reblogs) - add comments section to episode page to display episode comments + post replies linked to the episode
This commit is contained in:
parent
3ff1364906
commit
bb4752c35e
86 changed files with 1667 additions and 1152 deletions
|
|
@ -31,7 +31,7 @@ class ActivityModel extends UuidModel
|
|||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
protected $uuidFields = ['id', 'status_id'];
|
||||
protected $uuidFields = ['id', 'post_id'];
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
|
|
@ -40,7 +40,7 @@ class ActivityModel extends UuidModel
|
|||
'id',
|
||||
'actor_id',
|
||||
'target_actor_id',
|
||||
'status_id',
|
||||
'post_id',
|
||||
'type',
|
||||
'payload',
|
||||
'task_status',
|
||||
|
|
@ -88,7 +88,7 @@ class ActivityModel extends UuidModel
|
|||
string $type,
|
||||
int $actorId,
|
||||
?int $targetActorId,
|
||||
?string $statusId,
|
||||
?string $postId,
|
||||
string $payload,
|
||||
DateTimeInterface $scheduledAt = null,
|
||||
?string $taskStatus = null
|
||||
|
|
@ -97,7 +97,7 @@ class ActivityModel extends UuidModel
|
|||
[
|
||||
'actor_id' => $actorId,
|
||||
'target_actor_id' => $targetActorId,
|
||||
'status_id' => $statusId,
|
||||
'post_id' => $postId,
|
||||
'type' => $type,
|
||||
'payload' => $payload,
|
||||
'scheduled_at' => $scheduledAt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue