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

Alternative content if javascript web app encounters errors

Yesterday, I went to http://try.discourse.org, the new project developed by the Stack Overflow team. This project uses the EmberJs javascript Framework for requesting the content. And unfortunately my browser (Safari) sees the following error in the…
jeremieca
  • 1,156
  • 2
  • 13
  • 38
2
votes
1 answer

Trying to set up Discourse in a VM but Ruby can't find Gemfile

I am trying to set up Discourse following the Vagrant instructions on Github. I'm on a Windows machine, so I downloaded the VM and started it, then I used putty to ssh in and try to start setting up Discourse. When I type bundle install I get a…
Jo Sprague
  • 16,523
  • 10
  • 42
  • 62
1
vote
1 answer

Installing rbtrace 0.4.14 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension

This happened to me several times while trying to install Discourse: Cannot install rbtrace with native extensions. Gem::Ext::BuildError: ERROR: Failed to build gem native extension. *** extconf.rb failed *** Could not create Makefile due to some…
Seto
  • 1,234
  • 1
  • 17
  • 33
1
vote
2 answers

Insert object into specific position in an array based off property match

I've been at this for a few days and sadly I'm just not able to find the right search terms or the right answers to my lack of skill. I'm converting ListServ to Discourse. I'm converting the RSS feeds to JSON. example of the source data: { …
TheBetterJORT
  • 808
  • 9
  • 22
1
vote
0 answers

Cannot connect SMTP between two Docker containers

I have read: Connecting two docker containers How to get Docker containers to talk to each other while running on my local host? I have two docker stacks running behind an nginx proxy. discourse (trying to send mails). mailu (full email stack,…
Dieter Menne
  • 10,076
  • 44
  • 67
1
vote
1 answer

Correctly store Client Secrets in database for discourse-openid-connect

I have used a Discourse Docker image to get Discourse running, and used the following openid-connect plugin so that users can signup / login to our forum via our web app which is using IdentityServer4 I can get it working if I don't require client…
1
vote
1 answer

How to troubleshoot 502 Bad Gateway after updating Discourse?

I just updated Discourse by running the following after the server being at sleep for a few months. cd /var/discourse git pull ./launcher rebuild app Now, when I open my Discourse URL, I get a Nginx 502 Bad Gateway error. I know very little about…
sunknudsen
  • 6,356
  • 3
  • 39
  • 76
1
vote
2 answers

For Discourse is there an importer than can read from text files, like csv files?

If so this seem to be the simplest approach for importing data from other sources because I can extract data from the old forum without problem, the difficultly is getting an import into discourse.
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
1
vote
1 answer

NLTK discourse tree to edge list

I have following string: dt = ' ( NS-elaboration ( EDU 1 ) ( NS-elaboration ( EDU 2 ) ( NS-elaboration ( EDU 3 ) ( EDU 4 ) ) ) ) ' I can convert it to an NLTK tree as follows: from nltk import Tree t = Tree.fromstring(dt) This tree is…
user12380268
1
vote
0 answers

How to include fontawesome icons in discourse posts?

I’ve seen this in the past and would love to be able to include fontawesome icons on a regular basis. Can’t find it! For right now if someone could help me with a hack I’d be grateful. I want to embed the fa-comments, fa-search and fa-sandwich (or…
1
vote
3 answers

Discourse Sign Up redirect to URL instead of modal

I've been currently trying to change the landing page of the sign up for user sign ups on my discourse install. I'm trying to via their admin panel in customization in Edit Html/css specifically in the section, i've also tried putting this…
nadermx
  • 2,596
  • 7
  • 31
  • 66
1
vote
3 answers

How do I add an external javascript file into discourse?

I have a javascript file that I would to add to discourse, but I am not sure how. Am I required to create a plugin to include a js file or can I include the file in the source code? Either way, I am not sure how to accomplish this.
dottedquad
  • 1,371
  • 6
  • 24
  • 55
1
vote
1 answer

Display the state information to a list of participants dynamically

I have tweeked the Yo- CordApp to send to a list of participants instead of single participant in the target. I would like to send the YO to more than one Party, moreover I just want to display the state information to the parties which does not…
ToniyaSundaram
  • 191
  • 3
  • 12
1
vote
1 answer

Change default h2Port in Corda

I can connect to h2 database using this default jdbc:h2:tcp://10.0.1.6:53062/node for a particular node. I wanted to change it to custom as 50002. So I addedd the port in build.gradle file and started the node in using customOverrides in Main…
ToniyaSundaram
  • 191
  • 3
  • 12
1
vote
1 answer

How to perform SSO using Discourse and Auth0?

I am using trying to perform SSO using Auth0 for wordPress and discourse from my own application. the flow is mentioned below. Image added here (low on rep) so cant post The user enters user name and password in the application, the details are…
DiasMr
  • 11
  • 2