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

SSO doesn't accept image urls as avatars that have spaces and other characters

$
0
0

Faeron Sayn wrote:

Bug

Image urls that have spaces in them or any obscure characters in them like the following image urls are considered invalid by Discourse

  • http://cdn.phanime.com/images/users/avatar/uxNt6KRbZmivCDozp/ero chibi 2.jpg
  • http://cdn.phanime.com/images/users/avatar/Rr5ZX5cqAK2PpSo24/184635[1].jpg
  • http://cdn.phanime.com/images/users/avatar/PtmuphmhzaJRfs9Py/Aldnoah Zero.jpg

Reproduction Steps

Pass a URL like the ones shown above to discourse's SSO and you'll be met with a blank white page that doesn't tell the user anything about the error they are faced with.

I'm wondering why discourse considers urls like these invalid when they are perfectly valid when thrown into amazon's S3 buckets and I have seen numerous image urls that contain spaces but the browser properly handles this.

Ex:
http://cdn.phanime.com/images/users/avatar/PtmuphmhzaJRfs9Py/Aldnoah Zero.jpg

turns into the following in chrome:

http://cdn.phanime.com/images/users/avatar/PtmuphmhzaJRfs9Py/Aldnoah%20Zero.jpg

Posts: 2

Participants: 2

Read full topic


Expandable quotes shows wrong cursor(pointer) on none clickable area

$
0
0

lid wrote:

The issue: you think you can expand or collapse anywhere but only title is actually clickable.

Ok -The only clickable area for toggling

Not Ok ( area will not expand nor collapse )

Looks like the cursor is added as inline css,

  1. could probably changed to a class.
  2. should be added to the title not the entire quote container.

Posts: 2

Participants: 2

Read full topic

Blank white page after login in iOS 8

$
0
0

Jeff Atwood wrote:

I installed a fresh discourse on http://talk.colorspace.xyz/, activated Google OAuth2 login.
During tests, a visitor could not create a new account via Google on

  • an iPhone 6 running latest iOS 8 (Safari and Chrome)
  • an iPhone 5s running iOS 7 (Chrome)

However, according to the report it was possible to:

  • login on a previously created Google OAuth2 account on both iPhones
  • creating a new account and log in using regular account.

In the same conditions, the visitor and myself have no trouble creating a new account on desktop browsers or Google Chrome on Android, with or without 2-step verification Google accounts.

It doesn't appear to be a known bug so I'll learn where to dig in logs to see if anything can be found.
Does the same occurs for you on my discourse and others?

Posts: 13

Participants: 4

Read full topic

Chinese translation error

Auto Post to Twitter

$
0
0

Briancguy wrote:

We have a "news" forum in our site which is great because it allows users and ourselves to quickly post interesting news for discussion. Frequently these get "oneboxed" so the layout is nice. - Its actually a quick and easy alternative to blog postings on our site.

It would be great if we could automatically hook up Discourse with our Twitter accounts so that the title and a shortened link automatically got posted to twitter - to help drive conversations on our forum.

This would only be for news (the initial post) posted to this forum Category, by a Moderator.

This would have broad appeal and help all forums because it would help drive traffic to people's Discourse Forums - which is one of the key challenges that most Discourse forums will have.

Posts: 6

Participants: 3

Read full topic

Copy/Paste of gif file changes file format (Chrome only?)

$
0
0

David Maxwell wrote:

Ran into an odd bug over in another discourse instance.

We have users that are attached to the smilies that we had when we were running vB, especially some of the silly animated ones. So one of our moderators took the time to drag/drop them into one thread, with the hopes that someone could bookmark the page, then just copy/paste from that page into another thread, and wallah, they're happy! smiley

Except it doesn't quite work out that way frowning - but only if you use Chrome confused

Repro Steps:
1. Have two tabs open, one with the animated gifs in it, the other the discourse instance you're posting to.
2. Copy a gif from one tab, switch over to discourse and paste into the post.
3. Copied image is a png instead of gif. . Since it's a png, no animations remain cry, so our nana man can't dance no mo'

Saving local and then either dragging/dropping or using the upload functionality works:

Works fine in IE11 and FF, so it seems localized to Chrome for some reason.

It's not a discourse/discourse thing. Copy/paste of gif found on google search.

Posts: 3

Participants: 2

Read full topic

Likes on moved posts link incorrectly and show as unread in notifications

$
0
0

TechnoBear wrote:

Continuing the discussion from Replies made to moved/deleted topics show as unread in notifications:

I presume this is related to the above issue.

If a post receives likes, and is then moved to another topic, the notification link goes to the original topic, not the "liked" post, and the notification shows "unread" (even after the "liked" post has been visited).

Posts: 1

Participants: 1

Read full topic

Pull Social Comments Into Discourse

$
0
0

charles wrote:

trying out discourse and wonder if anything available like this?

Pull in Tweets and Replies as Comments

When publishing to Facebook and Twitter, the discussion is likely to
continue there. Through Social, we can aggregate the various mentions,
retweets, @replies, comments and responses and republish them as
WordPress comments.

Automatically polls Twitter and Facebook for mentions of your postDisplays mentions inline with commentsFilter comments by originating source (Facebook, Twitter, or your blog as comments)Allow users to reply to the offsite responses

link to wordpress plugin: https://wordpress.org/plugins/social/

inside wordpress, can simply paste URL of tweet and it'll be shown as wordpress comment under blog post.

Posts: 2

Participants: 2

Read full topic


Can Polls be limited to groups?

$
0
0

Adrian Nießen wrote:

I am wondering whether it is possible to limit the possibility to vote in a poll to certain groups. Should that not be the case, I figure it would be easy to add that functionality, would it not?

Posts: 3

Participants: 2

Read full topic

Zoho mail as mail server

$
0
0

Steven Greco wrote:

Got discourse up and running on my DigitalOcean box but i am not receiving the activation email. We i go through the email troubleshooting and try using the mailtest app I get a "ERROR: Conection unexpectedly closed.

I do have the spf records setup. and have checked the creds. I can telnet to the server on port 587 as well.

Posts: 8

Participants: 3

Read full topic

Why is default install beta?

$
0
0

charles wrote:

Shouldn't default install be stable and not beta? I've followed the install instructions but looking at version it is beta. Confused.

Posts: 2

Participants: 2

Read full topic

Stability of Discourse and other questions

$
0
0

Rahul Ramesh wrote:

Hi, I am completely new to discourse, rather am completely a stranger to apps other than those in PHP.
SO When I had to install a community framework for our local community my first choice was NodeBB due to its js architecture and selection of themes, but it was too unstable that it crashed more than 5 times during the test phase in digital ocean droplet. The problem was attributed to installation of plugins, since plugins break with each version upgrade. So finally I selected Discourse. Installation was rather hefty but seems stable so far.

  1. I would like to know whether future updates (like for instance in my control panel a notification is being shown to update to 1.1 beta6 version) will result in any probs like instability or so. Sorry if this question is too much "beginners level-ish", but am going through as much materials to get accustomed to these new environments.

  2. Does the backup feature saves the database and all other user info like a normal mysql database back up does. Ya am new to postgres SQL as well.

  3. I came across some plugins in this forum for discourse, are these plugins compatible with that latest discourse version. Because the forum posts doesn't mention which version the plugins are for or so.

  4. Also it is not necessary to compulsorily update to beta releases, right?

  5. Currently am using a 1gb ram and 2gb swap as the configuration, is it enough for a fairly big community, say about one hundred thousand members.

Posts: 8

Participants: 2

Read full topic

How to get password for "discourse" user?

$
0
0

Jeff Vienneau wrote:

Hi,

I can log in a root, but want to assume the discourse user log in to install import script. Where is this stored?

I'm assuming it is in a script and if I change the password it will break the installation.

Posts: 1

Participants: 1

Read full topic

RSS returns 406 error

$
0
0

Camille Roux wrote:

RSS seems not to work on the last version (3825b04 version). Here is what it returns:

> curl -I https://forum.pragmaticentrepreneurs.com/latest.rss
HTTP/1.1 406 Not Acceptable
Server: nginx
Date: Sat, 18 Oct 2014 01:08:24 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
Status: 406 Not Acceptable
X-Request-Id: 4b5482be-a191-4327-aabb-83c844d7184a
X-Runtime: 0.127474
Set-Cookie: __profilin=p%3Dt; path=/

Posts: 5

Participants: 4

Read full topic

Invalid Format: Expected

$
0
0

Ma Jin wrote:

Why move the mouse to the post will show
Invalid Format: Expected "=", "}" or [a-zA-Z $ _] but "% u5176" found.

Posts: 3

Participants: 2

Read full topic


Translation of poll

Using REST API from HTML Head/Top of Page

$
0
0

Spero Koulouras wrote:

I'd like to be able to create new topics using the REST API from code stuck into the top of page. The use case for this is to provide a simple box where the user can type a short message and have it automatically placed into a fixed category. I used a Javascript XHR to mimic "Create Topic" as closely as possible, passing the csrf-token and cookies. The Post created by "Create Topic" works and generates a new topic as it should. My post, which looks pretty identical, does not generate an error or a log, it just fails silently. I thought I could get away without using the api key since this is from within the user's currently logged in session. Any thoughts?

Prototyped with the following code:

anHttpRequest.open( "POST", "/posts", true );
anHttpRequest.setRequestHeader("X-CSRF-Token", getMetaContent("csrf-token"));
anHttpRequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
anHttpRequest.setRequestHeader("Content-type","application/x-www-form-urlencoded");
anHttpRequest.send("raw=another+in+the+string+of+messages&is_warning=false&category=32&archetype=regular&title=and+again+and+again");

This generates an HTTP Post that is pretty much identical to what I see if I use Create Topic, except the new topic does not get created.

Remote Address:54.68.138.121:80
Request URL:http://dev.sennseis.com/posts
Request Method:POST
Status Code:200 OK

**Request Headers** view parsed
    POST /posts HTTP/1.1
    Host: dev.sennseis.com
    Connection: keep-alive
    Content-Length: 110
    Origin: http://dev.sennseis.com
    X-CSRF-Token: M+Cfdwd1RjaQcHO9gzg9aImTH+4Px8zYDYIoV7shJuE=
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36
    Content-type: application/x-www-form-urlencoded
    Accept: */*
    Referer: http://dev.sennseis.com/c/help-requests
    Accept-Encoding: gzip,deflate
    Accept-Language: en-US,en;q=0.8
    Cookie: guidedTour=hide; SS_MID=6bf6d0c6-ea2f-4ece-8490-9f32a4833225i10u1rhs; ss_cid=da26a397-3728-4bbc-b1e6-edd79c421bc7; _t=f044cfefc86de3779b1f25b44ed79c38; _gat=1; _ga=GA1.2.831699875.1412601719; _forum_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJTMxMGQ4ZTI5OGVmMTM4MGZjNzRhYjVmNTcyNzk0MDdmBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMU0rQ2Zkd2QxUmphUWNITzlnemc5YUltVEgrNFB4OHpZRFlJb1Y3c2hKdUU9BjsARkkiGmRpc2FibGVfY3VzdG9taXphdGlvbgY7AEZGSSIKZmxhc2gGOwBUewdJIgxkaXNjYXJkBjsAVFsGSSIMcmVmZXJlcgY7AFRJIgxmbGFzaGVzBjsAVHsGSSIMcmVmZXJlcgY7AFQiNmh0dHA6Ly9kZXYuc2VubnNlaXMuY29tL3QvY3JlYXRlLWEtaGVscC10b3BpYy80MzE%3D--b2407c6eb3c578e8f16aa21b6494bda102b292d1

**Form Data** view parsed
    raw=another+in+the+string+of+messages&is_warning=false&category=32&archetype=regular&title=and+again+and+again

 **Response Headers** view source
    Connection:keep-alive
    Content-Encoding:gzip
    Content-Type:application/json; charset=utf-8
    Date:Sat, 18 Oct 2014 00:32:10 GMT
    Server:nginx
    Status:200 OK
    Transfer-Encoding:chunked
    X-Content-Type-Options:nosniff
    X-Frame-Options:SAMEORIGIN
    X-Request-Id:1b94e24c-1026-48d2-a48e-889e69a029b4
    X-Runtime:0.102528
    X-UA-Compatible:IE=edge
    X-XSS-Protection:1; mode=block

And here is the HTTP Post generated by Create Topic that works. If there are any meaningful differences they escape me. Watching the network trace in Chrome after getting the 200 response to this post Discourse does a Get to jump to the post - from the network trace it is not clear where the id of the new post gets returned. I have not looked at the Discourse source yet.

Remote Address:54.68.138.121:80
Request URL:http://dev.sennseis.com/posts
Request Method:POST
Status Code:200 OK

Request Headers view parsed
POST /posts HTTP/1.1
Host: dev.sennseis.com
Connection: keep-alive
Content-Length: 96
Origin: http://dev.sennseis.com
X-CSRF-Token: M+Cfdwd1RjaQcHO9gzg9aImTH+4Px8zYDYIoV7shJuE=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
X-Requested-With: XMLHttpRequest
Referer: http://dev.sennseis.com/c/help-requests
Accept-Encoding: gzip,deflate
Accept-Language: en-US,en;q=0.8
Cookie: guidedTour=hide; SS_MID=6bf6d0c6-ea2f-4ece-8490-9f32a4833225i10u1rhs; ss_cid=da26a397-3728-4bbc-b1e6-edd79c421bc7; _t=f044cfefc86de3779b1f25b44ed79c38; _forum_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJTMxMGQ4ZTI5OGVmMTM4MGZjNzRhYjVmNTcyNzk0MDdmBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMU0rQ2Zkd2QxUmphUWNITzlnemc5YUltVEgrNFB4OHpZRFlJb1Y3c2hKdUU9BjsARkkiGmRpc2FibGVfY3VzdG9taXphdGlvbgY7AEZGSSIKZmxhc2gGOwBUewdJIgxkaXNjYXJkBjsAVFsASSIMZmxhc2hlcwY7AFR7BkkiDHJlZmVyZXIGOwBUIjZodHRwOi8vZGV2LnNlbm5zZWlzLmNvbS90L2NyZWF0ZS1hLWhlbHAtdG9waWMvNDMx--80751eab343207978a4495616969ddfee8745ccb; _gat=1; _ga=GA1.2.831699875.1412601719

Form Dataview parsed
raw=this+should+work&is_warning=false&category=32&archetype=regular&title=a+test+of+create+topic

Response Headersview source
Connection:keep-alive
Content-Encoding:gzip
Content-Type:application/json; charset=utf-8
Date:Sat, 18 Oct 2014 00:31:24 GMT
Server:nginx
Status:200 OK
Transfer-Encoding:chunked
X-Content-Type-Options:nosniff
X-Frame-Options:SAMEORIGIN
X-Request-Id:136e3eee-0a07-4077-8a92-cde25a7314cb
X-Runtime:0.090278
X-UA-Compatible:IE=edge
X-XSS-Protection:1; mode=block

Posts: 3

Participants: 2

Read full topic

Odd lines through words in beta6b

Can I create ads in between answer?

Comments are not being pulled

Viewing all 60721 articles
Browse latest View live




Latest Images