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

API returns err 500 (no +info) when non-convertible unicode is in the body for a new topic

0
0

@dylanh724 wrote:

( Spinned off originally from here for suggestions to provide friendlier API errors : Improve (add) friendly JSON API error messages (at least generic ones) )

Creating a generic new topic:

image

In “raw”, imagine there being a ¢ or ( ͡° ͜ʖ ͡°) or something with unicode. Attempting to use the API to create a new topic will result in a plain jane 500 err with no extra info –

{"headers":{"Server":"nginx","X-Request-Id":"blah-blah-blah-request-id123","X-Runtime":"0.155158","Connection":"close","Content-Length":"0","Date":"Sat, 07 Oct 2017 14:43:30 GMT","Content-Type":"text/html; charset=utf-8"},"responseXml":null,"responseJson":null,"cookies":[],"responseCode":500,"responseString":""}

Removing the unicode does the trick. The coin above ¢ can be used to test it. Simply adding it gets 500, removing it gets 200.

Nasty little bug ~ this breaks our reporting system, as chat logs often contain unicode. Surely there’s a multitude of other uses for unicode (not just for lenny faces, but for localization)

*It’s important to note that SOME unicode works, such as full-width commas (they are converted to regular-width commas).

Posts: 9

Participants: 2

Read full topic


Locking the Display Name

0
0

@arwen wrote:

Hello,

I have set up a discourse forum that is connected to an organization. Some of the users are not following the instructions to have the display name in a certain format. (e.g. we want John D versus a nickname like DogLover.) Since we are more of a professional group, it would be great if that field was not user-defined.

Is there a way to lock down the display name where only moderators/admins can edit a user’s display name?

Posts: 1

Participants: 1

Read full topic

Outreachy Scholarship: Help/mentorship needed

I can not post Amazon Affiliate-Links? (Discourse rewriting it)

0
0

@Michael_Furtenbach wrote:

Since the last Update i can not Post any Amazon Affiliate-Links as a Onebox? The System is rewriting the affiliate Code every time. :frowning:

How can i deaktivate this new “Feature”?

Posts: 3

Participants: 2

Read full topic

Where do Email can not be processed notices go?

How to differentiate webhooks for created, approved or updated

0
0

@watchmanmonitor wrote:

I’m using webhooks to process new users via zapier, and lately it’s being triggered too often.

The option we have in the admin is When a user is created, approved or updated.

I thought that the email would only be sent on new user creation. but we’re getting it even if the user had a badge awarded, joined a group, etc.

So the question is… what’s the best way to identify when the webhook is related to a new user, vs a user being updated?

Thanks!

Posts: 2

Participants: 2

Read full topic

Topic Template placeholder

0
0

@Ehud_Adler wrote:

I could either be just missing how to do this or not understand what a topic template is (and then this should be a request).
Is there a way to make it that the topic template is only in the preview view or that it’s in both but when the user clicks to write their question/reply it gets removed (like a placeholder).

I guess the similar thing right now is the blue/whatever color overlay that appears when your question title is similar to another one.

I want to give the user guidance on how to format their topic but I don’t want to have them deleting the topic template before each post

Posts: 1

Participants: 1

Read full topic

Zero downtime rebuild discourse

0
0

@eldy wrote:

I have to wait at least 5 min when I installed a plugin, I do it on a production server, means my site is affected, it will be down for 5 min for the rebuild. Anyway to achieve zero download deployment?

Posts: 3

Participants: 3

Read full topic


Discourse fails to rebuild

0
0

@ThisTNTSquid wrote:

I have tried so hard to scroll back and look for problems, but it turn out I could found nothing causing this problem, is there any other factors causing this issue?

Here is the log

Posts: 10

Participants: 2

Read full topic

Webhook Not Run (or WP-Discourse Plugin Not Receiving It?) at Comment

0
0

@Berto wrote:

Hi all,

I have v1.9.0.beta12 +5 and have a working webhook setup as below:

I’m hooking it up to WP-Discourse for the WordPress plugin.

When I post a new reply in a Topic, the webhook runs (the verify_discourse_webhook_request in the WP plugin code runs).

But when I edit a reply in that discussion, no webhook gets sent over to my blog.

I can’t be 100% sure that it’s Discourse not sending it, maybe the WP plugin isn’t receiving it, but right now it seems like an issue on the Discourse end.

Can someone show me how to verify that a webhook gets generated upon edit from the Discourse end? Or check to see if this is working for anyone else?

Thanks!

Posts: 2

Participants: 2

Read full topic

Bug in TL0 message flagging

0
0

@TechnoBear wrote:

TL0 members can’t flag posts in public topics, but they can flag posts in PMs. However, the “something else” option doesn’t work as expected for TL0 members. (Discovered on our forum, Discourse 1.9.0.beta1 and confirmed on latest, Discourse 1.9.0.beta12.)

Steps to reproduce:

Send a message to a TL0 member.

TL0 member flags that post, chooses “something else” and writes an explanation.

Expectation:

The flag will appear like any other custom flag.

Actual outcome:

The flag is created, but the message is not sent, and no dialogue is created.

The two flags raised by SpareBear (TL0) show no message, even though one was entered, and there is no “Reply” button. The flag raised by SuperTed (TL2) functions as expected.

Posts: 4

Participants: 3

Read full topic

How to track an individual user's activity

0
0

@colincf wrote:

Hello Discourse community!

First and foremost, I apologize if this isn’t the appropriate Category to post this Topic.

I have a few users in my community that are helping me respond to questions from other users, they’re sort of just like basic forum moderators. I’d like to be able to monitor or pull the exact number of posts they’ve made in a given category for the week, the month, etc.

I saw that there’s a way to export the entire contents of a Topic, so theoretically I could just filter down to the specific user and date range from that exported document. However, as a non-technical user of Discourse, I was unsuccessful in doing that. Is there a way to do it through the UI?

Thanks!!

EDIT: I know I can see recent activity on a user’s profile, but I can’t seem to figure out how to get it to include everything, not just a flow of recent activity. Thanks!

Posts: 2

Participants: 2

Read full topic

PNG's a no show

0
0

@slspencer wrote:

Our forum is having problems displaying images. Sometimes they show, but most of the time they don’t. Not sure how to track this down, our image max display size is 860x860, max upload size is 4M.
Here is a thread which shows the difficulties:

Posts: 12

Participants: 3

Read full topic

How to get in touch with the project mentor

0
0

@Shreya_Sharma1 wrote:

I am applying for Outreachy program this time. I need a little guidance so that I can start working on the projects I’ve selected.
How to contact a mentor? Is there a mentor allotted to a project or do we need to find someone who’d help us?
Also, how should I make a contribution ?

Posts: 3

Participants: 2

Read full topic

Time period selector on user page obstructed on mobile


Creating a topic or a post sends the user_updated webhook

0
0

@Simon_Cossar wrote:

If a User Event webhook is activated, creating a topic or a post sends the user_updated webhook. Tested on the latest Discourse.

Posts: 5

Participants: 4

Read full topic

Webhooks for discobot and other system users

0
0

@watchmanmonitor wrote:

[Categorizing as support, but maybe it’s feature or bug? not sure)

The other issue I ran in to while dealing with webhooks to zapier is that we get a lot for discobot & system.

Once we can filter by user created it shouldn’t matter, but:

Do we expect webhooks to be sent for discobot & the system user?

Posts: 4

Participants: 3

Read full topic

Github gist oneboxes don't respect line numbers

0
0

@watchmanmonitor wrote:

I wanted to point out the content of webhook sent by discourse, so I pasted

https://gist.github.com/YesThatAllen/8e6f835042a4fc6fb09c9dfee2163e2c#file-discourse_webhook_data-txt-L8-L14

I would have expected the onebox to start at line 8, but it’s starting at line 1.

Posts: 3

Participants: 3

Read full topic

Have the invite screen show if a user exists before hitting send vs after

0
0

@watchmanmonitor wrote:

In the past, if I invited someone to a forum, it would change the email to the username, letting me know that the user existed.

Today, this wasn’t the case and I sent a nice invite to a user including a message of how to join.

The view looks exactly the same if the email address existed, or not.

Becomes this, after I hit send.

Because I’m going to be told if the email address is in use or not, being told before I send the invite would a much better experience.

Posts: 1

Participants: 1

Read full topic

Moderation Dashboard : What moderation stats do you monitor?

0
0

@HAWK wrote:

I’m working on the design of a moderation dashboard for Discourse (accessible via the main admin dashboard).

  • What moderation related stats or information do you currently monitor?
  • What information do you wish you could monitor?

Posts: 1

Participants: 1

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images