Rajaa
76bdc05320
vmId instead vmData
2023-02-21 19:28:12 +01:00
Rajaa
49da3481a8
fix ova/xva import
2023-02-21 19:28:12 +01:00
Rajaa
1c3e879da8
more fixes & remove unnecessary changes
2023-02-21 19:28:12 +01:00
Rajaa
d82d640c3d
fixes from feedbacks
2023-02-21 19:28:12 +01:00
Rajaa
ffff7e7762
fixes from feedbacks
2023-02-21 19:28:11 +01:00
Rajaa
4b218e5ee2
handle ESXI import
2023-02-21 19:28:11 +01:00
Rajaa
4917223c2d
minor changes
2023-02-21 19:28:11 +01:00
Rajaa
a8d37f1a43
handle when pool is undefined
2023-02-21 19:28:11 +01:00
Rajaa
88970f3d27
refactor duplicate code
2023-02-21 19:28:11 +01:00
Rajaa
6bd6045b6a
fixes and remove unnecessary changes
2023-02-21 19:28:11 +01:00
Rajaa
7c3464edd0
improvement code
2023-02-21 19:28:11 +01:00
Rajaa
ee8699893e
improved code to increase readability
2023-02-21 19:28:11 +01:00
Rajaa
c1aca3e37a
support selecting ESXI
2023-02-21 19:28:11 +01:00
Rajaa
05cc7c64b4
feat(xo-web/import/esxi): import VM from ESXI
2023-02-21 19:28:11 +01:00
Julien Fontanet
ee83788b43
chore: update dev deps
2023-02-21 18:32:02 +01:00
Julien Fontanet
62dd5f8ed7
feat(xo-cli): can register with existing token
2023-02-21 16:45:54 +01:00
Julien Fontanet
2de9984945
feat: release 7.79.2
2023-02-20 16:15:39 +01:00
Julien Fontanet
890b46b697
chore(read-chunk): add JSDoc
2023-02-20 14:03:31 +01:00
Julien Fontanet
5419957e06
chore(xen-api): log and ignore by default premature close errors
...
See #6677
2023-02-20 11:45:55 +01:00
Julien Fontanet
39d4667916
fix(xo-server/disk.import): handle stream end
...
Introduced by 61d5a964e
Fixes #6675
2023-02-18 11:10:59 +01:00
Julien Fontanet
083db67df9
feat: release 5.79.1
2023-02-17 14:00:54 +01:00
Julien Fontanet
8dceb6032b
feat(xo-server): 5.109.2
2023-02-17 11:35:23 +01:00
Julien Fontanet
c300dad316
feat(@xen-orchestra/proxy): 0.26.12
2023-02-17 11:35:04 +01:00
Julien Fontanet
45b07f46f1
feat(xen-api): 1.2.4
2023-02-17 11:33:14 +01:00
Julien Fontanet
4023127c87
feat(xen-api/putResource): can ignore connection premature close
...
This is opt-in via the `ignorePrematureClose` option.
2023-02-17 10:51:28 +01:00
Julien Fontanet
ab96c549ae
chore: use http-request-plus@1
2023-02-17 10:51:28 +01:00
Thierry Goettelmann
bc0afb589e
feat(lite/stories): needed components for incoming Component Stories ( #6611 )
2023-02-17 10:42:35 +01:00
Mathieu
b42127f083
feat: technical release ( #6674 )
2023-02-16 14:35:04 +01:00
Florent BEAUCHAMP
61d5a964ee
fix(xo-server): VMDK/OVA import ( #6669 )
2023-02-14 16:20:51 +01:00
Mathieu
f8fd6b78f5
fix(xo-web/home/pool): hide pro icon support for non XCP-ng pool ( #6661 )
...
Fixes #6653
2023-02-14 15:38:21 +01:00
Thierry Goettelmann
4546ef6619
feat(lite): Tasks ( #6621 )
2023-02-14 11:51:57 +01:00
Thierry Goettelmann
1f4457d9ca
fix(lite/charts): fix Chart reactivity ( #6618 )
2023-02-14 11:42:29 +01:00
Thierry Goettelmann
65cbbf78bc
fix(lite/dashboard): fix charts disappearing on dashboard ( #6654 )
2023-02-14 11:04:14 +01:00
Julien Fontanet
a73a24c1df
chore(xo-cli): don't use exec-promise
...
May fix #6667
`exec-promise` called `process.exit()` at the end which may interfere with the output.
2023-02-11 21:51:16 +01:00
Julien Fontanet
31f850c19c
fix(xo-server-transport-email): log async errors
...
Introduced by 711b722
2023-02-10 13:49:26 +01:00
Thierry Goettelmann
6d90d7bc82
feat(lite/UiIcon,UiSpinner): import and attributes order ( #6609 )
2023-02-09 19:25:41 +01:00
Julien Fontanet
d2a1c02b92
fix(backups,vhd-lib): don't dl whole VHD when using NBD
...
Related to zammad#12510
2023-02-09 17:22:10 +01:00
Florent BEAUCHAMP
6d96452ef8
fix(@vates/nbd-client): really disconnect from nbd server ( #6660 )
2023-02-09 17:04:51 +01:00
Pierre Donias
833589e6e7
feat(xo-web/intl): add missing French translation for S3 UI
2023-02-09 16:45:26 +01:00
Cécile MORANGE
8bb566e189
fix(xo-web/settings/remotes): placeholder for encryption key
...
Fixes #6658
2023-02-09 16:45:26 +01:00
Mathieu
38d2117752
fix(xo-web/pool/license): fix empty modal on license binding ( #6666 )
...
See zammad#12626
2023-02-09 16:10:42 +01:00
Julien Fontanet
914decd4f9
chore(backups/_forkStreamUnpipe): use native stream.finished
2023-02-09 11:30:03 +01:00
Julien Fontanet
873c38f9e1
chore(backups/_forkStreamUnpipe): rename variables
...
- `stream` → `source`
- `proxy` → `fork`
2023-02-09 11:29:13 +01:00
Julien Fontanet
a3e37eca62
fix(xo-server): disable broken requestTimeout
...
Fixes https://xcp-ng.org/forum/post/58146
Caused by nodejs/node#46574
It caused requests to timeout after 0-30 seconds, which broke all uploads.
2023-02-09 10:25:45 +01:00
Julien Fontanet
817911a41e
fix(xen-api): fix task watchers when initially not watching events (2)
...
Introduced by 9f4fce9da
2023-02-08 17:11:27 +01:00
Julien Fontanet
9f4fce9daa
fix(xen-api): fix task watchers when initially not watching events
...
Introduced by bc61dd85c
2023-02-08 12:21:56 +01:00
Julien Fontanet
9ff305d5db
fix(xo-server/rest-api): fix VDI import
...
Introduced by ab0e411ac
2023-02-07 19:20:59 +01:00
Julien Fontanet
055c3e098f
fix(xen-api/putResource): better error handling
...
Tested all combinaisons with the following conditions:
- success, cancelation and connection loss (ECONNRESET)
- with and without tasks watching
- with and without known length (i.e. content-length hack)
2023-02-07 17:38:01 +01:00
Julien Fontanet
bc61dd85c6
fix(xen-api): correctly handle not watching tasks
2023-02-07 17:23:57 +01:00
Julien Fontanet
db6f1405e9
chore(xo-server/rest-api): match export routes first
2023-02-07 16:36:05 +01:00
Gabriel Gunullu
3dc3376aec
chore(test): replace vhd-util check ( #6651 )
2023-02-07 13:33:25 +01:00
Julien Fontanet
55920a58a3
feat(xo-server/recover-account): -s flag for xoa-support
...
Simpler process for xoa-support.
```console
$ xo-server-recover-account -s
The generated password is lXJMtCzWDGPOIg
user xoa-support has been successfully updated
```
2023-02-06 15:25:04 +01:00
Julien Fontanet
2a70ebf667
docs: uniformize code blocks
...
- add missing syntaxes
- don't put prompt if no command outputs to ease copy/paste and use `sh` syntax
- always use `$` as prompt and use `console` syntax
2023-02-06 11:25:12 +01:00
Julien Fontanet
2f65a86aa0
fix(xen-api/putResource): fix a number of issues
...
- hide `VDI_IO_ERROR` when using content-length hack
- avoid unhandled rejection in case upload fails
2023-02-06 10:40:42 +01:00
Julien Fontanet
4bf81ac33b
docs(xapi): fix typo
2023-02-04 11:14:02 +01:00
Julien Fontanet
263c23ae8f
docs(xapi): describe syncHookTimeout
2023-02-04 11:11:41 +01:00
Julien Fontanet
bf51b945c5
chore(vmware-explorer): fix lint issues
...
Introduced by 9fa15d9c8
2023-02-03 16:36:55 +01:00
Julien Fontanet
9d7a461550
feat(turbo): add dev and test tasks
2023-02-03 16:17:52 +01:00
Julien Fontanet
bbf60818eb
chore: update dev deps
2023-02-03 16:17:31 +01:00
Julien Fontanet
103b22ebb2
fix(backups/importDeltaVm): resize cloned VDI if necessary
...
Fixes zammad#10996
2023-02-03 15:49:08 +01:00
Mathieu
cf4a1d7d40
fix(lite): update stacked ram usage message ( #6650 )
2023-02-02 11:50:10 +01:00
Julien Fontanet
e94f036aca
chore(vmware-explorer): lower requirement to Node 14
2023-02-02 09:43:03 +01:00
Julien Fontanet
675405f7ac
feat: release 5.79.0
2023-01-31 17:49:51 +01:00
Thierry Goettelmann
f8a3536a88
feat(lite): RelativeTime component ( #6620 )
2023-01-31 17:10:26 +01:00
Julien Fontanet
e527a13b50
feat(xo-server): 5.109.0
2023-01-31 17:04:31 +01:00
Julien Fontanet
3be03451f8
feat(@xen-orchestra/vmware-explorer): 0.0.3
2023-01-31 17:02:24 +01:00
Florent BEAUCHAMP
9fa15d9c84
feat(xo-server): import VM from ESXi ( #6595 )
2023-01-31 16:54:18 +01:00
Mathieu
9c3d39b4a7
feat: technical release ( #6648 )
2023-01-31 11:18:19 +01:00
Mathieu
28800f43ee
fix(lite): use browser timestamps for stats ( #6623 )
2023-01-31 10:26:07 +01:00
Gabriel Gunullu
5c0b29c51f
feat(xo-web/network): NBD option ( #6646 )
2023-01-30 17:34:21 +01:00
Gabriel Gunullu
62d9d0208b
feat(xo-server/network.set): support (un)setting NBD ( #6635 )
2023-01-30 16:02:28 +01:00
Pierre Donias
4bf871e52f
fix(lite): stats.memory is undefined ( #6647 )
...
Introduced by 4f31b7007a
2023-01-30 14:40:57 +01:00
Florent BEAUCHAMP
103972808c
fix(xo-vmdk-to-vhd): better computation of overprovisioning of very sparse disks ( #6639 )
2023-01-30 14:15:44 +01:00
Julien Fontanet
dc65bb87b5
feat(upload-ova): special handling of invalid params error ( #6626 )
...
Fixes #6622
Similar to 036b30212 & 65daa39eb
2023-01-30 14:09:28 +01:00
Mathieu
bfa0282ecc
feat: technical release ( #6645 )
2023-01-27 16:16:26 +01:00
Mathieu
aa66ec0ccd
fix(changelog): fix release type on a package ( #6644 )
2023-01-27 15:09:10 +01:00
Mathieu
18fe19c680
fix(lite): fix getHostMemoryFunction error ( #6643 )
2023-01-27 14:43:11 +01:00
Julien Fontanet
ab0e411ac0
chore(xo-server/rest-api): improve code
...
- mutualize object fetching
- mutualize error handling
2023-01-27 13:01:21 +01:00
Pierre Donias
79671e6d61
fix(lite/build): "Big integer literals are not available in the configured target environment" ( #6638 )
...
Introduced by a281682f7a
2023-01-26 11:42:29 +01:00
Mathieu
71ad9773da
feat(lite/vm): ability to change state of a VM ( #6608 )
2023-01-26 09:43:12 +01:00
Julien Fontanet
34ecc2bcbb
feat(xo-server/rest-api): support setting name_label/name_description
2023-01-25 17:29:49 +01:00
Pierre Donias
53f4f265dc
fix(xo-web/host/network): remove extra "mode" column ( #6640 )
...
Introduced by 7ede6bdbce
2023-01-25 17:19:03 +01:00
Florent BEAUCHAMP
97624ef836
fix(xo-vmdk-to-vhd): memory consumption during ova generation ( #6637 )
2023-01-25 10:23:50 +01:00
Julien Fontanet
fb8d0ed924
fix(xen-api/examples/import-vdi): fix tasks watching
...
Introduced by 3e351f852
2023-01-24 16:31:03 +01:00
Gabriel Gunullu
fedbdba13d
feat(xo-web/recipes): static network config for k8s recipe ( #6598 )
2023-01-24 11:04:02 +01:00
Julien Fontanet
a281682f7a
chore: update dev deps
2023-01-23 18:31:07 +01:00
Julien Fontanet
07e9f09692
docs(xo-server/rest-api): minor fix
2023-01-23 17:16:32 +01:00
Julien Fontanet
29d6e590de
feat(xo-server/rest-api): support exporting VDI in raw format
2023-01-23 17:14:24 +01:00
Julien Fontanet
3e351f8529
feat(xen-api/examples/import-vdi): can create the VDI and various flags
2023-01-23 17:13:41 +01:00
Julien Fontanet
bfbfb9379a
feat(xo-cli): improve no server message
2023-01-23 09:31:01 +01:00
rajaa-b
4f31b7007a
feat(lite): RAM usage graph ( #6604 )
2023-01-20 11:44:54 +01:00
rajaa-b
fe0cc2ebb9
feat(lite): network throughput chart ( #6610 )
2023-01-19 16:10:36 +01:00
Mathieu
2fd6f521f8
feat(xo-web/licenses): make id and boundObjectId copyable ( #6634 )
2023-01-19 15:11:10 +01:00
Florent BEAUCHAMP
ec00728112
feat(xo-web): add toggle for viridian flag ( #6631 )
...
Fixes #6572
2023-01-19 09:33:36 +01:00
Julien Fontanet
7174c1edeb
chore(xo-server/rest-api): doc fixes and changelog entry
...
Introduced by 7bd27e743
2023-01-18 23:43:57 +01:00
Julien Fontanet
7bd27e7437
feat(xo-server/rest-api): support to destroy VMs/VDIs
2023-01-18 23:35:49 +01:00
Florent BEAUCHAMP
0a28e30003
fix(xo-web): clarify windows update label ( #6632 )
...
Fix #6628
2023-01-18 17:31:28 +01:00
Mathieu
246c793c28
fix(xo-web/licenses): move message for XCP-ng license binding ( #6630 )
2023-01-18 17:11:21 +01:00
Florent BEAUCHAMP
5f0ea4d586
fix(xo-web): show bootable status for VM running pv_in_pvh virtualisation mode ( #6629 )
...
Fix #6432
2023-01-18 17:09:26 +01:00
Julien Fontanet
3c7d316b3c
feat(xo-server): initial tasks infrastructure ( #6625 )
2023-01-17 16:12:04 +01:00
Julien Fontanet
645c8f32e3
chore(xo-server-perf-alert): use @xen-orchestra/log@0.5.0
...
Introduced by #6550
2023-01-17 15:42:38 +01:00
Gabriel Gunullu
adc5e7d0c0
test(vhd-cli): from Jest to test ( #6605 )
2023-01-17 10:39:41 +01:00
Thierry Goettelmann
b9b74ab1ac
feat(lite/ui): first implementation of responsive UI ( #6612 )
2023-01-17 10:22:08 +01:00
Thierry Goettelmann
64298c04f2
feat(lite/ui): UiModal fix ( #6617 )
2023-01-17 09:25:29 +01:00
Gabriel Gunullu
3dfb7db039
chore(xo-server-perf-alert): print error ( #6550 )
2023-01-16 22:53:53 +01:00
Julien Fontanet
b64d8f5cbf
fix(xo-server/rest-api): handle filter parsing errors
2023-01-16 17:34:23 +01:00
Julien Fontanet
c2e5225728
feat(xo-server): expose host.residentVms
2023-01-16 17:33:47 +01:00
Florent BEAUCHAMP
6c44a94bf4
fix(vhd-lib/parseVhdStream): also consume stream in NBD mode ( #6613 )
...
Consuming the stream is necessary for all writers including DeltaBackupWriter) otherwise other writers (e.g. DeltaBackupWriter i.e. CR) will stay stuck.
2023-01-16 10:54:45 +01:00
Florent BEAUCHAMP
a2d9310d0a
fix(backups): fix size of NBD backups ( #6599 )
2023-01-16 10:43:29 +01:00
Julien Fontanet
05197b93ee
feat(proxy): dedupe logs
2023-01-15 13:08:57 +01:00
Julien Fontanet
448d115d49
feat(xo-server): dedupe logs
2023-01-15 13:04:52 +01:00
Julien Fontanet
ae993dff45
feat(log/dedupe): helper to remove duplicated logs
2023-01-15 12:59:31 +01:00
Julien Fontanet
1bc4805f3d
chore(log): move Log into own module
2023-01-15 12:59:31 +01:00
Julien Fontanet
98fe8f3955
chore(log): move createTransport into own module
2023-01-15 12:59:31 +01:00
Julien Fontanet
e902bcef67
chore(log): prefix internal modules by _
2023-01-15 12:59:31 +01:00
Julien Fontanet
cb2a6e43a8
chore(log/utils.test.js): rename to _compileLogPattern.test.js
2023-01-15 12:59:31 +01:00
Julien Fontanet
b73a0992f8
feat(log): define public entry points
...
BREAKING CHANGE: Importing modules with extensions is now unsupported, i.e. use `@xen-orchestra/log/configure` instead of `@xen-orchestra/log/configure.js`.
Allows ESM modules to import modules without specifying extensions (just like CJS module) which will make migrating this lib to ESM painless in the future.
2023-01-15 12:58:35 +01:00
Julien Fontanet
d0b3d78639
feat(xo-server): round up host memory to nearest GiB
...
Fixes #5776
Improves the display of the value by ignoring the micro-kernel size (~50MiB), ie `128 GiB` instead of `127.96 GiB`.
2023-01-13 15:06:06 +01:00
Julien Fontanet
e6b8939772
fix(xapi/VM_snapshot): don't fail on NOBAK VDIs destruction failure
2023-01-12 15:25:09 +01:00
Julien Fontanet
bc372a982c
fix(xapi/VM_checkpoint): remove unsupported ignoreNobakVdis
2023-01-12 15:20:40 +01:00
Florent Beauchamp
3ff8064f1b
feat(backups): add more info about NBD backups in logs
2023-01-12 10:28:30 +01:00
Florent Beauchamp
834459186d
fix(backups): useNbd must follow the config
2023-01-12 10:28:30 +01:00
Mathieu
12220ad4cf
fix(lite/UsageBar): add color for dangerous cases ( #6606 )
2023-01-12 09:22:07 +01:00
Julien Fontanet
f6fd1db1ef
feat(xo-server): increase HTTP server request timeout to 1 day
...
Fixes #6590
2023-01-11 22:07:35 +01:00
Julien Fontanet
a1050882ae
docs(installation): explicit FreeBSD/OpenBSD not officially supported
2023-01-11 15:11:54 +01:00
Mathieu
687df5ead4
feat(lite/vm): change state button ( #6571 )
2023-01-11 10:51:16 +01:00
Mathieu
b057881ad0
fix(lite): fix type checking ( #6607 )
2023-01-10 16:16:32 +01:00
Julien Fontanet
2b23550996
chore(vhd-lib/createVhdStreamWithLength): use readChunkStrict
...
Related to zammad#10996
Not only it simplified the code a bit, but it also provides better error messages, especially on stream end.
2023-01-10 11:11:38 +01:00
Thierry Goettelmann
afeb20e589
fix(lite/Console): fix isReady condition ( #6594 )
2023-01-06 10:44:45 +01:00
Julien Fontanet
d7794518a2
chore: update to fs-extra@11 & parse-pairs@2
2023-01-05 11:33:09 +01:00
Julien Fontanet
fee61a43e3
chore: update to sinon@15
2023-01-05 11:16:03 +01:00
Julien Fontanet
b201afd192
chore: update dev deps
2023-01-05 10:21:06 +01:00
Florent Beauchamp
feef1f8b0a
fix(backups/cleanVm): fix tests
2023-01-04 10:54:22 +01:00
Florent Beauchamp
1a5e2fde4f
fix(vhd-lib/merge): require aliases for VHD directories
2023-01-04 10:54:22 +01:00
Julien Fontanet
609e957a55
fix: build script should build xo-server plugins
...
Introduced by 3bfd6c697
2023-01-04 10:53:55 +01:00
Thierry Goettelmann
5c18404174
feat(lite): update useCollectionFilter composable ( #6538 )
...
- Query String support must now be explicitly enabled with the `queryStringParam` option
- Added `initialFilters` option
- Added generic type support
- Updated documentation
2023-01-04 09:51:39 +01:00
Thierry Goettelmann
866a1dd8ae
feat(lite): update useCollectionSorter composable ( #6540 )
...
- Query String support must now be explicitly enabled with the `queryStringParam` option
- Added `initialFilters` option
- Added generic type support
- Updated documentation
2023-01-04 09:42:51 +01:00
Julien Fontanet
3bfd6c6979
chore: use Turborepo to build
...
Why?
- ordering: build dependencies before dependents
- cache: don't rebuild if no changes in files or dependencies
- possibility to restrict to specific scopes
Changes:
- `yarn build` now only build `xo-server` and `xo-web` (and dependencies)
- `yarn build:xo-lite` build `@xen-orchestra/lite\ (and dependencies)
2023-01-03 11:39:20 +01:00
Florent BEAUCHAMP
06564e9091
feat(backups): remove merge limitations ( #6591 )
...
following #0635b3316ea077fccaa8b2d1e7a4d801eb701811
2023-01-03 11:07:07 +01:00
Thierry Goettelmann
1702783cfb
feat(lite): Reactive chart theme ( #6587 )
2022-12-21 15:00:26 +01:00
rajaa-b
4ea0cbaa37
feat(xo-lite): Pool CPU usage chart ( #6577 )
2022-12-21 12:03:04 +01:00
Mathieu
2246e065f7
feat: release 5.78.0 ( #6588 )
2022-12-20 13:54:30 +01:00
Mathieu
29a38cdf1a
feat: technical release ( #6586 )
2022-12-19 14:30:41 +01:00
Julien Fontanet
960c569e86
fix(CHANGELOG): add missing backups changes
...
Introduced by f95a20173
2022-12-19 11:40:06 +01:00
Julien Fontanet
fa183fc97e
fix(CHANGELOG): add missing Kubernetes changes
...
Introduced by a1d63118c
2022-12-19 10:42:53 +01:00
Gabriel Gunullu
a1d63118c0
feat(xo-web/recipes/kubernetes): CIDR is no longer necessary ( #6583 )
...
Related to 6227349725
2022-12-19 09:42:56 +01:00
Julien Fontanet
f95a20173c
fix(backups/{Delta,Full}BackupWriter}): fix this._vmBackupDir access
...
May fix #6584
Introduced by 45dcb914b .
2022-12-17 10:57:49 +01:00
Mathieu
b82d0fadc3
feat: technical release ( #6585 )
2022-12-16 16:13:07 +01:00
Julien Fontanet
0635b3316e
feat(xo-server/backups): remove merge limitations
...
Since 30fe9764a , merging range of VHDs is supported via synthetic VHD which limits the perf impact.
It's no longer necessary to limit the number of VHDs per run to merge.
2022-12-16 14:42:05 +01:00
Thierry Goettelmann
113235aec3
feat(lite): new useArrayRemovedItemsHistory composable ( #6546 )
2022-12-16 11:43:50 +01:00
Mathieu
3921401e96
fix(lite): fix 'not connected to xapi' ( #6522 )
...
Introduced by 1c3cad9235
2022-12-16 09:54:43 +01:00
Julien Fontanet
2e514478a4
fix(xo-server/remotes): always remove handler from cache when forgetting
2022-12-15 17:58:14 +01:00
Julien Fontanet
b3d53b230e
fix(fs/abstract): use standard naming for logger
2022-12-15 17:58:14 +01:00
Julien Fontanet
45dcb914ba
chore(backups/{Mixin,Delta,Full}BackupWriter}): mutualize VM backup dir computation
2022-12-15 17:58:14 +01:00
Mathieu
711087b686
feat(lite): feedback on login page ( #6464 )
2022-12-15 15:00:46 +01:00
Julien Fontanet
b100a59d1d
feat(xapi/VM_snapshot): use ignore_vdis param
2022-12-14 23:36:03 +01:00
Mathieu
109b2b0055
feat(lite): not found views (page/object) ( #6410 )
2022-12-14 16:47:40 +01:00
Julien Fontanet
9dda99eb20
fix(xo-server/_handleBackupLog): fix sendPassiveCheck condition
...
Introduced by ba782d269
Fixes https://xcp-ng.org/forum/post/56175
2022-12-14 16:26:43 +01:00
Thierry Goettelmann
fa0f75b474
feat(lite): New UiCardTitle component ( #6558 )
2022-12-12 15:19:43 +01:00
Julien Fontanet
2d93e0d4be
feat(xapi/waitObjectState): better timeout error stacktrace
...
Create the error synchronously for better stacktrace and debuggability.
2022-12-12 15:11:10 +01:00
Julien Fontanet
fe6406336d
feat: release 5.77.2
2022-12-12 11:49:55 +01:00
Julien Fontanet
1037d44089
feat(xo-server): 5.107.3
2022-12-12 11:27:18 +01:00
Julien Fontanet
a8c3669f43
feat(@xen-orchestra/proxy): 0.26.7
2022-12-12 11:26:55 +01:00
Julien Fontanet
d91753aa82
feat(@xen-orchestra/backups): 0.29.3
2022-12-12 11:26:26 +01:00
Julien Fontanet
b548514d44
fix(backups): wait for cache to be updated before running cleanVm ( #6580 )
...
Introduced by 191c12413
2022-12-12 09:30:08 +01:00
Julien Fontanet
ba782d2698
fix(xo-server/_handleBackupLog): bail instead of failing if Nagios plugin is not loaded
...
Introduced by ed34d9cbc
2022-12-08 17:17:31 +01:00
Julien Fontanet
0552dc23a5
chore(CHANGELOG.unreleased): clarify format description
2022-12-08 17:17:31 +01:00
Cécile Morange
574bbbf5ff
docs(manage infrastructure): add how to remove a host from pool ( #6574 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-12-08 15:38:02 +01:00
Julien Fontanet
df11a92cdb
feat(scripts/gen-deps-list.js): add debug logs
2022-12-07 14:35:49 +01:00
Julien Fontanet
33ae59adf7
feat: release 5.77.1
2022-12-07 13:41:17 +01:00
Julien Fontanet
e0a115b41d
feat(xo-server): 5.107.2
2022-12-07 13:19:15 +01:00
Julien Fontanet
f838d6c179
feat(@xen-orchestra/proxy): 0.26.6
2022-12-07 13:16:51 +01:00
Julien Fontanet
6c3229f517
feat(@xen-orchestra/backups): 0.29.2
2022-12-07 13:16:50 +01:00
Julien Fontanet
6973928b1a
feat(backups/cleanVm): detect and fix cache inconsistencies ( #6575 )
2022-12-07 13:06:03 +01:00
Julien Fontanet
a5daba2a4d
fix: work-around VuePress issues #2
2022-12-06 14:43:15 +01:00
Julien Fontanet
40ef83416e
fix: work-around VuePress issues
2022-12-06 14:35:00 +01:00
Julien Fontanet
8518146455
fix: force classic Yarn
2022-12-06 10:53:35 +01:00
Florent BEAUCHAMP
d58f563de5
fix(xo-server/vm.warmMigration): fix start/delete params handling ( #6570 )
2022-12-06 10:42:51 +01:00
Thierry Goettelmann
ad2454adab
feat(lite): replace ProgressBar with UiProgressBar & update UsageBar ( #6544 )
...
`ProgressBar` component handled too much logic (a progress bar + a circle icon + a label + a badge)
Since at various places we need a simple progress bar, all the additional logic should be handled by `UsageBar`.
- Move usage-specific logic from `ProgressBar` to `UsageBar`
- Removed `ProgressBar` component
- Created `ui/UiProgressBar` component containing only the bar itself
- Updated `UsageBar` to use `UiProgressBar` then adapting its style
2022-12-06 09:50:50 +01:00
Julien Fontanet
1f32557743
fix(scripts/gen-deps-list): fix packages order ( #6564 )
...
The release order computation is now uncoupled of the packages to release computation, and is now done for all packages so that transitive dependencies are still correctly ordered.
2022-11-30 14:52:46 +01:00
Julien Fontanet
e95aae2129
feat: release 5.77.0
2022-11-30 14:05:38 +01:00
Pierre Donias
9176171f20
feat: technical release ( #6566 )
2022-11-30 11:18:33 +01:00
Florent BEAUCHAMP
d4f2249a4d
fix(xo-server/vm.warmMigration): use same job id in subsequent run ( #6565 )
...
Introduced by 72c69d7
2022-11-30 11:00:42 +01:00
Julien Fontanet
e0b4069c17
fix(scripts/bump-pkg): don't call git add --patch twice
2022-11-29 18:56:03 +01:00
Julien Fontanet
6b25a21151
feat(scripts/bump-pkg): ignore yarn.lock changes
2022-11-29 18:56:03 +01:00
Julien Fontanet
716dc45d85
chore(CHANGELOG): integrate released changes
2022-11-29 18:56:03 +01:00
Julien Fontanet
57850230c8
feat(xo-web): 5.108.0
2022-11-29 18:47:33 +01:00
Julien Fontanet
362d597031
feat(xo-server-web-hooks): 0.3.2
2022-11-29 18:47:14 +01:00
Julien Fontanet
e89b84b37b
feat(xo-server-usage-report): 0.10.2
2022-11-29 18:46:54 +01:00
Julien Fontanet
ae6f6bf536
feat(xo-server-transport-nagios): 1.0.0
2022-11-29 18:46:27 +01:00
Julien Fontanet
6f765bdd6f
feat(xo-server-sdn-controller): 1.0.7
2022-11-29 18:45:50 +01:00
Julien Fontanet
1982c6e6e6
feat(xo-server-netbox): 0.3.5
2022-11-29 18:45:30 +01:00
Julien Fontanet
527dceb43f
feat(xo-server-load-balancer): 0.7.2
2022-11-29 18:44:12 +01:00
Julien Fontanet
f5a3d68d07
feat(xo-server-backup-reports): 0.17.2
2022-11-29 18:43:50 +01:00
Julien Fontanet
6c904fbc96
feat(xo-server-auth-ldap): 0.10.6
2022-11-29 18:43:22 +01:00
Julien Fontanet
295036a1e3
feat(xo-server-audit): 0.10.2
2022-11-29 18:42:30 +01:00
Julien Fontanet
5601d61b49
feat(xo-server): 5.107.0
2022-11-29 18:32:04 +01:00
Julien Fontanet
1c35c1a61a
feat(xo-cli): 0.14.2
2022-11-29 18:31:24 +01:00
Julien Fontanet
4143014466
feat(xo-vmdk-to-vhd): 2.5.0
2022-11-29 18:29:33 +01:00
Julien Fontanet
90fea69b7e
feat(@xen-orchestra/proxy): 0.26.5
2022-11-29 18:21:01 +01:00
Julien Fontanet
625663d619
feat(@xen-orchestra/xapi): 1.5.3
2022-11-29 18:18:09 +01:00
Julien Fontanet
403afc7aaf
feat(@xen-orchestra/mixins): 0.8.2
2022-11-29 17:50:43 +01:00
Julien Fontanet
d295524c3c
feat(@xen-orchestra/backups-cli): 1.0.0
2022-11-29 17:48:21 +01:00
Julien Fontanet
5eb4294e70
feat(@xen-orchestra/backups): 0.29.1
2022-11-29 17:48:21 +01:00
Julien Fontanet
90598522a6
feat(@xen-orchestra/audit-core): 0.2.2
2022-11-29 17:48:21 +01:00
Julien Fontanet
519fa1bcf8
feat(vhd-lib): 4.2.0
2022-11-29 17:48:21 +01:00
Julien Fontanet
7b0e5afe37
feat(@xen-orchestra/fs): 3.3.0
2022-11-29 17:48:21 +01:00
Julien Fontanet
0b6b3a47a2
feat(@vates/disposable): 0.1.3
2022-11-29 17:48:21 +01:00
Julien Fontanet
75db810508
feat(@xen-orchestra/log): 0.5.0
2022-11-29 17:48:21 +01:00
Julien Fontanet
2f52c564f5
chore(backups-cli): format package.json
2022-11-29 17:48:21 +01:00
Florent Beauchamp
011d582b80
fix(vhd-lib/merge): delete old data AFTER the alias has been overwritten
2022-11-29 16:42:57 +01:00
Julien Fontanet
32d21b2308
chore: use caret range for @vates/async-each
...
Introduced by 08298d328
2022-11-29 16:31:41 +01:00
Pierre Donias
45971ca622
fix(xo-web): remove duplicated imports ( #6562 )
2022-11-29 16:17:40 +01:00
Mathieu
f3a09f2dad
feat(xo-web/VM/advanced): add button for warm migration ( #6533 )
...
See #6549
2022-11-29 15:14:41 +01:00
Mathieu
552a9c7b9f
feat(xo-web/proxy): register an existing proxy ( #6556 )
2022-11-29 14:44:51 +01:00
Gabriel Gunullu
ed34d9cbc0
feat(xo-server-transport-nagios): make host and service configurable ( #6560 )
2022-11-29 14:34:41 +01:00
Julien Fontanet
187ee99931
fix(xo-server/plugin.configure): don't save injected defaults
...
Default values injected by Ajv from the configuration schema should not be saved.
2022-11-29 12:43:17 +01:00
Cécile Morange
ff78dd8f7c
feat(xo-web/i18n): "XenServer" → "XCP-ng" ( #6462 )
...
See #6439
2022-11-29 11:47:16 +01:00
Julien Fontanet
b0eadb8ea4
fix: remove concurrency limit for dev script
...
Introduced by 9d5bc8af6
Limited concurrency (which is the default) is not compatible with never-ending commands.
2022-11-29 11:35:01 +01:00
Julien Fontanet
a95754715a
fix: use --verbose for dev script
...
Introduced by 9d5bc8af6
Silent mode is not compatible (i.e. does not show a meaningful output) with never-ending commands.
2022-11-29 11:14:44 +01:00
Julien Fontanet
18ece4b90c
fix(xo-server/MigrateVm): fix uuid import
...
Introduced by 72c69d791
Fixes #6561
2022-11-29 10:30:09 +01:00
Florent Beauchamp
3862fb2664
fix(fs/rename): throw ENOENT when source file is missing
2022-11-28 17:33:57 +01:00
Florent BEAUCHAMP
72c69d791a
feat(xo-server): implement warm migration backend ( #6549 )
2022-11-28 17:28:19 +01:00
Julien Fontanet
d6192a4a7a
chore: remove unused travis-tests.js
2022-11-28 15:51:47 +01:00
Julien Fontanet
0f824ffa70
lint(vhd-lib): remove unused var and fix formatting
...
Introduced by f6c227e7f
2022-11-26 10:10:08 +01:00
Florent BEAUCHAMP
f6c227e7f5
feat(vhd-lib): merge resume can resume when rename fails ( #6530 )
2022-11-25 20:51:33 +01:00
Julien Fontanet
9d5bc8af6e
feat: run-script.js now only shows output on error by default
2022-11-25 15:45:52 +01:00
Julien Fontanet
9480079770
feat: script test-unit now bails on first error
2022-11-25 15:45:08 +01:00
Julien Fontanet
54fe9147ac
chore: only enable Babel debug on prod builds
...
The output was making test results hard to see.
2022-11-25 14:43:36 +01:00
Gabriel Gunullu
b6a0477232
feat(xo-server-transport-nagios): report backed up VM individually ( #6534 )
2022-11-25 14:36:41 +01:00
Julien Fontanet
c60644c578
chore(lite): merge lint with the root config
2022-11-25 11:23:04 +01:00
Thierry Goettelmann
abdce94c5f
feat(lite): type check on test ( #6547 )
2022-11-25 11:19:58 +01:00
Mathieu
d7dee04013
feat(xo-web/settings/users): remove OTP of users in admin panel ( #6541 )
...
See https://xcp-ng.org/forum/topic/6521
2022-11-25 11:15:07 +01:00
Julien Fontanet
dfc62132b7
fix(xo-web/remote): prevent browser from autocompleting encryption key
2022-11-24 18:48:45 +01:00
Julien Fontanet
36f7f193aa
feat: run linter in CI
2022-11-24 17:00:59 +01:00
Julien Fontanet
ca4a82ec38
fix: make test-lint script ignore xo-web
...
Too many errors in this legacy package.
2022-11-24 16:26:40 +01:00
Julien Fontanet
37aea1888d
chore: fix lint issues
2022-11-24 16:26:40 +01:00
Julien Fontanet
92f3b4ddd7
chore(backups/RemoteAdapter): remove unused invalidateVmBackupListCache
2022-11-24 16:26:40 +01:00
Mathieu
647995428c
feat(lite/pool/dashboard): top 5 RAM usage ( #6419 )
2022-11-24 15:57:11 +01:00
Mathieu
407e9c25f3
feat(xo-web/licenses): text to explicit where to bind xcp-ng licenses ( #6551 )
...
See zammad#11037
2022-11-24 15:42:16 +01:00
Julien Fontanet
1612ab7335
fix(backups-cli/clean-vms): remove incorrect console.log
...
Introduced by 94c755b10
2022-11-23 23:03:46 +01:00
Julien Fontanet
b952c36210
fix(vhd-lib/merge): VhdAbstract.rename → handler.rename
...
Missing changed from c5b3acfce
2022-11-23 15:02:56 +01:00
Florent BEAUCHAMP
96b5cb2c61
feat(xo-vmdk-to-vhd): overprovision vmdk size to generate ova in one pass ( #6487 )
2022-11-23 14:48:18 +01:00
Florent Beauchamp
c5b3acfce2
fix(vhd-lib): remove unsafe VhdAbstract.rename implementation
...
actual implementation was deleting the target vhd even if the source did not exist, leading to ptential data loss
2022-11-23 14:31:37 +01:00
Julien Fontanet
20a01bf266
feat(lint-staged): format all files with Prettier
2022-11-22 18:20:01 +01:00
Julien Fontanet
a33b88cf1c
chore: format with Prettier
2022-11-22 17:30:14 +01:00
Julien Fontanet
09a2f45ada
feat: run test script for all pkgs with changed files
2022-11-22 17:30:14 +01:00
Julien Fontanet
83a7dd7ea1
chore: remove custom scripts/lint-staged
2022-11-22 17:30:14 +01:00
Julien Fontanet
afc1b6a5c0
Revert "feat: run pre-commit script for all packages"
...
This reverts commit f5b91cd45d .
2022-11-22 17:30:14 +01:00
Thierry Goettelmann
7f4f860735
feat(lite/color mode): "auto" mode + "D" shortcut to toggle ( #6536 )
...
The shortcut is only enabled in dev environment
2022-11-22 15:35:31 +01:00
Julien Fontanet
d789e3aa0d
chore: update to husky@8
2022-11-22 15:33:43 +01:00
Julien Fontanet
f5b91cd45d
feat: run pre-commit script for all packages
2022-11-22 11:37:40 +01:00
Julien Fontanet
92ab4b3309
chore(lite): format with Prettier ( #6545 )
2022-11-22 11:33:03 +01:00
Florent Beauchamp
2c456e4c89
fix(vhd-lib): create directory for merged blocks
2022-11-22 11:05:51 +01:00
Florent Beauchamp
1460e63449
fix(vhd-lib): write state at the begining
2022-11-22 11:05:51 +01:00
Julien Fontanet
8291124c1f
feat(xo-server/remote.{create,set}): prevent xo-vm-backups suffix
...
Fixes zammad#10930
2022-11-21 16:58:24 +01:00
Julien Fontanet
fc4d9accfd
feat(mixin): add usage
2022-11-21 11:04:51 +01:00
Julien Fontanet
80969b785f
feat(xo-server/proxy.register): authenticationToken is now optional
...
It's automatically generated if missing, which can be useful when manually registering a proxy.
2022-11-20 23:51:48 +01:00
Julien Fontanet
3dfd7f1835
fix(xo-server/proxy.register): requires either address or vmUuid
2022-11-20 23:50:51 +01:00
Julien Fontanet
65daa39ebe
fix(xo-cli): fix invalid parameters error message
...
Introduced by d7f29e736
The error format has changed due to the switch of xo-server to Ajv.
2022-11-20 23:44:50 +01:00
Julien Fontanet
5ad94504e3
feat(xo-web/downloadLog): use .json extension for JSON values
2022-11-20 23:20:01 +01:00
Julien Fontanet
4101bf3ba5
fix(xo-web): injected task.parent should not be enumerable
...
Shared task objects are direclty altered and adding an enumerable cyclic property might break JSON.stringify in other components.
2022-11-20 23:19:35 +01:00
Thierry Goettelmann
e9d52864ef
fix(lite): remove @trivago/prettier-plugin-sort-imports package breaking monorepo ( #6531 )
2022-11-18 11:32:27 +01:00
Julien Fontanet
aef2696426
feat(log): respect env.{DEBUG,NODE_DEBUG} by default
...
Previously, env.{DEBUG,NODE_DEBUG} were only handled if `log/configure` has been imported, now it's the case by default.
2022-11-18 10:42:13 +01:00
Julien Fontanet
94c755b102
fix(backups-cli/clean-vms): use getSyncedHandler
2022-11-18 10:42:13 +01:00
Gabriel Gunullu
279b457348
test(xo-remote-parser): from Jest to test ( #6537 )
2022-11-17 14:35:01 +01:00
Julien Fontanet
b5988bb8b7
chore(backups-cli): convert to ESM
2022-11-17 10:44:48 +01:00
Mathieu
f73b1d8b40
feat(lite): add loader in pool dashboard ( #6468 )
2022-11-17 10:15:03 +01:00
Gabriel Gunullu
b2ccb07a95
test(complex-matcher): from Jest to test ( #6535 )
2022-11-16 23:24:32 +01:00
Thierry Goettelmann
9560cc4e33
chore(lite): upgrade packages ( #6532 )
2022-11-16 11:18:04 +01:00
Julien Fontanet
e87c380556
chore: update dev deps
2022-11-15 15:16:29 +01:00
Julien Fontanet
b0846876f7
feat: release 5.76.2
2022-11-14 15:55:02 +01:00
Julien Fontanet
477ed67957
feat(xo-server): 5.106.1
2022-11-14 14:52:01 +01:00
Thierry Goettelmann
5acacd7e1e
feat(lite): add merge prop to UiButtonGroup ( #6494 )
2022-11-14 11:08:26 +01:00
Thierry Goettelmann
8d542fe9c0
fix(lite): UiButton should follow UiButtonGroup transparent prop ( #6493 )
2022-11-14 11:06:54 +01:00
Thierry Goettelmann
b0cb249ae9
docs(lite): update README about UiIcon ( #6520 )
2022-11-14 10:22:07 +01:00
Julien Fontanet
185509a0cf
fix(xo-server/proxy.upgradeAppliance): use getObject method on correct object
...
Introduced by 572359892
2022-11-10 18:12:57 +01:00
Julien Fontanet
08298d3284
feat: limit concurrency of root build script
...
Should fixes https://xcp-ng.org/forum/post/54567
2022-11-10 18:09:05 +01:00
Mathieu
7a4cec5093
fix(dashboard/health): filter correctly unhealthyVdis ( #6519 )
...
See zammad#10720
2022-11-10 15:35:05 +01:00
rajaa-b
f44f5199c6
feat(lite): uncollapse hosts by default ( #6428 )
2022-11-10 15:12:37 +01:00
kursantkvi
81abc091de
feat(xo-web/intl): Russian localization ( #6526 )
2022-11-10 10:02:16 +01:00
Pierre Donias
7e4f4c445d
feat: release 5.76.1 ( #6523 )
2022-11-08 16:24:01 +01:00
Pierre Donias
5a673c1833
feat: technical release ( #6521 )
2022-11-08 11:12:48 +01:00
Mathieu
266231ae0f
fix(xo-web): "Pro Support" instead of "pool support" in XCP-ng support tooltips ( #6517 )
...
See https://xcp-ng.org/forum/topic/6535
2022-11-08 10:11:16 +01:00
Florent BEAUCHAMP
9e87a887cb
fix(xo-web/backup): cleanup settings correctly when deselecting health check ( #6515 )
...
Fix #6501
2022-11-08 10:06:04 +01:00
Mathieu
12e98bfd31
fix(xo-web/health): fix "an error has occurred" ( #6508 )
2022-11-08 09:52:54 +01:00
Mathieu
249f124ba6
fix(xo-web/license): display the license product ID in SelectLicense ( #6512 )
...
See zammad#10750
2022-11-08 09:50:46 +01:00
Julien Fontanet
131643a91b
feat(xo-server/rest-api): expose VDI snapshots
2022-11-07 17:14:08 +01:00
Julien Fontanet
df3df18690
feat(xo-server/rest-api): expose VM snapshots and templates
2022-11-07 17:00:22 +01:00
Julien Fontanet
5401d17610
fix(xo-server/backup): respect httpProxy when connecting to XAPIs ( #6513 )
2022-11-07 15:07:35 +01:00
Florent BEAUCHAMP
90ea2284c6
fix(xo-vmk-to-vhd): failing tests ( #6518 )
...
Sometimes `buffer.allocUnsafe` was generating an buffer containing only zeroes, that buffer was filtered in packages/xo-vmdk-to-vhd/src/vmdk-generate.js line 140, thus the generated vmdk was variable
2022-11-07 13:28:43 +01:00
Mathieu
a4c5792f9e
fix(lite): fix .value is undefined ( #6469 )
2022-11-07 10:18:12 +01:00
Julien Fontanet
5723598923
feat(xo-server/proxy.upgradeAppliance): support proxies with unknown VM
2022-11-07 00:19:13 +01:00
Julien Fontanet
aa0b2ff93a
feat(xo-server/proxy.register): vmUuid parameter
2022-11-06 01:10:09 +01:00
Gabriel Gunullu
be6233f12b
test(backups): from Jest to test ( #6500 )
2022-11-04 17:00:02 +01:00
Olivier Lambert
17df749790
chore(ISSUE_TEMPLATE/bug_report): make it mandatory and ask commit ( #6509 )
2022-11-04 11:25:58 +01:00
Gabriel Gunullu
97f852f8e8
test(log): from Jest to test ( #6498 )
2022-11-04 10:54:11 +01:00
Gabriel Gunullu
dc3446d61a
test(template): from Jest to test ( #6499 )
2022-11-04 10:53:38 +01:00
Mathieu
c830a0b208
fix(pool): added tooltip for no support icon ( #6505 )
...
See zammad#10716
2022-11-04 10:46:17 +01:00
Thierry Goettelmann
ff0307b68f
fix(lite): Vite constants declaration ( #6511 )
2022-11-04 10:27:41 +01:00
Mathieu
1c3cad9235
feat(lite): alert when unreachable hosts ( #6378 )
2022-11-04 10:02:02 +01:00
Julien Fontanet
ccafc15b66
fix(xo-server): split-log → split-host
...
Introduced by ed7ff1fad
Fixes https://xcp-ng.org/forum/post/54503
2022-11-03 14:54:23 +01:00
Julien Fontanet
a40d6b32e3
fix(xo-server/sample.config.toml): typo log → logs
...
Introduced by 2dda1aecc
Fixes https://xcp-ng.org/forum/post/54351
2022-11-03 13:57:34 +01:00
Pierre Donias
de1ee92fe7
chore(lite): normalize package
2022-11-03 10:30:39 +01:00
Pierre Donias
c7227d2f50
feat(lite): settings page ( #6418 )
2022-11-03 10:30:39 +01:00
Mathieu
b2cebbfaf4
fix(lite): invalidate sessionId token ( #6480 )
2022-11-03 10:30:39 +01:00
Pierre Donias
30fbbc92ca
feat(lite/ProgressBar): use transition instead of animation ( #6466 )
2022-11-03 10:30:39 +01:00
Mathieu
d1b210cf16
fix(lite/dashboard): add missing 'id' field for storage usage ( #6467 )
2022-11-03 10:30:39 +01:00
Mathieu
9963568368
feat(lite/pool/dashboard): top 5 CPU usage ( #6370 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
ffc3249b33
feat(lite/component): UiSpinner ( #6427 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
29826db81b
fix(lite): fix build errors ( #6448 )
2022-11-03 10:30:39 +01:00
Pierre Donias
5367a76db5
chore(lite): create CHANGELOG.md ( #6457 )
2022-11-03 10:30:39 +01:00
Pierre Donias
2512a00205
fix(lite/UiBadge): do not instanciate FontAwesomeIcon if icon is undefined ( #6446 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
72a3a9f04f
feat(lite/component): Radio, Checkbox, Select, Input, Toggle ( #6426 )
2022-11-03 10:30:39 +01:00
Mathieu
b566e0fd46
feat(lite): persit language change ( #6443 )
2022-11-03 10:30:39 +01:00
Pierre Donias
4621fb4e9b
feat(lite): set default language to English ( #6442 )
...
See https://xcp-ng.org/forum/topic/4731/xen-orchestra-lite/48?_=1664781482177
2022-11-03 10:30:39 +01:00
Mathieu
7f3d25964f
feat(lite): display storage usage ( #6421 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
4b3728e8d8
feat(lite/component): New multicolor modal ( #6394 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
5218d6df1a
feat(lite/component): Menu component ( #6354 )
...
* feat(lite/component): Menu component
* feat(lite/component): Add disabled prop to AppMenu
* feat(lite/component): Add custom placement to AppMenu + Fix trigger color
* feat(lite/component): Update VmsActionBar to use new AppMenu (#6357 )
* fix(lite/menu): Doesn't teleport the root menu if no trigger
* Don't disable a menu item having a submenu
* i18n
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
94b2b8ec70
feat(lite/buttons): Add multiple button colors, outlined and transparent ( #6393 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
6d1086539e
feat(lite/component): UiActionButton component ( #6386 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
7f758bbb73
Revert "feat(lite/component): Radio and Checkbox"
...
This reverts commit abfb6c97a2 .
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
62b88200c3
feat(lite/component): Radio and Checkbox
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
ce42883268
feat(lite): tooltips ( #6412 )
2022-11-03 10:30:39 +01:00
Pierre Donias
6b60cfce4d
feat(lite): deploy script ( #6413 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
aebb47ad38
feat(lite/component): Linear Chart ( #6376 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
41f5634b7a
feat(lite): i18n ( #6399 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
87ddb01122
feat(lite): use FontAwesome Free ( #6405 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
6898eea45e
feat(lite): Update missing colors ( #6392 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
ba2679d3d7
feat(lite/component): Change style of active items in tree view ( #6397 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
971cdaa44f
feat(lite): CR feedback ( #6341 )
2022-11-03 10:30:39 +01:00
Pierre Donias
005d3b5976
feat(lite): placeholders for pool/host/VM name_label ( #6391 )
...
Some objects may have an empty `name_label`. This is to avoid confusion in the
tree view.
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
663403cb14
chore(lite): change font-size ( #6390 )
2022-11-03 10:30:39 +01:00
Pierre Donias
b341e38623
feat(lite): add "coming soon" message on empty views ( #6389 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
8246db30cb
chore(lite): remove fake cards from Pool Dashboard ( #6385 )
2022-11-03 10:30:39 +01:00
Pierre Donias
9c9c656620
feat(lite/signin): smaller logo and few tweaks ( #6381 )
2022-11-03 10:30:39 +01:00
Pierre Donias
f36be0d5e0
feat(lite/nav): use logo without circle ( #6382 )
2022-11-03 10:30:39 +01:00
Pierre Donias
72090ea8ff
feat(lite/dark mode): persistence + icon ( #6383 )
2022-11-03 10:30:39 +01:00
Pierre Donias
8d64a0a232
feat(lite): use new XO Lite logo ( #6379 )
2022-11-03 10:30:39 +01:00
Pierre Donias
35974a0a33
fix(lite): connect to window.origin's XAPI in prod ( #6377 )
2022-11-03 10:30:39 +01:00
Mathieu
3023439028
fix(lite): fix UiCard height ( #6373 )
2022-11-03 10:30:39 +01:00
Pierre Donias
77f4a09d74
chore(lite): switch from actual routes to hash routes ( #6372 )
...
XCP-ng web servers only serve the HTML on /xolite.html. This allows XO Lite to
still work when opened on a route that is different than /.
2022-11-03 10:30:39 +01:00
Pierre Donias
0fc797f7d0
fix(lite): change HTML main element ID from app to root ( #6371 )
...
XCP-ng web servers already serve an HTML file with a #root element. This allows
to use the new version of XO Lite without having to change that HTML file on
XCP-ng hosts.
2022-11-03 10:30:39 +01:00
Mathieu
0b02c84e33
feat(lite): xapiStat with fetchStats composable ( #6361 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
e03ff0a9be
feat(lite/component): update UiButton ( #6355 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
d91f1841c0
feat(lite/component): UI Icon utility component ( #6353 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
0effc9cfc1
fix(lite): disconnecting ( #6346 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
f08cbb458d
fix(lite): ESLint config ( #6344 )
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
b8c9770d43
chore(lite): merge old repo to XO
2022-11-03 10:30:39 +01:00
Julien Fontanet
44ff5d0e4d
fix(lite): various fixes
2022-11-03 10:30:39 +01:00
Thierry Goettelmann
ecb580a629
feat(lite): initial Vue.js implementation
2022-11-03 10:30:39 +01:00
Julien Fontanet
0623d837c1
feat: release 5.76.0
2022-10-31 13:59:50 +01:00
Julien Fontanet
f92d1ce4ac
chore(CHANGELOG): integrate released changes
2022-10-31 13:24:43 +01:00
Julien Fontanet
88f84069d6
feat(xo-web): 5.106.0
2022-10-31 13:23:49 +01:00
Julien Fontanet
b9b7081184
feat(xo-server): 5.105.0
2022-10-31 13:23:21 +01:00
Julien Fontanet
ce3e0817db
feat(@xen-orchestra/proxy): 0.26.4
2022-10-31 13:22:52 +01:00
Julien Fontanet
55b65a8bf6
feat(@xen-orchestra/backups): 0.29.0
2022-10-31 13:22:18 +01:00
Julien Fontanet
6767141661
feat(@xen-orchestra/xapi): 1.5.2
2022-10-31 13:17:26 +01:00
rajaa-b
2eb3b15930
feat(xo-web/new-vm): possibility to destroy cloud config drive after first boot ( #6486 )
...
Fixes #6438
2022-10-31 12:25:55 +01:00
Julien Fontanet
b63c4a0d4f
fix(xapi/waitObjectState): check if state si already correct
2022-10-28 16:15:53 +02:00
Mathieu
1269ddfeae
feat(xo-web/pool): XCP-ng license binding ( #6453 )
2022-10-28 16:04:37 +02:00
rajaa-b
afd47f5522
fix(xo-web/proxies): remove "Bind license" for proxies without VM UUID ( #6472 )
2022-10-28 11:19:45 +02:00
Florent BEAUCHAMP
7ede6bdbce
feat(backups): use NBD to export VDIs when possible ( #6461 )
2022-10-27 16:50:56 +02:00
Pierre Donias
03b505e40e
feat: technical release ( #6488 )
2022-10-27 15:18:03 +02:00
Julien Fontanet
ed7ff1fad4
feat(xo-server): allow logging to external syslog
...
Follow-up of 756d2fe4e
2022-10-27 14:23:00 +02:00
Julien Fontanet
2dda1aecce
feat(xo-server): use object to configure log transports
...
Follow-up of 756d2fe4e
2022-10-27 14:18:23 +02:00
Julien Fontanet
720e363577
test(fs/abstract): use getSyncedHandler
2022-10-27 09:26:49 +02:00
Florent Beauchamp
545a65521a
fix(vhd-lib): improve openVhd error handling
2022-10-27 09:26:49 +02:00
Florent Beauchamp
0cf6f94677
test: rework tests following 05161bd4df
...
Test of cleanVm are still failin , untill we fix the error condition of cleanVm broken vhd removing
- don't use handler to / (need root to run)
- don't create file at the root of the remote (conflict with the metadata and encryption.json)
- test more unhappy paths
2022-10-27 09:26:49 +02:00
Florent Beauchamp
14e205ab69
fix(vhd-cli): sync handler
2022-10-27 09:26:49 +02:00
Florent Beauchamp
c3da87a40c
fix(@xen-orchestra/fs): do not create metadata on non encrypted remote
...
this was creating file in wrong place during test or when running cli
introduced by #05161bd4df5b42e5ecfa0ae11e60c466ab2eabdf
2022-10-27 09:26:49 +02:00
Gabriel Gunullu
5d93b05088
test(cron): from Jest to test ( #6485 )
2022-10-26 09:41:39 +02:00
Gabriel Gunullu
2cdd33cb7a
test(async-map): from Jest to test ( #6484 )
2022-10-25 16:17:08 +02:00
Julien Fontanet
dc909fdfb0
test(async-each): fix iteratee calls
...
Introduced by myself in last minute change in a43199b75
2022-10-25 13:14:44 +02:00
Gabriel Gunullu
a43199b754
test(async-each): from Jest to test ( #6481 )
2022-10-25 12:23:59 +02:00
Gabriel Gunullu
876211879f
test(decorate-with): from Tap to test ( #6474 )
2022-10-24 17:46:44 +02:00
Gabriel Gunullu
fe323b8fe5
test: remove unnecessary ESLint comments ( #6479 )
2022-10-24 17:46:27 +02:00
Florent BEAUCHAMP
b60f5d593b
feat(xo-web/remote): show encryption in remote UI ( #6465 )
...
* if remote is disabled we don't know the used algorithm : only show the lock if there is an encryption key
* if remote is enabled :
* if algorithm is undefined or none : show nothing, remote is not encrypted
* if algorithm is defined to DEFAULT_ENCRYPTION_ALGORITHM : show the lock with the name of the algorithm as a tooltip
* else show the lock and a warning advising to create a new remote with an up to date algorithm
2022-10-24 16:15:26 +02:00
Gabriel Gunullu
2d4317b681
test(read-chunk): from Jest to test ( #6478 )
2022-10-24 14:38:56 +02:00
Julien Fontanet
caf0eb3762
chore(eslint): accepts Node 16 features in tests
2022-10-24 11:21:19 +02:00
Gabriel Gunullu
c1aa7b9d8a
test(multi-key-map): from Jest to test ( #6477 )
2022-10-24 10:05:51 +02:00
Gabriel Gunullu
6c6efd9cfb
test(disposable): from Jest to test and SinonJS ( #6476 )
2022-10-24 10:04:48 +02:00
Julien Fontanet
551670a8b9
fix(eslint): disable n/no-unpublished-{import,require} in tests
2022-10-24 09:53:55 +02:00
Gabriel Gunullu
ac75225e7d
test(compose): from Jest to test ( #6473 )
2022-10-21 16:25:25 +02:00
Julien Fontanet
20dbbeb38e
feat(npmignore): handle *.test.*js files
...
This naming scheme is used by `node:test` and its userland implementation `test`.
2022-10-20 17:00:49 +02:00
Julien Fontanet
37dea9980e
fix(npmignore): handle .cjs and .mjs files
2022-10-20 16:58:30 +02:00
Gabriel Gunullu
5cec2d4cb0
test(coalesce-calls): from Jest to test ( #6470 )
2022-10-20 16:46:56 +02:00
Julien Fontanet
ed76fa5141
feat(predicates): not operator
2022-10-20 12:47:02 +02:00
Julien Fontanet
389a765825
fix(mixins/_parseBasicAuth): consider empty password as missing
...
This makes `username:` recognized as token, just like `username` is.
This fixes token-based authentication in HttpProxy with cURL.
2022-10-20 10:21:09 +02:00
Julien Fontanet
3bad40095a
fix(mixins/Config#watch): first run even when undefined
...
Fixes issue introduced by d157fd352
2022-10-19 18:43:48 +02:00
Gabriel Gunullu
1a51c66028
fix(ci): GitHub actions workflow ( #6463 )
2022-10-19 12:00:46 +02:00
Florent BEAUCHAMP
05161bd4df
feat(fs): use aes256-gcm encryption algorithm ( #6447 )
...
Fixes zammad#9788
2022-10-17 11:33:55 +02:00
Florent BEAUCHAMP
db1102750f
feat(xo-web): label of vhd directory backup ( #6459 )
2022-10-13 16:45:03 +02:00
Julien Fontanet
42a974476f
feat(@vates/otp): minimal HOTP/TOTP implementation ( #6456 )
2022-10-12 15:44:43 +02:00
Florent BEAUCHAMP
0dd91c1efe
feat(nbd-client): first implementation ( #6444 )
2022-10-12 14:46:16 +02:00
Julien Fontanet
756d2fe4e7
feat(xo-server): make log transport configurable
...
See zammad#9799
2022-10-12 14:37:41 +02:00
Julien Fontanet
61c64b49c7
feat(log/configure): can instanciate transport from JSON
2022-10-12 14:37:41 +02:00
Julien Fontanet
c2eb68a31a
chore(fuse-vhd): remove unused var/lib
...
Introduced by 46fe3be32
2022-10-11 16:41:12 +02:00
Julien Fontanet
f1a1b922c7
chore: format with Prettier
2022-10-11 16:40:10 +02:00
Cécile Morange
a2dcceb470
docs(installation): Debian 10 → 11 ( #6458 )
...
Signed-off-by: Cécile MORANGE - AtaxyaNetwork <contact@ataxya.net >
2022-10-10 17:29:32 +02:00
Julien Fontanet
1d78fdd673
chore: update dev deps
2022-10-10 15:55:05 +02:00
Julien Fontanet
4a53749ca0
fix(xo-server): Redis via socket
...
Introduced by 9fab15537
Fixes #6455
2022-10-10 11:35:12 +02:00
ggunullu
7f73ec52d6
fix(docker): Node version incompatible with babel-jest
...
Introduced by 8fd10bace7
2022-10-07 16:45:54 +02:00
ggunullu
4abb172976
fix(docker): add missing dependency libfuse2
...
Introduced by 46fe3be322
2022-10-07 16:45:54 +02:00
Julien Fontanet
c52e0a5531
docs(xapi): improve VM Sync Hook example server
2022-10-07 11:52:07 +02:00
Julien Fontanet
0197758780
fix(CHANGELOG): restore unreleased comments
...
Introduced by 3d3b63a59
2022-10-07 11:23:32 +02:00
Julien Fontanet
e2521b6688
fix(read-chunk): handle already ended stream
2022-10-06 15:20:28 +02:00
Cécile Morange
13f19de1a0
feat(xo-web): replace XenServer by XCP-ng ( #6439 )
...
Signed-off-by: Cécile MORANGE <contact@ataxya.net >
2022-10-06 10:52:06 +02:00
Florent Beauchamp
5e589019d0
fix(xo-web): do not throw an error when editing a non encrypted remote
...
Introduced by dca3f39
2022-10-05 11:08:14 +02:00
Florent Beauchamp
feaad13ac3
fix(xo-web): save region on S3 remote creation
...
Introduced by f755365
2022-10-05 11:08:14 +02:00
Florent Beauchamp
ab9428a9c4
fix(xo-remote-parser): correctly handle empty S3 region
...
Introduced by c219ea0
2022-10-05 11:08:14 +02:00
Julien Fontanet
c964a1471a
fix(xo-server-transport-nagios): don\'t fail on message with line break
...
Fixes zammad#9800
2022-10-03 17:18:07 +02:00
Julien Fontanet
424322f7b7
feat(xo-server): 5.103.1
2022-09-30 15:38:40 +02:00
Julien Fontanet
956a4f8b2a
feat: release 5.75.0
2022-09-30 14:14:26 +02:00
Florent BEAUCHAMP
d87210e903
fix(xo-server): fix running replication job ( #6437 )
...
Introduced by 2d6b827fd
2022-09-28 15:38:54 +02:00
Florent BEAUCHAMP
3d3b63a596
feat: technical release ( #6436 )
2022-09-26 16:42:47 +02:00
Pierre Donias
4f9636b4c3
fix(xo-web/home/VMs): do not delete VMs when confirm modal has been cancelled ( #6435 )
...
See Zammad#9735
Introduced by 11e09e1f87
2022-09-26 15:27:01 +02:00
Mathieu
74c8d56046
feat(xo-web/storage/NFS): ability to specify subdirectory ( #6425 )
...
Fixes #3919
2022-09-26 15:17:27 +02:00
Florent BEAUCHAMP
2d6b827fd2
fix(xo-server): ignore disabled remotes when running VM backup ( #6430 )
2022-09-26 14:50:30 +02:00
Julien Fontanet
f82eb8aeb4
feat(xapi/VM_{checkpoint,snapshot}): HTTP sync hook ( #6423 )
2022-09-26 12:23:51 +02:00
Mathieu
f1ab62524c
fix(xo-web/SR): fix "VDIs to coalesce" in SR advanced tab ( #6429 )
...
See https://xcp-ng.org/forum/topic/6334/coalesce-not-showing-anymore/3
Introduced by a9c1239149
2022-09-21 16:21:23 +02:00
rajaa-b
ce78d22bb8
fix(xo-web/tasks): fix tasks being displayed to all users ( #6422 )
...
See zammad#9509
Introduced by e246c8ee47
2022-09-21 11:25:14 +02:00
rajaa-b
99a1dbeae1
fix(xo-web/tasks): fix tasks filter ( #6424 )
...
See zammad#9423
2022-09-21 11:02:03 +02:00
Julien Fontanet
2a71e28253
docs(backups): add cache for a VM
2022-09-20 14:54:47 +01:00
Florent BEAUCHAMP
46fe3be322
feat: implement file restore on top of FUSE instead of vhdimount ( #6409 )
...
It brings file restore to VhdDirectory (and related features like encryption and compression).
2022-09-20 11:04:24 +02:00
Florent BEAUCHAMP
9da65b6c7c
feat(backups): write and merge block concurrency are now configurable ( #6416 )
2022-09-16 14:54:33 +02:00
Julien Fontanet
ad02700b51
fix(backups/RemoteAdapter#_getPartition): mount with norecovery option
2022-09-15 11:06:59 +02:00
Julien Fontanet
8fd10bace7
chore: update deps
2022-09-15 00:06:07 +02:00
Julien Fontanet
9d09a3adf5
feat(backups/deleteVmBackups): run cleanVm in parallel
2022-09-12 11:23:46 +02:00
Julien Fontanet
4350f0cd1a
fix(backups/deleteVmBackups): don't fail on cleanVm error
...
Seen when investigating zammad#8842
2022-09-12 11:23:44 +02:00
Julien Fontanet
5dc993255c
fix(backups/DeltaBackupWriter#checkBaseVdis): don't warn on missing dir
2022-09-11 14:04:24 +02:00
Julien Fontanet
e9188a9864
feat(proxy/api): more raw errors
...
Follow up of ae373c3e7
2022-09-11 13:40:27 +02:00
Julien Fontanet
42dd70c2f7
chore(backups/RemoteAdapter): add more cache related debug
2022-09-10 14:16:54 +02:00
Julien Fontanet
191c124130
feat(backups): update VM backups cache ( #6411 )
2022-09-10 14:16:29 +02:00
Julien Fontanet
2742f948c2
feat(CHANGELOG): move releases before 2022 in other file
...
Because the main CHANGELOG is getting too big to be displayed on GitHub.
2022-09-10 13:21:15 +02:00
Julien Fontanet
455a3ba677
fix(CHANGELOG): fix version of 5.74.2 and 5.74.3
2022-09-10 13:14:57 +02:00
Julien Fontanet
1961da9aed
feat(xo-server): 5.102.3
2022-09-09 18:29:48 +02:00
Julien Fontanet
e82d9d7a74
fix(xo-server/isValidAuthenticationToken): call _getAuthenticationToken
...
Introduced by d52dcd070
2022-09-09 17:37:44 +02:00
Florent BEAUCHAMP
dfb3166bed
fix(backups): add healthcheck to full backup ( #6401 )
2022-09-09 16:35:38 +02:00
Florent BEAUCHAMP
5a54f7f302
feat(backups/cleanVm): invalidate cache on backup deletion ( #6402 )
2022-09-09 16:27:12 +02:00
Julien Fontanet
6002a497fe
feat(xo-server): 5.102.2
2022-09-09 15:50:37 +02:00
Julien Fontanet
3fa8b6332e
chore: update to app-conf@2.3.0
2022-09-09 12:59:59 +02:00
Manon Mercier
1b521b87c5
docs(configuration): add certificates in title to ease search ( #6212 )
2022-09-09 10:44:32 +02:00
rajaa-b
8b7d2aab6b
feat(xo-server#_startVm): add a message for 'NO_HOSTS_AVAILABLE' error ( #6408 )
2022-09-09 10:43:22 +02:00
Julien Fontanet
b0006f91f4
fix(xo-server/vm.import): allow additional props for data param
...
Fixes zammad#9521
Introduced by d7f29e736
2022-09-08 11:10:51 +02:00
Julien Fontanet
31aaa968ec
docs(users/SAML): remove confusing warning
...
See zammad#9420
2022-09-07 09:59:11 +02:00
Mathieu
facb4593f0
feat: release 7.74.2 ( #6407 )
2022-09-06 15:04:27 +02:00
Mathieu
d1a30363b4
feat: patch release ( #6406 )
2022-09-06 14:12:46 +02:00
Julien Fontanet
eac5347f32
fix(CHANGELOG): remove CHANGELOG.unreleased comments
2022-09-06 11:56:00 +02:00
Julien Fontanet
2006665fe8
feat(CHANGELOG): release 5.74.1
2022-09-06 11:55:06 +02:00
Julien Fontanet
26a3862d61
chore(CHANGELOG.unreleased): clearer error message
...
Introduced by 2371109b6
2022-09-06 11:53:53 +02:00
Mathieu
2371109b6f
fix(xo-server): handle unfetched VDIs in pool.$ha_statefiles ( #6404 )
...
Introduced by 4dc7575d5
Fixes zammad#9498
2022-09-06 11:37:13 +02:00
Mathieu
243bffebbd
feat(xo-server-auth-saml): support multiline cert ( #6403 )
...
Fixes https://xcp-ng.org/forum/topic/6174/saml-auth-with-azure-ad/10
2022-09-06 10:55:02 +02:00
Julien Fontanet
e69ae7b0db
chore(CHANGELOG): integrate released changes
2022-09-03 11:37:43 +02:00
Julien Fontanet
5aff7b94d8
feat(xo-web): 5.103.0
2022-09-03 11:37:10 +02:00
Julien Fontanet
a65058ddd5
feat(xo-server): 5.102.0
2022-09-03 11:36:28 +02:00
Julien Fontanet
b1e81d84c6
feat(@xen-orchestra/proxy): 0.26.1
2022-09-03 11:35:27 +02:00
Julien Fontanet
96e60f7e4f
feat(@xen-orchestra/mixins): 0.8.0
2022-09-03 11:34:58 +02:00
Julien Fontanet
5e59c617e8
feat(vhd-lib): 4.0.1
2022-09-03 11:33:54 +02:00
Julien Fontanet
69ad0ade6e
feat(@xen-orchestra/fs): 3.1.0
2022-09-03 11:32:23 +02:00
Julien Fontanet
37cdbc19ef
fix(xo-web): fix signout
...
Introduced by 281a1cc54
2022-09-02 18:45:10 +02:00
Julien Fontanet
6cbce81faa
feat(xo-server): respect disabled setting for VM console
...
See #6319
2022-09-02 11:32:57 +02:00
Julien Fontanet
8c14906a60
fix(xo-server-recover-account): connect Redis client ( #6398 )
2022-09-02 11:01:42 +02:00
Florent BEAUCHAMP
62591e1f6f
fix(vhd-lib/merge): reduce concurrency to protect slower backends ( #6400 )
2022-09-02 11:00:53 +02:00
Julien Fontanet
ea4a888c5e
fix(xo-server/vm.create): allow additional props for VDIs and existingDisks
...
Fixes https://xcp-ng.org/forum/post/52561
2022-09-02 10:26:38 +02:00
Julien Fontanet
281a1cc549
feat(xo-server): validate auth token on HTTP request
2022-09-01 17:19:30 +02:00
Julien Fontanet
d52dcd0708
feat(xo-server): validate auth token on HTTP request
2022-09-01 17:15:39 +02:00
Florent BEAUCHAMP
d8e01b2867
fix(fs/s3#copy): normalize error: no such key → ENOENT ( #6388 )
2022-09-01 12:51:44 +02:00
Florent BEAUCHAMP
dca3f39156
feat(xo-web): remote level encryption ( #6321 )
...
Co-authored-by: mathieuRA <contact@mathieu-raisin.fr >
2022-09-01 11:34:48 +02:00
Julien Fontanet
31e964fe0f
fix(xo-server/backupNg.{create,edit,run}Job): allow settings other than concurrency
...
Introduced by d7f29e736
2022-09-01 00:25:12 +02:00
Julien Fontanet
39d973c43f
fix(xo-server/api): allow additional props on objects without prop definitions
...
Fixes #6395
Introduced by d7f29e736
2022-09-01 00:24:12 +02:00
Julien Fontanet
55f921959d
fix(xo-server/api/adaptJsonSchema): fix additionalProperties test
...
Introduced by d7f29e736
2022-09-01 00:22:49 +02:00
Julien Fontanet
6598090662
fix(xo-server/api): keep previous params format
...
Introduced by d7f29e736
Avoid breaking `xo-cli --list-commands`.
2022-09-01 00:21:59 +02:00
Julien Fontanet
d7f29e7363
chore(xo-server/api): use Ajv instead of schema-inspector
...
- standard JSON schema
- faster
- maintained
New implementation also pre-compile schemas which means that params validation for each call is faster and incorrect schemas are detected at startup.
2022-08-31 16:46:17 +02:00
Julien Fontanet
82df6089c3
chore: refresh yarn.lock
2022-08-31 15:59:04 +02:00
rajaa-b
80cc66964e
feat(xo-web/proxies): ability to bind licence to existing proxy ( #6348 )
...
See Zammad#7457
2022-08-31 15:40:34 +02:00
Florent BEAUCHAMP
7883d38622
fix(vhd-lib/VhdDirectory/mergeBlock): write BAT on block creation ( #6300 )
2022-08-31 15:35:10 +02:00
Julien Fontanet
2cb5169b6d
feat(fs/Local): stack traces v2 ( #6363 )
...
- better support of lock/release
- handle sync exceptions as well
- save stacks in `syncStack` instead of replacing existing ones
2022-08-31 15:30:08 +02:00
Julien Fontanet
9ad2c07984
feat: release 5.74.0
2022-08-31 15:09:17 +02:00
Mathieu
a9c1239149
feat(xo-server/xo-web/health): detect invalid vhd-parent VDIs ( #6356 )
2022-08-31 11:35:35 +02:00
Mathieu
cb1223f72e
feat: technical release ( #6387 )
2022-08-30 15:36:30 +02:00
Mathieu
4dc7575d5b
feat(xo-web/storage): display SR used for the HA state files ( #6384 )
...
Fixes #6339
2022-08-29 17:02:50 +02:00
Julien Fontanet
276d1ce60a
feat(backups/Task): add original log to *log after end* error
2022-08-29 10:05:25 +02:00
Julien Fontanet
58ab32a623
feat(backups/_forkStreamUnpipe): add more debug
2022-08-26 10:49:52 +02:00
Julien Fontanet
c1846e6ff3
fix(xen-api/{get,put}Resource): add sync stack traces support
...
Follows 857a9f3ef
2022-08-25 17:06:37 +02:00
Julien Fontanet
826de17111
feat(backups/VmBackup#_callWriters): add more debug
2022-08-25 16:43:45 +02:00
Julien Fontanet
8a09ea8bc1
feat(backups/VmBackup#_callWriters): unify single/multiple code
...
The behavior should be the same even if there is a single writer
2022-08-25 16:43:18 +02:00
Florent Beauchamp
1297c925ad
feat: server side of backup encryption
2022-08-23 12:04:16 +02:00
Julien Fontanet
74d15e1a92
chore: format with Prettier
2022-08-23 11:56:26 +02:00
Julien Fontanet
ae373c3e77
feat(proxy/api): returns raw errors
...
Similar to dd5e11e83
2022-08-23 11:08:25 +02:00
Pierre Donias
e9b90caa3a
fix(complex-matcher): properly alias RegExp export as RegExpNode ( #6375 )
...
Fixes #6365
Introduced by 9ef2c7da4c
2022-08-22 10:44:07 +02:00
Florent BEAUCHAMP
b89e77a6a4
fix: various VHD related test fixes ( #6302 )
2022-08-12 16:23:59 +02:00
Florent Beauchamp
61691ac46b
fix(vhd-lib/VhdDirectory#mergeBlock): fix rename condition
...
Introduced by fd752fee8
2022-08-12 16:18:25 +02:00
Florent Beauchamp
512b96af24
fix(backups/cleanVm): fix path of merge state
...
Introduced by ad149740b1
2022-08-12 16:07:44 +02:00
Mathieu
d369593979
fix(xo-web): from ignoreBackup to bypassBackupCheck ( #6362 )
...
Introduced by 837b06ef2b
2022-08-12 15:01:22 +02:00
Julien Fontanet
2f38e0564b
fix(fs/Local#lock): correctly assign release
...
Introduced by 4bed4195a
2022-08-11 17:13:40 +02:00
Julien Fontanet
5e8dd4e4bc
fix(vhd-lib/mergeVhdChain): inverse condition to use VhdSynthetic
...
Introduced by 76813737e
2022-08-11 17:04:23 +02:00
Julien Fontanet
8f9f1f566d
fix(proxy/api): typo in Array#includes
...
Introduced by 08cdcf411
2022-08-11 14:20:57 +02:00
olegur
d7870b8860
small docs typo fix
2022-08-11 14:16:12 +02:00
Julien Fontanet
97fa23f890
chore(xo-web): use vm.convertToTemplate instead of alias vm.convert
2022-08-11 11:22:54 +02:00
Julien Fontanet
f839887da8
chore(xo-server/api): remove unused alias vdi.delete_
2022-08-11 11:22:54 +02:00
Julien Fontanet
15bfaa15ca
chore(xo-server/api): remove unused alias network.delete_
2022-08-11 11:22:54 +02:00
Julien Fontanet
4a3183ffa0
chore(xo-server/api): remove unused method
2022-08-11 11:22:54 +02:00
Pierre Donias
18d03a076b
fix(xo-web/backup/restore): don't use UNSAFE_componentWillReceiveProps ( #6364 )
...
Introduced by 7d6e832226
`UNSAFE_componentWillReceiveProps` method was only introduced in React 16 but we
are using React 15
`.eslintrc`: ask eslint to check the React version so that it doesn't suggest to
change it to `UNSAFE_componentWillReceiveProps`
2022-08-11 11:19:07 +02:00
Julien Fontanet
4bed4195ac
feat(fs/Local#lock): attempt to reacquire in case of compromission
...
Related to zammad#8826
2022-08-10 17:41:16 +02:00
Julien Fontanet
a963878af5
fix(fs/Local#lock): never fail on release
...
Related to zammad#8826
Also, log properly if the log is compromised.
2022-08-10 17:32:36 +02:00
Julien Fontanet
d6c3dc87e0
feat(xo-server): avoid warning if client WS has been closed
...
Fixes part of zammad#8826
2022-08-10 16:53:38 +02:00
Julien Fontanet
5391a9a5ad
chore(CHANGELOG.unreleased): bump fs in major
...
Introduced by b50e95802
2022-08-10 16:52:39 +02:00
Julien Fontanet
b50e95802c
feat(fs): remove JS based SMB handler
...
It's not well tested nor maintained.
2022-08-10 16:28:05 +02:00
Julien Fontanet
75a9799e96
feat(xo-server): make http.listen config an object
...
It remains compatible with previous configurations.
It now aligns with xo-proxy's config and is easier to overload with other config files.
2022-08-10 14:05:16 +02:00
Julien Fontanet
dbb9e4d60f
feat(fs/Local): add stack traces to native fs methods
2022-08-09 11:25:49 +02:00
Julien Fontanet
d27b6bd49d
fix(xo-server/collection/redis#{add,update}): cast to string before inserting in db
...
Fixes https://xcp-ng.org/forum/post/51933
Fixes #6359
Introduced by 36b94f745
2022-08-07 13:27:25 +02:00
Julien Fontanet
c5d2726faa
chore(xo-server/collection/redis): remove unused constructor param
...
Introduced by 36b94f745
2022-08-07 13:01:51 +02:00
Julien Fontanet
a2a98c490f
feat(xo-server/db-cli): improve help message
2022-08-07 12:48:34 +02:00
Julien Fontanet
e2dc1d98f1
feat(xo-server/db-cli repl): now has a collection ready for each namespace
2022-08-07 12:46:52 +02:00
Julien Fontanet
658c26d3c9
fix(xo-server/collection/redis#{add,update}): fix ignore id field
2022-08-06 13:23:46 +02:00
Julien Fontanet
612095789a
feat(xo-server/db-cli): repl command
2022-08-06 12:31:56 +02:00
Julien Fontanet
7418d9f670
fix(xo-server/collection/redis#{add,update}): save all fields
...
Fixes https://xcp-ng.org/forum/post/51916
Introduced by 36b94f745
`Redis#hSet` accepts an object instead of a sequence of key/value.
The previous commit corrupted the database by deleting all but one fields per added/updated objects.
2022-08-06 12:30:08 +02:00
Julien Fontanet
f344c58a62
feat(xo-server/db-cli): ensure errors are printed
2022-08-06 11:30:00 +02:00
Julien Fontanet
36b94f745d
fix(xo-server): redis@4 usage
...
Introduced by 9fab15537
2022-08-05 16:53:22 +02:00
Julien Fontanet
08cdcf4112
feat(proxy/api): method results can be documented/validated
2022-08-05 16:15:21 +02:00
Julien Fontanet
76813737ef
feat(vhd-cli/merge): replace mergeVhd by mergeVhdChain
2022-08-05 15:04:44 +02:00
Julien Fontanet
53d15d6a77
chore(vhd-lib/merge): remove unnecessary concat
2022-08-05 15:04:44 +02:00
Julien Fontanet
dd01b62b87
feat(vhd-lib/mergeVhd): no longer exported from the index
...
BREAKING CHANGE
2022-08-05 15:04:44 +02:00
Julien Fontanet
9fab15537b
chore: update deps
2022-08-05 14:25:09 +02:00
Florent BEAUCHAMP
d87db05b2b
feat: release 5.73.1 ( #6352 )
2022-08-04 17:47:50 +02:00
Florent BEAUCHAMP
f1f32c962c
feat: technical release ( #6351 )
2022-08-04 16:05:29 +02:00
Florent Beauchamp
ad149740b1
feat(backups/cleanVm,vhd-lib): support resuming merge of VHD chains
...
The whole chain is now stored in the merge state.
2022-08-04 15:25:31 +02:00
Florent Beauchamp
9a4e938b91
fix(backups/cleanVm): fix parent/child order when resuming merge
2022-08-04 15:25:31 +02:00
Julien Fontanet
a226760b07
fix(xo-web/css): fix double slash in Font Awesome import
...
Fixes #6350
2022-08-04 10:23:06 +02:00
Yannick Achy
a11450c3a7
docs(xoa): NTP configuration ( #6342 )
...
Co-authored-by: yannick Achy <yannick.achy@vates.fr >
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-08-04 09:24:00 +02:00
Julien Fontanet
e0cab4f937
feat(vhd-lib/merge): augment errors with VHD paths
2022-08-03 16:41:59 +02:00
Julien Fontanet
468250f291
fix(vhd-lib/merge): fix mergeState.currentBlock
...
Fixes zammad#8794 and zammad#8168
Introduced by 97d94b795
When the concurrency is one (or race condition), `Math.min(...merging)` could be called with `merging` being empty.
This lead to a `NaN` value which, was stored as `null` in the JSON merge state.
2022-08-03 14:56:49 +02:00
Julien Fontanet
d04b93c17e
feat(vhd-cli info): explicit header/footer objects
2022-08-03 14:49:14 +02:00
Florent BEAUCHAMP
911556a1aa
fix(backups/cleanVm): the child, not the parent is linked to a backup ( #6331 )
2022-08-03 14:06:35 +02:00
Per-Ole
c7d3230eef
feat(xo-server-auth-saml): allow customizing callback URL ( #6278 )
...
This will allow you to enter the full path of the callback URL. As stated in issue #6108 the SAML plugin wont work with Azure AD as the callback URL needs to be HTTPS. This was solved by @jens-rabe
2022-08-03 10:12:32 +02:00
Julien Fontanet
b63086bf09
fix(xo-web): use complex-matcher classes to build filters
...
Using strings directly breaks with special characters.
2022-08-02 21:36:41 +02:00
Florent BEAUCHAMP
a4118a5676
docs(backups): describes file hierarchy with VHD directories ( #6337 )
2022-08-02 11:12:24 +02:00
Julien Fontanet
26e7e6467c
fix(xo-server,xo-web): prevent backup concurrency from being <=0
...
Fixes #6338
2022-07-31 20:04:47 +02:00
Julien Fontanet
1c9552fa58
docs(mixins/SslCertificate): don't recommends using staging
...
This confuses users and XO is not currently able to detect that this valid has changed and generate a new certificate.
2022-07-29 19:40:29 +02:00
Julien Fontanet
9875cb5575
docs(mixins/SslCertificate): explicits that cert/key are required
2022-07-29 19:26:33 +02:00
Julien Fontanet
d1c6bb8829
fix(mixins/SslCertificate): remove unnecessary warnings
2022-07-29 19:24:49 +02:00
Julien Fontanet
ef7005a291
fix(backups/cleanVms): remove useless log
2022-07-29 15:42:46 +02:00
Pierre Donias
8068b83ffe
feat: release 5.73.0 ( #6336 )
2022-07-29 10:48:59 +02:00
Pierre Donias
f01a89710c
feat: technical release ( #6335 )
2022-07-29 10:08:26 +02:00
Julien Fontanet
38ced81ada
fix(backups,backups-cli): correctly pass loggers to cleanVm
...
Introduced by c0b0ba433
2022-07-29 08:54:31 +02:00
Julien Fontanet
9834632d59
fix(vhd-lib/merge): delete merge state after cleanup
...
Related to https://xcp-ng.org/forum/post/51529
In case the clean-up fails, the merge will be retried in the future.
2022-07-28 21:39:36 +02:00
Julien Fontanet
bb4504dd50
fix(vhd-lib/merge): don't delete children if renaming parent failed
...
Related to https://xcp-ng.org/forum/post/51529
2022-07-28 21:39:36 +02:00
Julien Fontanet
8864c2f2db
fix(backups/cleanVm): wait for unreferenced VHDs to be deleted
...
Introduced by 249f63849
2022-07-28 21:26:22 +02:00
Julien Fontanet
19208472e6
feat(backups/cleanVm): improve log messages
...
Introduced byc0b0ba433
2022-07-28 21:26:22 +02:00
Florent BEAUCHAMP
10c77ba3cc
feat(mixins/SslCertificate): Let's Encrypt support ( #6320 )
2022-07-28 18:13:12 +02:00
Pierre Donias
cd28fd4945
feat: technical release ( #6332 )
2022-07-28 15:57:40 +02:00
Mathieu
6778d6aa4a
fix(xo-web/VM): display a confirmation modal to bypass blockedOperation ( #6295 )
2022-07-28 15:01:22 +02:00
Pierre Donias
433851d771
fix(xo-server/xapi-object-to-xo): handle guest metrics reporting empty IP field ( #6328 )
...
See https://xcp-ng.org/forum/topic/4810/netbox-plugin-error-ipaddr-the-address-has-neither-ipv6-nor-ipv4-format/27?_=1658735770330
2022-07-27 12:03:22 +02:00
Julien Fontanet
d157fd3528
feat(mixins/HttpProxy): enable by default
2022-07-26 10:59:37 +02:00
Julien Fontanet
9150823c37
fix(xo-server/unregisterProxy): don't try to unbind license if method unavailable
2022-07-25 18:05:08 +02:00
Julien Fontanet
07c3a44441
fix(xo-server/registerProxy): db.add does not return a model
...
Introduced by 8a71f8473
2022-07-25 18:01:30 +02:00
Julien Fontanet
051bbf9449
fix(xo-server/callProxyMethod): use stored address before XAPI ones
2022-07-25 17:58:40 +02:00
Julien Fontanet
22ea1c0e2a
fix(xo-server/proxy.update): return proxy with its URL
2022-07-25 17:54:31 +02:00
Julien Fontanet
6432a44860
chore(fs/createOutputStream): remove deprecated method
...
Deprecated since 407586e2d
2022-07-25 16:00:42 +02:00
Julien Fontanet
493d861de3
chore(xo-server,proxy): fix linting errors
2022-07-25 13:26:26 +02:00
Julien Fontanet
82452e9616
feat(xo-server/RestApi): add raw VDI import
2022-07-21 16:28:22 +02:00
Julien Fontanet
2fbeaa618a
fix(xapi/SR_importVdi): import as VDH, not raw
...
Fixes #6327
2022-07-21 15:18:48 +02:00
Julien Fontanet
6c08afaa0e
fix(xapi/VDI_importContent): format is not optional
2022-07-21 15:18:48 +02:00
Julien Fontanet
af4cc1f574
fix(xo-cli): extract ws error message
...
Fixes #6022
2022-07-21 12:36:58 +02:00
Julien Fontanet
2fb27b26cd
feat(xo-server): refresh HTTP proxy on config change
2022-07-21 10:42:30 +02:00
Pierre Donias
11e09e1f87
fix(xo-web/home/vm): show error toaster when deleting VMs failed ( #6323 )
2022-07-21 09:42:16 +02:00
Julien Fontanet
9ccb5f8aa9
feat(xo-server): inject proxy in env ( #6322 )
...
Fixes zammad#8073
Related to #6320
- brings `no_proxy` supports
- implicit supports for other libs
2022-07-20 15:27:57 +02:00
Pierre Donias
af87d6a0ea
docs(contributing): update contribution steps ( #6318 )
...
See https://xcp-ng.org/forum/topic/6070/netbox-plugin-enhancements
2022-07-11 17:01:57 +02:00
Julien Fontanet
d847f45cb3
feat: release 5.72.1
2022-07-11 10:37:01 +02:00
Julien Fontanet
38c615609a
feat(xo-web): 5.100.0
2022-07-11 10:36:03 +02:00
Julien Fontanet
144cc4b82f
feat(xo-server-audit): 0.10.0
2022-07-11 10:36:03 +02:00
Julien Fontanet
d24ab141e9
feat(xo-server): 5.98.1
2022-07-11 10:36:03 +02:00
Julien Fontanet
8505374fcf
feat(@xen-orchestra/proxy): 0.23.5
2022-07-11 10:36:03 +02:00
Julien Fontanet
e53d961fc3
feat(@xen-orchestra/backups-cli): 0.7.5
2022-07-11 10:36:03 +02:00
Julien Fontanet
dc8ca7a8ee
feat(vhd-lib): 3.3.2
2022-07-11 10:36:03 +02:00
Julien Fontanet
3d1b87d9dc
feat(@xen-orchestra/backups): 0.27.0
2022-07-11 10:35:58 +02:00
Julien Fontanet
01fa2af5cd
chore: refresh yarn.lock
2022-07-11 10:11:00 +02:00
Julien Fontanet
20a89ca45a
feat(xo-server-audit): ignore more methods
2022-07-09 10:41:36 +02:00
Julien Fontanet
16ca2f8da9
fix(xo-web/vm/console): SSH/RDP URLs
...
Introduced by 2b0f1b6aa and e9f82558e .
2022-07-07 17:06:49 +02:00
Florent BEAUCHAMP
30fe9764ad
fix(backups,vhd-lib): merge with VhdSynthetic ( #6317 )
2022-07-07 16:57:15 +02:00
rajaa-b
e246c8ee47
fix(xo-web/tasks): tasks with no bound objects not displayed ( #6315 )
...
See https://xcp-ng.org/forum/topic/6038/not-seeing-tasks-any-more-as-admin
Introduced by dae37c6a50
2022-07-06 10:52:37 +02:00
Julien Fontanet
ba03a48498
chore(xo-server): update to hashy@0.11.1
...
Fixes https://xcp-ng.org/forum/post/50866
Introduced by 49890a09b7
Fixes argon2id support which is the new default algorithm since argon2@0.28 .7
2022-07-06 09:44:48 +02:00
Julien Fontanet
b96dd0160a
feat(async-each): change default concurrency to 10
...
BREAKING CHANGE
2022-07-05 12:00:07 +02:00
Julien Fontanet
49890a09b7
chore: update dev deps
2022-07-05 11:13:50 +02:00
Julien Fontanet
dfce56cee8
feat(async-each): add basic JsDoc typing
2022-07-04 17:37:52 +02:00
Julien Fontanet
a6fee2946a
feat(async-each): concurrency 0 means no limit
...
It's identical to `Infinity` but has broader support (e.g. in JSON).
2022-07-04 17:22:47 +02:00
Julien Fontanet
34c849ee89
fix(vhd-lib/VhdAbstract#readBlock): return type
2022-07-04 10:57:44 +02:00
Mathieu
c7192ed3bf
feat(xo-web): display maintenance mode badge next to the SR name ( #6313 )
2022-07-01 16:22:45 +02:00
Julien Fontanet
4d3dc0c5f7
feat: release 5.72.0
2022-06-30 16:47:32 +02:00
Julien Fontanet
9ba4afa073
chore(CHANGELOG): integrate released changes
2022-06-30 15:49:25 +02:00
Julien Fontanet
3ea4422d13
feat(xo-web): 5.99.0
2022-06-30 15:47:22 +02:00
Julien Fontanet
de2e314f7d
feat(xo-server): 5.98.0
2022-06-30 15:46:58 +02:00
Julien Fontanet
2380fb42fe
feat(@xen-orchestra/proxy): 0.23.4
2022-06-30 15:46:14 +02:00
Julien Fontanet
95b76076a3
feat(xo-remote-parser): 0.9.1
2022-06-30 15:45:29 +02:00
Julien Fontanet
b415d4c34c
feat(vhd-lib): 3.3.1
2022-06-30 15:44:21 +02:00
Julien Fontanet
2d82b6dd6e
feat(@xen-orchestra/xapi): 1.4.0
2022-06-30 15:38:10 +02:00
Mathieu
16b1935f12
feat(xo-server,xo-web/SR): display maintenance mode button ( #6308 )
...
Fixes #6215
2022-06-30 15:31:28 +02:00
Florent BEAUCHAMP
50ec614b2a
feat(xo-web/remotes): ability to set useVhdDirectory in remote params ( #6273 )
2022-06-30 15:28:42 +02:00
rajaa-b
9e11a0af6e
feat(xapi/VM_import): translate checksum error ( #6304 )
2022-06-30 12:08:36 +02:00
Florent BEAUCHAMP
0c3e42e0b9
fix(vhd-lib): fix VhdDirectory merge on non-S3 remote ( #6310 )
2022-06-30 11:40:21 +02:00
Julien Fontanet
36b31bb0b3
chore(vhd-lib/merge): minor comment improvement
2022-06-29 15:29:20 +02:00
Mathieu
c03c41450b
feat: technical release ( #6311 )
2022-06-29 15:27:14 +02:00
Florent BEAUCHAMP
dfc2b5d88b
feat(Backup): use vhd directory setting of remote ( #6303 )
2022-06-29 10:51:13 +02:00
Florent BEAUCHAMP
87e3e3ffe3
fix(xo-remote-parser): properly handle undefined options ( #6309 )
2022-06-29 10:26:50 +02:00
Rajaa.BARHTAOUI
dae37c6a50
feat(xo-web/tasks): show tasks for Self Service users ( #6217 )
...
See zammad#5436
2022-06-28 18:35:58 +02:00
Mathieu
c7df11cc6f
feat(xo-web/user): user tokens management through XO interface ( #6276 )
2022-06-28 17:57:59 +02:00
Julien Fontanet
87f1f208c3
feat(vhd-cli): 0.8.0
2022-06-28 16:52:27 +02:00
Julien Fontanet
ba8c5d740e
feat(vhd-cli info): list method with multiple VHDs
2022-06-27 16:24:43 +02:00
Julien Fontanet
c275d5d999
chore(vhd-cli): remove build step
2022-06-27 16:24:43 +02:00
Mathieu
cfc53c9c94
feat(xo-web/proxies): copy proxy URL ( #6287 )
2022-06-27 15:41:32 +02:00
Julien Fontanet
87df917157
feat(vhd-lib/merge): human readable UUID check
...
Introduced by a1bcd35e2
2022-06-27 14:10:15 +02:00
Julien Fontanet
395d87d290
chore(xo-common): remove build step
2022-06-23 17:24:54 +02:00
Julien Fontanet
aff8ec08ad
chore(template): remove build step
2022-06-23 17:24:54 +02:00
Julien Fontanet
4d40b56d85
fix(xo-server/file restore): ignore non-regular files/dirs ( #6305 )
...
Fixes zammad#7648
This also ignore (broken and valid) symlinks.
2022-06-23 16:37:56 +02:00
Julien Fontanet
667d0724c3
docs(configuration/custom ca): fix systemd path
...
Introduced by 03a66e469
2022-06-22 11:32:24 +02:00
Julien Fontanet
a49395553a
docs(configuration/custom ca): fix systemd path
...
Introduced by 03a66e469
2022-06-22 11:30:09 +02:00
Julien Fontanet
cce09bd9cc
docs(configuration/custom ca): add note regarding XO Proxy
2022-06-22 10:44:25 +02:00
Julien Fontanet
03a66e4690
docs(configuration/custom ca): use separate systemd file
...
This is better as it avoids conflicts with existing config and is compatible with the way XO Proxy service is handled.
2022-06-22 10:44:25 +02:00
Florent BEAUCHAMP
fd752fee80
feat(backups,vhd-lib): implement copyless merge ( #6271 )
2022-06-22 10:36:57 +02:00
Julien Fontanet
8a71f84733
chore(xo-server): remove Model wrapping
2022-06-22 10:10:39 +02:00
Julien Fontanet
9ef2c7da4c
chore(complex-matcher): remove build step
2022-06-22 09:55:59 +02:00
Julien Fontanet
8975073416
fix(xapi): add missing file
...
Introduced by b12c17947
Thanks @Danp2.
2022-06-22 00:07:32 +02:00
Julien Fontanet
d1c1378c9d
feat(xo-server-db): minimal CLI to browser the DB
2022-06-21 18:11:44 +02:00
Julien Fontanet
7941284a1d
feat(xo-server/collection/Redis): set of all indexes
2022-06-21 17:47:56 +02:00
Julien Fontanet
af2d17b7a5
feat(xo-server/collection/Redis): set of all namespaces
2022-06-21 17:29:19 +02:00
Julien Fontanet
3ca2b01d9a
feat(xo-server/collection/Redis): assert namespace doesnt contain _ or :
2022-06-21 17:24:10 +02:00
Julien Fontanet
67193a2ab7
chore(xo-server/collection/Redis): replace prefix by namespace
2022-06-21 17:23:25 +02:00
Julien Fontanet
9757aa36de
chore(xo-server/collection/Redis): _id field was never used
2022-06-21 17:23:18 +02:00
Julien Fontanet
29854a9f87
feat(xo-server): new sr.{enable,disable}MaintenanceMode methods
2022-06-21 15:07:09 +02:00
Julien Fontanet
b12c179470
feat(xapi): new SR_{enable,disable}MaintenanceMode methods
2022-06-21 15:07:09 +02:00
Julien Fontanet
bbef15e4e4
feat(xo-server/proxy.get{,All}); return associated URL(s) ( #6291 )
2022-06-21 11:33:25 +02:00
Florent BEAUCHAMP
c483929a0d
fix(ova import): drain disk entry completly ( #6284 )
2022-06-20 16:09:20 +02:00
Julien Fontanet
1741f395dd
chore(xo-server/deleteAuthenticationTokens): optimization
...
Don't use xo-server/deleteAuthenticationToken to avoid fetching the records twice.
2022-06-19 11:37:42 +02:00
Julien Fontanet
0f29262797
chore(value-matcher): remove build step
2022-06-19 11:28:11 +02:00
Julien Fontanet
31ed477b96
feat(xo-server/token.delete): available for non-admins
2022-06-17 11:59:29 +02:00
Julien Fontanet
9e5de5413d
feat(xo-server/Collection#remove): accept a pattern
2022-06-17 11:59:29 +02:00
Florent BEAUCHAMP
0f297a81a4
feat(xo-remote-parser): additional parameters in URL ( #6270 )
2022-06-16 23:14:34 +02:00
Mathieu
89313def99
fix(xapi/vm): throw forbiddenOperation on blockedOperation ( #6290 )
2022-06-16 14:39:20 +02:00
Julien Fontanet
8e0be4edaf
feat(xo-server/vm.set): blockedOperations now accepts string reasons and null
...
Related to #6290
2022-06-16 10:16:43 +02:00
Julien Fontanet
a8dfdfb922
fix(event-listeners-manager/add): _listeners is a Map
2022-06-15 14:37:38 +02:00
Julien Fontanet
f096024248
chore(event-listeners-manager): add tests
2022-06-15 14:37:31 +02:00
Julien Fontanet
4f50f90213
feat(xo-server/token.create): minimum duration is now one minute
...
This change also handles negative or zero invalid durations.
2022-06-15 11:26:32 +02:00
Julien Fontanet
4501902331
feat(xo-server): XO Proxy channel based on current channel ( #6277 )
2022-06-15 10:42:57 +02:00
Julien Fontanet
df19679dba
fix(xo-cli): close connection when finished
2022-06-15 10:25:06 +02:00
Julien Fontanet
9f5a2f67f9
fix(xo-cli): xdg-basedir import
...
Introduced by 2d5c40632
2022-06-15 10:22:39 +02:00
Julien Fontanet
2d5c406325
chore: update dev deps
2022-06-13 19:33:09 +02:00
Julien Fontanet
151b8a8940
feat(read-chunk): add readChunkStrict
2022-06-13 12:01:02 +02:00
Julien Fontanet
cda027b94a
docs(read-chunk): behavior when stream has ended
2022-06-13 11:22:42 +02:00
Julien Fontanet
ee2117abf6
chore(CHANGELOG.unreleased): pkgs list should be ordered
...
See https://team.vates.fr/vates/pl/1q6or14b9jffjfxk9qyebfg6sh
2022-06-13 11:22:08 +02:00
Thierry Goettelmann
6e7294d49f
feat: release 5.71.1 ( #6285 )
2022-06-13 11:06:36 +02:00
Manon Mercier
062e45f697
docs(backup/troubleshooting): add no XAPI associated error ( #6279 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-06-13 10:07:20 +02:00
Julien Fontanet
d18b39990d
feat(xo-server/api): introduce a global async API context ( #6274 )
...
This allows access to contextual data deep inside the call stack.
Example use cases:
- current user
- specific permission (e.g. read only token)
- current authentication token
2022-06-13 09:43:39 +02:00
Julien Fontanet
7387ac2411
fix(xo-server/disk.import): fix xapi._getOrWaitObject call
...
Maybe related to #6282
Introduced by 5063a6982
2022-06-10 17:34:33 +02:00
Thierry Goettelmann
4186592f9f
feat: technical release ( #6281 )
2022-06-10 17:05:04 +02:00
Thierry Goettelmann
6c9d5a72a6
feat(xo-web/backup): show cleanVm logs only in case of warnings ( #6280 )
2022-06-09 22:07:29 +02:00
Julien Fontanet
83690a4dd4
fix(xo-server/_importOvaVm): fix VM creation
...
Fixes https://xcp-ng.org/forum/post/49920
Introduced by 2af5328a0f
2022-06-09 18:51:35 +02:00
Florent BEAUCHAMP
c11e03ab26
fix(xo-vmdk-to-vhd/generateVmdkData): don't use VM name as OVF filename
...
It might break the OVA depending on present characters.
2022-06-09 17:18:30 +02:00
Florent BEAUCHAMP
c7d8709267
fix(xo-vmdk-to-vhd/generateVmdkData): reduce compression level
...
The max value (9) is very slow and should be avoided.
2022-06-09 17:18:30 +02:00
Florent BEAUCHAMP
6579deffad
fix(xo-server): don't create zombie task on OVA export
...
Introduced by 4b9db257f
2022-06-09 17:18:30 +02:00
Julien Fontanet
e2739e7a4b
fix(xo-server): make auth tokens created_at/expiration numbers
2022-06-09 16:15:14 +02:00
Florent BEAUCHAMP
c0d587f541
fix(backups): task warning if beforeBackup or checkBaseVdis steps fail ( #6266 )
2022-06-09 14:39:25 +02:00
Florent BEAUCHAMP
05a96ffc14
fix(xo-web): handle missing result of broken merge tasks in backup logs ( #6275 )
2022-06-09 14:14:26 +02:00
Julien Fontanet
32a47444d7
feat(proxy-cli): new --url flag
...
Which can be used instead of `--host` and `--token`.
2022-06-09 13:38:06 +02:00
Julien Fontanet
9ff5de5f33
feat(xo-server): expose _xapiRef to the API
...
Fixes zammad#7439
This makes objects searchable by their opaque ref in the UI.
2022-06-09 09:52:17 +02:00
Julien Fontanet
09badf33d0
feat(docs/configuration): use NODE_EXTRA_CA_CERTS instead of --use-openssl-ca ( #6226 )
...
Fixes zammad#6310
Easier to use and compatible with more distributions.
2022-06-09 09:08:16 +02:00
Julien Fontanet
1643d3637f
chore(xo-server/api): remove unused api from context
2022-06-08 22:52:24 +02:00
Julien Fontanet
b962e9ebe8
fix(xo-server/system.methodSignature): declare expected params
2022-06-08 22:52:03 +02:00
Julien Fontanet
66f3528e10
fix(xapi/VM_snapshot): handle undefined VM.VUSBs
...
Fixes zammad#7401
2022-06-08 16:29:27 +02:00
Julien Fontanet
a5e9f051a2
docs(REST API): content-type is no longer necessary with -T
...
Because it is no longer set by default to `application/x-www-form-urlencoded` like it was with `--data-binary`.
2022-06-07 23:46:14 +02:00
Julien Fontanet
63bfb76516
docs(REST API): use -T instead of --data-binary for cURL
...
Because `--data-binary` loads the whole data in memory which isn't compatible with big data like a VHD file, whereas `-T` streams the data to the server.
2022-06-07 23:38:05 +02:00
tkrafael
f88f7d41aa
fix(xen-api/putResource): use agent for both requests ( #6261 )
...
Fixes #6260
2022-06-07 19:33:33 +02:00
Julien Fontanet
877383ac85
fix(xo-server/sr.createExt): fix SR_create call
...
Introduced by 052126613
2022-06-07 18:59:30 +02:00
Julien Fontanet
dd5e11e835
feat(xo-server/api): don't filters error sent to admin users ( #6262 )
...
Previous behavior was hiding all errors not explicitly dedicated to be sent to API users and replacing them with an *unknown error from the peer*.
This was done to avoid leaking sensitive information, but it often hides important info.
Administrators can already see the raw errors in Settings/Logs, therefore it makes sense to not hide them for these users.
2022-06-07 13:34:34 +02:00
Julien Fontanet
3d43550ffe
feat(xo-cli): provide authentication token description
2022-06-07 10:57:28 +02:00
Julien Fontanet
115bc8fa0a
feat(xo-server): authentication tokens can have a description
2022-06-07 10:57:26 +02:00
Julien Fontanet
15c46e324c
feat(xo-server/api): new user.getAuthenticationTokens
2022-06-07 10:04:45 +02:00
Julien Fontanet
df38366066
fix(xo-server/collection/redis#get): correctly filter on properties when id is provided
2022-06-07 10:04:14 +02:00
Julien Fontanet
28b13ccfff
fix(xo-server/collection/redis#get): don't mutate properties param
2022-06-07 09:57:25 +02:00
Julien Fontanet
26a433ebbe
feat(xo-server/createAuthenticationToken): add created_at field
2022-06-07 09:20:34 +02:00
Julien Fontanet
1902595190
feat(xo-server/getAuthenticationTokensForUser): filter and remove expired tokens
2022-06-07 09:15:30 +02:00
Julien Fontanet
80146cfb58
feat(xo-server/proxies): expose auth tokens
...
First step to show expose them in the UI, to make XO Proxies easier to use as HTTP proxies.
2022-06-07 09:02:46 +02:00
Yannick Achy
03d2d6fc94
docs(backups): explain HTTP timeout error and auto power on behavior ( #6263 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-06-05 12:21:39 +02:00
Julien Fontanet
379e4d7596
chore(xo-server): use @xen-orchestra/xapi/VBD_unplug
2022-06-02 17:08:22 +02:00
Julien Fontanet
9860bd770b
chore(xo-server): use @xen-orchestra/xapi/VBD_destroy
2022-06-02 17:07:18 +02:00
Julien Fontanet
2af5328a0f
chore(xo-server): use @xen-orchestra/xapi/VM_create
2022-06-02 17:02:10 +02:00
Julien Fontanet
4084a44f83
chore(xo-server): use @xen-orchestra/xapi/VDI_exportContent
2022-06-02 16:57:21 +02:00
Julien Fontanet
ba7c7ddb23
chore(xo-server): use @xen-orchestra/xapi/VDI_importContent
2022-06-02 16:54:23 +02:00
Julien Fontanet
2351e7b98c
chore(xo-server): use @xen-orchestra/xapi/VBD_create
2022-06-02 16:37:49 +02:00
Julien Fontanet
d353dc622c
fix(xapi/VBD_create): don't fail if the VBD could not be plugged
...
Otherwise, the creation method would have failed but the VBD would still exist, violating the principle of least surprise.
2022-06-02 16:26:29 +02:00
Julien Fontanet
3ef6adfd02
feat(xapi/VBD_create): returns the new VBD's ref
2022-06-02 16:25:19 +02:00
Julien Fontanet
5063a6982a
chore(xo-server): use @xen-orchestra/xapi/VDI_create
2022-06-02 16:10:16 +02:00
Julien Fontanet
0008f2845c
feat(xapi/VDI_create): move sm_config in second param
...
Similarly to other creation methods, properties that must be explicited are passed in second param.
2022-06-02 14:45:57 +02:00
Julien Fontanet
a0994bc428
fix(scripts/gen-deps-list.js): add missing await
...
Introduced by a0836ebdd
2022-06-01 16:51:31 +02:00
Julien Fontanet
8fe0d97aec
fix(scripts/gen-deps-list.js): fix packages order ( #6259 )
...
`deptree` nodes should be added only once with the full list of their dependencies.
For better display, packages are sorted by names before resolving the graph for nicer display.
2022-06-01 16:07:36 +02:00
Julien Fontanet
a8b3c02780
chore(CHANGELOG): integrate released changes
2022-06-01 15:56:01 +02:00
Julien Fontanet
f3489fb57c
feat(xo-web): 5.97.1
2022-06-01 15:51:16 +02:00
Julien Fontanet
434b5b375d
feat(xo-server): 5.95.0
2022-06-01 15:51:16 +02:00
Julien Fontanet
445120f9f5
feat(@xen-orchestra/proxy): 0.23.1
2022-06-01 15:51:16 +02:00
Julien Fontanet
71b11f0d9c
feat(@xen-orchestra/xapi): 1.1.0
2022-06-01 15:51:16 +02:00
Julien Fontanet
8297a9e0e7
feat(@xen-orchestra/fs): 1.0.3
2022-06-01 15:51:16 +02:00
Florent BEAUCHAMP
4999672f2d
fix(xo-web/backups): scheduled health check is available to enterprise ( #6257 )
...
Introduced by cae3555ca
2022-06-01 15:36:36 +02:00
Thierry Goettelmann
70608ed7e9
fix(scripts/gen-deps-lists.js): various fixes
2022-06-01 14:04:41 +02:00
Julien Fontanet
a0836ebdd7
feat(scripts/gen-deps-list.js): test mode ( #6258 )
2022-06-01 13:53:56 +02:00
Florent BEAUCHAMP
2b1edd1d4c
feat: always log and display full remote errors ( #6216 )
...
Co-authored-by: Julien Fontanet <julien.fontanet@isonoe.net >
2022-05-31 17:30:27 +02:00
Thierry Goettelmann
42bb7cc973
feat: release 5.71.0 ( #6256 )
2022-05-31 16:20:41 +02:00
Julien Fontanet
8299c37bb7
fix(xo-server/pool.rollingUpdate): duplicate poolId declaration
...
Introduced by 7a2005c20
2022-05-31 14:32:13 +02:00
Mathieu
7a2005c20c
feat(xo-server/pool): disable scheduled job when starting RPU ( #6244 )
...
See zammad#5377, zammad#5333
2022-05-31 11:59:52 +02:00
Pierre Donias
ae0eb9e66e
fix(xo-web/health): make "Too many snapshots" table sortable by number of snaphots ( #6255 )
...
See zammad#6439
2022-05-31 11:45:11 +02:00
Julien Fontanet
052126613a
feat(xapi,xo-server): create SRs with other_config.auto-scan=true ( #6246 )
...
Fixes https://team.vates.fr/vates/pl/nf18hnr51f8f3f3brcbra57uar
2022-05-31 11:24:15 +02:00
l-austenfeld
7959657bd6
fix(xo-server/xapi): missing shutdownHost default parameter ( #6253 )
...
Add a default empty object parameter to enable calls to shutdownHost with only one parameter.
This implicitly fixes the density load-balancer, since it calls shutdownHost with only one parameter.
2022-05-31 10:01:47 +02:00
Thierry Goettelmann
9f8bb376ea
feat: technical release ( #6254 )
2022-05-30 17:45:59 +02:00
Julien Fontanet
ee8e2fa906
docs(REST API): use | cat trick in VDI import example
2022-05-30 16:51:35 +02:00
Julien Fontanet
33a380b173
docs(REST API): add name_label param in VDI import example
2022-05-30 16:50:36 +02:00
Julien Fontanet
6e5b6996fa
docs(REST API): add required content-type in VM import
2022-05-30 16:48:01 +02:00
Julien Fontanet
6409dc276c
docs(REST API): don't use --progress-bar in VDI import example
...
This is not necessary and more in line with other examples.
2022-05-30 16:46:54 +02:00
Julien Fontanet
98f7ce43e3
feat(xo-server/RestApi): VDI import now returns the new VDI's UUID
2022-05-30 16:45:41 +02:00
Julien Fontanet
aa076e1d2d
chore(xo-server/rest-api): use xen-api shorthand syntax
2022-05-30 16:23:39 +02:00
Julien Fontanet
7a096d1b5c
chore(xo-server/rest-api): remove unnecessary awaits
2022-05-30 16:00:43 +02:00
Julien Fontanet
93b17ccddd
chore(xo-server/api/vm): format with Prettier
...
Introduced by d7d81431e
2022-05-30 16:00:43 +02:00
Julien Fontanet
68c118c3e5
fix(xo-server/api/vm): add missing quote
...
Introduced by d7d81431e
2022-05-30 16:00:43 +02:00
Thierry Goettelmann
c0b0ba433f
feat(backups,xo-web): add cleanVm warnings to task ( #6225 )
2022-05-30 15:39:54 +02:00
Thierry Goettelmann
d7d81431ef
feat(xo-server/vm.migrate): call VM.assert_can_migrate before ( #6245 )
...
Fixes #5301
2022-05-30 15:04:12 +02:00
Pierre Donias
7451f45885
fix(xo-web/home): don't make VM's resource set name clickable for non-admins ( #6252 )
...
See https://xcp-ng.org/forum/topic/5902/permissions-for-users-to-be-able-to-snapshot/5?_=1653902135402
Non-admin users aren't allowed to view the Self Service page so it doesn't make
sense to have a link to that page
2022-05-30 15:02:03 +02:00
Florent BEAUCHAMP
c9882001a9
fix(xo-web,xo-server): store health check settings in job instead of schedule ( #6251 )
...
Introduced by cae3555ca7
2022-05-30 14:56:28 +02:00
Mathieu
837b06ef2b
feat(xo-server/xo-web/pool): avoid RPU/ host reboot, shutdown / host agent reboot during backup ( #6232 )
...
See zammad#5377
2022-05-30 11:13:13 +02:00
Julien Fontanet
0e49150b8e
feat(xo-server/RestApi): add VDI import
...
Related to zammad#7036
2022-05-29 20:48:59 +02:00
Julien Fontanet
0ec5f4bf68
chore(proxy,xo-server): update to http-server-plus@0.11.1
...
This new version fixes, among others, the support of the `Expect: 100-Continue` HTTP header, which is notably used by cURL during `POST`.
2022-05-29 20:44:00 +02:00
Julien Fontanet
601730d737
feat(xapi): new SR_importVdi()
...
Creates a new VDI on an SR from a VHD.
2022-05-29 20:44:00 +02:00
Julien Fontanet
28eb4b21bd
fix(xo-server/disk.import): VHD import
...
Introduced by 0706e6f4ff
2022-05-29 14:09:08 +02:00
Julien Fontanet
a5afe0bca1
feat(vhd-lib/peekFooterFromStream): check checksum and content
2022-05-29 14:07:48 +02:00
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
Julien Fontanet
581e3c358f
feat(@xen-orchestra/xapi): 1.0.0
2022-05-12 11:41:09 +02:00
Julien Fontanet
e4f1b8f2e0
fix(xo-server/installPatches): fix pool wide detection ( #6231 )
...
Introduced by 3f1c41a4f
Fixes zammad#6819 zammad#6781 zammad#6827
In #6186 the behavior was changed to always pass hosts, which broke the pool wide detection.
2022-05-12 10:56:18 +02:00
Julien Fontanet
29e8a7fd7e
docs(xo-server/REST API): Set-Cookie is not implemented
2022-05-10 15:31:40 +02:00
Julien Fontanet
4af289c492
feat(docs/architecture): update xo-cli usage
2022-05-10 11:38:19 +02:00
Julien Fontanet
cd95793054
chore(mixins): convert to ESM
2022-05-09 14:46:25 +02:00
Julien Fontanet
ab71578cf2
chore(xapi): major version
...
When using major version zero, every increase of the minor version number is breaking.
Which means that each new version of `xapi` required also a new release of `@xen-orchestra/backups`, using a true major version will fix that.
2022-05-09 10:00:36 +02:00
Julien Fontanet
df07d4a393
chore: refresh yarn.lock
2022-05-06 11:42:40 +02:00
Julien Fontanet
2518395c03
feat: release 5.70.1
2022-05-04 15:55:41 +02:00
Thierry Goettelmann
50f3ab7798
feat(scripts/gen-deps-list.js): new util to generate deps list ( #6181 )
2022-05-04 09:57:21 +02:00
Julien Fontanet
2d01056ea9
chore(CHANGELOG): integrate released changes
2022-05-03 17:52:29 +02:00
Julien Fontanet
f40fb3bab3
feat(xo-server): 5.93.0
2022-05-03 17:36:10 +02:00
Julien Fontanet
fe7c60654d
feat(@xen-orchestra/proxy): 0.22.0
2022-05-03 17:35:43 +02:00
Julien Fontanet
728b640ff8
feat(@xen-orchestra/backups): 0.22.0
2022-05-03 17:35:20 +02:00
Julien Fontanet
55c247e5d0
feat(@xen-orchestra/xapi): 0.11.0
2022-05-03 17:34:42 +02:00
Julien Fontanet
6be15b780a
feat(@xen-orchestra/mixins): 0.3.1
2022-05-03 17:33:44 +02:00
Florent BEAUCHAMP
150c552ef9
fix(xo-server/checkBackupNg): wait for VM to be running before watching guest metrics ( #6214 )
...
Introduced by 7d6e832
2022-05-03 15:11:01 +02:00
Julien Fontanet
7005c1f5e5
feat(xapi/VM_{checkpoint,snapshot}): complete NOBAK support ( #6208 )
...
Fixes #2560
2022-05-03 10:28:00 +02:00
Julien Fontanet
a66ae33d5d
fix(mixins/HttpProxy): don't fail on missing httpServer
...
Introduced by 98641631a
Similar to bc7fc750f
Which is the case when instanciated from `xo-server-recover-account`.
2022-05-02 13:34:07 +02:00
Julien Fontanet
8ed8447665
chore(cached-dns.lookup/README): regenerate from .USAGE.md
2022-04-29 15:54:57 +02:00
Florent BEAUCHAMP
e740719732
fix(xo-server/proxy-console): don't close client socket before legacy fallback ( #6203 )
2022-04-29 15:24:30 +02:00
Mathieu
bfd9238f6d
feat: release 5.70.0 ( #6211 )
2022-04-29 12:18:21 +02:00
Mathieu
cca47a8149
feat: technical release ( #6209 )
2022-04-28 16:28:24 +02:00
Julien Fontanet
3ecf099fe0
feat(mixins/HttpProxy): HTTP/HTTP CONNECT proxy ( #6201 )
2022-04-28 15:39:21 +02:00
Julien Fontanet
6f56dc0339
fix(CHANGELOG.unreleased): style & package order
2022-04-28 15:15:10 +02:00
Florent BEAUCHAMP
20108208d0
fix(xo-server/clearHost): warn if host does not support migration network for evacuation ( #6206 )
2022-04-28 11:55:17 +02:00
Florent BEAUCHAMP
0706e6f4ff
feat(xo-web,xo-server): implement ISO import ( #6180 )
2022-04-28 10:41:20 +02:00
Mathieu
af85df611c
feat(xo-web/proxy): disable "deploy proxy" for source users ( #6199 )
...
See xcp-ng-forum#5740
2022-04-26 19:28:07 +02:00
Mathieu
3c1239cfb8
feat(xo-web/migrate/vm): allow to select private network for VIFs network ( #6200 )
2022-04-26 15:31:14 +02:00
Julien Fontanet
50d144bf93
chore: format with Prettier
2022-04-26 14:27:54 +02:00
Julien Fontanet
9a5a03d032
chore: update deps
2022-04-26 14:27:52 +02:00
Thierry Goettelmann
854ae0f65e
fix(fs/s3): fix stream writing support with Object Lock enabled ( #6190 )
2022-04-26 11:37:34 +02:00
Julien Fontanet
4fb34ffee9
feat(xen-api/cli): add proxy support
2022-04-25 16:27:36 +02:00
Julien Fontanet
bbf3dae37f
fix(xen-api): fix proxy support ( #6204 )
...
Introduced by c99120bd2
2022-04-25 16:26:56 +02:00
Julien Fontanet
e69f58eb86
fix(cached-dns.lookup): don't use assert/strict
...
Fixes #6202
Only available on Node >=15.
2022-04-24 15:28:30 +02:00
Julien Fontanet
c9475ddc65
feat(@vates/cached-dns.lookup): small DNS cache ( #6196 )
...
See https://xcp-ng.org/forum/topic/5775/dns-queries-during-backup-job
2022-04-22 15:27:41 +02:00
Julien Fontanet
31d085b6a1
chore: update to app-conf@2.1.0
...
This new version does not watch vendor config which fixes (minor) issues during services reinstall/upgrade.
2022-04-21 17:17:36 +02:00
Julien Fontanet
173866236f
feat(xo-server/_handleHttpRequest): add fn and data to the error log
...
This should ease debugging.
2022-04-21 16:56:49 +02:00
Florent BEAUCHAMP
b176780527
fix(xo-server/proxy-console): fallback on TCP if WS not available ( #6191 )
...
Introduced by c99120bd2
Co-authored-by: Julien Fontanet <julien.fontanet@isonoe.net >
2022-04-21 14:51:33 +02:00
Julien Fontanet
89c72fdbad
feat(event-listeners-manager): easy way to clean up event listeners
2022-04-21 14:02:57 +02:00
Florent BEAUCHAMP
7d6e832226
feat(xo-server,xo-web/backups): restore health check ( #6148 )
2022-04-21 10:26:36 +02:00
Julien Fontanet
c024346475
chore: update to eslint-config-standard@17.0.0
2022-04-20 17:44:50 +02:00
Florent BEAUCHAMP
95ec5929b4
fix(xo-vmdk-to-vhd): remove depency to xmllint for source users ( #6195 )
2022-04-20 16:07:28 +02:00
Julien Fontanet
1646c50a94
Revert "feat(xen-api): implement fallback addresses ( #6061 )" ( #6198 )
...
This reverts commit 6b8a345241 .
2022-04-20 11:58:15 +02:00
Julien Fontanet
b1429e1df3
chore(xen-api/_wrapRecord): basic documentation
2022-04-20 10:46:40 +02:00
Julien Fontanet
6da0aa376f
fix(xo-vmdk-to-vhd/createNicsSection): remove incorrect XML node
...
Introduced by 4b9db257f
See https://github.com/vatesfr/xen-orchestra/pull/6195#discussion_r853177122
2022-04-20 09:56:04 +02:00
Julien Fontanet
1ab5503558
chore(xo-vmdk-to-vhd): refresh README
...
Introduced by 4b9db257f
2022-04-19 17:47:43 +02:00
Nicolas Raynaud
4b9db257fd
feat: initial support for OVA VM export ( #6006 )
...
Co-authored-by: Florent Beauchamp <flo850@free.fr >
2022-04-19 11:01:53 +02:00
Julien Fontanet
96f83d92fc
chore: update dev deps
2022-04-19 10:32:16 +02:00
Pierre Donias
7c7ee7fb9b
feat: release 5.69.2 ( #6189 )
2022-04-13 16:52:40 +02:00
Pierre Donias
2bd3d57f8a
feat(xo-server/rpu): update hosts one by one on XCP-ng ( #6188 )
2022-04-13 16:38:23 +02:00
Pierre Donias
3f1c41a4f7
fix(xo-server/Rolling Pool Update/_xcpUpdate): handle undefined hosts ( #6186 )
...
Fixes #6170
Introduced by e7f9111ab5
2022-04-13 13:22:30 +02:00
Julien Fontanet
ef819f4d53
fix(xo-server/connectXenServer): typo
...
Introduced by 6b8a34524
2022-04-08 14:30:35 +02:00
Julien Fontanet
23189ed8f9
chore(scripts): add .js suffix for better Prettier/ESLint integration
2022-04-08 14:14:41 +02:00
Florent BEAUCHAMP
6b8a345241
feat(xen-api): implement fallback addresses ( #6061 )
2022-04-08 11:11:20 +02:00
Julien Fontanet
b3cc168571
docs(xapi/watchObject): explicit behavior and param
2022-04-08 10:57:44 +02:00
Julien Fontanet
00b740c549
chore(xo-server/docs/rest-api): improve readability
2022-04-08 10:57:44 +02:00
Pierre Donias
472bececb1
feat(xo-server/plugins): unload plugin on configuration purge ( #6172 )
2022-04-07 14:49:36 +02:00
Olivier Lambert
4fe9a4eb59
feat(docs): add REST API doc and minor fixes ( #6178 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-04-07 10:42:10 +02:00
Pierre Donias
d331cd934a
fix(xo-server/backup): restore VM from proxied remote ( #6179 )
2022-04-06 16:32:43 +02:00
Olivier Lambert
f6e1b95711
feat(issue template/bug): explicit XOA and sources differences ( #6175 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-04-05 15:02:46 +02:00
Florent BEAUCHAMP
edec412bc7
fix(docs/backups): clarify file level restore for VG based on multiple PV ( #6152 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-04-05 10:24:41 +02:00
Florent BEAUCHAMP
e142bacb67
fix(xo-vmdk-to-vhd): ensure secondary grain table is present ( #6167 )
2022-04-05 10:24:00 +02:00
Florent BEAUCHAMP
915e4b66a3
fix(vmdk): ensure descriptor have enough free space ( #6163 )
2022-04-05 10:22:13 +02:00
Pierre Donias
ee47a361b1
fix(xo-server/config): configure plugins on config import ( #6171 )
...
See https://xcp-ng.org/forum/topic/5720/ztp-restore-xoa-from-backup
2022-04-04 15:44:05 +02:00
l-austenfeld
3ab2dad19b
fix(docs/configuration): link to sources install ( #6177 )
...
Co-authored-by: Lennart Austenfeld <lennarta@mail.upb.de >
2022-04-04 08:28:12 +02:00
Julien Fontanet
635c6db83a
fix(backups/ImportVmBackup): fix optional mapVdisSrs
...
Introduced by dfa5009a9
2022-04-03 16:34:05 +02:00
Julien Fontanet
d2a13f531a
feat(xen-api): support pathname in URL
...
Fixes #6174
2022-04-02 20:07:43 +02:00
Julien Fontanet
e44857c023
fix(xen-api/transports/xml-rpc): fix agent support
...
Introduced by c99120bd2
2022-04-02 20:05:17 +02:00
Julien Fontanet
749cdd011b
fix(proxy/reverse proxy): don't remove first char of local path
...
Introduced by b78a946458
2022-04-02 19:57:08 +02:00
Julien Fontanet
4fde005b7f
fix(proxy/reverse proxy): fix options support
...
Introduced by b78a946458
2022-04-02 19:54:28 +02:00
Olivier Lambert
0a975fc0cc
feat(docs/updates): add RPU documentation and improve the update section ( #6173 )
...
* feat(docs/updates): add RPU documentation and improve the update section
Signed-off-by: Olivier Lambert <olivier.lambert@vates.fr >
2022-04-02 11:23:22 +02:00
Pierre Donias
f5b7c59203
feat: release 5.69.1 ( #6169 )
2022-03-31 15:54:59 +02:00
Florent BEAUCHAMP
c775559912
fix(xo-server): typo in authorization level enterprise ( #6168 )
...
Introduced by 8ce1b4bf71
See zammad#6043
2022-03-31 15:39:05 +02:00
Pierre Donias
4b9116ed72
feat: release 5.69.0 ( #6166 )
2022-03-31 10:50:32 +02:00
Thierry Goettelmann
178501e252
fix(backups/_backupType): XVA sum files are not detected ( #6160 )
2022-03-30 23:20:05 +02:00
Pierre Donias
c9391abfd9
feat: technical release ( #6165 )
2022-03-30 16:06:06 +02:00
Pierre Donias
f7a7d9e52d
feat: technical release ( #6164 )
2022-03-30 15:15:22 +02:00
Mathieu
5a65087aeb
fix(xo-web/file restore): mention S3 is not compatible ( #6158 )
...
Introduced by 3842f5b16d
2022-03-30 12:10:08 +02:00
Pierre Donias
3cfeb8f492
docs(Netbox): update with Netbox v3 screenshots ( #6162 )
2022-03-30 09:00:18 +02:00
Julien Fontanet
0498e2d679
chore: update deps
2022-03-29 16:35:00 +02:00
Florent BEAUCHAMP
19563d0b3c
fix(web): rework human readable number rounding ( #6131 )
2022-03-29 14:33:04 +02:00
Pierre Donias
4cc1d98a42
fix(xo-server,xo-web/new ISO SR): take NFS version & options into account ( #6161 )
...
See zammad#5995
2022-03-29 14:28:16 +02:00
Mathieu
cd408c1687
feat(xo-web/VM/import): ability to import XVA VM from URL ( #6130 )
...
Follow-up of 86e390f70f
2022-03-29 11:43:11 +02:00
Rajaa.BARHTAOUI
546859531b
feat(xo-web/install patches): improve confirm message ( #6159 )
2022-03-29 11:17:13 +02:00
Pierre Donias
857e467672
Revert "fix(xo-web/job): properly handle array arguments ( #5944 )" ( #6156 )
...
This reverts commit e2e453985f .
See #5983
See #5973
See zammad#5844
2022-03-29 11:15:43 +02:00
Florent BEAUCHAMP
5de5a80eee
feat(xo-web/VM/Advanced): add link to doc on secure boot ( #6146 )
2022-03-28 15:46:26 +02:00
Thierry Goettelmann
5f1333b2a0
chore(fs/s3): upgrade AWS SDK ( #6144 )
...
https://github.com/aws/aws-sdk-js-v3/blob/main/UPGRADING.md
2022-03-28 14:06:23 +02:00
Julien Fontanet
5e9548edbc
feat(xo-server/rest-api): add VDI export
2022-03-28 11:12:26 +02:00
Julien Fontanet
e42edf2164
fix(xo-server/rest-api/VM export): 404 error if UUID is not a VM
2022-03-28 11:01:09 +02:00
Julien Fontanet
7e8c524a43
fix(xo-server/rest-api): restrict to admin users (missing change)
...
Introduced by 24ce40042
2022-03-28 11:00:26 +02:00
Julien Fontanet
8d6ba86118
fix(xo-server): xo-common/api-error.js import
...
Introduced by dc27317d0
2022-03-28 10:36:10 +02:00
Julien Fontanet
dc27317d0b
feat(xo-server/rollingPoolUpdate): fail if some hosts are not running
...
Fixes zammad#795.
2022-03-28 08:46:00 +02:00
Julien Fontanet
0b8032c7a0
feat(xen-api/cli): expose lodash as L
2022-03-28 08:38:41 +02:00
Julien Fontanet
d3e18a81aa
chore(xen-api): don't use babel-plugin-lodash
...
It prevents importing the whole package when necessary.
2022-03-28 08:37:54 +02:00
Julien Fontanet
4707573c57
feat(xo-server/rest-api): add VM export
2022-03-26 23:36:01 +01:00
Julien Fontanet
218e2deef4
chore(xo-server/docs/rest-api): add ToC
2022-03-26 23:14:00 +01:00
Julien Fontanet
47afff3bab
chore(xo-server/docs/rest-api): explicit experimental status
2022-03-26 23:13:09 +01:00
Julien Fontanet
24ce400429
feat(xo-server/rest-api): restrict to admin users
2022-03-26 23:01:45 +01:00
Julien Fontanet
ceac341016
chore(xo-server): use @xen-orchestra/xapi/VM_export
2022-03-26 22:59:20 +01:00
Julien Fontanet
7830c89e66
fix(xo-server/Xapi#exportVm): correctly use getRecord
...
Introduced by 6aa5ec6eb
2022-03-26 12:41:44 +01:00
Julien Fontanet
fa6ca01de9
chore: remove unused Flow config
...
Introduced by 78c0f2c7e
2022-03-26 09:20:18 +01:00
Julien Fontanet
746bff55a8
fix(backups): import suspended VM without suspend VDI ( #6149 )
...
Fixes #6142
2022-03-25 23:06:32 +01:00
Julien Fontanet
ec81e90153
chore(proxy-cli): remove build step
2022-03-25 19:07:26 +01:00
Julien Fontanet
74c9d06d91
chore(cron): remove build step
2022-03-25 17:10:22 +01:00
Julien Fontanet
3cfbd8b70c
fix(jest): don't run audit-core tests
...
Introduced by 046d9b80b
2022-03-25 17:10:22 +01:00
Julien Fontanet
046d9b80bb
test(audit-core): use tap instead of Jest
2022-03-25 16:53:04 +01:00
Julien Fontanet
516fda2a3a
chore(audit-core): move spec to docs/
...
To avoid it from being published.
2022-03-25 15:43:37 +01:00
Julien Fontanet
bc5c103cec
chore(audit-core): remove build step
2022-03-25 15:40:52 +01:00
Julien Fontanet
98f0c068ad
chore(backups): initial documentation
2022-03-25 11:21:17 +01:00
Julien Fontanet
28e0a5a3a3
fix(xo-server/utils/parseXml): ignore XML declaration
...
Restore previous behavior and fix tests.
2022-03-25 10:18:41 +01:00
Julien Fontanet
5f9d6db761
feat(xo-server/_pDebounceWithKey): proper support of inifinite delay
...
No more Node warning.
2022-03-25 10:17:33 +01:00
Julien Fontanet
9bec52074f
test(xo-server): use tap instead of Jest
...
Fixes support of .mjs files
2022-03-25 10:16:49 +01:00
Rajaa.BARHTAOUI
dfa5009a9b
feat(xo-web/backup/restore): ability to ignore certain VDIs ( #6143 )
...
Fixes #4605
2022-03-24 10:51:26 +01:00
Julien Fontanet
fbb5c47358
chore: update to eslint-plugin-n@15.1.0
...
It fixes the support for dynamic imports (`import()`).
2022-03-24 10:34:44 +01:00
Thierry Goettelmann
f2ca67a7f4
fix(fs/rmtree): unllink can throw EPERM for dirs on POSIX ( #6155 )
...
For instance on macOS.
2022-03-24 10:03:56 +01:00
Rajaa.BARHTAOUI
3a9af92571
feat(xo-web): disable patch installation when HA is enabled ( #6145 )
...
See kanban#770
2022-03-23 17:16:03 +01:00
Mathieu
b26148bf62
fix(xo-web/new/SR/NFS): disable "No selected value" path option ( #6137 )
...
Fixes #5991
2022-03-23 16:55:45 +01:00
Julien Fontanet
7e27e0bda8
linting: enable eslint-plugin-n recommended rules
...
And fixes a lot of related issues.
2022-03-23 11:18:37 +01:00
Julien Fontanet
94df05566a
chore(xapi): remove xo-common from dev deps
...
Introduced by 5f1c1278e
2022-03-23 09:49:14 +01:00
Julien Fontanet
efa46414fd
chore(xapi): remove build step
2022-03-23 09:48:07 +01:00
Julien Fontanet
311623d71a
chore(xapi): don't use decorator syntax
2022-03-23 09:36:35 +01:00
Julien Fontanet
89894b0f08
chore: update yarn.lock
2022-03-23 09:35:57 +01:00
Julien Fontanet
ed590eeb41
fix(xen-api/_getHostBackupAddress): avoid using internal address for master
...
Fixes #6125
2022-03-22 15:44:21 +01:00
Julien Fontanet
8956902c52
chore: update dev deps
2022-03-22 09:34:46 +01:00
Julien Fontanet
720d9649eb
fix(xapi): add missing xo-common dep
...
Introduced by 5f1c1278e
2022-03-22 09:34:46 +01:00
Olivier Lambert
ce95041821
feat(docs/community): add more details on support ( #6151 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-03-22 08:01:38 +01:00
Olivier Lambert
9cd84ac834
feat(docs/roadmap): update ( #6150 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-03-22 07:50:13 +01:00
Julien Fontanet
eddd6880f2
feat(xo-server/pool.installPatches): disable when HA enabled
...
Requested by @stormi https://team.vates.fr/vates/pl/r3y6fmxq9byqixehhm8wiyx9zw
2022-03-21 11:23:41 +01:00
Julien Fontanet
e7f9111ab5
feat(xo-server/pool.installPatches): restart toolstacks after install
...
Fixes https://kanban.vates.fr/b/jnfjuip4eBARBNuv9/xo-releases/t8QpqKnZ23iYnbRxR
2022-03-21 11:19:11 +01:00
Julien Fontanet
0eb2ee72a4
feat(xapi): host_restartAgent
2022-03-21 10:40:35 +01:00
Julien Fontanet
1aa4fac528
chore(xen-api): better status assertions
2022-03-21 10:38:27 +01:00
Pierre Donias
3f07f7ef41
fix(xo-server): invalid arguments passed to VM_destroy ( #6119 )
...
Fixes #6124
See https://xcp-ng.org/forum/topic/5569
Introduced by cb52a8b51
2022-03-17 14:37:45 +01:00
Julien Fontanet
886ff2cd70
fix(xo-server/_runJob): createUserConnection → createApiConnection
...
Introduced by 244b15038
2022-03-16 16:43:28 +01:00
Julien Fontanet
ed09608952
fix(xapi/VM_destroy): remove useless return
2022-03-16 15:54:36 +01:00
Julien Fontanet
6aa5ec6eb6
chore(xo-server): use @xen-orchestra/xapi/VM_{checkpoint,snapshot}
2022-03-16 14:48:59 +01:00
Julien Fontanet
eee4981d4c
fix(xapi/VM_checkpoint): set is_a_template to false
...
The work-around was already implement for `VM_snapshot`.
2022-03-16 11:49:57 +01:00
Julien Fontanet
ab2c0f905a
fix(xo-server): fix patching for XCP-ng>=8.2.1
...
Fixes zammad#5786
The behavior of the plugin has changed:
- it will throw in case of error
- `exit` is no longer defined in case of success
When defined, `exit` is still checked for compatibility with older versions.
2022-03-15 15:24:11 +01:00
Julien Fontanet
4eca3d169e
feat(xo-server/api): add api.{getConnections,closeAllConnections} methods
2022-03-15 15:24:11 +01:00
Julien Fontanet
e69944eaaf
chore(xo-server/api): uniformize session → connection
2022-03-15 15:24:11 +01:00
Julien Fontanet
bc987b2dda
chore(xo-server): WebSocket connection events debugs
2022-03-15 15:23:52 +01:00
Julien Fontanet
244b150385
chore(xo-server): move Xo#createUserConnection() to Api#createApiConnection()
2022-03-15 15:23:01 +01:00
Julien Fontanet
3acbc08ec5
chore(xo-server): move some API logic to Xo#createUserConnection()
2022-03-15 14:38:16 +01:00
Julien Fontanet
1ce7e5d8a4
fix(proxy): fix incorrect order of decorators application
...
Introduced by e14c177f3
2022-03-14 18:34:01 +01:00
Julien Fontanet
7813fe232a
chore(fs/S3): standardize paths handling
2022-03-14 13:41:01 +01:00
Julien Fontanet
1b273071b2
chore(fs/_path): utilities to handle virtual paths
2022-03-14 13:27:51 +01:00
Julien Fontanet
43236f25ad
chore(fs/_normalizePath): comment more behaviors
2022-03-14 13:27:51 +01:00
Julien Fontanet
5f2b1acfea
chore(xo-server/authorization): simplify check for source users
2022-03-12 16:06:07 +01:00
Florent BEAUCHAMP
b820dcd73f
fix(xo-server/authorizations): add missing smart backups and S3 ( #6141 )
...
Introduced by 4e8dc2
2022-03-12 09:57:42 +01:00
Florent BEAUCHAMP
0a412c0ef7
feat(CI): use github action ( #5987 )
2022-03-11 17:18:21 +01:00
Florent BEAUCHAMP
db75f8046c
feat(fs/S3#list): workaround Backblaze issue ( #6139 )
...
Workaround for #6138
2022-03-11 16:12:08 +01:00
Florent Beauchamp
7bdd1a4a3a
fix(vhd-lib): fix tests
2022-03-11 14:55:55 +01:00
Julien Fontanet
b7d39105e8
feat(docs): delete old (unused) from_the_sources
2022-03-10 19:26:48 +01:00
Julien Fontanet
f8b5dbbba5
feat(docs/installation): integrate old from_the_sources changes
2022-03-10 19:26:13 +01:00
Florent BEAUCHAMP
c99120bd24
feat: support VM/hosts consoles behind HTTP proxy ( #6133 )
...
This is a major change in the way xo-server connect to a console, from connecting directly as a TCP socket to using a WebSocket in binary mode.
This was already the case prior c17620e but was changed due to XenServer issues with their WebSocket console implementation, it appears to be working fine now.
2022-03-10 13:54:32 +01:00
Julien Fontanet
b9ff3db9b0
feat(decorate-with): decorateClass() ( #6136 )
...
Generalization of `decorateMethodsWith` which also works for accessors.
The suffix `With` is not part of the name because it's not fluent (unlike for `@decorateWith(decorator)`).
`decorateMethodsWith` is now a deprecated alias for this new implementation.
2022-03-10 11:51:57 +01:00
Florent BEAUCHAMP
8ce1b4bf71
feat(xo-server): server side authorization ( #6107 )
2022-03-10 11:45:04 +01:00
Julien Fontanet
0b41a2b132
feat(fs): add basic CLI
2022-03-10 09:48:45 +01:00
Julien Fontanet
575ed92593
fix(xo-server): add missing dep @vates/async-each
...
Introduced by 6075a3307
2022-03-09 16:14:58 +01:00
Julien Fontanet
d3fe37b879
fix(fs): add missing dep @vates/async-each
...
Introduced by 96eb79329
2022-03-09 16:13:27 +01:00
Julien Fontanet
8318cb991b
chore(xen-api): remove Babel plugin included in preset-env
2022-03-09 09:03:23 +01:00
Julien Fontanet
9779fb1d29
fix(gitignore): ignore all coverage/
2022-03-09 08:19:59 +01:00
Julien Fontanet
43b4e8c924
fix(CHANGELOG.unreleased): add @xen-orchestra/xapi
...
Follow-up of c67b55043
2022-03-09 06:58:17 +01:00
Julien Fontanet
756a206a9e
feat(xo-server/RestApi): add networks, VBDs, VDIs and VIFs
2022-03-09 06:56:25 +01:00
Julien Fontanet
324ff44886
chore(proxy): remove unused .eslintrc.js
...
Follow-up of a870813ac
2022-03-09 06:45:24 +01:00
AtaxyaNetwork
04913cabba
fix(docs/from_the_sources): replace python-minimal with python3-minimal ( #6134 )
...
python-minimal doesn't exist anymore on latest Debian
2022-03-06 19:36:52 +01:00
Julien Fontanet
c67b550435
chore(xen-api): major version
...
When using major version zero, every increase of the minor version number is breaking.
Which means that each new version of `xen-api` required also a new release of `@xen-orchestra/xapi`, using a true major version will fix that.
2022-03-04 10:17:12 +01:00
Julien Fontanet
88bf60b8c2
feat(xen-api/objects): add index by type
2022-03-04 10:17:12 +01:00
Barney
08fd2beb52
fix(docs/sdn_controller.md): typo optionnal → optional
2022-03-04 09:26:39 +01:00
Julien Fontanet
a870813ac5
chore(proxy): remove build step
2022-03-03 15:38:55 +01:00
Julien Fontanet
c31f0100cb
chore(proxy/backups): no license check bypass in dev mode
2022-03-03 15:23:02 +01:00
Julien Fontanet
bc7fc750f0
fix(xo-server/RestApi): don't fail on missing express
...
Which is the case when instanciated from `xo-server-recover-account`.
2022-03-03 14:26:26 +01:00
Julien Fontanet
9cd1784667
chore(xo-server): remove Babel plugin included in preset-env
2022-03-03 14:12:29 +01:00
Julien Fontanet
fbc7baa9a4
chore(proxy): remove unused Babel plugin
2022-03-03 14:12:29 +01:00
Julien Fontanet
a4e5cf3914
chore: remove babel plugins included in preset-env
2022-03-03 14:12:25 +01:00
Julien Fontanet
e14c177f39
chore(proxy): don't use decorator syntax
2022-03-03 13:45:26 +01:00
Julien Fontanet
b5b53c636c
feat(vhd-cli info): human format UUIDs
2022-03-03 10:59:22 +01:00
Julien Fontanet
33b45d2eda
feat(xo-server): better info when failing to start a VM
...
Fixes https://xcp-ng.org/forum/post/47329
2022-03-02 22:52:59 +01:00
Julien Fontanet
4c9bb71626
chore: missing use strict
2022-03-02 17:49:53 +01:00
Julien Fontanet
e9aa88e637
chore(scripts): fix lint errors
2022-03-02 17:48:26 +01:00
Julien Fontanet
e7c7c2ce3e
fix(xo-server/pool.rollingUpdate): don't fail on missing load-balancer
...
Fixes zammad#5642
2022-03-02 17:35:31 +01:00
Manon Mercier
686e7e9527
feat(docs/backup_troubleshooting): Lock file is already being held ( #6123 )
...
Co-authored-by: Jon Sands <fohdeesha@gmail.com >
2022-03-01 16:33:11 +01:00