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

Create custom flags

$
0
0

Nathan Rijksen wrote:

We use discourse over at http://komodoide.com and I often find myself wanting to "assign" someone to a support thread. Right now I often reply and simply mention them, but this is not ideal.

Ideally I'd like to use the "flag" functionality to give it a custom flag that I could create myself, eg. "needs support with frontend". I could imagine this functionality being very useful for a variety of Discourse implementations.

Posts: 3

Participants: 3

Read full topic


Activation no longer works

$
0
0

Jakob Borg wrote:

I upgraded my docker installed discourse from 0.9.9.12 to 0.9.9.12 (3368e23 now, not sure what it was before) and activation no longer works.

The forum is configured with login_required.

Clicking the link in the activation mail gets you to the "Activate your account" page as it should, but pressing the "Activate" button there brings you back to the "This discussion forum requires an account to view" page and not to the "Your account has been activated" page. (Strings from memory, but I hope the pages I mean are clear).

Any logs etc that are relevant to debug this?

Edit: turning off login_required makes Activation work again

Posts: 4

Participants: 2

Read full topic

Installing discourse heroku db:migrate error

$
0
0

Kevin Krolicki wrote:

I have been trying to install discourse on my local using the following guide https://github.com/discourse/discourse/blob/master/docs/install-HEROKU.md .

I got to the step of "heroku run rake db:migrate db:seed_fu" and get this error:

 "rake aborted!
(eval):1: syntax error, unexpected tFLOAT, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
define_singleton_method :54.243.253.145 do
                               ^
(eval):1: no .<digit> floating literal anymore; put 0 before dot
define_singleton_method :54.243.253.145 do
                                ^
/app/lib/site_setting_extension.rb:236:in `eval'
/app/lib/site_setting_extension.rb:236:in `setup_methods'
/app/lib/site_setting_extension.rb:111:in `block (2 levels) in refresh!'
/app/lib/site_setting_extension.rb:110:in `each'
/app/lib/site_setting_extension.rb:110:in `block in refresh!'
/app/lib/site_setting_extension.rb:97:in `synchronize'
/app/lib/site_setting_extension.rb:97:in `refresh!'
/app/config/initializers/05-site_settings.rb:3:in `block in <top (required)>'
/app/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:30:in `block in each_connection'
/app/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:28:in `each'
/app/vendor/gems/rails_multisite/lib/rails_multisite/connection_management.rb:28:in `each_connection'
/app/config/initializers/05-site_settings.rb:1:in `<top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245:in `load'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245:in `block in load'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245:in `load'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:587:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:587:in `block in <class:Engine>'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:30:in `instance_exec'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:30:in `run'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:55:in `block in run_initializers'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:54:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:54:in `run_initializers'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:136:in `initialize!'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in `method_missing'
/app/config/environment.rb:5:in `<top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:103:in `require_environment!'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:205:in `block in invoke_prerequisites'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:203:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:203:in `invoke_prerequisites'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:183:in `block in invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
Tasks: TOP => db:migrate => environment"

I can't find anything on the web regarding this error. I have tried going into that file and just put the ip address as a string (not sure if that is what I am supposed to do) , but then I get another error

rake aborted!
undefined method `enable_long_polling' for #<Class:0x007faf157a1e78>
/app/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.12/lib/active_record/dynamic_matchers.rb:55:in `method_missing'
/app/config/initializers/04-message_bus.rb:26:in `<top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245:in `load'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245:in `block in load'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245:in `load'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:587:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/engine.rb:587:in `block in <class:Engine>'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:30:in `instance_exec'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:30:in `run'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:55:in `block in run_initializers'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:54:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/initializable.rb:54:in `run_initializers'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:136:in `initialize!'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in `method_missing'
/app/config/environment.rb:5:in `<top (required)>'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236:in `load_dependency'
/app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `require'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:103:in `require_environment!'
/app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.12/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:205:in `block in invoke_prerequisites'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:203:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:203:in `invoke_prerequisites'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:183:in `block in invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/app/vendor/bundle/ruby/2.0.0/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
Tasks: TOP => db:migrate => environment

Did not know where to go from there, I need help.

Thank you

Posts: 2

Participants: 2

Read full topic

Fa-spin, revisited - Chrome

$
0
0

PJH wrote:

Continuing the discussion from Classes are not being sanitized in cooked markdown:

I think this is more CSS than bakery, but..

Edit: I'm sure a URL might be of use... http://what.thedailywtf.com/t/html-tag-abuse-thread/1269/213?u=pjh

First discovered on Android 4.3, Chrome 35.0.1916.141, mobile view, I still have some fa-spinny-ness. PNG instead of GIF, but I think you get the gist of which bits were moving:

Desktop view was similar.

Couldn't reproduce on desktop Chrome 31.x (Linux). but noticed the version was a bit old so updated to 35.0.1916.153. Reproducible on that version (desktop view). Spinny-ness reproduced:

35.0.1916.153

Inspect element:

animation: spin 2s infinite linear; seems to have been cancelled (not that Chrome seems to recognise it anyway,) but -webkit-animation: spin 2s infinite linear; appears to be still live. Unchecking it in the inspector stops the spin.

Posts: 6

Participants: 3

Read full topic

Badges: Request for reason field on manual badge assignment

$
0
0

PJH wrote:

Request for a "Reason field" for manually awarded badges.

Use case: I'd like to say why someone's a special snowflake, or link to the post where they failed to get the joke, or describe the bug that they found, or why they got one of the more positive sounding badges I'll no doubt come up with given some thought....

Not sure how the UI would actually show the reason and how it would fit in with the current screens however...

Posts: 1

Participants: 1

Read full topic

Auto-close scheduling by # of days instead of # of hours

$
0
0

David McClure wrote:

When auto-closing topics, I almost always want to set it for some number of days... We've adopted the practice established here on meta where bug topics are auto-closed 1-3 days after they are fixed (I usually leave a few more days for the weekend if its toward the end of the week).

However, I often find myself forgetting to multiply by 24.

Leaving it in hours is more flexible, but is it that useful? Anyone else here using auto-close to close topics in < 24 hours?

I'd like to see an integer treated as a number of days... folks with specific timing needs can still enter a full timestamp.

Another enhancement might be to have the number default to the last number used.

This is just a niggle, not a burning issue in the race to v1...

Posts: 10

Participants: 6

Read full topic

Jobs::ProcessPost unable to process

$
0
0

PJH wrote:

Admin required to access most of the URL's here.

First, I'm not sure if this is even a 'problem' as such....

Brief Description: http://what.thedailywtf.com/t/sidekiq-investigation/1581

It seems <img a="data:...... is causing problems for Jobs::ProcessPost.

URL above attempts to de-construct a short post that has had repeated failures with each post in the format.

From: post concerned

`backtick enclosed` copy of what is being tested

raw copy of the stuff above

---
Generated:

<ProcessPost error, where applicable.>

Two of the three (first, second) caused more errors. <img a="data: appears to be what they have in common.

Posts: 2

Participants: 2

Read full topic

Can't change topic sub-categories of the same name

$
0
0

Brad Huber wrote:

We have a forum related to multiple theme park resorts, where each one has its own category. Each category has similar sub-categories like "Hotels" or "Tickets".

The bug comes in when a Topic was created under Theme Park A - Hotels, and should be under Theme Park B - Hotels. However, when using the in-place ajax editor for the category and title, selecting the themepark B related subcategory for "Hotels" doesnt update the category.

It looks like the issue is that subcategories arent listed by id, but rather by name, and dont carry any info about parent category? The form submission data looks like:

title:Suggestion to get to Contemporary from Art of Animation at 9:30 am?
category:Hotels and Lodging

regardless of which "Hotels and Lodging" sub-category is chosen. Is there a way to make the form submit categories by id, rather than name? Or should we find some way to not have duplicate sub-category names (which seems like it would be a normal use case)?

Posts: 3

Participants: 2

Read full topic


Request: Easily insert fa-icons in posts

$
0
0

PJH wrote:

I'd like some way of being able to include fa-icons within posts themselves.

With some of the potential avenues of abuse that have been fixed recently, there appears to be no way, currently, of doing so.

Ideally, it'd be nice to use the syntax Font Awesome themselves recommend, or at least something close to it:

<i class="fa fa-gavel"></i> fa-gavel - fa-gavel

<i class="fa fa-ban red"></i> fa-ban - fa-ban

But failing that, any sort of markup that will allow - at least - selection of icons. Colour even better..

Posts: 9

Participants: 5

Read full topic

No Verification Email After Installation

$
0
0

Sam wrote:

After successfully installing Discourse on Ec2 AWS and launching, I tried to sign up, and it said it sent a verification email that I need to click on, but no verification emails, and no it is not in junk. Note I am using a hotmail email, will it work?

Posts: 2

Participants: 2

Read full topic

Need help installing SSL Cert

Oneboxes have images without dimensions

$
0
0

Sam Saffron wrote:

Oneboxes, like

Have images without dimensions, this means that if you load a topic that has one of these puppies the whole topic "jiggles" while loading.

Our image "grabber" should not bypass oneboxed images and should always at least grab dimensions. Otherwise oneboxes really muck with render pipeline.

Also missing here AND hotlinking image ^^^

Posts: 1

Participants: 1

Read full topic

Hello Bar integration issues

$
0
0

Manoel Lemos wrote:

Gents, I'm using an very interesting tool to drive traffic across the different destinations of my community. One destination is the discussion forum running Discourse and other is the blog running WordPress.

This tool is called Hello Bar and it is basically a bar that stays in the top of the site and links to other places or can be used to collect emails or social networks followers. It worked fine when I added the bar to my Wordpress Blog, but it failed (a bit) when added to my Discourse forum.

You can check the two situations here:

The error is that the Discourse page was suposed to be pushed down by the Hello Bar, but it isn't being fully pushed down. Then the layout is broken.

Can anyone help me with this?

Posts: 5

Participants: 2

Read full topic

Improving pinned topic excerpts

$
0
0

Sam Saffron wrote:

Our current pinned topic excerpt algorithm leaves much to be desired.

And

It basically takes all the words in the post that fit in the first 220 chars, strips formatting, mushes them them together and TADA.

This leaves moderators little to no control over what is displayed in the excerpt and can lead to a cluttered view.

Instead I would like to simplify the algorithm to:

Take all the words in the first paragraph (P), up to 220 length. Don't cut words halfway through.

This will give moderators way better control and assist in cleaning up the topic lists where pinned topics are involved.

Thoughts?

cc @PJH

Posts: 5

Participants: 3

Read full topic

Badge Groupings

$
0
0

Sam Saffron wrote:

We have the following badges for V1 but they have no sane groupings:

Basic User
Regular User
Leader
Elder
Reader
Read Guidelines
First Link
First Quote
First Like
First Flag
First Share
Welcome
Autobiographer
Editor
Nice Post
Good Post
Great Post

I would like to organize this badge page in some sane way and introduce a grouping concept:

A possible order could be:

Getting Started

Read Guidelines
First Link
First Quote
First Like
Autobiographer
Reader
First Share
Welcome

Posting

Nice Post
Good Post
Great Post

Trust Level

Basic User
Regular User
Leader
Elder

Other

all other badges that are user defined.

I need copy for the title of the group, and list of badges in the group.

(within each group I plan to order by badge level, bronze first, and dictionary order second)

Posts: 1

Participants: 1

Read full topic


Are there any high level design docs?

$
0
0

Del Boy Trotter wrote:

Hi

Are there any design type docs for the discourse system? Basically I'd like to get a really high level view of how everything clicks together - are there any class diagrams or ERD type diagrams?

Cheers

Posts: 2

Participants: 2

Read full topic

Security rebake doesn't touch edits

$
0
0

We don't need no stinkin' names! wrote:

Basically as stated - on forums with public edit history, you can still XSS yourself by viewing edit history of a post that contained an exploit.

Posts: 2

Participants: 2

Read full topic

Google Analytics started complaining of invalid code

$
0
0

ljpp wrote:

Just logged into Google Analytics to have a look, and there was this kind of an alert (bell logo on top-right corner)

Missing Tracking Code
Page kiekko.ninja for property kiekko|ninja is missing valid tracking code.

The tracking seems to be operational though.

Posts: 1

Participants: 1

Read full topic

Bug in UploadValidator

$
0
0

Jens wrote:

Damn, I messed up with Git, so I'm taking this from Github to here.

There's a tiny bug in the UploadValidator which will raise a NoMethodError when being fed certain invalid data: a filename without an extension. This usually doesn't happen because the buggy codepath is not executed when such files are actually allowed and the frontend doesn't pass uploads without an extension on to the backend when they aren't allowed, but I ran into it while importing attachments and avatars from an old (SMF2) forum.

--- a/lib/validators/upload_validator.rb
+++ b/lib/validators/upload_validator.rb
@@ -5,7 +5,7 @@ module Validators; end
 class Validators::UploadValidator < ActiveModel::Validator

   def validate(upload)
-    extension = File.extname(upload.original_filename)[1..-1]
+    extension = File.extname(upload.original_filename)[1..-1] || ""

     if is_authorized?(upload, extension)
       if FileHelper.is_image?(upload.original_filename)

Posts: 6

Participants: 3

Read full topic

Twitter problems

$
0
0

Ova Light wrote:

This is happening when I am trying to log in via twitter. Any ideas on why is it happening or how to solve it? Thanks for reading.

Posts: 6

Participants: 3

Read full topic

Viewing all 60599 articles
Browse latest View live




Latest Images