Merge pull request #3345 from pixelfed/staging

Staging
This commit is contained in:
daniel 2022-03-31 00:24:28 -06:00 committed by GitHub
commit 282e4c48ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 14 additions and 6 deletions

View file

@ -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);

View file

@ -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

Binary file not shown.

BIN
public/css/appdark.css vendored

Binary file not shown.

BIN
public/css/landing.css vendored

Binary file not shown.

BIN
public/js/admin.js vendored

Binary file not shown.

BIN
public/js/app.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/js/compose-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/compose.js vendored

Binary file not shown.

BIN
public/js/daci-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/js/dffc-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/direct.js vendored

Binary file not shown.

BIN
public/js/dmyh-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/dmym-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/dsfc-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/dssc-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/hashtag.js vendored

Binary file not shown.

BIN
public/js/home-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/loops.js vendored

Binary file not shown.

BIN
public/js/manifest.js vendored

Binary file not shown.

BIN
public/js/post-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/profile-m9we36ik.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
public/js/profile.js vendored

Binary file not shown.

BIN
public/js/rempos.js vendored

Binary file not shown.

BIN
public/js/rempro.js vendored

Binary file not shown.

BIN
public/js/search.js vendored

Binary file not shown.

BIN
public/js/spa.js vendored

Binary file not shown.

BIN
public/js/status.js vendored

Binary file not shown.

BIN
public/js/stories.js vendored

Binary file not shown.

Binary file not shown.

BIN
public/js/timeline.js vendored

Binary file not shown.

BIN
public/js/vendor.js vendored

Binary file not shown.

View file

@ -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.