]> gitweb.hamatoma.de Git - gadeku.git/commitdiff
V 0.1.2 Korrekturen Verb
authorHamatoma <author@hamatoma.de>
Sat, 6 Apr 2024 06:30:21 +0000 (08:30 +0200)
committerHamatoma <author@hamatoma.de>
Sat, 6 Apr 2024 06:30:21 +0000 (08:30 +0200)
- Korrektur Edieren Verb: Anzeige von "Verwendung"
- Korrektur Edieren Verb: Behandlung "transitiv"

CHANGELOG.md
app/Http/Controllers/VerbController.php
composer.lock

index b47c180bfbe56a9833723a150a3c1148ba0f65cd..7ebd78a7a44d4913710130d035a1139499aa10af 100644 (file)
@@ -1,3 +1,9 @@
+# V 0.1.2 Korrekturen Verb
+
+# Changed
+- Korrektur Edieren Verb: Anzeige von "Verwendung"
+- Korrektur Edieren Verb: Behandlung "transitiv"
+
 # V 0.1.1 Verb improvements
 
 # Added
index 98b6b741463a919a3d2aa976eb8163403f5473d9..17539e8e89f511f64e9a5b1c27daace15fc2ad49 100644 (file)
@@ -13,6 +13,7 @@ use App\Helpers\Pagination;
 use App\Helpers\ViewHelper;
 use Illuminate\Http\Request;
 use App\Helpers\ContextLaraKnife;
+use Illuminate\Routing\ViewController;
 use Illuminate\Support\Facades\DB;
 use Illuminate\Support\Facades\Route;
 use Illuminate\Support\Facades\Validator;
@@ -66,12 +67,14 @@ class VerbController extends Controller
         } else {
             $fields = $request->all();
             if (count($fields) === 0) {
+                ViewHelper::adaptCheckbox($fields, 'transitive');
                 $word = Word::find($verb->word_id);
                 $phrase = DB::select('select id, phrase from phrases where word_id=? and language_scope=1201', [$word->id])[0];
                 $fields = [
                     'noun' => $word->word,
                     'word_id' => $verb->word_id,
                     'phrase_id' => $phrase->id,
+                    'usage' => $phrase->phrase
                 ];
             }
             $context = new ContextLaraKnife($request, $fields, $verb);
@@ -264,6 +267,7 @@ class VerbController extends Controller
         $rc = null;
         if ($request->btnSubmit === 'btnStore') {
             $fields = $request->all();
+            ViewHelper::adaptCheckbox($fields, 'transitive');
             $validator = Validator::make($fields, $this->rules(false));
             if ($validator->fails()) {
                 $errors = $validator->errors();
index 8d2875ed77bc77b134b5c0f9130b8f22b3d050cb..4565f1bd70036846c4bbcaedada62dbb1f76306a 100644 (file)
         },
         {
             "name": "nesbot/carbon",
-            "version": "3.2.3",
+            "version": "3.2.4",
             "source": {
                 "type": "git",
                 "url": "https://github.com/briannesbitt/Carbon.git",
-                "reference": "4d599a6e2351d6b6bf21737accdfe1a4ce3fdbb1"
+                "reference": "82c28278c1c8f7b82dcdab25692237f052ffc8d8"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4d599a6e2351d6b6bf21737accdfe1a4ce3fdbb1",
-                "reference": "4d599a6e2351d6b6bf21737accdfe1a4ce3fdbb1",
+                "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/82c28278c1c8f7b82dcdab25692237f052ffc8d8",
+                "reference": "82c28278c1c8f7b82dcdab25692237f052ffc8d8",
                 "shasum": ""
             },
             "require": {
                     "type": "tidelift"
                 }
             ],
-            "time": "2024-03-30T18:22:00+00:00"
+            "time": "2024-04-05T09:58:10+00:00"
         },
         {
             "name": "nette/schema",
         },
         {
             "name": "phpunit/phpunit",
-            "version": "10.5.16",
+            "version": "10.5.17",
             "source": {
                 "type": "git",
                 "url": "https://github.com/sebastianbergmann/phpunit.git",
-                "reference": "18f8d4a5f52b61fdd9370aaae3167daa0eeb69cd"
+                "reference": "c1f736a473d21957ead7e94fcc029f571895abf5"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/18f8d4a5f52b61fdd9370aaae3167daa0eeb69cd",
-                "reference": "18f8d4a5f52b61fdd9370aaae3167daa0eeb69cd",
+                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c1f736a473d21957ead7e94fcc029f571895abf5",
+                "reference": "c1f736a473d21957ead7e94fcc029f571895abf5",
                 "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.16"
+                "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.17"
             },
             "funding": [
                 {
                     "type": "tidelift"
                 }
             ],
-            "time": "2024-03-28T10:08:10+00:00"
+            "time": "2024-04-05T04:39:01+00:00"
         },
         {
             "name": "sebastian/cli-parser",