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