mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-06 18:59:20 +02:00
- move and refactor Image.php from Libraries to Entities folder - update some database field names / types - update composer packages
40 lines
860 B
PHP
40 lines
860 B
PHP
<?php
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Controllers\Admin;
|
|
|
|
class FediverseController extends BaseController
|
|
{
|
|
public function dashboard()
|
|
{
|
|
return view('admin/fediverse/dashboard');
|
|
}
|
|
|
|
public function blockedActors()
|
|
{
|
|
helper(['form']);
|
|
|
|
$blockedActors = model('ActorModel')->getBlockedActors();
|
|
|
|
return view('admin/fediverse/blocked_actors', [
|
|
'blockedActors' => $blockedActors,
|
|
]);
|
|
}
|
|
|
|
public function blockedDomains()
|
|
{
|
|
helper(['form']);
|
|
|
|
$blockedDomains = model('BlockedDomainModel')->getBlockedDomains();
|
|
|
|
return view('admin/fediverse/blocked_domains', [
|
|
'blockedDomains' => $blockedDomains,
|
|
]);
|
|
}
|
|
}
|