diff --git a/changelog.md b/changelog.md index ee19cc57..58b0abb2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,7 @@ ## Version 2.0.11 #### Release date: 1. April 2022 - Improved email setup in administration settings and setup wizard +- Ability to set custom s3 compatible service in administration settings and setup wizard ## Version 2.0.0 - 2.0.10 #### Release date: 31. March 2022 diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 77961d8d..177235ec 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -42,7 +42,7 @@ "/chunks/app-settings.js": "/chunks/app-settings.js?id=55da23af2b076069", "/chunks/app-appearance.js": "/chunks/app-appearance.js?id=a694a01f3641712c", "/chunks/app-index.js": "/chunks/app-index.js?id=efdbfa062749ca00", - "/chunks/app-environment.js": "/chunks/app-environment.js?id=7008cbc674035319", + "/chunks/app-environment.js": "/chunks/app-environment.js?id=1f5458233a20b263", "/chunks/app-others.js": "/chunks/app-others.js?id=16dc948aa2205189", "/chunks/app-sign-in-out.js": "/chunks/app-sign-in-out.js?id=1cfffc99465b9a7a", "/chunks/app-adsense.js": "/chunks/app-adsense.js?id=a5dc9e715f8561bd", @@ -72,5 +72,5 @@ "/chunks/invitation.js": "/chunks/invitation.js?id=9ed8456c9d6d5ce1", "/css/tailwind.css": "/css/tailwind.css", "/css/app.css": "/css/app.css", - "/chunks/environment.js": "/chunks/environment.js?id=50e798871582c3fa" + "/chunks/environment.js": "/chunks/environment.js?id=cef6ee74e56cb0d0" } diff --git a/resources/js/views/Admin/AppSettings/AppSettingsTabs/Environment.vue b/resources/js/views/Admin/AppSettings/AppSettingsTabs/Environment.vue index ff4a3d6b..b11f85d0 100644 --- a/resources/js/views/Admin/AppSettings/AppSettingsTabs/Environment.vue +++ b/resources/js/views/Admin/AppSettings/AppSettingsTabs/Environment.vue @@ -164,10 +164,11 @@ - + + + + + + + + + - + @@ -202,7 +221,7 @@ - + + + + + + + + + - + @@ -103,7 +122,7 @@ @@ -562,6 +581,7 @@ export default { backblaze: 'https://s3.' + val + '.backblazeb2.com', oss: 'https://' + val + '.aliyuncs.com', s3: 'https://s3.amazonaws.com', + other: undefined, }[this.storage.driver] }, }, @@ -575,8 +595,12 @@ export default { wasabi: this.wasabiRegions, backblaze: this.backblazeRegions, oss: this.ossRegions, + other: undefined, }[this.storage.driver] }, + endpointUrlDescription() { + return this.storage.driver === 'other' ? this.$t('The endpoint url should start with https://') : '' + } }, data() { return { @@ -827,6 +851,10 @@ export default { label: 'Alibaba Cloud OSS', value: 'oss', }, + { + label: 'Other S3 Compatible Service', + value: 'other', + }, ], storage: { driver: 'local',