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

DRAFT: Flagging queue - General

$
0
0

@t1_hopscotch wrote:

Flagging queue

These actions refer to agreeing/disagreeing with the reason for flagging. This is for a basic reminder of what results from each.

Agree (with reason for flagging post)

  • Option to hide post + send PM
  • Option to just agree (user does not know that their post has been flagged)

Trust-related:

Defer

  • Post remains hidden if currently hidden

Trust-related:

Disagree (with reason for flagging post)

Trust-related:

  • Trust decrease for OP of flagged post: No
  • Trust level decrease for flagger(s): No (based on most recent info I could find?)

Delete

  • Option to defer + delete vs agree + delete. ('Agreed' is taken account for things like TL3)

(Not sure how it affects trust or anything)


Flag + Take Action


(All of this is available around Meta, I just find it a little hard to see which topics have the most recent info amongst discussions)

Continued from List of full moderation tools.

(Please feel very free to edit. This is a start.)

Posts: 2

Participants: 2

Read full topic


Disable these pages in robots.txt by default

$
0
0

@bitsw wrote:

I believe indexing of these pages
* /guidelines
* /privacy
* /tos
should closed by default, since they are duplicated at many websites. So there is chance forum with default settings receive small penalty at launch. And there is "Duplicate meta descriptions" at single site.

Posts: 2

Participants: 2

Read full topic

These System Templates use for?

$
0
0

@kudouyuzi wrote:

These System Templates use for?
Whether these templates are automatically enabled?

cron.template.yml
sshd.template.yml
syslog.template.yml
web.china.template.yml
web.onion.template.yml

Posts: 7

Participants: 2

Read full topic

Discussbook on discourse, anybody interested? Not paid, but collaboration

$
0
0

@net_deamon wrote:

I am not here to promote the website, but I would like to ask anybody if they are interested to collaborate with me to port discussbook ( https://www.discussbook.com ) on discourse platform.

discussbook is a QA site on books, where people ask questions/post notes on the books they read, and discuss with other people.
I had developed this site on PHP MySQL, then I moved it to Express ( Nodejs ) MySQL. But developing a QA site from scratch alone is hell of a task.You need to develop QuestionsAnswers stuff, comments, voting mechanism, badge system, moderation stuff, promotion mailers, daily digests, notification mechanism, admin module and other things. So instead of developing these things myself, I have decided to port it to discourse.

What would you like done?
If you go through the discussbook site, you will know everything revolves around the books. So we need to
1. Modify the discourse composer to have book search.
2. Modify the home page and topic page to have book details

When do you need it done?
I am developing this site as hobby, along with my full time job. Time is no bar. ( It is, but not like a business roadmap :stuck_out_tongue: )

What is your budget, in $ USD that you can offer for this task?
I dont have any, because it is not a business website, its a hobbyist website. **I am interested to collaborate with other developers who are interested in the idea of QA site on books. If you think it has business value, lets discuss it and make it work !! :slight_smile: **

What have I done ?
I have tried porting the discussbook to discourse. I have edited the discourse composer to have a extra field to search books like this

But the backend integration is pending. I am also learning ruby on rails, and ember. If you are interested, please contact me.

What about old posts?
I am thinking of creating static pages out of old posts / or migrating the posts through some scripts

Posts: 5

Participants: 3

Read full topic

Remove sign up/login page?

$
0
0

@curatiive wrote:

Hey folks,

Really simple question, with an answer I've probably missed.

I have my Discourse community linked from my main site, and was wondering a la meta.discourse.org itself, whether you can jump straight to the forum view with the signup/logIn buttons at the top right, and skip the default "Hey welcome to our community....." page?

Many thanks

Marc

Posts: 4

Participants: 2

Read full topic

Groups link to group?

$
0
0

@Sara_Noel wrote:

Can the groups listings page, possibly have a link to the group versus just join/leave/group members list options?

Like here being clickable to take you to the group's forum:

Or did I do something wrong?

My members are already saying: "How do I get there? and I don't see any posts." The posts show up on latest and you can find it in the categories, but they are expecting to be able to access the group from the groups join page. It feels like OK so now what after they join.

And while I'm already setting myself up for the big hammer, I might as well ask why the activity tab shows ALL activity. Why doesn't it show that group's activity only?

Posts: 4

Participants: 3

Read full topic

Moving from Facebook Groups to Discourse

$
0
0

@erlend_sh wrote:

Originally published at: https://blog.discourse.org/2017/03/moving-from-facebook-groups-to-discourse/

The following is a guest post by Martin Eriksson @meriksson On January 4th 2017, the news aggregation site cor.ax completed its migration from private Facebook Groups to a private Discourse community. Why the move? We used to have about 20 Facebook groups for people involved in a network of alternative media projects. Some of the…

Posts: 1

Participants: 1

Read full topic

Plugin to clear topic's custom field when timestamp gets changed


Allow for email re-writing to solve the additional email address?

$
0
0

@watchmanmonitor wrote:

Continuing the discussion from Straightforward direct-delivery incoming mail:

Over in Two emails for one user the debate in:

Its pretty much settled on 2 emails. I think that's best, but there will still be cases where we need to handle more.

I wonder if there could be a lookup table added to this discourse email processor which would have a rewrite table.

The idea is that incoming emails would be re-written, much like G-Suite Routing Rules so that by the time an email got to discourse, johndoe@example.org could be "from" a registered user in the name of jdoe@example.com

I'd be interested in getting the dev for this done but would need some pointers.

  • Would a PR for this be welcome?
  • Where would a loop like this best fit?

Posts: 1

Participants: 1

Read full topic

How do I add a huge list of throwaway email providers to the email blacklist without using a browser?

$
0
0

@pad wrote:

here's a list of throwaway email providers to block using the "email domains blacklist" feature:

i converted to tab delimitation for pasting into the discourse admin area but there are a little over 1,500 so chrome throws this error a few times and then crashes:

the blacklist is from this github with 26 contributors: https://github.com/ivolo/disposable-email-domains/blob/master/index.json and was most recently updated 2 days ago.

for the email blacklist to be effective it needs to contain a shitload of entries.

Posts: 3

Participants: 3

Read full topic

How to set no user/pass for smtp in discourse setup?

$
0
0

@watchmanmonitor wrote:

Continuing the discussion from Setting up DISCOURSE_SMTP_ADDRESS: 'localhost'?:

I'm moving a forum, and wanted to try out the ./discourse-setup script.

SMTP is allowed via whitelisting an IP address, so no user/pass is needed.

I can't guess what to enter to skip these settings.

I tried "" but that left me with

  DISCOURSE_SMTP_USER_NAME: ""
  DISCOURSE_SMTP_PASSWORD: """"
  # DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)

What I need is:

  #DISCOURSE_SMTP_USER_NAME: user@example.com      # (optional)
  #DISCOURSE_SMTP_PASSWORD: pa$$word               # (optional)
  DISCOURSE_SMTP_ENABLE_START_TLS: false           # (optional, default true)

Do we want to add support for disabling user/pass in the quick setup?

Posts: 5

Participants: 3

Read full topic

Proxy mailbombing vulnerability in /users/action/send_activation_email

$
0
0

@pad wrote:

the "username" parameter in the request header's postdata isn't session/username associated and deploys emails to accounts which have already been activated.

attack scenario:
someone loads 1,000 proxies into a bot and requests an email validation link for "target" 10 times per proxy and target's inbox is bombarded with 10,000 emails

this attack could be spread out across many accounts and proxies and result in

  1. cluttered inbox of target(s)
  2. blacklisted mailservers
  3. unwanted charges from mail providers such as mailgun, etc.

please examine any other features which deploy emails and see if there's anything that needs fixing.

a bandaid for this problem would be to make /send_activation_email session and username associated so, while issues 2 and 3 may remain unresolved as a result of proxy signups being open season without captcha, issue 1 would be eliminated.

mostly, i REALLY think reCAPTCHA v2 should be available as an option on the sign up form and if there are any plugin coders around here looking for that gig feel free to DM me and take my money. i'm also in the market for a plugin or firewall config which blocks all proxy/vpn/tor connections.

Posts: 1

Participants: 1

Read full topic

Adapting the login page

$
0
0

@MikesCafe wrote:

Hi,
I can't figure out how to change the display of the layover of the login/register modal.
When I change the CSS of id=ember706 to display:flex to have it centred, it seems to push the id=discourse-modal off the page.
It displays again when class=modal is set to position:inherit. But than it pushes the ember706 to the right of the screen.

Does anyone have a solution that the layover does not affect the position of other elements?
Maybe there is even a better solution like adding the form fields directly on the page without any layover and the need of buttons?

Help is really appreciated.
regards
Mike

Posts: 1

Participants: 1

Read full topic

Problems with a restore - function restore.follow_boards() does not exist

$
0
0

@watchmanmonitor wrote:

I just tried to restore from this morning's backup of an instance which is stuck at v1.8.0.beta2 +3 due to linode not having aufs.

i exported, setup a new box from scratch on DO, and followed the easy-setup.

I'm getting this error on restore: function restore.follow_boards() does not exist

 RDB: 0 MB of memory used by copy-on-write
2071:M 11 Mar 23:10:20.169 * Background saving terminated with success
2017-03-11 23:14:55 UTC [7677-1] discourse@discourse LOG:  duration: 5757.878 ms  statement: COPY email_logs (id, to_address, email_type, user_id, created_at, updated_at, reply_key, post_id, topic_id, skipped, skipped_reason, bounce_key, bounced, message_id) FROM stdin;
2017-03-11 23:14:55 UTC [7677-2] discourse@discourse LOG:  duration: 227.202 ms  statement: COPY incoming_emails (id, user_id, topic_id, post_id, raw, error, message_id, from_address, to_addresses, cc_addresses, subject, created_at, updated_at, rejection_message, is_auto_generated, is_bounce) FROM stdin;
2017-03-11 23:14:58 UTC [7677-3] discourse@discourse LOG:  duration: 2462.389 ms  statement: COPY post_search_data (post_id, search_data, raw_data, locale) FROM stdin;
2017-03-11 23:15:01 UTC [7677-4] discourse@discourse LOG:  duration: 2777.890 ms  statement: COPY posts (id, user_id, topic_id, post_number, raw, cooked, created_at, updated_at, reply_to_post_number, reply_count, quote_count, deleted_at, off_topic_count, like_count, incoming_link_count, bookmark_count, avg_time, score, reads, post_type, vote_count, sort_order, last_editor_id, hidden, hidden_reason_id, notify_moderators_count, spam_count, illegal_count, inappropriate_count, last_version_at, user_deleted, reply_to_user_id, percent_rank, notify_user_count, like_score, deleted_by_id, edit_reason, word_count, version, cook_method, wiki, baked_at, baked_version, hidden_at, self_edits, reply_quoted, via_email, raw_email, public_version, action_code, image_url) FROM stdin;
2017-03-11 23:15:03 UTC [7677-5] discourse@discourse LOG:  duration: 2442.106 ms  statement: COPY scheduler_stats (id, name, hostname, pid, duration_ms, live_slots_start, live_slots_finish, started_at, success) FROM stdin;
2071:M 11 Mar 23:15:03.945 * 10000 changes in 60 seconds. Saving...
2071:M 11 Mar 23:15:03.946 * Background saving started by pid 7697
7697:C 11 Mar 23:15:04.159 * DB saved on disk
7697:C 11 Mar 23:15:04.160 * RDB: 1 MB of memory used by copy-on-write
2071:M 11 Mar 23:15:04.246 * Background saving terminated with success
2017-03-11 23:15:04 UTC [7677-6] discourse@discourse LOG:  duration: 665.042 ms  statement: COPY stylesheet_cache (id, target, digest, content, created_at, updated_at) FROM stdin;
2017-03-11 23:15:05 UTC [7677-7] discourse@discourse LOG:  duration: 269.258 ms  statement: COPY topic_users (user_id, topic_id, posted, last_read_post_number, highest_seen_post_number, last_visited_at, first_visited_at, notification_level, notifications_changed_at, notifications_reason_id, total_msecs_viewed, cleared_pinned_at, id, last_emailed_post_number, liked, bookmarked) FROM stdin;
2017-03-11 23:15:07 UTC [7677-8] discourse@discourse LOG:  duration: 2797.576 ms  statement: COPY unsubscribe_keys (key, user_id, created_at, updated_at, unsubscribe_key_type, topic_id, post_id) FROM stdin;
2017-03-11 23:15:08 UTC [7677-9] discourse@discourse LOG:  duration: 412.867 ms  statement: COPY uploads (id, user_id, original_filename, filesize, width, height, url, created_at, updated_at, sha1, origin, retain_hours) FROM stdin;
2017-03-11 23:15:13 UTC [7677-10] discourse@discourse LOG:  duration: 4391.470 ms  statement: ALTER TABLE ONLY unsubscribe_keys
	    ADD CONSTRAINT digest_unsubscribe_keys_pkey PRIMARY KEY (key);
2017-03-11 23:15:14 UTC [7677-11] discourse@discourse LOG:  duration: 971.790 ms  statement: ALTER TABLE ONLY email_logs
	    ADD CONSTRAINT email_logs_pkey PRIMARY KEY (id);
2017-03-11 23:15:14 UTC [7677-12] discourse@discourse LOG:  duration: 307.735 ms  statement: ALTER TABLE ONLY scheduler_stats
	    ADD CONSTRAINT scheduler_stats_pkey PRIMARY KEY (id);
2017-03-11 23:15:15 UTC [7677-13] discourse@discourse LOG:  duration: 219.281 ms  statement: CREATE INDEX idx_search_post ON post_search_data USING gin (search_data);
2017-03-11 23:15:16 UTC [7677-14] discourse@discourse LOG:  duration: 1010.045 ms  statement: CREATE INDEX index_email_logs_on_created_at ON email_logs USING btree (created_at DESC);
2017-03-11 23:15:17 UTC [7677-15] discourse@discourse LOG:  duration: 717.264 ms  statement: CREATE INDEX index_email_logs_on_message_id ON email_logs USING btree (message_id);
2017-03-11 23:15:18 UTC [7677-16] discourse@discourse LOG:  duration: 1154.586 ms  statement: CREATE INDEX index_email_logs_on_reply_key ON email_logs USING btree (reply_key);
2017-03-11 23:15:19 UTC [7677-17] discourse@discourse LOG:  duration: 1224.742 ms  statement: CREATE INDEX index_email_logs_on_skipped_and_created_at ON email_logs USING btree (skipped, created_at);
2017-03-11 23:15:21 UTC [7677-18] discourse@discourse LOG:  duration: 1744.452 ms  statement: CREATE INDEX index_email_logs_on_user_id_and_created_at ON email_logs USING btree (user_id, created_at DESC);
2017-03-11 23:15:22 UTC [7677-19] discourse@discourse LOG:  duration: 401.306 ms  statement: CREATE INDEX index_unsubscribe_keys_on_created_at ON unsubscribe_keys USING btree (created_at);
2017-03-11 23:15:22 UTC [7677-20] discourse@discourse LOG:  duration: 148.865 ms  statement: CREATE UNIQUE INDEX index_uploads_on_sha1 ON uploads USING btree (sha1);
2017-03-11 23:15:22 UTC [7677-21] discourse@discourse ERROR:  function restore.follow_boards() does not exist
2017-03-11 23:15:22 UTC [7677-22] discourse@discourse STATEMENT:  CREATE TRIGGER auto_follow AFTER INSERT ON users FOR EACH ROW EXECUTE PROCEDURE restore.follow_boards();
root@discuss:/var/discourse#

The old instance is still fine.. it's just out of date. Any tips on restoration?

Posts: 1

Participants: 1

Read full topic

How I can create a link to the web app at the top of discourse?

$
0
0

@Mie_Goreng wrote:

So basically I want to have a logo or a link that can be clicked that is basically www.example.com and put it somewhere at the top of the page.. myself, i keep intuitively clicking the "Forum" logo wanting it to take me back to the main web app.

Posts: 1

Participants: 1

Read full topic


If edited by Admin - I dont want people to see the changes

$
0
0

@Mie_Goreng wrote:

is there an option that if an admin was the person to edit the post that the changes are not visible to non admins?

it kinda defeats the purpose if people can see what you edited out.

Posts: 2

Participants: 2

Read full topic

Catch-All Issue for Reply in Email

$
0
0

@jylinman wrote:

So I am currently setting everything up on AWS for discourse, and because I need to comply with certain laws I need to have the email hosted on it as well using WorkMail. Now, as of right now workmail doesn't have a catch all address and can't let me create a rule to redirect / forward an email when it was sent to an address that doesn't exist.

There are some hacky solutions I could do in terms of publishing something to SES and posting with discourse API, but I was wondering if someone has any thoughts on how to fix this so users can reply / start topics by email?

Another solution, is there a way to setup discourse to send it to an email address (like replies@site.com) and CC it to the actual email needed for the topic (like site+jfNEKSKJFwlkvjdlsjkl@site.com)?

Thanks,
Jon

Posts: 3

Participants: 2

Read full topic

Disable Slug SEO Feature for Security?

$
0
0

@jylinman wrote:

As weird as this may sound, I have a use case where the SEO urls can actually be detrimental to security. Sometimes people put sensitive information in the topic titles, is it possible to disable this and use integers or something? I don't want a URL to be shared where someone can read the title and see information that should be hidden (the site itself is private).

Thanks,
Jon

Posts: 4

Participants: 3

Read full topic

What is this code add_to_serializer in all these plugins

$
0
0

@net_deamon wrote:

I have seen this code in discourse_signatures plugin

  User.register_custom_field_type('see_signatures', :boolean)
  User.register_custom_field_type('signature_url', :text)
  User.register_custom_field_type('signature_raw', :text)

  if SiteSetting.signatures_enabled then
    add_to_serializer(:post, :user_signature, false) {
      if SiteSetting.signatures_advanced_mode then
        object.user.custom_fields['signature_raw']
      else
        object.user.custom_fields['signature_url']
      end
    }

    # I guess this should be the default @ discourse. PR maybe?
    add_to_serializer(:user, :custom_fields, false) {
      if object.custom_fields == nil then
        {}
      else
        object.custom_fields
      end
    }
  end

In discourse national flags plugin

User.register_custom_field_type('nationalflag_iso', :text)

  if SiteSetting.nationalflag_enabled then
    byebug;
    add_to_serializer(:post, :user_signature, false) {
      object.user.custom_fields['nationalflag_iso']
    }
    byebug;
    # I guess this should be the default @ discourse. PR maybe?
    add_to_serializer(:user, :custom_fields, false) {
      if object.custom_fields == nil then
        {}
      else
        object.custom_fields
      end
    }
  end

I am not able to understand what is add_to_serializer is doing.

I checked in def add_to_serializer

def add_to_serializer(serializer, attr, define_include_method=true, &block)
    klass = "#{serializer.to_s.classify}Serializer".constantize rescue "#{serializer.to_s}Serializer".constantize

    klass.attributes(attr) unless attr.to_s.start_with?("include_")

    klass.send(:define_method, attr, &block)

    return unless define_include_method

    # Don't include serialized methods if the plugin is disabled
    plugin = self
    klass.send(:define_method, "include_#{attr}?") { plugin.enabled? }
  end

I understand that User.register_custom_field_type('signature_raw', :text) will register a custom field type to User object. But what is add_to_serializer doing, I am not able to understand, can you explain me in plain english?

Posts: 3

Participants: 2

Read full topic

Amazon S3 orphan images not removing

$
0
0

@Vikas_Dangi wrote:

Remove orphan unreferenced uploads is checked in my forum but still the orphan images are not removing automatically.

To check this I have uploaded a images yesterday to my forum but still it is accessible.

defenceforum-img-s3.s3-ap-south-1.amazonaws.com/original/1X/b2597229c427eead298ccb553a44ce92c2190e28.jpg

Posts: 3

Participants: 2

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images