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

Open links in new tab not working

0
0

@lmel wrote:

Hi,

I have selected 'open external links in a new tab' in preferences but it does not work.

When a link is embedded in a comment and I click on it, the link is loaded within the iframe - it does not open a new tab.

All of the anchor tags have target="_blank" - but still they do not open in a new tab.

Can you help?

Thanks

Posts: 3

Participants: 3

Read full topic


Make the asset handling of category background and logo consistent with rest of discourse assets

0
0

@badevguru wrote:

The Category assets allow direct upload instead of pasting the URL of the assets as added to the assets post in the Staff category. For consistencies sake, seems like we should be using the same technique for all assets used for defining the discourse instance. On a plus side, it means I can see all of the logo category images in one place next to one another.

Posts: 1

Participants: 1

Read full topic

Setting for "when i don't visit" is elusive

Discourse Healthcheck Endpoint

0
0

@boushleyExtra wrote:

I've skimmed through the source and searched the docs and haven't been able to find a healthcheck endpoint for discourse.

What I'm looking for in a healthcheck endpoint is something that returns a 200 if things are healthy and returns a non-200 response with an error message if there is a problem. This can be used for load balancers and monitoring software like nagios.

Did I miss something when looking through the routes.rb file? If not would you be open to a PR that adds a healthcheck endpoint?

Posts: 4

Participants: 2

Read full topic

Request for more details on trust points and moderation

0
0

@samhouston wrote:

Hi, I'm currently setting up my Discourse forum and I'd love to get some more information on the User Trust points and moderation. This is a follow-up on @codinghorror's post from 2013 about Flagging

  • Jeff talks about flagged posts removing or adding trust to users. What does this mean? Is this a point system, and if so, can that point system be described in more detail? I'd like to know how many points people have at each trust level.
  • What happens if a user's posts continue to be flagged or moderated? Is there an automatic suspension or banning that is triggered after a certain point?
  • Is there any way to suspend or temp ban users for XYZ hours/days?
  • When a post is moderated by a Mod/Admin, is that action categorized and logged in such a way to keep track of the reason for moderation?

Thank you for your help blush

Posts: 4

Participants: 3

Read full topic

Setting up a 'default' category

0
0

@pitosalas wrote:

If user doesn't understand the idea of categories, and in our site, there's one category (called "teaching and learning") that will contain the vast majority of posts, then how do I make "teaching and learning" appear in the category drop down initially? Thanks!

Posts: 6

Participants: 3

Read full topic

Setting contact url overrides contact email?

0
0

@downey wrote:

Continuing the discussion from Disable email or provide Contact URL on About page:

Is contact url meant to override contact email on the /about page? The help text in site settings suggests that both would be displayed.

Posts: 3

Participants: 2

Read full topic

Moderator without access to a category can't change category notification settings for a user who does

0
0

@tobiaseigen wrote:

I just made the odd discovery that, as a moderator with limited category permissions, I can can't update the category notification settings for a user with access to the categories. To make matters worse, if I make any changes to a user's preferences the category notification settings get changed. This means that if someone was watching/tracking/muting a category before, they aren't after the moderator saves the preferences.

Replication steps

  • set up a user that has moderator privileges but limited access to one or more categories
  • set up another user that has access to category/ies that the moderator does not have access to, and set some up to be watched/tracked/muted
  • log in as admin, look at the user preferences and confirm the settings (see first screenshot below)
  • log in as user with moderator privileges but without access to all categories and edit the user preferences of a user who has access to a category you do not (see second screenshot below)
  • save changes.
  • go back as admin to look at the user.. you will see the category notification settings are gone.

How it should behave

The permissions on the user being edited should be reflected on the user page, not the permissions of the logged in user. So the moderator should be able to see and edit these category notification settings.

Editing user's preferences as admin

Editing user's preferences as moderator with limited access to categories

Posts: 2

Participants: 2

Read full topic


All my SSO Users have admin privileges

0
0

@Stackfish wrote:

I've got SSO up and running but when a user logs in on my website and then clicks a link to get to my discourse site, they are given Admins, Moderators, Staff, and Trust Level 0 - Trust Level 4. Can anybody tell me how to prevent this from happening?

Thanks

Posts: 11

Participants: 4

Read full topic

Providing visual hints to overridden options in admin

0
0

@sigurdur wrote:

Should Discourse settings admin show visual hints that a specific setting is being overridden?

When configuring Discourse, I've had problems in understanding when a setting is overridden by another setting.

As an example, let's take a look at SSO...

Enabling SSO

After enabling SSO, there are a lot of settings that have no affect anymore, like enable local login and enable google logins

Which settings have an affect and which are overridden?

Here's my idea on how to improve this in the UI:
If I click a setting that overrides other settings, disable the settings that are being overridden and add an information_source icon next to it.
When the user hovers over the information_source, a bubble appears that tells the user:

This setting is being overridden by enable sso

Any thoughts?

Posts: 3

Participants: 2

Read full topic

Security Best Practices for the Docker container

0
0

@Daytona wrote:

Hello Devs,

Some of the things I've done are enabling https, using start_tls for emails, and implementing a remote web application firewall.

What I would like to know more about is when running discourse in a docker container and on a fresh "launcher app rebuild" I notice that all packages are not up to date for the ubuntu 14.04 image.

I connect to the container with "launcher ssh app" and then "run apt-get update; apt-get upgrade" and there's 32MB of updates.

Nothing seems broken after updating.

Do I have to manually implement automatic updates inside the container with ssh? Or can I run some docker commands to do this? I was reading the launcher script and it kind of reminds me of Ansible.

Thanks,

Daytona

Posts: 4

Participants: 3

Read full topic

Setting defaults to enable mailing list mode

0
0

@watchmanmonitor wrote:

Continuing the discussion from Edit a user setting for all Discourse users:

So, I did this in my forum - I sent a nice email explaining what's up, and just did it.

Then, I went ahead and set the defaults as I wanted to be checked by default - and have instructions telling people how they can change them if they want (all I did was set defaults, not lock them in place)

It's been great. Discourse is now the mailing list I've wanted since day one, with the most functional web-ui out there.

Here's how I did it, I sure hope I didn't break anything horribly wrong, and am posting here to ensure that fact.

First, ssh in to your host as root.

cd /var/discourse/

./launcher ssh app

su postgres

psql

\c discourse
alter table only users alter column email_always set default true;
alter table only users alter column mailing_list_mode set default true;
\q

This error is expected: could not save history to file "/var/lib/postgresql/.psql_history": No such file or directory

exit  (to get out of the docker image)
exit  (to get out of the host)

Done.

At this point, I tell people that this is a mailing list, with the option to go web-only if they want.

Thank you discourse, for being awesome.

Posts: 3

Participants: 3

Read full topic

Facebook App login icon?

0
0

@haydenjames wrote:

Discourse Noob here!

Sorry if this is a dumb Q. I searched and found this. But not related since I'm not worried about the user's avatar.

How can you change the facebook Auth icon from default to my forum's logo/image. Which of the image iploads is it? The 1024x1024 ?

Thanks much.

Posts: 3

Participants: 2

Read full topic

Email misconfigured warning being wrongly shown

0
0

@joegoggins wrote:

Our Discourse v1.1.3.beta1 instance is happily working + emailing as expected, yet there is a warning like:

Notification emails are not being sent from a valid email address on your domain; email delivery will be erratic and unreliable. Please set notification_email to a valid local email address in Site Settings.` on the admin panel.

Upon closer inspection, this code is responsible for showing this warning:

app/models/admin_dashboard_data.rb:    I18n.t('dashboard.notification_email_warning') if !SiteSetting.notification_email.present? || SiteSetting.notification_email == SiteSetting.defaults[:notification_email]

and I verified in the rails console SiteSetting.notification_email == SiteSetting.defaults[:notification_email] is true, so it makes sense that it's showing.

I've set the notification email in the container .yml file like:

params:
  # ...
  site_settings_override:
    required:
      notification_email:
        default: 'THE_LEGIT_EMAIL_FROM@DOMAIN.COM'

Then merge it into the YAML like:

hooks:
  after_code:
    # ...
    - merge: /var/www/discourse/config/site_settings.yml $site_settings_override

I'm wondering if this is a bug, or perhaps I'm not setting the notification email in the container .yml correctly.

Posts: 1

Participants: 1

Read full topic

Discourse gem group_add

0
0

@dansingerman wrote:

It looks like the API to add and remove users from a group has changed too from the version in the Gem.

The gem makes a patch request to /admin/groups/group_id with

{
    "changes": {
        "add": [
            "sam"
        ]
    }
}

Discourse currently seems to expect a PUT to /admin/groups/group_id/members.json to add a user, and a DELETE to the same path to remove a user. However the DELETE call now seems to take the user_id as a param, not the username.

Again I am happy to fix. Shall we just change the gem to fit the current Discourse API? It means we only need to change the code in the gem. The drawback is that it is a little ugly to add users via username and remove via id in the interface.

Posts: 9

Participants: 2

Read full topic


Approximate reading time per topic

0
0

@meglio wrote:

Just like medium.com does, it would be nice to have an approximate reading time shown for every topic, e.g. 5 mins, 6 mins. Probably an idea for a plugin as could be irrelevant for some type of discussions.

Posts: 5

Participants: 4

Read full topic

"Open links in new tab" does not work from Profile page without http

0
0

@TechnoBear wrote:

I have always had my preferences set to open links in new tab, so this is not an issue with changing preferences.

Clicking an external link from within a topic does, indeed, open the link in a new tab. Clicking the same link from the post within a member's profile does not; it opens in the same tab. (Firefox 35 and Chromium 40 on Ubuntu Gnome 14.10.)

Example:
Visit the link in this post (will open in new tab)

Then find that post in my profile and click the link from the profile page - it will open in the same tab.

However, this does not seem to be the case with links which start with http, which open correctly in a new tab.

For example:

Posts: 3

Participants: 2

Read full topic

Moving a Topic under Grace Period should write to Edit History

0
0

@cpradio wrote:

Okay, so this came up because a lot of our staff became confused on why we got a notification for a topic that isn't in a category we are watching.

The user recently joined (TL 2 or below), they created a topic in Category A, then under the edit grace window period, they changed the category to Category B.

Staff were notified because they were watching Category A, but then saw the topic under Category B. There is nothing in the Edit history as shown by this example on try.discourse.org

My question is, should there be? Changing categories is a fairly significant change. I don't mind the fact that the user can do that in the grace period, but I sort of mind that we can't tell they did that.

If a TL 3 or a Staff member were to move the topic under the grace period, it does get logged in the Edit History (rightfully so).

Any thoughts on this matter?

Posts: 6

Participants: 4

Read full topic

Weird glitch whilst editing and including `[details]` elements

0
0

@DeanMarkTaylor wrote:

Are the arrows fixed position or something?

EDIT: Here is the text I was editing at the time:

####Initial Random Backfill
<details><summary>Executed in ~64.5ms</summary>
<img src="/uploads/default/39301/85c0df16437e9161.png" width="690" height="219">
</details>

####Random Selection
<details><summary>Executed in ~6.2ms</summary>
<img src="/uploads/default/39302/7ebec8ab20a99f8d.png" width="690" height="410">
</details>

####In-category `ORDER BY topics.bumped_at`
This
<details><summary>Executed in ~112ms</summary>
<img src="/uploads/default/39303/76f8b945f3ea94a2.png" width="690" height="236">
</details>

EDIT 2: the actual raw of the post uses [details] tags and something is incorrectly modifying them to <details> - see: https://meta.discourse.org/raw/25672

Posts: 3

Participants: 2

Read full topic

OP can change the title/category after the Edit Window Period

0
0

@cpradio wrote:

It seems the OP of a topic can alter the title/category/tags of their topic any time, even outside of the edit window time period.

Repro steps:

  1. As a TL 2 or below user, create a topic in a specific category
  2. Wait till edit window has expired (you may need to temporarily set the edit window to a smaller time frame)
  3. Refresh the page the topic is on
  4. Note that the edit icon for the post is missing (designating you are outside of the edit window)
  5. Note that the edit icon is still available on the Title/Category/Tags area
  6. Click on the edit icon and change the title, category, tags, whatever and save them.

Expected:
Edit icon next to topic title should also disappear if the edit window has expired

Actual:
Edit icon continues to appear next to topic title

Posts: 6

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images