Recent changes

This commit is contained in:
2020-11-02 21:44:05 +00:00
parent 06d1e0ad3f
commit 96aa01b9c6
508 changed files with 333 additions and 79 deletions

0
app/Http/Requests/Add2FASecretRequest.php Normal file → Executable file
View File

0
app/Http/Requests/BanUserRequest.php Normal file → Executable file
View File

0
app/Http/Requests/ChangeEmailRequest.php Normal file → Executable file
View File

0
app/Http/Requests/ChangePasswordRequest.php Normal file → Executable file
View File

0
app/Http/Requests/DeleteUserRequest.php Normal file → Executable file
View File

0
app/Http/Requests/EditTeamRequest.php Normal file → Executable file
View File

0
app/Http/Requests/FlushSessionsRequest.php Normal file → Executable file
View File

0
app/Http/Requests/NewCommentRequest.php Normal file → Executable file
View File

0
app/Http/Requests/NewTeamRequest.php Normal file → Executable file
View File

0
app/Http/Requests/ProfileSave.php Normal file → Executable file
View File

0
app/Http/Requests/Remove2FASecretRequest.php Normal file → Executable file
View File

0
app/Http/Requests/SaveNotesRequest.php Normal file → Executable file
View File

0
app/Http/Requests/SearchPlayerRequest.php Normal file → Executable file
View File

0
app/Http/Requests/SendInviteRequest.php Normal file → Executable file
View File

0
app/Http/Requests/UpdateUserRequest.php Normal file → Executable file
View File

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UploadFileRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'caption' => 'required|string|max:100',
'description' => 'required|string|max:800',
'file' => 'required|file|mimes:jpeg,jpg,png,bmp,tiff,docx,doc,odt,ott,xls,xlsx,ods,ots,gif,pdf,mp3,mp4,pptx,ppt,odp,ppsx,pub,psd,svg'
];
}
}

0
app/Http/Requests/UserDeleteRequest.php Normal file → Executable file
View File

0
app/Http/Requests/VacancyEditRequest.php Normal file → Executable file
View File

0
app/Http/Requests/VacancyRequest.php Normal file → Executable file
View File

0
app/Http/Requests/VoteRequest.php Normal file → Executable file
View File