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

Box shadow based row highlighting for keyboard navigation not working on Edge


WP Discourse Link to Existing Topic not working

0
0

@McBlu wrote:

Hello. I am up to date on my WP Discourse plugin. I went to link my wordpress blog to an existing topic in my discourse forum but the request isn’t taking per this video:

This is my first time trying this. I tried the link that you see in the URL box at the top of the web page and also the link provided when you click on the link icon under the topic window

Any ideas as to what I am doing wrong? The plugin was working before this when I linked to a topic generated in the forum by the plugin itself.

Posts: 9

Participants: 2

Read full topic

Legal Tools Plugin

0
0

@angus wrote:

Repository: GitHub - angusmcleod/discourse-legal-tools

Live on my sandbox.

This plugin provides tools to assist with legal compliance when running a Discourse forum. Tools will be added on an ongoing basis.

Please note the disclaimer below. This plugin provides no guarantee of legal compliance.

Extended User Download

Site Setting: legal extended user download

When enabled, this feature adds additional information concerning a user to the “Download All” feature in the User Activity page. The CSV that is complied will now have the following information, grouped in sections divided by two empty lines and a header:

  • Posts. The default information included in the user download.
  • Account. Account and Profile information.
  • External Accounts. Information from external accounts (if it exists).
  • Statistics. Statistical information stored concerning the user.
  • Login and Login History. Information about user logins.
  • Action History. All ip-logged records of actions taken by the user
  • Searches. All ip-logged records of searches performed by the user.
  • Topic Views. All ip-logged topic views of the user.
  • Topic Link Clicks. All ip-logged topic links clicked by the user.
  • Profile Views. All ip-logged profile views of the user.

The background for this feature is the EU’s GDPR. See in particular:

Please note, that you should consider the security implications of allowing users to directly download all the listed information. This feature may not be suitable in all circumstances. Further information on this issue can be found in the topics above.

An alternative to allowing users to directly download all their information is for a relevant staff member (a “Data Protection Officer”) to compile the information via database queries.

Disclaimer

The Legal Tools plugin (the “Plugin”), and its author Angus McLeod (the “Author”), is not a lawyer or a substitute for a lawyer or legal advice. Communications between you and the Author are not protected by lawyer-client privilege or as work product. The Plugin, and its Author, cannot provide any kind of advice, explanation, opinion, recommendation or surety about possible legal rights, remedies, defences, options, selection of forms, or strategies.

Posts: 4

Participants: 4

Read full topic

Can I create my own cloud storage server instead of s3?

0
0

@qianqiang wrote:

My forum is running in the company’s intranet environment, there is no way to use s3.

Posts: 1

Participants: 1

Read full topic

How disable sent mail to email user when new topic, new comment

0
0

@huynhthai824 wrote:

How disable sent mail to user when new topic, new comment?
Now, email notification when have a new topic, new comment to all user. Can i disable them or only sent mail to admin? Or can we turn off to a group user?
Thank you!

Posts: 1

Participants: 1

Read full topic

Increasing the poll limit

0
0

@Pharap wrote:

Is it possible to increase the poll limit at all?

One of the forums I moderate on has been trying to host a competition and we’re using polls for voting.

Thankfully this issue has cropped up before the actual contest is underway, but essentially the poll option limit of 20 items has caused us an issue and might cause further issue in the future depending on how many submissions we get.

(We are getting people to vote on themes for the contest before the actual contest and we had 30 theme suggestions which broke the poll limit of 20.)

Either a blanket increase in the number of poll items or a means of manually increasing the poll limit either per site (e.g. in the admin panel) or per poll (as part of the standard moderator options) would be ideal.

Posts: 6

Participants: 3

Read full topic

Approving user gets a 403 forbidden error

0
0

@Frank_Bailey wrote:

When I try to approve one or more pending users on the forum, a 403 forbidden error is produced despite me being an admin.

Here’s the full text of the error in the Firefox console:

Forbidden
s@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14:27536
o@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14:27393
i@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14:27322
trigger@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19:4711
_onError/<@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:19:6692
invokeWithOnError@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:17919
flush@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:18364
flush@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:19124
end@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:19469
run@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:7:20538
u@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:13:1629
e/i.error@https://forum.businessfightspoverty.org/assets/application-26093cb51a0a0ae0d979f74d537b26a212458eaa8c1bc33200a1583953dfa631.js:5:4349
l@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:6359
fireWith@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:2:7127
r@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:10013
n/<@https://forum.businessfightspoverty.org/assets/ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:3:15842

Any assistance in solving this will be enormously appreciated.

Posts: 1

Participants: 1

Read full topic

If there is a local file system that supports the s3 protocol, how do I configure the file system domain name?

0
0

@qianqiang wrote:

I was in the company’s network deployment forum, so there is no way to use Amazon Cloud.

Posts: 2

Participants: 2

Read full topic


Storing uploaded Images on Amazon S3

Change Banner at the top of your screen?

0
0

@MAR wrote:

Hello Discourse Community,

Where do you go in settings to change a banner at the top of your screen?

Posts: 2

Participants: 2

Read full topic

How to make a theme component for TL-based banner

0
0

@Pad_Pors wrote:

it should be possible to write the banner-topic in different <div>'s and then use the condition for trust level mentioned here to show-hide the corresponding div to user, i.e.:

if (Discourse.User.current() && trust >= "2") {

for e.g. show the first div to the TL0, the second to TL1, … .

#banner-content div:nth-of-type(1) { display: none; }

is it possible? if yes, does anyone know how to make the theme?


I’m trying something like this, but it doesn’t work. I appreciate hints:

header:

<script type="text/discourse-plugin" version="0.8.18">
    api.onPageChange(() => {
        if (Discourse.User.current() && trust == "0") {$('#banner-content div:nth-child(1)').addClass( "TL-selected" );}
    });
</script>

css:

#banner-content {display: none; }

#banner-content .TL-selected {display: block;}

Posts: 3

Participants: 2

Read full topic

Notification Settings for Groups - Seems to be two separate settings

0
0

@jerry0 wrote:

Continuing the discussion from Weird behavior for group private messages:

I am witnessing further “wierd” behaviour for groups private message settings. There seem to be two entirely separate notification settings for group.

It might be a bug, it seems to be related to this one Unable to set notification type for group message inbox, again, but I don’t want to report it as such necessarily because I may simply not be understanding how this should work…

The problem is that there seems to be a group notification setting in the inbox:

AND there seems to be a group notification setting in the group (via “Manage” within the /group page):

image

I was using the setting within the group but it wasn’t making any difference, so wondered what was going on!

So, the two group notification settings seem unconnected, and the one in the group message inbox seems to take preference, so I am pretty confused at this point:-/

Any help would be appreciated.

Thanks!

Posts: 11

Participants: 2

Read full topic

Trying to use googles SMTP

0
0

@CompRev wrote:

Im trying to use googles smtp settings but they dont work?
Im using
smtp.gmail.com as the smtp server.
and the email and password as username and password.
But for some reason I do not get the confirm email when I am supposed to setup Discourse

Posts: 5

Participants: 3

Read full topic

Google Analytics GDPR - PII in unsubscribe email

0
0

@chloecan wrote:

Hi,

As you know GDPR is going to be put in place and I fell upon this article (How to Find and Purge Personally Identifiable Information from Your Google Analytics | Cardinal Path Blog) that explains how to make sure you don’t have PPI in your Google Analytics account.

Unfortunatly when doing their test I realized that there were user emails coming from the unsubsribre emails of my discourse community.

Google Analtyics may suspend your account because of this. So does anyone know how to make sure this doesn’t happen?

Posts: 3

Participants: 3

Read full topic

Typo on privacy page


Support configuring hamburger selector

0
0

@BlackKnob wrote:

A small note:
The Hamburger Selector theme needs to be added as a child to each theme you make available on your forum. Otherwise once you switch to different theme you won’t be able to go back.
Also, the Hamburger Selector theme itself should have “Theme can be selected by users” turned off.

Posts: 6

Participants: 2

Read full topic

Topics / Replies limits per Category?

0
0

@ryanerwin wrote:

We finally launched the our Discourse forum to our community and users are moving in… For most categories, the rate limiting works great. Our users would also like to have some categories available where they can chatter more… interact more freely… Seems like a reasonable enough thing.

Would it be feasible to use develop a plugin to set different topics and replies limits by category?

Posts: 1

Participants: 1

Read full topic

Custom CSS/HTML editor panel access button disappeared

0
0

@xiyang wrote:

Hello everyone,

After I modified multiple Classes in the Custom CSS/HTML editor panel, and apply them at the same time. The editor panel just disappeared. when I return to the themes and saw the editor panel access button also disappeared like this
Screenshot%20from%202018-05-21%2011-35-10
Does anyone know what is happened and how to get it back? Thank you

Posts: 3

Participants: 2

Read full topic

MyBB failed to import

0
0

@nsuchy wrote:

I followed the instructions at Migrating from mybb and get the following error message after the users have imported. Any ideas on what went wrong and how to fix it?

discourse@sm64hacks-app:/var/www/discourse/script/import_scripts$ RAILS_ENV=production ruby mybb.rb # no idea what "bundle exec" does
loading existing groups...
loading existing users...
loading existing categories...
loading existing posts...
loading existing topics...
creating users
405 / 405 (100.0%) /var/www/discourse/lib/pretty_text.rb:107:in `read': No such file or directory @ rb_sysopen - lib/javascripts/moment.js (Errno::ENOENT)
from /var/www/discourse/lib/pretty_text.rb:107:in `block in create_es6_context'
from /usr/local/lib/ruby/2.4.0/set.rb:324:in `each_key'
from /usr/local/lib/ruby/2.4.0/set.rb:324:in `each'
from /var/www/discourse/lib/pretty_text.rb:106:in `create_es6_context'
from /var/www/discourse/lib/pretty_text.rb:123:in `block in v8'
from /var/www/discourse/lib/pretty_text.rb:121:in `synchronize'
from /var/www/discourse/lib/pretty_text.rb:121:in `v8'
from /var/www/discourse/lib/pretty_text.rb:143:in `block in markdown'
from /var/www/discourse/lib/pretty_text.rb:395:in `block in protect'
from /var/www/discourse/lib/pretty_text.rb:394:in `synchronize'
from /var/www/discourse/lib/pretty_text.rb:394:in `protect'
from /var/www/discourse/lib/pretty_text.rb:142:in `markdown'
from /var/www/discourse/lib/pretty_text.rb:242:in `cook'
from /var/www/discourse/app/models/post_analyzer.rb:31:in `cook'
from /var/www/discourse/app/models/post_analyzer.rb:132:in `cooked_stripped'
from /var/www/discourse/app/models/post_analyzer.rb:114:in `raw_links'
from /var/www/discourse/app/models/post_analyzer.rb:125:in `link_count'
from /var/www/discourse/app/models/post.rb:233:in `block (2 levels) in &lt;class:Post&gt;'
from /var/www/discourse/lib/validators/post_validator.rb:112:in `can_post_links_validator'
from /var/www/discourse/lib/validators/post_validator.rb:18:in `validate'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:413:in `block in make_lambda'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:601:in `block (2 levels) in default_terminator'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:600:in `catch'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:600:in `block in default_terminator'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:198:in `block in halting'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:507:in `block in invoke_before'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:507:in `each'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:507:in `invoke_before'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:130:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_validate_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations.rb:405:in `run_validations!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations/callbacks.rb:110:in `block in run_validations!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:131:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_validation_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations/callbacks.rb:110:in `run_validations!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations.rb:335:in `valid?'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:65:in `valid?'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:82:in `perform_validations'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:44:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:35:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:308:in `block (2 levels) in save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:308:in `block in save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:323:in `rollback_active_record_state!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:307:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:42:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:371:in `insert_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/has_many_association.rb:34:in `insert_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:360:in `block (2 levels) in _create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:447:in `replace_on_target'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:281:in `add_to_target'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:358:in `block in _create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:129:in `block in transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:128:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:357:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/has_many_association.rb:121:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/association.rb:196:in `create'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_proxy.rb:347:in `create'
from /var/www/discourse/app/models/category.rb:204:in `create_category_definition'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:413:in `block in make_lambda'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:235:in `block in halting_and_conditional'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `block in invoke_after'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `each'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `invoke_after'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:132:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_create_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:340:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/timestamp.rb:95:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/persistence.rb:563:in `create_or_update'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:336:in `block in create_or_update'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:131:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_save_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:336:in `create_or_update'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/persistence.rb:162:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:50:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:43:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `block in save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
from /usr/local/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:46:in `save!'
from /var/www/discourse/script/import_scripts/base.rb:451:in `create_category'
from /var/www/discourse/script/import_scripts/base.rb:422:in `block in create_categories'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rack-mini-profiler-1.0.0/lib/patches/db/mysql2.rb:8:in `each'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rack-mini-profiler-1.0.0/lib/patches/db/mysql2.rb:8:in `each'
from /var/www/discourse/script/import_scripts/base.rb:403:in `create_categories'
from mybb.rb:89:in `import_categories'
from mybb.rb:42:in `execute'
from /var/www/discourse/script/import_scripts/base.rb:46:in `perform'
from mybb.rb:304:in `&lt;main&gt;'
discourse@sm64hacks-app:/var/www/discourse/script/import_scripts$ RAILS_ENV=production ruby mybb.rb # no idea what "bundle exec" does
loading existing groups...
loading existing users...
loading existing categories...
loading existing posts...
loading existing topics...
creating users
Skipping 405 already imported users
/var/www/discourse/lib/pretty_text.rb:107:in `read': No such file or directory @ rb_sysopen - lib/javascripts/moment.js (Errno::ENOENT)
from /var/www/discourse/lib/pretty_text.rb:107:in `block in create_es6_context'
from /usr/local/lib/ruby/2.4.0/set.rb:324:in `each_key'
from /usr/local/lib/ruby/2.4.0/set.rb:324:in `each'
from /var/www/discourse/lib/pretty_text.rb:106:in `create_es6_context'
from /var/www/discourse/lib/pretty_text.rb:123:in `block in v8'
from /var/www/discourse/lib/pretty_text.rb:121:in `synchronize'
from /var/www/discourse/lib/pretty_text.rb:121:in `v8'
from /var/www/discourse/lib/pretty_text.rb:143:in `block in markdown'
from /var/www/discourse/lib/pretty_text.rb:395:in `block in protect'
from /var/www/discourse/lib/pretty_text.rb:394:in `synchronize'
from /var/www/discourse/lib/pretty_text.rb:394:in `protect'
from /var/www/discourse/lib/pretty_text.rb:142:in `markdown'
from /var/www/discourse/lib/pretty_text.rb:242:in `cook'
from /var/www/discourse/app/models/post_analyzer.rb:31:in `cook'
from /var/www/discourse/app/models/post_analyzer.rb:132:in `cooked_stripped'
from /var/www/discourse/app/models/post_analyzer.rb:114:in `raw_links'
from /var/www/discourse/app/models/post_analyzer.rb:125:in `link_count'
from /var/www/discourse/app/models/post.rb:233:in `block (2 levels) in &lt;class:Post&gt;'
from /var/www/discourse/lib/validators/post_validator.rb:112:in `can_post_links_validator'
from /var/www/discourse/lib/validators/post_validator.rb:18:in `validate'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:413:in `block in make_lambda'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:601:in `block (2 levels) in default_terminator'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:600:in `catch'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:600:in `block in default_terminator'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:198:in `block in halting'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:507:in `block in invoke_before'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:507:in `each'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:507:in `invoke_before'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:130:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_validate_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations.rb:405:in `run_validations!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations/callbacks.rb:110:in `block in run_validations!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:131:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_validation_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations/callbacks.rb:110:in `run_validations!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activemodel-5.1.4/lib/active_model/validations.rb:335:in `valid?'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:65:in `valid?'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:82:in `perform_validations'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:44:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:35:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:308:in `block (2 levels) in save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:308:in `block in save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:323:in `rollback_active_record_state!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:307:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:42:in `save'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:371:in `insert_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/has_many_association.rb:34:in `insert_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:360:in `block (2 levels) in _create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:447:in `replace_on_target'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:281:in `add_to_target'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:358:in `block in _create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:129:in `block in transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:233:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:128:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:357:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/has_many_association.rb:121:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/association.rb:196:in `create'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/associations/collection_proxy.rb:347:in `create'
from /var/www/discourse/app/models/category.rb:204:in `create_category_definition'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:413:in `block in make_lambda'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:235:in `block in halting_and_conditional'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `block in invoke_after'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `each'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `invoke_after'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:132:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_create_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:340:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/timestamp.rb:95:in `_create_record'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/persistence.rb:563:in `create_or_update'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:336:in `block in create_or_update'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:131:in `run_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_save_callbacks'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:336:in `create_or_update'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/persistence.rb:162:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/validations.rb:50:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:43:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `block in save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
from /usr/local/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `save!'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:46:in `save!'
from /var/www/discourse/script/import_scripts/base.rb:451:in `create_category'
from /var/www/discourse/script/import_scripts/base.rb:422:in `block in create_categories'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rack-mini-profiler-1.0.0/lib/patches/db/mysql2.rb:8:in `each'
from /var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rack-mini-profiler-1.0.0/lib/patches/db/mysql2.rb:8:in `each'
from /var/www/discourse/script/import_scripts/base.rb:403:in `create_categories'
from mybb.rb:89:in `import_categories'
from mybb.rb:42:in `execute'
from /var/www/discourse/script/import_scripts/base.rb:46:in `perform'
from mybb.rb:304:in `&lt;main&gt;'
discourse@sm64hacks-app:/var/www/discourse/script/import_scripts$

Posts: 1

Participants: 1

Read full topic

Editor badge is granted to user when moderator edits topic

0
0

@Stefan_Fairphone wrote:

Hi everybody,

I just found out that a new user with only one topic had the Editor badge. The user hadn’t edited their topic, but I had moved it to a different category. So the badge was granted to the user because I as a moderator edited the user’s topic. This is clearly not intended.

The minor inconsistency doesn’t bother me much, but maybe it can be fixed easily.

Steps to reproduce

  1. New user creates a topic
  2. Moderator moves it to a different category
  3. Discourse grants Editor badge to user

Best, Stefan

Posts: 1

Participants: 1

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images