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