Mathieu
0c0251082d
feat(xo-web/pool): ability to do a rolling pool reboot ( #7243 )
...
Fixes #6885
See #7242
2024-01-26 17:08:52 +01:00
Pierre Donias
c250cd9b89
feat(xo-web/VM): ability to add custom notes ( #7322 )
...
Fixes #5792
2024-01-26 14:59:32 +01:00
Florent BEAUCHAMP
d6abdb246b
feat(xo-server): implement rolling pool reboot ( #7242 )
2024-01-25 17:50:34 +01:00
Pierre Donias
5769da3ebc
feat(xo-web/tags): add tooltips on xo:no-bak and xo:notify-on-snapshot tags ( #7335 )
2024-01-25 10:27:42 +01:00
Julien Fontanet
4f383635ef
feat(xo-server/rest-api): validate params
2024-01-24 11:41:22 +01:00
Julien Fontanet
8a7abc2e54
feat(xo-cli/rest): display error response body
2024-01-24 11:23:43 +01:00
Julien Fontanet
af1650bd14
chore: update dev deps
2024-01-24 10:54:02 +01:00
Julien Fontanet
c6fdef33c4
feat(xo-server): web signin with auth token in query string ( #7314 )
...
Potential issue: the token stays in the browser history.
2024-01-24 10:02:38 +01:00
Florent BEAUCHAMP
5f73f09f59
feat(fuse-vhd): implement cli ( #7310 )
2024-01-23 17:14:18 +01:00
Thierry Goettelmann
1b0fc62e2e
feat(xo6): introducing @xen-orchestra/web
( #7309 )
...
Introduces `@xen-orchestra/web`, which will be the home for the new incoming
Xen Orchestra v6.
It uses `@xen-orchestra/web-core` as a foundation.
Upgraded common dependencies of Lite/Web/Core.
2024-01-23 11:25:18 +01:00
Julien Fontanet
aa2dc9206d
chore: format with Prettier
...
Introduced by 85ec26194
2024-01-23 11:02:28 +01:00
Mathieu
2b1562da81
fix(xo-server/PIF): IPv4 reconfiguration only worked when mode was updated ( #7324 )
2024-01-23 10:55:37 +01:00
Mathieu
25e270edb4
feat(xo-web,xo-server/tag): add colored tag ( #7262 )
2024-01-23 09:46:06 +01:00
MlssFrncJrg
51c11c15a8
feat(xo-web/pool): disable Rolling Pool Update if pool has 1 host ( #7286 )
...
See #6415
2024-01-22 11:04:38 +01:00
Julien Fontanet
47922dee56
fix(xo-server/patching): fix typo
...
Introduced by 901f7b3fe
Fixes #7325
2024-01-20 09:35:48 +01:00
Julien Fontanet
3dda4dbaad
chore: format with Prettier
2024-01-19 16:42:10 +01:00
Julien Fontanet
901f7b3fe2
chore(xo-server): remove object properties decorator syntax
...
This syntax is not supported by Prettier.
2024-01-19 16:42:10 +01:00
Julien Fontanet
774d66512e
feat(decorate-with): decorateObject()
2024-01-19 16:42:10 +01:00
b-Nollet
ec1669a32e
feat(xo-server-load-balancer): limit concurrent migrations ( #7297 )
...
Fixes #7084
2024-01-19 16:37:55 +01:00
Florent BEAUCHAMP
bbcd4184b0
feat(xo-web,backups): fix dynamic disks count with suspend_VDI ( #7315 )
...
`suspend_VDI` was counted as a dynamic VHD.
This commit ignores it in the computation, but add a tag if the backup is with memory.
2024-01-19 16:34:06 +01:00
Mathieu
85ec26194b
feat(xo-web/host): ask for confirmation to reboot the updated slave host if the master is not ( #7293 )
...
Fixes #7059
In case a slave host requires a reboot to apply updates and the master is using
the same version as the slave host, a confirmation modal is triggered.
2024-01-19 11:18:40 +01:00
MlssFrncJrg
f0242380ca
feat(xo-web/tab-advanced): allow to update VM creator ( #7276 )
...
Related to [forum#7313](https://xcp-ng.org/forum/topic/7313/change-created-by-and-date-information )
2024-01-19 10:40:08 +01:00
Julien Fontanet
a624330818
fix(usage-to-readme): fix multiple .USAGE.md changes
2024-01-19 10:23:52 +01:00
Julien Fontanet
3892efcca2
feat(xo-web/plugins): auto-load follow load/unload ( #7317 )
...
Loading, or unloading, will respectively enable, or disable, _Auto-load at server start_,
this should lead to least surprising behaviors.
2024-01-19 09:55:36 +01:00
Mathieu
c1c122d92c
feat(xo-web/pool/host): add warning if hosts don't have the same version ( #7280 )
...
Fixes #7059
2024-01-18 17:13:57 +01:00
Julien Fontanet
b7a66e9f73
chore(web-core): add missing npmignore
...
Follow-up of d92d2efc7
2024-01-18 13:29:30 +01:00
Julien Fontanet
d92d2efc78
chore(web-core): normalize package.json
2024-01-18 12:39:39 +01:00
Julien Fontanet
c2cb51a470
feat(lint-staged): add .USAGE.md → README.md
...
So that it's not needed to manually runs from `normalize-packages.js`.
2024-01-18 12:34:23 +01:00
Thierry Goettelmann
5242affdc1
feat(lite): introducing @xen-orchestra/web-core
( #7302 )
...
This PR introduces `@xen-orchestra/web-core`, which will be the common base for
XO Lite and XO 6.
This package is not meant to be distributed and will be used as-is in other
packages thanks to Yarn Workspace. This mean that the files of XO Web Core will
not be built by themselves but by either the package which use it.
Styles have been moved from XO Lite to XO Web Core.
Colors variable have been renamed and updated according to the new Design
System. XO Lite has been updated accordingly.
- `extra-blue` → `purple`
- `green-infra` → `green`
- `orange-world` → `orange`
- `red-vates` → `red`
- `blue-scale` → `grey`
⚠️ A new intermediate shade has been introduced (`--color-grey-400`). So
`--color-blue-scale-400` is now `--color-grey-500` and `--color-blue-scale-500`
is now `--color-grey-600`.
PostCSS color function plugin is used to generate the shades of color like it is
done on the Figma mockup (with blending the base color with black or white at
different degrees).
PostCSS custom media are now loaded globally thanks to a plugin and no longer
require to import `_responsive.pcss` file manually in each file where a custom
media was needed.
2024-01-18 10:04:25 +01:00
Dom Del Nano
71f3be288b
feat(xo-server): add xenStoreData to XO VM objects ( #7316 )
...
The initial support added in #7055 to support terraform resource support doesn't provide read access to a VM's state.
Since Tterraform's model requires read and write access to the resource it's managing, this PR implements the missing piece for terra-farm/terraform-provider-xenorchestra#261 .
2024-01-17 10:24:08 +01:00
OlivierFL
58769815b0
fix(xo-web/modal): close modal when navigating to another url ( #7301 )
2024-01-16 20:47:21 +01:00
Florent BEAUCHAMP
c81c23c0d0
fix(fuse-vhd): potential race condition in mount/unmount ( #7312 )
...
The code was not properly waiting mount/unmount to be done.
2024-01-16 18:27:30 +01:00
Julien Fontanet
f06f89b5b4
feat(self-signed): readCert utility ( #7282 )
...
Expired certificates are not automatically detected, which is not a big deal for user certificates because they can still be used and it's their responsibility to update them.
But automatic certificates must be regenerated in that case which was not the case until now.
This commit unifies certificate/key reading, checking and generation for both xo-server and xo-proxy.
2024-01-16 16:58:15 +01:00
Julien Fontanet
fa748ed9de
feat(xo-server): load plugins from mono-repo
...
Contrary to 3e3ce543a8
, which was reverted,
this implentation properly handle duplicates.
2024-01-16 15:54:12 +01:00
Julien Fontanet
cd753acff7
feat(xo-server): move plugin lookup paths to config
2024-01-16 15:51:45 +01:00
Julien Fontanet
8ff861e2be
feat(xo-server): find plugins sequentially
...
This provides a deterministic order.
In case of duplicate plugins (with the same name), the first found plugin takes precedence.
2024-01-16 15:31:03 +01:00
Julien Fontanet
95ccb2e0ae
feat(gitignore): ignore .tap/
2024-01-16 14:02:33 +01:00
John P. Cooper
b0e5846ad1
feat(lite): introduce PWA manifest ( #7291 )
...
This implements the initial PWA manifest for XO Lite. I requested this several
months to a year ago, so decided to do it myself in the end.
2024-01-16 11:19:10 +01:00
OlivierFL
19fd456ccf
fix(xo-web/metadata-restore-modal): add check to hide pool select when restoring xo config backup ( #7287 )
...
See https://xcp-ng.org/forum/topic/8130/xo-configbackup-restore
2024-01-16 11:13:01 +01:00
Julien Fontanet
7946a7db68
feat(xo-server/signin): uniformize sign in buttons
...
Make sign in with password button the same as external providers.
2024-01-16 10:36:04 +01:00
Julien Fontanet
6127e30574
feat(xo-server/signin): remember me with external providers
...
It works the same as password signin.
2024-01-16 10:36:04 +01:00
Julien Fontanet
4aad9d8e32
fix(xo-server-backup-reports): require Node>=15
...
Introduced by 2af74008b
Due to using AggregateError.
2024-01-16 10:10:42 +01:00
Julien Fontanet
78d15ddf96
chore: update dev deps
2024-01-16 09:59:16 +01:00
Pierre Donias
302f7fb85e
fix(xo-web/new-vm): isDiskTemplate → _isDiskTemplate ( #7311 )
2024-01-15 16:51:55 +01:00
Thierry Goettelmann
ea19b0851f
feat(lite): upgrade deps + root eslint config ( #7292 )
2024-01-15 11:12:53 +01:00
Julien Fontanet
b0c37df8d7
fix(xo-server/rest-api): /backup/log/<id>
...
Introduced by 037e1c1df
Fixes https://xcp-ng.org/forum/post/69426
2024-01-11 11:05:00 +01:00
Julien Fontanet
beba6f7e8d
chore: format with Prettier
2024-01-11 09:57:28 +01:00
Julien Fontanet
9388b5500c
chore(xo-server/signin): remove empty div
2024-01-10 17:17:42 +01:00
Julien Fontanet
bae8ad25e9
feat(xo-web/tasks): hide /rrd_updates by default
...
After an internal discussion with @Darkbeldin and @olivierlambert.
2024-01-10 16:50:03 +01:00
Julien Fontanet
c96b29fe96
docs(troubleshooting): explicit sudo with xo-server-recover-account
2024-01-10 16:48:34 +01:00