Commit Graph

302 Commits

Author SHA1 Message Date
6e48c6e969 fix to enable compile on loongarch 2023-06-01 15:51:13 +08:00
d632c195ff 2.4.19 Update change date 2022-01-04 15:47:38 +02:00
2a54224927 2.4.18 Update change date 2021-10-29 08:29:51 +03:00
59c3449d6d Fix shebang in build.sh 2021-05-06 08:35:14 +03:00
a8bfbbe254 2.4.17 Update change date 2021-03-08 09:03:02 +02:00
88baaeffd3 MXS-3424: Improve MaxCtrl argument errors
The error messages are now generated at the site where the error is
detected. This allows a more accurate error to be reported when invalid
parameter values are read.
2021-03-03 11:02:15 +02:00
1c6b7160f3 MXS-3424: Fix MaxCtrl parameter validation
Strict equality must be used to make sure that the value 0 doesn't compare
equal to an empty string.
2021-03-03 11:02:15 +02:00
0224f24077 2.4.16 Update Change Date 2021-02-16 14:59:00 +02:00
d22e8fbf27 Use loopback address as default for --hosts
Cherry picking 0293633b0f2815ba7be55c63d6ba6ac6a22a1db7
from 2.5 caused numerous formatting related conflicts.
So did the change manually.
2021-01-19 15:42:35 +02:00
027c220c6e Add missing colors dependency
MaxCtrl seems to have relied on an implicit dependency which, for whatever
reason, broke only recently. Since we require() it, we should declare it
as a dependency.
2021-01-19 10:06:27 +02:00
da0543edc2 Update MaxCtrl dependencies
Ran `npm audit fix` which fixed a lodash vulnerability.
2021-01-19 10:06:26 +02:00
c5bcf7a8b1 2.4.15 Update change date 2021-01-18 15:30:30 +02:00
79e7636b66 MXS-3360: Use correct field 2021-01-07 15:24:30 +02:00
df36ef86d0 2.4.14 Update Change Date 2020-11-16 14:23:26 +02:00
5a33d45d4d Merge branch '2.3' into 2.4 2020-11-16 09:25:43 +02:00
c49f17f428 MXS-3295: Fix layout of the classify endpoint
The values were stored in the parameters object which is used for
configuration parameters in other endpoints. The proper place for them is
inside the attributes object.
2020-11-16 09:20:50 +02:00
63ed377e3a Merge branch '2.3' into 2.4 2020-11-10 10:13:32 +02:00
7b1625d65f MXS-3272: Ask password first
The interactive would give the prompt first before asking for the
password. By copying the code from common.js, the password is always asked
first.
2020-11-09 17:33:34 +02:00
faaf7f483e 2.4.13 Update Change Date 2020-10-14 09:15:46 +03:00
caedf79464 Merge branch '2.3' into 2.4 2020-08-28 14:24:16 +03:00
63a050bd7a MXS-3051: Show connection TLS cipher
This tells the user whether a session is using TLS or not. Currently, only
the client TLS cipher is shown in MaxCtrl as the backend ciphers require
additional formatting.
2020-08-28 12:16:17 +03:00
bce427f4ad Merge branch '2.3' into 2.4 2020-08-27 15:21:36 +03:00
4dd760aa9a MXS-3131: Display monitor module in show monitor 2020-08-27 14:47:27 +03:00
babcda3eca 2.4.12 Update Change Date 2020-08-24 09:42:48 +03:00
fc9c9fcd77 2.4.11 Update change date 2020-07-07 10:01:38 +03:00
7781f7042a 2.4.10 Update change date 2020-06-05 10:21:37 +03:00
5ebae9be90 Merge branch '2.3' into 2.4 2020-06-05 09:36:24 +03:00
aa11c960b1 2.3.20 Update change date 2020-06-05 09:31:45 +03:00
727aeb4a08 Merge branch '2.3' into 2.4 2020-06-02 10:53:05 +03:00
4ee7dc7972 Reword --quiet description 2020-06-01 12:26:29 +03:00
d9fdf3adc1 MXS-3013: Add reload service MaxCtrl command
The command currently reloads the users of a service but it can be used to
reload other parts of it as well (e.g. encryption keys).
2020-06-01 12:26:29 +03:00
2e1b0c5ddf MXS-2984: Fix list listeners
Backported the changed from 2.5 to 2.3 and added a test case.
2020-06-01 12:26:26 +03:00
ce437bc779 MXS-3016: Rename --monitors to --monitor
Renamed the option and changed the type to a string argument. The alias
for --monitors still allows old code to use the same format.
2020-06-01 12:26:26 +03:00
0f1f9426c3 MXS-2983: Document list option formats
The options that take lists of objects as arguments did not properly
document the expected format.
2020-06-01 12:26:26 +03:00
62052edbc9 Merge branch '2.3' into 2.4 2020-05-14 09:45:28 +03:00
7c011b4081 MXS-2998: Fix key-value parsing
The code assumed that no value would hold an equals sign which is
wrong. Added a test case that reproduces the problem and verifies the fix.
2020-05-14 09:34:25 +03:00
4cc5fa115a Merge branch '2.3' into 2.4 2020-05-11 08:42:02 +03:00
73eba01ce9 Fix cluster sync documentation
The MaxScale instance isn't stopped if the synchronization fails. Added
missing documentation for the command argument.
2020-05-11 07:44:57 +03:00
a2b5a1aba3 MXS-2980: Forward options to the interactive mode
The --quiet option does not make sense in the interactive mode so it isn't
forwarded.

Added code that reports TLS certificate loading errors. The errors
themselves aren't very exact but at least they give a hint as to why it
failed.
2020-05-11 07:44:56 +03:00
d3d7054639 Merge branch '2.3' into 2.4 2020-04-24 16:09:20 +03:00
f527a8f2e6 2.3.19 Update Change Date 2020-04-23 14:23:57 +03:00
b1054de72a Merge branch '2.3' into 2.4 2020-04-07 12:36:13 +03:00
5dbe4f11c9 MXS-2948: Don't update passwords with cluster sync
Not updating the passwords prevents the cluster sync from breaking working
configurations.
2020-04-07 12:35:56 +03:00
dcccd99eb7 Merge branch '2.3' into 2.4 2020-04-07 08:52:40 +03:00
1ed6304281 MXS-2954: Use correct object for PATCH
The destination object instead of the source object was used. This caused
the PATCH to be a no-op.

Due to how the REST API behaves when it received parameters, the set of
synced parameters must be filtered. The REST API should be more lenient
towards alterations to parameters that don't actually change the value.
2020-04-06 19:37:53 +03:00
6fdb7ed089 Merge remote-tracking branch 'origin/2.3' into 2.4 2020-03-30 10:23:35 +03:00
1fc5ec36b1 Add filters to maxctrl show service
The filters were not listed.
2020-03-30 08:53:55 +03:00
f5b61e169b Update npm packages
Updated packages due to npm audit warnings.
2020-03-16 11:32:43 +02:00
d0ab797938 Merge branch '2.3' into 2.4 2020-03-12 10:33:57 +02:00
e0cd6adb26 Update change date for 2.3.18 2020-03-10 10:45:47 +02:00