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

Running Discourse under IIS with HeliconZoo

$
0
0

4 posts

adam8797 wrote:

Has anyone tried to install Discourse under HeliconZoo? Right now I'm running it on my Windows server with HyperV and Ubuntu, but I would like to get away from that if possible.

I'm going to give it a shot, and I'll report back. However, if someone has already tried this please let me know so that I don't go and waste a few solid hours getting frustrated at Windows (because that never happens... smile).


Improper or incomplete favicon

Total posts does not match up to post count

How to change to this theme

Problems to install application

$
0
0

4 posts

Victor Oliveira (victoriboli) wrote:

Hello, I'm getting a "stack level too deep" error during rake db:migrate, even with bundle exec... any ideas? I'm relatively new to rails.

rake db:create works fine.

Using ruby-2.0.0-p247 on a Mac OSX Mavericks.

Show Desktop Notifications when available

$
0
0

7 posts

Kane York (riking) wrote:

Gmail has this cool thing where when you get a new email, a notification will pop up on your screen.

two notifications on Mactwo notifications on Ubuntu Linux

The Javascript API is documented in multiple places:

The W3C spec:
https://dvcs.w3.org/hg/notifications/raw-file/tip/Overview.html
What's actually implemented in Chrome:
http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification

Also, I found this 'experimental' Firefox addon to add support for them:
https://addons.mozilla.org/en-US/firefox/addon/android-desktop-notif/
It is supported in Firefox: https://developer.mozilla.org/en-US/docs/WebAPI/Using_Web_Notifications

I think it would be cool if one of these happened whenever the number on the notification icon changes - i.e. before the email notification gets sent out. This lets me get notified 'more instantly' and even avoid the notification email if I want to go check out what it was.

In fact, as I was writing this, the number went from 0 to 1. It really would be nice to have these popups with their short descriptions of what it is smile

The list of bookmarked posts is hard to find

$
0
0

4 posts

Rory O’Kane (roryokane) wrote:

As a new user on Try Discourse, I bookmarked a post in the middle of a topic to read later, then opened Try Discourse on another computer and tried to return to that post. But I had a hard time locating the list of posts that I have bookmarked. I think the list should be moved, or have clearer links pointing to it.

On the original computer, I wanted to open a post with a YouTube video on another computer, since that didn’t have speakers. I clicked the bookmark icon in the bottom right of the post and confirmed by hovering that it was bookmarked. On the new computer, after arriving at the home page and logging in, I looked for the bookmark icon (the one represented by span.unread in code). I saw it next to Unread at the top, so I tried clicking that. But that list had nothing to do with my bookmarked posts; it just said that I had no unread topics. I went back to the home page and scrolled a bit down the page, but realized that there was no other controls further down that might link to bookmarks. Then I guessed that I might see my bookmarks by clicking the notifications speech balloon in the top right of the site. But the only thing listed there was the welcome mail from the admin. Finally, I tried clicking “view older notifications” in that pop-up panel. On the resulting Activity page, I finally saw Bookmarks listed on the left. I saw that I could click the bookmark in the All list, or click Bookmarks to filter the list to show only my bookmarks.

I don’t think the list of bookmarks belongs in the Activity section. An Activity log has an air of permanance about it. An action I did in the past is immutable. I can add a new event reversing something, but I can’t delete the original event. At least, that’s the way I understand the concept of Activity from Stack Exchange sites. However, bookmarks do not have that property. When you visit a post and un-bookmark it, the “bookmarked” action disappears, and the bookmarks section even disappears from the sidebar on the left.

What bookmarks do have in common with activities is that they happen at a specific time, and are often tied to a specific post. But their fundamental difference in permanence makes it too confusing for them to share a page with past actions.

I think the best solution would be to move the list of bookmarks to the Unread page, in a separate section of the page, since Bookmarks and Unread use the same icon, and are indicated by the same button on posts. The Unread section also contains a list of posts with times (I think; it’s hard to check), so bookmarks would fit right in. The Unread section doesn’t have any particular expectations of permananence or transitiveness, so bookmarks don’t clash with expectations in that way.

(I couldn’t check if someone posted about this already, because search doesn’t work for me anywhere. After I type search terms, the spinner just spins forever.)

Does trust level already influence what a user gets to see?

$
0
0

4 posts

Pekka Gaiser (pekka) wrote:

I have a new user in the forum. I want them to be able to see most categories but not all. There is the option of having moderators and non-moderators but a more fine-grained approach would be better long term.

To do that, I did this:

  • Set the user to level 2 in the user dialog

  • Added a rule "trust_level_2" can see/edit/create topics to all categories I want them to see

However, when I log in as the user, they don't seem to be seeing any categories.

Is this not implemented yet? I understood from this that it should work.


How to "sell" Discourse as mailing list replacement?

$
0
0

3 posts

Qwertie (qwertie) wrote:

It's obvious enough to me that discourse is better than a mailing list, but not everyone is convinced. Here's what someone said to my suggestion of having a discourse forum for the Rust programming language:

FYI, I've used a Discourse forum, and I've found it rather obnoxious.
Much prefer the PHPBB or OSQA approach.

Mailing lists are, IMO, better (e.g., gpg works, attachments work,
direct messaging comes built in).

What would you say to that?

Categories no longer showing counts - a bug?

$
0
0

24 posts

Nicholas Smith (Nicholas) wrote:

The "New" category tab isn't showing a count, but when I click on "New" I see there are topics listed. Is this a bug?

Forum acts weirdly after client side updates

$
0
0

1 post

Sam Saffron (sam) wrote:

Continuing the discussion from Categories no longer showing counts - a bug?:


We deploy new versions of the site quite often that involve client side changes however fail to notify or refresh clients. This leads to all sorts of random and weird behavior. To resolve.

  1. If you ever navigate from one page to another and we detect you have an old version of the site, fallback to a full page load.

  2. If we detect you are running an old version of the site, show a message asking you to refresh (after a certain time buffer)

How to make login form auto popup without click it

Thoughts on immediate login pre-email confirmation?

$
0
0

7 posts

Patrick (patrick) wrote:

A user hits the forum, wants to jump in, then, of course, needs to register. Upon completing the registration, however, they are prompted to confirm their email before being able to do anything on the forum as a user, such as editing their profile.

I completely understand the reasons for this, however I think there is big value in being able to allow a user in immediately, with their email needing to be confirmed in, say, 24 hours. Having them leave the forum, swing over to their email, then back to the forum seems like an easy way to turn people off returning....I like the idea of letting them in right away, while we have their attention.

Any thoughts on how to go about implementing this?

I (apparently?) mentioned "me"

$
0
0

1 post

Patrick (patrick) wrote:

I think I might have come across a glitch or error. See attached grab.

Amending current user logic in Discourse

$
0
0

5 posts

Sam Saffron (sam) wrote:

I just added a couple of classes that allow you to override the way we lookup the current user. This is particularly important to people looking to integrate using cookie auth from a top level domain.

Essentially you can elect a provider for the current user functionality, to do so:

Implement a class that inherits off:

class Auth::CurrentUserProvider

  # do all current user initialization here
  def initialize(env)
    raise NotImplementedError
  end

  # our current user, return nil if none is found
  def current_user
    raise NotImplementedError
  end

  # log on a user and set cookies and session etc.
  def log_on_user(user,session,cookies)
    raise NotImplementedError
  end

  # api has special rights return true if api was detected
  def is_api?
    raise NotImplementedError
  end

  # we may need to know very early on in the middleware if an auth token
  # exists, to optimise caching
  def has_auth_cookie?
    raise NotImplementedError
  end

  def log_off_user(session, cookies)
    raise NotImplementedError
  end
end

If you just feel like extending the current behavior, inherit off Auth::DefaultCurrentUserProvider , this allow you to run special code when a user is logged on or off and so on.

To wire your own provider, run

Discourse.current_user_provider = MyCurrentUserProvider

This is way cleaner and more predictable than monkey patching.


Lockitron's version of discourse has tons of rendering issues

$
0
0

2 posts

Luke Foust (lfoust) wrote:

My first real world interaction with Discourse has been on the Lockitron community site and it seems to have a lot of issue rendering. Specifically when replying to a topic it doesn't render/draw correctly unless I scroll around. I am using the same browser (Chrome) to compose this and everything is working great. Is there something wrong with there installation? Do they need to update to a newer version?

Is anybody else able to repro? Just try to reply to any topic and you should see the issue.

Is there a way to change the "owner" of a forum?

$
0
0

2 posts

happycollision wrote:

I don't think "owner" is the proper name, but I set up a forum for someone and now I am getting lots of people asking me questions because they see my username in the PM they get when they first sign in.

I have literally nothing to do with the forum other than initially setting it up and doing updates every now and again.

Is there a way to hand that message over to the site's actual administrator?

New subcategory visual style mockup

$
0
0

14 posts

Kane York (riking) wrote:

Here's something I hacked together in Chrome's inspect element/developer console:

<td class="category">
  <span class="badge-category" style="background-color: #e9dd00; color: #000000; padding: 5px 7px;"><a href="/category/bug" class="badge-category" title="Bug reports on Discourse. Do be sure to search prior to submitting bugs. Include repro steps, and only describe one bug per topic please." style="
    padding-left: 0;
    color: #000000;
">bug</a><a style="
    background-color: green;
    padding: 2px 3px;
    /* font-size: 90%; */
" class="badge-category">complete</a>
</span>
</td>

I think that this - including the parent category name - would help for several workflows, not the least of which is that shown above (bug tracking).

I was prompted to do this by the wart in this topic:

[REL] Cheat Mod by kristof1104

Hi Everyone, I got bored and decided to make a cheat mod for Game Dev Tycoon. Using the mod to cheat will prevent your savegame from getting corrupt. Features: version 0.1.1 - Add Money - Add Research Points - Add Fans - Add Dream Team ( Fill your team with Expert Teammembers) version 0.1.2: - Move To Final level ( Hardware and RnD lab included) version 0.1.3: - Ability to add AAA research version 0.1.4 - Move in Time function, you can now goto any date in the game. Version 0...

See that [REL] in the title there? Yeah. That's ugly. I think it would be better if they could use a category like this:

(Modding: Release as opposed to "Modding: discussion", etc.)

We should probably have some subcategories here on Meta to do testing of the codepaths for subcategories...

For example, the "bug: open" and "bug: complete" categories featured above, where "bug: complete" has permissions of everyone can reply/see. (Actually, does that forbid moving topics into the category? I'll test and report back...)

Sidekiq not running

$
0
0

11 posts

stellarhopper wrote:

I just updated to latest-release, and I got a warning in the admin console saying sidekiq isn't running.
On looking at the log:

2013-12-03T02:08:33Z 29913 TID-5gak4 INFO: [Sidetiq] Sidetiq v0.4.3 - Copyright (c) 2012-2013, Tobias Svensson <tob@tobiassvensson.co.uk>
2013-12-03T02:08:34Z 29913 TID-5gak4 INFO: [Sidetiq] Sidetiq is covered by the 3-clause BSD license.
2013-12-03T02:08:34Z 29913 TID-5gak4 INFO: [Sidetiq] See LICENSE and http://opensource.org/licenses/BSD-3-Clause for licensing details.
2013-12-03T02:08:34Z 29913 TID-5gak4 INFO: [Sidetiq] Sidetiq::Supervisor start
2013-12-03T02:08:34Z 29913 TID-dhxuc INFO: [Sidetiq] Sidetiq::Actor::Clock id: 22673240 initialize
2013-12-03T02:08:34Z 29913 TID-dhfcs INFO: [Sidetiq] Sidetiq::Actor::Handler id: 22649260 initialize
2013-12-03T02:08:34Z 29913 TID-dhxuc WARN: [Sidetiq] Can't link Sidetiq::Actor::Clock. Sidekiq::Manager not running. Retrying in 5 seconds ...
2013-12-03T02:08:34Z 29913 TID-dhfcs WARN: [Sidetiq] Can't link Sidetiq::Actor::Handler. Sidekiq::Manager not running. Retrying in 5 seconds ...
2013-12-03T02:08:34Z 29913 TID-dh7wg INFO: [Sidetiq] Sidetiq::Actor::Handler id: 22639640 initialize
2013-12-03T02:08:34Z 29913 TID-6306k INFO: [Sidetiq] Sidetiq::Actor::Handler id: 10222660 initialize
2013-12-03T02:08:34Z 29913 TID-648x4 INFO: [Sidetiq] Sidetiq::Actor::Handler id: 10272260 initialize
2013-12-03T02:08:34Z 29913 TID-dh7wg WARN: [Sidetiq] Can't link Sidetiq::Actor::Handler. Sidekiq::Manager not running. Retrying in 5 seconds ...
2013-12-03T02:08:34Z 29913 TID-6306k WARN: [Sidetiq] Can't link Sidetiq::Actor::Handler. Sidekiq::Manager not running. Retrying in 5 seconds ...
2013-12-03T02:08:34Z 29913 TID-648x4 WARN: [Sidetiq] Can't link Sidetiq::Actor::Handler. Sidekiq::Manager not running. Retrying in 5 seconds ...
2013-12-03T02:08:37Z 29913 TID-dhxuc INFO: [Sidetiq] Sidetiq::Actor::Clock id: 22673240 shutting down ...
2013-12-03T02:08:37Z 29913 TID-dhfcs INFO: [Sidetiq] Sidetiq::Actor::Handler id: 22649260 shutting down ...
2013-12-03T02:08:37Z 29913 TID-dh7wg INFO: [Sidetiq] Sidetiq::Actor::Handler id: 22639640 shutting down ...
2013-12-03T02:08:37Z 29913 TID-6306k INFO: [Sidetiq] Sidetiq::Actor::Handler id: 10222660 shutting down ...
2013-12-03T02:08:37Z 29913 TID-648x4 INFO: [Sidetiq] Sidetiq::Actor::Handler id: 10272260 shutting down ...
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: Error fetching message: Error connecting to Redis on localhost:6379 (ECONNREFUSED)
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:278:in `rescue in establish_connection'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:273:in `establish_connection'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:69:in `connect'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:292:in `ensure_connected'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:179:in `block in process'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:258:in `logging'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:178:in `process'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:84:in `call'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:167:in `block in call_with_timeout'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:232:in `with_socket_timeout'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis/client.rb:166:in `call_with_timeout'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis.rb:1039:in `block in _bpop'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis.rb:36:in `block in synchronize'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /home/discourse/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis.rb:36:in `synchronize'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis.rb:1036:in `_bpop'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-3.0.5/lib/redis.rb:1081:in `brpop'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/redis-namespace-1.3.2/lib/redis/namespace.rb:330:in `method_missing'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.15.1/lib/sidekiq/fetch.rb:89:in `block in retrieve_work'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/connection_pool-1.1.0/lib/connection_pool.rb:49:in `with'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.15.1/lib/sidekiq.rb:67:in `redis'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.15.1/lib/sidekiq/fetch.rb:89:in `retrieve_work'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.15.1/lib/sidekiq/fetch.rb:34:in `block in fetch'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.15.1/lib/sidekiq/util.rb:15:in `watchdog'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.15.1/lib/sidekiq/fetch.rb:30:in `fetch'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-2.15.1/lib/sidekiq/fetch.rb:41:in `block (2 levels) in fetch'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
2013-12-03T02:09:02Z 15222 TID-17gtt8 ERROR: /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
2013-12-03T02:09:02Z 15222 TID-e2ozk WARN: {:context=>"Sidetiq::Handler#dispatch"}
2013-12-03T02:09:02Z 15222 TID-e2ozk WARN: Error connecting to Redis on localhost:6379 (ECONNREFUSED)

Any suggestions?

Site loading with no assets

$
0
0

16 posts

Greg M (arkeon) wrote:

I changed permissions on my assets folder to 777 so I could scp a new favicon from my local machine. Upon changing it back, not only does the favicon not show up, but nothing will show up. The strange thing is that it periodically shows up and then doesn't. I posted this yesterday, and then it showed up again so I thought it was a temporary thing and asked for the post to be deleted. Now it has disappeared again. Any ideas?

design.arkreactor.com

Viewing all 60721 articles
Browse latest View live




Latest Images