mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-10 22:20:46 +00:00
commit
282e4c48ea
48 changed files with 14 additions and 6 deletions
|
@ -10,6 +10,11 @@ use App\{
|
|||
|
||||
class PlaceController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
public function show(Request $request, $id, $slug)
|
||||
{
|
||||
$place = Place::whereSlug($slug)->findOrFail($id);
|
||||
|
|
|
@ -293,8 +293,8 @@ class PublicApiController extends Controller
|
|||
'limit' => 'nullable|integer|max:30'
|
||||
]);
|
||||
|
||||
if(config('instance.timeline.local.is_public') == false && !Auth::check()) {
|
||||
abort(403, 'Authentication required.');
|
||||
if(!$request->user()) {
|
||||
return response('', 403);
|
||||
}
|
||||
|
||||
$page = $request->input('page');
|
||||
|
@ -422,8 +422,8 @@ class PublicApiController extends Controller
|
|||
|
||||
public function homeTimelineApi(Request $request)
|
||||
{
|
||||
if(!Auth::check()) {
|
||||
return abort(403);
|
||||
if(!$request->user()) {
|
||||
return response('', 403);
|
||||
}
|
||||
|
||||
$this->validate($request,[
|
||||
|
@ -586,7 +586,10 @@ class PublicApiController extends Controller
|
|||
|
||||
public function networkTimelineApi(Request $request)
|
||||
{
|
||||
abort_if(!Auth::check(), 403);
|
||||
if(!$request->user()) {
|
||||
return response('', 403);
|
||||
}
|
||||
|
||||
abort_if(config('federation.network_timeline') == false, 404);
|
||||
|
||||
$this->validate($request,[
|
||||
|
|
BIN
public/css/app.css
vendored
BIN
public/css/app.css
vendored
Binary file not shown.
BIN
public/css/appdark.css
vendored
BIN
public/css/appdark.css
vendored
Binary file not shown.
BIN
public/css/landing.css
vendored
BIN
public/css/landing.css
vendored
Binary file not shown.
BIN
public/js/admin.js
vendored
BIN
public/js/admin.js
vendored
Binary file not shown.
BIN
public/js/app.js
vendored
BIN
public/js/app.js
vendored
Binary file not shown.
BIN
public/js/collections.js
vendored
BIN
public/js/collections.js
vendored
Binary file not shown.
BIN
public/js/components.js
vendored
BIN
public/js/components.js
vendored
Binary file not shown.
BIN
public/js/compose-classic.js
vendored
BIN
public/js/compose-classic.js
vendored
Binary file not shown.
BIN
public/js/compose-m9we36ik.js
vendored
Normal file
BIN
public/js/compose-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/compose-xl3w8bxy.js
vendored
BIN
public/js/compose-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/compose.js
vendored
BIN
public/js/compose.js
vendored
Binary file not shown.
BIN
public/js/daci-m9we36ik.js
vendored
Normal file
BIN
public/js/daci-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/daci-xl3w8bxy.js
vendored
BIN
public/js/daci-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/developers.js
vendored
BIN
public/js/developers.js
vendored
Binary file not shown.
BIN
public/js/dffc-m9we36ik.js
vendored
Normal file
BIN
public/js/dffc-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/dffc-xl3w8bxy.js
vendored
BIN
public/js/dffc-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/direct.js
vendored
BIN
public/js/direct.js
vendored
Binary file not shown.
BIN
public/js/dmyh-m9we36ik.js
vendored
Normal file
BIN
public/js/dmyh-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/dmyh-xl3w8bxy.js
vendored
BIN
public/js/dmyh-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/dmym-m9we36ik.js
vendored
Normal file
BIN
public/js/dmym-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/dmym-xl3w8bxy.js
vendored
BIN
public/js/dmym-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/dsfc-m9we36ik.js
vendored
Normal file
BIN
public/js/dsfc-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/dsfc-xl3w8bxy.js
vendored
BIN
public/js/dsfc-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/dssc-m9we36ik.js
vendored
Normal file
BIN
public/js/dssc-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/dssc-xl3w8bxy.js
vendored
BIN
public/js/dssc-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/hashtag.js
vendored
BIN
public/js/hashtag.js
vendored
Binary file not shown.
BIN
public/js/home-m9we36ik.js
vendored
Normal file
BIN
public/js/home-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/home-xl3w8bxy.js
vendored
BIN
public/js/home-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/loops.js
vendored
BIN
public/js/loops.js
vendored
Binary file not shown.
BIN
public/js/manifest.js
vendored
BIN
public/js/manifest.js
vendored
Binary file not shown.
BIN
public/js/post-m9we36ik.js
vendored
Normal file
BIN
public/js/post-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/post-xl3w8bxy.js
vendored
BIN
public/js/post-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/profile-m9we36ik.js
vendored
Normal file
BIN
public/js/profile-m9we36ik.js
vendored
Normal file
Binary file not shown.
BIN
public/js/profile-xl3w8bxy.js
vendored
BIN
public/js/profile-xl3w8bxy.js
vendored
Binary file not shown.
BIN
public/js/profile.js
vendored
BIN
public/js/profile.js
vendored
Binary file not shown.
BIN
public/js/rempos.js
vendored
BIN
public/js/rempos.js
vendored
Binary file not shown.
BIN
public/js/rempro.js
vendored
BIN
public/js/rempro.js
vendored
Binary file not shown.
BIN
public/js/search.js
vendored
BIN
public/js/search.js
vendored
Binary file not shown.
BIN
public/js/spa.js
vendored
BIN
public/js/spa.js
vendored
Binary file not shown.
BIN
public/js/status.js
vendored
BIN
public/js/status.js
vendored
Binary file not shown.
BIN
public/js/stories.js
vendored
BIN
public/js/stories.js
vendored
Binary file not shown.
BIN
public/js/story-compose.js
vendored
BIN
public/js/story-compose.js
vendored
Binary file not shown.
BIN
public/js/timeline.js
vendored
BIN
public/js/timeline.js
vendored
Binary file not shown.
BIN
public/js/vendor.js
vendored
BIN
public/js/vendor.js
vendored
Binary file not shown.
|
@ -106,7 +106,7 @@
|
|||
*/
|
||||
|
||||
/*!
|
||||
* vue-i18n v8.27.0
|
||||
* vue-i18n v8.27.1
|
||||
* (c) 2022 kazuya kawaguchi
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue