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
1
vote
0 answers

Discourse Install failed $LETSENCRYPT_ACCOUNT_EMAIL

I dont know how to fix it.. and install properly discourse FAILED Pups::ExecError: /bin/bash -c "if [[ ! \"$LETSENCRYPT_ACCOUNT_EMAIL\" =~ ([^@]+)@([^.]+) ]]; then echo \"LETSENCRYPT_ACCOUNT_EMAIL is not a valid email address\"; exit 1; fi" failed…
Tumi
  • 31
  • 1
  • 3
1
vote
0 answers

Discourse Installation procedure in bluehost

How to install discourse in Blue host with the code from Github ? I have blue host web hosting i want to know the steps to host discourse for my own domain using bluehost hosting service.
Sriram J
  • 174
  • 1
  • 1
  • 9
1
vote
1 answer

How to get current user with Discourse API

I'm accessing the Discourse API from python using urlfetch. The Get a single user by username endpoint requires a GET request such as /users/{username}.json From a browser, this command returns a json response as expected, however from an API call…
Kwame
  • 1,115
  • 2
  • 21
  • 38
1
vote
1 answer

Incorporate Discourse into existing rails/heroku app

I have an existing rails app and I want to add a community page (powered by discourse). Ideally at example.com/community Can someone recommend a method or guide to add this to my existing app? Usually I would just add a gem or something. I don't…
Jackson Cunningham
  • 4,973
  • 3
  • 30
  • 80
1
vote
2 answers

Should I install Docker on Server Having Cpanel already on it?

I want to install Discourse on my server and it needs docker to work. I already have WHM with Cpanel installed on Centos 6 dedicated server, should I install docker or it will create problems? If it's okay to install Docker on my server then should…
Hamza Ahmad
  • 71
  • 1
  • 1
  • 10
1
vote
1 answer

Extend ember class on condition

Is it possible to extend Ember class on condition? Something like this: A.reopen({ if (condition) { init: function() { this.super(); // some functionality }.on('didInsertElement'); } }) Currently I have such…
megas
  • 21,401
  • 12
  • 79
  • 130
1
vote
1 answer

Function to redirect to subdomain when user logs into Wordpress site

I'm using the function below to redirect non-admin users to the home page of my site rather than the admin page on login, and I'm wondering if there is any way of adapting the function to point to a subdomain of my site? I have tried entering the…
Nick
  • 4,304
  • 15
  • 69
  • 108
1
vote
0 answers

Discourse User-Created Event Breaks Post Creation Tests

In Discourse, I'm trying to setup a user created event hook, but when I do so, it breaks some tests related to post creation. The new event -- on another model -- seems to be causing topic_created to fire multiple times while preventing post_created…
ntrrobng
  • 408
  • 5
  • 15
1
vote
2 answers

Pass variable from initializer to handlebars .hbs (Discourse Plugin, maybe Ember in general)

In a .hbs file I am creating a navigation menu with various items. One of the items will only display if a user is a pro (boolean). var pro is a variable set in my initializer and I need to pass it my .hbs file for the purposes of a conditionally…
stevenpslade
  • 310
  • 1
  • 18
1
vote
1 answer

Issues making API requests to discourse instance from Heroku and locally using discourse_api gem

Been banging my head against this and need to bounce thoughts against someone else. I keep getting locally: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed I get on heroku: openssl::ssl::sslerror:…
dasnixon
  • 988
  • 7
  • 18
1
vote
1 answer

Install Discourse (a docker image) on Openshift Online

I have an open shift online server and I want to install Discourse How would I go about installing this on my open shift online? I've tried looking up how to install docker on to open shift online, but I haven't had any luck for a good…
jaronoff97
  • 366
  • 3
  • 15
1
vote
0 answers

Simple boolean conditional from AJAX (ember.js)

I'm trying to do something which must be really simple to accomplish in Ember. I want to show a button in my template based on the boolean state of a property: {{#if canFavoriteTag}} {{d-button action="favoriteTag" label="tagging.favorite"…
Jorgtron
  • 13
  • 3
1
vote
0 answers

Getting Discourse Rails forum to send emails

Anybody able to try and install Discourse as a normal Rails app (no Docker) and see why it won't send emails from ones localhost SMTP server? Sending emails from other Rails apps work just…
Mark Boulder
  • 13,577
  • 12
  • 48
  • 78
1
vote
1 answer

GitLab doesnt work anymore since Docker/Discourse installation

i used to have a always uptodate GitLab instance on my hardware server (Ubuntu 14.04). However, i decided to install Discourse (or and Docker) lately and now GitLab isnt starting properly anymore. When i run the service, the sidekiq process gets…
Florence V. Lee
  • 133
  • 1
  • 1
  • 8
1
vote
0 answers

Messed up Docker environment

i have a bit messed up Docker environment. Let me start from the beginning, i have a fresh installed Ubuntu 12.04 hardware box which were used dedicated to run GitLab. Now since it has a quite decent CPU and tons of free RAM, i thought about…
Florence V. Lee
  • 133
  • 1
  • 1
  • 8