Compare commits

...

16 Commits

Author SHA1 Message Date
Julian Lam
24c14df4b9 feat: add additional logic that checks whether a cid follows the activity actor, and asserts note into that category if so 2025-03-06 10:45:30 -05:00
Julian Lam
4324857836 fix: hide disable and purge buttons from category-federation.tpl 2025-03-06 10:23:25 -05:00
Julian Lam
1f6871e57e fix: show 'copy settings from' button in acp category sidebar only on category.tpl 2025-03-06 10:22:30 -05:00
Julian Lam
dc2dcaf182 feat: move category sidebar to ACP partial, add sidebar to category-federation 2025-03-06 10:22:03 -05:00
Misty Release Bot
7e9da14e04 Latest translations and fallbacks 2025-03-06 09:19:54 +00:00
Misty Release Bot
efdb416c8b chore(i18n): fallback strings for new resources: nodebb.admin-manage-categories 2025-03-05 22:20:17 +00:00
Barış Soner Uşaklı
2c0fdfeea1 Merge branch 'master' into develop 2025-03-05 17:19:52 -05:00
Barış Soner Uşaklı
bb13ea3013 fix: closes #13231, add some text-truncate, match width 2025-03-05 17:19:47 -05:00
Julian Lam
128dd2d3a1 docs: update openapi schema from 6c26d9f4a3 2025-03-05 12:42:39 -05:00
Barış Soner Uşaklı
48f0f47a2e fix: #13228, use timestamp from mainpost/lastpost
when forking a topic
2025-03-05 11:30:46 -05:00
Julian Lam
4053573981 Merge branch 'normalize-notes-input' into develop 2025-03-04 14:17:31 -05:00
Misty Release Bot
3168d1ae8e Latest translations and fallbacks 2025-03-04 09:19:39 +00:00
Barış Soner Uşaklı
530756c124 Merge branch 'master' into develop 2025-03-03 18:05:33 -05:00
renovate[bot]
a58af228de fix(deps): update dependency mongodb to v6.14.1 (#13225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 18:04:27 -05:00
Barış Soner Uşaklı
34414f168a chore: up themes 2025-03-03 17:55:44 -05:00
Misty Release Bot
8314d8ba91 chore(i18n): fallback strings for new resources: nodebb.category 2025-03-03 20:03:52 +00:00
102 changed files with 258 additions and 137 deletions

View File

@@ -93,7 +93,7 @@
"lru-cache": "10.4.3",
"mime": "3.0.0",
"mkdirp": "3.0.1",
"mongodb": "6.14.0",
"mongodb": "6.14.1",
"morgan": "1.10.0",
"mousetrap": "1.6.5",
"multiparty": "4.2.3",
@@ -108,10 +108,10 @@
"nodebb-plugin-spam-be-gone": "2.3.1",
"nodebb-plugin-web-push": "0.7.3",
"nodebb-rewards-essentials": "1.0.1",
"nodebb-theme-harmony": "2.0.38",
"nodebb-theme-lavender": "7.1.17",
"nodebb-theme-harmony": "2.0.39",
"nodebb-theme-lavender": "7.1.18",
"nodebb-theme-peace": "2.2.39",
"nodebb-theme-persona": "14.0.15",
"nodebb-theme-persona": "14.0.16",
"nodebb-widget-essentials": "7.0.35",
"nodemailer": "6.10.0",
"nprogress": "0.2.0",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "قسم فرعي",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "موضوع جديد",
"guest-login-post": "سجل الدخول للمشاركة",
"no-topics": "<strong>لا توجد مواضيع في هذه القسم</strong>لم لا تحاول إنشاء موضوع؟<br />",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Идентификатор",
"federation.followers-id": "Ид.",
"federation.followers-none": "Няма последователи.",
"federation.followers-autofill": "Автоматично попълване",
"alert.created": "Създадена",
"alert.create-success": "Категорията е създадена успешно!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Подкатегории",
"uncategorized": "Без категория",
"uncategorized.description": "Теми, които не пасват на никоя конкретна категория",
"handle.description": "Тази категория може да бъде последвана от отворената социална мрежа от чрез идентификатора %1",
"new-topic-button": "Нова тема",
"guest-login-post": "Впишете се, за да можете да публикувате",
"no-topics": "<strong>Все още няма теми в тази категория.</strong><br />Защо не създадете някоя?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "উপবিভাগ",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "নতুন টপিক",
"guest-login-post": "উত্তর দিতে লগিন করুন",
"no-topics": "<strong>এই বিভাগে কোন আলোচনা নেই! </strong><br /> আপনি চাইলে নতুন আলোচনা শুরু করতে পারেন।",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Vytvořeno",
"alert.create-success": "Kategorie byla úspěšně vytvořena.",

View File

@@ -3,6 +3,7 @@
"subcategories": "Podkategorie",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nové téma",
"guest-login-post": "Přihlásit se pro přispívání",
"no-topics": "<strong>V této kategorii zatím nejsou žádné příspěvky.</strong><br />Můžeš být první.",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Underkategorier",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nyt emne",
"guest-login-post": "Log ind",
"no-topics": "<strong>Der er ikke nogen nye emner i denne kategori.</strong><br /> Hvorfor prøver du ikke at lave et?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Erstellt",
"alert.create-success": "Kategorie erfolgreich erstellt!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Unterkategorien",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Neues Thema",
"guest-login-post": "Melde dich an, um einen Beitrag zu erstellen",
"no-topics": "<strong>Es gibt noch keine Themen in dieser Kategorie.</strong><br />Warum beginnst du nicht eins?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Υποκατηγορίες",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Νέο Θέμα",
"guest-login-post": "Συνδέσου για να δημοσιεύσεις",
"no-topics": "<strong>Δεν υπάρχουν θέματα σε αυτή την κατηγορία.</strong><br />Γιατί δεν δοκιμάζεις να δημοσιεύσεις ένα εσύ;",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategories",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "New Topic",
"guest-login-post": "Log in to post",
"no-topics": "<strong>There are no topics in this category.</strong><br />Why don't you try posting one?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategories",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "New Topic",
"guest-login-post": "Log in to post",
"no-topics": "<strong>Thar be no topics in 'tis category.</strong><br />Why don't ye give a go' postin' one?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Creada",
"alert.create-success": "¡Categoría creada con éxito!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategorías",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nuevo tema",
"guest-login-post": "Accede para escribir",
"no-topics": "<strong>No hay temas en esta categoría.</strong><br />¿Por qué no te animas y publicas uno?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Alamkategooriad",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Uus teema",
"guest-login-post": "Postitamiseks logi sisse",
"no-topics": "<strong>Kahjuks ei leidu siin kategoorias ühtegi teemat.</strong><br />Soovid postitada?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "زیر دسته‌بندی‌",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "تاپیک جدید",
"guest-login-post": "برای ارسال پست وارد شوید",
"no-topics": "<strong>هیچ تاپیکی در این دسته‌بندی نیست.</strong><br />چرا شما یکی نمی‌فرستید؟",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Luotu",
"alert.create-success": "Kategoria luotiin!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Alikategoria",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Uusi aihe",
"guest-login-post": "Kirjaudu sisään julkastaksesi",
"no-topics": "<strong>Kategoriassa ei ole aiheita.</strong><br />Jospa aloittaisit sellaisen?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Créée",
"alert.create-success": "Catégorie créée avec succès !",

View File

@@ -3,6 +3,7 @@
"subcategories": "Sous-catégories",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nouveau sujet",
"guest-login-post": "Se connecter pour poster",
"no-topics": "<strong>Il n'y a aucun sujet dans cette catégorie.</strong><br />Pourquoi ne pas en créer un ?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategoría",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Novo tema",
"guest-login-post": "Inicia sesión para poder escribir mensaxes",
"no-topics": "<strong>Non hai temas nesta categoría.</strong><br />Por que non abres un?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "קישור",
"federation.followers-id": "ID",
"federation.followers-none": "אין עוקבים.",
"federation.followers-autofill": "Autofill",
"alert.created": "נוצר",
"alert.create-success": "קטגוריה נוצרה בהצלחה!",

View File

@@ -3,6 +3,7 @@
"subcategories": "קטגוריות משנה",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "נושא חדש",
"guest-login-post": "התחברו כדי לפרסם",
"no-topics": "<strong>קטגוריה זו ריקה מנושאים.</strong><br />למה שלא תנסו להוסיף נושא חדש?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Kreirano",
"alert.create-success": "Kategorija uspješno kreirana!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Podkategorije",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nova Tema",
"guest-login-post": "Prijavi se za objavu",
"no-topics": "<strong>Nema tema u ovoj kategoriji. </strong><br />Zašto ne probate napisati novu?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Létrehozva",
"alert.create-success": "Kategória sikeresen létrehozva!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Alkategóriák",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Új témakör",
"guest-login-post": "Lépj be a hozzászóláshoz",
"no-topics": "<strong>Nincs témakör a kategóriában.</strong>Miért nem próbálsz létrehozni egyet?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Ստեղծվել է ",
"alert.create-success": "Կատեգորիան հաջողությամբ ստեղծվեց:",

View File

@@ -3,6 +3,7 @@
"subcategories": "Ենթակատեգորիաներ",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Նոր թեմա",
"guest-login-post": "Մուտք գործեք՝ գրառում կատարելու համար",
"no-topics": "<strong>Այս բաժնում ոչ մի թեմա չկա։</strong><br />Գուցե հենց Դո՞ւք ստեղծեք մեկը։",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subkategori",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Topik Baru",
"guest-login-post": "Masuk untuk memposting",
"no-topics": "<strong>Tidak ada topik dikategori ini</strong><br/> Mengapa anda tidak mencoba membuat yang baru?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Creato",
"alert.create-success": "Categoria creata con successo!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Sottocategorie",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nuova Discussione",
"guest-login-post": "Accedi per postare",
"no-topics": "<strong>Non ci sono discussioni in questa categoria.</strong><br />Perché non ne posti una?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "作成されました",
"alert.create-success": "カテゴリが正常に作成されました!",

View File

@@ -3,6 +3,7 @@
"subcategories": "サブカテゴリ",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "新規スレッド",
"guest-login-post": "投稿するにはログインしてください",
"no-topics": "<strong>まだスレッドはありません</strong><br />最初のスレッドを書いてみませんか?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "생성됨",
"alert.create-success": "카테고리를 성공적으로 생성했습니다!",

View File

@@ -3,6 +3,7 @@
"subcategories": "하위 카테고리",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "새 토픽",
"guest-login-post": "게시물을 작성하려면 로그인하세요.",
"no-topics": "<strong>이 카테고리에는 토픽이 없습니다.</strong><br />한 가지 올려보는 건 어떨까요?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subkategorijos",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nauja tema",
"guest-login-post": "Prisijungti įrašų paskelbimui",
"no-topics": "<strong>Šioje kategorijoje temų nėra.</strong><br/>Kodėl gi jums nesukūrus naujos?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Izveidotās",
"alert.create-success": "Kategorija veiksmīgi izveidota",

View File

@@ -3,6 +3,7 @@
"subcategories": "Apakškategorijas",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Izveidot jaunu tematu",
"guest-login-post": "Ielogojies lai rakstītu",
"no-topics": "<strong>Šinī kategorijā nav rakstu.</strong><br />Vēlies izveidot kādu rakstu?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subkategori",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Topik Baru",
"guest-login-post": "Log masuk untuk kirim",
"no-topics": "<strong>Tiada topik dalam kategori ini.</strong><br />Cuba hantar topik yang baru?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "Ingen følgere",
"federation.followers-autofill": "Autofill",
"alert.created": "Opprettet",
"alert.create-success": "Kategori opprettet!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Underkategorier",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nytt emne",
"guest-login-post": "Logg inn for å publisere innlegg",
"no-topics": "<strong>Denne kategorien er foreløpig tom.</strong><br />Har du noe å dele? Opprett et innlegg her!",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategorieën",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nieuw onderwerp",
"guest-login-post": "Log in om een reactie te plaatsen",
"no-topics": "<strong>Er zijn geen onderwerpen in deze categorie.</strong><br />Waarom maak je er niet een aan?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Sti",
"federation.followers-id": "ID",
"federation.followers-none": "Ingen følgjarar.",
"federation.followers-autofill": "Autofill",
"alert.created": "Oppretta",
"alert.create-success": "Kategori oppretta med suksess",

View File

@@ -3,6 +3,7 @@
"subcategories": "Underkategoriar",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nytt emne",
"guest-login-post": "Logg inn for å legge inn innlegg",
"no-topics": "<strong>Denne kategorien er foreløpig tom.</strong><br />Har du noko å dele? Opprett eit innlegg her!",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Przydział",
"federation.followers-id": "ID",
"federation.followers-none": "Brak śledzących.",
"federation.followers-autofill": "Autouzupełnianie",
"alert.created": "Utworzony",
"alert.create-success": "Kategoria pomyślnie dodana!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Podkategorie",
"uncategorized": "Nieokreślone",
"uncategorized.description": "Wątki, które nie do końca pasują do istniejących kategorii",
"handle.description": "Tę kategorię można śledzić za pośrednictwem %1",
"new-topic-button": "Nowy temat",
"guest-login-post": "Zaloguj się, aby napisać post",
"no-topics": "<strong>W tej kategorii nie ma jeszcze żadnych tematów.</strong><br />Może pora na napisanie pierwszego?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Criado",
"alert.create-success": "Categoria criada com sucesso!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategorias",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Novo Tópico",
"guest-login-post": "Entre para postar",
"no-topics": "<strong>Não há tópicos nesta categoria.</strong><br />Por que você não tenta postar um?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Criada",
"alert.create-success": "Categoria criada com sucesso!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategorias",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Novo Tópico",
"guest-login-post": "Inicia sessão para publicar algo",
"no-topics": "<strong>Não existe nenhum tópico nesta categoria.</strong><br />Que tal seres o primeiro a publicar aqui?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategorii",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Subiect Nou",
"guest-login-post": "Conecteaza-te pentru a posta",
"no-topics": "<strong>Nu există nici un subiect de discuție în această categorie.</strong><br />De ce nu încerci să postezi tu unul?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Создано",
"alert.create-success": "Категория успешно создана!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Подкатегории",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Создать тему",
"guest-login-post": "Авторизуйтесь, чтобы написать сообщение",
"no-topics": "<strong>В этой категории еще нет тем.</strong><br />Почему бы вам не создать первую?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Icyiciro gito",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Ikiganiro Gishya",
"guest-login-post": "Injiramo wandike",
"no-topics": "<strong>Nta biganiro byo muri iki cyiciro bihari</strong><br />Watangije kimwe hano se?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Subcategories",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Arresonada Noa",
"guest-login-post": "Log in to post",
"no-topics": "<strong>Non bi sunt arresonadas in custa creze.</strong><br />Pro ite non nde pones una?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Vytvorené",
"alert.create-success": "Kategória bola úspešne vytvorená.",

View File

@@ -3,6 +3,7 @@
"subcategories": "Podkategórie",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nová téma",
"guest-login-post": "Prihlásiť sa k pridávaniu príspevkov",
"no-topics": "<strong>V tejto kategórií zatiaľ nie sú žiadne témy.</strong><br />Môžete byť prvý!",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Ustvarjeno",
"alert.create-success": "Kategorija je uspešno ustvarjena!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Podkategorije",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nova tema",
"guest-login-post": "Prijava",
"no-topics": "<strong>V tej kategoriji ni tem.</strong>",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Nënkategoritë",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Temë e re",
"guest-login-post": "Hyr për të postuar",
"no-topics": "<strong>Nuk ka tema në këtë kategori.</strong><br />Pse nuk provon të postosh diçka?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Поткатегорије",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Нова тема",
"guest-login-post": "Пријавите се да бисте послали поруку",
"no-topics": "<strong>Нема тема у овој категорији.</strong><br />Зашто не бисте поставили једну?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Underkategori",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Nytt ämne",
"guest-login-post": "Logga in för att posta",
"no-topics": "<strong>Det finns inga ämnen i denna kategori.</strong><br />Varför skapar inte du ett ämne?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Created",
"alert.create-success": "Category successfully created!",

View File

@@ -3,6 +3,7 @@
"subcategories": "หมวดหมู่ย่อย",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "ตั้งกระทู้",
"guest-login-post": "เข้าสู่ระบบเพื่อโพสต์",
"no-topics": "<strong>ยังไม่มีกระทู้ในหมวดนี้</strong><br />ลองโพสต์กระทู้แรกดูมั้ย?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Yaratıldı",
"alert.create-success": "Kategori başarıyla yaratıldı!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Alt kategoriler",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Yeni Başlık",
"guest-login-post": "Giriş Yap",
"no-topics": "<strong> Bu kategoride hiç konu yok. </strong> <br /> Yeni bir konu oluşturmak istemez misiniz?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "Створена",
"alert.create-success": "Категорія успішно створена!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Підкатегорія",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Новий запис",
"guest-login-post": "Увійдіть, щоб постити",
"no-topics": "<strong> У цій категорії немає жодної теми.</strong><br />Чому б вам не створити першу?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Xử lý",
"federation.followers-id": "ID",
"federation.followers-none": "Không có người theo dõi.",
"federation.followers-autofill": "Autofill",
"alert.created": "Đã tạo",
"alert.create-success": "Đã tạo chuyên mục thành công!",

View File

@@ -3,6 +3,7 @@
"subcategories": "Danh mục phụ",
"uncategorized": "Chưa có danh mục",
"uncategorized.description": "Các chủ đề không phù hợp với bất kỳ danh mục hiện có nào",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "Chủ Đề Mới",
"guest-login-post": "Đăng nhập để đăng bài",
"no-topics": "<strong>Không có chủ đề nào trong danh mục này.</strong><br />Sao bạn không thử đăng?",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "句柄",
"federation.followers-id": "ID",
"federation.followers-none": "无关注者",
"federation.followers-autofill": "Autofill",
"alert.created": "创建",
"alert.create-success": "版块创建成功!",

View File

@@ -3,6 +3,7 @@
"subcategories": "子版块",
"uncategorized": "未分类的",
"uncategorized.description": "不完全符合任何现有类别的主题",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "发表主题",
"guest-login-post": "登录以发布",
"no-topics": "<strong>此版块还没有任何内容。</strong><br />赶紧来发帖吧!",

View File

@@ -94,6 +94,7 @@
"federation.followers-handle": "Handle",
"federation.followers-id": "ID",
"federation.followers-none": "No followers.",
"federation.followers-autofill": "Autofill",
"alert.created": "建立",
"alert.create-success": "版面建立成功!",

View File

@@ -3,6 +3,7 @@
"subcategories": "子版面",
"uncategorized": "Uncategorized",
"uncategorized.description": "Topics that do not strictly fit in with any existing categories",
"handle.description": "This category can be followed from the open social web via the handle %1",
"new-topic-button": "發表主題",
"guest-login-post": "登入以發表",
"no-topics": "<strong>此版面還沒有任何內容。</strong><br />趕緊來貼文吧!",

View File

@@ -116,6 +116,11 @@ get:
type: string
sortOptionLabel:
type: string
handleFull:
type: string
description: |
The full webfinger addressable handle for the category.
This property is only present if the category privileges allow it to be accessed by the "fediverse" pseudo-user.
- $ref: ../../components/schemas/Pagination.yaml#/Pagination
- $ref: ../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
- $ref: ../../components/schemas/CommonProps.yaml#/CommonProps

View File

@@ -33,7 +33,7 @@ function reject(type, object, target, senderType = 'uid', id = 0) {
}
inbox.create = async (req) => {
const { object } = req.body;
const { object, actor } = req.body;
// Alternative logic for non-public objects
const isPublic = [...(object.to || []), ...(object.cc || [])].includes(activitypub._constants.publicAddress);
@@ -41,7 +41,13 @@ inbox.create = async (req) => {
return await activitypub.notes.assertPrivate(object);
}
const asserted = await activitypub.notes.assert(0, object);
const { cids } = await activitypub.actors.getLocalFollowers(actor);
let cid = null;
if (cids.size > 0) {
cid = Array.from(cids)[0];
}
const asserted = await activitypub.notes.assert(0, object, { cid });
if (asserted) {
activitypub.feps.announce(object.id, req.body);
api.activitypub.add(req, { pid: object.id });
@@ -111,7 +117,13 @@ inbox.update = async (req) => {
return await activitypub.notes.assertPrivate(object);
}
const asserted = await activitypub.notes.assert(0, object.id);
const { cids } = await activitypub.actors.getLocalFollowers(actor);
let cid = null;
if (cids.size > 0) {
cid = Array.from(cids)[0];
}
const asserted = await activitypub.notes.assert(0, object.id, { cid });
if (asserted) {
activitypub.feps.announce(object.id, req.body);
}
@@ -291,7 +303,7 @@ inbox.announce = async (req) => {
return;
}
const assertion = await activitypub.notes.assert(0, pid, { cid, skipChecks: true }); // checks skipped; done above.
const assertion = await activitypub.notes.assert(0, pid, { cid });
if (!assertion) {
return;
}

View File

@@ -39,25 +39,29 @@ module.exports = function (Topics) {
cid = await posts.getCidByPid(mainPid);
}
const [postData, isAdminOrMod] = await Promise.all([
const [mainPost, isAdminOrMod] = await Promise.all([
posts.getPostData(mainPid),
privileges.categories.isAdminOrMod(cid, uid),
]);
let lastPost = mainPost;
if (pids.length > 1) {
lastPost = await posts.getPostData(pids[pids.length - 1]);
}
if (!isAdminOrMod) {
throw new Error('[[error:no-privileges]]');
}
const scheduled = postData.timestamp > Date.now();
const now = Date.now();
const scheduled = mainPost.timestamp > now;
const params = {
uid: postData.uid,
uid: mainPost.uid,
title: title,
cid: cid,
timestamp: scheduled && postData.timestamp,
timestamp: mainPost.timestamp,
};
const result = await plugins.hooks.fire('filter:topic.fork', {
params: params,
tid: postData.tid,
tid: mainPost.tid,
});
const tid = await Topics.create(result.params);
@@ -72,22 +76,22 @@ module.exports = function (Topics) {
await Topics.movePostToTopic(uid, pid, tid, scheduled);
}
await Topics.updateLastPostTime(tid, scheduled ? (postData.timestamp + 1) : Date.now());
await Topics.updateLastPostTime(tid, scheduled ? (mainPost.timestamp + 1) : lastPost.timestamp);
await Promise.all([
Topics.setTopicFields(tid, {
upvotes: postData.upvotes,
downvotes: postData.downvotes,
upvotes: mainPost.upvotes,
downvotes: mainPost.downvotes,
forkedFromTid: fromTid,
forkerUid: uid,
forkTimestamp: Date.now(),
forkTimestamp: now,
}),
db.sortedSetsAdd(['topics:votes', `cid:${cid}:tids:votes`], postData.votes, tid),
db.sortedSetsAdd(['topics:votes', `cid:${cid}:tids:votes`], mainPost.votes, tid),
Topics.events.log(fromTid, { type: 'fork', uid, href: `/topic/${tid}` }),
activitypub.feps.announceObject(pids[0]),
]);
plugins.hooks.fire('action:topic.fork', { tid: tid, fromTid: fromTid, uid: uid });
plugins.hooks.fire('action:topic.fork', { tid, fromTid, uid });
return await Topics.getTopicData(tid);
};

View File

@@ -1,6 +1,5 @@
<div class="px-lg-4">
<div class="acp-page-container">
<div class="row border-bottom py-2 m-0 mb-3 sticky-top acp-page-main-header align-items-center">
<div class="col-12 px-0 mb-1 mb-md-0 d-flex justify-content-between align-items-center">
<h4 class="fw-bold tracking-tight mb-0">[[admin/manage/categories:federation.title, {name}]]</h4>
@@ -14,7 +13,6 @@
<a class="btn btn-primary" href="{config.relative_path}/admin/settings/activitypub">[[admin/manage/categories:federation.disabled-cta]]</a>
</div>
{{{ else }}}
<div class="acp-page-container">
<div class="row settings m-0">
<div class="col-12 col-md-8 px-0 mb-4" tabindex="0">
<div id="site-settings" class="mb-4">
@@ -77,15 +75,17 @@
{{{ end }}}
{{{ each followers }}}
<tr data-uid="{./uid}">
<td>
<td class="w-100 text-truncate" style="max-width: 1px;">
{buildAvatar(followers, "24px", true)}
{./userslug}
</td>
<td>
<code>{./uid}</code>
<button type="button" class="btn btn-link" data-action="autofill">
<i class="fa fa-exchange-alt"></i>
<td class="w-0">
<div class="d-flex gap-2 flex-nowrap align-items-center">
<button type="button" class="btn btn-ghost btn-sm border" data-action="autofill" title="[[admin/manage/categories:federation.followers-autofill]]">
<i class="fa fa-exchange-alt text-primary"></i>
</button>
<code>{./uid}</code>
</div>
</td>
</tr>
{{{ end }}}
@@ -94,7 +94,8 @@
</form>
</div>
</div>
</div>
<!-- IMPORT admin/partials/category/sidebar.tpl -->
</div>
{{{ end }}}
</div>

Some files were not shown because too many files have changed in this diff Show More