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

Prevent Slack from unfurling anything for login-required sites

0
0

@mcwumbly wrote:

Our Discourse instance is private and we use the discourse-slackdoor plugin to allow Slack to unfurl the contents of posts that are shared in our private Slack.

But Slack still tries to do it’s own unfurling of the links, which is kind of annoying because all it is able to get is the site title and description.

So every link shared in Slack ends up getting the same, additional attachment from Slack that looks kinda like this:

I end up clicking the ‘x’ on that attachment every time…

Is there something simple we can do to prevent this attachment from getting added in the first place?

Should login-required sites just get the metadata that Slack requires to generate that attachment redacted by default?

Posts: 1

Participants: 1

Read full topic


Backup has failed. pg_dump: server version: 9.6.3; pg_dump version: 9.5.10

0
0

@michaeltcoelho wrote:

Hi folks!

I’m getting notified by discourse’s system user about that my backup has failed. On the doc it says that Discourse accepts Postgres 9.3+ versions and i’m using 9.6.3.

[2017-12-02 03:32:09] [STARTED]
[2017-12-02 03:32:09] 'system' has started the backup!
[2017-12-02 03:32:09] Marking backup as running...
[2017-12-02 03:32:09] Making sure '/var/www/discourse/tmp/backups/default/2017-12-02-033209' exists...
[2017-12-02 03:32:09] Making sure '/var/www/discourse/public/backups/default' exists...
[2017-12-02 03:32:09] Pausing sidekiq...
[2017-12-02 03:32:09] Waiting for sidekiq to finish running jobs...
[2017-12-02 03:32:09] Dumping the public schema of the database...
[2017-12-02 03:32:09] perl: warning: Setting locale failed.
[2017-12-02 03:32:09] perl: warning: Please check that your locale settings:
[2017-12-02 03:32:09] LANGUAGE = (unset),
[2017-12-02 03:32:09] LC_ALL = (unset),
[2017-12-02 03:32:09] LANG = "pt_BR.UTF-8"
[2017-12-02 03:32:09] are supported and installed on your system.
[2017-12-02 03:32:09] perl: warning: Falling back to the standard locale ("C").
[2017-12-02 03:32:09] pg_dump: server version: 9.6.3; pg_dump version: 9.5.10
[2017-12-02 03:32:09] pg_dump: aborting because of server version mismatch
[2017-12-02 03:32:09] EXCEPTION: pg_dump failed
[2017-12-02 03:32:09] /var/www/discourse/lib/backup_restore/backuper.rb:170:in `dump_public_schema'
/var/www/discourse/lib/backup_restore/backuper.rb:35:in `run'
/var/www/discourse/lib/backup_restore/backup_restore.rb:163:in `block in start!'
/var/www/discourse/lib/backup_restore/backup_restore.rb:160:in `fork'
/var/www/discourse/lib/backup_restore/backup_restore.rb:160:in `start!'
/var/www/discourse/lib/backup_restore/backup_restore.rb:15:in `backup!'
/var/www/discourse/app/jobs/regular/create_backup.rb:8:in `execute'
/var/www/discourse/app/jobs/base.rb:134:in `block (2 levels) in perform'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rails_multisite-1.1.2/lib/rails_multisite/connection_management.rb:77:in `with_connection'
/var/www/discourse/app/jobs/base.rb:129:in `block in perform'
/var/www/discourse/app/jobs/base.rb:125:in `each'
/var/www/discourse/app/jobs/base.rb:125:in `perform'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:188:in `execute_job'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:170:in `block (2 levels) in process'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
/var/www/discourse/lib/sidekiq/pausable.rb:80:in `call'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:133:in `invoke'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:169:in `block in process'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:141:in `block (6 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/job_retry.rb:97:in `local'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:140:in `block (5 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq.rb:36:in `block in <module:Sidekiq>'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:136:in `block (4 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:204:in `stats'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:131:in `block (3 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/job_logger.rb:7:in `call'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:130:in `block (2 levels) in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/job_retry.rb:72:in `global'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:129:in `block in dispatch'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/logging.rb:44:in `with_context'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/logging.rb:38:in `with_job_hash_context'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:128:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:168:in `process'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:85:in `process_one'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:73:in `run'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/util.rb:16:in `watchdog'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/util.rb:25:in `block in safe_thread'
[2017-12-02 03:32:09] Notifying 'system' of the end of the backup...

Will i have to downgrade my Postgres` versions?

Thanks in advance,
Michael Coelho.

Posts: 8

Participants: 3

Read full topic

Https:// SSL URL not included in sitemap plugin

0
0

@Pramvir_Rathee wrote:

the sitemap plugin of discourse do not update the sitemap urls to https:// (as usually seen in wordpress). It still shows http://. Please solve this issue. As it helps in faster https:// indexing after migrating to SSL

Posts: 2

Participants: 2

Read full topic

Mastodon Integration

0
0

@hellekin wrote:

Mastodon can be run from a docker image.

I wonder if someone here has set up Mastodon so it reuses the data and redis images from Discourse docker, or how to do it.

I wish we document it, since there’s no reason why running Mastodon from Docker would create extra instances for services that already come with Discourse. Therefore this post is set to evolve and integrate the step-by-step modifications to Mastodon install so that it can co-exist with an existing Discourse multisites install with separate containers for PostgreSQL and Redis.

Then it can also include extra documentation, such as:

  • adding a user field for the local Mastodon instance
  • integrating the local Mastodon instance feeds into a dedicated Discourse category, with a topic for each user feed (I see the autobot plugin may do that, but I’d rather use an ATOM/RSS specific plugin for that. Should we think about a dedicated Mastodon plugin?)
  • post from Discourse to Mastodon.

Posts: 3

Participants: 2

Read full topic

Possibility to transport emails via API

0
0

@itsbhanusharma wrote:

One of my discoure install has particular majority of users using Microsoft outlook/hotmail email accounts and the microsoft spam rejection system does some weird filtering and puts almost every email sent via relay smtp (e.g. services like mailgun, elasticemail etc.) This had been creating a lot of trouble lately. I’ve spent days talking to mailgun support and after all the logs and tests, their final word was to try sending mails via their API instead of SMTP credentials.

I believe this may be an issue with the server’s originating IP. When sending via SMTP, the server that creates the message has its IP added as the “originating IP” into the headers. If the IP is not properly configured for SMTP, the recipient’s filters may flag the messages as Spam. I would recommend sending via our API instead. Messages sent through our API will use the sending IP assigned by Mailgun as the Originating IP, instead of the IP for your server.

as most reputable email services support API, can discourse support emails via their API instead of SMTP?

Posts: 4

Participants: 3

Read full topic

Any way to have a single option poll with just one option to choose from?

Silenced accounts don't get leaderboard stats updated?

0
0

@Lilly_S wrote:

Hi Discourse,

I think the users on our Discourse forum have discovered a bug. One of our user’s accounts was silenced and their place in the Top Likes Received (daily) leaderboard (/u?period=daily) has not changed at all since. They have been frozen there with the same amount of Likes as they had the day they were silenced, leading us to believe that there’s an issue with silenced accounts not having their stats updated on the leaderboards.

Thanks,
Lilly

Posts: 2

Participants: 2

Read full topic

Chat client suggestions?

0
0

@CBerg wrote:

i am doing a trial for a nonprofit group with a lot of senior citizen members who are not so cyber social savvy. Is there a chat client already integrated in Discourse or does it need to be external via an integration?

If the latter what chat clients are super simple, safe and close to free? Is there a reason that Google hangouts is not on the integration list?

Posts: 5

Participants: 3

Read full topic


Data Explorer Query: trust_level_locked returns "true" when unlocked

0
0

@Southpaw wrote:

This is my query:

SELECT username, trust_level, last_seen_at from users
WHERE trust_level_locked = true AND trust_level != 4

GROUP BY users.trust_level, users.last_seen_at, users.username
ORDER BY trust_level asc

It returns a list among which, 821 TL1s. < groan >
If I understand correctly, that’s because we assign customers to TL1 even if they haven’t earned it, so there’s some sort of auto-lock going on.

So I start working my way through the list to unlock them.
I unlock several and re-run the query.

Everyone I’ve unlocked still shows up on the query results. I’ve double-checked, each profile in admin/users/ is unlocked.

image

How do I write a query that will show me only those users whose trust level is currently locked?

Posts: 1

Participants: 1

Read full topic

Leverage browser caching for logo

Rebuild with "undefined method skip_before_filter" error

0
0

@depeters wrote:

I have been using discourse for a long time, running fine on RHEL 7. I waited about 2 - 3 months and upgraded from 1.8 something to the latest version. CHAOS has ensued. The filesystem check has forced me to abandon RHEL entirely. No amount of adding extra hard drives and trying to modify the backing filesystem to allow d_type worked (even with a new hard drive set up for ext4 and xfs ftype=1). Nothing changed the running docker’s backing filesystem. So I switched to Ubuntu. I still can’t get things running. Amazon simple email service has forward slashes in their generated passwords. Ok, so I make a fake password to start. I tried using my old app.yml file. Ha! No way. So, I finally give up and run through an entirely fresh install. That seems to get the juices flowing but now I’m left trying to restore my old data and plugins and pray everything works. Somehow I doubt I’ll have any luck. It may not be intentional sabotage, but it sure seems like the discourse team is trying extra hard to make running discourse yourself very hard.

update: yep, i was right. Adding the plugins and running rebuild I now get “undefined method `skip_before_filter’” and the build terminates unsuccessfully.

Posts: 5

Participants: 2

Read full topic

How to enable the composer toolbar in mobile by default (for all users)?

0
0

@nixie wrote:

How to enable the composer toolbar in mobile by default (for all users)?

Some of the new users in my site do not find the button to enable the composer toolbar in mobile.

Is there any way it can be enabled by default? (for example in desktop, its enabled by default)

Posts: 1

Participants: 1

Read full topic

PM composer height constrained

0
0

@ChrisBeach wrote:

Since the composer rewrite I’ve noticed the PM composer has shrunk further and is now very difficult to use for PMs of longer than one line:

For moderators, some of this space is taken by the “official warning” checkbox.

Can I revisit an old suggestion? I think the composer would work a lot better if the “Submit” button is positioned absolutely at the top of the screen, and the user is able to scroll freely vertically down through the PM with the button visible at all tiles.

In the “Nextdoor” app - a native mobile forum - their composer looks like this, and is much easier to use:

Posts: 2

Participants: 2

Read full topic

Cloudfront Compress Objects Automatically

0
0

@dfriestedt wrote:

I’m working through google pagespeed items.

Google is telling me I need to enable compression:
“Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.”

Is there any reason I should NOT enable compression on cloudfront by selecting YES to Compress Objects Automatically?

I read here on the forum that compression should be handled elsewhere, but I have not changed any settings that would impact built in compression handled by Discourse.

I’m updating this with additional research. I did find this post that is pretty much the same issue:

I tested if my js assets are getting compressed by going here as recommended:
http://www.whatsmyip.org/http-compression-test/

I tested an asset and it came back as uncompressed:
https://deexadsk18i10.cloudfront.net/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js

I’m also seeing this in the headers of assets served from the CDN:
x-cache:Miss from cloudfront

I’m using the std docker installation with no modifications, proxy, or anything in front of the docker. I’m only using cloudfront for the CDN.

Posts: 1

Participants: 1

Read full topic

Self-Censorship on Facebook (Paper)

0
0

@mcwumbly wrote:

Interesting paper…

https://www.aaai.org/ocs/index.php/ICWSM/ICWSM13/paper/viewFile/6093/6350

Abstract

We report results from an exploratory analysis examining “last-minute” self-censorship, or content that is filtered after being written, on Facebook. We collected data from 3.9 million users over 17 days and associate self-censorship behavior with features describing users, their social graph, and the interactions between them. Our results indicate that 71% of users exhibited some level of last-minute self-censorship in the time period, and provide specific evidence supporting the theory that a user’s “perceived audience” lies at the heart of the issue: posts are censored more frequently than comments, with status updates and posts directed at groups censored most frequently of all sharing use cases investigated. Furthermore, we find that: people with more boundaries to regulate censor more; males censor more posts than females and censor even more posts with mostly male friends than do females, but censor no more comments than females; people who exercise more control over their audience censor more content; and, users with more politically and age diverse friends censor less, in general.

Posts: 2

Participants: 2

Read full topic


Do you display the list of live forum users on your counterpart website?

0
0

@meglio wrote:

Do you show the list of live users on your website, which is part of your community?

For example, you might run Discourse and WordPress. Then the question is regarding WordPress: do you show which users are live (online)? If you don’t, why not? If you do, then:

  • is it on the home page only, or some specific page?
  • is it static or live content? (live gets autoupdated every N seconds)
  • how many users do you display?
  • any screenshots?

Is it useful at all? Please elaborate.

Posts: 7

Participants: 5

Read full topic

Subcategories not showing in /subcategory page

0
0

@SMx wrote:

Hello fellow users. I have a new install and I have checked the box for “Suppress this category from the homepage.” for some subcategories, which works as intended for the HOMEPAGE. But this option also hides it from the /categories page.This behavior is not expected, as it should hide it from the main page, but it should still show it under /categories page.

The only way to reach those subcategories that should only be suppressed from the main page, is from the drop-down menu.

Also, checking All from the drop down, still doesn’t shows ALL the available categories.

I found a similar issue here, which says it should have been resolved back in 2016.

Thank you

Posts: 1

Participants: 1

Read full topic

PNG silent upload fail on jpg conversion

0
0

@fearlessfrog wrote:

Hi!

We’ve had quite a few reports on PNG’s failing image uploads on our install at v1.9.0.beta15 +27. It seems to only be certain PNG’s and not just based on size. It is particularly unfortunate for us because it now fails on the screenshots of a game the forum is based on, so many users are finding the issue. It has only recently started to happen (my guess would be around the Rails 5 or so update for 1.9, but not sure).

I’ve recreated a test case on try.discourse.com and will try to recreate here.

A test image can be found in here:

https://mudspikefiles.s3.amazonaws.com/PNG_problem.zip

The error log we see seems to indicate it is related to the conversion to JPG:

/var/www/discourse/lib/discourse.rb:27:in execute_command' /var/www/discourse/lib/upload_creator.rb:137:inconvert_to_jpeg!’
/var/www/discourse/lib/upload_creator.rb:44:in block in create_for' /var/www/discourse/lib/distributed_mutex.rb:21:insynchronize’
/var/www/discourse/lib/distributed_mutex.rb:5:in synchronize' /var/www/discourse/lib/upload_creator.rb:36:increate_for’
/var/www/discourse/app/controllers/uploads_controller.rb:116:in create_upload' /var/www/discourse/app/controllers/uploads_controller.rb:29:inblock in create’
/var/www/discourse/lib/hijack.rb:43:in instance_eval' /var/www/discourse/lib/hijack.rb:43:inblock in hijack’
/var/www/discourse/lib/scheduler/defer.rb:74:in block in do_work' /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rails_multisite-1.1.2/lib/rails_multisite/connection_management.rb:77:inwith_connection’
/var/www/discourse/lib/scheduler/defer.rb:72:in do_work' /var/www/discourse/lib/scheduler/defer.rb:61:inblock (2 levels) in start_thread’

Here is a working PNG:

Here is the non-working PNG (you should have the error now in your logs):

Thanks for any help, plus let us know if there is any more info I can provide.

Posts: 6

Participants: 3

Read full topic

Voting Feature / Poll

0
0

@jousefm wrote:

Hi guys!

Is there a voting feature implemented where users can vote multiple times (like a counter) as well as adding their own issue to the vote application?

Thanks a lot and cheers!

Posts: 3

Participants: 2

Read full topic

Anyone built community first, then developed and sold new software to it?

0
0

@meglio wrote:

Do you know of any cases when a community was built first by enthusiasts, and only then came an idea for industry-specific software, then the software was built and sold successfully to the community?

Posts: 3

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images