Replaced Moment with Carbon #84

Merged
Ghost merged 148 commits from develop into beta 2022-09-22 05:53:36 +02:00
20 changed files with 56 additions and 43 deletions
Showing only changes of commit 36d04c8f68 - Show all commits

View file

@ -3,7 +3,7 @@
namespace App\Http\Controllers;
use Symfony\Component\HttpFoundation\Response;
use App\Services\AuthService;
use App\Services\Data\AuthService;
use Illuminate\Http\Request;
class AuthController extends Controller

View file

@ -3,9 +3,9 @@
namespace App\Http\Controllers;
use App\Interfaces\PageRepositoryInterface;
use App\Services\AuthService;
use App\Services\ThemeService;
use App\Services\SortingService;
use App\Services\Data\AuthService;
use App\Services\Data\ThemeService;
use App\Services\Data\SortingService;
class DashController extends Controller
{

View file

@ -2,11 +2,11 @@
namespace App\Http\Controllers;
use App\Services\SettingsService;
use App\Services\AuthService;
use App\Interfaces\PageRepositoryInterface;
use App\Services\SortingService;
use App\Services\AssetService;
use App\Services\Assets\AssetService;
use App\Services\Data\SettingsService;
use App\Services\Data\AuthService;
use App\Services\Data\SortingService;
use function _\find;

View file

@ -2,7 +2,7 @@
namespace App\Http\Controllers;
use App\Services\AuthService;
use App\Services\Data\AuthService;
use Illuminate\Http\Request;
class RouteController extends Controller

View file

@ -3,10 +3,10 @@
namespace App\Http\Controllers;
use App\Interfaces\PageRepositoryInterface;
use App\Services\AuthService;
use App\Services\SortingService;
use App\Services\AssetService;
use App\Services\ThemeService;
use App\Services\Assets\AssetService;
use App\Services\Data\AuthService;
use App\Services\Data\SortingService;
use App\Services\Data\ThemeService;
class ThemeController extends Controller
{

View file

@ -3,20 +3,24 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
//Repos
use App\Repositories\PageRepository;
use App\Interfaces\PageRepositoryInterface;
use App\Services\SettingsService;
use App\Services\AuthService;
use App\Services\ContentService;
use App\Services\PaginateService;
use App\Services\ThemeService;
use App\Services\DocService;
use App\Services\FileUploadService;
use App\Services\RenderService;
use App\Services\SortingService;
use App\Services\AssetService;
use App\Services\MaintenanceService;
use App\Services\InitService;
//Asset Services
use App\Services\Assets\AssetService;
use App\Services\Assets\DocService;
use App\Services\Assets\FileUploadService;
use App\Services\Assets\RenderService;
//Data Services
use App\Services\Data\SettingsService;
use App\Services\Data\AuthService;
use App\Services\Data\ContentService;
use App\Services\Data\PaginateService;
use App\Services\Data\ThemeService;
use App\Services\Data\SortingService;
//Upkeep Services
use App\Services\UpKeep\MaintenanceService;
use App\Services\UpKeep\InitService;
class FipamoServiceProvider extends ServiceProvider
{

View file

@ -3,12 +3,14 @@
namespace App\Repositories;
use App\Interfaces\PageRepositoryInterface;
use App\Services\SettingsService;
use App\Services\ContentService;
use App\Services\PaginateService;
use App\Services\DocService;
use App\Services\SortingService;
use App\Services\RenderService;
//Asset Services
use App\Services\Assets\DocService;
use App\Services\Assets\RenderService;
//Data Services
use App\Services\Data\SettingsService;
use App\Services\Data\ContentService;
use App\Services\Data\PaginateService;
use App\Services\Data\SortingService;
use Carbon\Carbon;
class PageRepository implements PageRepositoryInterface

View file

@ -1,6 +1,8 @@
<?php
namespace App\Services;
namespace App\Services\Assets;
use App\Services\Data\ThemeService;
class AssetService
{

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Assets;
class DocService
{

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Assets;
class FileUploadService
{

View file

@ -1,8 +1,11 @@
<?php
namespace App\Services;
namespace App\Services\Assets;
use Illuminate\Support\Facades\File;
use App\Services\Data\SortingService;
use App\Services\Data\SettingsService;
use App\Services\Data\ContentService;
class RenderService
{

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Data;
use ReallySimpleJWT\Token;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Data;
use HtmlSanitizer\SanitizerBuilder;
use League\CommonMark\MarkdownConverter;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Data;
use function _\filter;

View file

@ -1,8 +1,9 @@
<?php
namespace App\Services;
namespace App\Services\Data;
use Carbon\Carbon;
use App\Services\Assets\DocService;
use function _\find;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Data;
use Carbon\Carbon;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Data;
class ThemeService
{

View file

@ -1,6 +1,6 @@
<?php
namespace App\Services;
namespace App\Services\Upkeep;
use ReallySimpleJWT\Token;
use ReallySimpleJWT\Exception\BuildException;

View file

@ -31,7 +31,7 @@ if(isset($page['uuid']))
@endphp
<br>
<div role="toolbar" aria-label="page options" aria-orientation="horizontal">
<button id="option-menu-pin" class="option-inactive post-option-btn" data-active="{{ $menu }}" title='Pin to Menu' aria-label="pin to menu">
<svg id="option-menu-pin" class="icon">
<use id="option-menu-pin" xlink:href="/assets/images/global/sprite.svg#entypo-pin"/>
@ -50,3 +50,4 @@ if(isset($page['uuid']))
</svg>
</button>
</a>
</div>