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

About the announcements category

$
0
0

@erlend_sh wrote:

(Replace this first paragraph with a brief description of your new category. This guidance will appear in the category selection area, so try to keep it below 200 characters. Until you edit this description or create topics, this category won’t appear on the categories page.)

Use the following paragraphs for a longer description, or to establish category guidelines or rules:

  • Why should people use this category? What is it for?

  • How exactly is this different than the other categories we already have?

  • What should topics in this category generally contain?

  • Do we need this category? Can we merge with another category, or subcategory?

Posts: 1

Participants: 1

Read full topic


Display "Similar To" earlier if we have an exact title match

$
0
0

@sam wrote:

At the moment, we hold off on doing a similarity search for topics till there is a minimal amount of text in the body of a topic.

This has 2 flaws:

  1. If there is an exact title match we do not display it early (you may only find out after save)

  1. If there is an exact title match we are not even guaranteed to find it

I think we should leave a special magical spot for “exact topic title match” at the top of the similar dialog and even try to get it there earlier if possible as soon as you tab out of the title.

Regardless it saves people time cause if they have dupe title to start with, either

  1. The title is pretty bad and needs to be fixed
  2. Its actually a duplicate

Posts: 1

Participants: 1

Read full topic

Set up Rocket Chat notifications using the discourse-chat-integration plugin

$
0
0

@David_Taylor wrote:

This #howto describes how to setup the Rocket.Chat provider included in discourse-chat-integration.

Install

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

Notifications

Set up Rocket Chat

Your Rocket Chat server needs to be accessible from your Discourse server in order to connect them. It is recommended that you use HTTPS, but HTTP should also work.

  1. Log in to your Rocket Chat server, click your name in the top left, then click Administration

  2. Under Integrations, click New Integration

  3. Choose Incoming Webhook

  4. Fill out the form to define how you want your bot to look inside Rocket Chat. Under “Post to Channel”, you can enter any channel name (e.g. #general). This will be overridden by Discourse, so it doesn’t matter which.

  5. Set “Enabled” to “True”

  6. Save Changes

  7. Copy the “Webhook URL”, you’ll need it later

Setup Discourse

  1. Paste the URL you copied into the chat_integration_rocketchat_webhook_url site setting

  2. Enable chat_integration_rocketchat_enabled

  3. Setup some “Rules” for your channels, according to the discourse-chat-integration instructions. Channel identifiers look like #general or @davidtaylor.

  4. Click Test on one of the channels to check everything’s working. You should receive a message like this:

  5. :rocket:

Posts: 1

Participants: 1

Read full topic

Groups might not be recognised with the MyBB Importer

$
0
0

@Azareal wrote:

A continuation of a discussion in the installation section relating to the MyBB Importer.

The importer currently checks the names of the super mod and admin groups literally, but this’ll fail to detect an admin / super mod, if these groups are renamed by the administrator or the administrator creates their own custom admin / super mod groups.

I wrote some instructions on how to fix the bug in the discussion above (in short, check the flags on the group to tell what type of group it is), but I’m not too familiar with Ruby, and don’t have an environment at the ready to test in, so I’m posting this instead.

Edit: I forgot there was a feature to fork discussions :flushed:

Posts: 2

Participants: 2

Read full topic

Deactivating a user causes account to be deleted?

$
0
0

@InspektorCluzo wrote:

Possibly I don’t understand the FSM for deactivation.

We recently deactivated a user twice, because, for some reason, they seemed to have a problem with forget pwd, and we sent two reactivation emails.

The second time, the account disappeared altogether – it appears to have been somehow auto-deleted. We are able to create a new account with the same account name and the same email address as the previous one.

What am I misunderstanding about deactivation?

Posts: 13

Participants: 4

Read full topic

Good hosting support for Docker that accepts bitcoin?

$
0
0

@Ham wrote:

Curious is anyone has a good hosting provider that accepts bitcoin for a decent rate?

Posts: 1

Participants: 1

Read full topic

[PAID-job] Plugin to list "unanswered topics"

$
0
0

@nixie wrote:

Hi,

I’m looking for a discourse plugin expert to create a plugin for me.

Currently I’m doing this manually

  1. Find the list of “topics with zero posts”
  2. I have a pinned topic with title “Unanswered topics”. In this topic, I edit the first post and then update the URLs of “topics with zero posts” there.
  3. I do this manually every day.

I’d like to automate this using a plugin.

Posts: 3

Participants: 3

Read full topic

How do I register a public asset in a plugin?

$
0
0

@awole20 wrote:

Forgive me if this has been asked before, but I am unable to find a previous topic on this.

I’m wondering how to register an asset as public (such as an image) through a discourse plugin - it seems currently after registering, I get a 404 or 302 response when installing under a private member’s only site.

This is in reference to the Discord oauth plugin I built - I am unable to retrieve the image either directly, or through a register_asset call.

How would I go about serving static plugin assets in this case?

Posts: 3

Participants: 2

Read full topic


How do I view the Edit History?

$
0
0

@kgreed wrote:

I edited a post and the previous text seems to have disappeared. How do I find the edit history? I have searched the help for “history” and explored the buttons near the post.

Posts: 2

Participants: 2

Read full topic

Welcome Emails not Disabled

Auto-clear flags older than 90 days

$
0
0

@codinghorror wrote:

Discourse is designed to be self-managing, insofar as communities are empowered to…

  • flag and auto-hide problematic / offensive / against ToS content
  • flag and auto-hide spam
  • flag and auto-block new problem users
  • enough outstanding flags in a topic auto-close that topic (for 8 hours)
  • users can reach trust level 3 so all titles and categories are editable, plus they gain additional flag weight on new users and spam

… such that someone could install Discourse, then walk away for 5 years, and nothing bad will happen. *

And for the most part this theory of self-managing communities, or at least communities assisting with their own management, works. We haven’t seen any communities degrade irreparably due to lack of admin / staff attention. If you are aware of any Discourse instances where this is a problem, please let us know so we can take a look!

However – flags, if never handled by staff, just keep piling up literally forever. If a staff member logged in 3 years later they would potentially arrive to see a rather daunting flag count, in the hundreds.

image

So, assuming the automatic community flag handling is working well enough to avoid any critical day to day problems, we think it’s safe to have all flags automatically defer themselves after 90 days by default on all Discourse instances. If no staff member has handled a flag by then, it’s likely to never be handled by staff, and whatever effect it had on the user / topic / post has already happened… so it can be deferred. This will of course be a site setting, so if you want flags to hang around for years, you can set that up.

So,

  1. Does this sound reasonable to you as a default? Remember the goal is to have super-safe defaults.

  2. Are there any ways we can improve our automatic community based flag handling to be less reliant on staff being around long term?

As an example of #2, do remember trust level 3 flag perks. When flagging an item as spam, TL3 users immediately hide that content. Additionally, TL3 flags weigh heavily in auto-blocking TL0 users.

* Assuming someone is keeping Discourse patched and up to date, but that’s a different topic. Yes, we do need to eventually build completely automatic updates!

Posts: 1

Participants: 1

Read full topic

Details block and polls block are conflicting

$
0
0

@jomaxro wrote:

Over at Stonehearth we’ve got a user with a fairly extensive topic. He’s been updating it for 8 months now. The topic was started before the commonmark update, and has been updated since. He’s running into an issue because he put a [/details] block on the same line as a [/poll]. The details block no longer works (as it expects to be on it’s own line), and attempts to move it to it’s own line results in

You cannot add, remove or rename polls after the first 5 minutes.

Relevant section of topic:

[details=New job idea: Painter]
**Painter has become reality!**
I am thinking about making a job called painter. I would have the weaver make canvas, carpenter make a frame and let the herbalist make paint. With all that together the painter would make paintings.
Thank you all for voting and if you havent and still want to go ahead. But i can announce that i am working on the painter so stay tuned for updates!


[poll public=true]
* I want the painter!
* Its a nice idea but i am not gonna use it.
* Bad idea
[/poll] [/details]

Posts: 1

Participants: 1

Read full topic

Unable to start sidekiq, load_missing_constant

$
0
0

@Jen_Lijo wrote:

I am trying to start bundle exec sidekiq and it’s failing. I need help debugging this.

The app is up to date and I haven’t seen anyone mentioning this issue. I haven’t updated the gems. I’ve uninstalled the Plugin I was developing in case it was provoking it to crash (it was drawing a route) but I keep getting the same error.

Does this have something to do with my local Ruby (as it’s complaining from my .rvm folder about Unable to autoload constant Version) or is it related to my local app (it says it’s expecting Discourse to define Version)?

Logs look like this:

➜  discourse git:(master) ✗ bundle exec sidekiq
2017-08-24T05:24:15.125Z 8881 TID-ovgo0oyhk INFO: Booting Sidekiq 5.0.3 with redis options {:host=>"localhost", :port=>6379, :namespace=>"sidekiq", :id=>"Sidekiq-server-PID-8881", :url=>nil}
/Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:495:in `load_missing_constant': Unable to autoload constant Version, expected /Users/jlijo/Documents/discourse/lib/version.rb to define it (LoadError)
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/active_support.rb:53:in `block in load_missing_constant'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/active_support.rb:6:in `with_bootsnap_fallback'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/active_support.rb:53:in `load_missing_constant'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:184:in `const_missing'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:261:in `const_get'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:261:in `block in constantize'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:259:in `each'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:259:in `inject'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/inflector/methods.rb:259:in `constantize'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
	from /Users/jlijo/Documents/discourse/config/initializers/100-sidekiq.rb:19:in `block (2 levels) in <main>'
	from /Users/jlijo/Documents/discourse/config/initializers/100-sidekiq.rb:18:in `each'
	from /Users/jlijo/Documents/discourse/config/initializers/100-sidekiq.rb:18:in `block in <main>'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/rails_multisite-1.0.6/lib/rails_multisite/connection_management.rb:126:in `block in each_connection'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/rails_multisite-1.0.6/lib/rails_multisite/connection_management.rb:124:in `each'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/rails_multisite-1.0.6/lib/rails_multisite/connection_management.rb:124:in `each_connection'
	from /Users/jlijo/Documents/discourse/config/initializers/100-sidekiq.rb:17:in `<main>'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `load'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:268:in `block in load'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:268:in `load'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/engine.rb:652:in `block in load_config_initializer'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/notifications.rb:166:in `instrument'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/engine.rb:651:in `load_config_initializer'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/engine.rb:615:in `each'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/engine.rb:615:in `block in <class:Engine>'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/initializable.rb:30:in `instance_exec'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/initializable.rb:30:in `run'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/initializable.rb:55:in `block in run_initializers'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/initializable.rb:44:in `each'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/initializable.rb:44:in `tsort_each_child'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:415:in `call'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:415:in `each_strongly_connected_component_from'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:347:in `each'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:347:in `call'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'
	from /Users/jlijo/.rvm/rubies/ruby-2.4.0-turbo/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/initializable.rb:54:in `run_initializers'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/application.rb:352:in `initialize!'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/railtie.rb:194:in `public_send'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/railties-4.2.9/lib/rails/railtie.rb:194:in `method_missing'
	from /Users/jlijo/Documents/discourse/config/environment.rb:5:in `<main>'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/bootsnap-1.0.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:274:in `block in require'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:240:in `load_dependency'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/activesupport-4.2.9/lib/active_support/dependencies.rb:274:in `require'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/sidekiq-5.0.3/lib/sidekiq/cli.rb:254:in `boot_system'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/sidekiq-5.0.3/lib/sidekiq/cli.rb:54:in `run'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/gems/sidekiq-5.0.3/bin/sidekiq:12:in `<top (required)>'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/bin/sidekiq:23:in `load'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/bin/sidekiq:23:in `<main>'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/bin/ruby_executable_hooks:15:in `eval'
	from /Users/jlijo/.rvm/gems/ruby-2.4.0-turbo/bin/ruby_executable_hooks:15:in `<main>'
➜  discourse git:(master) ✗

Posts: 2

Participants: 2

Read full topic

Where can I change the site setting for code formatting style?

$
0
0

@rmdawson71 wrote:

In the following link, there was a comment that stated “Okay, we now have a site setting for this: code formatting style” and then it showed the following screenshot:


My question is how do I get to the admin configuration section that allows me to change the code formatting style option. If someone can post a link to the documentation discussing this, that would be fine too. I searched but could only find a reference to it in the post (click on the following link and read the very last post.

Thanks in advance…

Posts: 2

Participants: 2

Read full topic

Installing to stable hash commit

$
0
0

@Henti_Smith wrote:

Good day.

I need to recreate my current production environment in a staging instance to allow testing changes before applying it to live.

My process so far is as follows.

sudo mkdir /var/discourse
sudo git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
git reset --hard docker_git_commit_hash
# Copy the exist app.yml from production.
sudo cp /tmp/discourse-backup/app.yml containers/app.yml
# Duplicate a specific version of discourse, use the git commit hash
sudo sed -i 's/^  #version: .*$/  version: discourse_git_commit_hash/g' containers/app.yml
sudo ./launcher bootstrap app
sudo ./launcher start app

This rebuilds the correct image and setups up discourse with the correct commit version, however it’s on the beta branch, so I cannot upgrade to latest stable as I would in production.

So my options right now is either setting the version to stable, in which case it’s the incorrect version of discourse, or set the correct version of discourse, but then it’s on the incorrect branch.

How do I set the version to a specific commit, but on the stable branch ?

Regards
Henti

Posts: 1

Participants: 1

Read full topic


Translated email is sent in English

$
0
0

@meglio wrote:

I translated “Custom Invite Forum Mailer” email template found by the following URL:

/admin/customize/email_templates/custom_invite_forum_mailer

However, when I invite a user, the email is still being sent in English.

What might be the reason?

Posts: 1

Participants: 1

Read full topic

OAuth2 Authorization and Resource Server

$
0
0

@bekce wrote:

Hello there, I have created a standalone ready-to-run OAuth2 Authorization Server with Discourse SSO support for your needs. I believe it will be useful for some people.

Please give it a star if you like it, thanks!

Posts: 1

Participants: 1

Read full topic

Can't restore backup

$
0
0

@Seighten wrote:

I originally had discourse installed on google could, but I was having issues with them. I am now attempting to move to a new host, I had everything set up and when I tried to restore the backup it fails. I don’t know if this is because I am updating to a newer version of discourse or if it is because I used the bitnami version at first. The google cloud site broke when I tried to update it and I haven’t been able to fix it. All I have is the 1.8.4 version backup

This is the beginning of the error log:

[2017-08-24 23:10:53] [STARTED]
[2017-08-24 23:10:53] 'Seighten' has started the restore!
[2017-08-24 23:10:53] Marking restore as running...
[2017-08-24 23:10:53] Making sure /var/www/discourse/tmp/restores/default/2017-08-24-231053 exists...
[2017-08-24 23:10:53] Copying archive to tmp directory...
[2017-08-24 23:10:53] Unzipping archive, this may take a while...
[2017-08-24 23:10:53] Extracting metadata file...
[2017-08-24 23:10:53] Validating metadata...
[2017-08-24 23:10:53]   Current version: 20170824172615
[2017-08-24 23:10:53]   Restored version: 20170526125321
[2017-08-24 23:10:53] Extracting dump file...
[2017-08-24 23:10:53] Restoring dump file... (can be quite long)
[2017-08-24 23:10:54] SET
[2017-08-24 23:10:54] SET
[2017-08-24 23:10:54] ERROR:  unrecognized configuration parameter "idle_in_transaction_session_timeout"
[2017-08-24 23:10:54] ERROR:  current transaction is aborted, commands ignored until end of transaction block
[2017-08-24 23:10:54] ERROR:  current transaction is aborted, commands ignored until end of transaction block
[2017-08-24 23:10:54] ERROR:  current transaction is aborted, commands ignored until end of transaction block

Posts: 7

Participants: 3

Read full topic

[PAID] Modify the official "Discourse Solved" plugin

$
0
0

@nixie wrote:

Hello all,

I’m looking for someone experienced in developing discourse plugins.

The job is to modify the official “Discourse Solved - Accepted Answer” plugin
Link to official plugin here

Modifications to be done:

  1. The OP, TL4 user, Admin should be able to mark multiple posts as the solution of a topic.
  2. And these should go to a moderation queue before they’re accepted as the “solution”. Users who can approve them are: Admin, Moderators.

If anyone wants to take this up, please let me know.

Posts: 5

Participants: 3

Read full topic

Product feature - homepage design question

Viewing all 60721 articles
Browse latest View live




Latest Images