Warning this project is under active development, design is subject to change
Next generation forum software. Epochtalk is a forum frontend designed to be paired with the core-pg backend. Epochtalk forum software utilizes technologies such as AngularJS, Webpack, Postgres and Bourbon for improved performance and user experience as compared to existing forum software.
$ git clone email@example.com:epochtalk/epochtalk.git
$ cd epochtalk $ npm install
$ bower install
$ node cli/index.js --create
admin1234. Visit your profile by clicking the link in the top right corner of the page, then change your username and password.
npm link. Change directories into the
node_modulesof your checked out Epochtalk project and run
npm link epochtalk-core-pg. This will ensure that Epochtalk is using the latest master of core-pg instead of the npm version. Then run
npm run db-migratefrom the root directory of your Epochtalk project to ensure all migrations are up to date.
Forum configurations can be set either manually or using the admin panel.
The forum server configs can and must be set manually with a .env file in the root directory of the project.
DATABASE_URL="postgres://localhost/epochtalk_dev" HOST="localhost" PORT="8080" PUBLIC_URL="http://localhost:8080" REDIS_HOST="localhost" REDIS_PORT="6379" REDIS_AUTH_PASS=""
Configurations can also be set using the settings tab in the administration panel.
Each post is crafted through a unique editor with a live content preview.
As for BBCode, the tags that are parsed are based off the SMF 1.0 BBCode spec but with some modifications as per the BitcoinTalk forum. Due to the fact that BBCode differs from forum to forum, a preview window is provided to the right of the main user input to preview what the post will look like once it has been sent to the server. The editor itself will parse the user input in real time with a 250 millisecond debounce. So user can continue to type and the text will not be parsed until 250 millisecond after the last keypress.To view the list of supported BBCode tags click the
formattingbutton at the top right of the editor:
All user typed HTML is escaped using their decimal encoding while any other HTML is cleaned using punkave's sanitize-html library. All BBCode input is parsed through our modified BBCode-Parser library. This ensures that all content passed to the server is sanitized from any malicious code. Also, Angular's sanitization library also ensures that anything missed through the above process is yet again cleaned before it is shown on the client's browser.
All inputs on the forum are cleaned to different degrees.Title like inputs are stripped of all html while description like inputs are allowed only formatting based html tags (
<span>). Posts and Signatures are given the full treatment as described above but allow more html like
The MIT License (MIT)
Copyright (c) 2015 Epochtalk
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.