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