diff --git a/changelog.md b/changelog.md index 5ae85063..979888fb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,12 @@ +## Version 2.1.2 +#### Release date: 8. May 2022 +- Fixed issue with chunk uploads (Critical issue affected since 2.1.1) +- Fixed issue with creating plan with unlimited team members + +## Version 2.1.1 +#### Release date: 29. April 2022 +- Fixed issue with reading image upload + ## Version 2.1.0 #### Release date: 25. April 2022 - New remote upload function diff --git a/config/language-translations.php b/config/language-translations.php index 2a22f698..a0f689c5 100644 --- a/config/language-translations.php +++ b/config/language-translations.php @@ -821,7 +821,7 @@ return [ 'allow_homepage' => 'Allow Homepage', 'allow_homepage_note' => 'When this is turned on, your visitors can visit your default homepage.', 'storage_upload' => 'Storage & Upload', - 'allow_recaptcha' => 'Allow ReCaptcha', + 'allow_recaptcha' => 'Allow ReCaptcha v3', 'allow_recaptcha_note' => 'ReCaptcha will be allowed on Registration and Contact Us forms.', 'login_and_registration' => 'Login & Registration', 'account' => 'Account', diff --git a/config/vuefilemanager.php b/config/vuefilemanager.php index ed1f66f8..6132fd45 100644 --- a/config/vuefilemanager.php +++ b/config/vuefilemanager.php @@ -68,5 +68,6 @@ return [ '2_0_14', '2_0_16', '2_1_1', + '2_1_2', ], ]; diff --git a/public/mix-manifest.json b/public/mix-manifest.json index b66224a7..216f5d25 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -24,7 +24,7 @@ "/chunks/plans.js": "/chunks/plans.js?id=76398906ad873fc3", "/chunks/users.js": "/chunks/users.js?id=b6629338e26b8313", "/chunks/user-create.js": "/chunks/user-create.js?id=40254ae98547761e", - "/chunks/plan-create/fixed.js": "/chunks/plan-create/fixed.js?id=18f9d1ab17996507", + "/chunks/plan-create/fixed.js": "/chunks/plan-create/fixed.js?id=549867504d6e4e4e", "/chunks/plan-create/metered.js": "/chunks/plan-create/metered.js?id=40e9f287b5258a40", "/chunks/user.js": "/chunks/user.js?id=cf9a2a0d8c1fa1d9", "/chunks/user-detail.js": "/chunks/user-detail.js?id=ff6c1fc63a372d96", diff --git a/resources/js/views/Admin/Plans/Create/CreateFixedPlan.vue b/resources/js/views/Admin/Plans/Create/CreateFixedPlan.vue index 30dba0cc..1d367915 100644 --- a/resources/js/views/Admin/Plans/Create/CreateFixedPlan.vue +++ b/resources/js/views/Admin/Plans/Create/CreateFixedPlan.vue @@ -134,7 +134,7 @@ v-model="plan.features.max_team_members" :placeholder="$t('add_max_team_members')" type="number" - min="1" + min="-1" max="999999999" :class="{ '!border-rose-600': errors[0] }" class="focus-border-theme input-dark" diff --git a/src/Domain/Files/Actions/StoreFileChunksAction.php b/src/Domain/Files/Actions/StoreFileChunksAction.php index ac1e9cbb..61b4cde1 100644 --- a/src/Domain/Files/Actions/StoreFileChunksAction.php +++ b/src/Domain/Files/Actions/StoreFileChunksAction.php @@ -18,7 +18,7 @@ class StoreFileChunksAction $file = $request->file('file'); // Get chunk name - $name = $file->getClientOriginalName() . '.' . $request->input('extension'); + $name = $file->getClientOriginalName(); // Get chunk file path $path = Storage::disk('local')->path("chunks/$name"); diff --git a/src/Domain/Localization/Actions/UpdateLanguageTranslationsAction.php b/src/Domain/Localization/Actions/UpdateLanguageTranslationsAction.php index bae3d6b0..855e8fd8 100644 --- a/src/Domain/Localization/Actions/UpdateLanguageTranslationsAction.php +++ b/src/Domain/Localization/Actions/UpdateLanguageTranslationsAction.php @@ -1,6 +1,7 @@ where('key', $item[1]) ->update(['value' => $item[0]]) ); + + Artisan::call('cache:clear'); } } diff --git a/src/Support/Upgrading/Controllers/UpgradingVersionsController.php b/src/Support/Upgrading/Controllers/UpgradingVersionsController.php index 536d1e0c..d5097aea 100644 --- a/src/Support/Upgrading/Controllers/UpgradingVersionsController.php +++ b/src/Support/Upgrading/Controllers/UpgradingVersionsController.php @@ -22,6 +22,13 @@ class UpgradingVersionsController ) { } + public function upgrade_to_2_1_2(): void + { + ($this->updateLanguageStrings)([ + 'allow_recaptcha' => 'Allow ReCaptcha v3', + ]); + } + public function upgrade_to_2_1_1(): void { ($this->upgradeDatabase)();