Ted Johansson
e0a0a13a91
FIX: Fix broken client-side review actions ( #29025 )
...
After #28603 , the options "agree and suspend" and "agree and silence" in the review queue weren't working. This was happening because the optionalService, when used as a decorator, needs a name argument to work properly. We were also lacking tests for this.
2024-09-30 13:27:25 +08:00
Martin Brennan
73f42e110a
FIX: Unscoped plugin config page actions outlet ( #29026 )
...
In 61c1d35f17
I added a
PluginOutlet to AdminPluginConfigPage. This was intended to be
used as a way to render actions buttons inside the header of
a plugin that has a custom admin UI page. This worked, but
since the outlet was generically named, as soon as one plugin
used it the button would show on all plugins.
This fixes the immediate issue by naming the outlet based
on the plugin, then having each plugin specify their own
outlet to render into. There may be a nicer way to do this,
but for now this stops the bleeding.
2024-09-30 14:35:23 +10:00
Sam
f6df0f8789
Revert "DEV: upgrade mini_racer ( #29023 )" ( #29027 )
...
This reverts commit 042bfeac66
.
as expected still segfaulting
2024-09-30 14:34:04 +10:00
Alan Guo Xiang Tan
c8bec538c3
DEV: Only enable our self hosted runners on the discourse/discourse repo ( #29024 )
...
Our self hosted runners does not work for forked repositories.
2024-09-30 11:18:20 +08:00
dependabot[bot]
20a3f976a2
Build(deps): Bump ember-resolver from 13.0.1 to 13.0.2 ( #29004 )
...
Bumps [ember-resolver](https://github.com/ember-cli/ember-resolver ) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/ember-cli/ember-resolver/releases )
- [Changelog](https://github.com/ember-cli/ember-resolver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ember-cli/ember-resolver/compare/v13.0.1...v13.0.2 )
---
updated-dependencies:
- dependency-name: ember-resolver
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-09-30 04:20:42 +02:00
Alan Guo Xiang Tan
37abd93564
DEV: Remove unused file ( #28980 )
...
This was added 11 years ago and I don't see us using this anywhere.
2024-09-30 10:18:51 +08:00
dependabot[bot]
2dae20c054
Build(deps-dev): Bump sqlite3 from 2.0.4 to 2.1.0 ( #29001 )
...
Bumps [sqlite3](https://github.com/sparklemotion/sqlite3-ruby ) from 2.0.4 to 2.1.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.0.4...v2.1.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-09-30 02:08:32 +02:00
dependabot[bot]
32f330515c
Build(deps): Bump irb from 1.14.0 to 1.14.1 ( #29012 )
...
Bumps [irb](https://github.com/ruby/irb ) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/ruby/irb/releases )
- [Commits](https://github.com/ruby/irb/compare/v1.14.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: irb
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-09-30 02:06:11 +02:00
dependabot[bot]
19c83ddf3a
Build(deps): Bump rexml from 3.3.7 to 3.3.8 ( #29019 )
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.3.7...v3.3.8 )
---
updated-dependencies:
- dependency-name: rexml
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-09-30 02:05:16 +02:00
dependabot[bot]
40ce25c2a0
Build(deps-dev): Bump lefthook from 1.7.15 to 1.7.17 ( #29015 )
...
Bumps [lefthook](https://github.com/evilmartians/lefthook ) from 1.7.15 to 1.7.17.
- [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.7.15...v1.7.17 )
---
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>
2024-09-30 02:04:56 +02:00
dependabot[bot]
2d849e2809
Build(deps-dev): Bump jsuites from 5.6.2 to 5.6.4 ( #29017 )
...
Bumps [jsuites](https://github.com/jsuites/jsuites ) from 5.6.2 to 5.6.4.
- [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-09-30 02:04:00 +02:00
dependabot[bot]
df8f8cfa0a
Build(deps-dev): Bump @embroider/core in the embroider group ( #28981 )
...
Bumps the embroider group with 1 update: [@embroider/core](https://github.com/embroider-build/embroider/tree/HEAD/packages/core ).
Updates `@embroider/core` from 3.4.15 to 3.4.16
- [Release notes](https://github.com/embroider-build/embroider/releases )
- [Changelog](https://github.com/embroider-build/embroider/blob/main/CHANGELOG.md )
- [Commits](https://github.com/embroider-build/embroider/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@embroider/core"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: embroider
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 02:02:51 +02:00
dependabot[bot]
47f44b40f4
Build(deps-dev): Bump @types/jquery in the types group ( #29006 )
...
Bumps the types group with 1 update: [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery ).
Updates `@types/jquery` from 3.5.30 to 3.5.31
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery )
---
updated-dependencies:
- dependency-name: "@types/jquery"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: types
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 01:59:32 +02:00
Krzysztof Kotlarek
c5a024f8df
FIX: custom flag name should be unique ( #28869 )
...
Validation to ensure that the custom flag name is unique.
2024-09-30 09:17:19 +10:00
Sam
042bfeac66
DEV: upgrade mini_racer ( #29023 )
...
This is attempt 5 at upgrading mini racer, fixes some edge conditions in
mini_racer that can lead to segfaults.
2024-09-30 09:12:14 +10:00
Linca
a1e5796ba1
FEAT: Allow admin delete user's associated accounts ( #29018 )
...
This commit introduces a feature that allows an admin to delete a user's
associated account. After deletion, a log will be recorded in staff
actions.
ref=t/136675
2024-09-27 20:08:05 +08:00
Bianca Nenciu
e2f3474bc3
FIX: permanent delete of posts by deleted users ( #28992 )
...
Permanently deleting posts that no longer have a user associated was not
working as expected because of UserAction.log which expected user_id to
be present.
2024-09-24 12:26:31 +03:00
dependabot[bot]
ed4791d0b0
Build(deps): Bump sprockets from 3.7.4 to 3.7.5 ( #28977 )
...
Bumps [sprockets](https://github.com/rails/sprockets ) from 3.7.4 to 3.7.5.
- [Release notes](https://github.com/rails/sprockets/releases )
- [Changelog](https://github.com/rails/sprockets/blob/v3.7.5/CHANGELOG.md )
- [Commits](https://github.com/rails/sprockets/compare/v3.7.4...v3.7.5 )
---
updated-dependencies:
- dependency-name: sprockets
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-09-20 14:35:56 +02:00
Loïc Guitaut
78d9f9fa40
DEV: Rename ServiceRunner
to Service::Runner
for consistency
2024-09-20 10:04:42 +02:00
dependabot[bot]
a4ccdeccb3
Build(deps): Bump puma from 6.4.2 to 6.4.3 ( #28978 )
...
Bumps [puma](https://github.com/puma/puma ) from 6.4.2 to 6.4.3.
- [Release notes](https://github.com/puma/puma/releases )
- [Changelog](https://github.com/puma/puma/blob/master/History.md )
- [Commits](https://github.com/puma/puma/compare/v6.4.2...v6.4.3 )
---
updated-dependencies:
- dependency-name: puma
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-09-20 09:45:21 +08:00
Loïc Guitaut
afdb1ac0a0
DEV: Disallow default params in service steps
...
With the current implementation, a service step can be written as:
```ruby
def my_step(a_default_value: 2)
…
end
```
That’s a pattern we want to avoid as default values (if needed) should
be probably defined in a contract.
This patch makes a service raise an exception if a default value is
encountered.
2024-09-19 14:47:55 +02:00
Loïc Guitaut
fe1098ebac
FIX: Don’t raise on some search terms
...
Currently, when certain search terms are provided, this can lead to
`Search.need_segmenting?` raising an error because it makes `URI#path`
to return `nil` instead of a string.
This patch forces a cast to string so it won’t raise anymore.
2024-09-19 11:35:10 +02:00
Ted Johansson
e68748318e
DEV: Remove FileStore#download deprecation warning ( #28971 )
...
At a point we split FileStore#download into two methods, one which returns nil (#download) and one which raises an exception (#download!) if there's a download error.
When we did this we added a deprecation warning to the #download method.
It has now been over a year and I have checked all relevant internal cases, so I think it's about time we remove this warning.
2024-09-19 11:08:26 +08:00
Alan Guo Xiang Tan
848af05537
DEV: Fix failing system tests ( #28970 )
...
We are seeing the following error on CI:
```
Errno::EADDRNOTAVAIL:
Failed to open TCP connection to localhost:31337 (Cannot assign requested address - connect(2) for "localhost" port 31337)
```
This is because the job being enqueued makes a HTTP request to the Rails
server but Capybara doesn't start the Rails server until a session is
actually required. Therefore, we need to enqueue the job after we are
sure that a session has been started.
2024-09-19 10:12:38 +08:00
Sam Saffron
f22316d0cd
Revert "DEV: attempt another upgrade on mini_racer ( #28951 )"
...
This reverts commit 68e017c324
.
Still seeing faults ... we had 1 segfault in 7 hours.
2024-09-19 09:48:01 +10:00
dependabot[bot]
68ff66dda3
Build(deps): Bump faraday from 2.11.0 to 2.12.0 ( #28967 )
...
Bumps [faraday](https://github.com/lostisland/faraday ) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/lostisland/faraday/releases )
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lostisland/faraday/compare/v2.11.0...v2.12.0 )
---
updated-dependencies:
- dependency-name: faraday
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-09-19 01:19:03 +02:00
dependabot[bot]
705b49f0a2
Build(deps): Bump google-protobuf from 4.28.1 to 4.28.2 ( #28968 )
...
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf ) from 4.28.1 to 4.28.2.
- [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>
2024-09-19 01:18:56 +02:00
dependabot[bot]
c690412642
Build(deps-dev): Bump puppeteer-core from 23.3.1 to 23.4.0 ( #28964 )
...
Bumps [puppeteer-core](https://github.com/puppeteer/puppeteer ) from 23.3.1 to 23.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v23.3.1...puppeteer-core-v23.4.0 )
---
updated-dependencies:
- dependency-name: puppeteer-core
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-09-19 00:55:25 +02:00
Kris
5628b640db
DEV: add topic-list-after-columns outlet to mobile ( #28963 )
2024-09-18 17:29:42 -04:00
David Battersby
4bfe78d1e6
UX: remove alias from chat direct message channel titles ( #28958 )
...
Makes usernames in Chat Direct Message channels consistent with other areas of the app by removing the alias.
2024-09-18 22:18:46 +04:00
Loïc Guitaut
05b8ff436c
DEV: Introduce a Service::ActionBase
class for service actions
...
This will help to enforce a consistent pattern for creating service
actions.
This patch also namespaces actions and policies, making everything
related to a service available directly in
`app/services/<concept-name>`, making things more consistent at that
level too.
2024-09-18 17:02:46 +02:00
David Taylor
aa9c59a24b
DEV: Introduce webpack-retry-chunk-load-plugin ( #28960 )
...
In our test suite, we sometimes see ChunkLoadErrors. This plugin should cause those failed requests to be retried seamlessly. It'll also help clients with flaky internet connections in production.
2024-09-18 15:50:24 +01:00
Jarek Radosz
c6c4e09ba3
FIX: .badge-posts alignment on mobile glimmer topic list ( #28959 )
...
Regressed in 3eada7b572
2024-09-18 13:02:52 +02:00
Joffrey JAFFEUX
e4e2bc7add
DEV: replaces subtitle by description ( #28881 )
...
Description should be above the field and that makes subtitle useless.
Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
2024-09-18 11:14:59 +02:00
Bianca Nenciu
dd5502f166
PERF: Cache serialized voters at topic view level ( #28894 )
...
This commit introduces a way to fetch the "serialized voters" for
multiple polls.
* Use a single query to fetch voters for all types of polls
* Refactor to introduce all_serialized_voters
* Cache serialized voters
2024-09-18 12:01:40 +03:00
Alan Guo Xiang Tan
02380af75c
PERF: Update migration to drop index concurrently. ( #28955 )
...
This avoids locking the index's table
2024-09-18 10:20:24 +08:00
Alan Guo Xiang Tan
9a2e6fc890
DEV: Cache minio binaries cause downloading them is slow ( #28956 )
2024-09-18 10:20:10 +08:00
Ted Johansson
e60876ce49
FIX: Appropriately handle uninstalled problem checks ( #28771 )
...
When running checks, we look to the existing problem check trackers and try to grab their ProblemCheck classes.
In some cases this is no longer in the problem check repository, e.g. when the check was part of a plugin that has been uninstalled.
In the case where the check was scheduled, this would lead to an error in one of the jobs
2024-09-18 10:11:52 +08:00
chapoi
9b383e3729
UX: chat composer style tweaks ( #28938 )
2024-09-18 02:45:44 +02:00
Hugh Lashbrooke
5f9111a1b5
Updating documentation links in admin quick start guide ( #28935 )
2024-09-18 09:52:12 +10:00
dependabot[bot]
b3bf9e2ef1
Build(deps): Bump memory_profiler from 1.0.2 to 1.1.0 ( #28954 )
...
Bumps [memory_profiler](https://github.com/SamSaffron/memory_profiler ) from 1.0.2 to 1.1.0.
- [Changelog](https://github.com/SamSaffron/memory_profiler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/SamSaffron/memory_profiler/compare/v1.0.2...v1.1.0 )
---
updated-dependencies:
- dependency-name: memory_profiler
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-09-18 01:38:56 +02:00
dependabot[bot]
2fb0a3bc0c
Build(deps-dev): Bump rouge from 4.3.0 to 4.4.0 ( #28953 )
...
Bumps [rouge](https://github.com/rouge-ruby/rouge ) from 4.3.0 to 4.4.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.3.0...v4.4.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-09-18 01:38:42 +02:00
dependabot[bot]
f1e213e86a
Build(deps-dev): Bump jsuites from 5.6.1 to 5.6.2 ( #28952 )
...
Bumps [jsuites](https://github.com/jsuites/jsuites ) from 5.6.1 to 5.6.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-09-18 01:21:05 +02:00
dependabot[bot]
0a6ee30817
Build(deps): Bump terser from 5.32.0 to 5.33.0 ( #28950 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.32.0 to 5.33.0.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/compare/v5.32.0...v5.33.0 )
---
updated-dependencies:
- dependency-name: terser
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-09-18 00:44:52 +02:00
Sam
68e017c324
DEV: attempt another upgrade on mini_racer ( #28951 )
...
This time the compile disables strict aliasing to see if it resolves the issue
2024-09-18 08:44:26 +10:00
Joffrey JAFFEUX
2aca41914a
FEATURE: supports mark tag in chat messages ( #28949 )
...
This brings feature parity with posts where you can use this tag.
2024-09-17 20:52:34 +02:00
Amanda Alves Branquinho
c93235f4f5
DEV: Add aditional args to plugin outlet ( #28948 )
2024-09-17 15:46:36 -03:00
Jarek Radosz
d1feb67f35
DEV: Extract TopicCell component ( #28947 )
2024-09-17 20:03:51 +02:00
Gabriel Grubba
e926a07c83
FEATURE: increasing name length in automation ( #28945 )
...
Updates from 30 to 100 the maximum length of the name of an automation.
Adds tests for validating the maximum length of the name of an automation.
2024-09-17 13:16:44 -03:00
Jarek Radosz
140d9aadfe
DEV: Remove unused code from glimmer topic list ( #28946 )
2024-09-17 17:39:24 +02:00