Julien Fontanet
4e3628c6fb
fix(xapi/watchObject): correctly register generic watcher
2021-04-26 16:12:00 +02:00
Julien Fontanet
d6bea8aed8
feat(xapi/waitObject): simpler API
...
Align the API of `watchObject`, take a callback as param and return a function to stop waiting.
2021-04-26 15:30:45 +02:00
Julien Fontanet
a254097092
feat(xapi/watchObject): split from waitObject
2021-04-26 15:26:06 +02:00
Julien Fontanet
b2a3d224a5
feat(xapi/waitObject): make public
2021-04-26 14:29:52 +02:00
Julien Fontanet
b495c2b60b
fix(xo-server/Xapi#importDeltaVm): remove transferSize in result
...
Not necessary and broken since bdb0ca836
2021-04-26 14:27:11 +02:00
Julien Fontanet
452f76cbef
fix(xo-server/xapi): remove _waitObject
...
It was shadowing the parent implementation.
2021-04-26 14:23:43 +02:00
Julien Fontanet
3a0690bfee
chore(proxy/api): dont access to stream private state
2021-04-26 11:44:55 +02:00
Julien Fontanet
29fd2ff5e9
feat(backups): lock VM dir during backup ( #5746 )
...
May fix xoa-support#3387
2021-04-26 09:23:20 +02:00
Julien Fontanet
a344b3b76d
feat(xapi/_waitObject): cancelation support
...
Related to #5747
2021-04-25 16:01:32 +02:00
Julien Fontanet
14cf955cb9
chore(xapi): use extensions for file imports
...
Will be necessary for ESM.
2021-04-25 14:40:06 +02:00
badrAZ
31193d5b40
fix(xo-server/backup-ng#deleteVmBackupNg): pass remote obj to deleteVmBackup ( #5744 )
2021-04-23 16:34:23 +02:00
Julien Fontanet
d6dc63c491
chore(CHANGELOG.unreleased): format with Prettier
2021-04-23 16:04:38 +02:00
Julien Fontanet
263f693542
chore(xen-api): remove unused memory test
2021-04-23 14:59:02 +02:00
Julien Fontanet
3f42199f8f
feat(normalize-packages): dont use files field
...
A centralized npmignore is easier to use and maintain.
2021-04-23 14:47:34 +02:00
Julien Fontanet
251ccd2e38
chore(npmignore): dont publish docs directories
2021-04-23 14:47:34 +02:00
Julien Fontanet
82ccf5886e
chore(npmignore): dont publish hidden files
2021-04-23 14:47:34 +02:00
Julien Fontanet
6acb1e3853
chore(eslint): only use @babel/eslint-parser for pkgs using Babel
2021-04-23 14:47:34 +02:00
Mathieu
8c0238e98f
feat(xo-server/pif.reconfigureIp): reconfigure on host if management ( #5745 )
...
Fixes #5730
2021-04-23 14:07:18 +02:00
Mathieu
e7779c3d55
feat(xo-server/template): ability to create a template from snapshot ( #5736 )
...
Fixes #4891
2021-04-23 10:52:35 +02:00
Julien Fontanet
bdb0ca836c
feat(xo-server): remove legacy backups ( #5735 )
...
BREAKING: all `backup.*` API methods removed
2021-04-23 09:40:46 +02:00
Rajaa.BARHTAOUI
53038a0372
feat(xo-web): remove legacy backups ( #5718 )
2021-04-23 09:39:12 +02:00
Julien Fontanet
1b0eb91d58
chore(backups/writers): remove unnecessary index
2021-04-22 14:22:03 +02:00
Julien Fontanet
5814ba38ac
chore(ackups,proxy,xo-server): use extensions for file imports
...
Follow-up on 7f570c074
, 5171378be
and b2ec0d288
Will be necessary for ESM.
2021-04-22 13:43:57 +02:00
Julien Fontanet
b2ec0d288b
chore(xo-server): use extensions for file imports
...
Will be necessary for ESM.
2021-04-22 13:24:06 +02:00
Julien Fontanet
5171378bea
chore(proxy): use extensions for file imports
...
Will be necessary for ESM.
2021-04-22 13:16:47 +02:00
Julien Fontanet
7f570c074b
chore(backups): use extensions for file imports
...
Will be necessary for ESM.
2021-04-22 13:12:14 +02:00
Julien Fontanet
dac675143f
chore(proxy): backups/index.js → backups.js
2021-04-22 13:10:30 +02:00
Julien Fontanet
72a5f0e220
chore: use decorateWith instead of defer decorator syntax
...
`golike-defer` built-in decorator syntax will be removed in future versions.
2021-04-21 17:47:40 +02:00
Julien Fontanet
375aaa8430
chore: dont use default export from golike-defer
...
- will be removed in future version
- not compatible with ESM implementation in Node
2021-04-21 17:20:16 +02:00
Julien Fontanet
4c704a8a3a
chore(proxy/appliance): dont import log from dist/
2021-04-21 16:59:50 +02:00
Julien Fontanet
78c0f2c7e9
chore: remove Flow
...
It was not used nor maintained by XO devs, and was causing issues with editors.
JSDoc or TypeScript should be used instead.
2021-04-21 16:55:03 +02:00
badrAZ
c262dd06e6
fix(@xen-orchestra/backups/isValidXva): move as RemoteAdapter method ( #5741 )
2021-04-21 16:27:13 +02:00
badrAZ
e0d6b501c7
feat(@xen-orchestra/backups): clean VM backups on run ( #5727 )
2021-04-21 13:27:33 +02:00
Julien Fontanet
efc3f45ef6
feat(babel-config): use top level targets option
...
See https://babeljs.io/blog/2021/02/22/7.13.0#top-level-targets-option-12189httpsgithubcombabelbabelpull12189-rfchttpsgithubcombabelrfcspull2
2021-04-20 16:24:44 +02:00
Julien Fontanet
24d8ef25bb
feat(backups/VmBackup#run): assert offlineBackup not with snapshotRetention
...
See #5740
2021-04-20 15:03:17 +02:00
Julien Fontanet
2aca775907
fix(backups/VmBackup#_snapshot): dont fail on !offlineBackup && !snapshotRetention
...
Introduced by 7aa10ef4be
2021-04-20 14:59:18 +02:00
badrAZ
7aa10ef4be
fix(backups): don't snapshot in case of offline backup ( #5739 )
...
Introduced by 0811da9014
2021-04-20 11:01:39 +02:00
Julien Fontanet
17ad622ce3
chore: update dev deps
2021-04-20 10:58:25 +02:00
Julien Fontanet
cc7431a092
chore(xo-server-test): update jest to 24.6.3
2021-04-20 10:51:57 +02:00
Julien Fontanet
4199d02d98
chore(xo-server-{auth-saml,transport-nagios}): remove unused dep babel-preset-env
2021-04-20 10:44:02 +02:00
badrAZ
8c434760fb
fix(@xen-orchestra/backups/_cleanVm): don't resolve paths relatively to cwd ( #5738 )
2021-04-20 10:35:28 +02:00
Julien Fontanet
5f63b99dc8
feat(backups/_backupWorker): log global errors
2021-04-19 20:13:57 +02:00
Julien Fontanet
edd0ae4c59
fix(xapi/VM_snapshot): correctly delete broken snapshot
...
Introduced by 6b1c30157
2021-04-19 18:35:05 +02:00
Pierre Donias
3944e6450d
feat(fs/nfs): remove vers=3
default option ( #5725 )
2021-04-19 15:29:17 +02:00
Julien Fontanet
a8e5ad42ba
chore(xo-web): migrate to babel 7
...
Fix linting.
2021-04-19 15:18:09 +02:00
Julien Fontanet
d3bfb0b87b
fix(xapi/VM_destroy): ensure all VDIs deletion errors are caught/logged
...
Related to 6b1c30157
2021-04-19 10:45:46 +02:00
Pierre Donias
75e3e36aa8
feat(xo-web/new VM): only send memory
param so that it doesn't enable DMC ( #5729 )
...
Fixes xoa-support#3591
See 70d1537ecc
- If only "RAM" field is filled: only send `memory` param
- If any of the advanced memory fields are filled:
- only send those
- if "Dynamic memory max" field is empty, use the "RAM" field value for
`memoryDynamicMax` param
2021-04-19 10:16:56 +02:00
Julien Fontanet
9102b4aa1b
fix(fs): coalesce calls to sync/forget ( #4770 )
...
Might help with xoa-support#3637
It does not makes sense to call them multiple times and can create issues.
2021-04-17 14:55:21 +02:00
badrAZ
e744d90dbb
fix(xo-server/backups-ng): continue execution when VM/SR is missing ( #5733 )
...
Introduced by 60ecfbfb8e
2021-04-16 23:33:20 +02:00
badrAZ
c38b957d7c
fix(xo-{server,proxy}/config): add copyRetention default value ( #5737 )
...
Introduced in xo-server by 0811da901
2021-04-16 14:56:43 +02:00