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

Issue with v1.9.0.beta15: column users.email does not exist

$
0
0

@leog wrote:

Hello.

After upgrading to v1.9.0.beta15+135 we are having a problem with the registration of new users. In the logs I could find these two logs while I was trying to register a new user through OAuth2 with the following plugin GitHub - PartidoDigital/Discourse-Auth0-Plugin: A basic OAuth2 plugin for use with Discourse.

I’ll bet the plugin needs some fixes for a DB schema that could have changed in the latest releases. Before upgrading I had the beta13 I think.

Thanks a lot in advance.

Warning:
Clear Active Record cache cause schema appears to have changed!

Error:

LINE 1: SELECT "users".* FROM "users" WHERE "users"."email" = 'xxxx...
^
: SELECT "users".* FROM "users" WHERE "users"."email" = 'xxxxxx@gmail.com' ORDER BY "users"."id" ASC LIMIT 1)
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.7/lib/patches/db/pg.rb:90:in `async_exec'```

Posts: 4

Participants: 2

Read full topic


Site broken even in safe mode

$
0
0

@pfaffman wrote:

This site is returning a 500 error. I’ve rebuilt several times. I finally tried safe-mode and it comes up, but after I click the “enter safe mode” button, the 500 error returns.

Only cakeday and spoiler alert are installed.

Started POST "/safe-mode" for 107.206.118.212 at 2017-12-11 22:57:34 +0000
Processing by SafeModeController#enter as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"++3T6uLPglnLQdkB4w1V19R0QDwOcRvOYRu4n7X+hTnsnIClvQEYynOyTBxaM1Rl6L82JcBxfK7SYHtaIWCzJQ==", "no_customizations"=>"true", "only_official"=>"true", "no_plugins"=>"true", "commit"=>"Enter Safe Mode"}
Redirected to https://community.yellowandblack.online/?safe_mode=no_custom%2Cno_plugins%2Conly_official
Completed 302 Found in 2ms
Started GET "/?safe_mode=no_custom%2Cno_plugins%2Conly_official" for 107.206.118.212 at 2017-12-11 22:57:34 +0000
Processing by ListController#latest as HTML
  Parameters: {"safe_mode"=>"no_custom,no_plugins,only_official"}
  Rendering list/list.erb within layouts/application
  Rendered list/list.erb within layouts/application (1.4ms)
  Rendered layouts/_head.html.erb (0.3ms)
  Rendered common/_discourse_stylesheet.html.erb (0.1ms)
  Rendered common/_special_font_face.html.erb (0.1ms)
  Rendered application/_header.html.erb (0.2ms)
  Rendered common/_discourse_javascript.html.erb (1.0ms)
Completed 500 Internal Server Error in 32ms (ActiveRecord: 9.4ms)
ActionView::Template::Error (access_key_id)
/var/www/discourse/lib/s3_helper.rb:194:in `check_missing_site_options'

Posts: 2

Participants: 2

Read full topic

Log out all users via API

$
0
0

@typeoneerror wrote:

I’ve built a Discourse integration for our product that allows SSO with our product to a Discourse install. When a user is signed out on our app, I’m doing an API-backed POST via the log_out API. Is there a way to log all users out or change settings remotely? If our user disconnects the Discourse integration, I’d love to nullify their custom SSO settings and sign out all users without having to do 100s of POST requests.

Posts: 4

Participants: 2

Read full topic

Thrashing with 1.8GB plus 3GB swap

$
0
0

@schungx wrote:

I have discovered a problem.

I have a bunch of forums all running absolutely fine on 1vCPU 3.5GB RAM VMs.

Based on previous discussions, it seems that 1GB plus swap is adequate to run a low volume forum.

So I experimented by moving a number of forums to 1.8GB RAM plus 3GB SSD swap VMs.

They ran fine for a while with basically zero swap usage. Then suddenly out of the blue they started thrashing. Swap usage shot up to 60% with low CPU % and the web server because non responsive.

Rebooting doesn’t help. It immediately started thrashing again.

So I ended up moving them back to the high RAM sizes.

Since the situation persists thru reboots, I suspect it has something to do with sidekiq or redis…

Posts: 4

Participants: 2

Read full topic

Compare Discourse and other systems

$
0
0

@xiasummer wrote:

I want to build a communication for a small group of about 15 people. You see this is a very small group which makes it not so suitable for having a forum system like discourse although Discourse can certainly do the job.

And I want the system to have some Project Control Features, maybe discourse have some plugins for this.

So I checked the odoo system, which is a very classical ERP system and find this picture on this page

  • It seems that discourse and odoo are both very unpopular. Why is that?

  • And what about the Jommla and Drupal?


And I checked the most popularity of CRMs

So why is that Discourse is not ranking well in this list?

Posts: 5

Participants: 5

Read full topic

Urgent Contact email-address doesn't appear on the admin's about page

$
0
0

@crazyhorse wrote:

I entered an email address for urgent contacts in the set-up wizard. It doesn’t appear on the about-page, there is a link to my wp-website instead.

How do I make the email address appear there?

Posts: 3

Participants: 2

Read full topic

2 questions about WP Discourse

$
0
0

@hanks wrote:

Is there any way to make an SSO link redirect to an URL with an anchor? I’m using Wordpress as a SSO client.

http://example.com/?discourse_sso=1&redirect_to=http://example.com/welcome#anchor
will redirect to
http://example.com/welcome#anchor?sso=fddsgsfzqefefsdfs or something like that… So that’s not working.

Other question: is it possible to automatically log out from Wordpress when we log out from Discourse (still using Wordpress as an SSO client), the same way as Discourse disconnects automatically when logging out from Wordpress when using Wordpress as an SSO provider?

Posts: 4

Participants: 3

Read full topic

What method is used by Discourse to identify urls in post body

$
0
0

@Sudaraka wrote:

What method is used by Discourse to identify urls in post body and make it clickable?. I tried going through the codebase. But still no luck.

Posts: 7

Participants: 4

Read full topic


Change to using %{inviter_name} in locale files may have broken email templates

$
0
0

@pacharanero wrote:

I’m not entirely sure when I did my last update (so I don’t know when this issue started), but I was contacted by one of our moderators today to say that some of the people she’d invited recently had messaged her to say that the invitation read just:

translation missing: en.invite_forum_mailer.text_body_template

I hadn’t changed my mailing templates for some weeks so I had to do a bit of research on Meta, and turned up this thread which suggested that the templating system will reoprt this error if it can’t find the right key in the locale files.

When I looked at and did some test edits on my email templates, I got the error:

image

And I know that %{invitee_name} has only just been changed to %{inviter_name} because I reported it as an issue and I saw the commit last week:

So if you are getting weird locale/translation missing errors on your invitations it could be caused by this. It’s easily fixed by changing %{invitee_name} to %{inviter_name} in all your invite templates (‘Invite Forum Mailer’, ‘Invite Mailer’, ‘Custom Invite Forum Mailer’, and ‘Custom Invite Mailer’).

It may only affect people who have edited their stock invite templates, as I have.

I’m on v1.9.0.beta15 +167

Posts: 4

Participants: 4

Read full topic

Discourse 1.9.0.beta16 Release Notes

$
0
0

@jomaxro wrote:

New features in 1.9.0.beta16

Disable Mentions

We’ve heard feedback from different communities that want to limit the notifications that are generated. Previously, there was no way to disable mentions on your community, which is a common source of notifications. We added a new site setting to allow site owners to globally disable mentions if they want.

Live Reply Indicators

A few months ago we added “someone is replying” indicators to the composer thanks to @David_Taylor. Now we’ve expanded the indicator to display at the bottom of the topic, before you even open the composer.

New Translation Languages

We added Catalan as a new language option in Discourse. To help translate Discourse to your language, visit https://www.transifex.com/discourse. If your language is not yet supported, see How to add a new language.

Moderation History

Discourse tracks staff actions in the staff actions log. We now allow you to quickly see actions taken on a specific user or post via the moderation history button in the admin menu.

Paste plain text table as Markdown table

Ever tried to copy a spreadsheet into Discourse to find that you just get plain text? No longer! We now support pasting tables from common spreadsheet programs like Excel, Numbers, and Libre Office and generating a Markdown table.

image

Admin API Rate Limits

Nearly every action that can be taken via Discourse is rate limited. One exception was the admin API. The user API (used by the Discourse Mobile app) was limited, but the admin API (generated via the admin page) was not. We now limit the Admin API to 60 request per minute per key to ensure sites don’t DoS themselves via the API.

Plugin improvements

All Official Plugins

  • Transifex Integration. Plugins can now be translated in Transifex, so you can work on plugin translations alongside core translations.

Saved Searches

  • Search result limit increased from 5-20

Canned Replies

  • Minor layout adjustments for new composer style

Onebox

Assign

  • Archive tab added for assigned PMs

Data Explorer

  • Bug fix

Push Notifications

  • Support old routes for browsers that have not unregister the old service worker

Additional Features and Fixes

Click to expand

New Features

  • Optional default off global per ip rate limiter
  • Add global rate limiter for admin api 60 per minute
  • New site setting show_inactive_accounts
  • Convert plain text emails to markdown
  • Replace SimpleRSS with Ruby RSS module
  • Convert HTML to Markdown while pasting in composer - default disabled.
  • Adds poll_allow_staff_to_create
  • Introduces minimum trust level for polls
  • Link to meta release notes tag in version release email text
  • Log clicks on full page search
  • Support search click through tracking for user, category and tags

Bug Fixes

  • Save registration_ip_address for staged users logging in via social auth
  • Wasn’t able to use the same username when taking over a staged account
  • View was getting rendered twice for rate limiting error
  • Translation for site setting enable_rich_text_paste
  • Prevent ‘rack.input’ missing error.
  • Replace curly quotes to regular quotes in search terms
  • Topic#featured_link may contain more than a URL.
  • Strip webhook payload_url
  • ‘redirect_to :back’ is deprecated
  • Remove other whitespaces except the line intents
  • Keep all the indenting in the text
  • Pasted text removing if server unable to parse HTML to Markdown
  • Rendering %lt;/div noscript in header
  • Remove mentions filters from user and groups
  • Choices input layout bug in IE11
  • Rescue if default_current_user_provider raised an error
  • Don’t show the email from the suspension on the user profile
  • Only show the full suspension reason on the admin side
  • Current_user should be called only if controller have that method
  • Image pasted twice when it copied from browser
  • Topic timer offset applied two times
  • Spam posts get blocked, not silenced
  • Load balanced servers do not share monotonic clock
  • Handle CORS in hijacked requests
  • Composer preview-area plugin layout
  • Logging in after an anon :heart: does not count the :heart:
  • Don’t show trust level if the API didn’t return it
  • Desktop notifications weren’t formatting the username
  • Adjusted the composer preview to avoid odd scroll issue
  • Script for pulling translations ignored exit code
  • Update translations job was aborting at discourse-presence
  • Correctly print html entity when used in a locale for none
  • IE compatability issue in clipboard data types array
  • Makes sure we have polls before validating
  • Global event variable is not compatible with all browsers
  • Drive spreadsheet table not converting to Markdown table
  • Broken variable
  • Staff should always be allowed to create polls if they are enabled
  • Don’t create featured link if title includes more than a url
  • Removing horizontal scrollbar in category modal
  • Disappearing tag input border on hi-res devices/when scaling
  • Mobile composer layout for PMs
  • Resolve from URL when using /new-topic route
  • Regression around rate limiter
  • Correct use of invitee vs inviter in email templates
  • Topic#featured_link_root_domain extracts URL before parsing.
  • Don’t include null class when rendering the pinned dropdown
  • Reply to tab was not using the username formatter
  • Skip pasting files if plain text available in clipboard
  • Export admin reports to csv would have 0 rows in the csv file
  • Allows select-kit to search by null value
  • Composer not properly centered in IE11
  • Flexbox composer issue in IE11, bad flex-shrink default
  • Translation for “destroy_reasons.same_ip_address”
  • Positining of search spinner in tablet-sized viewports
  • Do not give any element focus when creating topic
  • Password required flag should be cleared whenever clearing the raw password
  • Extraneous mobile CSS, flagged badge color in dropdown

UX Changes

  • Mobile user profile button adjustment
  • Cleaning up staff counters on user profiles
  • Making button on advanced search page match input height
  • Cleaning up user profiles on mobile
  • Clearer ‘user left PM’ system message
  • Replacing some PX font definitions with EM based units
  • Add link to “Moderation History” to flagging interface
  • Removing staff highlight from .name so it only applies to .user-title
  • Add a class name to target the embedded post controls
  • Eliminating a “sweet spot” at 870px viewport where the topic-body exceeds 690px wide
  • Iconize compose reply title
  • New style for staff highlight
  • Use the same 404 page for the unknown route and exception handler
  • Mobile post control button color was too specific, overriding solved plugin
  • Add onebox favicon styling in email
  • Updating the edit post title layout
  • Fixing code highlighting color issue in dark themes
  • Add new classes to make user creation more targetable
  • Adjustments to composer uploading message
  • Hiding composer preview reduces width of composer overlay
  • Removing an old font declaration

Performance

  • Improve speed of rate limiter

Posts: 2

Participants: 1

Read full topic

Composer appears when the topic is closed

Set up CA Flowdock notifications using the discourse-chat-integration plugin

$
0
0

@maja wrote:

This #howto describes how to set up the Flowdock provider included in discourse-chat-integration.

Install

If you haven’t already, install the discourse-chat-integration plugin.

Setup CA Flowdock

  1. Create a new Flowdock developer application: fill in the name, description and check Shortcut application

  2. Open the Flowdock flow (room) you’d like to send notifications to

  3. Go to Inbox -> Add Integrations and select an app you’ve just created

  4. Create a source for the flow - it will generate a flow token, you’ll need it later on

Setup Discourse

  1. In your site settings, enable the chat integration flowdock enabled setting

  2. Go to the Plugins tab, then Chat Integrations

  3. Go to the Flowdock tab, and click Add Channel

  4. Paste the flow token that you copied earlier, then click Save Channel

  5. Use the Test button on the channel you just created to check that everything’s working. You should see something like this in the inbox feed of your Flowdock flow:

54

And the whole thread when you open it:

01

  1. Setup some Rules for your channel, according to the discourse-chat-integration instructions.

  2. :confetti_ball:

Posts: 1

Participants: 1

Read full topic

How to allow users to post right away with no roadblocks

$
0
0

@lkramer wrote:

Hi all. What settings do you set to allow users to post right away with no moderation/approval etc neeed?

Our forum involves become a paid member via our main site and then you get access to the forum via SSO. We really want to encourage members to introduce themselves right away. And since they’ve paid to become members, there’s not much risk them being spammers.

(I’m sure this is answered somewhere in this forum but I couldn’t find the right search phrase apparently.)

Thx!

Posts: 4

Participants: 3

Read full topic

This website blank when interface language = eo

$
0
0

@kazcw1 wrote:

I discovered this on the Rust Users forum and was told this was probably your bug. Sure enough, it’s also reproducible here on meta.discourse, so I’ve copy pasted it from my original post on Rust-Users:

In the settings for my original account on this forum, I set my interface language to Esperanto. Ever since, the website is blank when I’m logged in to that account – the title bar loads, and view source shows a bit of html with some javascript, but the page appears entirely white. I have tried it in: Firefox Nightly on Linux, Firefox 56.0 on Linux, Firefox Nightly on Android. The only way I can get back to this forum is by deleting cookies to log out from that account. I hadn’t used the account for anything yet, so it’s no real loss if I can never get back in to it, but I don’t think Esperanto should be a language option if choosing it means banishment :smiley:.

I see there are some other bug reports here with the same observable behavior, but those are all fixed, so I guess this has a different cause.

Posts: 2

Participants: 2

Read full topic

Do you have original customisations?

$
0
0

@HAWK wrote:

I’m seeing more and more uniquely customised Discourse implementations around and it’s fantastic.

I’d love to build up a list so that people can see what is possible.

If you have customised your community in a way that is unique, please post a link along with a description of what you have done (and how, if you’re willing to share that). Examples might be customised navigation, banner posts, footers, promo spots etc.

Note: Please only contribute to this topic if you have done something unique to your forum – if not then feel free to post in this general directory topic.

Posts: 1

Participants: 1

Read full topic


Mark all topics as solved specific category

$
0
0

@jordan1909 wrote:

We are using the Discourse Solved Plugin on our installation.

Recently we have been filtering topics to get to a 100% answered rate (for our purposes). I have set up a script that adds some items to the homepage to display items that are unanswered (/latest?solved=no). The problem however is I can’t filter this to remove staff objects etc.

Is there any way to mark all topics in a specific category as solved? Or is there a way to filter by specific categories here? Such as /latest?solved=no&category=XXX&category=YYY

Posts: 2

Participants: 2

Read full topic

Help installing Discourse for Developer

$
0
0

@EdgarC wrote:

Hello,

I was Installing the Discourse Dependencies and packages to my system, but I didn’t know that this will require about 7gigs of my hdd. I’m not sure if the installation is successful because in the process I was getting messages about that my computer is running out of space.

My computer has only 1gig free now and I’m not sure If I can continue with the installation locally.

How can I proceed with this installation?

Thank you!

Thank you

Posts: 3

Participants: 3

Read full topic

Auto-remember "topic details" open-closed state

$
0
0

@Tumbler wrote:

Could not find out how to do this, but what I would like is that the “topic details” box remembers its state when I walk around in the Discourse eco system.

afbeelding

Each time I read a topic, I start by opening the “topic details” box, so I can assess how active the posting has been on the topic. However this needs to be done for every topic I read.

Open Topic -> Click “topic details” -> read along
Open Topic -> Click “topic details” -> read along
Open Topic -> Click “topic details” -> read along
Open Topic -> Click “topic details” -> read along
Open Topic -> Click “topic details” -> read along
Open Topic -> Click “topic details” -> read along

into

Open Topic -> Click “topic details” -> read along
Open Topic -> Topic details is open -> read along
Open Topic -> Topic details is open -> read along
Open Topic -> Topic details is open -> read along
Open Topic -> Topic details is open -> read along
Open Topic -> Topic details is open -> read along -> close topic box
Open Topic -> Topic details is closed -> read along

This could be done as:

  • User preferences
  • Cookie or session state (just remember what I did on my last topic)

I do not think this is a general Discourse setting, It is just a user thing - some will prefer it like this others like that.

Ok, tell me what you think! (This is my first Discourse post ever!)

Posts: 1

Participants: 1

Read full topic

Frequent Posters - click to highest liked post in topic

$
0
0

@Tumbler wrote:

I detected a fair lot of topics on the subject of voting/QandA/rank per like… but I could not find this proposed implementation. (I might have missed it…)

Would this proposed “dual glyph, jump to max liked post in thread” stand make any chance?
How complex would such an overlay glyph be? And could it be done as a plugin?

(I’m not after a sort-per-like thing, the order of the posts can stay as is, I just want to be able to jump to the most liked post from the Frequent Posters bar)

Posts: 2

Participants: 2

Read full topic

Mailing list mode sends mail to not approved users

$
0
0

@green525 wrote:

We are running v1.9.0.beta16 and have the following settings enabled:

  • login required
  • must approve users
  • default email mailing list mode

When a new users registers, (s)he receives a validation mail. After successful validation the user is in the approval queue. As the user is not yet approved, I’d expect the user not to get knowledge of any of the forum’s contents.

While the user cannot login via the web interface, (s)he does receives email notifications for new posts.

At least this does not match my expectations.

I’d expect that new posts are only sent out to approved users having “mailing list mode” on if “must approve users” is enabled.

Thanks for looking into that,
André

Posts: 2

Participants: 2

Read full topic

Viewing all 60642 articles
Browse latest View live




Latest Images