Julien Fontanet
b1acbaecc2
fix(log): remove some lints
2019-07-10 15:40:25 +02:00
Julien Fontanet
6d61e8efff
chore: use native String#{end,start}sWith
...
Supported since Node 4
2019-07-09 16:00:16 +02:00
Julien Fontanet
482e6b3cb3
feat(xo-server/backupNg.runJob): new param settings ( #4321 )
...
Can be used to override certain job settings, the format is the same as the `settings` field in the job.
Related to xoa-support#1583
2019-07-08 14:54:09 +02:00
Julien Fontanet
30b2a8dd8d
feat(log/README): document data param
2019-07-05 12:13:54 +02:00
Julien Fontanet
ebe7f6784a
chore: re-format with Prettier
...
Related to c8aa058ede
Mainly due to https://prettier.io/blog/2019/06/06/1.18.0.html#stop-breaking-simple-template-literals-5979-by-jwbay
2019-07-05 11:34:15 +02:00
Julien Fontanet
cc9c8fb891
feat(CHANGELOG.unreleased): add instructions for devs ( #4333 )
2019-07-05 10:05:02 +02:00
Julien Fontanet
c8aa058ede
chore: update dependencies
2019-07-04 16:01:07 +02:00
Julien Fontanet
863e4f0c19
feat(xo-server/backup NG): new setting bypassVdiChainsCheck ( #4320 )
...
Related to xoa-support#1583
2019-07-04 10:07:28 +02:00
Julien Fontanet
02995d278f
fix(xo-server/server.set): declare readOnly in params
...
Related to b8524732ce
2019-07-02 17:31:44 +02:00
Julien Fontanet
78a2104bcc
fix(xo-server/api/server): use correct types
...
Booleans should be booleans, not strings.
2019-07-02 17:09:57 +02:00
Julien Fontanet
d1935bf778
feat(xo-server-auth-ldap/cli): display the whole entry on success
...
This can help while debugging filters.
2019-06-27 11:31:24 +02:00
Julien Fontanet
70a346d11e
feat(CHANGELOG.unreleased): add xen-api v0.26.0
2019-06-27 11:12:23 +02:00
Julien Fontanet
fd39a2063d
fix(xen-api): refresh pool on new session
2019-06-27 11:08:45 +02:00
Julien Fontanet
682512fffe
fix(xen-api/events): full refresh on new session
2019-06-27 11:08:45 +02:00
Julien Fontanet
cdced63c1b
feat(xo-server-auth-saml): improve Azure AD compat ( #4294 )
...
See xoa-support#1543
2019-06-20 17:11:39 +02:00
Julien Fontanet
45e1d1ecef
fix(CHANGELOG.unreleased): fix issue link
2019-06-19 15:36:21 +02:00
Julien Fontanet
e171d8ed0e
fix(xo-server/vm.set): add auto_poweron to params
...
Related to b8524732ce
Fixes #4295
2019-06-18 17:24:54 +02:00
Julien Fontanet
ab6548122f
Revert "fix(xo-server/metadata-backups): missing pool/remote should emit failure tasks"
...
This reverts commit f81573d999 .
2019-06-17 14:36:49 +02:00
Julien Fontanet
84ccebb858
fix(xo-server/vm.create): accept extra params
...
Fixes #4280
2019-06-15 23:37:46 +02:00
Julien Fontanet
c9e30b74e2
fix(xo-server/api): only change id to namespace if necessary
2019-06-13 12:00:10 +02:00
Julien Fontanet
4b16a2c0c5
fix(xo-server/xo.getAllObjects): correctly validate ndjson param
...
Fixes https://xcp-ng.org/forum/topic/1478/fresh-install-can-t-create-vms-or-see-vms-after-refresh
2019-06-10 14:32:12 +02:00
Julien Fontanet
b8524732ce
fix(xo-server/api): throw on unexpected parameters
2019-06-06 18:11:12 +02:00
Julien Fontanet
d641d35d5c
fix(xo-server/importDeltaVm): disable HA during import
...
Fixes xoa-support#1525
This is necessary because HA does not respect `blocked_operations.start`.
2019-06-05 17:38:36 +02:00
Julien Fontanet
7464d95b57
chore(xo-server/importDeltaVm): merge some attributes changes into VM record creation
...
Limits race conditions (especially for the `blocked_operations.start`.
2019-06-05 17:27:16 +02:00
Julien Fontanet
3d6aa667fe
chore(xo-server): use xen-api setters for tags
2019-06-04 18:21:47 +02:00
Julien Fontanet
147c3d2e7b
fix(xo-server): dont touch other entries when changing HVM_boot_params.order
2019-06-04 14:55:45 +02:00
Julien Fontanet
ac298c3be3
chore(xo-server): use more Xapi's field entries updaters
2019-06-04 14:37:12 +02:00
Julien Fontanet
e88848c44a
fix(xo-web/xoa): fix email quirk ( #4259 )
2019-06-03 11:12:01 +02:00
Julien Fontanet
cd518e3e4c
chore: update dependencies
2019-06-03 10:51:14 +02:00
Julien Fontanet
6d8785e689
feat(xo-web): 5.42.1
2019-05-29 17:20:59 +02:00
Julien Fontanet
c83f56166d
feat(xo-server): 5.42.1
2019-05-29 17:18:29 +02:00
Julien Fontanet
7199e1a214
feat(CHANGELOG): add channel badges
2019-05-29 16:48:07 +02:00
Julien Fontanet
cc2c71c076
chore(xo-server): remove unnecessary methods
2019-05-28 18:53:57 +02:00
Julien Fontanet
b85c2f35b6
fix(xo-server/vm.set): autoPoweron → auto_poweron in XAPI
...
Related to 0e1e32d241
2019-05-28 11:48:00 +02:00
Julien Fontanet
b2eb970796
fix(xo-server/vm.set): cast weight to string
...
Follow-up of 49e1b0ba7
2019-05-27 16:23:38 +02:00
Julien Fontanet
3ee9c1b550
chore(xo-server/Xapi): remove unused setVcpuWeight
2019-05-27 16:23:37 +02:00
Julien Fontanet
49e1b0ba7e
fix(xo-server/vm.set): cast logical numbers to XAPI string values
2019-05-27 11:10:19 +02:00
Julien Fontanet
453c329f14
fix(xo-server/vm.set): videoram is strictly a number
2019-05-27 11:04:44 +02:00
Julien Fontanet
6dad860635
fix(xo-server/getRemoteHandler): only cache on success
...
Otherwise subsequent calls will use an invalid handler.
Related to xoa-support#1498
2019-05-23 18:13:58 +02:00
Julien Fontanet
0362ac8909
feat(xo-web/home): case-sensitive filtering
2019-05-23 17:34:19 +02:00
Julien Fontanet
77222e9e6b
Update PULL_REQUEST_TEMPLATE.md
2019-05-22 14:50:57 +02:00
Julien Fontanet
e7051c1129
fix(xo-server/network.set): dont pass undefined to update_other_config()
...
Related to 0e1e32d241
2019-05-21 16:47:22 +02:00
Julien Fontanet
3196c7ca09
chore(xo-server): use Xapi's setters ( #4229 )
2019-05-21 15:44:10 +02:00
Julien Fontanet
0e1e32d241
chore(xo-server): use Xapi's field entries updaters ( #4230 )
2019-05-21 15:25:37 +02:00
Julien Fontanet
a34912fb0d
chore(xo-server): move some calls to Xapi#callAsync ( #4227 )
...
Fixes #4226
`.callAsync` is more robust to disconnections than `.call` and should be used for all non-instantaneous calls.
Unfortunately the result can be embedded into XML, you should either not use the result or add `.then(extractOpaquerRef)` if you are expecting an opaque ref.
2019-05-21 15:04:24 +02:00
Julien Fontanet
1e529c995a
chore(xo-server/vm.reboot): move into Xapi#rebootVm
2019-05-21 10:37:56 +02:00
Julien Fontanet
7be1c7a47b
fix(xo-server): always use Xapi#callAsync for migration
2019-05-21 10:24:14 +02:00
Julien Fontanet
b7a92cfe92
feat(xo-server/vif.set): rateLimit support
...
Server-side of #4215
2019-05-20 16:06:42 +02:00
Julien Fontanet
42df6ba6fa
chore: update dependencies
2019-05-17 16:31:39 +02:00
Julien Fontanet
31266728f7
feat(xo-server): add / mounts to vendor config
2019-05-15 14:28:20 +02:00
Julien Fontanet
5757afa1d8
fix(xo-server/proxies): use Host of the config
...
Use the hostname of the URL in the config instead of the one from the incoming request.
2019-05-14 14:08:04 +02:00
Julien Fontanet
86e9b9c1b8
fix(xo-server/api/*): wrap with JsonRpcError
2019-05-14 10:21:43 +02:00
Julien Fontanet
9d12759c68
fix(xo-server/VM import): forward error message
2019-05-10 17:32:23 +02:00
Julien Fontanet
594341fab6
fix(xo-server/remotes): dont fail is benchmarks JSON is broken
2019-05-09 14:06:50 +02:00
Julien Fontanet
4e88125cbe
fix(xo-server/remotes): always JSON encode benchmarks ( #4197 )
...
See xoa-support#1464
Fix an issue when restoring from config.
2019-05-09 13:58:36 +02:00
Julien Fontanet
c54b9189a6
feat(scripts/normalize-package): add version if missing
2019-05-09 09:23:49 +02:00
Julien Fontanet
8882f1b019
chore(bump-pkg): stop on errors
2019-05-07 14:39:17 +02:00
Julien Fontanet
ae6416c4d2
feat(xo-server): add XenServers from XenStore ( #4194 )
...
XenStore can be used to pass XenServers to connect to to xo-server:
`vm-data/xen-servers` entry:
```json
[
{
"allowUnauthorized": true,
"host": "xs1.company.tld",
"label": "My XenServer",
"password": "super%secret+password",
"readOnly": false,
"username": "root"
}
]
```
2019-05-07 10:25:00 +02:00
Julien Fontanet
d43e2544a1
feat(xo-server): admin account from XenStore ( #4184 )
...
XenStore can be used to pass the credentials of the default admin account to xo-server:
`vm-data/admin-account` entry:
```json
{ "email": "admin@admin.net ", "password": "admin" }
```
2019-05-06 17:40:02 +02:00
Julien Fontanet
cc7806e35b
chore(xo-server plugins): are not published as well
2019-05-06 11:45:00 +02:00
Julien Fontanet
0ee48b6623
chore(xo-{server,web}): mark as private
...
Explicit that these packages are not published on the npm registry.
2019-05-06 11:32:55 +02:00
Julien Fontanet
8c02e0efbd
chore(scripts): publish on version bumping
2019-05-06 11:32:55 +02:00
Julien Fontanet
a00d101ff7
chore: update dependencies
2019-05-02 10:58:38 +02:00
Julien Fontanet
bec4dbe652
feat(xo-web): unlock basic stats for all editions ( #4172 )
...
Fixes #4166
2019-04-30 10:17:31 +02:00
Julien Fontanet
d20941cc2c
chore(CHANGELOG): Highlights sections
2019-04-29 14:10:27 +02:00
Julien Fontanet
9cb8a05316
chore(CHANGELOG): update next
2019-04-26 16:31:26 +02:00
Julien Fontanet
dccd799f6d
feat(xo-web): 5.40.0
2019-04-26 16:27:25 +02:00
Julien Fontanet
b42b3d1b01
feat(xo-server): 5.40.0
2019-04-26 16:27:15 +02:00
Julien Fontanet
a40d6f772a
feat(complex-matcher): 0.6.0
2019-04-26 16:25:47 +02:00
Julien Fontanet
6e9bfd18d9
feat(xo-server-backup-reports): 0.16.0
2019-04-26 16:24:22 +02:00
Julien Fontanet
3b92dd0139
feat(scripts): bump-pkg
2019-04-26 16:17:28 +02:00
Julien Fontanet
d3ec76c19f
feat(lint): add eslint-comments plugin
2019-04-19 16:27:11 +02:00
Julien Fontanet
a08d098265
chore: update dependencies
2019-04-15 09:54:58 +02:00
Julien Fontanet
a03dcbbf55
feat(xo-server): make Helmet configurable ( #4141 )
2019-04-12 13:49:51 +02:00
Julien Fontanet
916ca5576a
feat(xen-api/cli): everything in context
...
Example: `xapi.pool` → `pool`
2019-04-09 17:09:03 +02:00
Julien Fontanet
6c861bfd1f
feat(xen-api): name record classes with types
2019-04-09 16:28:46 +02:00
Julien Fontanet
903634073a
chore: update dependencies
2019-04-09 08:56:15 +02:00
Julien Fontanet
d6aa40679b
feat(xo-server/_assertHealthyVdiChains): attach info to error
2019-04-05 15:48:12 +02:00
Julien Fontanet
6860156b6f
chore(CHANGELOG): v5.33.1
2019-04-04 14:39:32 +02:00
Julien Fontanet
29486c9ce2
feat(xo-server): 5.38.2
2019-04-04 14:20:46 +02:00
Julien Fontanet
7cfa6a5da4
feat(xen-api): v0.25.1
2019-04-04 14:01:59 +02:00
Julien Fontanet
2563be472b
fix(xen-api/_interruptOnDisconnect): dont use Promise.race
...
`Promise.race()` leads to memory leaks if some promises are never resolved.
See nodejs/node#17469
2019-04-04 13:42:45 +02:00
Julien Fontanet
7289e856d9
chore(xen-api/_sessionCall): dont use _interruptOnDisconnect
2019-04-04 13:39:45 +02:00
Julien Fontanet
95bcf0c080
fix(xo-web/vms/import): various fixes ( #4118 )
...
- dont swallow `importVm` error
- `importVms`: display errors on console
- dont redirect on failure
2019-04-04 10:10:45 +02:00
Julien Fontanet
49fc86e4b1
chore(xen-api): rewrite inject-event test CLI
2019-04-02 15:24:25 +02:00
Julien Fontanet
924aef84f1
chore: drop Node 4 support
2019-04-02 11:40:27 +02:00
Julien Fontanet
79aef9024b
chore(CHANGELOG): move packages after fixes
2019-03-29 16:45:51 +01:00
Julien Fontanet
fdf6f4fdf3
chore(CHANGELOG): add missing packages list
2019-03-29 16:38:59 +01:00
Julien Fontanet
4d1eaaaade
feat(xo-server): 5.38.1
2019-03-29 16:38:06 +01:00
Julien Fontanet
bdad6c0f6d
feat(xen-api): v0.25.0
2019-03-29 16:35:19 +01:00
Julien Fontanet
ff1ca5d933
feat(xen-api/call): 1 hour timeout
2019-03-29 16:26:36 +01:00
Julien Fontanet
2cf4c494a4
feat(xen-api/connect): handle disconnect
2019-03-29 16:21:19 +01:00
Julien Fontanet
95ac0a861a
chore(xen-api/getObjectByUuid): explicit test
2019-03-29 16:13:10 +01:00
Julien Fontanet
746c301f39
feat(xen-api): expose objectsFetched signal
2019-03-29 16:12:39 +01:00
Julien Fontanet
6455b12b58
chore(xen-api): real status state
2019-03-29 16:10:04 +01:00
Julien Fontanet
485b8fe993
chore(xen-api): rework events watching ( #4103 )
2019-03-29 15:59:51 +01:00
Julien Fontanet
d7527f280c
chore(xen-api): rework call methods ( #4102 )
2019-03-29 15:39:31 +01:00
Julien Fontanet
d57fa4375d
chore(xen-api/signals): not disconnected when connecting
2019-03-29 15:27:37 +01:00
Julien Fontanet
d9e42c6625
chore(xen-api): remove unused property
2019-03-29 15:08:57 +01:00
Julien Fontanet
c2beb2a5fa
chore(server/backup-ng-logs): initial documentation
2019-03-29 11:03:34 +01:00