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

Email response that fails with topic not found

$
0
0

@badevguru wrote:

I am trying to get Discourse to engage Zendesk by setting up the support address as an account that people can PM. The PM should shoot an email in to Zendesk. From there I should be able to file responses in Zendesk which generate a response email back to discourse which should get added to the PM topic. Instead, Discourse is rejecting the email from Zendesk with the following error message:

We're sorry, but your email message to ["forum-replies+0ad32e9acaf9153383d272fb0ab3eca8@openrov.com"] (titled [Request received] [OpenROV Forums] [PM] New test message that should go in zendesk) didn't work. The topic is not found, it may have been deleted. If you believe this is in error, contact a staff member.

However, If I reply to the reply address from another account, it goes through no problem.

The following is the raw message that was sent from zendesk. Are there some subtle rules that are having an issue with the support+id199@openrov.zendesk.com address? Is it the multipart email?

Delivered-To: forum-replies+0ad32e9acaf9153383d272fb0ab3eca8@openrov.com
Received: by 10.27.91.17 with SMTP id p17csp875057wlb;
        Tue, 10 Feb 2015 13:47:52 -0800 (PST)
X-Received: by 10.194.109.9 with SMTP id ho9mr55544771wjb.29.1423604872331;
        Tue, 10 Feb 2015 13:47:52 -0800 (PST)
Return-Path: <support@openrov.zendesk.com>
Received: from out2.pod4.sac1.zdsys.com (out2.pod4.sac1.zdsys.com. [192.161.146.69])
        by mx.google.com with ESMTPS id o10si31193110wjx.108.2015.02.10.13.47.51
        for <forum-replies+0ad32e9acaf9153383d272fb0ab3eca8@openrov.com>
        (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 10 Feb 2015 13:47:52 -0800 (PST)
Received-SPF: pass (google.com: domain of support@openrov.zendesk.com designates 192.161.146.69 as permitted sender) client-ip=192.161.146.69;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of support@openrov.zendesk.com designates 192.161.146.69 as permitted sender) smtp.mail=support@openrov.zendesk.com;
       dkim=pass header.i=@zendesk.com;
       dmarc=pass (p=NONE dis=NONE) header.from=zendesk.com
Received: from zendesk.com (work4.pod4.sac1.zdsys.com [10.100.5.14])
	by out2.pod4.sac1.zdsys.com (Postfix) with ESMTP id 76694211A7F8
	for <forum-replies+0ad32e9acaf9153383d272fb0ab3eca8@openrov.com>; Tue, 10 Feb 2015 21:47:50 +0000 (UTC)
Date: Tue, 10 Feb 2015 21:47:50 +0000
From: OpenROV <support@openrov.zendesk.com>
Reply-To: OpenROV <support+id199@openrov.zendesk.com>
To: Brian Adams <forum-replies+0ad32e9acaf9153383d272fb0ab3eca8@openrov.com>
Message-ID: <X63A1VDG_54da7c864dda1_3cf53fdd4d0cd338130394_sprut@zendesk.com>
In-Reply-To: <X63A1VDG@zendesk.com>
Subject: [Request received] [OpenROV Forums] [PM] New test message that should
 go in zendesk
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_54da7c866f5cb_3cf53fdd4d0cd3381304141";
 charset=utf-8
Content-Transfer-Encoding: 7bit
X-Auto-Response-Suppress: All
Auto-Submitted: auto-generated
X-Mailer: Zendesk Mailer
X-Delivery-Context: event-id-16904952239
DKIM-Signature:  v=1; a=rsa-sha256; c=relaxed/relaxed; d=zendesk.com;
 q=dns/txt; s=zendesk1; t=1423604870;
 bh=F3vbRBniojK4Gs+AEz4TKGIF1VI4FbTXH0KcpetPi7M=;
 h=date:from:reply-to:to:message-id:in-reply-to:subject:mime-version:content-type:content-transfer-encoding;
 b=Mb9AdhS+PmA1fViU6C9JM9TUwZHl5IORj+ru8iT1PJlEzcPegJnc1vbaKQZ7zH2aAxVTUPYdr2Seom7EjpWJthUxPqNQN+4/4KKNyGaii0Xvb2OjfqgUn3Vu1TFcNChLstvydqaW6RkASWMVQiU/nJoTZiVPah1+HqHpG1MsLBc=


----==_mimepart_54da7c866f5cb_3cf53fdd4d0cd3381304141
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

##- Please type your reply above this line -##

[Request received] [OpenROV Forums] [PM] New test message that should go =
in zendesk

Your request, request #(199) has been received. Please allow 24-48 hours =
for a reply.

To add additional comments, reply to this email.

----------------------------------------------

Brian A, Feb 10, 11:47

Just assign to Brian A so he can test the reply functionality.

Posted by badevguru on 02/10/2015






---
To respond, reply to this email or visit https://forum.openrov.com/t/new-=
test-message-that-should-go-in-zendesk/2239/1 in your browser.

To unsubscribe from these emails, visit your [user preferences](https://f=
orum.openrov.com/my/preferences).

--------------------------------
This email is a service from OpenROV.









[X63A-1VDG]=

----==_mimepart_54da7c866f5cb_3cf53fdd4d0cd3381304141
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww=
w.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=
" />
  <style type=3D"text/css">
    table td {
      border-collapse: collapse;
    }
    =

  </style>
</head>
<body  style=3D"width: 100%!important; margin: 0; padding: 0;">
  <div style=3D"padding: 10px ; line-height: 18px; font-family: 'Lucida G=
rande',Verdana,Arial,sans-serif; font-size: 12px; color:#444444;">
    <div style=3D"color: #b5b5b5;">##- Please type your reply above this =
line -##</div>
    <p>Your request, request #(199) has been received. Please allow 24-48=
 hours for a reply.</p><p>To add additional comments, reply to this email=
.</p><p></p><div style=3D"margin-top: 25px" data-version=3D"2"><table wid=
th=3D"100%" cellpadding=3D"0" cellspacing=3D"0" border=3D"0"><tr><td widt=
h=3D"100%" style=3D"padding: 15px 0; border-top: 1px dotted #c5c5c5;">   =
   <table width=3D"100%" cellpadding=3D"0" cellspacing=3D"0" border=3D"0"=
 style=3D" table-layout:fixed;"><tr><td valign=3D"top" style=3D"padding: =
0 15px 0 0;width: 40px;">              <img alt=3D"Brian Adam" height=3D"=
40" src=3D"http://www.gravatar.com/avatar/dd066e70b85ab560d7517c4afa98147=
4?size=3D40&amp;default=3Dhttps%3A%2F%2Fassets.zendesk.com%2Fimages%2Ffra=
me_user.png&amp;r=3Dg" style=3D"height: auto; line-height: 100%; outline:=
 none; text-decoration: none; -webkit-border-radius: 5px; -moz-border-rad=
ius: 5px; border-radius: 5px;" width=3D"40" /></td>                    <t=
d width=3D"100%" style=3D"padding: 0; margin: 0;" valign=3D"top">        =
    <p style=3D"font-family: 'Lucida Grande','Lucida Sans Unicode','Lucid=
a Sans',Verdana,Tahoma,sans-serif; font-size: 15px; line-height: 18px; ma=
rgin-bottom: 0; margin-top: 0; padding: 0; color:#1b1d1e;">              =
<strong>Brian Adams</strong>             </p>            <p style=3D"font=
-family: 'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Verdana,Taho=
ma,sans-serif; font-size: 13px; line-height: 25px; margin-bottom: 15px; m=
argin-top: 0; padding: 0; color:#bbbbbb;">              Feb 10, 11:47    =
        </p>                                      <p style=3D"line-height=
: 22px; font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',V=
erdana,Tahoma,sans-serif; margin-top: 15px; margin-bottom: 15px; font-siz=
e: 14px; color:#2b2e2f;">    Just assign to Brian A so he can test the re=
ply functionality.  </p>  <p style=3D"line-height: 22px; font-family:'Luc=
ida Grande','Lucida Sans Unicode','Lucida Sans',Verdana,Tahoma,sans-serif=
; margin-top: 15px; margin-bottom: 15px; font-size: 14px; color:#2b2e2f;"=
>    Posted by badevguru on 02/10/2015  </p>  <p style=3D"line-height: 22=
px; font-family:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Verda=
na,Tahoma,sans-serif; margin-top: 15px; margin-bottom: 15px; font-size: 1=
4px; color:#2b2e2f;">      </p>  <p style=3D"line-height: 22px; font-fami=
ly:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Verdana,Tahoma,san=
s-serif; margin-top: 15px; margin-bottom: 15px; font-size: 14px; color:#2=
b2e2f;">      </p>  <p style=3D"line-height: 22px; font-family:'Lucida Gr=
ande','Lucida Sans Unicode','Lucida Sans',Verdana,Tahoma,sans-serif; marg=
in-top: 15px; margin-bottom: 15px; font-size: 14px; color:#2b2e2f;">    <=
br />  ---<br />  To respond, reply to this email or visit <a href=3D"htt=
ps://forum.openrov.com/t/new-test-message-that-should-go-in-zendesk/2239/=
1">https://forum.openrov.com/t/new-test-message-that-should-go-in-zendesk=
/2239/1</a> in your browser.  </p>  <p style=3D"line-height: 22px; font-f=
amily:'Lucida Grande','Lucida Sans Unicode','Lucida Sans',Verdana,Tahoma,=
sans-serif; margin-top: 15px; margin-bottom: 15px; font-size: 14px; color=
:#2b2e2f;">    To unsubscribe from these emails, visit your [user prefere=
nces](<a href=3D"https://forum.openrov.com/my/preferences">https://forum.=
openrov.com/my/preferences</a>).  </p>                                  <=
/td>        </tr></table></td>  </tr></table></div>
    <div style=3D"color: #aaaaaa; margin: 10px 0 14px 0; padding-top: 10p=
x; border-top: 1px solid #eeeeee;">
     This email is a service from OpenROV. Delivered by <a href=3D"http:/=
/www.zendesk.com/help-desk-software/?utm_medium=3Dpoweredbyzendesk&utm_so=
urce=3Demail-notification&utm_campaign=3Dtext">Zendesk</a>.
    </div>
  </div>
<span style=3D'color:#FFFFFF'>Message-Id:X63A1VDG_54da7c864dda1_3cf53fdd4=
d0cd338130394_sprut</span></body>
</html>

----==_mimepart_54da7c866f5cb_3cf53fdd4d0cd3381304141--

Posts: 8

Participants: 3

Read full topic


Error while importing PhpBB attachments

$
0
0

@Sano wrote:

Hello!

My Discourse instance is up and running. Everything went well for users, posts and categories, except for the attachments:

creating topics and posts
     6315 / 6315 (100.0%)
creating private messages
       52 / 52 (100.0%)
Importing attachments...

      124 / 6419 (  1.9%)  /var/www/discourse/script/import_scripts/base.rb:570:in `html_for_upload': wrong number of arguments (1 for 2) (ArgumentError)
        from script/import_scripts/phpbb3.rb:411:in `block (2 levels) in import_attachments'
        from script/import_scripts/phpbb3.rb:360:in `gsub!'
        from script/import_scripts/phpbb3.rb:360:in `block in import_attachments'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/relation/batches.rb:52:in `block (2 levels) in find_each'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/relation/batches.rb:52:in `each'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/relation/batches.rb:52:in `block in find_each'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/relation/batches.rb:125:in `find_in_batches'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/relation/batches.rb:51:in `find_each'
        from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.8/lib/active_record/querying.rb:9:in `find_each'
        from script/import_scripts/phpbb3.rb:355:in `import_attachments'
        from script/import_scripts/phpbb3.rb:48:in `execute'
        from /var/www/discourse/script/import_scripts/base.rb:77:in `perform'
        from script/import_scripts/phpbb3.rb:488:in `<main>'

Anyone knows what's wrong ?

Posts: 2

Participants: 2

Read full topic

PAID REQUEST: Dark & Light Theme

$
0
0

@Overmind wrote:

I need a dark and light theme design for my site as well as the CSS to add a theme selector like shown in this post:

The dark theme we'd want to be similar to: http://newforums.gearboxsoftware.com/latest
A light theme with preferably more blue or purple color influence.

If you think you can do this let me know.

Posts: 1

Participants: 1

Read full topic

Why the user's small avatar in my site is not displayed properly?

Hiding the Log In button

Plugins admin section is shown to moderators

$
0
0

@tobiaseigen wrote:

Moderators see a PLUGINS menu item in admin, but there is nothing for them to do there. They can see the plugins installed and click to learn about them on github, but if they click the "change settings" button everything disappears. On my site moderators don't care about and are better shielded from this level of techie information, so better to not display PLUGINS menu item to moderators at all.

While you're at it, please also hide error log menu item from moderators. When they click through to http://community.namati.org/logs they do not have access anyway and get a "The page you requested doesn't exist or is private." error.

Posts: 2

Participants: 2

Read full topic

Latest messages feed

How to encrypt the email addresses for compliance with privacy and PII laws?

$
0
0

@nileshtrivedi wrote:

We are a financial organization and are required to comply with privacy laws of various countries that asks us to encrypt all "Personally Identifiable Information". Email address falls into that category so we want to have Discourse setup in a way that users' email addresses are stored in encrypted form and offer at least some protection against hackers, SQL injection attacks and/or rogue employees.

Is this feature available? If no, what's the best way to implement this?

Posts: 1

Participants: 1

Read full topic


Support for automatic backup encryption (GPG?)

$
0
0

@jscinoz wrote:

Hi there,

I'm one of the IT officers of Pirate Party Australia, and last year set up a self-hosted Discourse instance for the party which has been going quite well. While we use the automated backup functionality, sadly we can't use the built-in S3 upload functionality, as internal policy mandates that any data stored with third-party services must be encrypted locally.

While it's not too difficult to simply write some external script invoked via cron to encrypt the backup archives then upload to S3 outside of Discourse, it's admittedly a bit of a hack. Since Discourse itself supports automatic backups (& upload to S3), it'd be great if there was support for automatically encrypting (ideally via GPG, since that's already widely used and due to its asymmetric nature, no passphrases would be required during back up operations) backup archives before uploading to S3.

Is there any possibility of such functionality being implemented?

Posts: 1

Participants: 1

Read full topic

Converting public to private

$
0
0

@modius wrote:

Have been recently involved in a botched attempt at migrating a mailing list to Discourse. However, the community has decided to try hosting a private group for admin etc.

So I now have a discourse forum full of users I no longer want in there, since things are supposed to be private smile

I notice that when I change the config to require login and approval, that an option to reject or accept the users in the existing database has appeared. I assume it sees these users as having created accounts but are waiting for approval.

If I reject these users will they be emailed some sort of awkward rejection letter?

Tried rejecting a user of my own, and it fails on account of the user having posted in the forum. The dialogue reads like rejecting a user deletes the user completely.

Should I be looking at deleting all the topics and then users or wiping the database instead?

Posts: 2

Participants: 1

Read full topic

A plugin that is outside of the default request pipeline

$
0
0

@rubydoob wrote:

If you currently create a simple controller (either via a plugin on just straight into the core) you run into issues.

For example if I just want to create a simple controller that uses my own simple layout:

class BlueController < ActionController::Base
	layout "blank"
  def index
  	@user = User.first
  	render 'blue/index'
  end
end

http://localhost:3000/blue/index

I get an error:

ActionController::RoutingError - uninitialized constant ApplicationHelper::CanonicalURL:
  actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:71:in `rescue in controller'
  actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:66:in `controller'
  actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:46:in `call'
  actionpack (4.1.8) lib/action_dispatch/journey/router.rb:73:in `block in call'
  actionpack (4.1.8) lib/action_dispatch/journey/router.rb:59:in `call'
  actionpack (4.1.8) lib/action_dispatch/routing/route_set.rb:678:in `call'
  rack-protection (1.5.3) lib/rack/protection/frame_options.rb:31:in `call'
  omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
  omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
  omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
  omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
  omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
  omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
  omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
  omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
  omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
  omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
  omniauth (1.2.2) lib/omniauth/strategy.rb:186:in `call!'
  omniauth (1.2.2) lib/omniauth/strategy.rb:164:in `call'
  omniauth (1.2.2) lib/omniauth/builder.rb:59:in `call'
  rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
  rack (1.5.2) lib/rack/head.rb:11:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/flash.rb:254:in `call'
  message_bus (1.0.6) lib/message_bus/rack/middleware.rb:55:in `call'
  rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
  actionpack (4.1.8) lib/action_dispatch/middleware/cookies.rb:560:in `call'

How can I create a controller in a plugin that has its own layout (maybe not even use emberjs etc), but can still use the CurrentUser functionality.
The check_xhr will throw an error if I don't return json, is there a way around this? Or a plugin is always bound by this rule also?

Plugin bootstrap:
Is the preferred method to use the rails plugin generator or to manually create the plugin template?

Posts: 5

Participants: 3

Read full topic

JavaScript Uncaught ReferenceError: bmi_load is not defined

$
0
0

@DeanMarkTaylor wrote:

Found in logs

Info

Uncaught ReferenceError: bmi_load is not defined
Url: http://example.com/
Line: 218
Window Location: http://example.com/

Env

HTTP_HOST: example.com
REQUEST_URI: /logs/report_js_error
REQUEST_METHOD: POST
HTTP_USER_AGENT: Mozilla/5.0 (Linux; Android 4.4.2; en-gb; SAMSUNG SM-G900F Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/1.6 Chrome/28.0.1500.94 Mobile Safari/537.36
HTTP_ACCEPT: */*
HTTP_REFERER: http://example.com/
HTTP_X_FORWARDED_FOR: 1.2.3.235
HTTP_X_REAL_IP: 1.2.3.235

params:
  message: Uncaught ReferenceError: bmi_load is not defined
Url: http://example.com/
Line: 218
Window Locatio
  url: http://example.com/
  line: 218
  window_location: http://example.com/

Also note

Strange miss-spelling of Window Location (Window Locatio)

Discourse version

Discourse 1.2.0.beta6 - https://github.com/discourse/discourse version 38279c79c9941426c579ea0ee133b27786cdf4c6

Posts: 4

Participants: 3

Read full topic

Help me answer questions about markdown formatting from my users

$
0
0

@tobiaseigen wrote:

I am grappling with some questions about markdown formatting from my users - very succinctly framed in the quoted text below, with names changed. How do you respond to questions like these that are pretty valid? Generally speaking I tell them that this is expected behavior of markdown and they have to learn and use markdown, but that only goes so far to help them.

One thing I note is that the markdown editor toolbar handles some things amazingly well, like links, but falls down on other things, like selecting some text and changing to bullet points, or selecting multiple lines of text and bolding or italicizing.

Also a new complaint that is cropping up is that copy/pasted text from outlook or word are truncated, with some long and some short lines.

I wanted to clarify the troubles Bar and Foo had, since there seemed to be some confusion over the phone. I observed these troubles because I was in the same room as Bar as she was struggling with the site, and Foo chimed in that she had similar problems.

To clarify:

  • Both were inputting into the left pane in the browser. They both understand that they are supposed to use markdown in the left pane, that it has its own syntax, and that the preview appears on the right. They understand the basic syntax. They both are on board with using the website to format more complicated emails to groups. Here were a few of their problems.

  • Foo had several separate lines that she had copied over from an email. The equivalent of several one-line paragraphs. She highlighted them all and tried to italicize them. But instead of being italicized, asterisks appeared at either end of her selection in the preview pane as well as in the input pane (not, as she expected, asterisks in the input pane and italics in the preview pane). She had to go in to each individual line and italicize them independently. The same applied to italicizing multiple bulletpoints at once. She had to do it individually to each bulletpoint. There were a lot of lines - it took a lot of time. Any way to italicize a lot of text at once?

  • Foo said that she wanted to put in more break spaces in her message, especially after a dividing line. She said that once she used <br> and it worked great. But she's since tried recreating it and it doesn't work. How does someone use html formatting in Discourse? Do you have to press a certain button to make an html tag recognizable as html?

  • Foo said she understands if there are limitations to the formatting options, but it would be nice if there was a reference guide to how the markdown syntax works in discourse - what you can and cannot do and how. So she knows whether she's trying to do something impossible, or if there is indeed a better way of doing things. I agree!! Can you share a guide to markdown as it works in Discourse? I don't expect you to make one - hopefully one already exists.

  • Bar was having trouble getting "Undo" to work. Sometimes it worked, and sometimes it did not. I just tried it now (Command+Z) and it did not work. Under what conditions does Undo work? How do you undo formatting when writing in the browser?

  • Both Bar and I had several lines we wanted to convert to bulletpoints. In Gmail or Word, you highlight those lines, click the bulletpoint button, and voila, each line gets converted to a bulletpoint. Not so with Discourse. If you highlight several lines, then press the bulletpoint button, all the lines are combined into one bulletpoint. Alternatively, if you place your cursor at the point in a paragraph that you want separated into a new bulletpoint (not highlighting anything, just pressing the bulletpoint button), it pushes your text down and inserts a bullet point with the words "List item" afterwards. Then you have to go and delete the words "List item" and move your text to that spot. Again, we understand if there are limits to this syntax, but we want to make sure we're not missing anything - Is there an easy way to make multiple bulletpoints at once? Let us know and we will happily apply it.

I think those were the problems I observed.

Edit: here's what I wrote to them now as a start:

It's going to be hard for us to satisfy everyone, unfortunately, and especially people embedded in the Microsoft Outlook/Word world are going to resist and be frustrated. There is no silver bullet to just 'fix' this so it behaves the same as Outlook/Word.

Instead, we need to build up a team of moderators who understand and buy into how discourse works who can gently nudge and train new people as well as help with editing/fixing formatting when it goes awry.

and:

If you have a long text prepared in Word you can convert it! I found a two-step way to do it that works pretty well for me but may be a bit much to ask non-techies who fear HTML.

But on the other hand, if you have very long text you want to share, maybe it's best to save it as an attachment and to write a shorter post in discourse introducing it.

Posts: 12

Participants: 6

Read full topic

Show real names on about page and enable hiding of users

$
0
0

@tobiaseigen wrote:

I like the /about page, and appreciate it being simple and transparent about the running and activity of a discourse site. However, on our site we have decided not to give anyone who logs in every day admin access and instead have created one admin user account that is shared by our team to log in and perform admin actions. So that account should be hidden from view everywhere in fact - not just on the about page but in badge listings etc. An option (on the admin page for users? on the preferences page?) to hide/show this would be really nice.

Meanwhile the list of moderators would look better with real names of the moderators rather than their usernames, along with link to the user profile as it exists now. So an admin setting to switch this would be appreciated. (This is generally true - would prefer to see real names to usernames even on badge listings so maybe this could be a sitewide toggle?)

Posts: 9

Participants: 3

Read full topic

403 error when saving a wiki post

$
0
0

@heyrocker wrote:

I created a wiki topic on my site, and it worked great for a while. A couple weeks after creating it and getting several edits, it is now giving a 403 error to any non-admin user who tries to edit it. I as the admin can edit it, but nobody else seems to be able to. Trust levels all look appropriate. Also the message box actually has no error message in it. One of my users got this screenshot.

I did recently upgrade to the most recent version, could that have caused an issue?

Posts: 4

Participants: 2

Read full topic


Markdown parser breaks on unclosed HTML block tag in list item

$
0
0

@elberet wrote:

This snippet causes a JS error:

- <p> foo

Unmatched inline tags, e.g. <i>, work fine, tho.

Posts: 1

Participants: 1

Read full topic

How to import SSO users?

$
0
0

@kennym wrote:

I would like to import users from an existing site, which is the SSO provider, into Discourse so that I don't have to ask them to login themselves into Discourse via SSO.

Any ideas on how to do that?

Posts: 4

Participants: 4

Read full topic

Install terminates while fetching source index from rubygems.org

$
0
0

@robocoder99 wrote:

Hello, I am running as root and trying to install via docker by the instructions at https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md

I am getting this error.
This includes the error and some of the log before the error

& mkdir -p plugins
I, [2015-02-11T17:08:33.012194 #39]  INFO -- :
I, [2015-02-11T17:08:33.012290 #39]  INFO -- : > cd /var/www/discourse/plugins && git clone https://github.com/discourse/docker_manager.git
Cloning into 'docker_manager'...
I, [2015-02-11T17:08:40.782499 #39]  INFO -- :
I, [2015-02-11T17:08:40.783920 #39]  INFO -- : > cp /var/www/discourse/config/nginx.sample.conf /etc/nginx/conf.d/discourse.conf
I, [2015-02-11T17:08:40.797983 #39]  INFO -- :
I, [2015-02-11T17:08:40.804976 #39]  INFO -- : > rm /etc/nginx/sites-enabled/default
I, [2015-02-11T17:08:40.807189 #39]  INFO -- :
I, [2015-02-11T17:08:40.807502 #39]  INFO -- : > mkdir -p /var/nginx/cache
I, [2015-02-11T17:08:40.816406 #39]  INFO -- :
I, [2015-02-11T17:08:40.825493 #39]  INFO -- : Replacing pid /run/nginx.pid; with daemon off; in /etc/nginx/nginx.conf
I, [2015-02-11T17:08:40.826530 #39]  INFO -- : Replacing (?m-ix:upstream[^\}]+\}) with upstream discourse { server 127.0.0.1:3000; } in /etc/nginx/conf.d/discourse.conf
I, [2015-02-11T17:08:40.827381 #39]  INFO -- : Replacing (?-mix:server_name.+$) with server_name _ ; in /etc/nginx/conf.d/discourse.conf
I, [2015-02-11T17:08:40.836129 #39]  INFO -- : Replacing (?-mix:client_max_body_size.+$) with client_max_body_size $upload_size ; in /etc/nginx/conf.d/discourse.conf
I, [2015-02-11T17:08:40.838013 #39]  INFO -- : > echo "done configuring web"
I, [2015-02-11T17:08:40.846865 #39]  INFO -- : done configuring web

I, [2015-02-11T17:08:40.848126 #39]  INFO -- : > cd /var/www/discourse && gem update bundler
I, [2015-02-11T17:09:05.100549 #39]  INFO -- : Updating installed gems
Updating bundler
Successfully installed bundler-1.8.0
Gems updated: bundler

I, [2015-02-11T17:09:05.100906 #39]  INFO -- : > cd /var/www/discourse && chown -R discourse /var/www/discourse
I, [2015-02-11T17:13:07.923663 #39]  INFO -- :
I, [2015-02-11T17:13:07.926861 #39]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development'
I, [2015-02-11T17:47:11.883710 #39]  INFO -- : HTTP GET https://bundler.rubygems.org/api/v1/dependencies
HTTP 200 OK
Fetching source index from https://rubygems.org/

[220 | signal handler] (1423676832) Received SIGTERM scheduling shutdown...
I, [2015-02-11T17:47:11.899232 #39]  INFO -- : Terminating async processes
I, [2015-02-11T17:47:11.899343 #39]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.3/bin/postmaster -D /etc/postgresql/9.3/main pid: 107
2015-02-11 17:47:12 UTC LOG:  received fast shutdown request
2015-02-11 17:47:12 UTC LOG:  aborting any active transactions
2015-02-11 17:47:12 UTC LOG:  autovacuum launcher shutting down
I, [2015-02-11T17:47:12.124865 #39]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 220
2015-02-11 17:47:12 UTC LOG:  shutting down
[220] 11 Feb 17:47:12.305 # User requested shutdown...
[220] 11 Feb 17:47:12.305 * Saving the final RDB snapshot before exiting.
[220] 11 Feb 17:47:12.731 * DB saved on disk
[220] 11 Feb 17:47:12.731 # Redis is now ready to exit, bye bye...
2015-02-11 17:47:12 UTC LOG:  database system is shut down


FAILED
--------------------
RuntimeError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development' failed with return #<Process::Status: pid 329 exit 137>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
2cb1048638f942b9f79fa20190f91ace620615e9cadde7ca73b750271534f7c9
FAILED TO BOOTSTRAP

I am experienced with linux / ubuntu systems but I have very little experience with ruby or gems. What am I doing wrong? I followed the initial instructions to the letter. The only things in the config file that I changed was the smtp server and the admin email.

Posts: 7

Participants: 2

Read full topic

Ability for admin to completely hide a category and its topics?

$
0
0

@tobiaseigen wrote:

I don't suppose there is a way to completely hide a category and its topics from all views. I want to have admin access but not have to see any discussions in one particular category on my forum that is reserved for leadership/management discussions I shouldn't be privy to. I guess it would be nice to be able to turn this on/off in my preferences.

Posts: 8

Participants: 4

Read full topic

How to backup Discourse on a compromised and locked down Digital Ocean droplet?

$
0
0

@Huey_Le wrote:

Recently my Digital Ocean's droplet (server) just got compromised by Trojan that turned my server into a zombie for DDOS attack. What happened now is that Digital Ocean locked down my droplet so that it would not cause further damage. They want me to backup the data and move them to new server instance. I have never done anything like this before in my life thus I have couple of questions

  • Which folder should I back it up ( e.g /var/discourse/ , database, etc?...)
  • How should I deploy my backup into new server in the seamless and least technical involved way?

Posts: 11

Participants: 3

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images