dependabot[bot]
c8c54bdc52
Build(deps): Bump minitest from 5.25.3 to 5.25.4 ( #30115 )
...
Bumps [minitest](https://github.com/minitest/minitest ) from 5.25.3 to 5.25.4.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc )
- [Commits](https://github.com/minitest/minitest/compare/v5.25.3...v5.25.4 )
---
updated-dependencies:
- dependency-name: minitest
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>
2024-12-05 06:18:19 +08:00
dependabot[bot]
a13eb7ce3c
Build(deps-dev): Bump sqlite3 from 2.3.1 to 2.4.0 ( #30118 )
...
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/sparklemotion/sqlite3-ruby/releases )
- [Changelog](https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/sqlite3-ruby/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: sqlite3
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>
2024-12-05 06:17:53 +08:00
Kris
19f530a827
UX: refactor title editing CSS to improve layout ( #30109 )
2024-12-04 16:30:48 -05:00
Régis Hanol
f75c43713b
FEATURE: bump DM limits from 20 to 50 ( #30102 )
...
So people who are having a **lot** of 1-1/group conversations in #chat can have even more 😅
Internal ref - t/143226/8
2024-12-04 16:34:28 +01:00
Kris
5c2e05cf5d
UX: fix topic map padding in low-content situations ( #30101 )
2024-12-04 09:39:14 -05:00
Joffrey JAFFEUX
3ddb1cfbad
FIX: ensures tabbing from trigger focus content ( #30064 )
...
`DMenu` is using in-element, which means the content is detached from the trigger, and pressing tab from the trigger is not going to jump into the content. This commit catches the tab event and attempts to focus the first focusable element of the content.
2024-12-04 12:46:02 +01:00
Régis Hanol
d2d8fbcf3b
FIX: properly quote videos ( #30099 )
...
Follow up to f294f984cf
All that was needed was a little fix to our markdown engine to use the
"image src" as the "video src" when the "data video src" was not
defined.
That way we can use the regular image markdown with the "|video" option
(?).
2024-12-04 12:39:38 +01:00
Régis Hanol
1ce12ae718
DEV: Deleted the "ChatComposerPresenceManager"... ( #30098 )
...
...since it was mostly duplicating the work the "ComposerPresenceManager" was doing.
So now the #chat composer uses the same "presence manager" as the composer, benefiting from the "hide presence" checks, with the only difference that the "keep alive" timeout is 5s for chat and 10s for topics/posts.
2024-12-04 12:21:55 +01:00
Discourse Translator Bot
838d7478c1
Update translations ( #30062 )
2024-12-04 11:59:28 +01:00
Régis Hanol
f294f984cf
FIX: unable to quote video ( #30077 )
...
This replaces the video container / thumbnail with a proper "<video>" element when quoting a video.
It's not the best UX, especially when "morphing" is disabled.
Needs more work.
Internal ref - t/143321
2024-12-04 11:56:28 +01:00
Régis Hanol
3e7f0867ea
FIX: whisper's presence channels ( #30097 )
...
In 0993273
we introduced the `whisper_allowed_group_ids` to allow whispers to more users than "staff".
The presence plugin hadn't been updated to account for this change.
2024-12-04 11:47:05 +01:00
Martin Brennan
ad7a64b983
DEV: Remove backtrace warning ( #30093 )
...
Followup aca6c462a6
Remove the warning message if DISCOURSE_INCLUDE_GEMS_IN_RSPEC_BACKTRACE
is not set for now while we decide whether we want to include
this or not, it's a little in-your-face.
2024-12-04 14:14:36 +10:00
Krzysztof Kotlarek
28b4ff6cb6
FIX: update flag reason message with default value ( #30026 )
...
Currently only system flags are translated. When we send message to the user that their post was deleted because of custom flag, we should default to custom flag name.
2024-12-04 14:46:52 +11:00
Martin Brennan
9c5eb7952e
UX: Improve error when trying to edit globally shadowed setting ( #30092 )
...
Previously when attempting to edit a globally shadowed setting, the
error message was not very helpful, it said "You are not allowed to
change hidden settings". This commit changes the error message to
reflect the actual problem, which is that the setting is shadowed by
a global setting via ENV var.
2024-12-04 13:41:32 +10:00
Selase Krakani
8e2505c0e0
FEATURE: Add `--sql-only` option to discourse backup ( #30009 )
...
This change allows backup CLI user to explicitly exclude uploads from
the generated backup
2024-12-04 03:16:25 +00:00
Kris
60826162b5
A11Y: remove redundant alt text from github oneboxes ( #30083 )
2024-12-04 12:25:03 +11:00
dependabot[bot]
545cafe657
Build(deps): Bump @faker-js/faker from 9.2.0 to 9.3.0 ( #30078 )
2024-12-04 01:30:39 +01:00
dependabot[bot]
313eddec7f
Build(deps-dev): Bump qunit from 2.22.0 to 2.23.0 ( #30079 )
2024-12-04 01:30:03 +01:00
Juan David Martínez Cubillos
7b70905326
FIX: Sanitization issue when replacing default emoji with custom emoji that contains or ~/Discourse/discourse symbols ( #30053 )
2024-12-03 19:27:12 -05:00
Martin Brennan
45c9d1d81f
FIX: Remove some mandatory_values for reserved_usernames ( #30089 )
...
Followup 56df077931
This removes info, support, and community as mandatory
values for the reserved_usernames site setting. These
could arguably be useful for admins generally. The rest
can stay as-is as they are much more likely to be
confusing to members.
c.f. https://meta.discourse.org/t/default-reserved-usernames-can-not-be-deleted/336020
2024-12-04 10:19:15 +10:00
dependabot[bot]
216e73eb3b
Build(deps-dev): Bump rubocop from 1.69.0 to 1.69.1 ( #30072 )
2024-12-04 00:55:32 +01:00
Martin Brennan
aca6c462a6
DEV: Improve rspec gem backtrace exclusion ENV vars ( #30056 )
...
Followup:
* https://github.com/discourse/discourse/pull/28160
* https://github.com/discourse/discourse/pull/25921
In the previous PRs we added 2 environent variables
to control backtrace output for errors in rspec,
`RSPEC_EXCLUDE_NOISE_IN_BACKTRACE`, and
`RSPEC_EXCLUDE_GEMS_IN_BACKTRACE`
These largely do the same thing, and we want to enable
that behaviour by default.
This commit consolidates them into one env var,
`DISCOURSE_INCLUDE_GEMS_IN_RSPEC_BACKTRACE`, which is
disabled by default, meaning gem backtraces will not
be shown in rspec backtraces by default.
Also for the request spec use case with `RspecErrorTracker`,
we now show an indicator of how many lines were hidden from
the backtrace e.g. "...(21 framework line(s) excluded)",
and for this and the normal rspec backtrace exclusion we
show a warning if `DISCOURSE_INCLUDE_GEMS_IN_RSPEC_BACKTRACE`
is not enabled.
2024-12-04 09:54:11 +10:00
dependabot[bot]
9541c9bf18
Build(deps-dev): Bump puppeteer-core from 23.9.0 to 23.10.0 ( #30080 )
2024-12-04 00:53:22 +01:00
dependabot[bot]
92aff52266
Build(deps): Bump json from 2.8.2 to 2.9.0 ( #30071 )
2024-12-04 00:51:19 +01:00
dependabot[bot]
4a7ed8b9f8
Build(deps-dev): Bump rspec-support from 3.13.1 to 3.13.2 ( #30075 )
2024-12-04 00:49:59 +01:00
dependabot[bot]
9b87e688ef
Build(deps): Bump minitest from 5.25.2 to 5.25.3 ( #30074 )
2024-12-04 00:48:08 +01:00
dependabot[bot]
cb82d798ef
Build(deps-dev): Bump webpack from 5.96.1 to 5.97.0 ( #30082 )
2024-12-04 00:45:25 +01:00
Mark VanLandingham
a5636afb08
DEV: Add posts_moved DiscourseEvent in PostMover ( #30066 )
2024-12-03 13:16:20 -06:00
Kris
c67d3131aa
UX: adjust mobile chat text title alignment ( #30065 )
2024-12-03 14:11:33 -05:00
Jarek Radosz
94697467af
DEV: Add `topic-list-item-class` transformer ( #30008 )
2024-12-03 14:22:13 +01:00
Jarek Radosz
48323230a4
FIX: Stick to then/finally in history-store ( #30061 )
...
async/await doesn't play well with transitions (to be investigated… later)
2024-12-03 14:13:26 +01:00
David Taylor
c3e87b5036
UX: Only add `user-badge-buttons` wrapper when badges exist ( #30060 )
...
Followup to 2513339955
2024-12-03 13:12:44 +00:00
Jarek Radosz
9389bf295c
DEV: Make history-store work in non-accceptance tests ( #30059 )
2024-12-03 13:32:37 +01:00
Kelv
685dc4b9b9
FIX: font awesome remapping migration should not drop unmapped names from svg_icon_subset ( #30058 )
...
* FIX: font awesome remapping migration should not drop unmapped names
2024-12-03 18:30:08 +08:00
Mark Doerr
f6df8832e2
UX: Update `allow_index_in_robots_txt` site setting description ( #29901 )
...
Update indexing site setting description to more adequately warn about the dangers of making changes
2024-12-03 11:17:13 +01:00
dependabot[bot]
783a162e9e
Build(deps): Bump webrick from 1.9.0 to 1.9.1
...
Bumps [webrick](https://github.com/ruby/webrick ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/ruby/webrick/releases )
- [Commits](https://github.com/ruby/webrick/compare/v1.9.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: webrick
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 10:44:05 +01:00
Régis Hanol
806e37aaec
FIX: better edit conflict handling ( #29789 )
...
* FIX: better edit conflict handling
Properly keep track of the original title and tags when dealing with edit conflicts.
Internal ref - t/141218
2024-12-03 10:12:04 +01:00
Joffrey JAFFEUX
89a6cac968
FIX: attempt to simplify chat navbar spacing ( #30054 )
...
The main bug this commit is fixing is lack of spacing on the title "channels" when visiting the chat homepage on mobile.
2024-12-03 09:33:10 +01:00
Ella E.
ef9d7579df
UX: Add admin filter row styling ( #30057 )
...
* DEV: add scss file for admin filter
* UX: apply styling for the filter row
2024-12-03 18:22:13 +11:00
Gary Pendergast
2513339955
FEATURE: Show when a badge has been granted for a post ( #29696 )
...
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2024-12-03 13:43:27 +11:00
Kelv
435fbb7408
DEV: unsilence deprecation warning for old Font Awesome icons ( #30028 )
...
* DEV: unsilence deprecation warnings for old Font Awesome icon names
* update fa-user to user font awesome icon name
* update pencil-alt to pencil font awesome 6 icon name
2024-12-03 10:28:39 +08:00
dependabot[bot]
996f56d005
Build(deps-dev): Bump json-schema from 5.1.0 to 5.1.1 ( #30052 )
...
Bumps [json-schema](https://github.com/voxpupuli/json-schema ) from 5.1.0 to 5.1.1.
- [Changelog](https://github.com/voxpupuli/json-schema/blob/master/CHANGELOG.md )
- [Commits](https://github.com/voxpupuli/json-schema/compare/v5.1.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: json-schema
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>
2024-12-03 00:13:44 +01:00
dependabot[bot]
043af41c5b
Build(deps): Bump net-http from 0.5.0 to 0.6.0 ( #30051 )
...
Bumps [net-http](https://github.com/ruby/net-http ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/ruby/net-http/releases )
- [Commits](https://github.com/ruby/net-http/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: net-http
dependency-type: direct:production
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>
2024-12-03 00:01:56 +01:00
dependabot[bot]
83719f2229
Build(deps): Bump securerandom from 0.3.2 to 0.4.0 ( #30049 )
...
Bumps [securerandom](https://github.com/ruby/securerandom ) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/ruby/securerandom/releases )
- [Commits](https://github.com/ruby/securerandom/compare/v0.3.2...v0.4.0 )
---
updated-dependencies:
- dependency-name: securerandom
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>
2024-12-03 00:01:34 +01:00
dependabot[bot]
f2e4deb7da
Build(deps): Bump logger from 1.6.1 to 1.6.2 ( #30048 )
...
Bumps [logger](https://github.com/ruby/logger ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/ruby/logger/releases )
- [Commits](https://github.com/ruby/logger/compare/v1.6.1...v1.6.2 )
---
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>
2024-12-03 00:01:26 +01:00
dependabot[bot]
26fa739152
Build(deps): Bump rails-html-sanitizer from 1.6.0 to 1.6.1 ( #30043 )
...
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases )
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rails/rails-html-sanitizer/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: rails-html-sanitizer
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 00:01:15 +01:00
dependabot[bot]
c882f8eab8
Build(deps): Bump psych from 5.2.0 to 5.2.1 ( #30046 )
...
Bumps [psych](https://github.com/ruby/psych ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/ruby/psych/releases )
- [Commits](https://github.com/ruby/psych/compare/v5.2.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: psych
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>
2024-12-02 23:39:12 +01:00
dependabot[bot]
1f3291eb41
Build(deps): Bump date from 3.4.0 to 3.4.1 ( #30044 )
...
Bumps [date](https://github.com/ruby/date ) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/ruby/date/releases )
- [Commits](https://github.com/ruby/date/compare/v3.4.0...v3.4.1 )
---
updated-dependencies:
- dependency-name: date
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>
2024-12-02 23:39:02 +01:00
dependabot[bot]
8c113e9b5f
Build(deps): Bump nokogiri from 1.16.7 to 1.16.8 ( #30045 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.16.7 to 1.16.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.7...v1.16.8 )
---
updated-dependencies:
- dependency-name: nokogiri
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>
2024-12-02 23:38:50 +01:00
Alan Guo Xiang Tan
c70816611f
DEV: Allow webp images to be served directly by nginx ( #30050 )
...
This fixes a typo that was introduced in baa5389a23
2024-12-03 06:26:13 +08:00