├── public ├── favicon.ico ├── robots.txt ├── build │ └── manifest.json ├── .htaccess └── index.php ├── database ├── .gitignore ├── seeders │ └── DatabaseSeeder.php ├── migrations │ ├── 2014_10_12_100000_create_password_reset_tokens_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2019_12_14_000001_create_personal_access_tokens_table.php │ ├── 2023_03_08_143857_create_supports_table.php │ └── 2023_06_26_160451_create_reply_supports_table.php └── factories │ └── UserFactory.php ├── storage ├── .gitignore ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── resources ├── views │ ├── site │ │ └── contact.blade.php │ ├── components │ │ ├── status-support.blade.php │ │ ├── input-label.blade.php │ │ ├── auth-session-status.blade.php │ │ ├── alert.blade.php │ │ ├── dropdown-link.blade.php │ │ ├── input-error.blade.php │ │ ├── text-input.blade.php │ │ ├── danger-button.blade.php │ │ ├── secondary-button.blade.php │ │ ├── primary-button.blade.php │ │ ├── messages.blade.php │ │ ├── nav-link.blade.php │ │ ├── responsive-nav-link.blade.php │ │ ├── dropdown.blade.php │ │ ├── pagination.blade.php │ │ ├── application-logo.blade.php │ │ └── modal.blade.php │ ├── emails │ │ └── supports │ │ │ └── replied.blade.php │ ├── admin │ │ ├── supports │ │ │ ├── create.blade.php │ │ │ ├── index.blade.php │ │ │ ├── edit.blade.php │ │ │ ├── partials │ │ │ │ ├── form.blade.php │ │ │ │ ├── header.blade.php │ │ │ │ └── content.blade.php │ │ │ └── replies │ │ │ │ └── replies.blade.php │ │ └── layouts │ │ │ └── app.blade.php │ ├── dashboard.blade.php │ ├── auth │ │ ├── confirm-password.blade.php │ │ ├── forgot-password.blade.php │ │ ├── verify-email.blade.php │ │ ├── reset-password.blade.php │ │ ├── login.blade.php │ │ └── register.blade.php │ ├── profile │ │ ├── edit.blade.php │ │ └── partials │ │ │ ├── update-password-form.blade.php │ │ │ ├── delete-user-form.blade.php │ │ │ └── update-profile-information-form.blade.php │ └── layouts │ │ ├── guest.blade.php │ │ └── app.blade.php ├── css │ └── app.css └── js │ ├── app.js │ └── bootstrap.js ├── docker ├── php │ └── custom.ini └── nginx │ └── laravel.conf ├── postcss.config.js ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ ├── ExampleTest.php │ ├── Auth │ │ ├── RegistrationTest.php │ │ ├── AuthenticationTest.php │ │ ├── PasswordConfirmationTest.php │ │ ├── PasswordUpdateTest.php │ │ ├── EmailVerificationTest.php │ │ └── PasswordResetTest.php │ └── ProfileTest.php └── CreatesApplication.php ├── app ├── Http │ ├── Controllers │ │ ├── Site │ │ │ └── SiteController.php │ │ ├── Controller.php │ │ ├── Auth │ │ │ ├── EmailVerificationPromptController.php │ │ │ ├── EmailVerificationNotificationController.php │ │ │ ├── PasswordController.php │ │ │ ├── VerifyEmailController.php │ │ │ ├── ConfirmablePasswordController.php │ │ │ ├── AuthenticatedSessionController.php │ │ │ ├── PasswordResetLinkController.php │ │ │ ├── RegisteredUserController.php │ │ │ └── NewPasswordController.php │ │ ├── Api │ │ │ ├── Auth │ │ │ │ └── AuthController.php │ │ │ ├── ReplySupportApiController.php │ │ │ └── SupportController.php │ │ ├── Admin │ │ │ ├── ReplySupportController.php │ │ │ └── SupportController.php │ │ └── ProfileController.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrimStrings.php │ │ ├── TrustHosts.php │ │ ├── Authenticate.php │ │ ├── ValidateSignature.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ ├── Resources │ │ ├── DefaultResource.php │ │ ├── ReplySupportResource.php │ │ └── SupportResource.php │ ├── Requests │ │ ├── ProfileUpdateRequest.php │ │ ├── StoreReplySupportRequest.php │ │ ├── Api │ │ │ └── AuthRequest.php │ │ ├── StoreUpdateSupport.php │ │ └── Auth │ │ │ └── LoginRequest.php │ └── Kernel.php ├── Observers │ └── SupportObserver.php ├── View │ └── Components │ │ ├── AppLayout.php │ │ ├── GuestLayout.php │ │ └── StatusSupport.php ├── Repositories │ ├── Contracts │ │ ├── ReplyRepositoryInterface.php │ │ ├── PaginationInterface.php │ │ └── SupportRepositoryInterface.php │ ├── Eloquent │ │ └── ReplySupportRepository.php │ ├── PaginationPresenter.php │ └── SupportEloquentORM.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AuthServiceProvider.php │ ├── AppServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Enums │ └── SupportStatus.php ├── DTO │ ├── Replies │ │ └── CreateReplyDTO.php │ └── Supports │ │ ├── CreateSupportDTO.php │ │ └── UpdateSupportDTO.php ├── Console │ └── Kernel.php ├── Listeners │ ├── SendMailWhenSupportReplied.php │ └── ChangeStatusSupport.php ├── Helpers │ └── functions.php ├── Adapters │ └── ApiAdapter.php ├── Services │ ├── ReplySupportService.php │ └── SupportService.php ├── Events │ └── SupportReplied.php ├── Models │ ├── Support.php │ ├── User.php │ └── ReplySupport.php ├── Exceptions │ └── Handler.php └── Mail │ └── SupportRepliedMail.php ├── .gitattributes ├── .gitignore ├── .editorconfig ├── vite.config.js ├── package.json ├── routes ├── channels.php ├── console.php ├── api.php ├── web.php └── auth.php ├── tailwind.config.js ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── broadcasting.php ├── sanctum.php ├── filesystems.php ├── queue.php ├── cache.php ├── mail.php ├── logging.php └── auth.php ├── Dockerfile ├── phpunit.xml ├── .env.example ├── README.md ├── docker-compose.yml ├── artisan └── composer.json /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /storage/.gitignore: -------------------------------------------------------------------------------- 1 | debugbar 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /resources/views/site/contact.blade.php: -------------------------------------------------------------------------------- 1 | contato 2 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /docker/php/custom.ini: -------------------------------------------------------------------------------- 1 | [PHP] 2 | post_max_size = 100M 3 | upload_max_filesize = 100M -------------------------------------------------------------------------------- /resources/css/app.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | import './bootstrap'; 2 | 3 | import Alpine from 'alpinejs'; 4 | 5 | window.Alpine = Alpine; 6 | 7 | Alpine.start(); 8 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /resources/views/components/status-support.blade.php: -------------------------------------------------------------------------------- 1 |
{{ $error }}
5 | @endforeach 6 |{{ session('message') }}
7 |8 | {{ __('Ensure your account is using a long, random password to stay secure.') }} 9 |
10 |8 | {{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.') }} 9 |
10 |8 | {{ __("Update your account's profile information and email address.") }} 9 |
10 |No replies
56 | @endforelse 57 | 58 || 9 | Assunto 10 | | 11 | 12 |13 | Status 14 | | 15 | 16 |17 | Comentário 18 | | 19 | 20 |Interações | 21 | 22 |23 | Ver 24 | | 25 |
|---|---|---|---|---|
| 31 | {{ $support->subject }} 32 | | 33 |
34 | |
36 | 37 | {{ $support->body }} 38 | | 39 |
40 |
41 | @foreach ($support->replies as $reply)
42 | @if ($loop->index < 4)
43 |
47 | {{ getInitials($reply['user']['name']) }}
44 | @endif
45 | @endforeach
46 | |
48 |
49 | 50 | @can('owner', $support->user_id) 51 | 52 | Editar 53 | 54 | @endcan 55 | 56 | 59 | 60 | | 61 |