أسئلة عامة عن الإضافات

لدي سؤال عام يتعلق بفهمي لكيفية عمل Discourse مع الإضافات.

السؤال 1: قمت بتثبيت إضافة معينة وأعدت بناء التطبيق. إذا لم قمت بأي تغييرات، هل هناك احتمال أن يتعطل الموقع بسبب تحديث الإضافة أو تغيير في الكود الأساسي لـ Discourse؟
أفهم أن الأمر ‘rebuild’ يقوم بإنشاء لقطة (snapshot) للملفات الأساسية والإضافات، ثم يضع هذه الملفات المترجمة في حاوية Docker. ولا يمكن لأي تغيير أن يعدّل صورة الحاوية هذه. هل فهمي صحيح؟

السؤال 2: ما هي أفضل الممارسات - تثبيت الإضافات من حسابات GitHub الرسمية أم نسخها إلى حسابك الخاص ثم تثبيتها من هناك؟

السؤال 3: كيف يمكنني عرض جميع الجداول في قاعدة البيانات؟
على سبيل المثال، أحتاج إلى تغيير إعدادات إضافة ما في قاعدة البيانات. كيف يمكنني القيام بذلك؟

If after the install everything is working it should stay working until:

  • You update Discourse or/and plugins
  • A browser updates and breaks Discourse

If you fork plugin repositories you bring the burden of keeping up with changes upstream. That includes checking for new security issues that were fixed in the main repo and merging and deploying those.

./launcher enter app
su postgres
psql
4 إعجابات

Thanks for a detailed answer!

One more question.
How can I reset settings of a specific plugin in the database?

Every plugin is different and can have multiple settings. There is no catch all reset to default.

إعجاب واحد (1)

Hm, I’ll explain, the plugin started causing a problem after a activated one option within it.
Without this option it was working. I would like to set off this option. But when I install the plugin the site becomes unavailable. So I thought that it is possibl to change this setting in the database. How is it possible to do?

إعجاب واحد (1)