Questions tagged [discourse]

Discourse is the 100% open source discussion platform built for the next decade of the Internet. It works as: a mailing list, a discussion forum, a long-form chat room.

About Discourse

Discourse is a Civilized Discourse Construction Kit, an 100% open-source discussion platform that is free for everyone to use and contribute to -- forever. Key mission goals:

  • A flattened, endlessly scrolling discussion, avoiding the awkardness of traditionally threaded and paginated discussion, while allowing replies to be expanded in place for additional context.

  • A user trust system that grants users additional rights to assist in moderating the forum as they participate in good faith over time. The goal is for the forum to be nearly self-moderating in the absence of any formal moderators, although excellent moderators accelerate the process greatly.

  • An advanced JavaScript app which runs in modern browsers and works identically on desktop and tablet, without the need for a native app.

  • A contemporary, robust technology stack, free of legacy PHP and MySQL constraints limiting developers and administrators.

The Discourse team wishes to foster an active community of contributors, all of whom commit to delivering this continued vision, ensuring that free, unfettered online discussion can grow and thrive in an Internet age dominated by micro-blogging, and diminishing attention spans. Online discussion belongs to all of us, not just huge corporate websites.

This vision translates to the following functional commitments:

  1. Support only modern browsers on the desktop:
    • Internet Explorer 9.0 (may not be fully functional), 10.0+
    • Firefox 16+
    • Google Chrome 23+
    • Safari 5+
  2. Support the latest generation of tablets, 7" or larger
    • iPad 2+
    • Android 4.1+
    • Windows 8
  3. Deliver support for the latest generation of small screen mobile/smartphones as soon as possible:
    • Windows Phone 8
    • iOS 5+
    • Android 4.0+

Expertise

Discourse is built from the following open source components:

  • Ruby on Rails - Our back end API is a Rails app. It responds to requests RESTfully and responds in JSON.
  • Ember.js - Our front end is an Ember.js app that communicates with the Rails API.
  • PostgreSQL - Our main data store is in Postgres.
  • Redis - We use Redis for our job queue, rate limiting, as a cache and for transient data.
178 questions
0
votes
1 answer

Setup SSL on Discourse deployed in Amazon

I just finished setting up a discourse community in Amazon using the default installer (not Docker nor Discourse-Bitnami from Amazon). And now I wanted to set up SSL to enable https access. I've created the domain's certificate using Amazon…
czetsuya
  • 4,773
  • 13
  • 53
  • 99
0
votes
1 answer

Migrating Discourse user to Django user

I have exported database from Discourse. it does contain password_hash and salt. I have done my research and found out that Django uses PBKDF2 by default and even Discours use that with hashing algorithm sha256 and number of iterations 64000. I…
Vaibhav Mule
  • 5,016
  • 4
  • 35
  • 52
0
votes
0 answers

Discourse: Is it possible to embed and show svg images?
I am woundering if I could be somehow embed the following code and show the image inside a Discourse Post:
Daniel
  • 57
  • 7
0
votes
1 answer

How to integrate hubot with dialogflow?

I am trying to integrate hubot and dialogflow (api.ai) and can't find any solution. I've tried https://github.com/ojacques/hubot-apiai and https://github.com/TMAers/hubot-dialogflow but they both don't seem to work. Any solutions out there? Also, I…
0
votes
1 answer

Dict of dict url encoded params for post request in Python?

params_for_update_cat = { 'api_key': API_KEY, 'api_username':"ausername", "name": name_and_ticker, "color": bg_colour, "text_color": text_color, "permission": {'admins': 1,'staff': 2} } headers = {"Content-Type":…
9_Dave_9
  • 694
  • 1
  • 7
  • 20
0
votes
1 answer

How to activate the admin account of Discourse using the SSH console?

I am trying to setup Discourse with one-click installer using droplet over Digital Ocean. I followed all the instructions and have correctly configured the SMTP details. But when I register for the admin account using the front-end installer, I am…
0
votes
1 answer

Adding CSP header by merging headers

I am trying to create a vary basic .rb plugin (based on the now obsolete in chrome) discourse-allowall which will merge the CSP header to the default ones but cant get it to work. The below does not seem to do…
mixkat
  • 3,883
  • 10
  • 40
  • 58
0
votes
1 answer

Discourse server fails to start with errors related to redis

Rails server fails to start in Discourse project either in development or production. Below are the logs when trying to start the server in dev mode. The application was installed and has been working, It's deployed on AWS in production mode and…
Bijendra
  • 9,467
  • 8
  • 39
  • 66
0
votes
3 answers

Discourse SES AWS working app.yml file example please

Can someone please post an AWS SES working app.yml file example? I mean literally copy and paste it. Been fighting this set up for days and its got to be something minor in the config settings.
0
votes
0 answers

Discourse redirect url's

I've imported my forum Mybb to Discourse. Discourse forum live now. But i've problem with redirect old urls to news. old forum url: http://sub.site.com/thread-the-title-of-the-post.html new forum url: http://sub.site.com/the-title-of-the-post/ How i…
bekircem
  • 3
  • 3
0
votes
1 answer

Manually trigger a post_updated webhook in Discourse

I’m looking to make a change to the raw data for a bunch of my Discourse posts in a rake task and then re-cook the result. When this happens I also want to trigger the webhook for post_updated What’s the best practice way to achieve this?
Marcus
  • 320
  • 2
  • 4
0
votes
1 answer

Aggregating data from Discourse

I currently have a SQL query that returns the number of topics created in a category each week. SELECT COUNT(*) AS topic_count, DATE_TRUNC('week', created_at) AS week FROM topics WHERE topics.deleted_at IS NULL AND …
Richard
  • 2,226
  • 2
  • 19
  • 35
0
votes
1 answer

How to bind localhost RoR app to discourse docker container?

I've a ruby on rails app which is on 0.0.0.0:3000 and discourse docker container on port 0.0.0.0:80 . I want to bind localhost RoR app with docker container because postgreSQL is running inside the docker container and want to connect RoR app with…
Muzammil Ahmed
  • 77
  • 1
  • 3
  • 14
0
votes
1 answer

How to configure Discourse with External DB connection?

I need to configure discourse with an external db instance connectivity(PostgreSQL). Can anyone help me with this?
Rajith V
  • 11
  • 2
0
votes
1 answer

Where to find my discourse output?

I am new to discourse. It all working fine but I didn't get the output at the desired port 127.0.0.1 that i used ass discourse_hostname but I see nothing in my browser
VinoPravin
  • 947
  • 3
  • 17
  • 32