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
Julien Fontanet
c7bc397c85
chore(backups/Backup): group settings generation in constructor
2022-05-18 19:01:06 +02:00
Julien Fontanet
38388cc297
chore(backups/VmBackup): remove unused remotes param
2022-05-18 19:01:06 +02:00
Julien Fontanet
a7b17b2b8c
chore(backups/Backup): assign this.run in constructor depending of type
2022-05-18 19:01:06 +02:00
Florent BEAUCHAMP
d93afc4648
fix(xo-web/remotes): form not saving HTTPS and allow unauthorized during S3 creation ( #6219 )
2022-05-18 12:07:38 +02:00
Julien Fontanet
24449e41bb
docs(backups): run description object
2022-05-18 11:22:30 +02:00
Julien Fontanet
df6f3ed165
chore(backups,xo-server,proxy): centralize default settings
2022-05-18 11:14:56 +02:00
Julien Fontanet
ca5914dbfb
docs(backups): outline writer API
2022-05-17 14:07:01 +02:00
Julien Fontanet
3c3a1f8981
chore: update dev deps
2022-05-17 11:27:06 +02:00
Florent BEAUCHAMP
01810f35b2
fix(S3#_list): handle remote without base directory ( #6218 )
...
Related to zammad#6740
2022-05-17 10:56:45 +02:00
Florent BEAUCHAMP
5db4083414
feat(backups): add settings to force snapshotting during VM backup ( #6221 )
...
Fixes zammad#6735
2022-05-17 10:54:28 +02:00
Florent BEAUCHAMP
8bf3a747f0
feat(backups): add cache for backup metadata ( #6220 )
...
Fixes zammad#5747
Listing all the backup can be slow. To speed it up, the metadata of all the backups of each VM is cached in a single gzipped JSON file.
The cache is invalidated when a backup is deleted or created.
2022-05-17 10:43:00 +02:00
Julien Fontanet
f0e817a8d9
chore: format with Prettier
2022-05-17 10:35:16 +02:00
Florent Beauchamp
b181c59698
fix(fs/S3#_createReadStream): avoid race condition when checking file exist
2022-05-17 10:34:08 +02:00
Julien Fontanet
cfa094f208
chore(xo-proxy-cli): convert to ESM
2022-05-16 17:27:00 +02:00
Julien Fontanet
9ee5a8d089
fix(xo-proxy-cli): don't try to load xo-proxy vendor config
...
It's not necessary, not relevant (because it does not belong to this app) and the path was incorrect anyway.
2022-05-16 17:27:00 +02:00
Denis Fondras
819127da57
docs(installation): add OpenBSD instruction ( #5762 )
2022-05-16 12:05:52 +02:00
Julien Fontanet
6e9659a797
feat: release 5.70.2
2022-05-16 10:22:53 +02:00
Julien Fontanet
07bd9cadd4
fix(xo-server/vm.create): typo during VIF creation
...
Introduced by ecae554a7
Fixes https://xcp-ng.org/forum/post/49143
2022-05-15 14:32:59 +02:00
Florent BEAUCHAMP
a1bcd35e26
feat(backups/cleanVm): can fully merge VHD chains ( #6184 )
...
Before this change, `cleanVm` only knew how to merge a single VHD, now, with the help of `VhdSynthetic`, it can merge the whole chain in a single pass.
2022-05-13 16:46:22 +02:00
Florent BEAUCHAMP
1a741e18fd
fix(vhd-lib/VhdDirectory#writeChunkFilters): correctly overwrite chunk-filter.json ( #6235 )
2022-05-13 13:38:02 +02:00
Olivier Lambert
2e133dd0fb
feat: create SECURITY.md ( #6176 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com>
2022-05-13 10:58:55 +02:00
Julien Fontanet
ecae554a78
chore(xo-server): use @xen-orchestra/xapi/VIF_create
2022-05-12 15:36:19 +02:00
Julien Fontanet
4bed50b4ed
chore(xo-server): remove unused {export,import}DeltaVm functions
2022-05-12 15:10:48 +02:00
Julien Fontanet
c92b371d9e
feat(xo-server): 5.93.1
2022-05-12 11:50:48 +02:00
Julien Fontanet
35e6bb30db
feat(@xen-orchestra/proxy): 0.22.1
2022-05-12 11:49:32 +02:00
Julien Fontanet
1aaa123f47
feat(@xen-orchestra/mixins): 0.4.0
2022-05-12 11:47:59 +02:00
Julien Fontanet
a8c507a1df
feat(@xen-orchestra/backups): 0.23.0
2022-05-12 11:43:41 +02:00