Kaynağa Gözat

Merge pull request #5850 from pixelfed/staging

Staging
daniel 4 ay önce
ebeveyn
işleme
ae99fb5ec7
98 değiştirilmiş dosya ile 434 ekleme ve 365 silme
  1. 2 2
      app/Http/Controllers/Api/ApiV1Controller.php
  2. 3 3
      app/Services/LikeService.php
  3. 100 100
      composer.json
  4. 36 36
      composer.lock
  5. 279 223
      package-lock.json
  6. 1 0
      package.json
  7. BIN
      public/js/account-import.js
  8. BIN
      public/js/activity.js
  9. BIN
      public/js/admin.js
  10. BIN
      public/js/admin_invite.js
  11. BIN
      public/js/app.js
  12. BIN
      public/js/changelog.bundle.d40f01eba00c9885.js
  13. BIN
      public/js/changelog.bundle.efd3d17aee17020e.js
  14. BIN
      public/js/collectioncompose.js
  15. BIN
      public/js/collections.js
  16. BIN
      public/js/compose-classic.js
  17. BIN
      public/js/compose.chunk.80e32f21442c8a91.js
  18. 0 0
      public/js/compose.chunk.80e32f21442c8a91.js.LICENSE.txt
  19. BIN
      public/js/compose.chunk.a98574fc749d74ec.js
  20. BIN
      public/js/compose.js
  21. BIN
      public/js/daci.chunk.61b540b1630f8445.js
  22. BIN
      public/js/daci.chunk.8cf1cb07ac8a9100.js
  23. BIN
      public/js/developers.js
  24. BIN
      public/js/direct.js
  25. BIN
      public/js/discover.chunk.00d9b5656d32080e.js
  26. BIN
      public/js/discover.chunk.0ca404627af971f2.js
  27. BIN
      public/js/discover.js
  28. BIN
      public/js/discover~findfriends.chunk.6d494abb9e464081.js
  29. BIN
      public/js/discover~findfriends.chunk.bf787612b58e5473.js
  30. BIN
      public/js/discover~hashtag.bundle.93ce902dca5b65e3.js
  31. BIN
      public/js/discover~hashtag.bundle.c8eb86fb63ede45e.js
  32. BIN
      public/js/discover~memories.chunk.9541b66de9d5d907.js
  33. BIN
      public/js/discover~memories.chunk.9621c5ecf4482f0a.js
  34. BIN
      public/js/discover~myhashtags.chunk.e2ca0db60346d0c2.js
  35. BIN
      public/js/discover~myhashtags.chunk.f4257bc65189fde3.js
  36. BIN
      public/js/discover~serverfeed.chunk.138d9d53d1debac1.js
  37. BIN
      public/js/discover~serverfeed.chunk.4e135dd1c07c17dd.js
  38. BIN
      public/js/discover~settings.chunk.295935b63f9c0971.js
  39. BIN
      public/js/discover~settings.chunk.b1b5642ccef06123.js
  40. BIN
      public/js/dms.chunk.602ea23f0f63b894.js
  41. BIN
      public/js/dms.chunk.e7e428d4df2a00a6.js
  42. BIN
      public/js/dms~message.chunk.4e68bb824f396d86.js
  43. BIN
      public/js/dms~message.chunk.f0d6ccb6f2f1cbf7.js
  44. BIN
      public/js/error404.bundle.e2f43f5006962e80.js
  45. BIN
      public/js/error404.bundle.f5958c1713b4ab7c.js
  46. BIN
      public/js/group-status.js
  47. BIN
      public/js/group-topic-feed.js
  48. BIN
      public/js/group.create.38102523ebf4cde9.js
  49. BIN
      public/js/group.create.72c3a1e5c1dc00dc.js
  50. BIN
      public/js/groups-page-about.16d96a32748daa93.js
  51. BIN
      public/js/groups-page-about.76a616aa7e1a367b.js
  52. BIN
      public/js/groups-page-media.056a7bbc46b79034.js
  53. BIN
      public/js/groups-page-media.526b66b27a0bd091.js
  54. BIN
      public/js/groups-page-members.a8ea4f209fcbe238.js
  55. BIN
      public/js/groups-page-members.c59de89c3b8e3a02.js
  56. BIN
      public/js/groups-page-topics.d279a2438ee20311.js
  57. BIN
      public/js/groups-page-topics.f69667c933f7d122.js
  58. BIN
      public/js/groups-page.4a77f2a4e0024224.js
  59. BIN
      public/js/groups-page.d484dab549a033ca.js
  60. BIN
      public/js/groups-post.e160e406bdb4a1b0.js
  61. BIN
      public/js/groups-profile.1bb8be935d1f108a.js
  62. BIN
      public/js/groups-profile.58b5bf1af4d0722e.js
  63. BIN
      public/js/groups.js
  64. BIN
      public/js/hashtag.js
  65. BIN
      public/js/home.chunk.3d9801a7722f4dfb.js
  66. 0 0
      public/js/home.chunk.3d9801a7722f4dfb.js.LICENSE.txt
  67. BIN
      public/js/home.chunk.acf96f52790bffa6.js
  68. BIN
      public/js/i18n.bundle.85976a3b9d6b922a.js
  69. BIN
      public/js/i18n.bundle.951c52d1740442f6.js
  70. BIN
      public/js/landing.js
  71. BIN
      public/js/manifest.js
  72. BIN
      public/js/notifications.chunk.a882b19f4469ed55.js
  73. BIN
      public/js/notifications.chunk.bd37ed834e650fd7.js
  74. BIN
      public/js/portfolio.js
  75. BIN
      public/js/post.chunk.70d3758a59ef3742.js
  76. BIN
      public/js/post.chunk.c699382772550b42.js
  77. 0 0
      public/js/post.chunk.c699382772550b42.js.LICENSE.txt
  78. BIN
      public/js/profile-directory.js
  79. BIN
      public/js/profile.chunk.239231da0003f8d9.js
  80. BIN
      public/js/profile.chunk.5c642d2321d67652.js
  81. BIN
      public/js/profile.js
  82. BIN
      public/js/profile~followers.bundle.9d2008cfa13a6f17.js
  83. BIN
      public/js/profile~followers.bundle.a595bbddf5b02150.js
  84. BIN
      public/js/profile~following.bundle.1c64fbecaa81a368.js
  85. BIN
      public/js/profile~following.bundle.8ebe39a19638db1b.js
  86. BIN
      public/js/remote_auth.js
  87. BIN
      public/js/search.js
  88. BIN
      public/js/spa.js
  89. BIN
      public/js/status.js
  90. BIN
      public/js/stories.js
  91. BIN
      public/js/story-compose.js
  92. BIN
      public/js/timeline.js
  93. BIN
      public/js/vendor.js
  94. 2 0
      public/js/vendor.js.LICENSE.txt
  95. BIN
      public/mix-manifest.json
  96. 3 0
      resources/assets/components/Post.vue
  97. 7 0
      resources/assets/components/Profile.vue
  98. 1 1
      resources/assets/js/components/CollectionComponent.vue

+ 2 - 2
app/Http/Controllers/Api/ApiV1Controller.php

@@ -2554,7 +2554,7 @@ class ApiV1Controller extends Controller
                 $minId = null;
             }
 
-            if ($maxId) {
+            if ($maxId && $res->count() >= $limit) {
                 $link = '<'.$baseUrl.'max_id='.$minId.'>; rel="next"';
             }
 
@@ -2977,7 +2977,7 @@ class ApiV1Controller extends Controller
             $minId = null;
         }
 
-        if ($maxId) {
+        if ($maxId && $res->count() >= $limit) {
             $link = '<'.$baseUrl.'max_id='.$minId.'>; rel="next"';
         }
 

+ 3 - 3
app/Services/LikeService.php

@@ -79,13 +79,13 @@ class LikeService {
 
 		$res = Cache::remember('pf:services:likes:liked_by:' . $status->id, 86400, function() use($status, $empty) {
 			$like = Like::whereStatusId($status->id)->first();
-			if(!$like) {
+			if(!$like || !$like->profile_id) {
 				return $empty;
 			}
 			$id = $like->profile_id;
-			$profile = ProfileService::get($id, true);
+			$profile = AccountService::get($id, true);
 			if(!$profile) {
-				return [];
+				return $empty;
 			}
 			$profileUrl = "/i/web/profile/{$profile['id']}";
 			$res = [

+ 100 - 100
composer.json

@@ -1,105 +1,105 @@
 {
-	"name": "pixelfed/pixelfed",
-	"description": "Open and ethical photo sharing platform, powered by ActivityPub federation.",
-	"keywords": ["framework", "laravel", "pixelfed", "activitypub", "social", "network", "federation"],
-	"license": "AGPL-3.0-only",
-	"type": "project",
-	"require": {
-		"php": "^8.2|^8.3",
-		"ext-bcmath": "*",
-		"ext-ctype": "*",
-		"ext-curl": "*",
-		"ext-intl": "*",
-		"ext-json": "*",
-		"ext-mbstring": "*",
-		"ext-openssl": "*",
-		"bacon/bacon-qr-code": "^3.0",
-		"brick/math": "^0.9.3",
-		"buzz/laravel-h-captcha": "^1.0.4",
-		"doctrine/dbal": "^3.0",
-		"endroid/qr-code": "^6.0",
-		"intervention/image": "^2.4",
-		"jenssegers/agent": "^2.6",
-		"laravel-notification-channels/expo": "~1.3.0|~2.0.0",
-		"laravel-notification-channels/webpush": "^8.0",
-		"laravel/framework": "^11.0",
-		"laravel/helpers": "^1.1",
-		"laravel/horizon": "^5.0",
-		"laravel/passport": "^12.0",
-		"laravel/pulse": "^1.3",
-		"laravel/tinker": "^2.9",
-		"laravel/ui": "^4.2",
-		"league/flysystem-aws-s3-v3": "^3.0",
-		"league/iso3166": "^2.1|^4.0",
-		"league/uri": "^7.4",
-		"pbmedia/laravel-ffmpeg": "^8.0",
-		"phpseclib/phpseclib": "~2.0",
-		"pixelfed/fractal": "^0.18.0",
-		"pixelfed/laravel-snowflake": "^2.0",
-		"pragmarx/google2fa": "^8.0",
-		"predis/predis": "^2.0",
-		"pusher/pusher-php-server": "^7.2",
-		"resend/resend-php": "^0.13.0",
-		"spatie/laravel-backup": "^8.0.0",
-		"spatie/laravel-image-optimizer": "^1.8.0",
-		"stevebauman/purify": "^6.2.0",
-		"symfony/http-client": "^6.1",
-		"symfony/mailgun-mailer": "^6.1"
-	},
-	"require-dev": {
-		"fakerphp/faker": "^1.23",
-		"laravel/pint": "^1.13",
-		"laravel/telescope": "^5.0",
-		"mockery/mockery": "^1.6",
-		"nunomaduro/collision": "^8.1",
-		"phpunit/phpunit": "^11.0.1"
-	},
-	"autoload": {
-		"classmap": [
-			"database/seeds",
-			"database/factories"
-		],
-		"psr-4": {
-			"App\\": "app/"
-		},
-		"files": [
-			"app/helpers.php"
-		]
-	},
-	"autoload-dev": {
-		"psr-4": {
-			"Tests\\": "tests/"
-		},
-		"files": [
-			"app/helpers.php"
-		]
-	},
-	"extra": {
-		"laravel": {
-			"dont-discover": [
-				"laravel/passport"
-			]
-		}
-	},
-	"scripts": {
-		"post-root-package-install": [
-			"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
-		],
-		"post-create-project-cmd": [
-			"@php artisan key:generate --ansi"
-		],
+    "name": "pixelfed/pixelfed",
+    "description": "Open and ethical photo sharing platform, powered by ActivityPub federation.",
+    "keywords": ["framework", "laravel", "pixelfed", "activitypub", "social", "network", "federation"],
+    "license": "AGPL-3.0-only",
+    "type": "project",
+    "require": {
+        "php": "^8.2|^8.3|^8.4",
+        "ext-bcmath": "*",
+        "ext-ctype": "*",
+        "ext-curl": "*",
+        "ext-intl": "*",
+        "ext-json": "*",
+        "ext-mbstring": "*",
+        "ext-openssl": "*",
+        "bacon/bacon-qr-code": "^3.0",
+        "brick/math": "^0.9.3",
+        "buzz/laravel-h-captcha": "^1.0.4",
+        "doctrine/dbal": "^3.0",
+        "endroid/qr-code": "^6.0",
+        "intervention/image": "^2.4",
+        "jenssegers/agent": "^2.6",
+        "laravel-notification-channels/expo": "~1.3.0|~2.0.0",
+        "laravel-notification-channels/webpush": "^8.0",
+        "laravel/framework": "^11.0",
+        "laravel/helpers": "^1.1",
+        "laravel/horizon": "^5.0",
+        "laravel/passport": "^12.0",
+        "laravel/pulse": "^1.3",
+        "laravel/tinker": "^2.9",
+        "laravel/ui": "^4.2",
+        "league/flysystem-aws-s3-v3": "^3.0",
+        "league/iso3166": "^2.1|^4.0",
+        "league/uri": "^7.4",
+        "pbmedia/laravel-ffmpeg": "^8.0",
+        "phpseclib/phpseclib": "~2.0",
+        "pixelfed/fractal": "^0.18.0",
+        "pixelfed/laravel-snowflake": "^2.0",
+        "pragmarx/google2fa": "^8.0",
+        "predis/predis": "^2.0",
+        "pusher/pusher-php-server": "^7.2",
+        "resend/resend-php": "^0.13.0",
+        "spatie/laravel-backup": "^8.0.0",
+        "spatie/laravel-image-optimizer": "^1.8.0",
+        "stevebauman/purify": "^6.2.0",
+        "symfony/http-client": "^6.1",
+        "symfony/mailgun-mailer": "^6.1"
+    },
+    "require-dev": {
+        "fakerphp/faker": "^1.23",
+        "laravel/pint": "^1.13",
+        "laravel/telescope": "^5.0",
+        "mockery/mockery": "^1.6",
+        "nunomaduro/collision": "^8.1",
+        "phpunit/phpunit": "^11.0.1"
+    },
+    "autoload": {
+        "classmap": [
+            "database/seeds",
+            "database/factories"
+        ],
+        "psr-4": {
+            "App\\": "app/"
+        },
+        "files": [
+            "app/helpers.php"
+        ]
+    },
+    "autoload-dev": {
+        "psr-4": {
+            "Tests\\": "tests/"
+        },
+        "files": [
+            "app/helpers.php"
+        ]
+    },
+    "extra": {
+        "laravel": {
+            "dont-discover": [
+                "laravel/passport"
+            ]
+        }
+    },
+    "scripts": {
+        "post-root-package-install": [
+            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
+        ],
+        "post-create-project-cmd": [
+            "@php artisan key:generate --ansi"
+        ],
         "post-update-cmd": [
             "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
         ],
-		"post-autoload-dump": [
-			"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
-			"@php artisan package:discover --ansi"
-		]
-	},
-	"config": {
-		"preferred-install": "dist",
-		"sort-packages": true,
-		"optimize-autoloader": true
-	},
-	"prefer-stable": true
+        "post-autoload-dump": [
+            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
+            "@php artisan package:discover --ansi"
+        ]
+    },
+    "config": {
+        "preferred-install": "dist",
+        "sort-packages": true,
+        "optimize-autoloader": true
+    },
+    "prefer-stable": true
 }

+ 36 - 36
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "1a540edf20e887435191171ce89d190c",
+    "content-hash": "5ae05d16c496cc43cf1393f0340714e2",
     "packages": [
         {
             "name": "aws/aws-crt-php",
@@ -62,16 +62,16 @@
         },
         {
             "name": "aws/aws-sdk-php",
-            "version": "3.342.0",
+            "version": "3.342.4",
             "source": {
                 "type": "git",
                 "url": "https://github.com/aws/aws-sdk-php.git",
-                "reference": "5b8c837ab0c9754ab3408bd9afe6f0c67516b1fd"
+                "reference": "65cc842b9998d415b05d635b6146d0728934ff4a"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/5b8c837ab0c9754ab3408bd9afe6f0c67516b1fd",
-                "reference": "5b8c837ab0c9754ab3408bd9afe6f0c67516b1fd",
+                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/65cc842b9998d415b05d635b6146d0728934ff4a",
+                "reference": "65cc842b9998d415b05d635b6146d0728934ff4a",
                 "shasum": ""
             },
             "require": {
@@ -153,9 +153,9 @@
             "support": {
                 "forum": "https://github.com/aws/aws-sdk-php/discussions",
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
-                "source": "https://github.com/aws/aws-sdk-php/tree/3.342.0"
+                "source": "https://github.com/aws/aws-sdk-php/tree/3.342.4"
             },
-            "time": "2025-03-05T19:20:14+00:00"
+            "time": "2025-03-11T18:27:07+00:00"
         },
         {
             "name": "bacon/bacon-qr-code",
@@ -1289,16 +1289,16 @@
         },
         {
             "name": "endroid/qr-code",
-            "version": "6.0.4",
+            "version": "6.0.5",
             "source": {
                 "type": "git",
                 "url": "https://github.com/endroid/qr-code.git",
-                "reference": "74b62f4aba2f2ffd30d80bccb10947c04cfe1b98"
+                "reference": "238baddf22500bbfeb2fa1ddc1eb2bd9374a6998"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/endroid/qr-code/zipball/74b62f4aba2f2ffd30d80bccb10947c04cfe1b98",
-                "reference": "74b62f4aba2f2ffd30d80bccb10947c04cfe1b98",
+                "url": "https://api.github.com/repos/endroid/qr-code/zipball/238baddf22500bbfeb2fa1ddc1eb2bd9374a6998",
+                "reference": "238baddf22500bbfeb2fa1ddc1eb2bd9374a6998",
                 "shasum": ""
             },
             "require": {
@@ -1349,7 +1349,7 @@
             ],
             "support": {
                 "issues": "https://github.com/endroid/qr-code/issues",
-                "source": "https://github.com/endroid/qr-code/tree/6.0.4"
+                "source": "https://github.com/endroid/qr-code/tree/6.0.5"
             },
             "funding": [
                 {
@@ -1357,7 +1357,7 @@
                     "type": "github"
                 }
             ],
-            "time": "2025-03-04T12:23:14+00:00"
+            "time": "2025-03-07T08:15:43+00:00"
         },
         {
             "name": "evenement/evenement",
@@ -10979,16 +10979,16 @@
         },
         {
             "name": "laravel/pint",
-            "version": "v1.21.0",
+            "version": "v1.21.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/laravel/pint.git",
-                "reference": "531fa0871fbde719c51b12afa3a443b8f4e4b425"
+                "reference": "c44bffbb2334e90fba560933c45948fa4a3f3e86"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/laravel/pint/zipball/531fa0871fbde719c51b12afa3a443b8f4e4b425",
-                "reference": "531fa0871fbde719c51b12afa3a443b8f4e4b425",
+                "url": "https://api.github.com/repos/laravel/pint/zipball/c44bffbb2334e90fba560933c45948fa4a3f3e86",
+                "reference": "c44bffbb2334e90fba560933c45948fa4a3f3e86",
                 "shasum": ""
             },
             "require": {
@@ -10999,9 +10999,9 @@
                 "php": "^8.2.0"
             },
             "require-dev": {
-                "friendsofphp/php-cs-fixer": "^3.68.5",
-                "illuminate/view": "^11.42.0",
-                "larastan/larastan": "^3.0.4",
+                "friendsofphp/php-cs-fixer": "^3.70.2",
+                "illuminate/view": "^11.44.1",
+                "larastan/larastan": "^3.1.0",
                 "laravel-zero/framework": "^11.36.1",
                 "mockery/mockery": "^1.6.12",
                 "nunomaduro/termwind": "^2.3",
@@ -11041,7 +11041,7 @@
                 "issues": "https://github.com/laravel/pint/issues",
                 "source": "https://github.com/laravel/pint"
             },
-            "time": "2025-02-18T03:18:57+00:00"
+            "time": "2025-03-11T03:22:21+00:00"
         },
         {
             "name": "laravel/telescope",
@@ -11796,16 +11796,16 @@
         },
         {
             "name": "phpunit/phpunit",
-            "version": "11.5.11",
+            "version": "11.5.12",
             "source": {
                 "type": "git",
                 "url": "https://github.com/sebastianbergmann/phpunit.git",
-                "reference": "3946ac38410be7440186c6e74584f31b15107fc7"
+                "reference": "d42785840519401ed2113292263795eb4c0f95da"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3946ac38410be7440186c6e74584f31b15107fc7",
-                "reference": "3946ac38410be7440186c6e74584f31b15107fc7",
+                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d42785840519401ed2113292263795eb4c0f95da",
+                "reference": "d42785840519401ed2113292263795eb4c0f95da",
                 "shasum": ""
             },
             "require": {
@@ -11826,7 +11826,7 @@
                 "phpunit/php-timer": "^7.0.1",
                 "sebastian/cli-parser": "^3.0.2",
                 "sebastian/code-unit": "^3.0.2",
-                "sebastian/comparator": "^6.3.0",
+                "sebastian/comparator": "^6.3.1",
                 "sebastian/diff": "^6.0.2",
                 "sebastian/environment": "^7.2.0",
                 "sebastian/exporter": "^6.3.0",
@@ -11877,7 +11877,7 @@
             "support": {
                 "issues": "https://github.com/sebastianbergmann/phpunit/issues",
                 "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
-                "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.11"
+                "source": "https://github.com/sebastianbergmann/phpunit/tree/11.5.12"
             },
             "funding": [
                 {
@@ -11893,7 +11893,7 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2025-03-05T07:36:02+00:00"
+            "time": "2025-03-07T07:31:03+00:00"
         },
         {
             "name": "sebastian/cli-parser",
@@ -12067,16 +12067,16 @@
         },
         {
             "name": "sebastian/comparator",
-            "version": "6.3.0",
+            "version": "6.3.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/sebastianbergmann/comparator.git",
-                "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115"
+                "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/d4e47a769525c4dd38cea90e5dcd435ddbbc7115",
-                "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115",
+                "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/24b8fbc2c8e201bb1308e7b05148d6ab393b6959",
+                "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959",
                 "shasum": ""
             },
             "require": {
@@ -12095,7 +12095,7 @@
             "type": "library",
             "extra": {
                 "branch-alias": {
-                    "dev-main": "6.2-dev"
+                    "dev-main": "6.3-dev"
                 }
             },
             "autoload": {
@@ -12135,7 +12135,7 @@
             "support": {
                 "issues": "https://github.com/sebastianbergmann/comparator/issues",
                 "security": "https://github.com/sebastianbergmann/comparator/security/policy",
-                "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.0"
+                "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.1"
             },
             "funding": [
                 {
@@ -12143,7 +12143,7 @@
                     "type": "github"
                 }
             ],
-            "time": "2025-01-06T10:28:19+00:00"
+            "time": "2025-03-07T06:57:01+00:00"
         },
         {
             "name": "sebastian/complexity",
@@ -12930,7 +12930,7 @@
     "prefer-stable": true,
     "prefer-lowest": false,
     "platform": {
-        "php": "^8.2|^8.3",
+        "php": "^8.2|^8.3|^8.4",
         "ext-bcmath": "*",
         "ext-ctype": "*",
         "ext-curl": "*",

Dosya farkı çok büyük olduğundan ihmal edildi
+ 279 - 223
package-lock.json


+ 1 - 0
package.json

@@ -13,6 +13,7 @@
 		"axios": ">=1.6.0",
 		"bootstrap": "^4.5.2",
 		"cross-env": "^5.2.1",
+		"esbuild": "^0.25.1",
 		"jquery": "^3.6.0",
 		"laravel-echo": "^1.12.0",
 		"laravel-mix-make-file-hash": "^2.2.0",

BIN
public/js/account-import.js


BIN
public/js/activity.js


BIN
public/js/admin.js


BIN
public/js/admin_invite.js


BIN
public/js/app.js


BIN
public/js/changelog.bundle.d40f01eba00c9885.js


BIN
public/js/changelog.bundle.efd3d17aee17020e.js


BIN
public/js/collectioncompose.js


BIN
public/js/collections.js


BIN
public/js/compose-classic.js


BIN
public/js/compose.chunk.80e32f21442c8a91.js


+ 0 - 0
public/js/compose.chunk.a98574fc749d74ec.js.LICENSE.txt → public/js/compose.chunk.80e32f21442c8a91.js.LICENSE.txt


BIN
public/js/compose.chunk.a98574fc749d74ec.js


BIN
public/js/compose.js


BIN
public/js/daci.chunk.61b540b1630f8445.js


BIN
public/js/daci.chunk.8cf1cb07ac8a9100.js


BIN
public/js/developers.js


BIN
public/js/direct.js


BIN
public/js/discover.chunk.00d9b5656d32080e.js


BIN
public/js/discover.chunk.0ca404627af971f2.js


BIN
public/js/discover.js


BIN
public/js/discover~findfriends.chunk.6d494abb9e464081.js


BIN
public/js/discover~findfriends.chunk.bf787612b58e5473.js


BIN
public/js/discover~hashtag.bundle.93ce902dca5b65e3.js


BIN
public/js/discover~hashtag.bundle.c8eb86fb63ede45e.js


BIN
public/js/discover~memories.chunk.9541b66de9d5d907.js


BIN
public/js/discover~memories.chunk.9621c5ecf4482f0a.js


BIN
public/js/discover~myhashtags.chunk.e2ca0db60346d0c2.js


BIN
public/js/discover~myhashtags.chunk.f4257bc65189fde3.js


BIN
public/js/discover~serverfeed.chunk.138d9d53d1debac1.js


BIN
public/js/discover~serverfeed.chunk.4e135dd1c07c17dd.js


BIN
public/js/discover~settings.chunk.295935b63f9c0971.js


BIN
public/js/discover~settings.chunk.b1b5642ccef06123.js


BIN
public/js/dms.chunk.602ea23f0f63b894.js


BIN
public/js/dms.chunk.e7e428d4df2a00a6.js


BIN
public/js/dms~message.chunk.4e68bb824f396d86.js


BIN
public/js/dms~message.chunk.f0d6ccb6f2f1cbf7.js


BIN
public/js/error404.bundle.e2f43f5006962e80.js


BIN
public/js/error404.bundle.f5958c1713b4ab7c.js


BIN
public/js/group-status.js


BIN
public/js/group-topic-feed.js


BIN
public/js/group.create.38102523ebf4cde9.js


BIN
public/js/group.create.72c3a1e5c1dc00dc.js


BIN
public/js/groups-page-about.16d96a32748daa93.js


BIN
public/js/groups-page-about.76a616aa7e1a367b.js


BIN
public/js/groups-page-media.056a7bbc46b79034.js


BIN
public/js/groups-page-media.526b66b27a0bd091.js


BIN
public/js/groups-page-members.a8ea4f209fcbe238.js


BIN
public/js/groups-page-members.c59de89c3b8e3a02.js


BIN
public/js/groups-page-topics.d279a2438ee20311.js


BIN
public/js/groups-page-topics.f69667c933f7d122.js


BIN
public/js/groups-page.4a77f2a4e0024224.js


BIN
public/js/groups-page.d484dab549a033ca.js


BIN
public/js/groups-post.4c3d4860b029bbaf.js → public/js/groups-post.e160e406bdb4a1b0.js


BIN
public/js/groups-profile.1bb8be935d1f108a.js


BIN
public/js/groups-profile.58b5bf1af4d0722e.js


BIN
public/js/groups.js


BIN
public/js/hashtag.js


BIN
public/js/home.chunk.3d9801a7722f4dfb.js


+ 0 - 0
public/js/home.chunk.acf96f52790bffa6.js.LICENSE.txt → public/js/home.chunk.3d9801a7722f4dfb.js.LICENSE.txt


BIN
public/js/home.chunk.acf96f52790bffa6.js


BIN
public/js/i18n.bundle.85976a3b9d6b922a.js


BIN
public/js/i18n.bundle.951c52d1740442f6.js


BIN
public/js/landing.js


BIN
public/js/manifest.js


BIN
public/js/notifications.chunk.a882b19f4469ed55.js


BIN
public/js/notifications.chunk.bd37ed834e650fd7.js


BIN
public/js/portfolio.js


BIN
public/js/post.chunk.70d3758a59ef3742.js


BIN
public/js/post.chunk.c699382772550b42.js


+ 0 - 0
public/js/post.chunk.70d3758a59ef3742.js.LICENSE.txt → public/js/post.chunk.c699382772550b42.js.LICENSE.txt


BIN
public/js/profile-directory.js


BIN
public/js/profile.chunk.239231da0003f8d9.js


BIN
public/js/profile.chunk.5c642d2321d67652.js


BIN
public/js/profile.js


BIN
public/js/profile~followers.bundle.9d2008cfa13a6f17.js


BIN
public/js/profile~followers.bundle.a595bbddf5b02150.js


BIN
public/js/profile~following.bundle.1c64fbecaa81a368.js


BIN
public/js/profile~following.bundle.8ebe39a19638db1b.js


BIN
public/js/remote_auth.js


BIN
public/js/search.js


BIN
public/js/spa.js


BIN
public/js/status.js


BIN
public/js/stories.js


BIN
public/js/story-compose.js


BIN
public/js/timeline.js


BIN
public/js/vendor.js


+ 2 - 0
public/js/vendor.js.LICENSE.txt

@@ -158,6 +158,8 @@ See the Apache Version 2.0 License for specific language governing permissions
 and limitations under the License.
 ***************************************************************************** */
 
+/*! Axios v1.8.2 Copyright (c) 2025 Matt Zabriskie and contributors */
+
 /*! https://mths.be/punycode v1.4.1 by @mathias */
 
 /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

BIN
public/mix-manifest.json


+ 3 - 0
resources/assets/components/Post.vue

@@ -203,6 +203,9 @@
                     this.post = res.data;
                     this.media = this.post.media_attachments;
                     this.profile = this.post.account;
+                    if(res.data.account && res.data.account.local) {
+                        window.history.pushState({}, '', `/p/${res.data.account.acct}/${res.data.id}`);
+                    }
                     if(this.post.in_reply_to_id) {
                         this.fetchReply();
                     } else {

+ 7 - 0
resources/assets/components/Profile.vue

@@ -131,6 +131,9 @@
                     // this.fetchPosts();
                     // this.isLoaded = true;
                     this.fetchRelationship();
+                    if(this.cachedProfile && this.cachedProfile.local) {
+                        window.history.pushState({}, '', `/${this.cachedProfile.acct}`);
+                    }
                 } else {
                     this.curUser = window._sharedData.user;
                     this.fetchProfile();
@@ -164,6 +167,10 @@
                         this.owner = false;
                         this.fetchRelationship();
                     }
+
+                    if(res.data && res.data.local) {
+                        window.history.pushState({}, '', `/${res.data.acct}`);
+                    }
                 })
                 .catch(err => {
                     this.$router.push('/i/web/404');

+ 1 - 1
resources/assets/js/components/CollectionComponent.vue

@@ -49,7 +49,7 @@
 							</span>
 							<span>·</span>
 						</span>
-						<span>{{collection.post_count}} photos</span>
+						<span>{{collection.post_count}} posts</span>
 						<span>·</span>
 						<span>by <a :href="'/' + profileUsername" class="font-weight-bold text-white">{{profileUsername}}</a></span>
 					</p>

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor