diff --git a/.editorconfig b/.editorconfig old mode 100644 new mode 100755 diff --git a/.env.example b/.env.example old mode 100644 new mode 100755 index f897c91..3b39376 --- a/.env.example +++ b/.env.example @@ -7,6 +7,10 @@ APP_LOGO="https://www.raspberrypi.org/app/uploads/2020/05/Raspberry-Pi-OS-downlo APP_SITEHOMEPAGE="" # This can be your main homepage, other than this site itself +# Forces ssl connections even if the environment is set to "local". +# Void if env is production. +NONPROD_FORCE_SECURE=false + LOG_CHANNEL=stack DB_CONNECTION=mysql diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.idea/hrm-mcserver.iml b/.idea/hrm-mcserver.iml old mode 100644 new mode 100755 diff --git a/.idea/laravel-plugin.xml b/.idea/laravel-plugin.xml old mode 100644 new mode 100755 diff --git a/.idea/misc.xml b/.idea/misc.xml old mode 100644 new mode 100755 diff --git a/.idea/modules.xml b/.idea/modules.xml old mode 100644 new mode 100755 diff --git a/.idea/php.xml b/.idea/php.xml old mode 100644 new mode 100755 diff --git a/.idea/phpunit.xml b/.idea/phpunit.xml old mode 100644 new mode 100755 diff --git a/.idea/vcs.xml b/.idea/vcs.xml old mode 100644 new mode 100755 diff --git a/.phive/phars.xml b/.phive/phars.xml old mode 100644 new mode 100755 diff --git a/.styleci.yml b/.styleci.yml old mode 100644 new mode 100755 diff --git a/.vscode/launch.json b/.vscode/launch.json old mode 100644 new mode 100755 diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md old mode 100644 new mode 100755 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/Procfile b/Procfile old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/SECURITY.md b/SECURITY.md old mode 100644 new mode 100755 diff --git a/app/Application.php b/app/Application.php old mode 100644 new mode 100755 diff --git a/app/Appointment.php b/app/Appointment.php old mode 100644 new mode 100755 diff --git a/app/Ban.php b/app/Ban.php old mode 100644 new mode 100755 diff --git a/app/Comment.php b/app/Comment.php old mode 100644 new mode 100755 diff --git a/app/Console/Commands/CountVotes.php b/app/Console/Commands/CountVotes.php old mode 100644 new mode 100755 diff --git a/app/Console/Commands/CreateUser.php b/app/Console/Commands/CreateUser.php old mode 100644 new mode 100755 diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php old mode 100644 new mode 100755 diff --git a/app/Console/Commands/MakeFile.php b/app/Console/Commands/MakeFile.php old mode 100644 new mode 100755 diff --git a/app/Console/Commands/SetEnv.php b/app/Console/Commands/SetEnv.php old mode 100644 new mode 100755 diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php old mode 100644 new mode 100755 diff --git a/app/CustomFacades/IP.php b/app/CustomFacades/IP.php old mode 100644 new mode 100755 diff --git a/app/Events/ApplicationApprovedEvent.php b/app/Events/ApplicationApprovedEvent.php old mode 100644 new mode 100755 diff --git a/app/Events/ApplicationDeniedEvent.php b/app/Events/ApplicationDeniedEvent.php old mode 100644 new mode 100755 diff --git a/app/Events/NewApplicationEvent.php b/app/Events/NewApplicationEvent.php old mode 100644 new mode 100755 diff --git a/app/Events/UserBannedEvent.php b/app/Events/UserBannedEvent.php old mode 100644 new mode 100755 diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php old mode 100644 new mode 100755 diff --git a/app/Facades/ContextAwareValidation.php b/app/Facades/ContextAwareValidation.php old mode 100644 new mode 100755 diff --git a/app/Facades/DigitalStorageHelper.php b/app/Facades/DigitalStorageHelper.php new file mode 100644 index 0000000..0ebdee0 --- /dev/null +++ b/app/Facades/DigitalStorageHelper.php @@ -0,0 +1,17 @@ +value = $value; + return $this; + } + + + /** + * Converts the digital storage value to kilobytes. + * + * @return float|int + */ + public function toKilobytes(): float + { + return $this->value / 1000; + } + + + /** + * Converts the digital storage value to megabytes. + * + * @return float|int + */ + public function toMegabytes(): float + { + return $this->value / (1 * pow(10, 6)); // 1 times 10 to the power of 6 + } + + + /** + * Convert the digital storage value to gigabytes. Might be an approximation + * + * @return float + */ + public function toGigabytes(): float + { + return $this->value / (1 * pow(10, 9)); + } + + + /** + * Convert the digital storage value to terabytes. + * + * @return float + */ + public function toTerabytes(): float + { + return $this->value / (1 * pow(10, 12)); + } + + + /** + * Format the digital storage value to one of the units: b, kb, mb, gb and tb. + * The method has been adapted to use both MiB and MB values. + * + * @param int $precision The rounding precision + * @param bool $si Use international system units. Defaults to false + * @return string The human readable digital storage value, in either, for instance, MB or MiB + * @see https://stackoverflow.com/a/2510459/11540218 StackOverflow question regarding unit conversion + * @since 7.3.23 + */ + public function formatBytes($precision = 2, $si = false): string + { + $units = ['B', 'KiB', 'MiB', 'GiB', 'TiB']; + if ($si) + $units = ['B', 'KB', 'MB', 'GB', 'TB']; + + $bytes = max($this->value, 0); + $pow = floor(($bytes ? log($bytes) : 0) / log(($si) ? 1000 : 1024)); + $pow = min($pow, count($units) - 1); + + $bytes /= pow(($si) ? 1000 : 1024, $pow); + + return round($bytes, $precision) . ' ' . $units[$pow]; + } + +} diff --git a/app/Helpers/Options.php b/app/Helpers/Options.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/ApplicationController.php b/app/Http/Controllers/ApplicationController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/AppointmentController.php b/app/Http/Controllers/AppointmentController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/ConfirmPasswordController.php b/app/Http/Controllers/Auth/ConfirmPasswordController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/TwofaController.php b/app/Http/Controllers/Auth/TwofaController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/VerificationController.php b/app/Http/Controllers/Auth/VerificationController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/BanController.php b/app/Http/Controllers/BanController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/CommentController.php b/app/Http/Controllers/CommentController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/ContactController.php b/app/Http/Controllers/ContactController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/DevToolsController.php b/app/Http/Controllers/DevToolsController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/FormController.php b/app/Http/Controllers/FormController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/OptionsController.php b/app/Http/Controllers/OptionsController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/ResponseController.php b/app/Http/Controllers/ResponseController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/StaffProfileController.php b/app/Http/Controllers/StaffProfileController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/TeamController.php b/app/Http/Controllers/TeamController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/TeamFileController.php b/app/Http/Controllers/TeamFileController.php old mode 100644 new mode 100755 index b8a67e8..415e696 --- a/app/Http/Controllers/TeamFileController.php +++ b/app/Http/Controllers/TeamFileController.php @@ -2,11 +2,25 @@ namespace App\Http\Controllers; +// Most of these namespaces have no effect on the code, however, they're used by IDEs so they can resolve return types and for PHPDocumentor as well + + use App\TeamFile; -use Illuminate\Http\Request; +use App\Http\Requests\UploadFileRequest; + + use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Storage; use League\Flysystem\FileNotFoundException; +// Documentation-purpose namespaces +use Illuminate\Contracts\Foundation\Application; +use Illuminate\Contts\View\Factory; +use Illuminate\Contracts\View\View; +use Illuminate\Http\RedirectResponse; +use Illuminate\Http\Request; +use Illuminate\Http\Response; + + class TeamFileController extends Controller { @@ -14,7 +28,7 @@ class TeamFileController extends Controller * Display a listing of the resource. * * @param Request $request - * @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View|\Illuminate\Http\Response + * @return Application|Factory|View|Response */ public function index(Request $request) { @@ -25,28 +39,45 @@ class TeamFileController extends Controller } return view('dashboard.teams.team-files') - ->with('files', TeamFile::with('team', 'uploader')->paginate(20)); + ->with('files', TeamFile::with('team', 'uploader')->paginate(6)); } - /** - * Show the form for creating a new resource. - * - * @return \Illuminate\Http\Response - */ - public function create() - { - // - } /** * Store a newly created resource in storage. * - * @param \Illuminate\Http\Request $request - * @return \Illuminate\Http\Response + * @param UploadFileRequest $request + * @return RedirectResponse */ - public function store(Request $request) + public function store(UploadFileRequest $request) { - // + $upload = $request->file('file'); + + $file = $upload->store('uploads'); + $originalFileName = $upload->getClientOriginalName(); + $originalFileExtension = $upload->extension(); + $originalFileSize = $upload->getSize(); + + $fileEntry = TeamFile::create([ + 'uploaded_by' => Auth::user()->id, + 'team_id' => Auth::user()->currentTeam->id, + 'name' => $originalFileName, + 'caption' => $request->caption, + 'description' => $request->description, + 'fs_location' => $file, + 'extension' => $originalFileExtension, + 'size' => $originalFileSize + ]); + + if ($fileEntry && !is_bool($file)) + { + $request->session()->flash('success', 'File uploaded successfully!'); + return redirect()->back(); + } + + $request->session()->flash('error', 'There was an unknown error whilst trying to upload your file.'); + return redirect()->back(); + } @@ -54,7 +85,7 @@ class TeamFileController extends Controller { try { - return Storage::download('uploads/' . $teamFile->name); + return Storage::download($teamFile->fs_location, $teamFile->name); } catch (FileNotFoundException $ex) { @@ -64,22 +95,11 @@ class TeamFileController extends Controller } } - /** - * Display the specified resource. - * - * @param \App\TeamFile $teamFile - * @return \Illuminate\Http\Response - */ - public function show(TeamFile $teamFile) - { - // - } - /** * Show the form for editing the specified resource. * * @param \App\TeamFile $teamFile - * @return \Illuminate\Http\Response + * @return Response */ public function edit(TeamFile $teamFile) { @@ -91,7 +111,7 @@ class TeamFileController extends Controller * * @param \Illuminate\Http\Request $request * @param \App\TeamFile $teamFile - * @return \Illuminate\Http\Response + * @return Response */ public function update(Request $request, TeamFile $teamFile) { @@ -101,11 +121,25 @@ class TeamFileController extends Controller /** * Remove the specified resource from storage. * - * @param \App\TeamFile $teamFile - * @return \Illuminate\Http\Response + * @param Request $request + * @param \App\TeamFile $teamFile + * @return RedirectResponse */ - public function destroy(TeamFile $teamFile) + public function destroy(Request $request, TeamFile $teamFile) { - // + + try + { + Storage::delete($teamFile->fs_location); + $teamFile->delete(); + + $request->session()->flash('success', 'File deleted successfully.'); + } + catch (\Exception $ex) + { + $request->session()->flash('error', 'There was an error deleting the file: ' . $ex->getMessage()); + } + + return redirect()->back(); } } diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/VacancyController.php b/app/Http/Controllers/VacancyController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/VoteController.php b/app/Http/Controllers/VoteController.php old mode 100644 new mode 100755 diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/ApplicationEligibility.php b/app/Http/Middleware/ApplicationEligibility.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/Bancheck.php b/app/Http/Middleware/Bancheck.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckForMaintenanceMode.php b/app/Http/Middleware/CheckForMaintenanceMode.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/ForceLogoutMiddleware.php b/app/Http/Middleware/ForceLogoutMiddleware.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/UsernameUUID.php b/app/Http/Middleware/UsernameUUID.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Add2FASecretRequest.php b/app/Http/Requests/Add2FASecretRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/BanUserRequest.php b/app/Http/Requests/BanUserRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/ChangeEmailRequest.php b/app/Http/Requests/ChangeEmailRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/ChangePasswordRequest.php b/app/Http/Requests/ChangePasswordRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/DeleteUserRequest.php b/app/Http/Requests/DeleteUserRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/EditTeamRequest.php b/app/Http/Requests/EditTeamRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/FlushSessionsRequest.php b/app/Http/Requests/FlushSessionsRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/NewCommentRequest.php b/app/Http/Requests/NewCommentRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/NewTeamRequest.php b/app/Http/Requests/NewTeamRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/ProfileSave.php b/app/Http/Requests/ProfileSave.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Remove2FASecretRequest.php b/app/Http/Requests/Remove2FASecretRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/SaveNotesRequest.php b/app/Http/Requests/SaveNotesRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/SearchPlayerRequest.php b/app/Http/Requests/SearchPlayerRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/SendInviteRequest.php b/app/Http/Requests/SendInviteRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/UpdateUserRequest.php b/app/Http/Requests/UpdateUserRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/UploadFileRequest.php b/app/Http/Requests/UploadFileRequest.php new file mode 100644 index 0000000..46b5ea7 --- /dev/null +++ b/app/Http/Requests/UploadFileRequest.php @@ -0,0 +1,32 @@ + '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' + ]; + } +} diff --git a/app/Http/Requests/UserDeleteRequest.php b/app/Http/Requests/UserDeleteRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/VacancyEditRequest.php b/app/Http/Requests/VacancyEditRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/VacancyRequest.php b/app/Http/Requests/VacancyRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/VoteRequest.php b/app/Http/Requests/VoteRequest.php old mode 100644 new mode 100755 diff --git a/app/Jobs/CleanBans.php b/app/Jobs/CleanBans.php old mode 100644 new mode 100755 diff --git a/app/Listeners/DenyUser.php b/app/Listeners/DenyUser.php old mode 100644 new mode 100755 diff --git a/app/Listeners/LogAuthenticationFailure.php b/app/Listeners/LogAuthenticationFailure.php old mode 100644 new mode 100755 diff --git a/app/Listeners/LogAuthenticationSuccess.php b/app/Listeners/LogAuthenticationSuccess.php old mode 100644 new mode 100755 diff --git a/app/Listeners/OnUserBanned.php b/app/Listeners/OnUserBanned.php old mode 100644 new mode 100755 diff --git a/app/Listeners/OnUserRegistration.php b/app/Listeners/OnUserRegistration.php old mode 100644 new mode 100755 diff --git a/app/Listeners/PromoteUser.php b/app/Listeners/PromoteUser.php old mode 100644 new mode 100755 diff --git a/app/Mail/InviteToTeam.php b/app/Mail/InviteToTeam.php old mode 100644 new mode 100755 diff --git a/app/Mail/NewContactSubmission.php b/app/Mail/NewContactSubmission.php old mode 100644 new mode 100755 diff --git a/app/Mail/UserAccountDeleteConfirmation.php b/app/Mail/UserAccountDeleteConfirmation.php old mode 100644 new mode 100755 diff --git a/app/Notifications/ApplicationApproved.php b/app/Notifications/ApplicationApproved.php old mode 100644 new mode 100755 diff --git a/app/Notifications/ApplicationDenied.php b/app/Notifications/ApplicationDenied.php old mode 100644 new mode 100755 diff --git a/app/Notifications/ApplicationMoved.php b/app/Notifications/ApplicationMoved.php old mode 100644 new mode 100755 diff --git a/app/Notifications/AppointmentFinished.php b/app/Notifications/AppointmentFinished.php old mode 100644 new mode 100755 diff --git a/app/Notifications/AppointmentScheduled.php b/app/Notifications/AppointmentScheduled.php old mode 100644 new mode 100755 diff --git a/app/Notifications/ChangedPassword.php b/app/Notifications/ChangedPassword.php old mode 100644 new mode 100755 diff --git a/app/Notifications/EmailChanged.php b/app/Notifications/EmailChanged.php old mode 100644 new mode 100755 diff --git a/app/Notifications/NewApplicant.php b/app/Notifications/NewApplicant.php old mode 100644 new mode 100755 diff --git a/app/Notifications/NewComment.php b/app/Notifications/NewComment.php old mode 100644 new mode 100755 diff --git a/app/Notifications/NewContact.php b/app/Notifications/NewContact.php old mode 100644 new mode 100755 diff --git a/app/Notifications/NewUser.php b/app/Notifications/NewUser.php old mode 100644 new mode 100755 diff --git a/app/Notifications/UserBanned.php b/app/Notifications/UserBanned.php old mode 100644 new mode 100755 diff --git a/app/Notifications/VacancyClosed.php b/app/Notifications/VacancyClosed.php old mode 100644 new mode 100755 diff --git a/app/Observers/ApplicationObserver.php b/app/Observers/ApplicationObserver.php old mode 100644 new mode 100755 diff --git a/app/Observers/UserObserver.php b/app/Observers/UserObserver.php old mode 100644 new mode 100755 diff --git a/app/Observers/VacancyObserver.php b/app/Observers/VacancyObserver.php old mode 100644 new mode 100755 diff --git a/app/Options.php b/app/Options.php old mode 100644 new mode 100755 diff --git a/app/Policies/ApplicationPolicy.php b/app/Policies/ApplicationPolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/AppointmentPolicy.php b/app/Policies/AppointmentPolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/BanPolicy.php b/app/Policies/BanPolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/CommentPolicy.php b/app/Policies/CommentPolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/FormPolicy.php b/app/Policies/FormPolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/ProfilePolicy.php b/app/Policies/ProfilePolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/UserPolicy.php b/app/Policies/UserPolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/VacancyPolicy.php b/app/Policies/VacancyPolicy.php old mode 100644 new mode 100755 diff --git a/app/Policies/VotePolicy.php b/app/Policies/VotePolicy.php old mode 100644 new mode 100755 diff --git a/app/Profile.php b/app/Profile.php old mode 100644 new mode 100755 diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php old mode 100644 new mode 100755 index 94aa882..4b35693 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -61,6 +61,11 @@ class AppServiceProvider extends ServiceProvider User::observe(UserObserver::class); Application::observe(ApplicationObserver::class); - $this->app['request']->server->set('HTTPS', $this->app->environment() != 'local'); + + $https = ($this->app->environment() != 'local'); + if(config('app.force_secure') && $this->app->environment() != 'production') + $https = true; + + $this->app['request']->server->set('HTTPS', $https); } } diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/ContextAwareValidatorProvider.php b/app/Providers/ContextAwareValidatorProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/DigitalStorageProvider.php b/app/Providers/DigitalStorageProvider.php new file mode 100644 index 0000000..fe594ef --- /dev/null +++ b/app/Providers/DigitalStorageProvider.php @@ -0,0 +1,31 @@ +belongsTo('App\Team'); } + + + public function getSizeAttribute($value) + { + return DigitalStorageHelper::setValue($value)->formatBytes(2, true); + } } diff --git a/app/Traits/AuthenticatesTwoFactor.php b/app/Traits/AuthenticatesTwoFactor.php old mode 100644 new mode 100755 diff --git a/app/Traits/Cancellable.php b/app/Traits/Cancellable.php old mode 100644 new mode 100755 diff --git a/app/Traits/HandlesAccountTokens.php b/app/Traits/HandlesAccountTokens.php old mode 100644 new mode 100755 diff --git a/app/Traits/ReceivesAccountTokens.php b/app/Traits/ReceivesAccountTokens.php old mode 100644 new mode 100755 diff --git a/app/UUID/UUID.php b/app/UUID/UUID.php old mode 100644 new mode 100755 diff --git a/app/User.php b/app/User.php old mode 100644 new mode 100755 diff --git a/app/Vacancy.php b/app/Vacancy.php old mode 100644 new mode 100755 diff --git a/app/View/Components/Alert.php b/app/View/Components/Alert.php old mode 100644 new mode 100755 diff --git a/app/View/Components/Card.php b/app/View/Components/Card.php old mode 100644 new mode 100755 diff --git a/app/View/Components/Form.php b/app/View/Components/Form.php old mode 100644 new mode 100755 diff --git a/app/View/Components/GlobalErrors.php b/app/View/Components/GlobalErrors.php old mode 100644 new mode 100755 diff --git a/app/View/Components/Modal.php b/app/View/Components/Modal.php old mode 100644 new mode 100755 diff --git a/app/View/Components/NoPermission.php b/app/View/Components/NoPermission.php old mode 100644 new mode 100755 diff --git a/app/Vote.php b/app/Vote.php old mode 100644 new mode 100755 diff --git a/artisan b/artisan old mode 100644 new mode 100755 diff --git a/bootstrap/app.php b/bootstrap/app.php old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 diff --git a/composer.lock b/composer.lock old mode 100644 new mode 100755 diff --git a/config/adminlte.php b/config/adminlte.php old mode 100644 new mode 100755 index 197962b..883d570 --- a/config/adminlte.php +++ b/config/adminlte.php @@ -609,21 +609,5 @@ return [ ], ], - [ - 'name' => 'DropzoneJS', - 'active' => true, - 'files' => [ - [ - 'type' => 'js', - 'asset' => false, - 'location' => '/js/plugins/dropzone.min.js' - ], - [ - 'type' => 'css', - 'asset' => false, - 'location' => '/css/dropzone.min.css' - ] - ] - ] ], ]; diff --git a/config/app.php b/config/app.php old mode 100644 new mode 100755 index 188a5ba..172006b --- a/config/app.php +++ b/config/app.php @@ -46,6 +46,23 @@ return [ */ 'sitehomepage' => env('APP_SITEHOMEPAGE', 'https://google.com'), + + + /* + |-------------------------------------------------------------------------- + | SSL for non-production environments + |-------------------------------------------------------------------------- + | + | If you're a developer, and need to use SSL locally for testing, + | enable this setting. + | It forces Laravel to load all assets via HTTPS, even when the environment is + | set to "local". This setting is useless in production because it's already enforced. + | If you don't enable this when using SSL locally, the pages won't load properly. + | If you're a regular user, don't touch this setting. + | + */ + 'force_secure' => env('NONPROD_FORCE_SECURE', false), + /* |-------------------------------------------------------------------------- | Application Environment @@ -212,6 +229,7 @@ return [ App\Providers\RouteServiceProvider::class, \App\Providers\MojangStatusProvider::class, \App\Providers\OptionsProvider::class, + App\Providers\DigitalStorageProvider::class, ], diff --git a/config/auth.php b/config/auth.php old mode 100644 new mode 100755 diff --git a/config/broadcasting.php b/config/broadcasting.php old mode 100644 new mode 100755 diff --git a/config/cache.php b/config/cache.php old mode 100644 new mode 100755 diff --git a/config/cors.php b/config/cors.php old mode 100644 new mode 100755 diff --git a/config/database.php b/config/database.php old mode 100644 new mode 100755 diff --git a/config/debugbar.php b/config/debugbar.php old mode 100644 new mode 100755 diff --git a/config/env-editor.php b/config/env-editor.php old mode 100644 new mode 100755 diff --git a/config/filesystems.php b/config/filesystems.php old mode 100644 new mode 100755 diff --git a/config/general.php b/config/general.php old mode 100644 new mode 100755 diff --git a/config/google2fa.php b/config/google2fa.php old mode 100644 new mode 100755 diff --git a/config/hashing.php b/config/hashing.php old mode 100644 new mode 100755 diff --git a/config/laravellocalization.php b/config/laravellocalization.php old mode 100644 new mode 100755 diff --git a/config/log-viewer.php b/config/log-viewer.php old mode 100644 new mode 100755 diff --git a/config/logging.php b/config/logging.php old mode 100644 new mode 100755 diff --git a/config/mail.php b/config/mail.php old mode 100644 new mode 100755 diff --git a/config/markdown.php b/config/markdown.php old mode 100644 new mode 100755 diff --git a/config/notification.php b/config/notification.php old mode 100644 new mode 100755 diff --git a/config/onesignal.php b/config/onesignal.php old mode 100644 new mode 100755 diff --git a/config/permission.php b/config/permission.php old mode 100644 new mode 100755 diff --git a/config/queue.php b/config/queue.php old mode 100644 new mode 100755 diff --git a/config/recaptcha.php b/config/recaptcha.php old mode 100644 new mode 100755 diff --git a/config/sentry.php b/config/sentry.php old mode 100644 new mode 100755 diff --git a/config/services.php b/config/services.php old mode 100644 new mode 100755 diff --git a/config/session.php b/config/session.php old mode 100644 new mode 100755 diff --git a/config/slack.php b/config/slack.php old mode 100644 new mode 100755 diff --git a/config/teamwork.php b/config/teamwork.php old mode 100644 new mode 100755 diff --git a/config/view.php b/config/view.php old mode 100644 new mode 100755 diff --git a/crowdin.yml b/crowdin.yml old mode 100644 new mode 100755 diff --git a/database/.gitignore b/database/.gitignore old mode 100644 new mode 100755 diff --git a/database/factories/TeamFileFactory.php b/database/factories/TeamFileFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php old mode 100644 new mode 100755 diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_022245_create_profiles_table.php b/database/migrations/2020_04_29_022245_create_profiles_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_022402_create_applications_table.php b/database/migrations/2020_04_29_022402_create_applications_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_022421_create_votes_table.php b/database/migrations/2020_04_29_022421_create_votes_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_022442_create_appointments_table.php b/database/migrations/2020_04_29_022442_create_appointments_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_022541_create_forms_table.php b/database/migrations/2020_04_29_022541_create_forms_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_022542_create_vacancies_table.php b/database/migrations/2020_04_29_022542_create_vacancies_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_023647_create_staff_profiles_table.php b/database/migrations/2020_04_29_023647_create_staff_profiles_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_030107_create_responses_table.php b/database/migrations/2020_04_29_030107_create_responses_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_04_29_195848_votes_has_application.php b/database/migrations/2020_04_29_195848_votes_has_application.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_05_02_223355_create_cache_table.php b/database/migrations/2020_05_02_223355_create_cache_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_05_07_021604_add_status_to_vacancies.php b/database/migrations/2020_05_07_021604_add_status_to_vacancies.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_05_08_024654_add_slug_to_vacancy.php b/database/migrations/2020_05_08_024654_add_slug_to_vacancy.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_05_08_063141_add_vacancy_i_d_to_responses.php b/database/migrations/2020_05_08_063141_add_vacancy_i_d_to_responses.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_05_14_004542_change_form_structure_length.php b/database/migrations/2020_05_14_004542_change_form_structure_length.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_05_29_234431_create_permission_tables.php b/database/migrations/2020_05_29_234431_create_permission_tables.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_06_08_153602_create_bans_table.php b/database/migrations/2020_06_08_153602_create_bans_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_06_20_210255_create_comments_table.php b/database/migrations/2020_06_20_210255_create_comments_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_06_25_093708_create_jobs_table.php b/database/migrations/2020_06_25_093708_create_jobs_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_07_11_020743_add_detailed_description_to_vacancy.php b/database/migrations/2020_07_11_020743_add_detailed_description_to_vacancy.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_07_17_053247_add_twofa_secret_to_users.php b/database/migrations/2020_07_17_053247_add_twofa_secret_to_users.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_08_30_152900_create_options_table.php b/database/migrations/2020_08_30_152900_create_options_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_09_10_174112_teamwork_setup_tables.php b/database/migrations/2020_09_10_174112_teamwork_setup_tables.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_02_112730_add_team_details.php b/database/migrations/2020_10_02_112730_add_team_details.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_04_124115_vacancy_nullable_team_id.php b/database/migrations/2020_10_04_124115_vacancy_nullable_team_id.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_04_163715_team_has_vacancy.php b/database/migrations/2020_10_04_163715_team_has_vacancy.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_07_095240_add_account_tokens_to_user.php b/database/migrations/2020_10_07_095240_add_account_tokens_to_user.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_07_100540_add_soft_deletes_to_users.php b/database/migrations/2020_10_07_100540_add_soft_deletes_to_users.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_08_203356_add_uuid_to_failed_jobs.php b/database/migrations/2020_10_08_203356_add_uuid_to_failed_jobs.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_10_185952_create_team_files_table.php b/database/migrations/2020_10_10_185952_create_team_files_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_10_10_235319_add_details_to_team_files.php b/database/migrations/2020_10_10_235319_add_details_to_team_files.php old mode 100644 new mode 100755 diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeders/DefaultOptionsSeeder.php b/database/seeders/DefaultOptionsSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeders/NewPermissions.php b/database/seeders/NewPermissions.php old mode 100644 new mode 100755 diff --git a/database/seeders/PermissionSeeder.php b/database/seeders/PermissionSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeders/TeamFileSeeder.php b/database/seeders/TeamFileSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeders/TeamSeeder.php b/database/seeders/TeamSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeders/UserSeeder.php b/database/seeders/UserSeeder.php old mode 100644 new mode 100755 diff --git a/package-lock.json b/package-lock.json old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 index 9f28794..bfaf066 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "lodash": "^4.17.13", "popper.js": "^1.12", "resolve-url-loader": "^2.3.1", - "sass": "^1.20.1", + "sass": "^1.15.2", "sass-loader": "^8.0.0", "vue": "^2.5.17", "vue-template-compiler": "^2.6.10" diff --git a/phpunit.xml b/phpunit.xml old mode 100644 new mode 100755 diff --git a/public/.htaccess b/public/.htaccess old mode 100644 new mode 100755 diff --git a/public/app.css b/public/app.css old mode 100644 new mode 100755 diff --git a/public/css/acc.css b/public/css/acc.css old mode 100644 new mode 100755 diff --git a/public/css/app.css b/public/css/app.css old mode 100644 new mode 100755 diff --git a/public/css/basic.min.css b/public/css/basic.min.css old mode 100644 new mode 100755 diff --git a/public/css/comments.css b/public/css/comments.css old mode 100644 new mode 100755 diff --git a/public/css/directory.css b/public/css/directory.css old mode 100644 new mode 100755 diff --git a/public/css/dropzone.min.css b/public/css/dropzone.min.css old mode 100644 new mode 100755 diff --git a/public/css/fullcalendar.css b/public/css/fullcalendar.css old mode 100644 new mode 100755 diff --git a/public/css/home.css b/public/css/home.css old mode 100644 new mode 100755 diff --git a/public/css/login.css b/public/css/login.css old mode 100644 new mode 100755 diff --git a/public/css/mixed.css b/public/css/mixed.css old mode 100644 new mode 100755 diff --git a/public/css/picker.css b/public/css/picker.css old mode 100644 new mode 100755 diff --git a/public/css/profile.css b/public/css/profile.css old mode 100644 new mode 100755 diff --git a/public/css/viewapplication.css b/public/css/viewapplication.css old mode 100644 new mode 100755 diff --git a/public/favicon.ico b/public/favicon.ico old mode 100644 new mode 100755 diff --git a/public/img/403.svg b/public/img/403.svg old mode 100644 new mode 100755 diff --git a/public/img/applications_all.svg b/public/img/applications_all.svg old mode 100644 new mode 100755 diff --git a/public/img/authbg.jpg b/public/img/authbg.jpg old mode 100644 new mode 100755 diff --git a/public/img/editable.svg b/public/img/editable.svg old mode 100644 new mode 100755 diff --git a/public/img/editor.svg b/public/img/editor.svg old mode 100644 new mode 100755 diff --git a/public/img/file_example_PNG_3MB.png b/public/img/file_example_PNG_3MB.png new file mode 100644 index 0000000..55efaf8 Binary files /dev/null and b/public/img/file_example_PNG_3MB.png differ diff --git a/public/img/files.svg b/public/img/files.svg old mode 100644 new mode 100755 diff --git a/public/img/gravatar.png b/public/img/gravatar.png old mode 100644 new mode 100755 diff --git a/public/img/mojang-logo.png b/public/img/mojang-logo.png old mode 100644 new mode 100755 diff --git a/public/img/new_team.svg b/public/img/new_team.svg old mode 100644 new mode 100755 diff --git a/public/img/placeholders.svg b/public/img/placeholders.svg old mode 100644 new mode 100755 diff --git a/public/img/preview.svg b/public/img/preview.svg old mode 100644 new mode 100755 diff --git a/public/img/team.svg b/public/img/team.svg old mode 100644 new mode 100755 diff --git a/public/img/textfile.png b/public/img/textfile.png old mode 100644 new mode 100755 diff --git a/public/index.php b/public/index.php old mode 100644 new mode 100755 diff --git a/public/js/app.js b/public/js/app.js old mode 100644 new mode 100755 diff --git a/public/js/app.js.LICENSE.txt b/public/js/app.js.LICENSE.txt old mode 100644 new mode 100755 diff --git a/public/js/dashboard.js b/public/js/dashboard.js old mode 100644 new mode 100755 diff --git a/public/js/datepick.js b/public/js/datepick.js old mode 100644 new mode 100755 diff --git a/public/js/formbuilder.js b/public/js/formbuilder.js old mode 100644 new mode 100755 diff --git a/public/js/formeditor.js b/public/js/formeditor.js old mode 100644 new mode 100755 diff --git a/public/js/globaltooltip.js b/public/js/globaltooltip.js old mode 100644 new mode 100755 diff --git a/public/js/plugins/dropzone-amd-module.min.js b/public/js/plugins/dropzone-amd-module.min.js old mode 100644 new mode 100755 diff --git a/public/js/plugins/dropzone.min.js b/public/js/plugins/dropzone.min.js old mode 100644 new mode 100755 diff --git a/public/js/switches.js b/public/js/switches.js old mode 100644 new mode 100755 diff --git a/public/js/team-editor.js b/public/js/team-editor.js old mode 100644 new mode 100755 diff --git a/public/mix-manifest.json b/public/mix-manifest.json old mode 100644 new mode 100755 diff --git a/public/robots.txt b/public/robots.txt old mode 100644 new mode 100755 diff --git a/public/slides/01.png b/public/slides/01.png old mode 100644 new mode 100755 diff --git a/public/slides/02.png b/public/slides/02.png old mode 100644 new mode 100755 diff --git a/public/slides/03.png b/public/slides/03.png old mode 100644 new mode 100755 diff --git a/public/slides/04.png b/public/slides/04.png old mode 100644 new mode 100755 diff --git a/public/slides/05.png b/public/slides/05.png old mode 100644 new mode 100755 diff --git a/public/slides/06.png b/public/slides/06.png old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/css/adminlte.css b/public/vendor/adminlte/dist/css/adminlte.css old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/css/adminlte.css.map b/public/vendor/adminlte/dist/css/adminlte.css.map old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/css/adminlte.min.css b/public/vendor/adminlte/dist/css/adminlte.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/css/adminlte.min.css.map b/public/vendor/adminlte/dist/css/adminlte.min.css.map old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/img/AdminLTELogo.png b/public/vendor/adminlte/dist/img/AdminLTELogo.png old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/js/adminlte.js b/public/vendor/adminlte/dist/js/adminlte.js old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/js/adminlte.js.map b/public/vendor/adminlte/dist/js/adminlte.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/js/adminlte.min.js b/public/vendor/adminlte/dist/js/adminlte.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/adminlte/dist/js/adminlte.min.js.map b/public/vendor/adminlte/dist/js/adminlte.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.bundle.js b/public/vendor/bootstrap/js/bootstrap.bundle.js old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.bundle.js.map b/public/vendor/bootstrap/js/bootstrap.bundle.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.bundle.min.js b/public/vendor/bootstrap/js/bootstrap.bundle.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.bundle.min.js.map b/public/vendor/bootstrap/js/bootstrap.bundle.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.js b/public/vendor/bootstrap/js/bootstrap.js old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.js.map b/public/vendor/bootstrap/js/bootstrap.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.min.js b/public/vendor/bootstrap/js/bootstrap.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/bootstrap/js/bootstrap.min.js.map b/public/vendor/bootstrap/js/bootstrap.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/all.css b/public/vendor/fontawesome-free/css/all.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/all.min.css b/public/vendor/fontawesome-free/css/all.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/brands.css b/public/vendor/fontawesome-free/css/brands.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/brands.min.css b/public/vendor/fontawesome-free/css/brands.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/fontawesome.css b/public/vendor/fontawesome-free/css/fontawesome.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/fontawesome.min.css b/public/vendor/fontawesome-free/css/fontawesome.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/regular.css b/public/vendor/fontawesome-free/css/regular.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/regular.min.css b/public/vendor/fontawesome-free/css/regular.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/solid.css b/public/vendor/fontawesome-free/css/solid.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/solid.min.css b/public/vendor/fontawesome-free/css/solid.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/svg-with-js.css b/public/vendor/fontawesome-free/css/svg-with-js.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/svg-with-js.min.css b/public/vendor/fontawesome-free/css/svg-with-js.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/v4-shims.css b/public/vendor/fontawesome-free/css/v4-shims.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/css/v4-shims.min.css b/public/vendor/fontawesome-free/css/v4-shims.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-brands-400.eot b/public/vendor/fontawesome-free/webfonts/fa-brands-400.eot old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-brands-400.svg b/public/vendor/fontawesome-free/webfonts/fa-brands-400.svg old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-brands-400.ttf b/public/vendor/fontawesome-free/webfonts/fa-brands-400.ttf old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-brands-400.woff b/public/vendor/fontawesome-free/webfonts/fa-brands-400.woff old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-brands-400.woff2 b/public/vendor/fontawesome-free/webfonts/fa-brands-400.woff2 old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-regular-400.eot b/public/vendor/fontawesome-free/webfonts/fa-regular-400.eot old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-regular-400.svg b/public/vendor/fontawesome-free/webfonts/fa-regular-400.svg old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-regular-400.ttf b/public/vendor/fontawesome-free/webfonts/fa-regular-400.ttf old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-regular-400.woff b/public/vendor/fontawesome-free/webfonts/fa-regular-400.woff old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-regular-400.woff2 b/public/vendor/fontawesome-free/webfonts/fa-regular-400.woff2 old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-solid-900.eot b/public/vendor/fontawesome-free/webfonts/fa-solid-900.eot old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-solid-900.svg b/public/vendor/fontawesome-free/webfonts/fa-solid-900.svg old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-solid-900.ttf b/public/vendor/fontawesome-free/webfonts/fa-solid-900.ttf old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-solid-900.woff b/public/vendor/fontawesome-free/webfonts/fa-solid-900.woff old mode 100644 new mode 100755 diff --git a/public/vendor/fontawesome-free/webfonts/fa-solid-900.woff2 b/public/vendor/fontawesome-free/webfonts/fa-solid-900.woff2 old mode 100644 new mode 100755 diff --git a/public/vendor/jquery/jquery.js b/public/vendor/jquery/jquery.js old mode 100644 new mode 100755 diff --git a/public/vendor/jquery/jquery.min.js b/public/vendor/jquery/jquery.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/jquery/jquery.min.map b/public/vendor/jquery/jquery.min.map old mode 100644 new mode 100755 diff --git a/public/vendor/overlayScrollbars/css/OverlayScrollbars.css b/public/vendor/overlayScrollbars/css/OverlayScrollbars.css old mode 100644 new mode 100755 diff --git a/public/vendor/overlayScrollbars/css/OverlayScrollbars.min.css b/public/vendor/overlayScrollbars/css/OverlayScrollbars.min.css old mode 100644 new mode 100755 diff --git a/public/vendor/overlayScrollbars/js/OverlayScrollbars.js b/public/vendor/overlayScrollbars/js/OverlayScrollbars.js old mode 100644 new mode 100755 diff --git a/public/vendor/overlayScrollbars/js/OverlayScrollbars.min.js b/public/vendor/overlayScrollbars/js/OverlayScrollbars.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/overlayScrollbars/js/jquery.overlayScrollbars.js b/public/vendor/overlayScrollbars/js/jquery.overlayScrollbars.js old mode 100644 new mode 100755 diff --git a/public/vendor/overlayScrollbars/js/jquery.overlayScrollbars.min.js b/public/vendor/overlayScrollbars/js/jquery.overlayScrollbars.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper-utils.js b/public/vendor/popper/esm/popper-utils.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper-utils.js.map b/public/vendor/popper/esm/popper-utils.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper-utils.min.js b/public/vendor/popper/esm/popper-utils.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper-utils.min.js.map b/public/vendor/popper/esm/popper-utils.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper.js b/public/vendor/popper/esm/popper.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper.js.map b/public/vendor/popper/esm/popper.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper.min.js b/public/vendor/popper/esm/popper.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/esm/popper.min.js.map b/public/vendor/popper/esm/popper.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper-utils.js b/public/vendor/popper/popper-utils.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper-utils.js.map b/public/vendor/popper/popper-utils.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper-utils.min.js b/public/vendor/popper/popper-utils.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper-utils.min.js.map b/public/vendor/popper/popper-utils.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper.js b/public/vendor/popper/popper.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper.js.map b/public/vendor/popper/popper.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper.min.js b/public/vendor/popper/popper.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/popper.min.js.map b/public/vendor/popper/popper.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper-utils.js b/public/vendor/popper/umd/popper-utils.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper-utils.js.map b/public/vendor/popper/umd/popper-utils.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper-utils.min.js b/public/vendor/popper/umd/popper-utils.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper-utils.min.js.map b/public/vendor/popper/umd/popper-utils.min.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper.js b/public/vendor/popper/umd/popper.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper.js.flow b/public/vendor/popper/umd/popper.js.flow old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper.js.map b/public/vendor/popper/umd/popper.js.map old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper.min.js b/public/vendor/popper/umd/popper.min.js old mode 100644 new mode 100755 diff --git a/public/vendor/popper/umd/popper.min.js.map b/public/vendor/popper/umd/popper.min.js.map old mode 100644 new mode 100755 diff --git a/resources/js/app.js b/resources/js/app.js old mode 100644 new mode 100755 diff --git a/resources/js/application_charts.js b/resources/js/application_charts.js old mode 100644 new mode 100755 diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js old mode 100644 new mode 100755 index 8eaba1b..63605fa --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -37,5 +37,5 @@ window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; // broadcaster: 'pusher', // key: process.env.MIX_PUSHER_APP_KEY, // cluster: process.env.MIX_PUSHER_APP_CLUSTER, -// encrypted: true +// forceTLS: true // }); diff --git a/resources/js/calendar.js b/resources/js/calendar.js old mode 100644 new mode 100755 diff --git a/resources/js/components/ExampleComponent.vue b/resources/js/components/ExampleComponent.vue old mode 100644 new mode 100755 diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/auth.php b/resources/lang/es/auth.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/messages.php b/resources/lang/es/messages.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/pagination.php b/resources/lang/es/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/passwords.php b/resources/lang/es/passwords.php old mode 100644 new mode 100755 diff --git a/resources/lang/es/validation.php b/resources/lang/es/validation.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/auth.php b/resources/lang/fr/auth.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/messages.php b/resources/lang/fr/messages.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/pagination.php b/resources/lang/fr/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/passwords.php b/resources/lang/fr/passwords.php old mode 100644 new mode 100755 diff --git a/resources/lang/fr/validation.php b/resources/lang/fr/validation.php old mode 100644 new mode 100755 diff --git a/resources/lang/pt/auth.php b/resources/lang/pt/auth.php old mode 100644 new mode 100755 diff --git a/resources/lang/pt/messages.php b/resources/lang/pt/messages.php old mode 100644 new mode 100755 diff --git a/resources/lang/pt/pagination.php b/resources/lang/pt/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/pt/passwords.php b/resources/lang/pt/passwords.php old mode 100644 new mode 100755 diff --git a/resources/lang/pt/validation.php b/resources/lang/pt/validation.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/en/adminlte.php b/resources/lang/vendor/adminlte/en/adminlte.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/en/menu.php b/resources/lang/vendor/adminlte/en/menu.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/es/adminlte.php b/resources/lang/vendor/adminlte/es/adminlte.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/es/menu.php b/resources/lang/vendor/adminlte/es/menu.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/fr/adminlte.php b/resources/lang/vendor/adminlte/fr/adminlte.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/fr/menu.php b/resources/lang/vendor/adminlte/fr/menu.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/pt/adminlte.php b/resources/lang/vendor/adminlte/pt/adminlte.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/adminlte/pt/menu.php b/resources/lang/vendor/adminlte/pt/menu.php old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/ar.json b/resources/lang/vendor/log-viewer/ar.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/bg.json b/resources/lang/vendor/log-viewer/bg.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/de.json b/resources/lang/vendor/log-viewer/de.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/es.json b/resources/lang/vendor/log-viewer/es.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/et.json b/resources/lang/vendor/log-viewer/et.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/fa.json b/resources/lang/vendor/log-viewer/fa.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/fr.json b/resources/lang/vendor/log-viewer/fr.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/hu.json b/resources/lang/vendor/log-viewer/hu.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/hy.json b/resources/lang/vendor/log-viewer/hy.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/id.json b/resources/lang/vendor/log-viewer/id.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/it.json b/resources/lang/vendor/log-viewer/it.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/ja.json b/resources/lang/vendor/log-viewer/ja.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/ko.json b/resources/lang/vendor/log-viewer/ko.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/ms.json b/resources/lang/vendor/log-viewer/ms.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/nl.json b/resources/lang/vendor/log-viewer/nl.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/pl.json b/resources/lang/vendor/log-viewer/pl.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/pt-BR.json b/resources/lang/vendor/log-viewer/pt-BR.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/ro.json b/resources/lang/vendor/log-viewer/ro.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/ru.json b/resources/lang/vendor/log-viewer/ru.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/sv.json b/resources/lang/vendor/log-viewer/sv.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/th.json b/resources/lang/vendor/log-viewer/th.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/tr.json b/resources/lang/vendor/log-viewer/tr.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/uk.json b/resources/lang/vendor/log-viewer/uk.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/zh-TW.json b/resources/lang/vendor/log-viewer/zh-TW.json old mode 100644 new mode 100755 diff --git a/resources/lang/vendor/log-viewer/zh.json b/resources/lang/vendor/log-viewer/zh.json old mode 100644 new mode 100755 diff --git a/resources/sass/_variables.scss b/resources/sass/_variables.scss old mode 100644 new mode 100755 diff --git a/resources/sass/app.scss b/resources/sass/app.scss old mode 100644 new mode 100755 diff --git a/resources/views/auth/2fa.blade.php b/resources/views/auth/2fa.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/passwords/confirm.blade.php b/resources/views/auth/passwords/confirm.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/verify.blade.php b/resources/views/auth/verify.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/breadcrumbs/app.blade.php b/resources/views/breadcrumbs/app.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/breadcrumbs/auth/main.blade.php b/resources/views/breadcrumbs/auth/main.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/breadcrumbs/dashboard/footer.blade.php b/resources/views/breadcrumbs/dashboard/footer.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/breadcrumbs/footer.blade.php b/resources/views/breadcrumbs/footer.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/breadcrumbs/header.blade.php b/resources/views/breadcrumbs/header.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/alert.blade.php b/resources/views/components/alert.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/card.blade.php b/resources/views/components/card.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/form.blade.php b/resources/views/components/form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/global-errors.blade.php b/resources/views/components/global-errors.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/modal.blade.php b/resources/views/components/modal.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/no-permission.blade.php b/resources/views/components/no-permission.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/devtools.blade.php b/resources/views/dashboard/administration/devtools.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/editform.blade.php b/resources/views/dashboard/administration/editform.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/editposition.blade.php b/resources/views/dashboard/administration/editposition.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/formbuilder.blade.php b/resources/views/dashboard/administration/formbuilder.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/formpreview.blade.php b/resources/views/dashboard/administration/formpreview.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/forms.blade.php b/resources/views/dashboard/administration/forms.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/players.blade.php b/resources/views/dashboard/administration/players.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/positions.blade.php b/resources/views/dashboard/administration/positions.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/settings.blade.php b/resources/views/dashboard/administration/settings.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/administration/staff-members.blade.php b/resources/views/dashboard/administration/staff-members.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/application-rendering/apply.blade.php b/resources/views/dashboard/application-rendering/apply.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/appmanagement/all.blade.php b/resources/views/dashboard/appmanagement/all.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/appmanagement/interview.blade.php b/resources/views/dashboard/appmanagement/interview.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/appmanagement/outstandingapps.blade.php b/resources/views/dashboard/appmanagement/outstandingapps.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/appmanagement/peerreview.blade.php b/resources/views/dashboard/appmanagement/peerreview.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/dashboard.blade.php b/resources/views/dashboard/dashboard.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/teams/edit-team.blade.php b/resources/views/dashboard/teams/edit-team.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/teams/team-files.blade.php b/resources/views/dashboard/teams/team-files.blade.php old mode 100644 new mode 100755 index d0b19da..9f07e00 --- a/resources/views/dashboard/teams/team-files.blade.php +++ b/resources/views/dashboard/teams/team-files.blade.php @@ -15,10 +15,30 @@ -
+
+ @csrf +
+ + + + + + + +
+ + + + + +
- +
@@ -68,12 +88,16 @@ {{$file->id}} {{ Str::of($file->name)->limit(10, '(..).' . $file->extension) }} {{ Str::of($file->caption)->limit(10) }} - {{ $file->size }} bytes + {{ $file->size }} {{ $file->updated_at }} - - - + + +
+ @csrf + @method('DELETE') + +
diff --git a/resources/views/dashboard/teams/teams.blade.php b/resources/views/dashboard/teams/teams.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/user/applications.blade.php b/resources/views/dashboard/user/applications.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/user/directory.blade.php b/resources/views/dashboard/user/directory.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/user/profile/displayprofile.blade.php b/resources/views/dashboard/user/profile/displayprofile.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/user/profile/useraccount.blade.php b/resources/views/dashboard/user/profile/useraccount.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/user/profile/userprofile.blade.php b/resources/views/dashboard/user/profile/userprofile.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/dashboard/user/viewapp.blade.php b/resources/views/dashboard/user/viewapp.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/mail/deleted-account.blade.php b/resources/views/mail/deleted-account.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/mail/invited-to-team.blade.php b/resources/views/mail/invited-to-team.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-3/_master.blade.php b/resources/views/vendor/log-viewer/bootstrap-3/_master.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-3/dashboard.blade.php b/resources/views/vendor/log-viewer/bootstrap-3/dashboard.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-3/logs.blade.php b/resources/views/vendor/log-viewer/bootstrap-3/logs.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-3/show.blade.php b/resources/views/vendor/log-viewer/bootstrap-3/show.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-4/_master.blade.php b/resources/views/vendor/log-viewer/bootstrap-4/_master.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-4/dashboard.blade.php b/resources/views/vendor/log-viewer/bootstrap-4/dashboard.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-4/logs.blade.php b/resources/views/vendor/log-viewer/bootstrap-4/logs.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/vendor/log-viewer/bootstrap-4/show.blade.php b/resources/views/vendor/log-viewer/bootstrap-4/show.blade.php old mode 100644 new mode 100755 diff --git a/routes/api.php b/routes/api.php old mode 100644 new mode 100755 diff --git a/routes/channels.php b/routes/channels.php old mode 100644 new mode 100755 diff --git a/routes/console.php b/routes/console.php old mode 100644 new mode 100755 diff --git a/routes/web.php b/routes/web.php old mode 100644 new mode 100755 index ab4452f..a6d366b --- a/routes/web.php +++ b/routes/web.php @@ -88,16 +88,21 @@ Route::group(['prefix' => LaravelLocalization::setLocale(), 'middleware' => ['lo ->name('processInvite'); + Route::get('team/files', [TeamFileController::class, 'index']) ->name('showTeamFiles'); Route::post('team/files/upload', [TeamFileController::class, 'store']) ->name('uploadTeamFile'); + Route::delete('team/files/{teamFile}/delete', [TeamFileController::class, 'destroy']) + ->name('deleteTeamFile'); + Route::get('team/files/{teamFile}/download', [TeamFileController::class, 'download']) ->name('downloadTeamFile'); + Route::group(['prefix' => '/applications'], function () { Route::get('/my-applications', [ApplicationController::class, 'showUserApps']) ->name('showUserApps') diff --git a/server.php b/server.php old mode 100644 new mode 100755 diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php old mode 100644 new mode 100755 diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/OptionsTest.php b/tests/Feature/OptionsTest.php old mode 100644 new mode 100755 diff --git a/tests/TestCase.php b/tests/TestCase.php old mode 100644 new mode 100755 diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php old mode 100644 new mode 100755 diff --git a/webpack.mix.js b/webpack.mix.js old mode 100644 new mode 100755 index 76bd6f7..8a923cb --- a/webpack.mix.js +++ b/webpack.mix.js @@ -11,22 +11,5 @@ const mix = require('laravel-mix'); | */ -mix.js(['resources/js/app.js', 'resources/js/application_charts.js', 'resources/js/calendar.js'], 'public/js') - .sass('resources/sass/app.scss', 'public/css'); - -mix.styles([ - 'node_modules/@fullcalendar/core/main.css', - 'node_modules/@fullcalendar/daygrid/main.css', - 'node_modules/@fullcalendar/timeline/main.css', - 'node_modules/@fullcalendar/timegrid/main.css', - 'node_modules/@fullcalendar/list/main.css', - 'node_modules/flatpickr/dist/flatpickr.min.css' -], 'public/css/mixed.css'); - -mix.webpackConfig({ - stats: { - warnings: false - } -}); - -mix.disableNotifications(); +mix.js('resources/js/app.js', 'public/js') + .sass('resources/sass/app.scss', 'public/css');