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

Detecting user already logged in when using SSO

$
0
0

@tomdcc wrote:

Hi all

We are using the SSO mechanism, which is working great, with one exception.

If a user is logged in to our main site, then clicks a link to go to the forums, they are not logged in when they hit Discourse. They then hit login and transparently become logged in. This is a bit confusing.

It would be nice if Discourse could detect that the user is logged in to the main site. There are a couple of ways that this could be done, but the most straight forward is a redirect of all non-logged-in users via an SSO URL which will return indicating whether the user is logged in or not. This URL could be the existing SSO url with a parameter to indicate that a reply should come immediately even if the user isn't logged in, or it could be a completely separate URL. Given that the reply in the case of the user being logged in should look like the reply for a successful SSO login, my gut feel would be to hit the same SSO URL with an extra parameter.

This behaviour could then be optionally enabled via a flag in the settings, maybe "Immediate SSO Login Check" or something like that.

Thoughts?

Thanks

Tom

Posts: 9

Participants: 3

Read full topic


Discourse not shown in iframe

$
0
0

@dreadkopp wrote:

Aloha Communtiy, i am trying to put discourse in an iframe since i don't have free wildcards at my dyndny hoster.

I run my main apache server at port 80 and the docker containing discourse redirects to port 82.

the page i am talking about is here: http://archy.no-ip.org/forum/

instead of the discourse page at http://archy.no-ip.org:81 it just shows the blank container.

i first thought that it might be a problem with iframe to shown pages which don't use port 80 or 443 but since another test shows that my plone-environment at port 81 (http://archy.no-ip.org/iframe-test-different-port/) is shown correctly that cannot be it.

Any ideas what's wrong?

thanks and greetings

Posts: 5

Participants: 4

Read full topic

Arch Linux and discourse

Error uploading files

$
0
0

@Stackfish wrote:

Hi,

My discourse instance has stopped allowing me to upload images for a topic. This use to work and the only change I recall making to the site was enabling backups to S3. When I try to upload a file from my computer I immediately get the following error:

Sorry there was an error uploading that file, please try again

I've tried several files that are around 40k in size and none work. I've upgraded to the latest version of discourse with no luck (in fact that broke something else but I'll put in another topic)

Thanks

Posts: 5

Participants: 2

Read full topic

Avatar broken in toolbar after upgrade

$
0
0

@Stackfish wrote:

I upgraded to the latest version of discourse and my avatar is no longer showing in my toolbar. I'm using SSO and I have confirmed that if I enter a new topic my avatar still shows correctly. Also my avatar for older posts still shows.

Thanks

Posts: 2

Participants: 2

Read full topic

How do I "Reply as new topic" on mobile UI?

$
0
0

@downey wrote:

How do I "Reply as new topic" on the standard mobile UI?

I see how I can quote a reply within the topic, or reply to either the whole topic or a threaded response ... But couldn't find this.

Posts: 5

Participants: 3

Read full topic

Infinite spinner when filtering on the user list

$
0
0

@RaceProUK wrote:

When using the username filter, if you type in a term that matches no users, the busy spinner spins indefinitely.

It happens on WTDWTF, but not on here; must be something to do with the number of users in the system?

Posts: 5

Participants: 3

Read full topic

Follow user feature: yay or nay?

$
0
0

@RaceProUK wrote:

Floating an idea that's popped up over at WTDWTF: following a user, so you get notifications when they post, make a new topic, stuff like that. Kinda sort of an extension of the civilised mute, in a way.

Personally, it's not a feature I'm interested in; would feel a bit too much like stalking to me. Plus, on a busy forum, it could lead to notification spamming, especially if you were to follow someone like… well, someone like me on WTDWTF (seriously; my post rate is on the verge of breaking 2000/mo over there!). But I thought I'd float it anyway, see what others think.

Posts: 3

Participants: 2

Read full topic


Share with a user via Message?

$
0
0

@downey wrote:

One thing our wiki software does which is quite helpful is allow a user to share a page/resource with another registered user via its internal notification system. This allows people in moderation-like roles (not necessarily an official moderator) to draw attention to something requiring attention to someone who can provide some assistance.

Currently the only way to accomplish this is by @-mentioning someone. This may not be desirable especially if that person in the moderation-type role doesn't have much to add.

Perhaps adding something to the share feature that would create a Message to a user pointing them to the topic? (And allow that sender to add a few words about why they should look?)

Posts: 6

Participants: 3

Read full topic

Cross-Origin Framing

$
0
0

@Grex315 wrote:

I am using SSO with Wordpress and it setup when a user logs into the wordpress site an iframe opens to call the sso to login in the user to the discourse site.

I am using the code @AdamCapriola posted here.

I have turned on CORS on the Discourse installation and rebuilt the app, as my wordpress site sits at mysite.com and my discourse site sits at forums.mysite.com:Port# as they are on the same vps. the NGINX server that runs my wordpress site also acts as a proxy to my Discourse site.

My issue is I am receiving the error:

Load denied by X-Frame-Options: http://forums.mysite.com/ does not permit cross-origin framing.

Whats funny to me is that the call is actually going through cause the user does get logged into the discourse site, but the error stops the wordpress page from completely loading.

Checking the header i see that X-Frame-Options: SAMEORIGIN is set. Since i have discourse set on a different port this is blocking my call. How best can i alter this for discourse? Does CORS not affect X-Frame-Options?

Thanks

Posts: 3

Participants: 1

Read full topic

Disable load times shown at left margin of screen

$
0
0

@apotry wrote:

I'm running the docker install, imported a vbulletin database and finally got everything working. Unfortunately, the load times info still show up at the left-hand side of the screen. Is there a setting in the database that allows me to disable this?

Posts: 3

Participants: 3

Read full topic

Categories archive

$
0
0

@Maestra_Powers wrote:

Can anyone create this as a legit plugin? And how much will this cost?

I did this feature exactly as I want it on my forum via JS:
http://forum.red-squadron.ru/
All categories older than 2 month jumps into .archive block after page was loaded. And if someone will reply in category from archive, it will jump back to main section. But I don't like JS aproach at all. It makes page loading stutter and sometimes you can see categories jumping around from main area to archive.


P.S. I asked this before.

Posts: 1

Participants: 1

Read full topic

Replace without start & stop

$
0
0

@NomNuggetNom wrote:

I'm trying to make a simple plugin that allows users to use fontawesome icons. For example, they would type: [fa:envelope] and it would be replaced with the icon.

I've seen lots of plugins use Discourse.Dialect.inLineBetween, which seems to be the standard. However, I don't have a start and stop. Is there a standard hook I should be using to process the text correctly?

I know that Discourse.Dialect.postProcessText is a global receiver of text, but I don't know if this is the way I should be doing it. Any help is appreciated :).

EDIT: Another concern I have is code blocks. Will this be handled automatically? In my experience Disource.Dialect.postProcessText was passed text in raw sections.

Posts: 1

Participants: 1

Read full topic

Set up process for Discourse

$
0
0

@Madison wrote:

Hi, I’m doing some preliminary research on community engagement platforms and I have a few questions:
What is the set up process for using your platform?
What resources do we need? (i.e. designer)
What skill set is required to set up this platform?
What is the timeframe for the set up process?
Is there an existing community of resources that you have available?
Do you recommend using someone specific to set up the platform, can it be anyone, or would we pay your company to do that?

Thank you for answering my questions and for your time

Posts: 3

Participants: 3

Read full topic

Civilised mute for user groups

$
0
0

@RaceProUK wrote:

Now that there's a civilised mute for individual users, how feasible is it to extend it to mute whole user groups?

Posts: 9

Participants: 3

Read full topic


Civilised Mute doesn't keep Muted list saved

$
0
0

@loopback0 wrote:

As observed over on TDWTF:

Notice the list, which was saved.

And now:

Posts: 9

Participants: 2

Read full topic

SSO does not redirect, is canceled instead

$
0
0

@bgoldste wrote:

Hi all! Am trying to get SSO set up with our domain. When I click login, nothing happens. In chrome inspector, I see that the request is getting cancelled and no redirect is happening:

sso?return_path=%2F GET (canceled) application-2744e9ff8c515050f35b1b6f8fd5b476.js:34 0 B 90 ms

I can't really start getting this setup until I know how the actual redirect works. My plan was to have this send to a /sso on our server, print out the request, and then code from there.

Any ideas, help? Thanks!

Posts: 1

Participants: 1

Read full topic

How to reset SSO from Hosted plan?

$
0
0

@bgoldste wrote:

Hi again, I'm on the hosted plan but would like to reset some of my settings so that I can play with the SSO. I'm not sure how to get into the launcher / cli stuff to do what's described in the pinned topic.

Thanks!

Posts: 2

Participants: 2

Read full topic

PM notifications not working consistently

$
0
0

@loopback0 wrote:

Initially detected on TDWTF but repro here.

Profile:

PM list:


Notifications:

Didn't have a browser open here at all between flagging and coming back to check.

Have only noticed this on TDWTF since beta 4 but may have been more recent than that.

More examples which show the inconsistency here:

Posts: 7

Participants: 3

Read full topic

Tags plugin not working in development mode

$
0
0

@returningfromelba wrote:

I've installed the tags plugin in my discourse development (latest release +1548) and although the settings show up just fine and I've enabled the plugin and reduced the trust levels the tag field at the bottom of topic creation is not showing. Any ideas what I might be doing wrong?

Posts: 1

Participants: 1

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images