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
2
votes
1 answer

How to handle Discourse SSO when the authentication site allows users to change emails?

We use a Discourse SSO flow that we have implemented based on this guide: https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045 It has worked well for us. But now we want to allow users in our system to change their e-mail and…
user1283776
  • 19,640
  • 49
  • 136
  • 276
2
votes
2 answers

Debug / Execute Discourse plugin from command line

I'm programming a new plugin in discourse and need to output some information to know if I'm in the right way. There is some way (With rake or something) to manually run the plugin and see what happen? Sidekiq don't show any output... Thanks! Edit…
JuliSmz
  • 996
  • 1
  • 12
  • 26
2
votes
1 answer

How do I integrate wit.ai and hubot?

I want to integrate wit.ai with hubot. Besides that I have hubot running on a discourse forum server via an adapter. That is secondary. I installed https://github.com/guillaumewuip/hubot-wit-helper, installed the npm package, but I get this error…
2
votes
1 answer

Discourse plugin - sending email

In my plugin for Discourse I am trying to send an email to a user. This works just fine if I hardcode my own API functionality to do so, however in an effort to make this public I was trying to use the built in emailing. I cannot however get an…
basic
  • 3,348
  • 3
  • 21
  • 36
2
votes
0 answers

Certificate conflict

I recently deployed 2 websites (a discourse instance and regular html and css) on a digitalocean droplet. Using letsencrypt, I generated security certificates for both. However, the one for the the discourse instance keeps conflicting with that of…
toonday
  • 501
  • 4
  • 13
2
votes
2 answers

How does one specify a particular cipher suite for a nginx docker instance?

I am running a newly built discourse docker image on Google Compute Engine. I converted that to use https using letsencrypt following the walk through and I get an A+ rating from ssllabs. However the scripting agent I'm using doesn't support…
Graham Chiu
  • 4,856
  • 1
  • 23
  • 41
2
votes
3 answers

Regex to normalize topic links in Discourse forum

I am using Discourse forum software. As in its current state, Discourse presents links to topic in two ways, with and without a post number at the end. Example: forum.domain.com/t/some-topic/23 forum.domain.com/t/some-topic/23/5 The first one is…
Liron Harel
  • 10,819
  • 26
  • 118
  • 217
2
votes
0 answers

How do I install a working Discourse, docker image in Openshift Origin (3)

I just wanted to know how to install a working Discourse docker image on OpenShift Origin. I'm not interested in Openshift one or two, just Origin. I just tried the SamSaffrom Discourse image, to no avail:…
Ariel Ron
  • 21
  • 1
2
votes
0 answers

Devise, Discourse & Single Sign On / SSO , payload dropped, can't sign in

I installed SSO for Discourse following the official implementation instructions (here) and this answer on Stackoverflow (here). However, it's not working. The SSO payload is dropped between the Get users/sign_in and Post users/sign_in…
user3763682
  • 391
  • 1
  • 5
  • 17
2
votes
0 answers

Discourse API via AJAX

I am looking to interact with an instance of the Discourse forum software via AJAX. I have not installed the Discourse API gem, rather I would like to send AJAX requests to the pre-existing Discourse web instance. Do I need the API gem to do this? I…
cpk
  • 809
  • 1
  • 6
  • 20
2
votes
0 answers

Tell Ember to rerender component

I've defined a component as follows: export default Ember.Component.extend({ classNameBindings: ['isCategory'], didInsertElement: function() { Ember.addObserver(Discourse, 'currentPath', this.routeChanged); }, routeChanged:…
David John Smith
  • 1,824
  • 2
  • 18
  • 22
2
votes
1 answer

Install docker 1.2 on Amazon Linux AMI release 2014.03

I'm trying to install discourse forum on the Amazon Linux AMI release 2014.03. To install that forum I should use docker 1.2 or more but when I type "yum install docker" I getting version 1.1.2-1.0.amzn1 from amazon. So how can I download and…
Vitach
  • 281
  • 5
  • 11
2
votes
2 answers

Discourse Docker and Apache on one server

Hi I have Discourse installed via Docker and Apache server on the same Ubuntu 12.04 server. Discourse container is exposed to port 81 and Apache is on port 80. How can I setup Apache to show Apache web like "something.com" and discourse docker on…
2
votes
1 answer

Discourse bluepill to use rbenv

In official discourse repository there's a discourse.pill file for bluepill gem and it uses rvm. Because I'm using rbenv I need that script to use rbenv (and I'm bad at environment stuff). How I can convert this script, probably only this snippet…
megas
  • 21,401
  • 12
  • 79
  • 130
2
votes
1 answer

Heroku Deployment : Discourse Assets precompile

Hi I'm actually trying to deploy discourse on Heroku. I'm following the step by step guide here Basic Heroku deployment I'm facing a problem when I try to rake assets:precompile (I'm precompiling locally). The rake command is aborted, saying to me…
user2462805
  • 1,049
  • 3
  • 11
  • 26
1 2
3
11 12