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
3 answers

Updating span color on a hover

I am attempting to update span color on hover however I am unable to do so. I am able to update the background color, the size, etc however I am unable to update the font color. HTML
basic
  • 3,348
  • 3
  • 21
  • 36
0
votes
2 answers

How to only display banner to first time visitor?

I have this text banner on my site. I want it to show it only to new visitors using cookies. I have very little knowledge of JS so please help me how can I show it to only first-time visitors. I am using it on Discourse-based this Android forum site…
Hamza Ahmad
  • 71
  • 1
  • 1
  • 10
0
votes
0 answers

Debugging with Rails

is a very beginner question but even tho i cannot find any helpful documentation online. I'm working on Discourse application which is Ruby on Rails + Ember based. I need to print out in my terminal (not in my view!) the value of a variable. I…
Giorgia Sambrotta
  • 1,133
  • 1
  • 15
  • 45
0
votes
1 answer

Displaying a tag only for one element in a list. ember.js.(cloaked-collection, discourse)

I have a source code(discourse) than I need to work with with ember.js. I am trying handle only one "post" (the first) in a list using cloaked-collection. //topics.hbs {{#unless model.postStream.loadingFilter}} {{cloaked-collection…
anyavacy
  • 1,618
  • 5
  • 21
  • 43
0
votes
1 answer

Discourse forum : /404 not found for an existing route

Suppose we create a new controller with an action to perform an operation and rendering a view.We add a route via plugin file and I checked the route found via rake routes as register_vip_section GET /register/vip_section(.:format)…
Jaswinder
  • 1,455
  • 14
  • 27
0
votes
1 answer

Discourse replies to an answer : how to get nested comments?

By default, discourses answers and replies to answers are organized chronologically [QUESTION] Answer #1 (Monday) Answer #2 (Tuesday, early) 1st reply to answer #2 (Tuesday, late) 2nd reply to answer #2 (Wednesday, early) 1st reply to answer #1…
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
0
votes
1 answer

Ember js routing not working in 2.10

I was using this Ember route file to map this URI www.example.com/home/page with the template main-page.hbs located in the home folder export default { resource: 'home', path: '/home', map() { this.route('main-page', { path:…
Aman Jagga
  • 301
  • 5
  • 15
0
votes
1 answer

Devise and discourse: Seperate devise users for vendors and users or just one devise for users?

I'm building a website, where vendors can have their own separate website on. There is vendors and normal users. The goal is to have a closed profile page w. login for both, where a vendor can edit his website, check out stats and more. A normal…
sneglefar
  • 117
  • 9
0
votes
1 answer

emberjs didRender not working

I want to start some css transition when my page is fully loaded(including all background images), so I am trying didRender event of a component but its never getting called.This is how my codes look like export default Ember.Component.extend({ …
Aman Jagga
  • 301
  • 5
  • 15
0
votes
1 answer

Ember template convention

I'm trying to understand EmberJS template convention in Discourse. Here's a snippet from app/assets/javascripts/discourse/templates/discovery/categories.hbs {{#discovery-categories refresh="refresh"}} {{component controller.categoryPageStyle …
megas
  • 21,401
  • 12
  • 79
  • 130
0
votes
0 answers

Unable to send mails using Discourse

I have docker installation of discourse from this article. Discourse is working fine but I am unable to send mails. I have tried this article for troubleshooting with no lucks. my settings are. ## TODO: The mailserver this Discourse instance will…
C M
  • 684
  • 9
  • 22
0
votes
2 answers

How to create template helper

I want to create eq helper. It already exists in ember-truth-helpers addon, but I need only eq helper so I decided create it by myself in my plugin. I've created file assets/javascripts/discourse/helpers/eq.js.es6 in my plugin with such…
megas
  • 21,401
  • 12
  • 79
  • 130
0
votes
1 answer

Can't change repo in discourse docker

I want to make modification to the appearance of discourse by plugin. Due to the plugin architecture I have to fork repos. First I changed repo in discourse_docker at my forked discourse_docker Then I forked discourse itself, add some change to…
megas
  • 21,401
  • 12
  • 79
  • 130
0
votes
1 answer

Connecting two separate user systems on two different apps

I created two separate rails apps using two different user systems. One of them uses Devise and the other uses Discourse. What would be the best way to connect user data/info? Thanks!
dhc2127
  • 1
  • 1
0
votes
2 answers

I set up the discourse via Google Cloud Launcher but it won’t email

I set up the discourse via Google Cloud Launcher but it won’t send emails. Not sure how to configure Discourse or Google Cloud :\
Kirk Strobeck
  • 17,984
  • 20
  • 75
  • 114