A platform for community discussion. Free, open, simple.
Go to file
Philipp Weissensteiner 095cbaa093 Add a few specs to user model
I noticed a few assertions of the has_many type were missing.
Also added a couple of specs which were testing in one direction only.
Just tipping my toes in discourse hope this helps a little.
2013-03-29 00:24:35 +01:00
app Fix automatic selection of share link 2013-03-28 16:58:41 -04:00
chef Add Java to vagrant image using chef 2013-03-21 18:51:33 -04:00
config Add score, percent_rank to topics. Adds HotTopic model and consolidated job to calculate 2013-03-28 15:39:54 -04:00
db Add score, percent_rank to topics. Adds HotTopic model and consolidated job to calculate 2013-03-28 15:39:54 -04:00
dbs Remove export images from repo until import handles db migrations better 2013-02-10 12:25:25 -05:00
docs Add score, percent_rank to topics. Adds HotTopic model and consolidated job to calculate 2013-03-28 15:39:54 -04:00
images Saved ~46KB through image optimization. 2013-02-28 10:58:12 -05:00
lib BUGFIX: New status posts weren't using PostCreator 2013-03-28 16:40:54 -04:00
log Initial release of Discourse 2013-02-05 14:16:51 -05:00
pg_dumps fix duplicate auth_token in development database images 2013-03-22 18:33:56 +01:00
public Convert github commits widget to ember 2013-03-11 15:27:06 -04:00
script cs translation update + pseudolocalization 2013-03-14 17:54:00 +01:00
spec Add a few specs to user model 2013-03-29 00:24:35 +01:00
vendor Convert a lot of :a => b to a: b and bring peace to the world 2013-03-25 05:07:36 +05:30
.autotest Initial release of Discourse 2013-02-05 14:16:51 -05:00
.env.sample Basic Heroku integration 2013-03-13 19:07:49 +00:00
.gitattributes correct line endings 2013-03-23 03:19:26 -07:00
.gitignore Merge pull request #515 from kid0m4n/ignore-binstubs 2013-03-21 17:42:03 -07:00
.procfile.sample Added foreman procfile 2013-02-14 08:26:41 -05:00
.rspec Initial release of Discourse 2013-02-05 14:16:51 -05:00
.travis.yml .travis.yml: Start building discourse on ruby 2.0. Local build shows green 2013-03-22 06:14:48 +05:30
adminjs Initial release of Discourse 2013-02-05 14:16:51 -05:00
config.ru Initial release of Discourse 2013-02-05 14:16:51 -05:00
COPYRIGHT.txt Initial release of Discourse 2013-02-05 14:16:51 -05:00
Gemfile correct multisite functionality for omniauth 2013-03-24 17:21:18 -07:00
Gemfile.lock Merge branch 'update-sidekiq' of git://github.com/nverba/discourse 2013-03-25 10:26:13 -04:00
Guardfile formatted some tests 2013-02-27 03:18:23 +01:00
jsapp Initial release of Discourse 2013-02-05 14:16:51 -05:00
LICENSE.txt Initial release of Discourse 2013-02-05 14:16:51 -05:00
Procfile Added foreman procfile 2013-02-14 08:26:41 -05:00
Rakefile Initial release of Discourse 2013-02-05 14:16:51 -05:00
README.md Update README.md 2013-03-21 11:03:26 -07:00
sublime-project updated sublime-project settings 2013-03-01 15:23:10 +01:00
Vagrantfile Add Java to vagrant image using chef 2013-03-21 18:51:33 -04:00

Logo

Discourse is the 100% open source, next-generation discussion platform built for the next decade of the Internet.

Whenever you need ...

  • a mailing list
  • a forum to discuss something
  • a chat room where you can type paragraphs

... consider Discourse.

Getting Started

  1. If you're brand new to Ruby and Rails, please start with our Discourse Vagrant Developer Guide, which includes instructions to get up and running in a development environment using a virtual machine. This beginner's guide is also adequate for developers ready to sink their teeth quickly; it's the easiest way to hack on Discourse!

  2. Once you have Discourse up and running, be sure to load the appropriate seed data on your forum, either the developer seed data, which is the same data you'll see on try.discourse.org, or the production seed data which includes the Discourse Admin Quick Start Guide and meta guidance.

  3. If you're familiar with how Rails works and are comfortable setting up your own environment, use our Discourse Advanced Developer Guide.

Before you get started, ensure you have the following minimum versions: Ruby 1.9.3+, PostgreSQL 9.1+, Redis 2.6+. And if you're having trouble, please see our TROUBLESHOOTING GUIDE first!

Vision

Discourse is a Civilized Discourse Construction Kit, an 100% open-source discussion platform that is free for everyone to use and contribute to -- forever. Our key mission goals:

  • A flattened, endlessly scrolling discussion, avoiding the awkwardness 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+
  1. Support the latest generation of tablets, 7" or larger
  • iPad 2+
  • Android 4.1+
  • Windows 8
  1. Deliver support for the latest generation of small screen mobile/smartphones as soon as possible:
  • Windows Phone 8
  • iOS 5+
  • Android 4.0+

Contributing

Build Status
Code Climate

Discourse is 100% free and open-source. We encourage and support an active, healthy community that
accepts contributions from the public, and we'd like you to be a part of that community.

Before contributing to Discourse, please:

  1. Review the VISION statement, to confirm that you understand the needs of the team and the focus of the project,
  2. Read and sign the Electronic Discourse Forums Contribution License Agreement, to confirm you've read and acknowledged the legal aspects of your contributions, and
  3. Dig into CONTRIBUTING.MD, which houses all of the necessary info to:
    • submit bugs,
    • request new features, and
    • step you through the entire process of preparing your code for a Pull Request.
  4. Not sure what to work on? We've got some ideas!

We look forward to seeing your cool stuff!

Having Problems getting set up?

Before contacting us for help, please review our Troubleshooting Guide.

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.

Plus lots of Ruby Gems, a complete list of which is at SOFTWARE.MD.

Versioning

Discourse implements the Semantic Versioning guidelines. Releases will be numbered with the following format:

<major>.<minor>.<patch>

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New additions without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes and misc changes bumps the patch

The Discourse Team

The original Discourse code contributors can be found in AUTHORS.MD. For a complete list of the many individuals that contributed to the design and implementation of Discourse, please refer to the official Discourse website.

Copyright 2013 Civilized Discourse Construction Kit, Inc.

Licensed under the GNU General Public License Version 2.0 (or later);
you may not use this work except in compliance with the License.
You may obtain a copy of the License in the LICENSE file, or at:

http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Discourse logo and “Discourse Forum” ®, Civilized Discourse Construction Kit, Inc.

Dedication

Discourse is built with love, Internet style.