Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60739 articles
Browse latest View live

Should Rspec have any failing tests using current code?

$
0
0

Hunter wrote:

When I run the tests in Vagrant using the code from github with no modifications I get a lot of failed tests.


I've worked with projects where this was normal, but thought it wasn't this case with Discourse. Is this normal or should I be looking for problems in how I installed Discourse/Vagrant/ect? ETA- when I run the rails sever Discourse works fine.

Posts: 17

Participants: 5

Read full topic


Awesomenesssss it is

$
0
0

Anna wrote:

I've just discovered Discourse and I just wanted to say THANK YOU! The work you are doing is awesome! Keep going and I will try to spread the word about you in the meantime ^_^

Posts: 4

Participants: 4

Read full topic

Error code: ERR_TOO_MANY_REDIRECTS

$
0
0

A Zeynel wrote:

I was testing my login and tried to login from my Android phone using facebook login but after I entered the credentials Chrome hung with a blank screen and I got this message when I tried to refresh:

This webpage has a redirect loop

The webpage at http://www.nomilkfor.me/auth/failure?message=invalid_credentials&strategy=personal#_=_ has resulted in too many redirects. Clearing your cookies for this site or allowing third- party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your device.

Error code: ERR_TOO_MANY_REDIRECTS

I cleared the browser cache but I still got the same message. Is this a problem with my settings?

Also someone just reported to me that they did not get the confirmation email. I just sent a test email again but after 5 minutes I don't have it (the test email worked for me when I tried it when I installed).

What can be wrong?

Posts: 3

Participants: 2

Read full topic

So, you want to help out with Discourse

$
0
0

Sam Saffron wrote:

People are wondering, how it is they can help out with Discourse.

We have seen some chattering both here and on Github.

I wanted to create a topic @eviltrout , @codinghorror and myself can keep up to date with clear ideas of little projects that would immensely help Discourse.

Ruby projects

  • Improve performance of the topic list page, or topic page
  • Implement more oneboxes (mp3, music from external sources)
  • Implement limits and timeouts on onebox retrieval, we should never suck down more than N bytes when issuing a onebox, we should always time out.
  • Code climate 4.0, we would like to increase our code climate score cause it strongly indicates to less understandable areas of our code, clearer code is a huge win https://codeclimate.com/github/discourse/discourse
  • Help build up the Discourse API gem https://github.com/discourse/discourse_api

JavaScript projects

  • Add more unit tests for our JavaScript (especially the admin section)
  • Refactor our js so its more readable post CoffeeScript migration
  • Add more documentation to our Javascript using YUIDoc
  • Improve rendering performance
  • Keyboard shortcuts just like gmail, with help now completed
  • Markdown help http://meta.discourse.org/t/add-a-link-to-markdown-syntax-in-posts/8791

Mixed projects

  • Share a link to this post dialog should provide a short link option via goo.gl API
  • Editable onebox whitelist (including admin section) currently list of whitelisted urls for oneboxes are hardcoded, some forums may want to amend this.
  • Allow logged on users to associate additional login methods (eg: login with google, then add twitter)

CSS projects

  • CSS diet, see what can be done to cut down on the css rules we have and make it easier to theme Discourse, add classed where needed, eliminate very deep selectors

General stuff:

Fix your favorite bug listed either here: http://meta.discourse.org/category/bug or on Github


If you feel like working on any of the bigger bits, be sure to let us know by replying here. If you want us to add some stuff to the list let us know.

Posts: 20

Participants: 9

Read full topic

Add a custom section for html head

$
0
0

Michael wrote:

Continuing the discussion from WebmasterTools: How to add it?:

After the great additions of "Content -> Top of the pages" and "Content -> Bottom of the pages", would it be possible to add a "Content -> HTML header", which would be added at the end of the HEAD ? Such a section could be used for these kind of integrations.

Posts: 9

Participants: 6

Read full topic

Problem during initialization

$
0
0

Akeme Rofako wrote:

while trying to run the following:

RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ENV=production bundle exec rake db:migrate

I get this error:

rake aborted!
fe_sendauth: no password supplied
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `initialize'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `new'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `connect'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:548:in `initialize'
...
What have I done wrong?

Posts: 16

Participants: 7

Read full topic

Confirmation email problem

$
0
0

A Zeynel wrote:

In Settings, do I need to change notification_email to my own domain? Now it is info@discourse.org. Or is this email sent from discourse.org? Sorry, I am confused.

Posts: 4

Participants: 2

Read full topic

Discourse topics as Google Calendar events

$
0
0

Eero Heikkinen wrote:

I want to have a category where Discourse topics are going to be events. I want to display them on a Google Calendar. What's the best way about going with this?

How to associate dates with topics? Discourse already allows topics to have a close date associated with them. This is pretty nice, as I can store the dates of the events this way. However, not surprisingly, the topics will close when the events start. This is not perfect because I want to be able to discuss past/ongoing events.

How to keep my calendar updated? I guess I could create a plugin and listen to the before_create_post event to create Google Calendar events accordingly. Should ignore all posts except topics created in the category I want. However, if the date of the event is edited after that it's not going to be reflected in the Google Calendar event.

Posts: 2

Participants: 2

Read full topic


Things I should know before installing Discourse

$
0
0

Amit Gupta wrote:

Hi everyone,
This will be bit long post but i will try to be succinct. Currently I am running a LAN only website (accessible to 10.x.x.x, without any domain name) on ubuntu 12.04, enginx, mysql, with wordpress as CMS. Idea is to install Discourse at a web address such as "10.x.x.x/discussions" and integrate it to original comments by wp-discourse. Before i do that i want few clarifications so that i can be sure that I am indeed right on various features.

1- the installation guide at github points out at the issue if users are from local ip. http://meta.discourse.org/t/all-of-my-internal-users-show-as-coming-from-127-0-0-1/6607I am okay if all users are shown as 127.0.0.1, but will it affect any functionality?

2- if anyone has used wp-discourse, does it takes users by default from wordpress users list? i.e my site (instructions to undergrad students for inorganic qualitative analysis) is accessible only to registered users. So will the users have to register only once or do they have to register again for Discourse?

3- if they sign in for the wordpress site will they automatically be signing in for discourse also?

Thats it for now

Posts: 3

Participants: 2

Read full topic

Do Engine-based plugins need to be gems, declared in the Gemfile?

$
0
0

Thomas Smyth wrote:

I noticed Sam's blog plugin doesn't have a .gemspec. But without one I'm getting a strange error:

No such middleware to insert before: Rails::Rack::Logger (RuntimeError)

/Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/stack.rb:125:in `assert_index': No such middleware to insert before: Rails::Rack::Logger (RuntimeError)
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/stack.rb:101:in `swap'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/configuration.rb:65:in `block in merge_into'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/configuration.rb:64:in `each'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/configuration.rb:64:in `merge_into'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/engine.rb:494:in `app'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/application/finisher.rb:34:in `block in <module:Finisher>'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `instance_exec'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `run'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:55:in `block in run_initializers'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:180:in `each'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:54:in `run_initializers'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:215:in `initialize!'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
      from /Users/tomsmyth/Documents/sassafras-local/lena-mamykina/discourse/config/environment.rb:5:in `<top (required)>'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `block in require'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:189:in `require_environment!'
      from /Users/tomsmyth/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:61:in `<top (required)>'
      from script/rails:6:in `require'
      from script/rails:6:in `<main>'

Any ideas??

Posts: 3

Participants: 1

Read full topic

Can't activate or approve users via API

$
0
0

dhyasama wrote:

I'm started a simple Node wrapper for Discourse. The code is open if anyone wants to use it:

https://github.com/dhyasama/discourse-api

Anyway, I can create a user and then get the user, but can't approve or activate the user via the api. I get a 404. FWIW, I can do both via the Discourse admin interface. Here are the calls I make:

PUT admin/users/[id]/approve?api_key=[my-api-key]&api_username=[my-username]

PUT admin/users/[id]/activate?api_key=[my-api-key]&api_username=[my-username]

I took a look at the network traffic in Chrome when doing this within the admin interface and it appears right. I also confirmed the id in the PUT url is the one from the newly created user.

Any ideas?

Posts: 2

Participants: 1

Read full topic

Permissions per topic

$
0
0

David García-Navas wrote:

Would there be any way to assign permissions for a topic, overriding the default permissions inherited by his category?

I was thinking of a plugin to add a button, like when you choose a category that informs you about the permissions by default, and at the same time I would like it to be able to change these permissions.

Since chances are there are going to be too many groups for this, I think I would assign permissions for just one or two groups in the admin section.
For example: a private forum where many categories can be seen and edited by discourseros but with this plugin, some of the topics created in this categories would also be seen by everyone.

Posts: 1

Participants: 1

Read full topic

HTTPS testing at meta.discourse

Is it possible to decline a user?

$
0
0

Tony Meyer wrote:

In a Discourse setup where must_approve_users is set, is it possible to decline a user? I have a user that hasn't been approved (that I can't delete because it was created >14 days ago) but I don't want to approve. I don't see any option for this on that user's page.

(I don't overly care about the user sitting there, but the daily email reminding me about it is annoying. And it would be cleaner to just decline/delete it).

Posts: 3

Participants: 3

Read full topic

How to get notification of all new topics of a category?

$
0
0

Nowindlee wrote:

Can we subscribe a category, that when there is a new topic, we will get a notification here ?

Posts: 5

Participants: 5

Read full topic


Ability to add your public profiles(linkedin, facebook, twitter)

$
0
0

Sidharth Madan wrote:

Ability to add your public profiles(linkedin, facebook, twitter) to your discourse profile.
Quora.com does this in a very neat way.

I think this feature would be really useful for forum moderators/users to show off their credibility. And thus would drive more traffic to any forum that uses discourse.

Posts: 6

Participants: 5

Read full topic

Server underpowered or lack of configuration?

$
0
0

NimS wrote:

Hi,

first of all, thanks for your great job smile

I finally succeed to configure discourse and it's online. But it's very slow.

See what htop show me : https://www.dropbox.com/s/pfyypldh84ox86k/discourse.png (new users can't upload pictures?! what a shame stuck_out_tongue)

here the server's config :

id:	cpu
description:	CPU
product:	Intel(R) Atom(TM) CPU D425 @ 1.80GHz
vendor:	Intel Corp.
physical id:	0
bus info:	cpu@0
version:	Intel(R) Atom(TM) CPU D425 @ 1.80GHz
slot:	CPU 1
size:	1801MHz
capacity:	4GHz
width:	64 bits
clock:	200MHz

id:	memory
description:	System Memory
physical id:	11
slot:	System board or motherboard
size:	2GiB

So, my server is underpowered, or there is something else?
Currently, there are a TS3 server running, 2 websites without big traffic and a (real-cool) IRC bot... I think my server can handle it easily... but why discourse is so guzzler?

Tell me if you need more details about the server's config...

NimS

Posts: 2

Participants: 2

Read full topic

Add some clarity to how to copy/paste a cat >> EOF statement

$
0
0

Watchman Monitoring wrote:

Hi all,

Not sure how best to get the install documents formatted, but this line:

https://github.com/discourse/discourse/blame/bda5fc6596b9ef78cbbc8d3ae56a105712a3df81/docs/INSTALL-ubuntu.md#L28

(it's line 82 as of today's writing)

https://github.com/discourse/discourse/blame/master/docs/INSTALL-ubuntu.md#L82

Isn't clear about what needs to be copied in order to make the cat statement work

Thought I'd put that up here for discussion / review.

Posts: 4

Participants: 3

Read full topic

Category preferences

$
0
0

Sam Saffron wrote:

To date, most of the communities we have run have had very low levels of "interest segregation". Most users have a similar level of interest in most categories.

However, now that http://discourse.mcneel.com/ is picking up steam, this is changing. Some users are VERY interested in "Rhino for Windows" and not at all interested in "Rhino for Mac".

I have been thinking about how we can better accommodate for different interests within a community. To do this I suggest we add per category user preferences.

Here are the options I think we should consider:

Muted category

  • Highest level of suppression, muted categories do not appear in the "new" or "latest" tabs (unless you explicitly started tracking a topic in that category)

Untracked category

  • Medium level of suppression, topics in untracked categories show up in the "latest" list, however don't have the "new" star on them. The do not show up in the "new" tab.

Default category

  • Default (what we do now)

Tracked category

  • Raise the volume, topics in these categories will ALWAYS be tracked regardless of the global setting. Topics in these categories will keep the "new" star on them till you read the topic.

Watched category

  • This is the highest level of volume, same as tracked. ALSO send an email to you whenever a new topic is posted in this category

This leaves 2 questions

  1. Is this too much / too little?
  2. Where will the user enter these settings? UI mocks?

Posts: 51

Participants: 20

Read full topic

Global Gmail style keyboard shortcuts

$
0
0

skisulli wrote:

WIP - Opened Pull Request early to get feedback on design

Related to the following topics (can't link them because I am new on the site)

  • Hotkeys aka Keyboard Shortcuts
  • Keyboard shortcuts?

I would like Discourse to have Gmail style keyboard shortcuts, and have begun implementation using Mousetrap. Below are my proposed shortcuts. The jump to shortcuts have been implemented, but not tested yet.

I am opening this PR early to get feedback on the following:

  1. Best place to organize the code. I currently added a Discourse.KeyboardShortcuts class under components and initialize the bindings on start, after bindDOMEvents

  2. How to best test the shortcuts. I am new to testing Ember and using QUnit, so any feedback or advice on how to best test the keybindings would be appreciated.

  3. The shortcuts themselves, am I missing anything, do they all make sense?

Jump To

  • g then h - Home (Latest)

  • g then l - Latest

  • g then n - New

  • g then u - Unread

  • g then f - Favorited

  • g then c - Categories List

Navigation

  • u - Back to topic list

  • k / j - Newer/Older conversation or post

  • o or Enter - Open selected conversation

  • ` - Go to next section

  • ~ - Go to previous section

Application

  • c - Create a new topic

  • n - Open notifications menu

  • / - Search

  • ? - Open keyboard shortcut help

Actions

  • f - Favorite topic

  • s - Share topic

  • <Shift> + s - Share selected post

  • r - Reply to topic

  • <Shift> + r - Reply to selected post

  • l - Like selected post

  • ! - Flag selected post

  • b - Bookmark selected post

  • e - Edit selected post

  • d - Delete selected post

  • m then m - Mark topic as muted

  • m then r - Mark topic as regular

  • m then t - Mark topic as tracking

  • m then w - Mark topic as watching

Posts: 15

Participants: 6

Read full topic

Viewing all 60739 articles
Browse latest View live




Latest Images