Julien Fontanet
5a17c75fe4
feat: unified .npmignore for all packages
...
Ensure sources, tests and USAGE.Md files will not be published.
2021-04-07 13:58:14 +02:00
Julien Fontanet
4dc5eff252
chore(normalize-packages): remove unused require
2021-04-07 13:39:12 +02:00
Julien Fontanet
7fe0d78154
fix(compose/USAGE): typo
2021-04-07 13:36:24 +02:00
Julien Fontanet
2c709dc205
fix(xo-server/proxies): readChunk import
...
Introduced by 538253cdc
2021-04-07 13:09:29 +02:00
Julien Fontanet
9353349a39
chore(vhd-lib): use @vates/read-chunk
2021-04-07 13:08:44 +02:00
Julien Fontanet
d3049b2bfa
feat(@vates/read-chunk): 0.1.2
2021-04-07 13:07:57 +02:00
Julien Fontanet
61cb2529bd
feat(read-chunk/package.json): only publish index.js
2021-04-07 13:05:49 +02:00
Julien Fontanet
e6c6e4395f
chore(read-chunk): add tests
2021-04-07 13:03:56 +02:00
Julien Fontanet
959c955616
feat(read-chunk): handle 0 size
2021-04-07 12:51:27 +02:00
Julien Fontanet
538253cdc1
chore(xo-server/proxies): use @vates/read-chunk
2021-04-07 12:31:16 +02:00
Julien Fontanet
b4c6594333
chore(xo-server/utils): remove unused wrap
2021-04-07 12:25:47 +02:00
Julien Fontanet
a7f5f8889c
chore(xo-server/http): use @xen-orchestra/defined
2021-04-07 12:15:33 +02:00
Julien Fontanet
1c9b4cf552
feat(xo-server/Xo): pass appDir, AppName and httpServer
...
As done in xo-proxy.
This may allow sharing mixins in the future.
2021-04-07 10:41:50 +02:00
Julien Fontanet
ce09f487bd
feat(xo-server/XenServers): dont auto connect on safe mode
2021-04-07 10:41:50 +02:00
Julien Fontanet
a5d1decf40
feat(xo-server/Xo): safeMode param
2021-04-07 10:41:50 +02:00
Julien Fontanet
7024c7d598
chore(xo-server/Xo): pass config as named param
...
As done in xo-proxy.
2021-04-07 10:41:50 +02:00
Julien Fontanet
b61f1e3803
fix(xapi/VM_snapshot): VM#refresh_snapshots does not exist
...
Fixes xoa-support#3587
2021-04-04 22:41:46 +02:00
Julien Fontanet
db40f80be7
chore(CHANGELOG.unreleased): formatting
2021-04-04 22:36:35 +02:00
Julien Fontanet
0ffa925fee
chore(xo-server-load-balancer): format with Prettier
2021-04-02 15:34:38 +02:00
Julien Fontanet
082787c4cf
chore: update dependencies
2021-04-02 15:34:19 +02:00
Julien Fontanet
be9b5332d9
feat(xapi): add xo-xapi CLI
...
Allows to easily test @xen-orchestra/xapi features.
2021-04-01 14:47:04 +02:00
Julien Fontanet
97ae3ba7d3
feat(@xen-orchestra/proxy): 0.12.0
2021-04-01 14:09:09 +02:00
Julien Fontanet
d047f401c2
fix(CHANGELOG): move Highlights title under badge
...
Introduced by 1e9e78223
2021-04-01 14:08:12 +02:00
Julien Fontanet
1e9e78223b
fix(CHANGELOG): missing Highlights title
2021-04-01 13:44:21 +02:00
Julien Fontanet
6d5baebd08
feat: release 5.57.0
2021-04-01 13:29:58 +02:00
Julien Fontanet
40d943c620
feat(backups/CR writer): delete interrupted copies in prepare()
2021-04-01 10:52:06 +02:00
Julien Fontanet
e69b6c4dc8
fix(backups/delta writers): compute old entries before run
2021-04-01 10:48:39 +02:00
Julien Fontanet
23444f7083
fix(xo-server): Backup/getConnectedRecord receive XAPI not XO type
2021-03-31 16:48:20 +02:00
Julien Fontanet
8c077b96df
chore(xo-server/getXapiObject): clarify that second param is an XO type
2021-03-31 16:31:56 +02:00
Julien Fontanet
37b6399398
fix(backups/importDeltaVm): reverse newMacAddresses condition for VIF creation
...
Introduced by 4df8c9610
2021-03-30 21:26:08 +02:00
Julien Fontanet
ebf19b1506
fix(proxy/backup.importVmBackup): settings param is optional
...
Introduced by b475b265a
2021-03-30 21:26:08 +02:00
Julien Fontanet
e4dd773644
fix(proxy/api/ndJsonStream): dont fail if one message cannot be JSONified
2021-03-30 21:26:08 +02:00
Julien Fontanet
6e780a3876
fix(xapi/call{,Async}): fix call to retry
...
Introduced by 3bb7d2c29
2021-03-30 15:42:05 +02:00
Julien Fontanet
b475b265ae
feat(import VM backup): newMacAddresses setting
...
Related to #5697
2021-03-30 14:31:08 +02:00
Julien Fontanet
3bb7d2c294
feat(xapi/call{,Async}): retry if too many pending tasks
...
Logic from xo-server/xapi/call
2021-03-30 14:21:19 +02:00
Julien Fontanet
594a148a39
feat(xo-server): VDI_destroy instead of deleteVdi
2021-03-30 14:08:25 +02:00
Julien Fontanet
779591db36
feat(xapi/VDI_destroy): dont fail if VDI not found
...
Aligned with xo-server/xapi/deleteVdi.
2021-03-30 13:59:10 +02:00
Julien Fontanet
c002eeffb7
chore(proxy): remove unused Node test
...
The proxy now requires Node >=12
2021-03-30 09:23:15 +02:00
Julien Fontanet
1dac973d70
feat(backups/Task.wrapFn): compatibility with @decorateWith
2021-03-30 09:20:30 +02:00
Julien Fontanet
f5024f0e75
feat(backups/delta writers): split run method in prepare/transfer/cleanup
...
Fixes xoa-support#3523
This avoids starting the transfer before the writers are ready, which caused it to failed with `deleteFirst` when deletion was so long that the transfer stalled.
2021-03-30 09:20:30 +02:00
Julien Fontanet
bb671f0e93
feat(xapi): update to xo-common@0.7.0
2021-03-29 15:01:12 +02:00
Julien Fontanet
a8774b5011
chore(log/transport/console): remove unused code
2021-03-29 14:59:14 +02:00
Julien Fontanet
f092cd41bc
chore: named import from @xen-orchestra/log
2021-03-29 14:06:29 +02:00
Julien Fontanet
b17ec9731a
fix(xapi/task_create): dont use super
...
Introduced by 021810201b
It cannot be used due to our mixin architecture.
2021-03-28 23:29:17 +02:00
Julien Fontanet
021810201b
fix(xapi/task_create): remove duplicate [XO] prefix
...
Found while investigating xoa-support#3553
2021-03-28 14:30:36 +02:00
Julien Fontanet
6038dc9c8a
fix(xo-web/vm/advanced): RTL819 → RTL8139
...
Fixes #5698
2021-03-28 12:23:52 +02:00
Julien Fontanet
4df8c9610a
fix(backups/importDeltaVm): new mac_seed when using newMacAddresses
2021-03-26 17:14:37 +01:00
Julien Fontanet
6c12dd4f16
feat(xapi/VM_create): generateMacSeed option
2021-03-26 17:14:37 +01:00
Julien Fontanet
e40e35d30c
fix(xo-server): dont provide mac_send when importing OVA VM
...
Fixes xoa-support#3544
2021-03-25 15:51:02 +01:00
Julien Fontanet
d1af9f236c
feat(backup/importDeltaVm): restoreMacAddresses option
2021-03-24 16:39:08 +01:00
Julien Fontanet
45a0ff26c5
feat(xapi/VIF_create): MAC must be passed explicitely
2021-03-24 16:38:19 +01:00
Julien Fontanet
1fd330d7a4
fix(CHANGELOG.unreleased): @vates/disposable
2021-03-24 16:03:49 +01:00
Julien Fontanet
09833f31cf
fix(xapi/VM_export): correctly destroy snapshot after export
2021-03-24 16:00:45 +01:00
Julien Fontanet
20e7a036cf
feat(xapi): no longer use promise-toolbox/cancelable
2021-03-24 15:34:47 +01:00
Julien Fontanet
e6667c1782
fix(xapi/VM_destroy): only update blocked operations when bypassBlockedOperation
2021-03-24 15:13:09 +01:00
Julien Fontanet
657935eba5
feat(xapi/VM_destroy): split bypassBlockedOperation out of force
2021-03-24 15:12:25 +01:00
Julien Fontanet
67b905a757
feat(xapi/VM_destroy): forceDeleteDefaultTemplate default to force
2021-03-24 15:11:49 +01:00
Julien Fontanet
55cede0434
fix(xapi/VM_destroy): ignore missing VM.set_is_default_template
...
Introduced by 5f1c1278e
2021-03-24 15:09:09 +01:00
Julien Fontanet
c7677d6d1e
fix(xapi/VM_destroy): only update default template when forceDeleteDefaultTemplate
2021-03-24 15:07:30 +01:00
Julien Fontanet
0bd09896f3
feat(docs/xoa): network config for other interfaces
2021-03-24 09:49:59 +01:00
Julien Fontanet
8921d78610
fix(disposable/deduped): call dispose with disposable context
2021-03-24 00:27:25 +01:00
Julien Fontanet
b243ff94e9
feat(fs/lock): returns a disposable
2021-03-23 23:04:49 +01:00
Julien Fontanet
3689cb2a99
chore(fs/outputStream): dont normalize path twice
2021-03-23 12:53:17 +01:00
Julien Fontanet
3bb7541361
fix(fs/local): opts is optional
2021-03-23 12:53:17 +01:00
Julien Fontanet
7b15aa5f83
fix(package.json/jest.moduleNameMapper): dont map sub-modules
...
For instance `@xen-orchestra/async-map/legacy`.
2021-03-23 12:53:17 +01:00
Julien Fontanet
690d3036db
chore(xo-server): use native Promise#finally() ( #5687 )
2021-03-22 17:25:40 +01:00
Julien Fontanet
416e8d02a1
chore(xo-server): using → Disposable.use ( #5686 )
...
`using` is deprecated.
2021-03-22 17:25:28 +01:00
Julien Fontanet
a968c2d2b7
chore(xo-server): remove promise-toolbox/all uses ( #5685 )
2021-03-22 15:58:13 +01:00
Julien Fontanet
b4787bf444
fix(xo-server/(re)deployProxy): works whith missing bound VM
2021-03-22 14:44:39 +01:00
Julien Fontanet
a4d90e8aff
fix(xo-web/proxies): ignore running jobs on force upgrade
...
See #3527
2021-03-22 14:37:34 +01:00
Julien Fontanet
32d0606ee4
feat(@xen-orchestra/proxy): 0.11.6
2021-03-22 13:41:28 +01:00
Julien Fontanet
4541f7c758
chore(xo-server): remove pSettle ( #5682 )
2021-03-22 10:37:07 +01:00
Julien Fontanet
65428d629c
feat: release 5.56.2
2021-03-22 10:36:24 +01:00
Julien Fontanet
bdfd9cc617
feat: technical release
2021-03-22 09:56:31 +01:00
Julien Fontanet
6d324921a0
fix(CHANGELOG.unreleased): add xapi to packages to release
...
Introduced by dcf0f5c5a
2021-03-19 14:53:29 +01:00
Julien Fontanet
dcf0f5c5a3
fix(xapi/VM_create): ignore missing VM.set_bios_strings
...
Fixes xoa-support#3516
2021-03-19 14:51:51 +01:00
Julien Fontanet
d98f851a2c
fix(xo-web/restore): dont break if log is missing result
...
Found when investigating xoa-support#3516
2021-03-19 13:46:22 +01:00
Julien Fontanet
a95b102396
fix(backups/ImportVmBackup#run): dont swallow errors
...
Found when investigating xoa-support#3516
2021-03-19 13:38:17 +01:00
Julien Fontanet
7e2fbbaae6
fix(xo-server/createAuthenticationToken): parse expiresIn param
...
Introduced by 92cf6bb887
2021-03-19 13:02:19 +01:00
Julien Fontanet
070e8b0b54
fix(docs): restore full_backups.md
...
Introduced by 078f40281
2021-03-19 11:04:42 +01:00
Julien Fontanet
1e278bde92
feat(xo-common/Error.is): apply predicate only on data
...
See #5644
2021-03-19 10:30:35 +01:00
Julien Fontanet
853905e52f
feat(xen-api): automatically retry ro calls on ECONNRESET ( #5674 )
...
See xoa-support#3266
2021-03-16 17:31:18 +01:00
Julien Fontanet
2e0e1d2aac
fix(xo-server/xen-servers): fix autoconnection
...
Fixes #5675
Introduced by 2fbfc97cca
2021-03-16 13:59:01 +01:00
Julien Fontanet
7f33a62bb5
fix(async-map/asyncMap): fix typing of first param
2021-03-16 11:32:39 +01:00
Julien Fontanet
bdb59ea429
fix(Travis CI): use Node 14
2021-03-15 18:26:22 +01:00
Julien Fontanet
1c0ffe39f7
fix(xapi): merge vdiDestroyRetryWhenInUse after defaults
2021-03-15 13:22:41 +01:00
Julien Fontanet
2fbfc97cca
fix(xo-server): connect servers after config import ( #5672 )
...
Fixes #5670
2021-03-15 11:49:41 +01:00
Julien Fontanet
54f4734847
chore: remove babel-plugin-lodash where unnecessary
2021-03-13 20:47:20 +01:00
Julien Fontanet
0fb6cef577
chore(defined): remove Flow
2021-03-13 20:47:20 +01:00
Julien Fontanet
aff874c68a
chore(xo-server,xo-server-load-balancer): phase out mapToArray ( #5662 )
...
Use native `Array#map` or `Object.values` where possible and import directly from `lodash`.
Reasons:
- less dependencies
- more idiomatic
- better example for new code
2021-03-11 15:17:28 +01:00
Julien Fontanet
27abee0850
chore(xo-server-load-balancer): typo ressource → resource
2021-03-11 14:17:02 +01:00
Julien Fontanet
bcfb19f7c5
feat(normalize-packages): delete empty bin field
2021-03-11 12:15:53 +01:00
Julien Fontanet
306a8ce0df
feat(@xen-orchestra/proxy): 0.11.5
2021-03-10 13:48:15 +01:00
Julien Fontanet
d9ea8d2c9c
feat: release 5.56.1
2021-03-10 13:04:11 +01:00
Julien Fontanet
b479956bb2
feat: technical release ( #5657 )
2021-03-10 11:11:27 +01:00
Julien Fontanet
b32dc0e450
fix(xen-api/call): allow *.get_all_records in read only
2021-03-10 09:41:49 +01:00
Julien Fontanet
e246c19eb3
feat(xen-api/Ref): introduce new utils to manipulate refs ( #5650 )
...
Fixes xoa-support#3463
See xapi-project/xen-api#4338
2021-03-09 14:59:32 +01:00
Julien Fontanet
066f54906b
chore: format with Prettier
2021-03-08 17:41:10 +01:00
Julien Fontanet
ea0aa9df70
chore(xen-api): disable problematic ESLint rules on specific lines
2021-03-08 14:23:57 +01:00
Julien Fontanet
d601290c46
fix(destroy VM): try harder to destroy VDIs ( #5645 )
...
Should fix #4926
Work-around XCP-ng/XenServer unmount from control-domain delay, especially with iSCSI SRs.
This issue impacts a lot XO backups which create snapshots, export them and delete them.
2021-03-08 09:46:51 +01:00