When i create a new topic, the URL of topic will only add any english characters and totally ignores the persian characters and if the title is just in Persian, it turns it to /t/topic/[topic-number]
Action : Create invite via profile page, choose create link, copy link, paste into facebook messenger conversation. Expected behavior : After the link is clicked and some confirmation is given by the invitee, an account is created and a notification is sent to the inviter saying the invite was accepted. Actual behavior: As soon as the message appears as sent (not seen), a notification appears on discourse saying the corresponding user accepted the invite.
I recently migrated servers on Digital Ocean (downgraded), except that on the new server, the Discourse installation is not sending out e-mails, e.g. Requesting a New Password, New User Sign Ups.
I feel like I have missed editing a file/some files, but I am not sure which.
We're setting up Discourse for our product forums, and want to make sure that certain people monitor certain sub-forums in their product area. We really like mailing list mode, but it requires us to filter on the email receiver side. What we would like to be able to do is have mailing list mode respect the selected monitoring level.
For instance, if I set a forum to Monitoring from the pull down have mailing list email me like it does today, but if I had it set to normal or muted I should not receive email notifications for those. This would allow our product managers and SMEs to in certain product areas to only receive emails about their topics.
I can't see a way to get the system to do this today. If I missed something please let me know!
So we recently are having problem with our forums on many different areas but this is another one.
Basically we're running the emails through the Sparkpost email system that is recommended, but when we sign up for an account it says that the activation email has been sent yet we look into our folders and what not and nothing appears?
So basically we aren't getting our activation emails, can anyone halp?
Hi, So upon running the wizard, instead of using a normal jpeg/png for the logo, I tried to upload an SVG file in place (for primary and compact logo versions) and it didn't work. Is there anyway there could potentially be support for SVG Logos? It would work perfectly with all screen sizes (as it scales effortlessly) and is extremely compact (my JPEG takes 15kb while my SVG takes 1kb)
I've had fairly good experiences using plugin-outlets, but I wanted to improve my Discourse plugin dev chops.
So I decided I'd try to see if I could put together Ruby and Ember code by following this (that seems to be more about modifying Core files than plugins)
I have a plugin.rb
# name: discourse-newpage
# about: learning exercise
# version: 0.1
# authors: Mittineague
# url: https://github.com/Mittineague/no-repo-for-this.git
enabled_site_setting :mitt_newpage_enabled
module ::DiscourseNewpage
def self.plugin_name
'discourse-newpage'.freeze
end
end
after_initialize do
module ::DiscourseNewpage
class Engine < ::Rails::Engine
engine_name "discourse-newpage"
isolate_namespace DiscourseNewpage
end
end
DiscourseNewpage::Engine.routes.draw do
get '/newpage' => 'newpages#index'
get '/newpage/:id' => 'newpages#show'
end
Discourse::Application.routes.append do
mount DiscourseNewpage::Engine, at: "/"
end
require_dependency 'application_controller'
class DiscourseNewpage::NewpagesController < ::ApplicationController
def index
render json: { name: "donut", description: "delicious!" }
rescue StandardError => e
render_json_error e.message
# render text: 'Just sayin' # at newpage.json !?
# render inline: "<%= 'hello , ' * 3 + 'again' %>" # at newpage.json !?
end
def show
render json: { name: "cake", description: "moist!" }
rescue StandardError => e
render_json_error e.message
# render text: 'Just sayin' # at newpage.json !?
# render inline: "<%= 'hello , ' * 3 + 'again' %>" # at newpage.json !?
end
end
end
By going to localhost:3000/newpage.json or localhost:3000/newpage/3.json I get the index and show (which oddly can also display "text" and "inline" by going to "json" when they are the "render")
I have a newpage-route-map.js.es6 file that currently is like
and I have templates/*.hbs and routes/*.js.es6 files for "index" and "show"
After spending quite a bit of time the past few days trying countless variations of uppercase, lowercase, camelcase, slashes, periods, hyphens, different resources, different paths, etc. etc. etc. I have gone well beyond making educated best guesses and gone into throwing against the wall to see if it sticks territory.
No matter what I have tried doing, without the ".json" I invariably get the "OOPS!" page.
Maybe I'm missing the obvious? Maybe it is not possible at all? Maybe I need to extend a different controller?
Hello so I've had a few problems with the Discourse as a whole and well I've read the other posts that people have had, for example rebuilding the app, looking for anything that sticks out which I did find but I can't make any sense of it.
But basically we can't get any of the emails to send for the activation of anyone's account but I did find the thing that might be causing it or at least part of it and I was wondering if anyone would be able to help with this?
This is what I found searching around: (I entered some other information to hide the IP's and Emails everything else is untouched.)
Processing by UsersController#check_username as JSON
Parameters: {"username"=>"", "email"=>"Derp123@hotmail.com", "_"=>"1484801791504"}
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
Started GET "/" for 69.80.120.66 at 2017-01-19 04:55:51 +0000
Processing by ListController#latest as HTML
Rendered list/list.erb within layouts/application (1.2ms)
Rendered layouts/_head.html.erb (0.3ms)
Rendered common/_special_font_face.html.erb (0.2ms)
Rendered common/_discourse_stylesheet.html.erb (0.1ms)
Rendered application/_header.html.erb (0.1ms)
Rendered common/_discourse_javascript.html.erb (0.3ms)
Completed 200 OK in 34ms (Views: 5.3ms | ActiveRecord: 12.0ms)
Started HEAD "/" for 74.115.214.131 at 2017-01-18 07:56:32 +0000
Processing by ListController#latest as HTML
Rendered list/list.erb within layouts/application (1.4ms)
Rendered layouts/_head.html.erb (0.3ms)
Rendered common/_special_font_face.html.erb (0.8ms)
Rendered common/_discourse_stylesheet.html.erb (0.6ms)
Rendered application/_header.html.erb (0.8ms)
Rendered common/_discourse_javascript.html.erb (8.7ms)
Completed 200 OK in 54ms (Views: 22.6ms | ActiveRecord: 12.0ms)
Started GET "/about.json" for 64.71.168.196 at 2017-01-18 08:05:36 +0000
Processing by AboutController#index as JSON
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 2.8ms)
Started GET "/site/basic-info.json" for 64.71.168.196 at 2017-01-18 08:05:36 +0000
Processing by SiteController#basic_info as JSON
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/site/basic-info.json" for 64.71.168.196 at 2017-01-18 08:05:36 +0000
Processing by SiteController#basic_info as JSON
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
Started GET "/finish-installation/confirm-email" for 70.70.160.98 at 2017-01-18 08:10:32 +0000
Processing by FinishInstallationController#confirm_email as HTML
Rendered finish_installation/confirm_email.html.erb within layouts/finish_installation (1.6ms)
Rendered common/_special_font_face.html.erb (0.2ms)
Rendered layouts/_head.html.erb (0.4ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
Started GET "/javascripts/jquery_include.js" for 70.70.160.98 at 2017-01-18 08:10:34 +0000
ActionController::RoutingError (No route matches [GET] "/javascripts/jquery_include.js")
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
Processing by ExceptionsController#not_found as */*
Rendered exceptions/not_found.html.erb within layouts/no_ember (6.5ms)
Rendered layouts/_head.html.erb (1.3ms)
Rendered common/_special_font_face.html.erb (0.7ms)
Rendered common/_discourse_stylesheet.html.erb (0.7ms)
Rendered application/_header.html.erb (0.8ms)
Rendered text template (0.0ms)
Completed 404 Not Found in 45ms (Views: 0.3ms | ActiveRecord: 15.2ms)
Started GET "/manager/html" for 202.88.253.82 at 2017-01-18 08:39:50 +0000
ActionController::RoutingError (No route matches [GET] "/manager/html")
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
Processing by ExceptionsController#not_found as HTML
Rendered exceptions/not_found.html.erb within layouts/no_ember (6.3ms)
Rendered layouts/_head.html.erb (0.3ms)
Rendered common/_special_font_face.html.erb (0.2ms)
Rendered common/_discourse_stylesheet.html.erb (0.1ms)
Rendered application/_header.html.erb (0.2ms)
Rendered text template (0.0ms)
Completed 404 Not Found in 40ms (Views: 0.3ms | ActiveRecord: 14.9ms)
Started GET "/" for 157.55.39.238 at 2017-01-18 08:39:56 +0000
Processing by ListController#latest as */*
Rendered list/list.erb within layouts/crawler (1.4ms)
Rendered layouts/_head.html.erb (0.3ms)
Completed 200 OK in 47ms (Views: 5.0ms | ActiveRecord: 7.8ms)
Started PROPFIND "/webdav/" for 170.0.236.103 at 2017-01-18 09:04:16 +0000
ActionController::RoutingError (No route matches [PROPFIND] "/webdav")
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
Started GET "/" for 157.55.39.167 at 2017-01-18 09:04:27 +0000
Processing by ListController#latest as */*
Rendered list/list.erb within layouts/crawler (1.2ms)
Rendered layouts/_head.html.erb (0.3ms)
Completed 200 OK in 50ms (Views: 5.9ms | ActiveRecord: 16.2ms)
Started GET "/stylesheets/mobile_951179f69f7fb5897522438b88a24689039fc3be.css?__ws=dingletron.com" for 131.253.25.175 at 2017-01-18 09:04:29 +0000
Processing by StylesheetsController#show as HTML
Parameters: {"__ws"=>"dingletron.com", "name"=>"mobile_951179f69f7fb5897522438b88a24689039fc3be"}
Sent file /var/www/discourse/tmp/stylesheet-cache/mobile_951179f69f7fb5897522438b88a24689039fc3be.css (0.1ms)
Completed 200 OK in 6ms (ActiveRecord: 1.1ms)
Started GET "/robots.txt" for 207.46.13.84 at 2017-01-18 09:04:42 +0000
Processing by RobotsTxtController#index as */*
Rendered robots_txt/index.erb (0.4ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
(Edit:) No one has been able to log in as Admin as the emails are not getting through. Also we have checked all our settings like the password, mail service name and etc. They're all correct.
If anyone knows what is ore might be happening any help would be appreciated. Thank you for reading.
Forgive me, if this is a really juvenile question.
There are routes defined in both ruby on Rails and ember. How the routing is working? Similarly, The views in Ruby on Rail defines the html code and similarly templates of ember. How is everything interacting?
That's a work-around for the issue explained here:
If I do an update with docker_manager and the configuartion is a different one afterwords, that means a configuration without the replace hook, that I would consider this to be a bug.
I have no idea when this happened but I guess it was after some upgrade, all uploaded images were no longer http but https. I've talked to my CDN ISP but they said it was discourse that made the change.
Our Discourse installation recently are running into an issue that lots Jobs::UserEmail keeps getting enqueued way faster than the speed that are getting processed. The jobs will get enqueued every 30mins as the routine scanning process for digest are getting executed. The number of jobs are getting increased in a crazy fast manner so we could easily ended up queuing millions of jobs to be executed within hours then eventually crash the Redis and halt the entire system. Our system only has few hundred K users so apparently there are new jobs for the same user getting enqueued before the previous ones are processed.
We are currently using Discourse 1.7 stable which had just been upgraded from beta. We did not have this issue before the upgrade and kind of lost right now how we could get this issue addressed. The only way for us to stabilize the system is turn off the weekly digest by setting the day to 0. However we do need this feature to work per our marketing requirements.
So I posted a little introductory video in our FAQ section linking to some of the services we offer and while it does appear in the preview and actual main topic post, it doesn't show up when going to my FAQ page @ website.com/faq ?
Not sure what is happening here, I checked any youtube related settings to make sure nothing regarding embeds was turned off and video embeds work fine in normal posts!
Upon a new member registering for Discourse, they are sent a message by the system (or whatever account you specify) introducing them to the community. Upon some investigation, it seems I can't edit the entire message, only certain parts!
This part seems to be included by default!
We believe in civilized community behavior at all times.
Enjoy your stay!
(If you need to communicate with staff members as a new user, just reply to this message.)
Any chance this can change? I don't know about everyone else, but I would like my main site's welcome message to be fully adaptable to the individual website!
Upon looking at the Main Discourse Repo, the config /locales/server.en.yml file seems to be where the default message is being hard coded. Any chance this could change?
Its a very big forum, around 0.5 million topics and 10 thousands tags, which are on each topic, 3-4 in number. Multiple tags search query takes very very long time, how to fix this ?
I have a VM installation with Ubuntu 16.04 docker standalone per:
I use this as a sandbox to try various things out rather than experimenting around on our live install (forums.jag-lovers.com).
The installation is fine (kudos on making it so simple), and I've restored a backup from our live site to have some data to play with (I edited app.yml and put bad values in the smtp values to make sure it wouldn't start sending emails and such).
Sidekiq is of course bombing out because there are outgoing mail errors.
Can I add mailcatcher to a standalone install? How?