Commit Graph

59132 Commits

Author SHA1 Message Date
Michael Klishin 0aeca40416
Merge pull request #13860 from rabbitmq/mergify/bp/v4.1.x/pr-13858
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Type check (1.17, 27) (push) Waiting to run Details
STOMP: confirm utf-8 handling (backport #13858)
2025-05-06 18:53:14 +04:00
Iliia Khaprov 0d284b0ec2 STOMP: confirm utf-8 handling
(cherry picked from commit 0ec25997b6)
2025-05-06 14:15:00 +00:00
Michael Klishin 1b7d66808a
Merge pull request #13855 from rabbitmq/mergify/bp/v4.1.x/pr-13850
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Type check (1.17, 27) (push) Waiting to run Details
Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Has been cancelled Details
Test Management UI with Selenium / selenium (chrome, 1.17.3, 27.3) (push) Has been cancelled Details
STOMP: queue type tests - add queue.type assertions (backport #13850)
2025-05-05 23:36:26 +04:00
Michael Klishin e569855eee
Merge pull request #13854 from rabbitmq/mergify/bp/v4.1.x/pr-13837
Modify default queue type injection logic (backport #13837)
2025-05-05 22:49:34 +04:00
Iliia Khaprov 24e873db0c STOMP: queue type tests - add queue.type assertions
(cherry picked from commit a91371dfe6)
2025-05-05 17:33:16 +00:00
Michael Klishin 963e2c670a
Merge pull request #13852 from rabbitmq/mergify/bp/v4.1.x/pr-13836
Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Type check (1.17, 27) (push) Waiting to run Details
Management UI: new page and elements for superstreams (partitioned streams) (backport #13836)
2025-05-05 21:28:25 +04:00
Michal Kuratczyk 6549254b45 Add a test for DQT upon vhost creation
(cherry picked from commit f61b9d9bf4)
2025-05-05 17:21:13 +00:00
Michal Kuratczyk 01433f4017 Set the DQT in rabbit_vhost:do_add
(cherry picked from commit 9bd11b449f)
2025-05-05 17:21:13 +00:00
Michal Kuratczyk d072f43dcb Add DQT to vhost metadata on recovery
Vhosts that currently don't have their own default queue type, now
inherit it from the node configuration and store it in their metadata
going forward.

(cherry picked from commit 9d0f01b45b)
2025-05-05 17:21:12 +00:00
Michal Kuratczyk bededaa194 Adjust tests to the new behaviour
(cherry picked from commit 0e743b5fe7)
2025-05-05 17:21:12 +00:00
Michal Kuratczyk 4932d2e1d9 vhost inherits DQT from node
Rather than injecting node-level DQT when exporting definitions,
inject it into vhost's metadata when a vhost is created.

(cherry picked from commit 3c95bf32e7)
2025-05-05 17:21:12 +00:00
Michal Kuratczyk 09b31f6e4c Remove vhost.default_queue_type from HTTP defs export
(cherry picked from commit 5eb65f5f72)
2025-05-05 17:21:12 +00:00
Michal Kuratczyk f8f0046fff Fix DQT in definition export (redundant property)
The correct place for the `default_queue_type` property
is inside the `metadata` block. However, right now we'd
always export the value outside of `metadata` AND only
export it inside `metadata`, if it was not `undefined`.

This value outside of `metadata` was just misleading:
if a user exported the definitins from a fresh node,
changed `classic` to `quorum` and imported such modified
values, the DQT would still be `classic`, because RMQ looks
for the value inside `metadata`. Just to make it more confusing,
if the DQT was changed successfully one way or another, the
value outside of `metadata` would reflect that
(it always shows the correct value, but is ignored on import).

(cherry picked from commit 73da2a3fbb)
2025-05-05 17:21:11 +00:00
Diana Parra Corbacho fac2a318c1 Mgmt UI: Add super streams page
(cherry picked from commit ef09b190ce)
2025-05-05 16:35:02 +00:00
Michael Klishin 4703c1c3b6
Merge pull request #13847 from rabbitmq/mergify/bp/v4.1.x/pr-13843
Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Has been cancelled Details
Test (make) / Build and Xref (1.17, 26) (push) Has been cancelled Details
Test (make) / Build and Xref (1.17, 27) (push) Has been cancelled Details
Test (make) / Test (1.17, 27, khepri) (push) Has been cancelled Details
Test (make) / Test (1.17, 27, mnesia) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Has been cancelled Details
Test (make) / Type check (1.17, 27) (push) Has been cancelled Details
Test Management UI with Selenium / selenium (chrome, 1.17.3, 27.3) (push) Has been cancelled Details
Launch another rabbitmq server from a Selenium test suite (backport #13843)
2025-05-03 19:53:02 +04:00
Michael Klishin fc350e4221
4.1.0 release notes edits
(cherry picked from commit c458cba923)
2025-05-03 11:48:52 -04:00
Michael Klishin b5682a50e9
Minor 4.1.0 release notes correction
(cherry picked from commit 6bda6a610f)
2025-05-03 11:48:44 -04:00
Michael Klishin 01d520fdcb
Resolve a conflict #13843 #13847 2025-05-03 11:09:50 -04:00
Marcial Rosales 816cf8a993 Fix test
it was necessary to add a queue first before checking which
columns are available

(cherry picked from commit 7653b6522a)

# Conflicts:
#	selenium/test/queuesAndStreams/list.js
2025-05-03 14:38:04 +00:00
Marcial Rosales e5e80efbef Fix location of definitions file
(cherry picked from commit fa315e4d86)
2025-05-03 14:38:03 +00:00
Marcial Rosales bb05f41e63 Minor test chnage
(cherry picked from commit 64f7aa2c95)
2025-05-03 14:38:03 +00:00
Marcial Rosales 44fbd67a7a Modify scripts so that it is possible to start 2 rabbitmqs
(cherry picked from commit 438b77443c)
2025-05-03 14:38:03 +00:00
Michael Klishin e7897376c9
Merge pull request #13842 from rabbitmq/mergify/bp/v4.1.x/pr-13838
Test management ui selection of vhost's tags columns  (backport #13838)
2025-05-03 18:35:58 +04:00
Marcial Rosales 87d8d95f87 Fix test 2025-05-03 12:40:29 +02:00
Michael Klishin 2ea704c14f
Merge pull request #13841 from rabbitmq/mergify/bp/v4.1.x/pr-13840
Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Type check (1.17, 27) (push) Waiting to run Details
Fix formatter crash in rabbit_reader (backport #13840)
2025-05-02 20:28:25 +04:00
Marcial Rosales e116c0822b Test columns for queues and exchanges
(cherry picked from commit fb02466b20)
2025-05-02 14:37:52 +00:00
Marcial Rosales bbeef880bf Test columns available for queues and stream
(cherry picked from commit ba0510f85d)
2025-05-02 14:37:52 +00:00
Marcial Rosales ec243ba836 Test virtual hosts and select tags column
(cherry picked from commit 175abbff87)
2025-05-02 14:37:52 +00:00
Marcial Rosales 4fd25e0518 Testing new vhost has the tag
(cherry picked from commit ea66a25dfa)
2025-05-02 14:37:52 +00:00
Marcial Rosales 385598387e Select columns of vhosts
(cherry picked from commit 7003fefa44)
2025-05-02 14:37:51 +00:00
Marcial Rosales 4231ea7e19 Select tags column on vhosts table
(cherry picked from commit 1ab81f7901)
2025-05-02 14:37:51 +00:00
Marcial Rosales e308af1547 Test adding vhost
(cherry picked from commit 01ca72edc0)
2025-05-02 14:37:51 +00:00
Michal Kuratczyk ce776fc959 Fix formatter crash in rabbit_reader
(cherry picked from commit 435274bc83)
2025-05-02 14:22:47 +00:00
Michael Klishin a043f00e56
Merge pull request #13823 from rabbitmq/mergify/bp/v4.1.x/pr-13822
Remove unused Javascript functions (backport #13822)
2025-04-29 03:15:41 +04:00
Luke Bakken f1bdd84e6c Remove unused Javascript functions
A security scanner flagged the use of `RegExp` with unsanitized input.
Turns out, these functions are no longer used and can be deleted.

(cherry picked from commit 61b0f152fd)
2025-04-28 23:10:07 +00:00
Michael Klishin 8bc760ece6
Merge pull request #13821 from rabbitmq/mergify/bp/v4.1.x/pr-13820
Shovel test flakes and logging fixes (backport #13820)
2025-04-28 20:07:09 +04:00
Michal Kuratczyk eadbfd4a38 Don't log a crash on connection termination
(cherry picked from commit 0f36610e9d)
2025-04-28 15:43:21 +00:00
Michal Kuratczyk f21a32d822 Add a `flush` handler to amqp_channel
rabbit_channel may use amqp_channel as the writer.
When terminating, rabbit_channel sends a `flush` message
to its writer. If amqp_channel is in use, that led to
a `function_clause` crash.

(cherry picked from commit 0ce6ad0f0f)
2025-04-28 15:43:20 +00:00
Michal Kuratczyk d9ec0b35ad Shovel: de-flake dynamic_SUITE
checking that not a single process has a message in the mailbox
is prone to flakes.

(cherry picked from commit 0ec41c6c41)
2025-04-28 15:43:20 +00:00
Michael Klishin 1f6964a333
4.0.1 release notes: remove a pre-GA leftover
(cherry picked from commit 005bb2c790)
2025-04-27 16:58:19 -04:00
Michael Klishin 7aaef695cd
4.1.0 release notes: correct a confusing typo
(cherry picked from commit 812d51be56)
2025-04-27 16:50:34 -04:00
Michael Klishin 5379ddcbd1
Merge pull request #13819 from rabbitmq/mergify/bp/v4.1.x/pr-13818
By @aaron-seo: Adds a new auth backend that only accepts loopback connections (backport #13818)
2025-04-27 13:52:34 +04:00
Aaron Seo 3a319c2792 Filter out sockOrAddr from http auth backend's request query
(cherry picked from commit 844f25d77a)
(cherry picked from commit 85e14c74fa)
2025-04-27 08:58:58 +00:00
Aaron Seo 1e1b7161c3 Fallback to original implementation of plain auth_mechanism if socket is not provided
(cherry picked from commit 3bcdc0f359)
2025-04-27 08:58:58 +00:00
Aaron Seo 007ee6b277 Add test suite for rabbitmq_auth_backend_internal_loopback
(cherry picked from commit 614ce25cc7)
2025-04-27 08:58:58 +00:00
Aaron Seo c48c2adad9 Fix doc typo for internal_loopback auth backend
(cherry picked from commit 803cd3956b)
2025-04-27 08:58:57 +00:00
Aaron Seo 97232b7f10 Adds rabbit_auth_backend_internal_loopback
This auth backend behaves the same as the internal backend provided in
the core broker, but it only accepts loopback connections. External
connection attempts will receive an error.

(cherry picked from commit 6d24aef9b0)
2025-04-27 08:58:57 +00:00
Michael Klishin c111f3315c
Naming #13809
(cherry picked from commit c9b2b7fb22)
2025-04-26 18:43:13 -04:00
Razvan Grigore e0bccb4efb
Add Socket SSL column to management UI
(cherry picked from commit 09c546a1c8)
2025-04-26 18:43:06 -04:00
Michael Klishin 4fa8e84864
Merge pull request #13811 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot/v4.1.x/prod-deps-ad66588521
[skip ci] Bump the prod-deps group across 2 directories with 1 update
2025-04-26 23:54:40 +04:00