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

Discourse Adplugin - Error occurred with Asense code

$
0
0

@infered5 wrote:

Has anyone gotten the Discourse Adplugin to work on Discourse v2.0? It says it officially only supports up to 1.4, but the latest is up to v.2.0 and some change. I’m on V2.0.0-beta2+4. Any luck or am I SOL?

Posts: 6

Participants: 3

Read full topic


Move later post to another topic: shouldn't it bump the topic up the list?

$
0
0

@merefield wrote:

Guys I’ve just moved someone’s post (because it was related to an earlier post, but the user chose to inappropriately randomly post on an unrelated thread) but Discourse didn’t bring the target topic forward and bump it up the topic list like I think it intuitively should. Should this be improved?

The post has a time stamp, shouldn’t the position of the destination thread be updated according to the moved posts timestamp if the timestamp is newer? Am I missing something?

Posts: 14

Participants: 6

Read full topic

Restrict topics from only one category in the Latest homepage zone

$
0
0

@theguy wrote:

Hi all! I am having fun with discourse so far. It’s really user oriented and nice for the eyes :slight_smile:

I choosed the hybrid homepage (Category/latest). But i want to restric the topics appearing in Lastest zone to one category only.

The option called “Suppress this category from the homepage.” is doing too much. It also hide the category from the homepage (left zone)… which is not want I want at all. :wink: I only want to filter the latest topics zone to one category.

How can I achieve that?

Posts: 1

Participants: 1

Read full topic

Ignore flag link disappears after editing a post; re-appears after refreshing the page

$
0
0

@meglio wrote:

Reproduction steps:

  1. As a regular user, flag a post
  2. As an admin user, find the message flagged in the topic; the “Ignore flag” link should be under it.
  3. As and admin user, edit the post. Notice how the “Ignore flag” link disappears.

The only way to get the link back is to refresh the page.

Posts: 1

Participants: 1

Read full topic

How can I whitelist a class in a theme?

$
0
0

@lll wrote:

I have a working carousel which I would like to package as a theme:

I’ve been trying to figure out how to whitelist a class or attribute for the script to target that would work with under a theme.

I’ve read:

Whitelisting some HTML tags

and

Whitelist all the code inside of a div tag?

But these topics cover plugin structure and I could not get any of the methods to work in a theme.

I’ve used the [dir] attribute - white-listed by default - in another theme here

However, that won’t work for two reasons:

1- the Next and Previous buttons will be mixed up based on the text direction
2- The slides can contain text like so:

and I’d really rather not go down that rabbit hole where I override the text direction with CSS - that’s just too hacky even for me.

I’m pretty much stuck here :sweat_smile:

The current selector I’m using to initialize the script on the container is:

$('.cooked>div[dir*="rtl"]')

So my question is:

How can I while-list a class or attribute for a div in a theme?

Posts: 5

Participants: 2

Read full topic

Migrating from other forum software

$
0
0

@Dominic_Anthony_Fras wrote:

Is there any sort of utility available to migrate my forum using Invision community software to yours?

Also is there a page I can view to see what kind of add on’s are available to your software?

Posts: 2

Participants: 2

Read full topic

Started getting 'Unknown To: Address" failures

$
0
0

@jedc768 wrote:

In the Discourse instance I help run, I’ve gotten a number of “Unknown To: Address” error reports recently… I’ve gotten it myself and have gotten a number of reports from users.

In my case, I was replying to a PM. Other cases were people replying to a topic by email and their messages getting rejected.

The weird things:

  • We haven’t made any configuration changes recently, and have used the reply-by-email functionality since we created our Discourse site
  • I don’t see any errors in the raw logs. on “/admin/email/rejected” I see the correct rejections like AutoGeneratedEmailError and UserNotFoundError, but not anything corresponding to the errors I’ve seen and other users have sent me

I’d appreciate any help in figuring out where to look to figure out what’s going on!

Posts: 5

Participants: 2

Read full topic

Trust Level problems with locking, unlocking, auto assigning, etc

$
0
0

@ggurbet wrote:

Hello.
I am using version v2.0.0.beta1 +292.
I have manually created a group that adds members with a specific mail address domain. I also set this group’s settings to grant trust level 4 (TL4) to all members automatically. Now things have changed and I need to remove TL4 from these people and set their trust level to automatic as a normal member. While I manage to manually remove them from TL4, their profile page still show TL4. But when I go to the admin panel and look at the members of TL4, they do not show up there. Also locking these members to a lower TL4, then unlocking still does not fix this. In addition, whenever I lock a member to TL3, only here “unlock trust level” button appears, on other trust levels I can only see “lock trust level” button. This really messed up trust levels for these users.

Here are the steps to reproduce:

  1. Go to admin panel -> groups, create a custom group, set an email domain for this group and set automatic trust level to TL4. Save. Refresh to see the members list populated (make it so that only a few users are added).
  2. Now remove the automatic trust level assignment and save. Notice that the members are still in the group.
  3. Now go to automatic groups and click TL4. You can see that you still have the previous users as members.
  4. Click a user (non-admin & non-moderator preferable). On their profile page you can see that they have TL4.
  5. Manually set their trust level to a lower value, like TL3 and click the checkbox to save your setting. Now things might work a bit different for you, in my case at some trust levels I could see the “lock trust level” button, but on one trust level only “unlock trust level” button.
  6. Now click the “unlock trust level” button (the correct one, look at bullet #5) and when the page refreshes you can see the user has now TL4 (which cannot be automatically granted to users at this point since you already disabled this setting in the custom group settings).
  7. Going to groups -> automatic and clicking TL4, you can see actually the user is not a member of TL4 anymore.

Any help is appreciated. Thanks.

Posts: 1

Participants: 1

Read full topic


Whats new in: 2.0.0.beta2?

$
0
0

@frold wrote:

I did search the forum but I might have missed it…

Where to find information about news in 2.0.0.beta2 ?

The mail I got:

" Hooray, a new version of [Discourse) is available!

Your version: 2.0.0.beta1
New version: 2.0.0.beta2

  • Upgrade using our easy [one-click browser upgrade]

  • See what’s new in the [release notes] or view the [raw GitHub changelog]

  • Visit [meta.discourse.org]for news, discussion, and support for Discourse"

Points to: https://meta.discourse.org/tags/release-notes

It might be a “bug” as there is no information about 2.0 in that section?

Update: Moved to bug section. Please remove if this isnt a “bug”.

Posts: 8

Participants: 4

Read full topic

Transfer from bitnami to normal discourse

$
0
0

@viensvoirtonton wrote:

hello there

i’m using discourse for one week now on bitnami

and i would like to switch to a classic version of discourse for many reasons

i wonder if there is a simple way to do it while conserving :

  • the ssl certificate
  • the user admin settings
  • the smtp settings
  • the IP
  • all the content of course

i can do it by night no problem as it’s only a very young forum yet

if someone can give me a list of instructions to follow in my ssh, i would really appreciate, i will copy and paste as i’m not developer at all, but i learned how to use ssh since i installed discourse :wink:

thanks for all and great job discourse !

ps: if there was only one comment i would make is that i really miss the sub sub categories, i don’t think the tags really replace it yet, but maybe there is a modern way of using a forum that i am still missing

Posts: 7

Participants: 2

Read full topic

Image upload, relative path instead of full path

Show banner only for guest user

Does it show who flagged a post?

Cannot login to dev instance with imported user

$
0
0

@fhe wrote:

I’ve just imported my first user from IPB to my local Discourse 2.0.0.beta2 and also went on to import the previous passwords using @michaeld’s discourse-migratepassword.

Everything seems to be working fine, the user is in the database and I’ve verified, that the password check in discourse-migratepassword succeeds.

What’s not working is saving the user after setting the raw password. User.save returns false, makes confirm_password? to fail and produces this output on the log.

I, [2018-02-01T14:31:42.198999 #58525]  INFO -- : Started POST "/session" for ::1 at 2018-02-01 14:31:42 +0100
I, [2018-02-01T14:31:42.303772 #58525]  INFO -- : Processing by SessionController#create as */*
I, [2018-02-01T14:31:42.305979 #58525]  INFO -- :   Parameters: {"login"=>"Florian", "password"=>"[FILTERED]"}
D, [2018-02-01T14:31:42.314922 #58525] DEBUG -- :   User Load (2.3ms)  SELECT  "users".* FROM "users" WHERE "users"."username_lower" = 'florian' LIMIT 1
D, [2018-02-01T14:31:42.379916 #58525] DEBUG -- :    (1.0ms)  SELECT "user_custom_fields"."name", "user_custom_fields"."value" FROM "user_custom_fields" WHERE "user_custom_fields"."user_id" = 1 ORDER BY id asc
D, [2018-02-01T14:31:42.383404 #58525] DEBUG -- :    (0.6ms)  BEGIN
D, [2018-02-01T14:31:42.400523 #58525] DEBUG -- :   UserEmail Load (2.0ms)  SELECT  "user_emails".* FROM "user_emails" WHERE "user_emails"."user_id" = 1 AND "user_emails"."primary" = 't' LIMIT 1
D, [2018-02-01T14:31:42.427949 #58525] DEBUG -- :   UserEmail Exists (2.8ms)  SELECT  1 AS one FROM "user_emails" WHERE "user_emails"."email" = 'address@domain.invalid' AND ("user_emails"."id" != 1) LIMIT 1
D, [2018-02-01T14:31:42.433311 #58525] DEBUG -- :   UserEmail Exists (1.5ms)  SELECT  1 AS one FROM "user_emails" WHERE "user_emails"."primary" = 't' AND ("user_emails"."id" != 1) AND "user_emails"."user_id" = 1 LIMIT 1
D, [2018-02-01T14:31:42.437460 #58525] DEBUG -- :    (1.1ms)  ROLLBACK
I, [2018-02-01T14:31:42.442319 #58525]  INFO -- : Completed 200 OK in 134ms (Views: 0.2ms | ActiveRecord: 25.3ms)

It’s my first encounter with Ruby and Rails/ActiveRecord. It would be great if someone could make sense out of my description :slight_smile:

Thanks!
—Florian

Posts: 3

Participants: 2

Read full topic

Discourse 2.0.0.beta2 Release Notes

$
0
0

@jomaxro wrote:

New features in 2.0.0.beta2

Improved HTML Pasting Support

Introduced originally in Discourse 1.9.0.beta16, in this beta we’ve improved support for complex table formats, as well as improvements to other types of complex HTML pasting

Invision Power Board Importer

Discourse has import scripts for many different forum software as well as other tools like Disqus comments and mailing lists. All our import scripts are open source, and thanks to contributor @pfaffman, we now offer an Invision Power Board script.

log personal messages views Site Setting

Site admins have always had the ability to view all content on their site, including personal messages sent by users. We’ve added a new site setting (default off) what when enabled will log when admins view personal messages they’re not a recipient of so viewing personal content is auditable.

Lock Post Editing

Discourse staff members now have the ability to lock posts. Locking a post prevents its author from editing it. Why would you want to do this? Sometimes a user posts something bad, so a staff member will go in and change it. Before this commit, there was no way to prevent a user from maliciously changing it back.

To lock a post, click the wrench under it and select “Lock Post”

image

When locked, a lock icon will be displayed on top of the post and the poster will not be able to edit it until it is unlocked.

image

Disable Emoji Shortcuts Site Setting

Discourse automatically converts emoji shortcuts like :) into emoji :slight_smile:. Some sites do not like this, so admins can now disable this automatic conversion via site settings.

Improve Category/Tag Dropdowns

First released in Discourse 1.9.0.beta15, @joffreyjaffeux has continued to improve our select boxes and dropdowns. For 2.0.0.beta2, he’s updated the category and tag filters, which now include support for searching!
91064e837c5556f056785b98d6bb97032fa4be84

Allow Sending Invites to Staged Users

Staged users can now be invited, allowing you to easily grant access to staged users even on invite only sites.

Grant Badges in Post Admin Wrench

Thanks to contributor @xrav3nz, admins can now grant badges to user right from the topic view. A new Grant Badge option is including to the post admin wrench.

It opens up a modal for the admin to choose a specific badge to be granted to the user. The “badge reason” will automatically be attributed to the post from which the “grant badge” action is triggered.

Font Size, Line Height, and z-index Improvements

Can you believe that we had over 50 different font sizes in Discourse!? Can you tell the difference between .929em and .93em? I couldn’t, and thanks to our incredible designer @awesomerobot our font, line height, and z-index systems have been cleaned up and improved. You can read all the details in Cleaning up our font system and Implementing a new z-index system with SASS.

These improvements also make small and large size font themes incredibly simple - just add a single line of css, html {font-size: YYpx !important;} (replace YY with your desired size, default is 14) and nearly your entire site will be scaled.

Security Updates

This beta includes 1 security fix for issues reported by our community and HackerOne.

  • Email domain whitelist could be bypassed

Even more!

This beta has so many notable improvements they could not all be listed in detail. For a full list of new features, bug fixes, UX improvements, and more, be sure to review the Additional Features and Fixes listed below.

Plugin improvements

Voting

  • Voters will now be shown on closed/archived topics

Solved

  • Improved tooltips
  • Updated README including instructions

Patreon

  • Patreon account details now shown on user details page
  • Admin warning for invalid access token
  • Improved code tests
  • Bug fixes

Assign

  • New site setting to require a post be claimed before resolving

Ad Plugin

  • The ADVERTISEMENT label can be translated

Onebox

  • Fix Sketchfab embeds

Additional Features and Fixes

Click to expand

New Features

  • Select-kit api to modify collection header
  • Allow plugins to register a new locale
  • Do not restrict categories filtering to only FULL permission type
  • Disable service worker for all browsers except for android
  • Bump rbtrace to latest
  • Add topic posts count to webhook post serializer
  • Shorten setting name to max_reqs
  • Emit external_id field with user webhook
  • New modal to show flags received for a user
  • Plugins can send more data to Google Tag Manager
  • Show header search results on search log term details page
  • Keyboard shortcut to refocus composer
  • Much improved and simplified crawler detection
  • Add collapse button
  • Replace period-chooser by a select-kit component
  • Add setting to display tags by tag groups
  • Allow system api to target users via external id or user id
  • Display force_https warning in admin problems dashboard
  • Show create new topic link on mobile
  • Global rate limiter can bypass local IPs
  • Allow posting via email to read-only mailing list mirror category
  • Updates emojis to last revision

Bug Fixes

  • Don’t blow up on badly encoding incoming email body
  • System user edits should not generate notifications
  • 404 page when clicking a badge notification from before changing username
  • BBCode to Markdown conversion in phpBB3 importer was broken
  • PhpBB3 importer imported some users as anonymous users
  • Allowed href scheme link can start with a +
  • Inline oneboxer min title length of 2
  • Show label beside confirm user fields, and fix spacing around them
  • Time read on users directory was not rendering correctly on mobile
  • Remove old unused text
  • Missing translation
  • Emoji-picker improvements
  • Hides upload link on mobile
  • Don’t allow username update via update route
  • Select-kit category dropdown issues in IE11
  • Redirect to original URL after social login
  • Improves UI state when no extensions are allowed for upload
  • Makes sure allowUncategorized is passed to category-selector
  • Enabling verbose localization for session didn’t work
  • Featured links are ‘undefined’ in suggested topics
  • CTRL+mouse-left-click / CMD+mouse-left-click or mouse-middle-click should open link in new tab
  • Remove all notifications of staged user during sign-up
  • Show message from discobot when staged user signs up
  • Application should not crash when selected locale is missing
  • Server didn’t use default_locale as fallback locale
  • Uploads not working on themes admin page
  • Makes sure allowUncategorized is passed to underlying component
  • Force full width on mobile for cat and tag drops
  • Mods should be able to grant badges in post wrench
  • Censored regex words were replacing other text that shouldn’t be censored
  • Larger tag-drop
  • Tweaks to tag and category drops
  • Improvements to category-drop when used with a subcategory
  • Better handling of collection height
  • Alignment for box/bullet tag styles
  • Uploads:migrate_from_s3 wasn’t destroying records before creating new ones
  • Badge group edit modal controller is missing modal functionality
  • Creating new message via link was failing for anon user
  • Missing footer on groups pages
  • UX improvements for system messages when PMs are disabled
  • Don’t show suggested messages if private messages are disabled
  • Users column too wide on tablet
  • Tag alignment
  • Space below post-actions
  • Regression, missing 404 page
  • Don’t link icon to the private messages page if they are disabled
  • Disable the keyboard shortcut if private messages are disabled
  • Flags notification badge becomes too narrow when menu is open
  • Support for generating excerpt when nesting <details> blocks
  • Category badge when using box style on long category names
  • Caret clone div position for RTL locales
  • Prevent users from moving whispers to new topic
  • Migrate_from_s3 rake task not working
  • Ensure proper header transfer (except for cache control)
  • Preventing presence users from overflowing window
  • Notify_about_queued_posts_after copyedit
  • Allow plugins to register importers
  • Encode image filename so ‘[', ']’ and ‘|’ doesn’t break the markdown
  • Invalid SQL in vanilla_mysql import script
  • Margin below topic-map
  • Support recovering images using ‘upload://’ scheme
  • Makes sure mousedown is stopped only on select-kit element
  • Jump to original post when expanded posts are collasped
  • Prevent <big> nesting abuse
  • Correctly log topic timings as background
  • Never flush timings while in progress
  • Wrap similar topic titles at narrow widths
  • Increasing z-index on topic-avatar
  • Cache_file storage cleanup logic was wrong
  • Don’t create new like notifications for deleted topics
  • Box badges on 404 page not displaying correctly
  • Allow shared CDN for s3 and assets
  • Badge with box mode having incorrect background size
  • Mbox importer didn’t detected already indexed files
  • Validate presence of ‘top menu’ setting
  • Topic and category exporters were only exporting users who created the first post
  • Subfolder: top referred topics report was missing subfolder in links
  • Subfolder support was broken
  • Adds support for selection-indicator
  • Category topic count alignment
  • Graphs should go to zero for missing dates
  • Invalid cache for parent category with limit_suggested_to_category
  • When deleting a tag, the warning modal has the wrong topic count
  • GitHub auth always asking to verify email for new users
  • Return 429 when admin api key is limited on admin route
  • Rescue login required / broken images
  • Suspension / Silence reasons were incorrect on save
  • Fix category-link spec failure
  • Category badges css refactoring/fixes
  • Disable by default limitMatches
  • Support for watched_words_regular_expressions when censoring words
  • Allow plugins to override admin component templates
  • Makes rake qunit:test task work on macOS
  • Show create new topic link when there are no search results
  • Don’t downcase watched words on input since it can break the watched_words_regular_expressions setting
  • Censored words should support * as wildcard
  • Handle invalid password reset token
  • Adds select-kit api to modify header computed content
  • Add guard to prevent a primary UserEmail from being reassigned.
  • Source admin locale from cdn
  • Cache admin locale file for 24 hours
  • Broken test
  • Google Calendar oneboxes weren’t working
  • URI must be ascii only for URI.parse command
  • Broken select badge as user title
  • Broken select badge as user title
  • Render error message when backup download fails
  • Do not validate messages sent to mailing list mirror
  • Never mark emails sent to mailing list mirror as auto-generated
  • Facebook deprecated facebook messenger emojis
  • Correct shushing_face name
  • Do not create duplicate topics
  • Don’t raise error if I18n key is not found

UX Changes

  • Input and search cleanup
  • Prevent anons from clearing pins :pushpin:
  • Generic ‘no invites to show’ message
  • The delete button is also a dropdown
  • Adding a sticky footer to the post history modal, removing bootstrap columns
  • Removing some old references to the star feature
  • Trim selected text while copying to the link building modal
  • Copy selected text to the link building modal
  • Additional protections to prevent tag nesting exploits in posts
  • White text for social login buttons, regardless of theme
  • Very long tag names should truncate
  • Improve description of s3_use_iam_profile
  • Adjustments for embedded reply collapse button
  • Small adjustments to similar topics popup
  • User column heading needs a width
  • Implementing a z-index system
  • Modal; Moving cancel further away from confirm
  • Removing width: auto; in mobile autocomplete so long strings truncate
  • Button styling
  • Styling embedded post collapse button
  • Tag alignment and size in topic titles
  • Switch to quartlerly period view for search log term graphs
  • Increasing contrast on composer elements
  • Line-height should be larger with single-line titles
  • Increase post meta font size
  • Type system rebuild
  • Don’t use a chevron when a dropdown is just an icon
  • Switch back to line chart
  • Put the HR in the correct place
  • Adding a little space after oneboxes
  • Show bar chart for admin graphs

Performance

  • Ability to crawl for titles without extra HEAD req
  • Slow down optimizing images per host
  • Guard so we only create one optimized image per process
  • Reduce memory usage for post alerter
  • Run post timings in background
  • Bypass theme handling on static routes
  • Add frozen string literals to app controller
  • Reduce queries required for post timings
  • Avoid expensive OR clause query info more efficiently
  • Improve perf of topic suggested query with limit_suggested_to_category
  • Handle debounce in redis cause SQL can be slow
  • Bypass omniauth unless in an auth path
  • Add frozen strings
  • Calculate topic_counts for tags in an async job so tag queries that include counts are much faster
  • Cache messages so re-opening composer on same topic does not issue a req
  • Use cdn for extra locales
  • Enable gzip on proxied requests
  • Defer message bus on hidden tabs so only one in 1.5 seconds happens
  • Add some minimal caching to javascripts folder
  • Conserve memory while rebaking posts

Posts: 1

Participants: 1

Read full topic


Lost queue of pending posts after upgrading

$
0
0

@razvan wrote:

I upgraded today to the latest version of Docker and latest Discourse and when it got back online I noticed the posts-to-be-approved queue was significantly shorter. I noticed it got trimmed to only the latest two months of pending posts. Any idea what happened here? Where did the older posts go?

Posts: 1

Participants: 1

Read full topic

Remove system banner

$
0
0

@theguy wrote:

Is there a way to remove the “Bootstrap mode” and “Let’s get this discussion started!” banners that appears for new installation?

Posts: 3

Participants: 3

Read full topic

System won't email me (admin)

$
0
0

@HappyGezim wrote:

When I first installed Discourse, I had it email me every update and post, etc (small forum). Then I enabled desktop notifications and emails were becoming annoying.

I disabled emails through, I believe, clicking “don’t email me” or something in the email themselves.

Now, for the life of me, I can’t figure out how to get it to send me emails again.

Ideas? (And please do suggest basic things as I’m not too familiar with Discourse).

Posts: 2

Participants: 2

Read full topic

Is there a list of active onebox's included in Discourse distro?

$
0
0

@trudat wrote:

Since the list of onebox-supported sites seems to change over time, I was wondering if there is a list maintained somewhere?

Posts: 2

Participants: 2

Read full topic

Discord Ranking

Viewing all 60707 articles
Browse latest View live




Latest Images