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

Search api only have 5 topic result

$
0
0

@AresX wrote:

hi, i use the search api

 https://parrotsec-china.org/search/query.json

to seach topic ,but result json only have 5 result of topic ,why that happened?

Posts: 1

Participants: 1

Read full topic


Database restore broken

$
0
0

@flesser wrote:

I am currently trying to move a Discourse Instance from one server to another, but the import of the backup fails. Both instances are Docker installs of the same Version (20180227161818).

The restore log starts with

[2018-03-07 10:13:52] 'florian.admin' has started the restore!
[2018-03-07 10:13:52] Marking restore as running...
[2018-03-07 10:13:52] Making sure /var/www/discourse/tmp/restores/default/2018-03-07-101352 exists...
[2018-03-07 10:13:52] Copying archive to tmp directory...
[2018-03-07 10:13:52] Unzipping archive, this may take a while...
[2018-03-07 10:13:52] Extracting metadata file...
[2018-03-07 10:13:52] Validating metadata...
[2018-03-07 10:13:52]   Current version: 20180227161818
[2018-03-07 10:13:52]   Restored version: 20180227161818
[2018-03-07 10:13:52] Extracting dump file...
[2018-03-07 10:13:52] Restoring dump file... (can be quite long)
[2018-03-07 10:13:52] SET
[2018-03-07 10:13:52] SET
[2018-03-07 10:13:52] SET
[2018-03-07 10:13:52] SET
[2018-03-07 10:13:52] set_config
[2018-03-07 10:13:52] ------------
[2018-03-07 10:13:52] (1 row)
[2018-03-07 10:13:52] SET
[2018-03-07 10:13:52] SET
[2018-03-07 10:13:52] SET
[2018-03-07 10:13:52] ERROR:  function "raise_read_only" already exists with same argument types
[2018-03-07 10:13:52] ERROR:  current transaction is aborted, commands ignored until end of transaction block

From there on, everything goes south. Tons of invalid command \N lines and other errors that look like psql is trying to interpret post contents as commands (ERROR: syntax error at or near "aber" / LINE 1: aber wenn das Tee ist, bringe mir bitte Kaffee. Eine Vorteil...).

According to ./launcher enter app / psql --version, both instances run the same psql version.

I guess the offending line is

[2018-03-07 10:13:52] ERROR:  function "raise_read_only" already exists with same argument types

and everything else are follow-up errors.

I get the same result if I try to restore via the web interface or with ./launcher enter app / discourse restore

Any hints?

Posts: 19

Participants: 6

Read full topic

Option to stop the Discobot in a vanilla install

$
0
0

@Frank_Meeuwsen wrote:

More and more I run into Discourse installs in the wild. Which is great of course. Only to be greeted by ye olde @discobot every time and have to go through the tutorial. Yes I can skip parts. But wouldn’t it be nice to have a stop option so you can cancel the tutorial whenever you want?
Yes, new users will also be able to stop this, but is that any different then them ignoring the Discobot? At least you might get some more insights on what percentage actually stops the bot at what moment. This might give you insights on how to improve it.

Posts: 3

Participants: 3

Read full topic

Assistant access for executive members

$
0
0

@David_Baker1 wrote:

Can someone please advise if there’s a feature (or workaround) for the following use case:

As an Executive participating in a Discourse forum I need to grant access to my assistant but I don’t want them appearing as a separate member of the groups I belong to. But I want my assistant to get notices and be able to help me with my content.

Posts: 7

Participants: 4

Read full topic

Does the Ubuntu install work as is?

$
0
0

@Sheeply wrote:

I installed Ubuntu on my PC rather than screwing around. I followed this install

I seemed to get everything installed then failed on “bundle exec rake db:create db:migrate”

It complains about redis

"Failed to report error: Error connecting to Redis on localhost:6379 " and a bunch of other stuff.

My questions are whether any other installs are needed but not mentioned and whether I had to use sudo to install gems. I got an error saying I didn’t have permission unless I used sudo.

Now I think there might have been a step I missed where I tell it to install into my home directory where I have permission. But I don’t see anything on that instruction page.

If I have to delete all the sudo installed gems how do I do that? Just rm a directory tree? This is a fresh install of ubuntu.

Thanks!

Posts: 2

Participants: 2

Read full topic

Discourse google drive Backup plugin

$
0
0

@Jay91 wrote:

Hello friends,

one day i found here a plugin the allows backups to google drive but now i cant find it,
can you help me and add the link for me here ?

also a question about the plugin ability:
in wordpress vaultpress backups everything, when you lose the entire website you can bring it back in one click, can this plugin do the same.
in the other word can you restore the database, users, posts, style and even the media file ?
can i bring back the entire website in one click ?

Thanks in adance.

Posts: 3

Participants: 2

Read full topic

Deleting a users posts (with large post count+history)

$
0
0

@cookywook wrote:

Hello,

A user has asked to leave our Community, and wants all their posts removed. They’ve been a Community member for a few years, so have a large number of posts and topics created.

I can overrule the ‘max post delete’ options in the admin, but I wanted to sense check the next steps. If anyone else has any experience of this, it’d be great.

Unfortunately the user has turned down the option to simply anonymise the account, so we’re having to do a full deletion.

Am I right in thinking that this will also delete all the topics the user has made, even if they contained posts by other users? Is there any way to avoid this, beyond manually reassigning all of their topics to another account?

And is there anything else that might break during this process?

Thanks.

Posts: 3

Participants: 3

Read full topic

Excellent Roblox Communties!

$
0
0

@Box wrote:

There’s a few communities for Roblox on Discourse, and those are usually rare. Anyone know any others other than RoForums? I love how the communities are so small and most trollers are suspended by active moderators! Feels nice to mean something to communties.

Posts: 2

Participants: 2

Read full topic


PM page, /unread and /new throwing internal server error

$
0
0

@ChrisBeach wrote:

This evening, the private message list page on my forum stopped working for me and at least one other user (possibly everyone).

I have tried /safe-mode (everything disabled) and the problem persists.

I’m concerned this might be related to an earlier action I took.

A long term user PMed to ask me to remove them from the forum. I first anonymised them, then deleted all their posts (100+, including PMs), and then I deleted their account.

Could this perhaps be related to the issue I’m seeing on the PM page?

Is there any kind of ghost data (particularly around PMs from deleted users) that linger and affect the call to load PM data from the server?

There’s nothing obviously related in my server error logs (as visible from the admin dashboard). Some errors thrown by the ettiquette plugin and the events plugin, which I believe are unrelated.

Apologies for the lack of diagnostic info / repro at this stage. I’m currently on my way home from work and will provide all the info I can when I get back to my laptop. I will also try recreating this issue on another forum instance.

Posts: 7

Participants: 2

Read full topic

Removing a plugin - is plugin data lost?

$
0
0

@ChrisBeach wrote:

A somewhat urgent request. If I remove a plugin like the Events plugin (commenting it out from app.yml and doing a “launcher rebuild app”), will the associated data (ie event dates) be removed permanently?

Posts: 3

Participants: 2

Read full topic

Discourse 2.0.0.beta4 Release Notes

$
0
0

@jomaxro wrote:

New features in 2.0.0.beta4

Two Factor Authentication via TOTP

Thanks to community contributor @awole20 we now support Two Factor Authentication on Discourse!

Two Factor Authentication can be enabled from a user’s preferences page.

After verifying their password a user is prompted to scan the QR code via a supported app on their mobile device.

After enabling Two Factor Authentication all existing login sessions are invalidated (you’ll need to log into all browsers again). After entering a username and password you’ll be prompted for the current authentication code in the app.

Important Note: Two Factor Authentication only works with local logins. You cannot use social logins when Two Factor Authentication is enabled, and Two Factor Authentication cannot be activated if a site uses SSO.

Add group name to PM email subject

Thanks to community contributor @LeoMcA you can now choose to display the group name in the email subject from group PMs instead of simply displaying [PM]. This is controlled via the site setting group in subject (default off).

Additional allowed file types for staff

Previously staff users were restricted to uploaded the same file types as normal users. Admins can now allow additional file types for staff users only via the authorized extensions for staff site setting.

Search in title

Thanks to community contributor @jorge_manrubia and Discourse engineer @sam you can now scope search to topic title only. Searching in title in:title is not yet included in the advanced search UI, you must type it by hand. Please note that it may take time for a search reindex to complete after the update before this will work. See Search only within topic titles for more details.

Suppress category from latest

Previously categories had a setting suppress category from homepage that would hide a category from the site’s homepage, whatever that may be. However, this setting did not interact well with the user selectable Default Home Page preference. To avoid the unexpected interaction the category setting is now suppress_from_latest, and only hides topics in the given category from the latest view, regardless of if it’s the homepage. To continue hiding a category on the category page you can use CSS.

Allow staff to tag PMs

Staff can now add tags to PMs to assist with organization. Tags are visible to all staff and cannot be seen by normal users. PM tagging is still actively being improved, please provide feedback in Feedback on feature enabling staff to add tags to personal messages

New category page layout: Categories and Top

We’ve added a new desktop category page style, Categories and Top Topics. This is similar to the existing default Categories and Latest Topics, but displays Top topics in the right column instead of Latest.

Theme Settings

Thanks to community contributor @Osama theme developers can now include theme settings in their themes. This will allow theme users to easily customize themes to their needs, including modifying colors, URLs, and other theme data. See Add support for theme settings for more details. A proper #howto topic should be available soon.

Rake task for merging users

A new rake task to merge users accounts is now available. This task will merge most user data. There are a few known issues, including mentions and quotes not being updated. For more details and to leave feedback see Ability to merge users.

Improved 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.beta4, further improvements to the tag selector in the composer have been added.

Improved signature stripping

Many users who email into Discourse include email signatures in their posts. We’ve improved our detection of signatures to hide even more signatures by default, including signatures from Gmail, Outlook, Exchange, and more.

Asset rate limiter tweaks

CSS and avatars were being caught by the max reqs per ip, rate limit. To help mitigate this assets are now limited to 200 per 10 seconds instead of 50.

Edit: It should be noted that as of March 7, 2018 max reqs per ip, including the asset rate limiter are default disabled.

Security Updates

This beta includes 2 security fixes for issues reported by our community and HackerOne.

  • Sanitize topic title when staff is viewing a user’s past flagged posts and deleted topics
  • Ensure users have permission when moving categories

Even more!

But wait, there’s more! 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

Staff Notes

  • Fix broken post link in subfolder installs
  • Improve staff notes icon layout on mobile

Solved

  • Fix link to solved post opening in new tab instead of jumping to post in topic

Data Explorer

  • Sort queries alphabetically

Assign

  • Unassign topic if all topic flags are handled
  • Live update for “assigned” personal messages

Additional Features and Fixes

Click to expand

New Features

  • Editing_grace_period_max_diff to force revisions in grace period
  • Live updates for user’s messages page.
  • Detect when client thinks user is logged on but is not
  • Limit assets less that non asset paths
  • We need access to settings in theme js
  • Whitelist data for themes
  • Disallow groups from being indexed
  • IP.Board 3 importer
  • Disallow login via omniauth when user has 2FA enabled.
  • Begone gmail signatures!
  • Show “edit message” button on message footer for staff
  • Trigger topic webhook when topic status is updated.
  • Use HTML instead of text for incoming emails by default
  • Add instrumentation for all external net calls
  • New site setting ‘max_emojis_in_title’

Bug Fixes

  • Correctly allow tag creation if this.site.get("can_create_tag")
  • loadBefore should include current params as well.
  • Publish live messages to both team inbox and archive on update.
  • User archiving message should also publish to sent section.
  • User archive messages should only publish to the user.
  • Missing messages incoming indicator for mobile.
  • Do not show read-only cursor on mini-tag-chooser
  • Email_domains_whitelist prevented creation of anonymous users
  • Consider live links in <code> as links when counting
  • Only unsubscribe channel if it was subscribed.
  • Incorrectly deleting channel preventing us from unsubscribing MB.
  • Typo prevented extraction of email signatures
  • Reset_db
  • Don’t lock wiki posts when they’re edited
  • Regression preventing the display of replying... in the composer
  • Do not treat :: as a valid emoji
  • Display keyboard on mobile when focusing mini-tag-chooser
  • Inviting a group that I am part of creates a notification.
  • Set first visit PM notification level to group default notification level.
  • Capital bbcode tags were broken
  • Make it possible to edit tags on topics on mobile
  • Makes sure we recompute shouldDisplayCreateRow after request
  • Disable “Make Personal Message” if they are disabled
  • Translate the hover text or emoji categories
  • Tag input in composer was not respecting tag group rules
  • In some instances expanding hamburger menu broke layout in iOS
  • ‘reply by email addresses’ site settings should allow email addresses without a ‘reply_key’ when ‘find related post with key’ is disabled
  • Do not allow invite notifications from muted user/topic
  • Makes sure [999500..999999] is correctly shown as 999k
  • Missing 2FA guards when sso is enabled or when local login is disabled.
  • Don’t lock a post on edit unless the raw changes
  • Sidekiq job has wrong data when post owner changes within transaction
  • Merging users shouldn’t add more than 1 secondary email
  • Allow changing post owner even when topic validations fail
  • Associated Instagram account was missing at some places
  • Emoji search was not finding aliases
  • Category drop header padding when using category box style
  • Improves positioning of select-kit body
  • Brewfile was out of date
  • RateLimiter max of zero or less should raise rate limit exceeded.
  • Incorrect rate limit applied to topics invitation flow.
  • Don’t include unlisted topic in groups/posts
  • Don’t show Other Tags on /tags if there aren’t any to show
  • Don’t allow other flag actions after notify_moderator has happened.
  • Stop double counting net calls in logs
  • Use 60 minutes, not 60 seconds for column dropper
  • Load tag_groups and not tags
  • Prevents create row to be displayed if term is in displayed list
  • Prevents selected value from hiding one item of the list
  • Allow changing post owner even when validations fail
  • Retry with GET request when HEAD fails with error 400
  • Mini-tag-chooser was not returning a correct list of tags
  • Auto re-opened topics should restore category auto close settings.
  • Header icon out of bounds in tag-drop on some browsers
  • Direct link to group activity page results in 400 error.
  • Missing translation.
  • Must be able to post in a topic in order to vote on a poll
  • Handle <pre> inside <blockquote> in html_to_markdown
  • Only likes should change the given daily likes
  • Anonymous users shouldn’t see the link to new in the footer
  • Local post onebox was always pointing to 1st post
  • Properly render emojis in local oneboxes
  • Missing translation for non-admin when editing a group.
  • Do not log personal message view if user can’t see the message
  • Don’t double request when downloading a file
  • SimplePress importer wasn’t handling increment imports properly
  • Update group user count when bulk adding users
  • Incorrect caching of theme keys
  • Preview theme not working consistently
  • 2FA prompt incorrectly displayed on admin login page.
  • Show names when available
  • Social login buttons were not working
  • Login buttons not working on sign up modal.
  • No error displayed when 2FA token is invalid on admin login page.
  • Allow customized usernames to work in this route
  • Error when deleting a tag associated with a deleted topic
  • Never open internal links in a new tab when user prefers opening external links in a new tab
  • Can_tag method called without guardian variable
  • Include deleted topics in the post serializer
  • Invalid token error incorrectly displayed on email login page.
  • Links in quotes should be counted for rate limits
  • Check for 2factor on change email controller
  • Email controller - only show second factor errors on attempt
  • Check against ‘true’ to enable second factor.
  • Use the avatar of the post rather than the topic in local oneboxes
  • Strip zero width spaces from topic title
  • Stylesheet::Manager.stylesheet_link_tag cache should account for Discourse.current_hostname.
  • Include title in local onebox when linking to a different topic
  • Admin was not able to unblock screened IP address
  • Cookies header didn’t have the right format
  • Do not show mail-forward icon if not needed
  • Ruby bench not working properly
  • Binding_of_caller not working on Ruby 2.5
  • Support old Service Worker source file path to avoid routing errors.
  • Data export should fill missing dates with zero value
  • Support incoming emails with just an attachment

UX Changes

  • Add title to user messages page.
  • Improvements for theme UI
  • Improving badge page layout
  • Display warning message about social logins disabled when 2FA is enabled.
  • Remove fast scroll which is leading to bugs
  • Hide social login buttons when requesting for 2FA token.
  • When a post is blocked due to a watched word, message includes the word being blocked
  • Incorrect width for webhook events. Take 2.
  • Incorrect width for webhook events.
  • Use ‘tel’ input type for 2FA token inputs.
  • Move ‘show words’ checkbox close to the words in the Watched Words UI
  • Specify pattern and maxlength for 2FA input fields.
  • Invited users should watch PM topic once topic has been visited.
  • Add reset password email button when confirming password before enabling 2FA.
  • Don’t show admin 2FA edit icon on profile of other users.
  • Improve indication of 2FA status in user’s preferences.
  • Don’t disable submit button before transitioning in 2FA flow.
  • Fix missing css styles on invite modal.
  • Add og metadata for groups.
  • Remove default focus styling from posts & topic list items
  • Make the .selected class follow focus
  • Use focus as the first selector for J/K navigation
  • Apply hover styling to post actions on focus
  • Smaller input field for preferences 2FA form.
  • Display lock icon in admin user lists when user has 2FA enabled.
  • Implementing a box-shadow system, cleaning up existing shadows
  • Improving header scalability for large font themes

Performance

  • Avoid fetching a bunch of ids in polls updater.
  • Remove N+1 queries on topic list page.
  • Fast docking of timeline so it does not overlap
  • Upgrade Oj gem

Posts: 1

Participants: 1

Read full topic

Controlling text size in posts

$
0
0

@Timothy_Vail wrote:

This is a very basic question, but I couldn’t seem to find it anywhere. The post instructions that I did find on here don’t work.

I want to have a specific post have big text, I tried BBCode / markdown [size=40][/size] etc but it doesn’t work. I tried<div> <font size> etc, nothing works!

How can I control the font size for particular strings of text in a post?

Posts: 9

Participants: 3

Read full topic

Delete my account with the console

$
0
0

@Steven wrote:

Hi!

I have a weird issue with a Discourse forum, and I didn’t fine a solution by myself: I installed a forum, I have access to the console but I don’t run it. I asked to the current admin to delete my account because I don’t want to be involve in this mess, but he refuses.

Usually I would be fine letting my account in a forum without using it, but the admin like to Impersonate every account (like mine, or discobot) to post weird stuff, and I really don’t like it. I tried to talk some sense with this person but I don’t trust him at all.

I would prefer to delete my account permanently. I didn’t find a way via Discourse with an admin account, or even a developper’s account (with the function Impersonate) to do it properly.

Is there a way to do it with the console, without messing up the database?

I know the basic stuff (./launcher enter app then rails c) but not the exact command to do.

Thanks, it would relieve me a lot!

Posts: 2

Participants: 2

Read full topic

Changing a topic to Uncategorized doesn't stick

Run special JQuery on select pages

$
0
0

@RyanK wrote:

We are interested in using meerkat jquery to pop certain banners on our site, but would want the ability to deploy very selectively. Ideally we could choose to run them on 1 or more of the following:

  • Category page
  • Tag page
  • Posts within a given tag or category

My suspicion is that it’s more of an all or nothing choice across the whole site, but my fingers are crossed.

Posts: 2

Participants: 2

Read full topic


How to remove Uncategorized category

$
0
0

@Adam_Adam wrote:

How do I remove the following category “Uncategorized”, it was added automatically into my discourse. When I go to delete it says “Can’t delete uncategorized”.

Why does this happen and how can I solve this issue

Capture

Posts: 2

Participants: 2

Read full topic

Women ONLY forum

Possible to prevent theme updates from replacing user customized assets?

$
0
0

@tshenry wrote:

I’ve run into an interesting dilemma. It’s a little tricky to explain, so let me know if I need to clarify anything.

My intention is have a hard-coded variable name (like $image-url) in the SCSS file that will point to an image asset. The idea is to allow users to upload their own image assets to the theme component, naming them to match the variable names in the SCSS file. The goal is to keep it easy for the user so they won’t need to edit anything in the CSS/HTML.

Here are the issues I am running into:

  • If I have the $image-url variable in the SCSS file without a matching asset (listed under Uploads in the theme), I get an undefined variable error when trying to save the SCSS file (which makes sense)

  • If I try to set default values for the variables in the SCSS file, it overrides the values defined in the uploaded theme assets

  • I tried using the about.json file to set each variable to placeholder.png and include that asset with the theme component, but the catch here is that every time I update it, any assets the user had set are replaced with the placeholders again

Any suggestions on how to handle this, or is it just a limitation that I will have to explain to the users?

Posts: 3

Participants: 2

Read full topic

Upgrading jQuery to version 3.3.1

$
0
0

@sam wrote:

I just upgraded jQuery from version 2.2.0 (2 years old) to 3.3.1.

Officially this drops support in jQuery for IE 8 and below. In practice … well … jQuery have been slow nuking out old code.

There is an extensive guide about changes from the 2x line to the 3x line at:

https://jquery.com/upgrade-guide/3.0/

We are not the heaviest jQuery consumers so I am not sure how many of these things impact us.

If you notice anything weird and new on the client side, it may relate to this upgrade. Let us know.

Posts: 1

Participants: 1

Read full topic

Best way to modify topics/show.html.erb

$
0
0

@Magnetidog wrote:

We need to customize the topics/show.html.erb file to add some custom functionality. I have edited the template locally and all works fine, but I would like to know if there is a standard/preferred way to edit those files without them being rewritten at each upgrade.

How do you guys normally handle it?

Thanks.

Posts: 1

Participants: 1

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images