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

Office365 OAuth2 Plugin

$
0
0

@cpradio wrote:

I'm happy to announce that I've completed the Microsoft Office365 OAuth2 plugin.

You can find the new repo at https://github.com/cpradio/discourse-plugin-office365-auth

You can update all settings within the Admin > Settings area (including disabling the plugin).

After installing the plugin, you will need to perform the following steps:

Visit https://dev.outlook.com/appregistration and follow the directions for creating an application, or look up the details of your existing application.

  • Generate a New Password under Application Secrets (copy the password, you will need it for your admin settings in Discourse). It is not necessary to create a Key Pair.
  • Click Add Platform and choose "Web"
  • Add your website as a Redirect URI in this format:
    https://[YOUR_FORUM_FQDN]/auth/microsoft_office365/callback
    (Note that Office 365 requires HTTPS, this will not work without it)
  • Ensure that there is a Delegated Permission of User.Read
  • Leave the Live SDK support option checked.
  • Click Save, the Client ID will be visible in the My Applications list

Any issues should be reported either here or via a GitHub issue. I also welcome translation file PRs, or general enhancement PRs.

Posts: 3

Participants: 2

Read full topic


Hide 'Create Topic' on home page?

$
0
0

@GSeven wrote:

Is it possible to hide the 'create topic' button on the home page?

i would like my users to navigate to the appropriate category/subcategory before posting a topic, because then the correct category option is automatically placed in the composer, instead of having to scroll through what will be hundreds of categories and subcategories in the drop down menu looking for the right one.

Does anybody know how to do this please?

Posts: 8

Participants: 2

Read full topic

Hide Tag selector dropdown from home & category pages?

$
0
0

@GSeven wrote:

Is it possible to hide the tag selector drop down from the home and category pages and have it appear only when users have driven down to the subcategory page?

do anyone know how to do this please?

Posts: 13

Participants: 2

Read full topic

How do I add an moderator and allow him add a member to a group

$
0
0

@Frief wrote:

Well I try to figure out how i set up a Moderator and allow him add a member to a group..

Is there a kind of Tutoial for it?

Posts: 4

Participants: 2

Read full topic

Select tag, change category, tag still selected

$
0
0

@GSeven wrote:

I've been getting lots of amazing help from @cpradio today, and i came across an issue with tags.

I'm unsure if it is a bug or working as intended, so i'm going to post this here to get a bit of discourse team feedback on it.

When i select a category, then a subcategory, then a tag, everything filters properly. However, if i change category from the category selector, the tag is still present in the new category results.

the url changes like this:

select category: ***.uk/c/spare-rooms
select subcategory: ***.uk/c/spare-rooms/cambridgeshire
select tag: ***.uk/tags/c/spare-rooms/cambridgeshire/none
select a different category: ***.uk/tags/c/spare-stuff/none

i was wondering if the tag selection should reset on entering a new category?, like it does if you go 'home' and select a new category.

Posts: 4

Participants: 3

Read full topic

Ubuntu 16.04 LTS - upgrade or migrate?

$
0
0

@steve_pd wrote:

I've finally found a moment to breathe between my various other projects, which means I've a few idle cycles to think about our Discourse environments and how, when or if we should approach the Ubuntu 16.04 LTS upgrade.

Ubuntu 14.04 is supported through until late 2019, so there's no huge rush to accomplish this, but I like to check in on such topics and at least be aware of the potential risks and benefits. From what I can see elsewhere 16.04 is officially supported for fresh installations, but has anyone weighed up upgrading the OS versus migrating the Discourse install to a clean box?

From what I can gather, hosts such as DO will leave 16.04 machines on an older kernel that may not be upgradable for some time, are there any other gotchas?

Has anyone successfully upgraded their machines from 14.04->16.04? What state was Discourse in post-install?

Posts: 5

Participants: 5

Read full topic

How do I quote reply when appearance of "quote reply" button on text selection is turned off?

$
0
0

@vi0oss wrote:

Inserting the quote of selected text as a reply is a useful feature, but appearance of the button typically used for this is annoying for selection readers, so one can opt-out it in preferences.

But how do I use "quote reply" feature without this button? Pressing "Reply" button at the bottom of the post opens empty reply without a quote. Clicking "Blockquote (Ctrl+Shift+9)" on toolbar does nothing.

I think "Blockquote" should mean "Quote reply" (i.e. insert quotation based on selected text above) when no text in the text area is selected.

Posts: 13

Participants: 4

Read full topic

Post template at Topic Level

$
0
0

@SouperC wrote:

I have been using the post template feature for categories. I really like this becuase it gives some guidance to the post on how to construct their post effectively. Good info in = good info out (Hopefully)

Today a need occurred to me to make these available at the topic level.

I can see how this might get messy in a couple of ways...

  • Retroactive addition of a post template to a thread (Mitigation: Simply not allow it, and restrict this feature to threads started by staff)
  • Conflict with a template enforced a the category level.

What are folk's thoughts on this?

Posts: 4

Participants: 3

Read full topic


Latest News Pics and Some weird Bug

$
0
0

@YDT wrote:

Hi Everyone,

We recently took over a discourse install from a client - we moved servers, etc.

First issue was fine for the last month. Whenever we click on "Backup" in admin - it just turns the page dark and does nothing. It was working before. I went ahead and upgraded to the latest version and to no avail. I have been unable to find any docs saying what is going on. I also went ahead and reran the build.

Second - the "New Post" notifications that go out are missing their pictures. Even the logo picture. In the normal weekly emails the logo picture is there. Is there a way to look at where these are set? I have been unable to find anything as of yet. I did have the link to where it was trying to get them from - some long number/letter combination but did not find a single file there.

Really appreciate the direction..

Posts: 3

Participants: 2

Read full topic

Prevent one user to edit another one's post

Discourse lost the ability to login for all accounts

$
0
0

@ewanly wrote:

I'm using Digital Ocean droplet to host Discourse(last version) with Nginx+Let's Encrypt SSL in front.

Yesterday when I was working to enable LinkedIn OAuth login. I'd enabled FORCE_HTTPS to try if it will make OAuth login work but I lost the ability to login from to all accounts. After I'd tried many advice's from the community nothing worked. So I restored my previous droplet snapshot to my working copy.

Then I started by enabling FORCE_HTTPS to test if anything will broke. Everything worked fine. So continued adding the plugins without any problem.

But still I had problem to make login with LinkedIn and Google to work. Following one advice to change Google client callback setup to http vs. https, and its worked. So I did the same for LinkedIn and I was keep trying.

To save myself from login and logout I was trying to sign-up with Google/LinkedIn/Twitter just to see the coming window if its error or not without creating the account (by closing the window of authentication) just After 3-4 times trying I noticed that I lost the complete login to Discourse from all the accounts!.

I'd tried the site.com/users/admin-login and sent the email to 2 different Admin accounts but wasn't useful. Discourse acting like everything is okay but instead of redirecting the user to its logged in page, it was always the same, the page where expecting you to login or to signup.

I'd tried to reset my admin password from the login window. Its working fine. The email sent to me to reset a new password. The link worked fine and Discourse asked me to enter my new password, accepted successfully and informed that I'm logged in and redirected me to page which i'm not logged in again.

Just for another try. I did created a new user, I've got the email to confirm and Discourse accepted my login but again redirect to not logged in page!. I even received the welcome email :slight_smile: .

I did ./launcher rebuild app and tried again. Nothing changed.

So it's seems like there is something serious here. I'd tried to detail my steps to got this problem thinking that it may help the developers to guess its origin. I had no major changes to make Discourse lose control. I'm afraid that it may happen to any running Discourse instance and need immediate investigation.

I hope there is a solution for what I'm facing and I'll be happy if anyone could share it in here!

If any question needed regarding my system with this issue, please ask now before I restore my droplet again :eyes:

Posts: 13

Participants: 5

Read full topic

When a post is moved to a new topic by a moderator, the moved post's author does not track the new topic

How to configure redis with password in case of stand alone redis server

$
0
0

@irshad_discource wrote:

My discourse app need to connect to central redis server which has auth enabled.Right now I am connecting this server by setting DISCOURSE_REDIS_HOST: $MyRedisIP in web_only.yml. Is there a way I can configure a password for redis connection ? Can something be configured like DISCOURSE_DB_PASSWORD ?

Posts: 2

Participants: 2

Read full topic

Not able to add categories on mobile?

Has any one tried webhooks with Discord?


Comments Module in a static page with Text Box

$
0
0

@wtolotti wrote:

Hi guys!

I was thinking, how can I insert a module in my Angular app, without an iframe page, with all the features that comments can have.

I was looking, nowadays there is an embbed tool, but without a comment box and linking to a external page (forum) to reply and view all discussions...

How Can I structure this feature?

Thx!

Posts: 5

Participants: 2

Read full topic

Bundler is older - message

$
0
0

@Silvanus wrote:

Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.

Got this message when upgrading. Should I run that command in container?

Posts: 2

Participants: 2

Read full topic

"Add a custom picture" option has disappeared

$
0
0

@elliem wrote:

Something interesting (or weird) is happening. Suddenly the "Add a custom picture" has disappeared from the "Change your profile picture" popup window. What's even weirder is that it's now also gone from this (meta.discourse forum), it's still there on try.discourse sandbox though.

  • "Allow users to upload custom profile pictures." is ticked.
  • Tried from both regular users and admin users

Any ideas?

Thanks :slight_smile:

Posts: 5

Participants: 4

Read full topic

Error upgrading

$
0
0

@Denis_Didkovsky wrote:

Failed

$ cd /var/www/discourse && git fetch && git reset --hard HEAD@{upstream}
Checking out files:  41% (3024/7374)
Checking out files:  42% (3098/7374)
Checking out files:  43% (3171/7374)
Checking out files:  44% (3245/7374)
Checking out files:  45% (3319/7374)
Checking out files:  46% (3393/7374)
Checking out files:  47% (3466/7374)
Checking out files:  48% (3540/7374)
Checking out files:  49% (3614/7374)
Checking out files:  50% (3687/7374)
Checking out files:  51% (3761/7374)
Checking out files:  52% (3835/7374)
Checking out files:  53% (3909/7374)
Checking out files:  54% (3982/7374)
Checking out files:  55% (4056/7374)
Checking out files:  56% (4130/7374)
Checking out files:  57% (4204/7374)
Checking out files:  58% (4277/7374)
Checking out files:  59% (4351/7374)
Checking out files:  60% (4425/7374)
Checking out files:  61% (4499/7374)
Checking out files:  62% (4572/7374)
Checking out files:  63% (4646/7374)
Checking out files:  64% (4720/7374)
Checking out files:  65% (4794/7374)
Checking out files:  66% (4867/7374)
Checking out files:  67% (4941/7374)
Checking out files:  68% (5015/7374)
Checking out files:  69% (5089/7374)
Checking out files:  70% (5162/7374)
Checking out files:  71% (5236/7374)
Checking out files:  72% (5310/7374)
Checking out files:  73% (5384/7374)
Checking out files:  74% (5457/7374)
Checking out files:  75% (5531/7374)
Checking out files:  76% (5605/7374)
Checking out files:  77% (5678/7374)
Checking out files:  78% (5752/7374)
Checking out files:  79% (5826/7374)
Checking out files:  80% (5900/7374)
Checking out files:  81% (5973/7374)
Checking out files:  82% (6047/7374)
Checking out files:  83% (6121/7374)
Checking out files:  84% (6195/7374)
Checking out files:  85% (6268/7374)
Checking out files:  86% (6342/7374)
Checking out files:  87% (6416/7374)
Checking out files:  88% (6490/7374)
Checking out files:  89% (6563/7374)
Checking out files:  90% (6637/7374)
Checking out files:  91% (6711/7374)
Checking out files:  92% (6785/7374)
Checking out files:  93% (6858/7374)
Checking out files:  94% (6932/7374)
Checking out files:  95% (7006/7374)
Checking out files:  96% (7080/7374)
Checking out files:  97% (7153/7374)
Checking out files:  98% (7227/7374)
Checking out files:  99% (7301/7374)
Checking out files: 100% (7374/7374)
Checking out files: 100% (7374/7374), done.
HEAD is now at b85056f Version bump to v1.7.0.beta6
********************************************************
*** Please be patient, next steps might take a while ***
********************************************************
$ bundle install --deployment --without test --without development
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing rake 11.2.2
Using i18n 0.7.0
Using json 1.8.3
Installing minitest 5.9.1
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 1.6.4
Installing mime-types 2.99.2
Using arel 6.0.3
Installing jmespath 1.3.1
Using babel-source 5.8.34
Using execjs 2.7.0
Using ember-source 1.12.2
Installing byebug 9.0.6 with native extensions
Using certified 1.0.0
Installing coderay 1.1.1
Using concurrent-ruby 1.0.2
Using connection_pool 2.2.0
Using crass 1.0.2
Installing daemons 1.2.4
Using diff-lcs 1.2.5
Using thor 0.19.1
Installing discourse_fastimage 2.0.3
Using docile 1.1.5
Using unf_ext 0.0.7.1
Installing email_reply_trimmer 0.1.4
Using eventmachine 1.2.0.1
Installing excon 0.53.0
Using exifr 1.2.4
Using fabrication 2.9.8
Using fakeweb 1.3.0
Using multipart-post 2.0.0
Using fast_blank 1.0.0
Using fast_stack 0.2.0
Using fast_xs 0.8.0
Using ffi 1.9.10
Using flamegraph 0.9.5
Using fspath 2.1.1
Using sorcerer 1.0.2
Using guess_html_encoding 0.0.11
Using hashie 3.4.4
Using highline 1.7.8
Using hiredis 0.6.1
Using htmlentities 4.3.4
Using http_accept_language 2.0.5
Using image_size 1.4.1
Using in_threads 1.3.1
Using progress 3.1.1
Using jwt 1.5.2
Using kgio 2.10.0
Using libv8 5.0.71.48.3
Using listen 0.7.3
Installing logster 1.2.5
Using lru_redux 1.1.0
Using metaclass 0.0.4
Using method_source 0.8.2
Using mock_redis 0.15.4
Using moneta 0.8.0
Using msgpack 0.7.6
Installing multi_json 1.12.1
Using multi_xml 0.5.5
Using mustache 1.0.3
Using netrc 0.11.0
Using oauth 0.4.7
Using oj 2.14.3
Using ruby-openid 2.7.0
Using redis 3.3.0
Using pg 0.18.4
Using slop 3.6.0
Installing puma 3.6.0 with native extensions
Using r2 0.2.6
Using bundler 1.11.2
Using rails_multisite 1.0.4
Using raindrops 0.16.0
Using rb-fsevent 0.9.7
Using trollop 2.1.2
Using rinku 2.0.0
Using rmmseg-cpp 0.2.9
Using rspec-support 3.4.1
Using rtlit 0.0.5
Using sass 3.2.19
Installing tilt 2.0.5
Using shoulda-context 1.2.1
Using simple-rss 1.3.1
Using simplecov-html 0.10.0
Using spork 1.0.0rc4
Installing timecop 0.8.1
Using rake-compiler 0.9.9
Using tzinfo 1.2.2
Installing nokogiri 1.6.8.1 with native extensions
Using rack-test 0.6.3
Installing message_bus 2.0.2
Using rack-mini-profiler 0.10.1
Using rack-protection 1.5.3
Using mail 2.6.4
Installing aws-sdk-core 2.5.3
Using babel-transpiler 0.7.0
Installing uglifier 3.0.2
Using barber 0.11.1
Using ember-data-source 1.0.0.beta.16.1
Installing sprockets 3.6.3
Using unf 0.1.4
Installing thin 1.7.0 with native extensions
Using faraday 0.9.2
Using rb-inotify 0.9.7
Using given_core 3.7.1
Using omniauth 1.3.1
Using image_optim 0.20.2
Using mini_racer 0.1.3
Using mocha 1.1.0
Using rack-openid 1.3.1
Using openid-redis-store 0.0.2
Using redis-namespace 1.5.2
Using sidekiq 4.1.2
Installing pry 0.10.4
Using unicorn 5.1.0
Using rbtrace 0.4.8
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Using simplecov 0.11.1
Using fast_xor 1.1.3
Installing activesupport 4.2.7.1
Using loofah 2.0.3
Using nokogumbo 1.4.7
Installing onebox 1.5.50
Using ruby-readability 0.7.0
Using sinatra 1.4.6
Installing aws-sdk-resources 2.5.3
Using ember-handlebars-template 0.7.3
Using domain_name 0.5.25
Using oauth2 1.0.0
Using omniauth-oauth 1.1.0
Using omniauth-openid 1.0.1
Using sidekiq-statistic 1.2.0
Using pry-nav 0.2.4
Using pry-rails 0.3.4
Using rspec 3.4.0
Using rails-deprecated_sanitizer 1.0.3
Installing globalid 0.3.7
Installing activemodel 4.2.7.1
Using shoulda-matchers 2.8.0
Using rails-html-sanitizer 1.0.3
Using sanitize 4.0.1
Installing aws-sdk 2.5.3
Using http-cookie 1.0.2
Using omniauth-oauth2 1.3.1
Using omniauth-twitter 1.2.1
Using rspec-given 3.7.1
Using rspec-html-matchers 0.7.0
Using rails-dom-testing 1.0.7
Installing activejob 4.2.7.1
Using active_model_serializers 0.8.3
Installing activerecord 4.2.7.1
Using rails-observers 0.1.2
Using shoulda 3.5.0
Using rest-client 1.8.0
Using omniauth-facebook 3.0.0
Using omniauth-github-discourse 1.1.2
Using omniauth-google-oauth2 0.3.1
Using omniauth-instagram 1.0.2
Installing actionview 4.2.7.1
Using seed-fu 2.3.5
Installing actionpack 4.2.7.1
Installing actionmailer 4.2.7.1
Installing railties 4.2.7.1
Installing sprockets-rails 3.1.1
Using discourse-qunit-rails 0.0.9
Using jquery-rails 4.0.5
Using rspec-rails 3.4.2
Installing rails 4.2.7.1
Using sass-rails 5.0.4
Using ember-rails 0.18.5
Using spork-rails 4.0.0
Bundle complete! 99 Gemfile dependencies, 176 gems now installed.
Gems in the group development were not installed.
Bundled gems are installed into ./vendor/bundle.
$ bundle exec rake multisite:migrate
rake aborted!
SyntaxError: /var/www/discourse/lib/tasks/uploads.rake:598: syntax error, unexpected '\n', expecting :: or '[' or '.'
/var/www/discourse/lib/tasks/uploads.rake:600: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
  Number of `Upload` records in DB: #{uploads_count}
           ^
/var/www/discourse/lib/tasks/uploads.rake:600: syntax error, unexpected tIDENTIFIER, expecting keyword_end
  Number of `Upload` records in DB: #{uploads_count}
                            ^
/var/www/discourse/lib/tasks/uploads.rake:601: syntax error, unexpected tIDENTIFIER, expecting keyword_end
  Number of `OptimizedImage` records in DB: #{optimized_images_count}
                                    ^
/var/www/discourse/lib/tasks/uploads.rake:604: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
  Number of images in uploads folder: #{paths_count}
           ^
/var/www/discourse/lib/tasks/uploads.rake:609: syntax error, unexpected keyword_do_block, expecting keyword_end
/var/www/discourse/lib/tasks/uploads.rake:618: syntax error, unexpected keyword_do_block, expecting end-of-input
...value['size'] }.reverse.each do |extname, value|
...                               ^
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `block in load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:268:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `block in run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:658:in `run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/application.rb:452:in `run_tasks_blocks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/engine.rb:453:in `load_tasks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.2.7.1/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/Rakefile:7:in `'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rake-11.2.2/exe/rake:27:in `'
(See full trace by running task with --trace)

Posts: 14

Participants: 4

Read full topic

Can't revoke moderator status

Viewing all 60613 articles
Browse latest View live




Latest Images