Xenforo 2.3.0 Release Candidate 5 Released Full  (Unsupported)

Xen-Releases Xenforo 2.3.0 Release Candidate 5 Released Full (Unsupported) 2.3.0 Release Candidate 5

دسترسی دریافت را ندارید
Xenforo 2.3.0 Release Candidate 5 Released Full (Unsupported)



پاکسازی خودکار فایل های قدیمی​

نصب‌های XenForo پس از ارتقاء به XenForo 2.3 تعدادی فایل در سیستم فایل خواهند داشت که دیگر استفاده نمی‌شوند. هر نصب XenForo که برای مدتی وجود داشته باشد، تا حدی با مشکل مشابهی روبرو خواهد شد. این فایل ها به خودی خود نباید مشکلی ایجاد کنند، اما در عین حال، نگه داشتن آنها در اطراف نیز چندان منطقی نیست.

سه روش برای پاکسازی خودکار فایل های قدیمی وجود دارد.

در حین ارتقاء با یک کلیک​

ارتقا با یک کلیک اکنون یک مرحله ویژه برای حذف فایل‌هایی دارد که در نسخه‌ای که از آن ارتقا می‌دهید وجود داشت و دیگر در نسخه در حال نصب وجود ندارد. ما قبلاً می دانیم که در این مرحله به فایل های موجود در سیستم فایل شما دسترسی نوشتن داریم، بنابراین در اکثر موارد نباید مشکلی در حذف این فایل ها وجود داشته باشد.

در طول ارتقاء دستی​

پس از هر ارتقاء، ما همچنین یک کار را برای پاکسازی فایل بر اساس لیستی از فایل های شمارش شده از hashes.jsonفایل در نوبت قرار می دهیم. هر چیزی در فهرست و فهرست شما src/vendorدر src/vendor-patchصورت src/XFامکان hashes.jsonبه طور خودکار حذف خواهد شد. اگر امکان پذیر نباشد، یک خطا در گزارش خطای سرور شما ثبت می کنیم.

با اجرای یک دستور​

اگر دسترسی به نوشتن مشکل است، می توانید وارد پوسته/CLI سرور خود شوید و به سادگی دستور زیر را اجرا کنید:

کدگذاری شده:کپی به کلیپ بورد
php cmd.php xf:file-clean-up XF
تا زمانی که کاربر CLI دسترسی نوشتن به دایرکتوری XenForo شما داشته باشد، فایل های قدیمی حذف خواهند شد.

پاک کردن فایل ها به صورت دستی​

اگر همه چیز شکست خورد، و همچنان می‌خواهید فایل‌های قدیمی را حذف کنید، روش زیر را توصیه می‌کنیم:
  1. انجمن خود را ببندید
  2. محتویات دایرکتوری های زیر را حذف کنید:
    1. src/vendor
    2. src/vendor-patch
    3. src/XF
  3. فایل ها را از نسخه فعلی خود دوباره آپلود کنید

پاک کردن فایل ها برای افزونه های رسمی​

ما به طور خودکار سعی می کنیم پس از هر ارتقاء، فایل ها را برای افزونه های رسمی نیز پاکسازی کنیم. مجدداً، اگر در طول فرآیند پاکسازی با مشکلات نوشتن مواجه شویم، یک گزارش خطا در گزارش خطای سرور شما ثبت می شود. می‌توانید همان فرمان فهرست‌شده در بالا را اجرا کنید (به‌عنوان یک آرگومان XFRM، XFESیا XFMGبه جای XF)، یا مراحل پاک‌سازی دستی بالا را برای افزونه مربوطه در زیر دنبال کنید src/addons.

پاک کردن فایل ها برای افزونه های شخص ثالث​

برنامه‌نویسانی که می‌خواهند پاک‌سازی خودکار فایل‌های خود را راه‌اندازی کنند، می‌توانند این کار را با فراخوانی موارد زیر از داخل کلاس Setup افزونه‌شان در روش postUpgrade انجام دهند:

PHP:کپی به کلیپ بورد
$this->enqueuePostUpgradeCleanUp();

پشتیبانی از محتوای پرطرفدار برای افزونه ها​

با شروع Release Candidate 5، ما پشتیبانی از محتوای پرطرفدار را به مدیر منابع XenForo و گالری رسانه اضافه کردیم.

نام فایل های پیوسته برای پیوست ها​

ما روشی را تغییر داده‌ایم که نام فایل‌ها برای پیوست‌ها در سیستم فایل ذخیره می‌شوند. اکنون هر پیوست یک مقدار file_key تصادفی دریافت می کند که برای تعیین نام فایل در سیستم فایل استفاده می شود. برای پیوست‌های قدیمی‌تر، به‌طور پیش‌فرض مقدار file_hash فعلی خواهد بود. محرک اصلی برای ایجاد این تغییر این است که URL یا مسیر پیوست‌ها یا ریز عکس‌ها دیگر پس از بهینه‌سازی تغییر نمی‌کند (که باعث تغییر مقدار file_hash و در نتیجه نام فایل می‌شود).

و این همه برای این هفته است. جزئیات بیشتر در مورد اشکالات رفع شده در این نسخه را می توان در انجمن اشکالات حل شده یافت .

این نرم افزار پیش از انتشار است. به طور رسمی پشتیبانی نمی شود.
ما اجرای آن را در تولید توصیه نمی کنیم.


لطفاً به یاد داشته باشید که این نرم افزار پیش از انتشار است . این شامل اشکالات شناخته شده و عملکرد ناقص است. ما اجرای نرم افزار پیش از انتشار را در یک محیط تولیدی توصیه نمی کنیم ، و پشتیبانی در حال حاضر محدود به سؤالات اینجا در انجمن های انجمن است.

افزونه ها و سبک های سفارشی ممکن است پس از ارتقاء به 2.3 شکسته شوند. باید افزونه های خود را به طور کامل آزمایش کنید یا به دنبال به روز رسانی باشید. به ویژه در مورد افزونه هایی که ویژگی های مشابه موارد اضافه شده به 2.3 را پوشش می دهند، مراقب باشید. اینها ممکن است با داده های اصلی XenForo در تضاد باشند. اگر تداخل داده‌ها پیدا شد، باید در یک نسخه افزودنی جدید یا با حذف افزونه قبل از ارتقا به 2.3 حل شود .

اگر تصمیم به اجرای نرم افزار پیش از انتشار دارید، این مسئولیت شماست که از تهیه نسخه پشتیبان از اطلاعات خود اطمینان حاصل کنید . توصیه می کنیم این کار را قبل از اقدام به ارتقا انجام دهید. اگر شک دارید، همیشه نسخه‌ای از داده‌های تولید خود را به‌روزرسانی آزمایشی انجام دهید.

همه مشتریان دارای مجوز فعال اکنون می توانند نسخه جدید را از منطقه مشتری دانلود کنند.
Automatic legacy file clean up
XenForo installations after upgrading to XenForo 2.3 will have a number of files sitting in the file system which are no longer used. Any XenForo installation that has been around for a while, will to a lesser extent, have a similar issue. These files on their own shouldn't present any issue, but at the same time, keeping them around doesn't make much sense either.

There are three approaches to cleaning up legacy files automatically.

During one-click upgrade
One-click upgrades now have a special step for removing files that were present in the version you are upgrading from, which are no longer present in the version being installed. We already know we have write access to the files in your file system at this point so there should not be any issue in deleting these files in most cases.

During manual upgrades
After each upgrade, we also enqueue a job to do a file clean up based on a list of files enumerated from the hashes.json file. Anything in your src/vendor, src/vendor-patch and src/XF directory that is not listed in hashes.json will be removed automatically if possible. If it is not possible, we will log an error in your server error log.

By running a command
If write access is an issue, you can log in to your server shell/CLI and simply run the following command:

Code:Copier dans le presse-papier
php cmd.php xf:file-clean-up XF

As long as the CLI user has write access to your XenForo directory, the old files will be removed.

Cleaning up files manually
If all else fails, and you still wish to delete legacy files, we recommend the following approach:
Close your forum
Delete the contents of the following directories:
src/vendor
src/vendor-patch
src/XF
Re-upload the files from your current release
Cleaning up files for official add-ons
We will automatically attempt to clean up files for official add-ons as well after each upgrade. Again, if we run into write issues during the clean up process, an error log will be logged in your server error log. You can run the same command listed above (with either XFRM, XFES, or XFMG instead of XF as an argument), or follow the manual clean up steps above for the relevant add-on under src/addons.

Cleaning up files for third party add-ons
Developers who wish to trigger an automatic clean up of their own files, can do so by calling the following from within their add-on Setup class in the postUpgrade method:

PHP:Copier dans le presse-papier
$this->enqueuePostUpgradeCleanUp();

Trending content support for add-ons
Starting with Release Candidate 5, we have added support for trending content to XenForo Resource Manager and Media Gallery.

Persistent file names for attachments
We have changed the way that file names for attachments are saved on the file system. Each attachment will now get a random file_key value, which is used to determine the file name on the file system. For older attachments this will default to the current file_hash value. The primary driver for making this change is so that the URL or path to specific attachments or thumbnails will no longer change after being optimised (which would change the file_hash value, and therefore the file name).

And that's all for this week. More specific details regarding bugs fixed in this release can be found in the resolved bugs forum.

This is pre-release software. It is not officially supported.
We do not recommend running it in production.

Please remember that this is pre-release software. It contains known bugs and incomplete functionality. We do not recommend running pre-release software in a production environment, and support is limited at this time to questions here on the community forums.

Add-ons and custom styles may be broken after upgrading to 2.3. You must test your add-ons thoroughly or look for updates. Be especially careful with add-ons that cover similar features to ones that are added to 2.3; these may conflict with the core XenForo data. If data conflicts are found, they will need to be resolved in a new add-on release or by removing the add-on before upgrading to 2.3.

If you choose to run pre-release software, it is your responsibility to ensure that you make a backup of your data. We recommend you do this before attempting an upgrade. If in doubt, always do a test upgrade on a copy of your production data.

All customers with active licenses may now download the new version from the customer area.​
  • Like
واکنش‌ها[ی پسندها]: Hmsaco84
نویسنده
practicalsoft
دریافت‌ها
1
بازدیدها
40
اولین انتشار
آخرین بروزرسانی

رتبه‌بندی‌ها

0.00 ستاره 0 رتبه‌بندی

فایل‌های بیشتری از practicalsoft

فایلهای مشابه

xenForo 2.3.2 Release Full v2.3.2 practicalsoft
دریافت‌ها
0
به‌روزرسانی شده
بالا