From 650e67a7995cc53c68c20f2b2beabdbce26f04f9 Mon Sep 17 00:00:00 2001 From: Ro Date: Tue, 5 Sep 2023 13:30:57 -0700 Subject: [PATCH] Added sources list, updated about section Tweaked the about page to include some langauge talking about where the data is coming from and how it's being used and linking to the respective sources --- app/Http/Controllers/FrontIndexController.php | 5 ++++- resources/views/front/about.blade.php | 21 ++++++++++++++++++- resources/views/front/location.blade.php | 2 +- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/FrontIndexController.php b/app/Http/Controllers/FrontIndexController.php index 073fd1c..ad612cb 100644 --- a/app/Http/Controllers/FrontIndexController.php +++ b/app/Http/Controllers/FrontIndexController.php @@ -5,6 +5,7 @@ namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Models\Location; +use App\Models\Source; class FrontIndexController extends Controller { @@ -51,8 +52,10 @@ class FrontIndexController extends Controller public function about() { + $sources = Source::where("active", true)->get(); return view('front.about', [ - 'title' => "ABOUT" + 'title' => "ABOUT", + 'sources' => $sources ]); } diff --git a/resources/views/front/about.blade.php b/resources/views/front/about.blade.php index b5c66fb..f3fb414 100644 --- a/resources/views/front/about.blade.php +++ b/resources/views/front/about.blade.php @@ -4,7 +4,7 @@ @parent
-

What is The Bad Space?

+

What is The Bad Space?

The Bad Space project was born from a need to effectively identify instances that house bad actors and are poorly moderated, which puts marginalized communities at risk.

@@ -20,6 +20,25 @@ Technical support provided by Ro.

+

How does it work?

+

The Bad Space is a collaboration of instances committed to actively moderating against racism, sexism, heterosexism, transphobia, ableism, casteism, or religion.

+ +

These instances have permitted The Bad Space to read their respective blocklists to create a composite directory of sites tagged for the behavior above that can be searched and, through a public API, can be integrated into external services.

+ +

Current Sources:

+ Maston:
+ @foreach($sources as $source) + @if($source->format == 'json') + {{$source->url}}
+ @endif + @endforeach + Custom CSV
+ @foreach($sources as $source) + @if($source->format == 'csv') + {{$source->url}}
+ @endif + @endforeach +

How do I use it?

The Bad Space is meant to be a resource for anyone looking to improve the quality of their online experience by creating a tool that catalogs sources for harassment and abuse. There are several options for how it can be used. diff --git a/resources/views/front/location.blade.php b/resources/views/front/location.blade.php index ef2519d..1aa4e78 100644 --- a/resources/views/front/location.blade.php +++ b/resources/views/front/location.blade.php @@ -26,7 +26,7 @@ @endif
- This count reflects the number of times this instance has been suspended or silenced by a member of Trusted Sources + This count reflects the number of times this instance has been suspended or silenced be two or more Current Sources
UPDATED : {{$updated}}