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

Help me to fix my OSX Development installation of Discourse

$
0
0

Roberto_Pezzali wrote:

Hello, I'm trying to install on my Macbook with Mavericks Discourse in Development Mode.

I don't follow the whole istructions because I already have Rails + PG + Ruby installed, but something goes wrong.

1) I clone the Discourse Git repository
2) I install ruby-turbo
3) I install with Brew Redis and PhantomJS
4) I create db

For PostGres I use PostgresApp with my user.

If I try to launch Discourse (after migrate/bundle with rails s) everything goes fine, Discourse is running on my system in developmens mode.

If I launch RSPEC tests I have about 35 errors: I don't know why.

My main issue is with Postgres of course: I install Discourse on my Mac because I need to adjust the forum2discourse gem to migrate my mysql forum.

I fork the gem, I modify the gem and I add the gem to the Gemfile using git "call".

But if try to launch the rake file for migration I have an error: fatal role 'discourse' does not exist

I think is something related to pg.

Someone can help me to fix errors in tests and the issue with rakefile?

Posts: 4

Participants: 2

Read full topic


Permission inconsistency and others

$
0
0

Tempest wrote:

So in categories.json the permission value for every section is always null.

{
  "id": 1,
  "name": "bug",
  "color": "e9dd00",
  "text_color": "000000",
  "slug": "bug",
  ...
  "permission": null
}

However in the JSON stored in the HTML the values are correct.

{
  "id": 1,
  "name": "bug",
  "color": "e9dd00",
  "text_color": "000000",
  "slug": "bug",
  ...
  "permission": 1
}

Also what is can_create_topic supposed to represent? I noticed it's value is always true when I access a category's JSON eg. I loaded category/blog.json and I can't post under there but the value is still true.

"topic_list": {
    "can_create_topic": true,
    ...
  }

The draft system doesn't seem to be working(at least not for topics). Upon refreshing this page my draft wasn't loaded into the composer.

I noticed under the networks tab in Chrome there was a POST request to draft.json containing my post title and contents.

This (below) also showed up when I accessed categories.json however when I refresh the page the draft is not loaded into the composer. The draft is also still there (in categories.json) when I refresh the page.

"draft": "{\"reply\":\"So in <code>categories.json</code> the <code>permission</code> value for every section is always null.\\n\\n    {\\n      \\\"id\\\": 1,\\n      \\\"name\\\": \\\"bug\\\",\\n      \\\"color\\\": \\\"e9dd00\\\",\\n      \\\"text_color\\\": \\\"000000\\\",\\n      \\\"slug\\\": \\\"bug\\\",\\n      ...\\n      \\\"permission\\\": null\\n    }\\n\\nHowever in the JSON stored in the HTML the value is 1.\\n\\n    {\\n      \\\"id\\\": 1,\\n      \\\"name\\\": \\\"bug\\\",\\n      \\\"color\\\": \\\"e9dd00\\\",\\n      \\\"text_color\\\": \\\"000000\\\",\\n      \\\"slug\\\": \\\"bug\\\",\\n      ...\\n      \\\"permission\\\": 1\\n    }\",\"action\":\"createTopic\",\"title\":\"Permission inconsistancy\",\"archetypeId\":\"regular\",\"metaData\":null}",
"draft_key": "new_topic",

There weren't any errors under the console when I opened the composer or loaded the forum.

Weird thing is I tried the draft system on another Discourse forum and it worked fine there. I noticed on that forum the composer pops out with the draft but here the composer doesn't do that.

Thanks

Posts: 2

Participants: 2

Read full topic

Is it better for Discourse to use JavaScript or CoffeeScript?

$
0
0

Sam Saffron wrote:

Religion aside:

# Decision Time - Rob Conerys Blog

# Decision Time - Rob Conerys Blog

What is better for Discourse, CoffeeScript or JavaScript?

Notice, I am not particularly interested in personal preferences here.

I am interested in quality and frequency of potential contributions and long term sustainability of our platform.

We are using a hybrid CoffeeScript platform.

jQuery, JavaScript
Ember.js JavaScript
Most our stuff: CoffeeScript

Posts: 53

Participants: 34

Read full topic

Post editing timeout

$
0
0

finid wrote:

Not sure if there is an option on the admin end to set a time after which a post cannot be changed or edited. In other places, I've seen a limit of 5 minutes.

Is any dev able to clarify this?

On the same note, is it possible for an author to delete his/her post? I sure hope not.

Posts: 7

Participants: 5

Read full topic

No page title in Chrome's "Most Visited" area

$
0
0

swanson wrote:

Screenshot:

Chrome Version 28.0.1500.95 m
Windows 7

The RubyRogues Parley site does not display a page title in Chrome's "Most Visited" area (one of the options for what shows in a blank tab). Not sure if there is someone on Discourse's end that can be done to fix this.

Posts: 11

Participants: 6

Read full topic

All categories drop down does not close after clicking on first menu "all categories"

$
0
0

Dev wrote:

I am not sure if the community agrees that this is a bug or usability issue, however, I noticed that clicking on "all categories" from drop down in expanded state does not close the dropdown.

To reproduce, expand "All Categories" dropdown and then click on "all categories"

You will notice that the pop up window does not close.

Posts: 1

Participants: 1

Read full topic

Migrating forum: problem with IP screening

$
0
0

Roberto_Pezzali wrote:

I'm migrating to Discourse my custom php forum, and I noticed that IP screening stop a huge amount of posts being imported.

I'm using forum2discourse gem with some customization.

Any solution to bypass this problem?

Posts: 1

Participants: 1

Read full topic

Need someone to fix a topic in my discourse install that won't load for moderators. Will pay

$
0
0

Philip Bradley wrote:

You can see some of the history of this over here:

But I just would really like to figure out what I did to this topic to cause it not to load for me.

A solution I would be happy with: just resetting all the hide / flag / etc options on the topic so that it shows up as if no one ever "moderated" anything.

Posts: 3

Participants: 2

Read full topic


Not able to add the topic to Favorite list for already read topics

Upgrade to Ruby 2.1.0?

$
0
0

Lee_Ars wrote:

So Ruby just bumped their stable to 2.1.0—should us brave souls with nothing better to do for X-mas week try to upgrade, or should we hang back until @sam & co. take some time to examine the potential impacts?

I'm ready to pull the trigger because I'm crazy like that, but wanted to at least check in first.

Posts: 2

Participants: 2

Read full topic

Expanding to drive mailing lists

$
0
0

Bob Watson wrote:

If this is the evolution of the discussion forum - is it possible that a later plugin API (or even core feature) would be able to expand to driving discussion email lists to replace our crusty old listservs?

Posts: 25

Participants: 13

Read full topic

Problem upgrading (role discourse does not exist)

$
0
0

Juan Manuel Formoso wrote:

I'm getting this error upgrading to the latest version. Any ideas? I've never had any problem upgrading before

FATAL:  role "discourse" does not exist
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `initialize'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `new'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:831:in `connect'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:548:in `initialize'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `new'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_handling.rb:79:in `retrieve_connection'
/home/despegar/.rvm/gems/ruby-1.9.3-p392/gems/activerecord-4.0.2/lib/active_record/connection_handling.rb:53:in `connection'
/home/despegar/discourse/lib/site_settings/db_provider.rb:61:in `table_exists?'
/home/despegar/discourse/lib/site_settings/db_provider.rb:10:in `all'
/home/despegar/discourse/lib/site_setting_extension.rb:121:in `block in refresh!'
<internal:prelude>:10:in `synchronize'

Posts: 5

Participants: 2

Read full topic

Option to suppress repeated categories on drill down

$
0
0

Sam Saffron wrote:

When I click on a category I am assaulted visually with this screen:

LOOK HERE

LOOK HERE

LOOK HERE

Wouldn't it be much nicer if we just suppressed this and instead showed:

Should this be an option?

Should this simply be the default?

In the past we used to have a similar suppression and people complained, I think in the ember forum, yet I find the current state of affairs far from appealing

Posts: 8

Participants: 4

Read full topic

Private replies that only admins can see

$
0
0

Shiv Kumar wrote:

What do you think about the idea of allowing forum admins/moderators to reply in-line within a topic with a private post that is only viewable to other admins/moderators?

The use case here is that a customer creates a topic about, let's say, a bug in our product. We'd like to discuss this bug internally before replying to the user with our solution. Currently, this is done in email chains or Hipchat or something like that. Ideally, we'd like to have this private conversation right in the topic so any other admins can quickly get caught up to speed in one place. The ability to create private posts within a topic would solve this problem.

Posts: 6

Participants: 3

Read full topic

How to force ID on TopicCreator? (migrating from another forum)

$
0
0

Roberto_Pezzali wrote:

I'm working hard to complete the migration of my forum to Discourse. After several hours of tweaks to forum2discourse gem I finally completed the migration.

I have now only a huge problem: SEO. Topics ID of my old forum are different from topics ID of Discourse. I'm trying to force ID overriding attributes_protected_by_default method in topic class but it doesn't work.

@sam here you plan to insert something to keep tracking of previous ID, any news in this direction? Or can you give me an hint to force the ID on TopicCreator ?

Posts: 3

Participants: 2

Read full topic


This made me think of you

More discoverability for emoji

$
0
0

Mait wrote:

When emoji popup trggered, three keys - Tab, Enter, Right - complete current highlighted emoji.

How about using Right key as 'expand selectable emoji`?

I know I can select any emoji if I guess first character for the emoji. But as not native english speaker, sometimes quite hard imagine proper word for certain image that popped up in my head. Or just wanna looking for what emoji are available.

  • ':' trigger default 5 emoji
  • 'Right' expand 5 to n (20? 30?)

or,

  • 'Right' change default 5 emoji popup to category select popup.
    • feelings
    • objects
    • places
    • animals
    • ...

Posts: 1

Participants: 1

Read full topic

Act on topics from list view

$
0
0

Bill Ayakatubby wrote:

Continuing the discussion from Broken Front Page:

Below is my original suggestion:

But @codinghorror is right: Mods especially will probably need a way to act on groups of topics, and the concept of hover tools only scales to one. There's always the good old check-box. Even Google uses them in Gmail, right there next to the star. Perhaps, after checking some topics, a new toolbar rolls down from underneath the masthead (<header/>) dock with appropriate actions: favorite and flag for regular users, delete and unflag for mods.

Posts: 6

Participants: 3

Read full topic

Create Account dialog has an ambiguous layout

$
0
0

Ben Lubar wrote:

It's hard to tell at first glance whether the descriptions go with the input above or below them. Also, the first description references the third description but calls it "name", which is the label of the first input, not the third.

Posts: 28

Participants: 8

Read full topic

How to use dropdown_button_view

$
0
0

Dev wrote:

I am new to both Ember and Ruby (though I know programming in PhP, Java, and javascript and know MVC)
I want to replace the horizontal nav-pills which display (Latest/ New/Favorites/Categories) on the home page with a dropdown button.

Can somebody give me an example of how I can do this?

Posts: 1

Participants: 1

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images