Like V2ex, can you add the "thank the replier ( or“give a like” to a floor)" functionality for the reply below the post? In V2ex, clicks "thank the replier" to a reply below the post, it will refresh to see that this reply has a little red heart mark.
As shown in the figure.
When I review the old version code. I think the <textarea> is at risk of XSS injection. because it's doesn't deal with the text data encode and decode, here is source code:
If the user doesn't set a custom avatar image, the Go backend (already implemented) will try to fetch avatar from gravatar.com. If gravatar.com is unaccessable (e.g. blocked in some areas), then the frontend will provide a default GitHub-identicon-style avatar image.
I want to try to use docker to simplify the deployment process of casbin-forum , This will make it easier for more users and developers to try the forum
When a user enters a username such as UserName or username, the backend validation should convert it to lowercase and their username in the database should also be converted to lowercase before validation is performed
All the people that subscribed the mailing list will receive Email notification whenever a person posts a new topic/thread or reply to an existing topic/thread/post.
If a person replies to the Email he/she received, the reply will be collected by the mailing list for a central storage and also sent to all subscribers via Email.
This is similar to what a forum (like Casbin-Forum) does. Actually there are some work about forum & mailing list integration:
As we know, SPA is not friendly for SEO like Googlebot. We need to add SSR (Server-Side Rendering) to this React app, like using Next.js: https://nextjs.org/
The admin portal should support to add some sensitive words to the blacklist. If anyone wants to post a topic or reply, in which some words are in the blacklist, we should block them from posting.
Now it's very inconvenient for users to customize these two logos because their URLs are defined in the static CSS, not in the JS code. We need to move their URLs to JS code.
Finally the static CSS should not contain anything customizable. So users can use our own static CSS as a drop-in replacement for their forum site.
Casbin-forum can provide a "headless" mode (see what "headless" means by googling "Headless Chrome"): it doesn't provide the web UI, only the backend API is used.
The page that comments attach to can map to the post/thread of the forum inside a node.
We also need to develop a JS plugin to let user website (like Casbin docs: https://casbin.org/) integrate with. The JS plugin will talk to a forum backend API.
The forum can also setup the web UI, but it's not required.
Can you add a "back to top" button at the bottom of a post's reply, so that you can click back to the top after browsing all the replies.
As shown in the figure:
I have already registered my account using github, but when I click the signin using github account button again, I got this errorUsernameExistedOrEmailExisted error
On the main page, the ranking pages, for example ranking of wealth, are not operating. After clicking, the page show nothing.
Please fix this bug.
And in the posts, if you upload a video links, you cannot size up the video in PC. But it can be done in mobile phones.
Currently this website does not support language translation. Because of that it tough for other user who are not familiar with chinese language to understand the content.
I like to work on this by add google translation api.