Julien Fontanet
2dec327013
chore: update dependencies
2020-12-04 12:09:32 +01:00
Julien Fontanet
8f4dae3134
chore(multi-key-map/README): sync with USAGE
2020-12-03 14:16:13 +01:00
Julien Fontanet
a584daa92d
chore(emit-async/README): minor improvements/fixes
2020-12-03 14:16:13 +01:00
Julien Fontanet
43431aa9a0
chore(fs/outputStream): remove duplicate await
2020-12-03 14:16:13 +01:00
Julien Fontanet
4a6724f664
fea: release 5.53.0 ( #5416 )
2020-11-30 15:39:32 +01:00
Julien Fontanet
a960737207
feat: technical release ( #5415 )
2020-11-30 15:33:14 +01:00
Julien Fontanet
517430f23d
feat(xo-server/vm.set memory{,Max}): better error when DMC disabled and VM running
2020-11-30 14:39:36 +01:00
Julien Fontanet
48e82ac15b
feat(xo-server/vm.set memory{,Max}): handle MEMORY_CONSTRAINT_VIOLATION_MAXPIN
...
Fixes #4978
Fixes #5326
Fixes xoa-support#1187
This error is used when DMC is disabled.
2020-11-30 14:39:36 +01:00
Julien Fontanet
eead64ff71
feat(xo-server/authenticateUser): make throttling delay configurable
2020-11-30 12:53:40 +01:00
Julien Fontanet
92cf6bb887
chore(xo-server/authentication): parseDuration in constructor
2020-11-30 11:23:49 +01:00
Julien Fontanet
7a8ca2f068
chore: change print width to 120 chars
2020-11-24 10:51:35 +01:00
Julien Fontanet
01a90a1694
feat(xapi-explore-sr): 0.3.0
2020-11-09 12:33:45 +01:00
Julien Fontanet
52801c5afc
fix(fs/nfs): only use vers=3 if no other options ( #5354 )
...
Fixes #4940
2020-11-02 22:21:27 +01:00
Julien Fontanet
5a828a6465
fix(CHANGELOG): "Packages to release* → *Released packages*
2020-10-30 11:48:53 +01:00
Julien Fontanet
eaa9f36478
feat: technical release ( #5350 )
2020-10-30 10:09:37 +01:00
Julien Fontanet
2b63134bcf
feat(xo-web): add API debug mode
...
Adding `?debug` in URL (as search param), log all API calls in browser console.
2020-10-30 09:34:17 +01:00
Julien Fontanet
8dcff63aea
fix(xo-server/{CR,DR}): add tags at VM creation ( #5341 )
...
Fixes https://xcp-ng.org/forum/topic/3285/cr-tag-ignored-kind-of-in-smart-backup
Necessary to avoid smart mode from matching the replicated VMs currently being imported.
2020-10-29 17:27:04 +01:00
Julien Fontanet
9ba2b18fdb
feat(xo-server/backup): dont backup migrating VMs
...
Fixes xoa-support#2953
2020-10-29 16:27:38 +01:00
Julien Fontanet
8d2e23f4a8
fix(xo-server): remove TLS config to use native settings
...
See https://xcp-ng.org/forum/topic/3747/xen-orchestra-tls-minimum-version-requirement-how-to-set
2020-10-26 15:54:29 +01:00
Julien Fontanet
4911bbe3a2
chore: normalize packages
2020-10-23 10:21:52 +02:00
Julien Fontanet
e0b6ab3f8a
feat(value-matcher/README): document patterns
2020-10-23 10:21:52 +02:00
Julien Fontanet
5e6d5d4eb0
docs(xo-server): file restoration ( #5336 )
2020-10-20 15:35:16 +02:00
Julien Fontanet
2a270b399e
fix(xo-server/getRemoteHandler): synchronize to avoid race conds during sync
2020-10-19 22:35:13 +02:00
Julien Fontanet
64109aee05
chore(vhd-lib/Vhd#_createBlock): assert block not already allocated
2020-10-19 22:33:58 +02:00
Julien Fontanet
e1d9395128
feat(vhd-lib/Vhd#_createBlock): dont initialize block
...
It's unnecessary, the block is written right after creation.
2020-10-19 22:30:57 +02:00
Julien Fontanet
32eec95c26
feat(@xen-orchestra/backups-cli): 0.2.1
2020-10-19 17:15:00 +02:00
Julien Fontanet
ea74a7e401
fix(backups-cli clean-vms): fix limit-concurrency-decorator import
2020-10-06 18:35:35 +02:00
Julien Fontanet
3616b7a67b
feat(xo-server/sensitive-values): make obfuscated value obvious
2020-10-01 15:01:21 +02:00
Julien Fontanet
83ea57d825
feat(xo-server/vm.migrate): ensure original error is logged
...
Fixes https://github.com/vatesfr/xen-orchestra/pull/4364/files#r488539823
2020-10-01 14:52:42 +02:00
Julien Fontanet
d1db616d1e
feat(backups-cli/clean-vms): limit VHD merging concurrency to 1
2020-09-29 10:43:48 +02:00
Julien Fontanet
511a04dad5
feat(xo-server-auth-ldap/configuration): add titles and reorder settings
2020-09-27 20:37:00 +02:00
Julien Fontanet
fdbe84cb1e
chore(xo-server-test): format with Prettier
2020-09-27 19:42:35 +02:00
Julien Fontanet
a523fa9733
feat(@xen-orchestra/backups-cli): 0.2.0
2020-09-24 15:14:07 +02:00
Julien Fontanet
0f42f032e4
feat(backups-cli/info): compute the used space per job
2020-09-24 15:12:38 +02:00
Julien Fontanet
726ba287b1
chore(xo-server-audit/_uploadLastHash): simplify conditions
2020-09-17 10:07:32 +02:00
Julien Fontanet
42ee29cb3c
fix(xo-server-audit/_uploadLastHash): dont hide errors
2020-09-17 10:06:28 +02:00
Julien Fontanet
14ab694804
fix(xo-cli): mkdirp must not be promisified
...
Introduced by d622f7a65
2020-09-16 15:56:38 +02:00
Julien Fontanet
4264e34ffd
feat(xo-web/createSubscription): support lazy subscribers ( #5158 )
...
These subscribers follow the value of the subscription but do not make the
subscription refresh itself.
A lazy subscriber triggers an initial fetch if no value is available.
2020-09-16 10:49:54 +02:00
Julien Fontanet
9e37f3f586
feat(xo-web/new VM): hide missing VDIs
...
See #5222
Related to 15bc30a2d
2020-09-11 11:11:25 +02:00
Julien Fontanet
12c774a34a
feat(travis-tests): dont stop on first failure on master
2020-09-10 16:42:56 +02:00
Julien Fontanet
38248d8c35
fix(test): auto map @xen-orchestra/*, @vates/* and xo-*
2020-09-10 15:32:08 +02:00
Julien Fontanet
d622f7a65c
chore: update dependencies
2020-09-07 10:26:51 +02:00
Julien Fontanet
24b264b6c9
fix(xo-server): TX checksumming is enabled by default
...
Introduced by fe2de9c1154c5a0b183c6d7897f1d9c376fa4031
Fixes #5234
2020-08-28 16:01:26 +02:00
Julien Fontanet
b82aa1daa5
feat: release 5.50
2020-08-27 15:06:49 +02:00
Julien Fontanet
53cb325974
feat: technical release
2020-08-27 14:46:33 +02:00
Julien Fontanet
1256c320e3
feat(xo-web/host/network): button to scan PIFs
...
Fixes #5230
2020-08-27 11:42:28 +02:00
Julien Fontanet
15bc30a2d5
feat(xo-web/iso-device): hide missing VDIs
...
Fixes #5222
2020-08-27 11:13:59 +02:00
Julien Fontanet
fc3bc8468f
feat(xo-server/backup): add proxyId to job log
2020-08-27 10:54:44 +02:00
Julien Fontanet
b4e068f630
chore(xo-server/backup executor): proxyId = job.proxy
2020-08-26 16:50:33 +02:00
Julien Fontanet
f957024605
chore(xo-web): use js-cookie instead of cookies-js ( #5224 )
...
See #5223
`cookies-js` is no longer maintained.
2020-08-19 17:18:03 +02:00
Julien Fontanet
5f7f0b777e
fix(xo-server): use http.cookies config everywhere
2020-08-17 11:06:45 +02:00
Julien Fontanet
3f574606d9
feat(backups-cli/clean-vms): display merge progress
2020-08-17 11:06:45 +02:00
Julien Fontanet
04924884ad
feat(@xen-orchestra/backups-cli): 0.1.0
2020-08-11 09:57:01 +02:00
Julien Fontanet
3ccf64fcd3
feat(backups-cli/clean-vms): merge single children
2020-08-11 09:56:25 +02:00
Julien Fontanet
8eb7f9b91c
fix(xo-server-sdn-controller): remove deprecated uuid import
2020-08-10 11:15:40 +02:00
Julien Fontanet
f25c50c629
chore: update dev deps
2020-08-10 11:15:40 +02:00
Julien Fontanet
0930a37819
fix(CHANGELOG.unreleased): add xo-server patch
...
Due to 2789ead99
2020-08-05 12:33:30 +02:00
Julien Fontanet
2789ead999
fix(xo-server/pool.listMissingPatches): really dont log errors
...
Previous fix (e1bf68ab3 ) was incorrect.
2020-08-05 11:10:35 +02:00
Julien Fontanet
015c6037c4
fix: add prepublishOnly to replace removed prepare scripts
...
Introduced by 452a7e744
2020-07-30 19:07:36 +02:00
Julien Fontanet
281a5ff991
chore: remove unused JSHint comments
2020-07-30 14:32:19 +02:00
Julien Fontanet
ea8f319f45
feat(self-signed): expose days option
2020-07-30 11:20:57 +02:00
Julien Fontanet
a5935b40d5
feat(xo-server/api): user must be signed in by default ( #5175 )
...
It's a lot more secure than previous default value.
2020-07-29 10:40:17 +02:00
Julien Fontanet
3d13d9b0dc
feat(xo-server/addApiMethod): check method props
2020-07-28 16:02:32 +02:00
Julien Fontanet
b74ec2d7d3
fix(xo-web/backup/restore): dont fail if no backups for a VM ( #5156 )
...
Fixes xoa-support#2707
The API does not guarantee that each VM UUID will have at least a backup, and when it happens, the code failed because `first` and `last` where not properly defined.
2020-07-16 14:29:10 +02:00
Julien Fontanet
26a295c8ed
chore(xo-web/createSubscription/run): add small comment
2020-07-13 16:13:33 +02:00
Julien Fontanet
2a71d3d20c
chore(xo-web/createSubscription): rename loop to run
2020-07-13 16:10:48 +02:00
Julien Fontanet
f51bcfa05a
feat(xo-server-audit): add active setting (default false) ( #5151 )
2020-07-10 14:29:30 +02:00
Julien Fontanet
cd70d3ea46
fix(Travis CI): use Node 12 ( #5147 )
2020-07-09 15:51:22 +02:00
Julien Fontanet
d387227cef
fix(xo-server/backups): dont ignore proxy job result/error
2020-07-09 09:40:02 +02:00
Julien Fontanet
7ea50ea41e
fix(xo-server/callProxyMethod): dont use HTTP proxy
2020-07-06 17:06:37 +02:00
Julien Fontanet
cbada35788
fix(xo-server/file restore): dont fail on LVM partitions
...
Fixes xoa-support#2640
Introduced by 48ce7df43
The issue was due to object spreading copying only own properties but `path` is now an inherited property due to `dedupeUnmount`.
2020-07-03 11:05:04 +02:00
Julien Fontanet
44ff2f872d
feat(xo-server/getBackupNgLogs): dont fail on undefined/null errors
...
See xoa-support#2663
This should almost never happen but if it does, it should not prevent logs from being consolidated.
2020-07-03 09:22:28 +02:00
Julien Fontanet
2198853662
feat(xo-server/logs-cli): can match on missing props
2020-07-03 09:22:28 +02:00
Julien Fontanet
1d0cea8ad0
feat(xo-server/logs-cli): add --delete command
2020-07-01 18:04:45 +02:00
Julien Fontanet
5c901d7c1e
fix(xo-server/logs-cli): dont fail on non-string value
2020-07-01 18:01:34 +02:00
Julien Fontanet
1dffab0bb8
feat(xen-api): 0.29.0
2020-07-01 17:11:19 +02:00
Julien Fontanet
ae89e14ea2
feat(xo-server/getRemoteHandler): throw for proxy remotes
2020-07-01 11:46:28 +02:00
Julien Fontanet
86bfd91c9d
feat(xo-server/backup): logs proxy support
2020-06-30 15:45:40 +02:00
Julien Fontanet
0ee412ccb9
feat(xo-server/callProxyMethod): allow proxy.address to contain port
2020-06-30 15:20:58 +02:00
Julien Fontanet
b8bd6ea820
chore(xo-server/callProxyMethod): use parse.result to handle errors
2020-06-30 12:14:45 +02:00
Julien Fontanet
98a1ab3033
fix(xo-server/callProxyMethod): destroy lines stream in case of error
2020-06-30 12:14:45 +02:00
Julien Fontanet
e360f53a40
fix(xo-server/callProxyMethod): all lines should be JSON parsed
2020-06-30 12:14:45 +02:00
Julien Fontanet
237ec38003
fix(xo-server/callProxyMethod): lines is an object stream
2020-06-30 12:14:45 +02:00
Julien Fontanet
30ea1bbf87
feat(xo-server/callProxyMethod): expectStream as named option
2020-06-30 12:14:45 +02:00
Julien Fontanet
41fb06187b
fix(coalesce-calls/README): fix import
2020-06-29 15:39:14 +02:00
Julien Fontanet
adf0e8ae3b
feat(@vates/coalesce-calls): 0.1.0
2020-06-29 15:33:53 +02:00
Julien Fontanet
857a9f3efc
feat(xen-api): optional sync traces ( #5091 )
...
Initial actions call stacks are often missing from the resulting error for the following reasons:
- low level Node functions don't have proper stack traces
- replies handling maybe separate from requests (eg watchers)
This commit adds the option `syncStackTraces` that works around this, it has a performance impact but is useful for debugging.
2020-06-18 17:19:21 +02:00
Julien Fontanet
c5fa94894b
feat(xen-api): require Node >=7.6
...
Native support of async functions which leads to better stack traces.
2020-06-16 12:54:51 +02:00
Julien Fontanet
f74ecc53ae
chore(xo-server): use @vates/decorate-with
2020-06-12 11:18:47 +02:00
Julien Fontanet
c4121073ad
feat(@vates/decorate-with): 0.0.1
2020-06-12 11:12:49 +02:00
Julien Fontanet
9ded2641a7
chore(xo-server/authentication): remove unused import
2020-06-12 11:02:42 +02:00
Julien Fontanet
295ca68d02
chore(xo-server): use @vates/parse-duration
2020-06-12 11:02:42 +02:00
Julien Fontanet
27f53f262b
feat(@vates/parse-duration): 0.1.0
2020-06-12 11:02:42 +02:00
Julien Fontanet
bbb359470e
fix(xo-server/backup): remove enumerable xapi on SR records ( #5069 )
...
Fixes xoa-support#2527
This was causing huge logs in case of CR/DR errors because this property was included and pulled in all XAPI records.
Instead of making it non-enumerable, I was able to remove entirely because records now already include a non-enumerable `$xapi` property.
2020-06-10 11:25:32 +02:00
Julien Fontanet
c9c271fee8
feat(xen-api): $xapi defined on prototype instead of record
...
This should reduce a bit memory consumption.
2020-06-09 23:17:02 +02:00
Julien Fontanet
83ade5eecb
chore(CHANGELOG.unreleased): clarify that packages are not yet released
2020-06-08 10:54:42 +02:00
Julien Fontanet
703fcbccd6
feat(xo-server/xo.exportConfig): entries param
...
Can be used to export a subset of the config, example:
```
xo.exportConfig entries=["acls"]
```
This will only export `acls` entries and dependencies (`groups` and `users`).
2020-06-05 13:57:54 +02:00
Julien Fontanet
2f9cbec07e
feat(xo-cli): support @=- to output to stdout
2020-06-05 13:57:54 +02:00
Julien Fontanet
ab5907c09c
feat(xo-server/logs-cli): implement --gc
2020-06-05 10:58:26 +02:00
Julien Fontanet
f18e98a63e
chore: reformat code with Prettier
2020-06-03 11:03:03 +02:00