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 diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.md b/README.md 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/Exceptions/Handler.php b/app/Exceptions/Handler.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/VerificationController.php b/app/Http/Controllers/Auth/VerificationController.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/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/QuestionController.php b/app/Http/Controllers/QuestionController.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 index 60b1a59..043cf4d --- a/app/Http/Controllers/ResponseController.php +++ b/app/Http/Controllers/ResponseController.php @@ -124,7 +124,7 @@ class ResponseController extends Controller foreach ($requiredQuestionIds as $requiredQuestionId) { - if (!array_key_exists($requiredQuestionId, $validatedData['answers'])) { + if (!isset($validatedData['answers'][$requiredQuestionId]) || empty($validatedData['answers'][$requiredQuestionId])) { return redirect()->back() ->withErrors(['errors' => 'Please answer all required questions.']) ->withInput(); diff --git a/app/Http/Kernel.php b/app/Http/Kernel.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/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.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/TrustHosts.php b/app/Http/Middleware/TrustHosts.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/ValidateSignature.php b/app/Http/Middleware/ValidateSignature.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/Models/Form.php b/app/Models/Form.php old mode 100644 new mode 100755 diff --git a/app/Models/Question.php b/app/Models/Question.php old mode 100644 new mode 100755 diff --git a/app/Models/Response.php b/app/Models/Response.php old mode 100644 new mode 100755 diff --git a/app/Models/User.php b/app/Models/User.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 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/EventServiceProvider.php b/app/Providers/EventServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php old mode 100644 new mode 100755 diff --git a/bin.png b/bin.png 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/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore 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/app.php b/config/app.php old mode 100644 new mode 100755 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/filesystems.php b/config/filesystems.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/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/queue.php b/config/queue.php old mode 100644 new mode 100755 diff --git a/config/sanctum.php b/config/sanctum.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/view.php b/config/view.php 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/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_reset_tokens_table.php b/database/migrations/2014_10_12_100000_create_password_reset_tokens_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/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2024_07_10_073427_create_forms_table.php b/database/migrations/2024_07_10_073427_create_forms_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2024_07_10_073443_create_questions_table.php b/database/migrations/2024_07_10_073443_create_questions_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2024_07_10_073458_create_responses_table.php b/database/migrations/2024_07_10_073458_create_responses_table.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/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 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/css/app.css b/public/css/app.css old mode 100644 new mode 100755 diff --git a/public/css/index.css b/public/css/index.css old mode 100644 new mode 100755 diff --git a/public/css/preview.css b/public/css/preview.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/images/add.png b/public/images/add.png old mode 100644 new mode 100755 diff --git a/public/images/bin.png b/public/images/bin.png old mode 100644 new mode 100755 diff --git a/public/images/folder.png b/public/images/folder.png old mode 100644 new mode 100755 diff --git a/public/images/forward.png b/public/images/forward.png old mode 100644 new mode 100755 diff --git a/public/images/google-form.png b/public/images/google-form.png old mode 100644 new mode 100755 diff --git a/public/images/menu.png b/public/images/menu.png old mode 100644 new mode 100755 diff --git a/public/images/palette-svgrepo-com.svg b/public/images/palette-svgrepo-com.svg old mode 100644 new mode 100755 diff --git a/public/images/star.svg b/public/images/star.svg old mode 100644 new mode 100755 diff --git a/public/images/undo.png b/public/images/undo.png old mode 100644 new mode 100755 diff --git a/public/images/user.png b/public/images/user.png old mode 100644 new mode 100755 diff --git a/public/images/view.png b/public/images/view.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/form.js b/public/js/form.js old mode 100644 new mode 100755 diff --git a/public/js/script.js b/public/js/script.js 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/resources/css/app.css b/resources/css/app.css 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/bootstrap.js b/resources/js/bootstrap.js 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/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/forms/create.blade.php b/resources/views/forms/create.blade.php old mode 100644 new mode 100755 index 9d82daa..0f557f3 --- a/resources/views/forms/create.blade.php +++ b/resources/views/forms/create.blade.php @@ -62,7 +62,7 @@ - +
diff --git a/resources/views/forms/edit.blade.php b/resources/views/forms/edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/forms/index.blade.php b/resources/views/forms/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/forms/previewForm.blade.php b/resources/views/forms/previewForm.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/forms/show.blade.php b/resources/views/forms/show.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/responses/index.blade.php b/resources/views/responses/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/responses/showForm.blade.php b/resources/views/responses/showForm.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/responses/success.blade.php b/resources/views/responses/success.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/responses/viewResponse.blade.php b/resources/views/responses/viewResponse.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/responses/viewResponses.blade.php b/resources/views/responses/viewResponses.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.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 diff --git a/storage/app/.gitignore b/storage/app/.gitignore old mode 100644 new mode 100755 diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore old mode 100644 new mode 100755 diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore 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/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/vite.config.js b/vite.config.js old mode 100644 new mode 100755 index f2ff788..5936321 --- a/vite.config.js +++ b/vite.config.js @@ -12,10 +12,8 @@ export default defineConfig({ }), ], server: { - host: '0.0.0.0', - port: 3000, - hmr: { - host: '192.168.2.179', - }, - }, + // host: '192.168.29.229', + host: '192.168.2.179', + port: 5173 + }, });