Merge commit '89173f17cab6f6447647e5a3d8609f97c09084d1' into v2.x

isekai-main
Misty Release Bot 3 years ago
commit 8d7475be7b

@ -1,3 +1,40 @@
#### v2.3.0 (2022-07-28)
##### Chores
* **deps:**
* update dependency lint-staged to v13 (07ce0c39)
* bump ace-builds from 1.7.1 to 1.8.1 in /install (f397d968)
* bump ioredis from 5.2.0 to 5.2.2 in /install (067a5110)
* have renovate work off of `develop` branch instead (f334e398)
* update changelog for v2.2.5 (6c3ebf3b)
##### New Features
* add client side filter:chat.send, closes #10729 (b2da02d6)
* UI changes for ACP > Manage > Categories (#10782) (820bc994)
* show an informative message when no plugins are found after filtering (6840a742)
* Allow defining active plugins in config (#10767) (23cb67a1)
* allow plugins to toggle whether IPs are shown in the users CSV export (a6af47da)
* fire hook to allow plugins to filter the pids returned in a user profile (c26be43a)
* closes #10719, don't trim children if category is marked section (7e80cc10)
##### Bug Fixes
* **deps:**
* update dependency mongodb to v4.8.1 (8384b7cf)
* update dependency helmet to v5.1.1 (03a173bb)
* bug where fallback to forum search was not working due to client-side error (25046642)
* better looking placeholder text for ACP search (1b9c6819)
* use `user.hidePrivateData();` more consistently across user retrieval endpoints (0529f2fb)
* minor margin tweak for alert in acp header (4faf0cdf)
* cannot turn off all networks (bbc7f2af)
* cannot setting networks for sharing posts (2e088a8e)
##### Refactors
* invert helmet configuration (dcacd815)
#### v2.2.5 (2022-07-21)
##### Chores

@ -97,7 +97,7 @@
"nodebb-plugin-spam-be-gone": "1.0.0",
"nodebb-rewards-essentials": "0.2.1",
"nodebb-theme-lavender": "6.0.0",
"nodebb-theme-persona": "12.0.12",
"nodebb-theme-persona": "12.0.14",
"nodebb-theme-slick": "2.0.2",
"nodebb-theme-vanilla": "12.1.18",
"nodebb-widget-essentials": "6.0.0",
@ -116,7 +116,7 @@
"request-promise-native": "1.0.9",
"rimraf": "3.0.2",
"rss": "1.2.2",
"sanitize-html": "2.7.0",
"sanitize-html": "2.7.1",
"semver": "7.3.7",
"serve-favicon": "2.5.0",
"sharp": "0.30.7",
@ -137,7 +137,7 @@
"uglify-es": "3.3.9",
"validator": "13.7.0",
"visibilityjs": "2.0.2",
"webpack": "5.73.0",
"webpack": "5.74.0",
"webpack-merge": "5.8.0",
"winston": "3.8.1",
"xml": "1.0.1",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press "/" to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Изход",
"view-forum": "Преглед на форума",
"search.placeholder": "Натиснете „/“ за търсене на настройки",
"search.placeholder": "Search settings",
"search.no-results": "Няма резултати…",
"search.search-forum": "Търсене във форума за <strong></strong>",
"search.keep-typing": "Продължете да пишете, за да видите още резултати…",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Odhlásit",
"view-forum": "Zobrazit fórum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Žádné výsledky…",
"search.search-forum": "Prohledat fórum pro <strong></strong>",
"search.keep-typing": "Pište dále pro zobrazení výsledků…",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Abmelden",
"view-forum": "Forum anzeigen",
"search.placeholder": "Drücke &quot;/&quot; um nach Einstellungen zu suchen",
"search.placeholder": "Search settings",
"search.no-results": "Keine Ergebnisse...",
"search.search-forum": "Suche im Forum nach <strong></strong>",
"search.keep-typing": "Gib mehr ein, um die Ergebnisse zu sehen...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Cerrar sesión",
"view-forum": "Ver foro",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Sin resultados...",
"search.search-forum": "Buscar en el foro <strong></strong>",
"search.keep-typing": "Escribe más para ver resultados...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "هیچ نتیجه ای وجود ندارد",
"search.search-forum": "جستجو در انجمن برای ",
"search.keep-typing": "لطفا برای مشاهده نتیجه بیشتر بنویسید",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Déconnexion ",
"view-forum": "Voir le forum",
"search.placeholder": "Appuyez sur &quot;/&quot; pour rechercher dans les paramètres",
"search.placeholder": "Search settings",
"search.no-results": "Aucun résultat…",
"search.search-forum": "Rechercher <strong></strong> dans le forum",
"search.keep-typing": "Continuez de taper pour afficher les résultats…",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "התנתק",
"view-forum": "כניסה לפורום",
"search.placeholder": "הקלד &quot;/&quot; בכדי לחפש הגדרה",
"search.placeholder": "Search settings",
"search.no-results": "אין תוצאות...",
"search.search-forum": "חפש בפורום <strong></strong>",
"search.keep-typing": "המשך להקליד על מנת למצוא תוצאות...",

@ -76,7 +76,7 @@
"logout": "Odjava",
"view-forum": "Pogledaj forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Nema rezultata ...",
"search.search-forum": "Pretraži forum za <strong></strong>",
"search.keep-typing": "Upiši više da vidiš rezultate ...",

@ -76,7 +76,7 @@
"logout": "Kilépés",
"view-forum": "Fórum megtekintése",
"search.placeholder": "Nyomd meg a &quot;/&quot;-t beállítások kereséséhez",
"search.placeholder": "Search settings",
"search.no-results": "Nincs eredmény...",
"search.search-forum": "<strong></strong> keresése a fórumon",
"search.keep-typing": "Gépelj többet az eredményekért...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Esci",
"view-forum": "Vista Forum",
"search.placeholder": "Premi &quot;/&quot; per cercare le impostazioni",
"search.placeholder": "Search settings",
"search.no-results": "Niente risultati...",
"search.search-forum": "Cerca nel forum per <strong></strong>",
"search.keep-typing": "Scrivi altro per vedere risultati...",

@ -205,8 +205,8 @@
"no-connection": "Sembra ci sia un problema con la tua connessione internet",
"socket-reconnect-failed": "Impossibile raggiungere il server al momento. Clicca qui per riprovare o riprova in un secondo momento",
"plugin-not-whitelisted": "Impossibile installare il plug-in &amp; solo i plugin nella whitelist del Gestione Pacchetti di NodeBB possono essere installati tramite ACP",
"plugins-set-in-configuration": "You are not allowed to change plugin state as they are defined at runtime (config.json, environmental variables or terminal arguments), please modify the configuration instead.",
"theme-not-set-in-configuration": "When defining active plugins in configuration, changing themes requires adding the new theme to the list of active plugins before updating it in the ACP",
"plugins-set-in-configuration": "Non è possibile modificare lo stato dei plugin, poiché sono definiti in fase di esecuzione. (config.json, variabili ambientali o argomenti del terminale); modificare invece la configurazione.",
"theme-not-set-in-configuration": "Quando si definiscono i plugin attivi nella configurazione, la modifica dei temi richiede l'aggiunta del nuovo tema all'elenco dei plugin attivi prima di aggiornarlo nell'ACP",
"topic-event-unrecognized": "Evento discussione '%1' non riconosciuto",
"cant-set-child-as-parent": "Impossibile impostare figlio come categoria padre",
"cant-set-self-as-parent": "Impossibile impostare se stessi come categoria padre",

@ -76,7 +76,7 @@
"logout": "ログアウト",
"view-forum": "フォーラムを表示",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "結果がありません...",
"search.search-forum": "フォーラムで<strong></strong>を検索",
"search.keep-typing": "結果を見るにはもっと入力してください...",

@ -76,7 +76,7 @@
"logout": "로그아웃",
"view-forum": "포럼 보기",
"search.placeholder": "&quot;/&quot;를 눌러 설정 검색",
"search.placeholder": "Search settings",
"search.no-results": "검색 결과 없음...",
"search.search-forum": "포럼에서 <strong></strong> 검색",
"search.keep-typing": "검색 결과를 보기 위해 더 입력하세요...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Izlogoties",
"view-forum": "Uz forumu",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Nav rezultātu...",
"search.search-forum": "Forumā meklēt <strong></strong>",
"search.keep-typing": "Rakstīt vairāk, lai redzētu rezultātus...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Wyloguj się",
"view-forum": "Zobacz forum",
"search.placeholder": "Naciśnij &quot;/&quot; aby wyszukać ustawienia",
"search.placeholder": "Search settings",
"search.no-results": "Brak wyników...",
"search.search-forum": "Szukaj w forum <strong></strong>",
"search.keep-typing": "Wpisz więcej, aby zobaczyć wyniki ...",

@ -76,7 +76,7 @@
"logout": "Sair da Conta",
"view-forum": "Ver Fórum",
"search.placeholder": "Pressione \"/\" para pesquisar por configurações",
"search.placeholder": "Search settings",
"search.no-results": "Sem resultados...",
"search.search-forum": "Pesquisar o fórum por <strong></strong>",
"search.keep-typing": "Digite para ver mais resultados...",

@ -76,7 +76,7 @@
"logout": "Terminar sessão",
"view-forum": "Ver Fórum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Sem resultados...",
"search.search-forum": "Procurar no fórum por <strong></strong>",
"search.keep-typing": "Digita mais para veres resultados...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Выйти",
"view-forum": "Перейти на форум",
"search.placeholder": "Введите &quot;/&quot; для поиска настроек",
"search.placeholder": "Search settings",
"search.no-results": "Нет результата...",
"search.search-forum": "Искать <strong></strong> на форуме",
"search.keep-typing": "Наберите ещё что-нибудь, чтобы увидеть результат...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Odhlásiť",
"view-forum": "Zobraziť fórum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Žiadne výsledky...",
"search.search-forum": "Prehľadať fórum pre <strong></strong>",
"search.keep-typing": "Píšte viac pre zobrazenie výsledkov...",

@ -76,7 +76,7 @@
"logout": "Odjavi se",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Ni rezultatov...",
"search.search-forum": "Na forumu poišči <strong></strong>",
"search.keep-typing": "Vnesite več, da vidite rezultate...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Izloguj se",
"view-forum": "Pogledaj Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Nema rezultata...",
"search.search-forum": "Pretraži forum za <strong></strong>",
"search.keep-typing": "Ukucaj više da vidiš rezultate",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": "Log out",
"view-forum": "View Forum",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "No results...",
"search.search-forum": "Search the forum for <strong></strong>",
"search.keep-typing": "Type more to see results...",

@ -76,7 +76,7 @@
"logout": ıkış",
"view-forum": "Forumu Görüntüle",
"search.placeholder": "Ayarları aramak için &quot;/&quot; işaretine tıklayın",
"search.placeholder": "Search settings",
"search.no-results": "Sonuç yok...",
"search.search-forum": "Forumda ara: <strong></strong>",
"search.keep-typing": "Sonuçları görmek için daha fazla yazın...",

@ -76,7 +76,7 @@
"logout": "Вийти",
"view-forum": "Переглянути форум",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "Без результатів...",
"search.search-forum": "Шукати на форумі <strong></strong>",
"search.keep-typing": "Для результатів, надрукуйте ще...",

@ -76,7 +76,7 @@
"logout": "Đăng xuất",
"view-forum": "Xem diễn đàn",
"search.placeholder": "Nhấn &quot;/&quot; để tìm kiếm cài đặt",
"search.placeholder": "Search settings",
"search.no-results": "Ko có kết quả...",
"search.search-forum": "Tìm kiếm diễn đàn cho <strong></strong>",
"search.keep-typing": "Nhập thêm để xem kết quả...",

@ -76,7 +76,7 @@
"logout": "登出",
"view-forum": "查看论坛",
"search.placeholder": "按下&quot;/&quot;以设置搜索",
"search.placeholder": "Search settings",
"search.no-results": "没有可用结果…",
"search.search-forum": "搜索论坛为<strong></strong>",
"search.keep-typing": "输入更多以查看结果...",

@ -76,7 +76,7 @@
"logout": "登出",
"view-forum": "檢視論壇",
"search.placeholder": "Press &quot;/&quot; to search for settings",
"search.placeholder": "Search settings",
"search.no-results": "沒有可用結果…",
"search.search-forum": "搜索論壇為<strong></strong>",
"search.keep-typing": "輸入更多以查看結果...",

@ -478,6 +478,10 @@ define('forum/topic/postTools', [
const selectionChangeFn = utils.debounce(selectionChange, 100);
function handleSelectionTooltip() {
if (!ajaxify.data.privileges['topics:reply']) {
return;
}
hooks.onPage('action:posts.loaded', delayedTooltip);
$(document).off('selectionchange', selectionChangeFn).on('selectionchange', selectionChangeFn);

@ -83,7 +83,7 @@ exports.listen = async function () {
helpers.register();
logger.init(app);
await initializeNodeBB();
winston.info('NodeBB Ready');
winston.info('🪄 NodeBB Ready');
require('./socket.io').server.emit('event:nodebb.ready', {
'cache-buster': meta.config['cache-buster'],
@ -194,7 +194,7 @@ function setupHelmet(app) {
referrerPolicy: { policy: 'strict-origin-when-cross-origin' },
};
if (meta.config['cross-origin-embedder-policy']) {
if (!meta.config['cross-origin-embedder-policy']) {
options.crossOriginEmbedderPolicy = false;
}
@ -258,7 +258,7 @@ async function listen() {
}
port = parseInt(port, 10);
if ((port !== 80 && port !== 443) || nconf.get('trust_proxy') === true) {
winston.info('Enabling \'trust proxy\'');
winston.info('🤝 Enabling \'trust proxy\'');
app.enable('trust proxy');
}
@ -288,8 +288,8 @@ async function listen() {
reject(err);
}
winston.info(`NodeBB is now listening on: ${chalk.yellow(onText)}`);
winston.info(`Canonical URL: ${chalk.yellow(nconf.get('url'))}`);
winston.info(`📡 NodeBB is now listening on: ${chalk.yellow(onText)}`);
winston.info(`🔗 Canonical URL: ${chalk.yellow(nconf.get('url'))}`);
if (oldUmask) {
process.umask(oldUmask);
}

Loading…
Cancel
Save