Florent BEAUCHAMP
2b1edd1d4c
feat: always log and display full remote errors ( #6216 )
...
Co-authored-by: Julien Fontanet <julien.fontanet@isonoe.net>
2022-05-31 17:30:27 +02:00
Thierry Goettelmann
42bb7cc973
feat: release 5.71.0 ( #6256 )
2022-05-31 16:20:41 +02:00
Julien Fontanet
8299c37bb7
fix(xo-server/pool.rollingUpdate): duplicate poolId declaration
...
Introduced by 7a2005c20
2022-05-31 14:32:13 +02:00
Mathieu
7a2005c20c
feat(xo-server/pool): disable scheduled job when starting RPU ( #6244 )
...
See zammad#5377, zammad#5333
2022-05-31 11:59:52 +02:00
Pierre Donias
ae0eb9e66e
fix(xo-web/health): make "Too many snapshots" table sortable by number of snaphots ( #6255 )
...
See zammad#6439
2022-05-31 11:45:11 +02:00
Julien Fontanet
052126613a
feat(xapi,xo-server): create SRs with other_config.auto-scan=true ( #6246 )
...
Fixes https://team.vates.fr/vates/pl/nf18hnr51f8f3f3brcbra57uar
2022-05-31 11:24:15 +02:00
l-austenfeld
7959657bd6
fix(xo-server/xapi): missing shutdownHost default parameter ( #6253 )
...
Add a default empty object parameter to enable calls to shutdownHost with only one parameter.
This implicitly fixes the density load-balancer, since it calls shutdownHost with only one parameter.
2022-05-31 10:01:47 +02:00
Thierry Goettelmann
9f8bb376ea
feat: technical release ( #6254 )
2022-05-30 17:45:59 +02:00
Julien Fontanet
ee8e2fa906
docs(REST API): use | cat
trick in VDI import example
2022-05-30 16:51:35 +02:00
Julien Fontanet
33a380b173
docs(REST API): add name_label param in VDI import example
2022-05-30 16:50:36 +02:00
Julien Fontanet
6e5b6996fa
docs(REST API): add required content-type in VM import
2022-05-30 16:48:01 +02:00
Julien Fontanet
6409dc276c
docs(REST API): don't use --progress-bar in VDI import example
...
This is not necessary and more in line with other examples.
2022-05-30 16:46:54 +02:00
Julien Fontanet
98f7ce43e3
feat(xo-server/RestApi): VDI import now returns the new VDI's UUID
2022-05-30 16:45:41 +02:00
Julien Fontanet
aa076e1d2d
chore(xo-server/rest-api): use xen-api
shorthand syntax
2022-05-30 16:23:39 +02:00
Julien Fontanet
7a096d1b5c
chore(xo-server/rest-api): remove unnecessary await
s
2022-05-30 16:00:43 +02:00
Julien Fontanet
93b17ccddd
chore(xo-server/api/vm): format with Prettier
...
Introduced by d7d81431e
2022-05-30 16:00:43 +02:00
Julien Fontanet
68c118c3e5
fix(xo-server/api/vm): add missing quote
...
Introduced by d7d81431e
2022-05-30 16:00:43 +02:00
Thierry Goettelmann
c0b0ba433f
feat(backups,xo-web): add cleanVm warnings to task ( #6225 )
2022-05-30 15:39:54 +02:00
Thierry Goettelmann
d7d81431ef
feat(xo-server/vm.migrate): call VM.assert_can_migrate before ( #6245 )
...
Fixes #5301
2022-05-30 15:04:12 +02:00
Pierre Donias
7451f45885
fix(xo-web/home): don't make VM's resource set name clickable for non-admins ( #6252 )
...
See https://xcp-ng.org/forum/topic/5902/permissions-for-users-to-be-able-to-snapshot/5?_=1653902135402
Non-admin users aren't allowed to view the Self Service page so it doesn't make
sense to have a link to that page
2022-05-30 15:02:03 +02:00
Florent BEAUCHAMP
c9882001a9
fix(xo-web,xo-server): store health check settings in job instead of schedule ( #6251 )
...
Introduced by cae3555ca7
2022-05-30 14:56:28 +02:00
Mathieu
837b06ef2b
feat(xo-server/xo-web/pool): avoid RPU/ host reboot, shutdown / host agent reboot during backup ( #6232 )
...
See zammad#5377
2022-05-30 11:13:13 +02:00
Julien Fontanet
0e49150b8e
feat(xo-server/RestApi): add VDI import
...
Related to zammad#7036
2022-05-29 20:48:59 +02:00
Julien Fontanet
0ec5f4bf68
chore(proxy,xo-server): update to http-server-plus@0.11.1
...
This new version fixes, among others, the support of the `Expect: 100-Continue` HTTP header, which is notably used by cURL during `POST`.
2022-05-29 20:44:00 +02:00
Julien Fontanet
601730d737
feat(xapi): new SR_importVdi()
...
Creates a new VDI on an SR from a VHD.
2022-05-29 20:44:00 +02:00
Julien Fontanet
28eb4b21bd
fix(xo-server/disk.import): VHD import
...
Introduced by 0706e6f4ff
2022-05-29 14:09:08 +02:00
Julien Fontanet
a5afe0bca1
feat(vhd-lib/peekFooterFromStream): check checksum and content
2022-05-29 14:07:48 +02:00
Julien Fontanet
ad5691dcb2
feat(self-signed): improve compat with OpenSSL 3
...
`-key -` appears to no longer be supported, generating the key in the same step works better.
It's still compatible with OpenSSL 1.
2022-05-27 12:56:55 +02:00
Julien Fontanet
80974fa1dc
fix(xo-server/LevelDbLogger#del): don't use ignoreErrors on undefined
...
Fixes #6250
Introduced by 98bbd53c28
With a callback, levelup methods don't return a promise.
2022-05-26 23:44:11 +02:00
Thierry Goettelmann
78330a0e11
fix(backups/Backup): healthCheckSr should be undefined instead of false if disabled ( #6248 )
...
Introduced by cae3555ca7
Fixes https://xcp-ng.org/forum/topic/5903/s3-backup-failure-after-update
2022-05-26 15:38:56 +02:00
Rajaa.BARHTAOUI
b6cff2d784
fix(xo-web/vm/advanced): fix multiple errors when adding ACLs ( #6230 )
...
Fixes #6213
In Reaclette <= 0.9.0, the value returned by an effect is interpreted as a new
state by Reaclette, so an effect that doesn't mutate the state must not return a
value.
2022-05-25 16:38:50 +02:00
Mathieu
cae3555ca7
feat(xo-web/backup): scheduled health check ( #6227 )
2022-05-25 15:25:07 +02:00
Julien Fontanet
1f9cf458ec
feat(mixins/Config): support get/watch entire config
...
If the path is `undefined` or the empty string.
2022-05-25 08:48:32 +02:00
Florent BEAUCHAMP
d9ead2d9f5
feat(xo-web): display scheduled health check logs ( #6238 )
2022-05-24 15:06:10 +02:00
Florent BEAUCHAMP
92660fd03e
feat(xo-server): limit scheduled backup health check to enterprise ( #6240 )
2022-05-24 14:26:28 +02:00
Florent BEAUCHAMP
5393d847f0
feat(xo-server-backup-reports): show health check ( #6242 )
2022-05-24 14:23:14 +02:00
Florent BEAUCHAMP
231f09de12
feat(backups,xo-server): scheduled health check ( #6228 )
2022-05-24 14:16:48 +02:00
Julien Fontanet
b75ca2700b
feat(backups): can snapshot VMs with VUSBs
2022-05-24 11:38:05 +02:00
Julien Fontanet
bae7ef9067
feat(xapi/VM_snapshot): add unplugVusbs option
2022-05-24 11:38:05 +02:00
Thierry Goettelmann
8ec8a3b4d9
feat(scripts/gen-deps-list.js): should now be used only during release ( #6234 )
2022-05-24 11:01:05 +02:00
Julien Fontanet
5b7228ed69
feat(xo-server/createAuthenticationToken): throw if expiresIn is too high
2022-05-23 18:24:51 +02:00
Julien Fontanet
b02bf90c8a
feat(emit-async): pass listener, event and emitter to error handler
2022-05-23 11:31:51 +02:00
Julien Fontanet
7d3546734e
feat(mixins/Config#watch{,Duration}): pass previous value and path to cb
2022-05-23 09:39:48 +02:00
Julien Fontanet
030013eb5b
chore(backups/merge-worker/cli): fix lint error
2022-05-23 09:39:48 +02:00
Julien Fontanet
da181345a6
feat(xo-server/store): check access to leveldb dir
...
Avoid getting stuck on inaccessible leveldb directory.
2022-05-23 09:39:48 +02:00
Julien Fontanet
30874b2206
chore(xo-cli): convert to ESM
2022-05-19 10:41:39 +02:00
Thierry Goettelmann
2ed6b2dc87
feat(xo-web): ability to configure a default filter for Home/Storage ( #6237 )
...
Fixes #6236
2022-05-19 09:36:11 +02:00
Julien Fontanet
41532f35d1
fix(xo-server/BackupNg#_checkAuthorizations): don't fail on missing backup.vm
config section
...
Fixes the last part of #6243
2022-05-18 19:01:06 +02:00
Julien Fontanet
7a198a44cd
chore(xo-server/BackupNg#checkAuthorization): make private
...
It is not used elsewhere and it makes no sense to expose a method with such a generic name on the app instance.
2022-05-18 19:01:06 +02:00
Julien Fontanet
77d615d15b
chore(backups/Backup): pass baseSettings to VmBackup
...
Fix parts of #6243
2022-05-18 19:01:06 +02:00