David Battersby
0b3663a16a
DEV: fix flaky chat new message spec ( #30731 )
...
Ensures that visiting the route creates a new chat channel before
checking the new redirected url is using the last channel.
2025-01-13 17:01:08 +08:00
Martin Brennan
7c96d7587e
FIX: Allow admins to use reserved usernames ( #30262 )
...
It is possible for admins to rename users like `system`
to some other username, but if they try to change it back
they cannot, since `system` is a reserved username.
This commit allows admins to change any user's username
to a reserved username _as long as that username is not
already in use_.
2025-01-13 17:30:36 +10:00
Gerhard Schlager
cc50b3ea66
DEV: Update copyright year in README ( #30625 )
...
We forgot to update it last year 😊
2025-01-13 17:04:38 +11:00
Krzysztof Kotlarek
89ba034422
DEV: Improve distributed cache multisite specs ( #30662 )
...
Distributed cache when namespace is false is not multisite safe as
values are shared between sites. Distributed cache with namespace option
(default) is multisite safe.
Improved specs to cover both cases.
2025-01-13 17:03:56 +11:00
Natalie Tay
e8aa2b8d9a
DEV: Add a nofollow to /u so user profiles don't get added as a target for crawling ( #30693 )
...
In some sites, we are noticing that /u routes are getting indexed.
This commit adds a
["nofollow"](https://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links )
on user profiles so that Google will not index these user profile URLs.
2025-01-13 13:50:00 +08:00
Martin Brennan
0caeadd9b1
FEATURE: Add IP Lookup to review queue ( #30688 )
...
Moves the theme component
https://github.com/discourse/discourse-review-ip-lookup into core, this
allows looking
up a user's IP directly from the review queue and seeing if
there are other users with the same IP on the forum
2025-01-13 13:03:13 +10:00
Ted Johansson
3e00e994a6
FIX: Add back API keys plugin outlet lost in translation ( #30730 )
...
When converting the admin API keys page to the new admin UI guidelines we lost a plugin outlet. This adds that back.
2025-01-13 10:32:57 +08:00
David Taylor
0fc2d86259
DEV: Remove pull_request_template ( #30709 )
...
We'd like to enable the "default commit message: pull request title and body" option for squash merges. That means we need PR bodies to be clean, and do not want HTML comments like this template to end up becoming part of the commit message body.
2025-01-13 09:27:06 +10:00
Jarek Radosz
7a4da92657
DEV: Move topic-list-item-class transformer to a getter ( #30726 )
...
See 03bb43f
2025-01-11 12:13:47 +01:00
dependabot[bot]
af8f01a0d3
Build(deps-dev): Bump @discourse/lint-configs from 2.2.1 to 2.2.3 ( #30725 )
...
Bumps [@discourse/lint-configs](https://github.com/discourse/lint-configs ) from 2.2.1 to 2.2.3.
- [Commits](https://github.com/discourse/lint-configs/commits )
---
updated-dependencies:
- dependency-name: "@discourse/lint-configs"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-11 12:00:29 +01:00
Joffrey JAFFEUX
88888642f7
FIX: correctly position emoji picker when clicking more ( #30724 )
2025-01-11 00:40:47 +01:00
dependabot[bot]
066ece95eb
Build(deps-dev): Bump eslint from 9.17.0 to 9.18.0 ( #30723 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.17.0 to 9.18.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.17.0...v9.18.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 23:36:16 +01:00
Kris
7c61bc5a09
UX: improve discobot certificate font language support ( #30722 )
2025-01-10 17:13:24 -05:00
David Taylor
ac60ba5954
DEV: Update dependabot commit-message splitting ( #30721 )
...
Followup to c6da8e3356
2025-01-10 20:58:50 +00:00
Jarek Radosz
b2167a79b4
DEV: Remove now unused bootstrap
dependency ( #30715 )
2025-01-10 21:28:31 +01:00
dependabot[bot]
7f38cf588b
Build(deps): Bump cppjieba_rb from 0.4.2 to 0.4.4 ( #30713 )
...
Bumps [cppjieba_rb](https://github.com/fantasticfears/cppjieba_rb ) from 0.4.2 to 0.4.4.
- [Release notes](https://github.com/fantasticfears/cppjieba_rb/releases )
- [Changelog](https://github.com/erickguan/cppjieba_rb/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fantasticfears/cppjieba_rb/compare/v0.4.2...v0.4.4 )
---
updated-dependencies:
- dependency-name: cppjieba_rb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 21:22:44 +01:00
dependabot[bot]
e679310b66
Build(deps): Bump pg from 1.5.4 to 1.5.9 ( #30714 )
...
Bumps [pg](https://github.com/ged/ruby-pg ) from 1.5.4 to 1.5.9.
- [Changelog](https://github.com/ged/ruby-pg/blob/master/History.md )
- [Commits](https://github.com/ged/ruby-pg/compare/v1.5.4...v1.5.9 )
---
updated-dependencies:
- dependency-name: pg
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 21:14:48 +01:00
dependabot[bot]
f1383b9858
Build(deps-dev): Bump eslint from 9.14.0 to 9.17.0 ( #30711 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 9.14.0 to 9.17.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v9.14.0...v9.17.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 21:13:18 +01:00
dependabot[bot]
14b46b1b54
Build(deps): Bump logger from 1.6.4 to 1.6.5 ( #30706 )
...
Bumps [logger](https://github.com/ruby/logger ) from 1.6.4 to 1.6.5.
- [Release notes](https://github.com/ruby/logger/releases )
- [Commits](https://github.com/ruby/logger/compare/v1.6.4...v1.6.5 )
---
updated-dependencies:
- dependency-name: logger
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 20:39:41 +01:00
dependabot[bot]
5a92579626
Build(deps-dev): Bump rubocop from 1.69.2 to 1.70.0 ( #30707 )
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.69.2 to 1.70.0.
- [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.69.2...v1.70.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 20:13:13 +01:00
David Taylor
c6da8e3356
DEV: Add workflow to replace dependabot PR bodies with plaintext ( #30708 )
...
We'd like to enable the "default commit message: pull request title and body" option for squash merges. That doesn't currently work well for dependabot PRs, because the PR body includes rich HTML.
Therefore, this commit introduces a new workflow which replaces any dependabot PR bodies with plaintext content from the commit message. The original rich content will be added in a comment.
2025-01-10 19:12:55 +00:00
dependabot[bot]
1cbb8b5703
Build(deps-dev): Bump @swc/core from 1.10.6 to 1.10.7 ( #30705 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.10.6 to 1.10.7.
- [Release notes](https://github.com/swc-project/swc/releases )
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md )
- [Commits](https://github.com/swc-project/swc/compare/v1.10.6...v1.10.7 )
---
updated-dependencies:
- dependency-name: "@swc/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 20:12:45 +01:00
dependabot[bot]
14146e7a95
Build(deps-dev): Bump @glint/environment-ember-template-imports ( #30703 )
...
Bumps [@glint/environment-ember-template-imports](https://github.com/typed-ember/glint ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/typed-ember/glint/releases )
- [Changelog](https://github.com/typed-ember/glint/blob/main/.release-it.yml )
- [Commits](https://github.com/typed-ember/glint/compare/1.5.0...1.5.1 )
---
updated-dependencies:
- dependency-name: "@glint/environment-ember-template-imports"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 20:12:33 +01:00
dependabot[bot]
ee6ef4e96e
Build(deps-dev): Bump puppeteer-core from 23.11.1 to 24.0.0 ( #30704 )
...
Bumps [puppeteer-core](https://github.com/puppeteer/puppeteer ) from 23.11.1 to 24.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v23.11.1...puppeteer-core-v24.0.0 )
---
updated-dependencies:
- dependency-name: puppeteer-core
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 20:12:22 +01:00
dependabot[bot]
70e9552145
Build(deps): Bump exifr from 1.4.0 to 1.4.1 ( #30701 )
...
Bumps [exifr](https://codeberg.org/rwv/exifr ) from 1.4.0 to 1.4.1.
---
updated-dependencies:
- dependency-name: exifr
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 20:10:00 +01:00
dependabot[bot]
b35d6a6a15
Build(deps-dev): Bump lefthook from 1.10.1 to 1.10.3 ( #30702 )
...
Bumps [lefthook](https://github.com/evilmartians/lefthook ) from 1.10.1 to 1.10.3.
- [Release notes](https://github.com/evilmartians/lefthook/releases )
- [Changelog](https://github.com/evilmartians/lefthook/blob/master/CHANGELOG.md )
- [Commits](https://github.com/evilmartians/lefthook/compare/v1.10.1...v1.10.3 )
---
updated-dependencies:
- dependency-name: lefthook
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 19:29:43 +01:00
dependabot[bot]
d223d866ba
Build(deps): Bump @babel/standalone in the babel group ( #30700 )
...
Bumps the babel group with 1 update: [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone ).
Updates `@babel/standalone` from 7.26.4 to 7.26.5
- [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.26.5/packages/babel-standalone )
---
updated-dependencies:
- dependency-name: "@babel/standalone"
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: babel
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 19:29:22 +01:00
David Taylor
b4cb8cb204
DEV: Move 'symlinking fonts' message to STDERR ( #30699 )
...
Having it in stdout means it pollutes the output of some scripts & rake tasks, which then gets piped to other tooling
2025-01-10 18:02:16 +00:00
Joffrey JAFFEUX
6a50b3d4b4
FIX: removes blank spacing in message actions ( #30697 )
...
This is a regression of https://github.com/discourse/discourse/pull/28277
2025-01-10 17:34:22 +01:00
Osama Sayegh
85f7778563
DEV: Add reviewables:mass-handle rake task ( #30658 )
...
This commit introduces a new rake task that can be used in situations where a community receives a large number of flags/reports and needs a quick way to handle all of those pending reports. Usage instructions are included in the rake task source code.
Internal topic: t/145475.
2025-01-10 19:22:43 +03:00
Joffrey JAFFEUX
b96a9b9896
FIX: simplify body scroll lock on iOS ( #30696 )
...
This will have the following advantages:
- removes a very annoying bug which was making text selection super hard on iOS
- removes the flashing of header when transitioning from disable to enable body scroll lock
2025-01-10 17:13:48 +01:00
Penar Musaraj
07e5f8907e
DEV: Consolidate mobile positioning strategies on mobile and iPad ( #30241 )
...
This removes some longstanding Safari iOS positioning hacks and refactors the mobile positioning strategy across Safari, Chrome and Firefox. See PR descriptions for more details.
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2025-01-10 11:00:15 -05:00
David Taylor
ce97e51b63
UX: Improve git blob oneboxes ( #30694 )
...
Rearranges the info at the top of github/gitlab 'blob' oneboxes to make them easier to read
2025-01-10 11:49:36 +00:00
Martin Brennan
690ffcf1d5
UX: Add DPageHeader to watched words and color palettes ( #30686 )
...
Part of our admin UI consistency efforts, this is a stop-gap
until we can do a further UI review of these pages.
2025-01-10 15:32:10 +10:00
Ted Johansson
d566cbbf45
DEV: Add missing root breadcrumb to API keys page ( #30690 )
...
Addressing a couple minor inconsistencies on the admin API keys page.
1. Add missing "Admin" root breadcrumb.
2. De-titleize "API Keys" -> "API keys".
2025-01-10 13:19:34 +08:00
Ted Johansson
4a78999b6f
DEV: Add new admin UI header to site texts page ( #30689 )
...
This adds the new admin UI header to the site texts page.
2025-01-10 13:19:14 +08:00
Kelv
8719235cfd
DEV: update deprecated icon name archive to box-archive in chat plugin ( #30687 )
2025-01-10 12:59:56 +08:00
Ted Johansson
b1bae9b785
FIX: Add back missing API key 'peek' step ( #30683 )
...
In #30096 we converted the API keys UI to follow the new admin UI guidelines.
During this conversion, the step where you get a chance to copy the API key after creating, was lost due to a rebase mistake.
This re-introduces it.
2025-01-10 10:21:22 +08:00
Martin Brennan
f4b417462b
UX: Final pass of admin setting pages ( #30682 )
...
This commit finalises the admin setting page consistency
efforts by:
* Converting all route templates into .gjs
* Adding `@hideTabs={{true}}` for all the page headers so we
don't show a border line when it's not needed
* Introduce `@showBreadcrumb` and default to true for
AdminAreaSettings, for all these pages the Settings part of
the breadcrumb is redundant
2025-01-10 11:03:07 +10:00
Kris
c99a8dcfe7
Revert "UX: use font with more glyphs for discobot certificates" ( #30681 )
...
This reverts commit 55914bf9a3
.
2025-01-09 18:56:47 -05:00
dependabot[bot]
05e1ca1de6
Build(deps-dev): Bump @glint/environment-ember-loose from 1.5.0 to 1.5.1 ( #30680 )
...
Bumps [@glint/environment-ember-loose](https://github.com/typed-ember/glint ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/typed-ember/glint/releases )
- [Changelog](https://github.com/typed-ember/glint/blob/main/.release-it.yml )
- [Commits](https://github.com/typed-ember/glint/compare/1.5.0...1.5.1 )
---
updated-dependencies:
- dependency-name: "@glint/environment-ember-loose"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 23:36:40 +01:00
dependabot[bot]
06c90614f7
Build(deps): Bump ace-builds from 1.37.3 to 1.37.4 ( #30679 )
...
Bumps [ace-builds](https://github.com/ajaxorg/ace-builds ) from 1.37.3 to 1.37.4.
- [Release notes](https://github.com/ajaxorg/ace-builds/releases )
- [Changelog](https://github.com/ajaxorg/ace-builds/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ajaxorg/ace-builds/compare/v1.37.3...v1.37.4 )
---
updated-dependencies:
- dependency-name: ace-builds
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 23:14:23 +01:00
dependabot[bot]
28c5761d87
Build(deps): Bump google-protobuf from 4.29.2 to 4.29.3 ( #30678 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf ) from 4.29.2 to 4.29.3.
- [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/commits )
---
updated-dependencies:
- dependency-name: google-protobuf
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 22:41:17 +01:00
dependabot[bot]
5c4be8fc1c
Build(deps-dev): Bump parallel_tests from 4.8.0 to 4.9.0 ( #30677 )
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 4.8.0 to 4.9.0.
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md )
- [Commits](https://github.com/grosser/parallel_tests/compare/v4.8.0...v4.9.0 )
---
updated-dependencies:
- dependency-name: parallel_tests
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 22:40:41 +01:00
Joffrey JAFFEUX
d91c48cece
FIX: correct emoji picker size in modal ( #30675 )
...
Following a change in b1e40d04b9
the width of the picker has been reduced in modals when it should have been reduced only when NOT in a modal.
2025-01-09 21:53:49 +01:00
Kris
d9c992bfdd
UX: follow-up sidebar variable fixes for c398933
( #30676 )
2025-01-09 15:53:29 -05:00
Angus McLeod
427ea5301b
Apply the same url normalisation to embed_urls inserted in the PostCreator ( #30641 )
2025-01-09 14:59:08 -05:00
Régis Hanol
773857848b
FIX: lockup when navigating with j/k ( #30674 )
...
If, for some reasons, navigating between posts using j/k keyboard
shortcuts does not select any posts, there could be an infinite loop
due to setting the `direction` to `0` and then using it do "iterate"
over the arrays of available "articles".
Despite many attemps, I wasn't able to reproduce the issue reported in
https://dev.discourse.org/t/145565 so this is somewhat of a shot in the
dark.
2025-01-09 20:38:44 +01:00
Kris
c39893364b
DEV: fix and improve sidebar CSS variables ( #30673 )
2025-01-09 14:18:05 -05:00
dependabot[bot]
fa8e2b4af8
Build(deps-dev): Bump typescript from 5.7.2 to 5.7.3 ( #30652 )
...
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.7.2 to 5.7.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.2...v5.7.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 18:31:10 +01:00