diff --git a/.env.ci b/.env.ci index aa9fbe06..038febe6 100644 --- a/.env.ci +++ b/.env.ci @@ -32,6 +32,4 @@ PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= -SUGGESTION_BOX_ENABLED=false - DISABLE_REGISTRATION=false diff --git a/.env.docker b/.env.docker index 7d6eb028..29ef4416 100644 --- a/.env.docker +++ b/.env.docker @@ -31,5 +31,3 @@ MAIL_ENCRYPTION=null PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= - -SUGGESTION_BOX_ENABLED=false diff --git a/.env.example b/.env.example index 1cce72e7..1b66da45 100644 --- a/.env.example +++ b/.env.example @@ -32,6 +32,4 @@ PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= -SUGGESTION_BOX_ENABLED=false - DISABLE_REGISTRATION=false diff --git a/app/Http/Controllers/IdeaController.php b/app/Http/Controllers/IdeaController.php deleted file mode 100644 index 2e15a7a6..00000000 --- a/app/Http/Controllers/IdeaController.php +++ /dev/null @@ -1,30 +0,0 @@ -validate([ - 'type' => 'required|in:bug,feature_request', - 'body' => 'required' - ]); - - Idea::create([ - 'user_id' => auth()->user()->id, - 'type' => $request->type, - 'body' => $request->body - ]); - - return redirect()->route('ideas.create'); - } -} diff --git a/app/Models/Idea.php b/app/Models/Idea.php deleted file mode 100644 index 8a064fcf..00000000 --- a/app/Models/Idea.php +++ /dev/null @@ -1,10 +0,0 @@ - Auth::check() ? Auth::user()->name : null, 'currency' => $selectedSpace ? $selectedSpace->currency->symbol : '-', 'selectedSpace' => $selectedSpace, - 'suggestionBoxEnabled' => env('SUGGESTION_BOX_ENABLED', false), 'versionNumber' => $versionNumber ]); }); diff --git a/database/migrations/2023_12_26_214729_drop_ideas_table.php b/database/migrations/2023_12_26_214729_drop_ideas_table.php new file mode 100644 index 00000000..4dfeac82 --- /dev/null +++ b/database/migrations/2023_12_26_214729_drop_ideas_table.php @@ -0,0 +1,18 @@ + 'You still need to verify your account—please check your e-mail', 'spaces_explanation' => 'Spaces can be used to separate your finances in Budget. For example—you can have a space for your personal finances and another space for your business\' finances.', - 'got_a_suggestion' => 'Got a suggestion', 'invite' => 'Invite', 'invited_to' => 'You\'ve been invited to', diff --git a/lang/es/general.php b/lang/es/general.php index 70116184..17dad13b 100644 --- a/lang/es/general.php +++ b/lang/es/general.php @@ -29,7 +29,6 @@ 'verify_account' => 'Aún necesitas confirmar tu cuenta—por favor, comprueba tu correo electrónico', 'spaces_explanation' => 'Los espacios pueden usarse para separar tus finanzas en Budget. Por ejemplo—tú puedes tener un espacio para tus gastos personales y otro para tus gastos laborales', - 'got_a_suggestion' => 'Recibir una sugerencia', 'invite' => 'Invitar', 'invited_to' => 'Tú has invitado a', diff --git a/lang/it/general.php b/lang/it/general.php index 0f37f879..24ccd07d 100644 --- a/lang/it/general.php +++ b/lang/it/general.php @@ -29,7 +29,6 @@ 'verify_account' => 'Devi ancora verificare l\'account—controlla la tua e-mail', 'spaces_explanation' => 'Gli spazi possono essere usati per separare le finanze. Per esempio puoi creare uno spazio per le tue finanze personali e uno per la tua attività professionale.', - 'got_a_suggestion' => 'Ho un suggerimento', 'invite' => 'Invito', 'invited_to' => 'Sei stato inviato in', diff --git a/lang/nl/general.php b/lang/nl/general.php index 97ad6656..b08dec65 100644 --- a/lang/nl/general.php +++ b/lang/nl/general.php @@ -29,7 +29,6 @@ 'verify_account' => 'Je moet je account nog verifiëren—check je e-mail', 'spaces_explanation' => 'Spaces kunnen worden gebruikt om je financiën op sorteren in Budget. Bijvoorbeeld—je kan een space hebben voor jou persoonlijk en een andere voor je bedrijf.', - 'got_a_suggestion' => 'Heb je een suggestie', 'invite' => 'Uitnodiging', 'invited_to' => 'Je bent uitgenodigd voor', diff --git a/lang/ru/general.php b/lang/ru/general.php index 84279ea1..3d7d9d38 100644 --- a/lang/ru/general.php +++ b/lang/ru/general.php @@ -29,7 +29,6 @@ 'verify_account' => 'Вам по-прежнему необходимо подтвердить свою учетную запись—проверьте свою электронную почту', 'spaces_explanation' => 'Пространства можно использовать для разделения ваших финансов в бюджете. Например-у вас может быть место для ваших личных финансов и другое место для финансов вашего бизнеса.', - 'got_a_suggestion' => 'Есть предложение?', 'invite' => 'Пригласить', 'invited_to' => 'Вас пригласили в', diff --git a/resources/views/ideas/create.blade.php b/resources/views/ideas/create.blade.php deleted file mode 100644 index a224ea3b..00000000 --- a/resources/views/ideas/create.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@extends('layout') - -@section('body') -