Skip to content

Commit

Permalink
Removing mail because not being able to connect to smtp, adding migra… (
Browse files Browse the repository at this point in the history
#94)

* Removing mail because not being able to connect to smtp, adding migration to make user non unique, adding frontend for entry validation of songs request

* fixing sytle
  • Loading branch information
Strogator authored Dec 16, 2023
1 parent 128ef85 commit 1e7425f
Show file tree
Hide file tree
Showing 17 changed files with 59 additions and 393 deletions.
9 changes: 0 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
Expand Down
41 changes: 0 additions & 41 deletions app/Http/Controllers/Auth/ConfirmablePasswordController.php

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions app/Http/Controllers/Auth/EmailVerificationPromptController.php

This file was deleted.

61 changes: 0 additions & 61 deletions app/Http/Controllers/Auth/NewPasswordController.php

This file was deleted.

44 changes: 0 additions & 44 deletions app/Http/Controllers/Auth/PasswordResetLinkController.php

This file was deleted.

28 changes: 0 additions & 28 deletions app/Http/Controllers/Auth/VerifyEmailController.php

This file was deleted.

2 changes: 2 additions & 0 deletions app/Http/Controllers/RequestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public function create()
*/
public function store(Request $request)
{
//@ Maelys
//$songRequest = SongRequest::create($request->validated()->only(['song_name', 'artist_name']));
$songRequest = SongRequest::create($request->only(['song_name', 'artist_name']));

return view('request.confirmation')->with(['title' => $songRequest->song_name, 'author' => $songRequest->artist_name]);
Expand Down
23 changes: 0 additions & 23 deletions app/Http/Requests/ProfileUpdateRequest.php

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"php": "^8.1",
"doctrine/dbal": "^3.7",
"guzzlehttp/guzzle": "^7.2",
"inertiajs/inertia-laravel": "^0.6.8",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class() extends Migration {
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->dropUnique('users_name_unique');
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
$table->unique('name');
});
}
};
30 changes: 0 additions & 30 deletions resources/views/auth/confirm-password.blade.php

This file was deleted.

9 changes: 5 additions & 4 deletions resources/views/auth/forgot-password.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

<div class="neon-effect-magenta p-6 rounded-xl shadow-md max-w-lg mx-auto my-auto">
<p class="instruction">
{{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }}

{{ __('Mot de passe oublié? Pas de problème, notre équipe de dev fait tous son possible pour mettre en place un système de mail fonctionnel.') }}
</p>

<!-- Session Status -->
Expand All @@ -21,9 +22,9 @@
</div>

<div class="flex items-center justify-end mt-4">
<x-primary-button>
{{ __('Email Password Reset Link') }}
</x-primary-button>
<p>
{{ __('A venir prochainement') }}
</p>
</div>
</form>
</div>
Expand Down
Loading

0 comments on commit 1e7425f

Please sign in to comment.