]> gitweb.hamatoma.de Git - taskx.git/commitdiff
V0.0.1: forgotten password
authorHamatoma <author@hamatoma.de>
Tue, 27 Feb 2024 05:00:32 +0000 (06:00 +0100)
committerHamatoma <author@hamatoma.de>
Tue, 27 Feb 2024 05:00:32 +0000 (06:00 +0100)
- new: EmailHelper.php ForgottenPassword.php
- new: forgotten-answer.blade.php
- new: Helpers/Version.php

.gitignore
Own [new file with mode: 0755]
app/CHANGELOG.md [new file with mode: 0644]
app/Helpers/EmailHelper.php [new symlink]
app/Helpers/Version.php [new file with mode: 0644]
app/Mail/ForgottenPassword.php [new symlink]
app/Models/User.php
composer.lock
public/phpinfo.php [new file with mode: 0644]
resources/views/mails/forgotten-answer.blade.php [new symlink]

index 6057acdd122b7da2d2171b63dde46e51ec16e3ea..ce9d6163fe8defa34fdeb03ffb00f39d0cfc885e 100644 (file)
@@ -20,3 +20,4 @@ yarn-error.log
 .editorconfig
 .lrv.credentials
 project.env
+resources/lang/de_DE.json
diff --git a/Own b/Own
new file mode 100755 (executable)
index 0000000..52bfcec
--- /dev/null
+++ b/Own
@@ -0,0 +1,6 @@
+#! /bin/bash
+if [ -z "$1" ]; then
+  echo "+++ missing user"
+else
+  sudo chown -R $1 bootstrap/cache storage/logs
+fi
diff --git a/app/CHANGELOG.md b/app/CHANGELOG.md
new file mode 100644 (file)
index 0000000..4db00ca
--- /dev/null
@@ -0,0 +1,6 @@
+# Change Log for TaskX
+
+## V0.0.1: forgotten password
+- new: EmailHelper.php ForgottenPassword.php
+- new: forgotten-answer.blade.php
+- new: Helpers/Version.php
diff --git a/app/Helpers/EmailHelper.php b/app/Helpers/EmailHelper.php
new file mode 120000 (symlink)
index 0000000..46aa8d0
--- /dev/null
@@ -0,0 +1 @@
+../../vendor/hamatoma/laraknife/resources/helpers/EmailHelper.php
\ No newline at end of file
diff --git a/app/Helpers/Version.php b/app/Helpers/Version.php
new file mode 100644 (file)
index 0000000..0982dee
--- /dev/null
@@ -0,0 +1,11 @@
+<?php
+namespace App\Helpers;
+
+class Version{
+    private $_version = '0.0.1';
+    private $_from = '2024.02.27';
+    public function version(bool $verbose = true): string{
+        $rc = $verbose ? sprintf('V%s (%s)', Version::$_version, Verson::$_from) : Version::$_version;
+        return $rc;
+    }
+}
\ No newline at end of file
diff --git a/app/Mail/ForgottenPassword.php b/app/Mail/ForgottenPassword.php
new file mode 120000 (symlink)
index 0000000..5f7e3a0
--- /dev/null
@@ -0,0 +1 @@
+../../vendor/hamatoma/laraknife/resources/mail/ForgottenPassword.php
\ No newline at end of file
index 4db9255328bf6e76e50682e65463df5f4df25c12..223a41b0790f8baf21cf01169acc1a4c7508aa28 100644 (file)
@@ -3,10 +3,11 @@
 namespace App\Models;
 
 // use Illuminate\Contracts\Auth\MustVerifyEmail;
+use Laravel\Sanctum\HasApiTokens;
+use Illuminate\Support\Facades\DB;
+use Illuminate\Notifications\Notifiable;
 use Illuminate\Database\Eloquent\Factories\HasFactory;
 use Illuminate\Foundation\Auth\User as Authenticatable;
-use Illuminate\Notifications\Notifiable;
-use Laravel\Sanctum\HasApiTokens;
 
 class User extends Authenticatable
 {
index 360043259eaa61b9c340a91b3b3dc7eb19059331..527d7db9a93eed03c5882efddcfeb9aba31f5ae4 100644 (file)
             "dist": {
                 "type": "path",
                 "url": "../laraknife",
-                "reference": "06eec88068990e3686b65af7d70f328feda34078"
+                "reference": "5e96a68fe2ec5581770b19a85caeb148e495b7e4"
             },
             "require-dev": {
                 "phpunit/phpunit": "11.0.x-dev"
         },
         {
             "name": "laravel/framework",
-            "version": "v10.44.0",
+            "version": "v10.45.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/laravel/framework.git",
-                "reference": "1199dbe361787bbe9648131a79f53921b4148cf6"
+                "reference": "dcf5d1d722b84ad38a5e053289130b6962f830bd"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/laravel/framework/zipball/1199dbe361787bbe9648131a79f53921b4148cf6",
-                "reference": "1199dbe361787bbe9648131a79f53921b4148cf6",
+                "url": "https://api.github.com/repos/laravel/framework/zipball/dcf5d1d722b84ad38a5e053289130b6962f830bd",
+                "reference": "dcf5d1d722b84ad38a5e053289130b6962f830bd",
                 "shasum": ""
             },
             "require": {
                 "issues": "https://github.com/laravel/framework/issues",
                 "source": "https://github.com/laravel/framework"
             },
-            "time": "2024-02-13T16:01:16+00:00"
+            "time": "2024-02-21T14:07:36+00:00"
         },
         {
             "name": "laravel/prompts",
         },
         {
             "name": "nikic/php-parser",
-            "version": "v5.0.0",
+            "version": "v5.0.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/nikic/PHP-Parser.git",
-                "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc"
+                "reference": "2218c2252c874a4624ab2f613d86ac32d227bc69"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc",
-                "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc",
+                "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/2218c2252c874a4624ab2f613d86ac32d227bc69",
+                "reference": "2218c2252c874a4624ab2f613d86ac32d227bc69",
                 "shasum": ""
             },
             "require": {
             ],
             "support": {
                 "issues": "https://github.com/nikic/PHP-Parser/issues",
-                "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0"
+                "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.1"
             },
-            "time": "2024-01-07T17:17:35+00:00"
+            "time": "2024-02-21T19:24:10+00:00"
         },
         {
             "name": "nunomaduro/termwind",
         },
         {
             "name": "laravel/pint",
-            "version": "v1.13.11",
+            "version": "v1.14.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/laravel/pint.git",
-                "reference": "60a163c3e7e3346a1dec96d3e6f02e6465452552"
+                "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/laravel/pint/zipball/60a163c3e7e3346a1dec96d3e6f02e6465452552",
-                "reference": "60a163c3e7e3346a1dec96d3e6f02e6465452552",
+                "url": "https://api.github.com/repos/laravel/pint/zipball/6b127276e3f263f7bb17d5077e9e0269e61b2a0e",
+                "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e",
                 "shasum": ""
             },
             "require": {
                 "issues": "https://github.com/laravel/pint/issues",
                 "source": "https://github.com/laravel/pint"
             },
-            "time": "2024-02-13T17:20:13+00:00"
+            "time": "2024-02-20T17:38:05+00:00"
         },
         {
             "name": "laravel/sail",
-            "version": "v1.27.4",
+            "version": "v1.28.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/laravel/sail.git",
-                "reference": "3047e1a157fad968cc5f6e620d5cbe5c0867fffd"
+                "reference": "a05861ca9b04558b1ec1f36cff521a271a259b6c"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/laravel/sail/zipball/3047e1a157fad968cc5f6e620d5cbe5c0867fffd",
-                "reference": "3047e1a157fad968cc5f6e620d5cbe5c0867fffd",
+                "url": "https://api.github.com/repos/laravel/sail/zipball/a05861ca9b04558b1ec1f36cff521a271a259b6c",
+                "reference": "a05861ca9b04558b1ec1f36cff521a271a259b6c",
                 "shasum": ""
             },
             "require": {
                 "issues": "https://github.com/laravel/sail/issues",
                 "source": "https://github.com/laravel/sail"
             },
-            "time": "2024-02-08T15:24:21+00:00"
+            "time": "2024-02-20T15:11:00+00:00"
         },
         {
             "name": "mockery/mockery",
         },
         {
             "name": "phpunit/phpunit",
-            "version": "10.5.10",
+            "version": "10.5.11",
             "source": {
                 "type": "git",
                 "url": "https://github.com/sebastianbergmann/phpunit.git",
-                "reference": "50b8e314b6d0dd06521dc31d1abffa73f25f850c"
+                "reference": "0d968f6323deb3dbfeba5bfd4929b9415eb7a9a4"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/50b8e314b6d0dd06521dc31d1abffa73f25f850c",
-                "reference": "50b8e314b6d0dd06521dc31d1abffa73f25f850c",
+                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0d968f6323deb3dbfeba5bfd4929b9415eb7a9a4",
+                "reference": "0d968f6323deb3dbfeba5bfd4929b9415eb7a9a4",
                 "shasum": ""
             },
             "require": {
             "support": {
                 "issues": "https://github.com/sebastianbergmann/phpunit/issues",
                 "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
-                "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.10"
+                "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.11"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2024-02-04T09:07:51+00:00"
+            "time": "2024-02-25T14:05:00+00:00"
         },
         {
             "name": "sebastian/cli-parser",
diff --git a/public/phpinfo.php b/public/phpinfo.php
new file mode 100644 (file)
index 0000000..61ace19
--- /dev/null
@@ -0,0 +1,2 @@
+<?php
+phpinfo();
diff --git a/resources/views/mails/forgotten-answer.blade.php b/resources/views/mails/forgotten-answer.blade.php
new file mode 120000 (symlink)
index 0000000..1cca346
--- /dev/null
@@ -0,0 +1 @@
+../../../vendor/hamatoma/laraknife/resources/views/mails/forgotten-answer.blade.php
\ No newline at end of file