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

RuntimeError: cd /var/www/discourse && su discourse -c ‘bundle exec rake assets:

I've got a failure by bootstrapping a Discourse: RuntimeError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #. 171:signal-handler (1464162030) Received SIGTERM scheduling shutdown... …
organicnz
  • 89
  • 1
  • 2
  • 19
0
votes
0 answers

How to change the text displayed of Ember/Handlebars link-to?

I am new to Ember (and Handlebars.js). The following code displays the word "Preferences" and it is a link:
  • {{#link-to 'preferences'}}{{fa-icon "cog"}}{{i18n 'user.preferences'}}{{/link-to}}
  • I realize that it is {{i18n 'user.preferences'}}…
    stevenpslade
    • 310
    • 1
    • 18
    0
    votes
    1 answer

    Posting a new topic to Discourse via REST- 403 Forbidden

    Full context I'm POST-ing the following URl from Advanced REST client and getting a 403 forbiddenresponse. http://[my discourse ip]/posts.json?title="Created from the advanced REST client"&category="2"&raw="A whole bunch of text about a…
    Matt
    • 1,674
    • 2
    • 16
    • 34
    0
    votes
    1 answer

    (STDERR) TypeError: Object [object Object] has no method 'substr'

    I'm trying to parse a local CSV file,and the parse process in Meteor bootstrap var csvStore = new FS.Store.FileSystem("csv", { path: "countrycode.csv", //optional, default is "/cfs/files" path within app container //…
    user5699596
    • 95
    • 1
    • 5
    0
    votes
    2 answers

    Discourse installation troubles

    I tried to install Discourse on DigitalOcean following their tutorial: https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md Everything goes fine until one of the lasts points: Bootstrap Discourse. I run the command ./launcher…
    Hayder
    • 1
    • 2
    0
    votes
    1 answer

    Simulating Discourse SSO login via php curl

    I'm in the process of integrating Discourse into our platform (using an iframe) and I am trying to understand what I am doing wrong and can't get SSO to authenticate my users. I am working on symfony 1.4 and I have an action that accommodates both…
    mixkat
    • 3,883
    • 10
    • 40
    • 58
    0
    votes
    1 answer

    How to make a discourse plugin available for public posts?

    I've developed a discourse plugin successfully. However, I need to be logged in into discourse in order to see the plugin working. Any ideas?
    dariomac
    • 117
    • 1
    • 9
    0
    votes
    0 answers

    Update notification email

    Currently, I see that discourse sends update notifications to the email address configured as 'contact email' in the settings. Contact email's purpose is "Email address of key contact responsible for this site. Used for critical notifications such…
    shankardevy
    • 4,290
    • 5
    • 32
    • 49
    0
    votes
    1 answer

    Get list of badges in Discourse by accessing Ember.ArrayController from javascript outside of handlebars template

    In Ember.js i know I can using the Ember.ArrayController to access a specific collection of data, like the example from the ember website: MyApp.listController = Ember.ArrayController.create(); $.get('people.json', function(data) { …
    DogEatDog
    • 2,899
    • 2
    • 36
    • 65
    0
    votes
    0 answers

    Content_For on specific page

    I am using Discourse and I want to display few text on the category/index page only. Something like this: http://community.smartthings.com/ If you should press the "Latest" button, the banner goes away. In my app/views/application.rb I have between…
    Sylar
    • 11,422
    • 25
    • 93
    • 166
    0
    votes
    1 answer

    Getting error when trying to bundle fast_stack on windows

    I'm trying to understand how to fix error: C:\inetpub\wwwroot\DISCOU~2>gem install fast_stack ERROR: Error installing fast_stack: ERROR: Failed to build gem native extension. C:/Ruby200/bin/ruby.exe extconf.rb creating Makefile make…
    Vitach
    • 281
    • 5
    • 11
    0
    votes
    1 answer

    How to use emberjs action helper within custom registered helper?

    I may add actions within handlebars templates for emberjs with
  • {{action "SomeAction" this}} {{this.name}}
  • the SomeAction is called. How may I add an action within an custom helper (this is only an example, I have more code in…
    Piioo
    • 759
    • 10
    • 24
    0
    votes
    1 answer

    ActionMailer and a self-signed SSL Cert

    I have an application (an installation of Discourse) that I'm trying to deploy. However, the email server that it is pointed at has a self-signed ssl cert for SMTP. Is there a workaround for this? Or do I need to find a way to send mail using a…
    jrg
    • 731
    • 1
    • 17
    • 34
    0
    votes
    1 answer

    Discourse installation - Install necessary gems gives an error

    I am trying to install Discourse following the installation instructions, but the instruction # Install necessary gems bundle install --deployment --without test gives this error discourse@ubuntu:/var/www/discourse$ bundle install --deployment…
    Zeynel
    • 13,145
    • 31
    • 100
    • 145
    0
    votes
    1 answer

    Migrating discourse server

    I'm migrating to a new server, so i've archived folder of pictures in public/uploads/default, zipped and moved them to my new server and put to shared/public/assets/default. When I'm doing cap deploy the capistrano removes them as ** [out ::…
    megas
    • 21,401
    • 12
    • 79
    • 130
    1 2 3
    11
    12