From de89403c4187fe8bc657de4ce88460f0da285eaf Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 21 Jan 2020 15:09:21 -0700 Subject: [PATCH 1/4] Update Story model, hide json attribute by default --- app/Story.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Story.php b/app/Story.php index b80101aec..3e6c0266e 100644 --- a/app/Story.php +++ b/app/Story.php @@ -30,6 +30,8 @@ class Story extends Model protected $visible = ['id']; + protected $hidden = ['json']; + public function profile() { return $this->belongsTo(Profile::class); From 35abcc4df8dcde68e05cff5502b8f27c59ad5eb9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 21 Jan 2020 15:10:01 -0700 Subject: [PATCH 2/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f2f2c9d9..f3f96d0e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Updated - Updated presenter components, load fallback image on errors ([273170c5](https://github.com/pixelfed/pixelfed/commit/273170c5)) +- Updated Story model, hide json attribute by default ([de89403c](https://github.com/pixelfed/pixelfed/commit/de89403c)) ### Changed From 57e155b94cbbaff0f0e2f3c42e4d0f89373acb5a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 21 Jan 2020 15:20:27 -0700 Subject: [PATCH 3/4] Update compose view, add deprecation notice for v3 --- resources/views/status/compose.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/status/compose.blade.php b/resources/views/status/compose.blade.php index 9aeb21eac..62624da05 100644 --- a/resources/views/status/compose.blade.php +++ b/resources/views/status/compose.blade.php @@ -5,6 +5,11 @@
+
+ ComposeUI v3 is deprecated +
+ It will be removed after June 1st, 2020 +

Compose New Post

From b6164bed784e413ba16e655394a7e5f70a481dfb Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 21 Jan 2020 15:21:01 -0700 Subject: [PATCH 4/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3f96d0e4..6b7fd26a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ ### Updated - Updated presenter components, load fallback image on errors ([273170c5](https://github.com/pixelfed/pixelfed/commit/273170c5)) - Updated Story model, hide json attribute by default ([de89403c](https://github.com/pixelfed/pixelfed/commit/de89403c)) +- Updated compose view, add deprecation notice for v3 ([57e155b9](https://github.com/pixelfed/pixelfed/commit/57e155b9)) ### Changed