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

Discourse Forum To Reddit Autoposter Plugin

$
0
0

@Yazanator wrote:

Has anyone worked on a plugin that would autopost any new post in a discourse forum to a specified reddit subreddit?

Posts: 1

Participants: 1

Read full topic


"Signup and password recovery emails only" mode

$
0
0

@meglio wrote:

Is there currently a way to let the system only send signup and password recovery emails?

If so, may you elaborate?

If no, please consider it a feature request.

Posts: 2

Participants: 2

Read full topic

Moderator History

$
0
0

@Mittineague wrote:

We’re considering granting Trust Level 4 “Leader” to some members that are not in the Staff group.

During testing, (last upgraded a few days ago) I noticed a missing translation for “moderation_history” in the TL4 wrench menu options.

I’m wondering if it’s a good idea to let TL4 members see the moderation history, missing translation or otherwise.

Posts: 3

Participants: 3

Read full topic

Silence user doesn't show silenced by username

$
0
0

@schungx wrote:

A small issue.

Repo:

  1. To to Admin-Users
  2. Pick a user
  3. Press Silence
  4. Pick Forever and Type in a Reason
  5. Observe that your username does not appear next to Silenced by
  6. Refresh the page and the username appears

Caveats:

I have since tried it a couple of times. This happens not 100% of the time, meaning that occasionally you get your username on the first go. Could be a race condition.

Posts: 1

Participants: 1

Read full topic

Two Factor local login proposal

$
0
0

@awole20 wrote:

Continuing the discussion from Two-factor local login option:

Hey everyone, I’m planning to look into tackling two factor authentication very soon. This would allow a user to secure a discourse account by requiring a one time password to be generated via Google Authenticator/Authy.

Here’s a proposal to how two factor authentication through google authenticator flow would work:

The user would log in as usual. After a user logs in, the system checks whether or not the user has two factor enabled. If two factor is enabled, a second login prompt would be shown, asking a user for their one time password.

A user will be able to enable two factor authentication in the user preferences.

Enabling would bring up a QR code, that would need to be confirmed with a successful one time password.

If a user is unable to scan the QR code, or prefers to type in the key manually, they are able to view the key via the “enter the key manually link”.

Once Discourse confirms that you can successfully generate codes, it will require future local logins to be completed with an authorization key.

Some implementation details:

If a user disables and re-enables a key, I’m thinking of regenerating the key. This allows a 2-factor “reset” in the event of a stolen key. However, any authenticator would have to be re-set up, which could be a pain if you have multiple devices/apps that you would like to set up with the authenticator.

I really like the idea of being able to generate some kind of backup key codes, in the even that you are parted with your authenticator app somehow, or perhaps gets disabled when a user resets a password. The latter would follow the general Discourse account handling that “if you have access to the email, you have access to Discourse”.

I also really like the idea of being able to set up two factor through texts later, possibly by using a twilio API.

As a first step, I’m looking to tackle the basic flow described above to get Discourse working with Google Authenticator, and expand out from there. I’m looking at adding the gems active_model_otp for the code generation + checking, and rqrcode for processing QR codes.

Any feedback, requests, or security concerns about this proposal are welcome - Let me know what you think!

Posts: 3

Participants: 3

Read full topic

Is the official `discourse-16.04` Vagrant box compatible with VMware Workstation, or it is for VirtualBox only?

Plugin for Preventing Malicious Linking

$
0
0

@Sudaraka wrote:

This is a simple plugin for adding a warning to posts when there are malicious urls present in the content of the post. For identifying malicious urls this plugin uses Google Safe Browsing API V4 . The warning appears as below

Before getting this plugin to work , you need to obtain an API key to access the Google Safe Browsing API . You have to follow this guideline to get an API key. Other than the API key you need a Client ID and a Client Version. These details are used by google for logging purposes. You can fine more about those two parameters from here. You can set those parameters by clicking settings in front of the plugin name in Admin Settings -> Plugins

You can find source for the plugin here . You can find more about installing this plugin here .
FYI : The API key in the above image is not a valid key :wink:

Here is a simple demo how my plugin works,

Posts: 1

Participants: 1

Read full topic

Is VMware Workstation Player enough for Discourse-only development, or the more expensive VMware Workstation Pro provides some real advantages?


How to configure `Vagrantfile` to run Discourse in VMware Workstation?

$
0
0

@dmitry_fedyuk wrote:

The official Vagrantfile contains a configuration for VirtualBox only.
How to change it for VMware Workstation?

Posts: 1

Participants: 1

Read full topic

Moving a voted topic to a category with voting disabled doesn't refund the votes

$
0
0

@nawthor wrote:

If you vote on a topic, then move it into a category where voting isn’t enabled, the vote is counted as if the topic still could be voted on. Closing the topic will refund the vote, but if the topic is reopened, the vote will again be counted as active.

This has created a problem for us where a topic was started in a category with voting, but moved to one without. Because the topic is still relevant, it can’t be closed to refund the votes to the users who voted on the topic before it was moved. This makes it so that there are a few users with a permanent -1 vote compared to others.

I would expect moving a topic with votes to a category with voting disabled would behave the same way as closing the topic.

Posts: 1

Participants: 1

Read full topic

502 Bad Gateway when an image is uploaded

$
0
0

@Pravi wrote:

Hi friends,

when I tried to upload an image it gives 502 Bad gateway error. My website failed to load for 5 minutes. When I tried to upload the same image here, I got following message

Sorry, the image you are trying to upload is too large (maximum dimension is 40-megapixels), please resize it and try again.

Why I am getting a bad gateway error. My server is an aws ec2 instance with 1 GB ram. I use cloudflare cdn as well.

Here is error log:

The last warning in the log keep reappear since first install.

Thanks

Posts: 1

Participants: 1

Read full topic

No translation: composer.options

Failed to delete post after deleting user

$
0
0

@ronniecool1 wrote:

The error string that comes up in logs is NoMethodError (undefined method edit_reason' for nil:NilClass) /var/www/discourse/lib/post_revisor.rb:192:inblock in post_changed?'
and attempting to move the broken topic 2 a hidden category fails

Posts: 1

Participants: 1

Read full topic

Flag actions in moderation history

$
0
0

@nawthor wrote:

Now that moderation history on posts is a thing (great work, like always), it would be great if flag actions would show up in it.

This would be useful for checking how other moderators have acted on previously flagged posts either if coming across it in a topic or on the active flags page without having to look it up on the old flags page.

Posts: 1

Participants: 1

Read full topic

[PAID] Adsense Plugin modification (Insert ads inside the Content area) 250 USD

$
0
0

@heyp wrote:

We need a developer to modify an existing plugin (GitHub - discourse/discourse-adplugin: Official Discourse Advertising Plugin. Install & Start Serving Ads on Your Discourse Forum) implement the following things:

ability to show ad in the right side of 2nd post on topic pages
ability to show ad in the right sidebar
ability to show ad in search results (Search results for 'test' - Discourse Meta)

Budget is 250 USD in your earliest.

Thank you and happy holidays.

Posts: 2

Participants: 2

Read full topic


How to fix the «bundler's executable "bundle" conflicts with ~/.rbenv/versions/2.4.2/bin/bundle» issue in the `techAPJ/install-rails` script?

$
0
0

@dmitry_fedyuk wrote:

I run the github.com/techAPJ/install-rails installation script from the «Beginners Guide to Install Discourse on Ubuntu for Development» @techAPJ’s article in the latest stock (unmodified, without any extra packages previously installed) version of Ubuntu Desktop (16.04.3 LTS):

bash <(wget -qO- https://raw.githubusercontent.com/techAPJ/install-rails/master/linux)

The script leads to the conflict:

Installing Bundler …

Fetching: bundler-1.16.1.gem (100%)
bundler’s executable “bundle” conflicts with /home/dfediuk/.rbenv/versions/2.4.2/bin/bundle
Overwrite the executable? [yN]

Should I answer y, N, or maybe the installation is already in a wrong state?

Posts: 4

Participants: 3

Read full topic

Is it possible to force Youtube sign-in only?

$
0
0

@KyleTryon wrote:

I am looking at forum software out there for my community. I see that Google sign in is an option but any oAuth should work? So perhaps I’ll have to look into that more but I believe that means I should be able to use Youtube as an authentication.

Next, is it possible to only allow sign through this method?

Posts: 3

Participants: 3

Read full topic

500 internal server error /whatever.json

Feedback wanted for Janitor - Discourse development in the cloud

$
0
0

@notriddle wrote:

What the explative did I just watch?

That’s the Janitor, an on-demand developer environment service for OSS projects. It uses Docker to allow lots of dev envs to be cheaply colocated on powerful bare-metal servers and new environments to be launched very quickly. It’s mostly being developed by Mozilla employees because getting a Firefox developer box set up is hard and compiling it requires monstrous amounts of computer, but it also just added support for Discourse.

Why do I care?

With Janitor, developers can get started with a Discourse developer environment by logging into a website and clicking a button. They can also start as many of them as they want.

  • This should help new contributors, new plugin developers, and non-techie theme designers, because they can skip the UAC/admin prompts, BIOS settings (if you’re using vagrant), and command line. Using the Janitor literally just involves visiting a web page and clicking buttons within it; you cannot mess up your computer, so getting started with it is safe. And if you mess up a container, you can delete it and start again.

    This is especially important for designers, who should never be required to set up a local dev environment.

  • This can help testers, because you can spawn as many dev environments with slightly different configurations as you want.

  • This can provide a fallback, if you drop your dev laptop in the toilet and are still waiting for the new one to ship.

How does it work?

Supporting a project basically means writing a Dockerfile to initialize an image. In Discourse’s case, we install dependencies like Ruby and PostgreSQL, clone the repo, and run the database migrations. Since the initialized database and cloned GitHub repo are baked into the image, creating your own Discourse development container doesn’t even require GitHub to be up.

The base image used by all the Janitor project images (janx/ubuntu-dev) also contains stuff that runs in your container that Janitor needs to work right, particularly a copy of the Cloud9 SDK.

Also, you have root access to the container. So go nuts.

What’s the catch?

Janitor still alpha-quality software. Also, we’re not compiling Discourse’s JavaScript or CSS assets like a production Discourse instance would, so the initial site load is slow.

Janitor is not a free service for hosting production instances of Discourse; not only does its firewall/proxy set up make that very impractical, it’s also not allowed. Blatant abuse like attacking Twitter, mining Bitcoin, or trying to break out of a dev container and gain access to the host system is also not allowed.

Does Janitor use Discourse?

Yes.

Posts: 1

Participants: 1

Read full topic

Upload button grayed out

$
0
0

@Pravi wrote:

Hi guys…

I was trying to upload an image for facebook open graph via upload option in customize, but the upload button is grayed out. I am unable to upload the image. It seems like a bug to me. Any idea?

Thanks

bug

Posts: 6

Participants: 5

Read full topic

Viewing all 60642 articles
Browse latest View live




Latest Images