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
Julien Fontanet
3524886d5d
chore: update dev dependencies
2020-06-03 11:03:03 +02:00
Julien Fontanet
fb44eea06c
fix(xo-server): load globally installed plugin
...
It has been broken by d4526e1ed
Thanks @Danp2 for the report!
2020-06-02 20:44:33 +02:00
Julien Fontanet
3ea4c757e6
feat(backups-cli): clean checksums for missing XVAs
2020-06-02 15:27:36 +02:00
Julien Fontanet
e289f2dba2
fix(auth-ldap/authenticate): dont use second param as logger ( #5039 )
2020-06-02 11:11:25 +02:00
Julien Fontanet
d4526e1ed2
feat(xo-server): load @xen-orchestra/server-* plugins
2020-06-01 21:06:04 +02:00
Julien Fontanet
34f42216c8
feat(*/README.md): better badges
2020-06-01 14:41:52 +02:00
Julien Fontanet
a26a24a8ad
fix(normalize-packages): dont replace author in READMEs
2020-06-01 14:06:09 +02:00
Julien Fontanet
4530fd4164
chore(*/package.json): normalize author to Vates SAS
2020-06-01 14:06:09 +02:00
Julien Fontanet
6212109fc1
feat(@vates/read-chunk): 0.1.1
2020-05-29 15:10:20 +02:00
Julien Fontanet
c22a080e23
fix(read-chunk): not an ES module
2020-05-29 15:10:20 +02:00
Julien Fontanet
834a7109f9
fix: add @vates to list of workspaces
2020-05-29 15:10:20 +02:00
Julien Fontanet
d0b9380dca
fix(*/README): license link
2020-05-28 21:24:20 +02:00
Julien Fontanet
13fd9be566
feat(*/README.md): re-generate for all packages
2020-05-28 20:56:14 +02:00
Julien Fontanet
53a9aa6ad2
fix(vhd-lib): dont prefer global install
2020-05-28 20:29:10 +02:00
Julien Fontanet
c2ce4aca1b
feat(async-map/package.json): add description
2020-05-28 20:28:52 +02:00
Julien Fontanet
567f6d7cc0
fix: prefer global install for CLIs
2020-05-28 20:28:28 +02:00
Julien Fontanet
489c0b27f9
fix: use AGPL-3.0-or-later licenses for xo pkgs
2020-05-28 20:27:39 +02:00
Julien Fontanet
343f988584
fix: use AGPL-3.0-or-later license identifier
...
`AGPL-3.0` identifier has been deprecated by SPDX.org
2020-05-28 20:26:55 +02:00
Julien Fontanet
7f676c56c8
feat(normalize-packages): add license to all packages
2020-05-28 16:05:55 +02:00
Julien Fontanet
3c0ca7026f
fix(read-chunk/README): fix pkg name
2020-05-28 16:05:55 +02:00
Julien Fontanet
6db5e0b27c
feat(@vates/read-chunk): 0.1.0
2020-05-28 14:49:00 +02:00
Julien Fontanet
dfecb801db
fix(read-chunk/USAGE): fix pkg name
2020-05-28 14:48:27 +02:00
Julien Fontanet
c10bfe3db2
feat(read-chunk): module to read data from stream
2020-05-28 14:45:22 +02:00
Julien Fontanet
20fb2c99bc
feat(normalize-packages): generate README.md from USAGE.md
2020-05-28 14:45:21 +02:00
Julien Fontanet
f44e5b3b7a
fix(babel-config): remove auto useBuiltIns
...
Too magical, caused too much problems.
2020-05-27 10:25:41 +02:00
Julien Fontanet
6e24bf5f8c
fix(xo-{cli,upload-ova}): remove deprecated dep @babel/polyfill
2020-05-27 10:13:54 +02:00
Julien Fontanet
8fb43e31c5
fix(babel-config): useBuiltIns only if core-js
...
Because `@babel/polyfill` is deprecated.
See https://babeljs.io/docs/en/babel-preset-env#usebuiltins
2020-05-27 10:13:30 +02:00
Julien Fontanet
0860c80e51
fix(*/README): legacy project URLs
2020-05-27 10:04:00 +02:00
Julien Fontanet
66fc25756f
Revert "feat(xo-server): load plugins from mono-repo"
...
This reverts commit 3e3ce543a8 .
This can cause problems due to duplicate loading.
2020-05-27 09:53:46 +02:00
Julien Fontanet
3e3ce543a8
feat(xo-server): load plugins from mono-repo
2020-05-26 14:01:43 +02:00
Julien Fontanet
6c447a82f1
chore(audit-core): remove unused dev dep
2020-05-26 13:59:06 +02:00
Julien Fontanet
64a0918ff1
chore(yarn.lock): update dependencies
2020-05-26 13:59:06 +02:00
Julien Fontanet
b9a18807ae
fix(xo-server/_handleHttpRequest): dont write if something has been sent
2020-05-25 09:58:03 +02:00
Julien Fontanet
4159fd2ffb
fix(backups-cli/_fs/readdir2): dont warn on missing dir
2020-05-22 23:48:15 +02:00