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

Trouble configuring SSO with discourse-saml plugin / Okta

$
0
0

@sjforman wrote:

I’m trying to configure a self-hosted Docker instance of Discourse to authenticate users with SAML, using Okta as the IdP. At first my setup looked identical to what @runofthemill posted here: Discourse-saml + Okta endless redirect. But then, thanks @skoota, I re-set all the native SSO configs to the defaults, since I understand want to be relying just on the plugin.

So now plugin is successfully installed, and SAML appears as a login option, but I get this error when I try to use it:

I took a look at the library this error seems to orginate from, and it’s not obvious to me what’s going wrong. But I’m not a rubyist, so maybe (hopefully!) I’m missing something obvious.

Suggestions? Thanks in advance.

Posts: 1

Participants: 1

Read full topic


Trigger a jquery function on post load

$
0
0

@Olivier_Lambert wrote:

Hi!

If you access this instance of disocurse, you’ll notive I’ve added levels next to peoples pictures.

Thing is, when we scroll or reload the page, users don’t have their levels displayed.

I would need to run a function on the call back when users posts are displayed.

I’ve looked at the client side api doc:

but I can’t seem to figure it out.

U guys got any clues as to how I could do this?

Posts: 1

Participants: 1

Read full topic

Rebuild fails due to missing gem

Imported images missing thumbnails, getting tombstoned

$
0
0

@pfaffman wrote:

Continuing the discussion from My journey into a massive posts rebake job:

So I’ve been working on this import for a community that really likes lots of really huge images. There are about 160GB of images.

After the import images were getting moved to tombstone. Also, even when the images are un-tombstoned and posts rebaked, they still aren’t getting thumbnails generated.

One thing that I’m wondering about is that embedded_image_html (in script/import_scripts/base/uploader.rb), generates

<img src="#{upload.url}" width="#{image_width}" height="#{image_height}"><br/>

rather than the “new style”

![discourse-custom|350x349](upload://p8qkAX4eV6X5fkq8N57DKqINJDN.png)

@bartv has noticed that there are no entries in (I think) post_uploads or optimized_images tables.

I’ve looked at the upload model and lib/upload_creator.rb. I can’t find what moves things to tombstone.

Is it possible that including images with the HTML style image links is causing them to get tombstoned and/or not get thumbnails generated?

Posts: 2

Participants: 2

Read full topic

How can this be used?

Disable Autoupdates Completly

$
0
0

@Pramvir_Rathee wrote:

I am using Discourse from last 3 years. But now new updates are very painfull for me. Discourse costomizations are becoming very RIGID day by day.
61 gb Data is getting 99gb and rebuild Never Finish.
I have to upgrade the Cloud to an unnessary size which i can not later Downgrade
In new versions i can not execute Javascripts which plays Iframes Inside the Posts - Lost basic Functionality of my forum.

Now i want to completly Disable automatic Updates on My Discourse. Now my Discourse automatically tries to update itself (Without any manual trigger). It fill my disk and My site keeps down whole day.
I do not want auto Updates which are happening now.
OR
I want rebuild my app without any updates.

Note. Version: 2.0.0… in app.yml is not fixing the Issue

Posts: 1

Participants: 1

Read full topic

How to see where someone comes from to get to Discourse?

$
0
0

@Kyle_Selby wrote:

Hello,

We just recently transitioned our forum over to Discourse and I am having some trouble. I am attempting to see if there is a way to send a unique join link to individuals so I can track if they join the community or interact with the link? Is there also a way to see where new users are coming from? I can see the number of how many new users we have but I want to see how they found the community. Any help is much appreciated.

Posts: 2

Participants: 2

Read full topic

Embedded Comments iframe Height Not Set

$
0
0

@Bar_Smith wrote:

I am experiencing the exact same issue described here:

However I can see that a pull request has been merged to fix that issue (I double checked my capitalization anyway).

The issue is that my iframe height is not being set and seems to default to 150px

Which as you can see cuts off all but the first part of the first post. If I manually increase the iframe height I can see that all the rest of the posts are there, but hidden.

Can anyone point me in the right direction?

Thanks!

Posts: 3

Participants: 1

Read full topic


Need Help Installing

$
0
0

@little0912 wrote:

I followed all the directions and received this:

Thanks! Your Discourse instance is now being configured…this can take a few minutes…

Failed to stop lighttpd.service: Unit lighttpd.service not loaded.
Synchronizing state of docker.service with SysV init with /lib/systemd/systemd-sysv-install…
Executing /lib/systemd/systemd-sysv-install enable docker

(): mapping keys are not allowed in this context at line 60 column 24 -e LANG=en_US.UTF-8
YAML syntax error. Please check your containers/*.yml config files.
Error response from daemon: No such container: rails

Discourse has now been configured. You may now finish setting up Discourse
by creating an account at:

Then When I go to my ip address it displays This site can’t be reached

167.99.156.92 refused to connect.

Posts: 4

Participants: 2

Read full topic

Group Membership problematic UX changes

$
0
0

@ChrisBeach wrote:

I notice some recent changes to group management have changed the way group members are added.

The “add member” option is hidden behind this mini hamburger menu (see screenshot below).

This will affect my forums. When staff in local shops meet forum members, the staff add these members to our “Verified” group (which then adds a “verified” flair to their profile).

The shop staff (many of which are non-technical, and few of whom I’m in direct contact with) are used to “ye olde” straightforward interface where they visited a URL (I created a https://se23.life/verify route via my nginx front-end) and they got a simplified form where they could search by username and click “add”.

Now they must know to click the mini hamburger. In practice, they’ll probably try to add a user using the “username” box on the top right (which is a search box that filters the list of members). They’ll probably be confused, and I don’t want to trouble shop owners to retrain their staff as they’re already going out on a limb for me and providing this service for free.

I’d really appreciate if a simple form could be restored for members to be added? Hiding this vital feature behind a hamburger menu really hurts its discoverability.

Posts: 1

Participants: 1

Read full topic

The "Search this topic" option is missing on mobile view

$
0
0

@1101010 wrote:

I can see the effect when I browse on Chrome on Android 8 when I’m using this site as well as back on Drowned in Sound where it was noted.

It’s still there on desktop view.

Thanks
Theo

Posts: 1

Participants: 1

Read full topic

Inverse email matching rule for groups?

[knocked out in an afternoon] Discourse Shadowban

$
0
0

@notriddle wrote:

The last resort for dealing with trolls that just won’t go away

It blocks the notifications, and it blocks the post from showing up in topic view. And it shouldn’t be possible for the user to tell they’re shadowbanned unless they try.

The list of shadowbanned users is stored in a setting with the usernames separated by |s. There’s probably a better way to do it, but I’m not sure how.

Posts: 1

Participants: 1

Read full topic

New notification permissions request bar?

Editing trust_level groups


Avatar not loaded in a multi container infrastructure

$
0
0

@sebastien wrote:

Hi,

We are using a multi container infrastructure

  • 3 front-ends in SGN/JPN/IND
  • RDS & Elastic cache REDIS in SG
  • We have read replicas deployed close to our front-ends
  • We use S3 in SG to store our pictures (no replication)

We use Route 53 latency based routing to find the best server for our users.

When I load our main page from Singapore it works fine. I can see all our avatars. If i do the same thing but using a VPN to Tokyo, I see what seems to be a default avatar.

image

Any idea what is happening?

Seb

Posts: 12

Participants: 2

Read full topic

Prevent scraping script running on my discourse platform

$
0
0

@AnnaNaumova416 wrote:

Hello. My name’s Anna and I want to have my own server running Discourse platform.

However, I have installed discourse platform on my server and it’s working fine.

One concern is that if the user access to the site using scraping script, for example, using PHP or Python, then I want to prevent sending content to those IP.

Idea is that if the user doesn’t use the browser then doesn’t send him the content.

I want this to be done by a plugin but I am open to your suggestion.

I am also open to any budget suggestion from you. Thanks in advance. Anna.

Posts: 5

Participants: 3

Read full topic

Postgres Read replica not used

$
0
0

@sebastien wrote:

I set up read replicas in japan and india to improve performance.

DISCOURSE_DB_SOCKET: ''
DISCOURSE_DB_USERNAME: discourse
DISCOURSE_DB_PASSWORD: XXX
DISCOURSE_DB_HOST: prd-etg-XXX.rds.amazonaws.com
DISCOURSE_REDIS_HOST: prd-etg-XXX.cache.amazonaws.com
DISCOURSE_DB_REPLICA_HOST: prd-etg-jpn01.XXX.amazonaws.com

I’m currently accessing our website in Japan and it seems my read replica is never used by discourse.

In our AWS admin console i see that I have no active transaction, no connection.

How can i check if my replica is correcly used in discourse?

Thx
Seb

Posts: 5

Participants: 3

Read full topic

Disallow to accept an answer given by topic creater

$
0
0

@pkulkov wrote:

Hi!

How to disallow to accept an answer given by topic creater.
Now question creater can answer on own question, so if i give badges for answers, user can achive it by asking and answering self questions.

Posts: 1

Participants: 1

Read full topic

Discourse creators can you add lithuanian language to next update?

$
0
0

@savas wrote:

Its not all translated but its easy to trunslate in discourse so can you add in next update lithuanian language plz…

Posts: 2

Participants: 2

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images