eda82334ba
Build(deps): Bump rake from 13.2.1 to 13.3.0 ( #33032 )
...
Bumps [rake](https://github.com/ruby/rake ) from 13.2.1 to 13.3.0.
- [Release notes](https://github.com/ruby/rake/releases )
- [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc )
- [Commits](https://github.com/ruby/rake/compare/v13.2.1...v13.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 09:36:27 +08:00
0115687c1c
Build(deps): Bump oj from 3.16.10 to 3.16.11 ( #33028 )
...
Bumps [oj](https://github.com/ohler55/oj ) from 3.16.10 to 3.16.11.
- [Release notes](https://github.com/ohler55/oj/releases )
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ohler55/oj/compare/v3.16.10...v3.16.11 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 09:35:50 +08:00
eaab4e638d
DEV: Remove application code from old migration ( #33007 )
...
Application code should not be used in migrations since we want
migrations to be idempotent. Since these migrations were added 4 years
ago, the application code is safe to be removed.
This will allow me to make changes to the
`FileStore::S3Store#update_upload_ACL` without having to worry about
these migrations.
2025-06-02 09:35:15 +08:00
c31035caf5
DEV: Support nullable
column property modification ( #32978 )
...
By default, rails makes timestamp columns (`created_at` and
`updated_at`) non-nullable, we also have some required core and plugins
columns we wouldn't necessarily want to enforce in the intermediate DB
schema. It'll be better to set the default values for these during
import instead of enforcing these at the converter level.
This change adds support for globally modifying a column’s `nullable`
state, defaulting all `created_at` columns to be `nullable` while
allowing for table level overrides.
---------
Co-authored-by: Gerhard Schlager <gerhard.schlager@discourse.org >
2025-06-01 22:39:18 +00:00
fc9946f595
DEV: Add converter & importer for permalink_normalizations
2025-05-31 22:17:44 +02:00
8f89e287d3
Revert "UX: Merge onebox experiment into core ( #33015 )" ( #33024 )
...
This reverts commit 1af8ef60ed0f9fe094994f4a503ad6a0e765e638. It caused
multiple oneboxes to lose spacing between them. Reverting while we
investigate.
2025-05-31 09:03:49 +01:00
f82249599a
Revert "DEV: Added the ability to use users' names in group mention n… ( #33023 )
...
…otifications and mentions shown in emails (#32848 )"
This reverts commit e147d2afe6682a85070aecc0775050774f2f81f6. The
original commit has a bug, it replaces multiple usernames mentioned in a
post with the name of the first user in email templates.
Reverting temporarily, will need to re-roll a fix.
2025-05-31 13:58:32 +10:00
a22deb520b
DEV: remove setting-component mixin ( #33014 )
...
Follow up to https://github.com/discourse/discourse/pull/32958 .
This removes the setting-component mixin which has been merged into the
sole parent component still using it.
2025-05-31 06:58:51 +08:00
8660630e01
UX: avoid presence layout shift ( #33022 )
...
The space reserved for presence was just slightly too short, which was
causing a layout shift when the indicator appears, this fixes it.

2025-05-30 17:30:44 -04:00
9ae70ad7cf
UX: Scale down the theme title edit size ( #33021 )
2025-05-30 16:07:01 -05:00
1af8ef60ed
UX: Merge onebox experiment into core ( #33015 )
2025-05-30 16:01:09 -05:00
a55ce02cb9
PERF: Remove <details>
polyfill ( #33020 )
...
When we first introduced the `discourse-details` plugin, the `<details>`
element was not supported in all browsers, so this `display: none`-based
polyfill had to be used.
Nowadays, there is no need for this. And in fact, the `details[open] >
summary:first-of-type ~ *` selector is showing as our most expensive CSS
selector during repaints.
Removing this `display: none` also means that browser find-in-page will
now be able to correctly find content inside `<details>` in discourse.

2025-05-30 21:47:09 +01:00
00c4d8b0ba
DEV: Make --space-#
variables available everywhere ( #33017 )
2025-05-30 13:25:45 -05:00
6857abc8ba
Build(deps-dev): Bump @discourse/lint-configs from 2.20.0 to 2.21.0 ( #32983 )
...
Bumps
[@discourse/lint-configs](https://github.com/discourse/lint-configs )
from 2.20.0 to 2.21.0.
- [Commits](https://github.com/discourse/lint-configs/commits )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Discourse CI <ci@ci.invalid >
Co-authored-by: David Taylor <david@taylorhq.com >
2025-05-30 19:46:26 +02:00
27c7fcd767
DEV: move setting-component mixin logic into site-setting component ( #32958 )
...
This PR moves the SettingComponent logic into SiteSetting component. The
mixin itself will be removed in a separate PR.
2025-05-30 21:43:23 +08:00
38fbb83500
UX: Fix active menu item bottom border ( #33013 )
2025-05-30 08:39:52 -05:00
b05a079328
UX: Move to regular border radius variable ( #33011 )
2025-05-30 08:39:27 -05:00
291953c4f0
DEV: Remove unused method ( #33008 )
...
Method is not being used anywhere
2025-05-30 15:41:48 +08:00
8eb317b0f9
FIX: improvements for admin search ( #33006 )
...
Some adjustments to improve admin search results:
- trim filter phrase and remove multiple spaces
- score for partial label match: "the" should find "Theme and
Components"
- partial keyword score: "custom field" should find "custom fields"
- for keyword and fallback searches, ensure the keyword has at least 3
character to not be flooded by "the", "a", "and" etc.
<img width="728" alt="Screenshot 2025-05-30 at 1 52 38 pm"
src="https://github.com/user-attachments/assets/4d97800d-6ec1-4a54-8ea5-78ceb75b93b8 "
/>
<img width="730" alt="Screenshot 2025-05-30 at 1 52 46 pm"
src="https://github.com/user-attachments/assets/ca7baa4e-f19e-4512-ab35-63e594a571cc "
/>
<img width="733" alt="Screenshot 2025-05-30 at 1 52 54 pm"
src="https://github.com/user-attachments/assets/7f5ea85b-11ca-4f59-a564-72364d2a65be "
/>
<img width="721" alt="Screenshot 2025-05-30 at 1 56 18 pm"
src="https://github.com/user-attachments/assets/eb42a293-f14b-4bfa-ad6b-9f63b5fe3303 "
/>
2025-05-30 14:52:52 +08:00
0187853aad
DEV: Remove stale s3:correct_acl
and s3:correct_cachecontrol
tasks ( #33005 )
...
Both rake tasks do not account for secure uploads so they should be
considered broken. Since there is no longer a need for these rake tasks,
we are removing them instead of spending time to fix them.
2025-05-30 14:39:37 +08:00
ecc64e3925
DEV: Remove UploadFixer
and uploads:fix_all_extensions
rake task ( #33004 )
...
The code being removed here was added 7 years ago and is stale at this
point. We don't even know if it is safe to run since no tests have been
written for it. Therefore, it is safer for us to remove it than to spend
time reviewing it.
2025-05-30 14:11:55 +08:00
da0b303568
Build(deps): Bump postcss from 8.5.3 to 8.5.4 ( #32997 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.5.3 to 8.5.4.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.5.3...8.5.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 11:35:59 +08:00
036fa91a3e
Build(deps-dev): Bump fabrication from 2.31.0 to 3.0.0 ( #32999 )
...
Bumps [fabrication](https://gitlab.com/fabrication-gem/fabrication ) from
2.31.0 to 3.0.0.
-
[Changelog](https://gitlab.com/fabrication-gem/fabrication/blob/master/Changelog.markdown )
-
[Commits](https://gitlab.com/fabrication-gem/fabrication/compare/2.31.0...3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 11:35:38 +08:00
1c3567a351
Build(deps): Bump google-protobuf from 4.31.0 to 4.31.1 ( #33000 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf )
from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
-
[Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
-
[Commits](https://github.com/protocolbuffers/protobuf/compare/v4.31.0...v4.31.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 09:47:55 +08:00
9e4a08d08f
UX: Polishing borders, border-radius, input, and spacing ( #32995 )
2025-05-29 16:43:57 -05:00
58a01d1e03
DEV: Check if IntermediateDB schema is valid ( #32975 )
2025-05-29 22:08:50 +02:00
233c54b7fc
DEV: Small API changes for interacting with PG during migrations ( #32976 )
2025-05-29 22:08:32 +02:00
22595a8c94
UX: fix mobile positioning for content editable (rich editor) ( #32993 )
...
Uses the same hack that the markdown editor (`textarea`) uses to avoid
iOS shifting the mobile composer, when using the rich editor/ a content
editable.
2025-05-29 17:05:16 -03:00
921835dfbe
DEV: Exclude synonyms from tag chooser choices in Form Templates and order them alphabetically ( #32974 )
2025-05-29 10:15:20 -05:00
be3b557882
DEV: Correct typo in script-tag-discourse-plugin
deprecation ( #32990 )
2025-05-29 15:35:55 +01:00
66c857d639
Build(deps-dev): Bump rubocop from 1.75.7 to 1.75.8 ( #32985 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.75.7 to
1.75.8.
- [Release notes](https://github.com/rubocop/rubocop/releases )
-
[Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
-
[Commits](https://github.com/rubocop/rubocop/compare/v1.75.7...v1.75.8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-29 16:18:21 +02:00
fd2d8d0860
DEV: Warn admins for decorate-plugin-outlet
deprecation ( #32989 )
2025-05-29 14:36:01 +01:00
2261d3711b
FEATURE: allow customizing default timezone for email. ( #32964 )
...
1. Changes default email format to llll (eg: Tue, May 8, 2018 2:00 AM)
from 2018-05-08T00:00:00Z UTC which is not nice on the eyes
2. Adds `discourse_local_dates_email_timezone` which allows configuring
default timezone in emails
3. Improved help text on site settings (format / timezone)
---------
Co-authored-by: Gary Pendergast <gary@pento.net >
2025-05-29 14:17:37 +10:00
0142d352a8
UX: Add hover state to theme cards ( #32980 )
...
Added a subtle hover border to theme cards for better visual feedback.
Cursor stays default since the card itself isn’t clickable.
### Before
Nada
<img width="591" alt="image"
src="https://github.com/user-attachments/assets/d1df6b46-0557-4dfa-af68-166b2b721595 "
/>
### After
Applies `--tertiary-medium` on hover
<img width="585" alt="image"
src="https://github.com/user-attachments/assets/1e08f638-738f-40bc-948e-17912b634c0f "
/>
2025-05-28 21:53:25 -06:00
ce6e8a9809
FEATURE: Show language switcher for anons ( #32965 )
...
Related:
- https://github.com/discourse/discourse-translator/pull/308
- https://github.com/discourse/discourse/pull/32920 (setting introduced)
Moving the switcher to core, as the setting is now in core.
2025-05-29 11:37:20 +08:00
09a457f2ab
FIX: Topic timeline in mobile is not usable due to full height ( #32986 )
...
Bug introduced in 5cb19734e0
2025-05-29 10:23:51 +08:00
cafea26dc0
UX: add gap to sidebar items ( #32981 )
2025-05-28 14:52:02 -05:00
a868c8225f
FIX: removes shift which is not necessary anymore ( #32979 )
2025-05-28 20:07:05 +02:00
ee4cb3915e
FIX: Composite primary key output ( #32972 )
...
Ensure last column definition before a composite primary key definition
has a comma.
2025-05-28 17:45:48 +00:00
67b89fcebd
UX: Decrease spacing between content sections in theme-card UI ( #32977 )
2025-05-28 11:54:12 -05:00
e147d2afe6
DEV: Added the ability to use users' names in group mention notifications and mentions shown in emails ( #32848 )
...
**Description**
This is part of a series of changes to allow customers to dsiplay users'
names instead of the users' username.
When a user belongs to a group that has been mentioned by another user.
It shows the name of the user that mentioned the group.
**Before**

**After**

When a email is sent to the user when mentioned in a post
**Before**

**After**

2025-05-28 10:07:06 -05:00
89d5cca2af
UX: fix padding ( #32973 )
2025-05-28 08:44:36 -05:00
79ab714bd9
UX: Improve color descriptions ( #32930 )
...
This updates and adds short, human-friendly descriptions for commonly
used color variables in the color palette UI. Mostly cleaned up the
wording to make things easier to scan, so admins can quickly tell what
each color is used for.
Internal: /t/154624
---------
Co-authored-by: Jarek Radosz <jradosz@gmail.com >
2025-05-28 07:35:42 -06:00
55d59c523a
DEV: Make curry-component available for themes/plugins ( #32967 )
2025-05-28 11:02:10 +01:00
3812db5d23
Build(deps): Bump the babel group with 2 updates ( #32947 )
...
Bumps the babel group with 2 updates:
[@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core )
and
[@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone ).
Updates `@babel/core` from 7.27.1 to 7.27.3
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
-
[Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-core )
Updates `@babel/standalone` from 7.27.2 to 7.27.3
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
-
[Commits](https://github.com/babel/babel/commits/v7.27.3/packages/babel-standalone )
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Discourse CI <ci@ci.invalid >
2025-05-28 11:57:41 +02:00
ff04406a27
Build(deps): Bump terser from 5.39.2 to 5.40.0 ( #32948 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.39.2 to 5.40.0.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v5.39.2...v5.40.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 11:46:07 +02:00
2faa467b29
DEV: Add tests for about page extra group ordering ( #32959 )
...
Adding tests for about page extra groups ordering.
2025-05-28 17:36:12 +08:00
f4d4f371e6
UX: fix border-radius on image upload inputs ( #32935 )
...
Noticed problems on themes that use border-radius (like Horizon), where
these get the button radius applied, which is too large since, despite
**functioning** like a button, they are essentially inputs and lean more
toward the input styling. Also removed `btn-default` as this element
couldn't be further from a default button if it tried.
| Before | After |
|--------|--------|
| 
| 
|
---------
Co-authored-by: Ella <ella.estigoy@gmail.com >
2025-05-28 08:58:21 +02:00
435088f62c
DEV: Add locale column to categories ( #32962 )
...
Previously we had omitted determining the locale of categories, as
unlike posts, categories are usually single words and are usually only
translated once.
Since there is no locale, a category called "Staff" would also have an
English translation. With LLMs that perform poorly, we see that
translating "Staff" to English may result in something entirely
different (like "Personnelle" or "Personal").
Thus adding locale support to categories can mitigate this issue due to
the uncertainty.
2025-05-28 13:49:26 +08:00
f99c17d52b
Bump version to v3.5.0.beta6-dev
2025-05-28 12:34:15 +08:00