Joffrey JAFFEUX
352777a074
DEV: adds a page object for automation page ( #29732 )
...
This page object also attempts to make the update automation more resilient as we are seeing flakey specs on this codepath. The solution for now is to ensure we have the sequence: click button/button is loading/ button has finished loading.
---------
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2024-11-13 11:49:38 +09:00
Jan Cernik
234133bd3b
UX: Split hide_profile_and_presence
user option ( #29632 )
...
It splits the hide_profile_and_presence user option and the default_hide_profile_and_presence site setting for more granular control. It keeps the option to hide the profile under /u/username/preferences/interface and adds the presence toggle in the quick user menu.
Co-authored-by: Régis Hanol <regis@hanol.fr>
2024-11-12 22:22:58 -03:00
Loïc Guitaut
d637bd6519
DEV: Don’t replace Rails logger in specs ( #29721 )
...
Instead of replacing the Rails logger in specs, we can instead use
`#broadcast_to` which has been introduced in Rails 7.
2024-11-13 08:47:39 +08:00
Jarek Radosz
907fbd6f1e
DEV: Fix ruby linting ( #29731 )
2024-11-13 08:47:10 +08:00
dependabot[bot]
7cdf559846
Build(deps): Bump ember-template-imports from 4.1.3 to 4.2.0 ( #29729 )
...
Bumps [ember-template-imports](https://github.com/ember-template-imports/ember-template-imports ) from 4.1.3 to 4.2.0.
- [Release notes](https://github.com/ember-template-imports/ember-template-imports/releases )
- [Changelog](https://github.com/ember-cli/ember-template-imports/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ember-template-imports/ember-template-imports/commits )
---
updated-dependencies:
- dependency-name: ember-template-imports
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-11-13 01:38:14 +01:00
dependabot[bot]
6147dba133
Build(deps-dev): Bump lint-to-the-future-ember-template ( #29727 )
...
Bumps [lint-to-the-future-ember-template](https://github.com/mansona/lint-to-the-future-ember-template ) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/mansona/lint-to-the-future-ember-template/releases )
- [Changelog](https://github.com/mansona/lint-to-the-future-ember-template/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mansona/lint-to-the-future-ember-template/commits )
---
updated-dependencies:
- dependency-name: lint-to-the-future-ember-template
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>
2024-11-13 01:30:08 +01:00
dependabot[bot]
9aedd9909a
Build(deps-dev): Bump ember-cli from 5.12.0 to 6.0.0 ( #29728 )
...
Bumps [ember-cli](https://github.com/ember-cli/ember-cli ) from 5.12.0 to 6.0.0.
- [Release notes](https://github.com/ember-cli/ember-cli/releases )
- [Changelog](https://github.com/ember-cli/ember-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ember-cli/ember-cli/compare/v5.12.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: ember-cli
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>
2024-11-13 01:18:28 +01:00
Michiel Hendriks
7194826df2
DEV: vBulletin 3 import script ( #29478 )
2024-11-13 01:07:18 +01:00
dependabot[bot]
8a215ee10a
Build(deps): Bump optimist from 3.1.0 to 3.2.0 ( #29723 )
...
Bumps [optimist](https://github.com/ManageIQ/optimist ) from 3.1.0 to 3.2.0.
- [Changelog](https://github.com/ManageIQ/optimist/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ManageIQ/optimist/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: optimist
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-11-13 01:02:29 +01:00
dependabot[bot]
812445722e
Build(deps-dev): Bump hashdiff from 1.1.1 to 1.1.2 ( #29724 )
...
Bumps [hashdiff](https://github.com/liufengyun/hashdiff ) from 1.1.1 to 1.1.2.
- [Changelog](https://github.com/liufengyun/hashdiff/blob/master/changelog.md )
- [Commits](https://github.com/liufengyun/hashdiff/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: hashdiff
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-11-13 01:02:08 +01:00
dependabot[bot]
57b077b569
Build(deps): Bump msgpack from 1.7.4 to 1.7.5 ( #29725 )
...
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby ) from 1.7.4 to 1.7.5.
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog )
- [Commits](https://github.com/msgpack/msgpack-ruby/compare/v1.7.4...v1.7.5 )
---
updated-dependencies:
- dependency-name: msgpack
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-11-13 01:02:01 +01:00
dependabot[bot]
265f9c3e55
Build(deps-dev): Bump rouge from 4.5.0 to 4.5.1 ( #29726 )
...
Bumps [rouge](https://github.com/rouge-ruby/rouge ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/rouge-ruby/rouge/releases )
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rouge-ruby/rouge/compare/v4.5.0...v4.5.1 )
---
updated-dependencies:
- dependency-name: rouge
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-11-13 01:01:53 +01:00
dependabot[bot]
55b90c0f6b
Build(deps-dev): Bump lint-to-the-future from 2.3.0 to 2.4.0 ( #29730 )
...
Bumps [lint-to-the-future](https://github.com/mansona/lint-to-the-future ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/mansona/lint-to-the-future/releases )
- [Changelog](https://github.com/mansona/lint-to-the-future/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mansona/lint-to-the-future/commits )
---
updated-dependencies:
- dependency-name: lint-to-the-future
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-11-13 01:01:38 +01:00
Mark VanLandingham
9b8af0ea9f
DEV: Create permanent version of moved_posts
table from PostMover class ( #29664 )
...
This is a very simple change, which creates a permanent table in the DB, rather than generating a temporary table when moving posts. This change is about capturing data and any usage will appear in a follow-up.
I did include a new column created_new_topic in the new table, so that it can be easily audited without having to compare destination topic created_at with moved_post records.
2024-11-12 14:35:20 -06:00
Krzysztof Kotlarek
a0242764f3
FIX: flaky system flags spec ( #29694 )
...
Wait for the flag button to arrive before clicking it.
2024-11-13 07:13:18 +11:00
Penar Musaraj
4c1af2f414
UX: Fix modal header background color in webview ( #29717 )
2024-11-12 12:47:14 -05:00
Roman Rizzi
d97d48ead1
FIX: Ensure normalized_email gets anonymized ( #29719 )
2024-11-12 14:36:17 -03:00
Discourse Translator Bot
d7503a6153
Update translations ( #29715 )
2024-11-12 14:54:38 +01:00
David Taylor
fb2a688b29
DEV: Bump eslint, lint-configs, and move to flat config ( #29661 )
2024-11-12 12:33:17 +00:00
Régis Hanol
6dfe2fbe16
PERF: auto join & leave chat channels ( #29193 )
...
Chat channels that are linked to a category can be set to automatically join users.
This is handled by subscribing to the following events
- group_destroyed
- user_seen
- user_confirmed_email
- user_added_to_group
- user_removed_from_group
- category_updated
- site_setting_changed (for `chat_allowed_groups`)
As well as a
- hourly background job (`AutoJoinUsers`)
- `CreateCategoryChannel` service
- `UpdateChannel` service
There was however two issues with the current implementation
1. We were triggering a lot of background jobs, mostly because it was decided to batch to auto join/leave into groups of 1000 users, adding a lot of stress to the system
2. We had one "class" (a service or a background job) per "event" and all of them had slightly different ways to select users to join/leave, making it hard to keep everything in sync
This PR "simply" adds two new servicesL `AutoJoinChannels` and `AutoLeaveChannels` that takes care, in an efficient way, of all the cases when users might automatically join a leave a chat channel.
Every other changes come from the fact that we're now always calling either one of those services, depending on the event that happened.
In the making of these classes, a few bugs were encountered and fixed, notably
- A user is only ever able to access chat channels if and only if they're part of a group listed in the `chat_allowed_group` site setting
- A category that has no associated "category groups" is only accessible to staff members (and not "Everyone")
- A silenced user should not be able to automatically join channels
- We should not attempt to automatically join users to deleted chat channels
- There is no need to automatically join users to chat channels that have already more than `max_chat_auto_joined_users` users
Internal - t/135259 & t/70607
* DEV: add specs for auto join/leave channels services
* DEV: less hacky specs
* DEV: no instance variables in specs
2024-11-12 15:00:59 +11:00
Krzysztof Kotlarek
34ed35e174
FIX: filterable staff logs for flags ( #29695 )
...
Flag actions must be added to `staff_actions` method to be filterable.
2024-11-12 11:23:18 +11:00
Martin Brennan
7f1e403a25
Revert "DEV: Enable the normalize_emails site setting by default ( #29587 )" ( #29712 )
...
This reverts commit 7d9d98422c
.
2024-11-12 10:23:02 +10:00
dependabot[bot]
0a0b490743
Build(deps-dev): Bump @swc/core from 1.9.1 to 1.9.2 ( #29710 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.9.1 to 1.9.2.
- [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.9.1...v1.9.2 )
---
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>
2024-11-12 00:30:13 +01:00
dependabot[bot]
3a80761808
Build(deps-dev): Bump rouge from 4.4.0 to 4.5.0 ( #29705 )
...
Bumps [rouge](https://github.com/rouge-ruby/rouge ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/rouge-ruby/rouge/releases )
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rouge-ruby/rouge/compare/v4.4.0...v4.5.0 )
---
updated-dependencies:
- dependency-name: rouge
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-11-12 00:29:31 +01:00
dependabot[bot]
f3d2011879
Build(deps): Bump securerandom from 0.3.1 to 0.3.2 ( #29706 )
...
Bumps [securerandom](https://github.com/ruby/securerandom ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/ruby/securerandom/releases )
- [Commits](https://github.com/ruby/securerandom/compare/v0.3.1...v0.3.2 )
---
updated-dependencies:
- dependency-name: securerandom
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-11-12 00:28:11 +01:00
dependabot[bot]
3633485833
Build(deps): Bump msgpack from 1.7.3 to 1.7.4 ( #29707 )
...
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby ) from 1.7.3 to 1.7.4.
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog )
- [Commits](https://github.com/msgpack/msgpack-ruby/compare/v1.7.3...v1.7.4 )
---
updated-dependencies:
- dependency-name: msgpack
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-11-12 00:26:15 +01:00
dependabot[bot]
4816e8e0ec
Build(deps-dev): Bump rubocop-ast from 1.34.1 to 1.35.0 ( #29708 )
...
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast ) from 1.34.1 to 1.35.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases )
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.34.1...v1.35.0 )
---
updated-dependencies:
- dependency-name: rubocop-ast
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-11-11 22:05:43 +00:00
dependabot[bot]
c4f42de06c
Build(deps-dev): Bump lint-to-the-future from 2.2.0 to 2.3.0 ( #29709 )
...
Bumps [lint-to-the-future](https://github.com/mansona/lint-to-the-future ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/mansona/lint-to-the-future/releases )
- [Changelog](https://github.com/mansona/lint-to-the-future/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mansona/lint-to-the-future/commits )
---
updated-dependencies:
- dependency-name: lint-to-the-future
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-11-11 22:05:26 +00:00
Sérgio Saquetim
3019bb577b
DEV: Modernize the post menu from widgets to Glimmer components ( #28670 )
...
This commit modernizes the post menu by migrating it from the existing widget-based implementation to Glimmer components. This transition aims to improve the maintainability, performance, and overall developer experience.
It also introduces a new DAG-based transformer API for customizations that aims to be more flexible than the widget base one.
---------
Co-authored-by: David Taylor <david@taylorhq.com>
2024-11-11 15:36:08 -03:00
dependabot[bot]
5c5ac72488
Build(deps-dev): Bump jsuites from 5.7.1 to 5.7.2 ( #29692 )
...
Bumps [jsuites](https://github.com/jsuites/jsuites ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/jsuites/jsuites/releases )
- [Changelog](https://github.com/jsuites/jsuites/blob/master/changelog.md )
- [Commits](https://github.com/jsuites/jsuites/commits )
---
updated-dependencies:
- dependency-name: jsuites
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>
2024-11-11 17:45:16 +00:00
dependabot[bot]
4abf6c1e86
Build(deps-dev): Bump rspec-rails from 7.0.1 to 7.1.0 ( #29688 )
...
* Build(deps-dev): Bump rspec-rails from 7.0.1 to 7.1.0
Bumps [rspec-rails](https://github.com/rspec/rspec-rails ) from 7.0.1 to 7.1.0.
- [Changelog](https://github.com/rspec/rspec-rails/blob/main/Changelog.md )
- [Commits](https://github.com/rspec/rspec-rails/compare/v7.0.1...v7.1.0 )
---
updated-dependencies:
- dependency-name: rspec-rails
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Apply suggestions from code review
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2024-11-11 18:04:08 +01:00
Bianca Nenciu
f1700ca589
FEATURE: Paginate categories when there are many ( #29569 )
...
This commit removes the new optimized category style introduced in
previous commits (d37a0d40
, 9a80d718
and 430c42ac
), in favour of the
existent `categories_only`.
2024-11-11 17:32:45 +02:00
Michael R. Crusoe
8854a7101b
UX: fix link to Highlight JS demo ( #29701 )
...
Fixes: https://meta.discourse.org/t/update-or-remove-highlight-js-demo-link/304538
2024-11-11 14:48:41 +01:00
Jarek Radosz
e68905510d
DEV: Use the new hasHtml
/includesHtml
from qunit-dom ( #29680 )
2024-11-11 13:06:12 +01:00
Alan Guo Xiang Tan
95fa997e4b
DEV: Upload tests workflow to use actions/upload-artifact@v4 ( #29699 )
...
v3 is going to be EOL on Nov 14.
2024-11-11 11:37:53 +00:00
dependabot[bot]
011a5918f9
Build(deps-dev): Bump bullet from 7.2.0 to 8.0.0 ( #29687 )
...
Bumps [bullet](https://github.com/flyerhzm/bullet ) from 7.2.0 to 8.0.0.
- [Changelog](https://github.com/flyerhzm/bullet/blob/main/CHANGELOG.md )
- [Commits](https://github.com/flyerhzm/bullet/compare/7.2.0...8.0.0 )
---
updated-dependencies:
- dependency-name: bullet
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>
2024-11-11 12:14:58 +01:00
dependabot[bot]
aba13a207f
Build(deps): Bump benchmark from 0.3.0 to 0.4.0 ( #29682 )
...
Bumps [benchmark](https://github.com/ruby/benchmark ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/ruby/benchmark/releases )
- [Commits](https://github.com/ruby/benchmark/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: benchmark
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-11-11 12:14:43 +01:00
dependabot[bot]
88085e8523
Build(deps): Bump reline from 0.5.10 to 0.5.11 ( #29686 )
...
Bumps [reline](https://github.com/ruby/reline ) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/ruby/reline/releases )
- [Commits](https://github.com/ruby/reline/compare/v0.5.10...v0.5.11 )
---
updated-dependencies:
- dependency-name: reline
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-11-11 12:11:48 +01:00
dependabot[bot]
61649bd850
Build(deps): Bump uri from 1.0.0 to 1.0.1 ( #29685 )
...
Bumps [uri](https://github.com/ruby/uri ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/ruby/uri/releases )
- [Commits](https://github.com/ruby/uri/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: uri
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-11-11 12:10:43 +01:00
dependabot[bot]
3179ebd7c3
Build(deps): Bump ostruct from 0.6.0 to 0.6.1 ( #29683 )
...
Bumps [ostruct](https://github.com/ruby/ostruct ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/ruby/ostruct/releases )
- [Commits](https://github.com/ruby/ostruct/compare/v0.6.0...v0.6.1 )
---
updated-dependencies:
- dependency-name: ostruct
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-11-11 12:10:14 +01:00
dependabot[bot]
c5e61aef48
Build(deps): Bump net-imap from 0.5.0 to 0.5.1 ( #29681 )
...
Bumps [net-imap](https://github.com/ruby/net-imap ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/ruby/net-imap/releases )
- [Commits](https://github.com/ruby/net-imap/compare/v0.5.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: net-imap
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-11-11 12:09:26 +01:00
Jarek Radosz
2272b1340b
DEV: Use qunit-dom instead of raw href
/title
comparisons ( #29678 )
2024-11-11 11:44:54 +01:00
Jarek Radosz
429b6a4e4e
DEV: Use qunit-dom instead of classList
/activeElement
( #29676 )
2024-11-11 11:44:42 +01:00
Joffrey JAFFEUX
c4de8565ec
FIX: flakey due to 0 width/height images ( #29700 )
...
https://github.com/mainmatter/qunit-dom/blob/master/API.md#isvisible will return true if offsetWidth or offsetHeight are zero which could happen in this case as the test could run before the image has loaded. By forcing a minimum height in the test we ensure it will be consistent.
2024-11-11 17:23:19 +09:00
Ted Johansson
189d98f3ca
DEV: Convert admin emojis UI to new layout ( #29615 )
...
This PR converts the custom emoji UI in the admin pages to follow the new admin UI guidelines.
2024-11-11 15:04:15 +08:00
Krzysztof Kotlarek
4ad83a98a1
FIX: migrations must be finished to reset flags cache ( #29693 )
...
Bug introduced here: https://github.com/discourse/discourse/pull/29609
It was checking if `flags` table existed before resetting the cache. However, `require_message` flag was added in further migration:
https://github.com/discourse/discourse/blob/main/db/migrate/20240714231226_duplicate_flags_custom_type_to_require_message.rb#L5
When the admin tried to update Discourse which already has `flags` table but no `require_message` column, it was causing the error.
Therefore, we should ensure that all migrations are finished before resetting flags cache.
Meta: https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030
2024-11-11 12:14:14 +11:00
dependabot[bot]
8c52345b55
Build(deps-dev): Bump qunit-dom from 3.2.1 to 3.3.0 ( #29690 )
2024-11-11 00:04:38 +01:00
Jarek Radosz
78ed0bb711
DEV: Use selectors instead of query()
where possible ( #29677 )
2024-11-10 13:53:12 +01:00
Jarek Radosz
16a9663557
DEV: Use qunit-dom's isDisabled
/isEnabled
( #29675 )
2024-11-10 02:24:58 +01:00
Jarek Radosz
d67a6002eb
DEV: Replace count
with qunit-dom ( #29674 )
2024-11-10 02:06:03 +01:00