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
97
votes
9 answers

Vagrant error: NFS is reporting that your exports file is invalid

I am trying to set up the Discourse development environment using these instructions. However when I run Vagrant I get the error: NFS is reporting that your exports file is invalid. Vagrant does this check before making any changes to the file.…
Hunter
  • 995
  • 1
  • 8
  • 7
27
votes
7 answers

Changed domain error - OpenId auth request contains an unregistered domain

I set up a project on my main domain example.com and then moved it to a subdomain sub.example.com Now when I try to use the same (default ASP.NET MVC or on my Discourse forum) project with OpenId and click on the Google button to log in with my…
PW Kad
  • 14,953
  • 7
  • 49
  • 82
21
votes
2 answers

Incorporating Discourse SSO with Existing Rails Site with Devise

I have an existing rails app that is using devise as it's user authentication. I added a discourse forum and everything went smoothly and it resides on a subdomain. I have read the post at…
cjiro
  • 325
  • 2
  • 7
18
votes
2 answers

integrating a discourse message board with an existing rails site

I'm looking at integrating a message board for a site I'm developing in rails. The new discourse board looks interesting http://www.discourse.org/ but there isn't much information about integrating into another site either via oauth2 or sso or…
timpone
  • 19,235
  • 36
  • 121
  • 211
16
votes
2 answers

Setting up Discourse on Ubuntu 12.04 LTS

I have setup a new database for installing Discourse in PostgreSQL. When I run rake db:migrate, it creates most of the tables, but it then fails: -- execute("INSERT INTO archetypes (name_key, created_at, updated_at) VALUES ('poll',…
11
votes
8 answers

Ensure that the application's Info.plist contains a value for CFBundleIdentifier. Print: Entry, ":CFBundleIdentifier", Does Not Exist

I am attempting to build my first iOS app using this repo: https://github.com/pmusaraj/discourse-mobile-single-site-app When building, I receive an error and cannot move forward. I am an absolute noob who will spend long hours on this, but have no…
waffleslop
  • 113
  • 1
  • 1
  • 5
8
votes
1 answer

what parts are necessary for a custom omniauth oauth2 strategy for integrating with discourse

I'm looking at using discourse which uses omniauth for authentication. I need this to integrate with my current user base (where the currently auth either via email or facebook). One possiblity is to create a custom omniauth strategy (like…
timpone
  • 19,235
  • 36
  • 121
  • 211
6
votes
1 answer

DiscourseConnect auto login when visiting forum

I've set up my first Discourse instance, wrote a custom endpoint on my ASP.NET 5 web app, and enabled DiscourseConnect. Everything works fine - when the user clicks the Log In button he gets logged in (if he is logged in into my website) The forum…
Misiu
  • 4,738
  • 21
  • 94
  • 198
6
votes
4 answers

what is motivation for setting klass = self in this section of code

I was looking through some code in discourse and stumbled across this and was wondering why klass = self. As I know they are better ruby developers than I, there must be a good reason. Why wouldn't they call self.remove_from_cache!(message["key"],…
timpone
  • 19,235
  • 36
  • 121
  • 211
5
votes
1 answer

Setup discourse docker on mac os

I'm following standard guide to install discourse on my local mac. After launching the setup tool ./discourse-setup I've got error message: cd /pups && git pull && /pups/bin/pups --stdin /usr/local/bin/docker: Error response from daemon: Mounts…
megas
  • 21,401
  • 12
  • 79
  • 130
5
votes
3 answers

Cannot connect to HTTPS (443) from a docker image

I installed docker on a new dedicated server (on a generic ubuntu 14.0 - linux kernel 3.13.0-71). I installed an ubuntu docker image to test the environment. ( docker run -it ubuntu bash ) and I installed curl with openssl support. When I try to get…
user1649194
  • 79
  • 1
  • 1
  • 6
5
votes
1 answer

Ruby/Rails/Discourse How To Set Root Directory

I am trying to run wordpress using apache and php as well as discourse using ruby. I am currently doing this by using proxies. Here's what I'm trying to accomplish: When the user visits http://something.com/ he gets to see my wordpress site. When…
Nathan
  • 1,321
  • 1
  • 18
  • 32
5
votes
2 answers

Why is Discourse running so slowly?

I'm not sure which link in the chain is causing the problem. I just finished setting up Discourse on Vagrant on a Windows machine. Everything seems to be working fine, except that it took a good 86000ms (a minute and a half!) for Discourse to load…
Jo Sprague
  • 16,523
  • 10
  • 42
  • 62
5
votes
5 answers

Can't send mail with gmail smtp server (in discourse)

I'm trying to setup discourse, which is a rails3 webapp, but have some problems configuring smtp with gmail smtp server. I have registered a new gmail account yesterday, and I can logged in browser and email-client software. Then I configure…
Freewind
  • 193,756
  • 157
  • 432
  • 708
4
votes
1 answer

How would Auth work between Django and Discourse (working together)

I need a modern looking forum solution that is self hosted (to go with a django project) The only reasonable thing I can see using is discourse, but that gives me a problem... How can I take care of auth between the two? It will need to be slightly…
Joff
  • 11,247
  • 16
  • 60
  • 103
1
2 3
11 12