From 2f7564e3a58ec4ef45c53bc80da6867271913324 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 May 2026 16:05:23 -0400 Subject: [PATCH 01/48] link: bypass this restriction Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- locale/en/client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/en/client.json b/locale/en/client.json index 5a77ed622..4a8f01192 100644 --- a/locale/en/client.json +++ b/locale/en/client.json @@ -224,7 +224,7 @@ "signin.code.sent": "A new code has been sent to your email.", "signin.email.placeholder": "Email address", "signin.message.email": "Continue with Email", - "signin.message.emaildisabled": "Email authentication has been disabled by an administrator. If you have an administrator account and need to bypass this restriction, please <0>click here.", + "signin.message.emaildisabled": "Email authentication has been disabled by an administrator. If you have an administrator account and need to, you can <0>bypass this restriction.", "signin.message.emailsent": "We have just sent a confirmation link to <0>{email}. Click the link and you’ll be signed in.", "signin.message.locked.text": "To reactivate this site, sign in with an administrator account and update the required settings.", "signin.message.locked.title": "<0>{0} is currently locked.", From 115ebee99972be426cb16a7ed368bd803cafe78a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 May 2026 16:04:31 -0400 Subject: [PATCH 02/48] spelling: ; otherwise Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- MODERATION.md | 2 +- public/components/PostDetails/PostDetails.tsx | 2 +- public/components/common/form/CustomImage.ts | 2 +- public/pages/Administration/pages/Invitations.page.tsx | 2 +- public/services/url.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MODERATION.md b/MODERATION.md index 507368fce..73315acc9 100644 --- a/MODERATION.md +++ b/MODERATION.md @@ -12,7 +12,7 @@ This is a optional feature. Admins will be able to toggle this. This is done in Posts and comments will need a new column "is_approved" to determine if the post or comment has been approved to be shown. Again, this will need adding to the migration. -When a new post or comment is added, if moderation is enabled then is_approved will be false, otherwise it will be true. New posts are added via public/pages/Home/components/ShareFeedback.tsx and comments via public/pages/ShowPost/components/CommentInput.tsx. +When a new post or comment is added, if moderation is enabled then is_approved will be false; otherwise, it will be true. New posts are added via public/pages/Home/components/ShareFeedback.tsx and comments via public/pages/ShowPost/components/CommentInput.tsx. Once added, the post is only visible to the person who added it (and admins, see below). When you view the post (or the comment) via public/pages/ShowPost/ShowPost.page.tsx, there needs to be a message to tell you that it's awaiting moderation. diff --git a/public/components/PostDetails/PostDetails.tsx b/public/components/PostDetails/PostDetails.tsx index 4a7a5c43b..22fd5186a 100644 --- a/public/components/PostDetails/PostDetails.tsx +++ b/public/components/PostDetails/PostDetails.tsx @@ -66,7 +66,7 @@ const PostMetaInfo = ({ post, locale }: { post: Post; locale: string }) => ( ) export const PostDetails: React.FC = (props) => { - // If we have initial data, use it; otherwise we'll fetch + // If we have initial data, use it; otherwise, we'll fetch const [post, setPost] = useState(props.initialPost || null) const [subscribed, setSubscribed] = useState(props.initialSubscribed || false) const [comments, setComments] = useState(props.initialComments || []) diff --git a/public/components/common/form/CustomImage.ts b/public/components/common/form/CustomImage.ts index 99916f0b5..898d764c1 100644 --- a/public/components/common/form/CustomImage.ts +++ b/public/components/common/form/CustomImage.ts @@ -66,7 +66,7 @@ export const CustomImage = Image.extend({ } // When serializing to markdown, we use a special syntax: ![](fider-image:bkey) - // Use bkey if available, otherwise fall back to id + // Use bkey if available; otherwise, fall back to id const imageId = node.attrs.bkey || node.attrs.id || "" state.write(`![](fider-image:${imageId})`) }, diff --git a/public/pages/Administration/pages/Invitations.page.tsx b/public/pages/Administration/pages/Invitations.page.tsx index a6d19fcd1..84764ff9d 100644 --- a/public/pages/Administration/pages/Invitations.page.tsx +++ b/public/pages/Administration/pages/Invitations.page.tsx @@ -102,7 +102,7 @@ ${Fider.session.user.name} (${Fider.session.tenant.name})`,