Julien Fontanet
750fefe957
fix(xo-web): don't delete other user's auth tokens
...
Fixes zammad#17276
2023-09-05 10:39:33 +02:00
Julien Fontanet
025e671989
feat(xo-server/api): split token.delete to token.deleteOwn
...
So that the behavior is more consistent.
2023-09-05 10:39:33 +02:00
Julien Fontanet
30aeb95f3a
fix(xo-server-audit): ignore more side-effects free methods
2023-08-31 09:26:23 +02:00
Julien Fontanet
36d6d53a26
fix(xo-web/jobs/schedules): order jobs by name
...
Fixes https://xcp-ng.org/forum/post/64825
2023-08-30 22:27:33 +02:00
Julien Fontanet
e403298140
fix(CHANGELOG.unreleased): add missing xo-server
...
Introduced by 9c7fd94a9
2023-08-30 16:13:50 +02:00
Julien Fontanet
9c7fd94a9b
fix(xo-server/rest-api): limit applies at the end for {backups,restore}/logs
...
Fixes https://xcp-ng.org/forum/post/64880
2023-08-30 16:02:42 +02:00
Julien Fontanet
ba81d0e08a
feat(xo-server-transport-email): add local hostname to config ( #6988 )
...
Fixes https://xcp-ng.org/forum/topic/7579/
2023-08-29 23:22:31 +02:00
Julien Fontanet
8a26e08102
feat(xo-server/rest-api): filter/limit support for {backups/restore}/logs
...
Fixes https://xcp-ng.org/forum/post/64789
2023-08-17 13:59:32 +02:00
Julien Fontanet
42aa202f7a
fix(xo-server/job.set): accept userId
...
Fixes https://xcp-ng.org/forum/post/64668
2023-08-16 15:13:00 +02:00
Julien Fontanet
403d2c8e7b
fix(mixins/Tasks): behave when no user connected to API
...
Introduced by 1ddbe87d0
2023-08-11 11:27:08 +02:00
Julien Fontanet
ad46bde302
feat(backups/XO metadata): transfer binary config in base64
2023-08-10 15:39:34 +02:00
Julien Fontanet
1b6ec2c545
fix(xo-web/home): don't search in linked objects ( #6881 )
...
Introduced by 5928984069
For instance, searching the UUID of a running VM was showing all other VMs on the same host due to the UUID being present in their `container.residentVms`.
2023-08-10 14:42:07 +02:00
Julien Fontanet
56388557cb
fix(xo-server): increase timeout when file restore via XO Proxy
...
Related to zammad#13396
2023-08-10 11:37:08 +02:00
Julien Fontanet
1ddbe87d0f
feat(mixins/Tasks): inject userId in tasks
2023-08-09 16:18:29 +02:00
Julien Fontanet
685400bbf8
fix(xo-server): fix get-stream@3 usage
...
Fixes #6971
Introduced by 3dca7f2a7
2023-08-08 08:05:38 +02:00
Julien Fontanet
5bef8fc411
fix(lite): disable linting because it's broken
...
Introduced by 3dca7f2a7
2023-08-05 17:05:02 +02:00
Julien Fontanet
aa7ff1449a
fix(lite): adapt ESLint config to prettier@3
...
Introduced by 3dca7f2a7
2023-08-04 22:09:55 +02:00
Julien Fontanet
3dca7f2a71
chore: update deps
2023-08-03 17:56:24 +02:00
Julien Fontanet
3dc2f649f6
chore: format with Prettier
2023-08-03 17:56:24 +02:00
Julien Fontanet
9eb537c2f9
chore: update dev deps
2023-08-03 17:56:24 +02:00
Julien Fontanet
7214016338
fix(xo-server/_authenticateUser): don't use registerUser()
...
Introduced by 99605bf18
2023-08-03 10:25:15 +02:00
Julien Fontanet
606e3c4ce5
docs(xo-server-test-plugin): explain configurationPresets
2023-08-03 10:21:15 +02:00
Julien Fontanet
fb04d3d25d
docs(xo-server-test-plugin): show title/description for settings
2023-08-03 10:20:51 +02:00
Julien Fontanet
db8c042131
fix(xo-web/plugins): merge preset with existing config
...
Instead of replacing it.
2023-08-03 10:14:07 +02:00
Julien Fontanet
fd9005fba8
fix(xo-web/plugins): don't disable presets when config not edited
2023-08-03 10:12:52 +02:00
Julien Fontanet
2d25413b8d
fix(xo-server-auth-ldap): mark userIdAttribute as required
...
It can no longer be ommited since 99605bf18
2023-08-03 09:56:33 +02:00
Julien Fontanet
035679800a
chore(xo-server-auth-ldap): defaults are merged automatically by xo-server
...
Related to 8c7d25424
2023-08-03 09:53:01 +02:00
Julien Fontanet
d307730c68
feat: release 5.85.0
2023-07-31 17:06:25 +02:00
Julien Fontanet
1b44de4958
feat(xo-server): 5.120.2
2023-07-31 16:52:03 +02:00
Julien Fontanet
ec78a1ce8b
feat(xo-web): 5.122.2
2023-07-31 16:32:42 +02:00
Julien Fontanet
19c82ab30d
feat(xo-server): 5.120.1
2023-07-31 16:32:41 +02:00
Julien Fontanet
9986f3fb18
fix(xo-web/removeUserAuthProvider): notify on error
...
Introduced by 52cf2d151
2023-07-31 16:29:09 +02:00
Julien Fontanet
d24e9c093d
fix(xo-server/updaterUser): fix current user auth protection
...
Introduced by 2d52aee95
2023-07-31 16:28:16 +02:00
Julien Fontanet
70c8b24fac
feat(xo-web): 5.122.1
2023-07-31 15:58:15 +02:00
Julien Fontanet
9c9c11104b
feat(xo-server-auth-google): 0.3.0
2023-07-31 15:58:05 +02:00
Julien Fontanet
cba90b27f4
feat(xo-server-auth-github): 0.3.0
2023-07-31 15:57:44 +02:00
Julien Fontanet
46cbced570
feat(xo-server): 5.120.0
2023-07-31 15:56:48 +02:00
Julien Fontanet
52cf2d1514
feat(xo-web/settings/users): auth providers can be removed
2023-07-31 15:48:49 +02:00
Julien Fontanet
e51351be8d
feat(xo-server/api): user.removeAuthProvider
2023-07-31 15:48:49 +02:00
Julien Fontanet
2a42e0ff94
feat(xo-web/users): display users auth providers
...
Related to zammad#16318
2023-07-31 15:48:49 +02:00
Julien Fontanet
3a824a2bfc
fix(xo-server/updateUser): check password xor auth providers
2023-07-31 15:48:49 +02:00
Julien Fontanet
fc1c809a18
fix(xo-server): remove password when sign in with provider
...
Password can no longer be used/edited when an auth provider is registered.
For security concerns, this useless password should be removed from the database.
2023-07-31 15:48:49 +02:00
Julien Fontanet
221cd40199
fix(xo-server/updateUser): can remove password
2023-07-31 15:48:49 +02:00
Julien Fontanet
aca19d9a81
fix(xo-server): user pass disabled when associated auth providers
2023-07-31 15:48:49 +02:00
Julien Fontanet
0601bbe18d
fix(xo-server/recover-account): remove all auth providers
2023-07-31 15:48:49 +02:00
Julien Fontanet
2d52aee952
fix(xo-server/updateUser): can remove all auth providers with null
2023-07-31 15:48:49 +02:00
Julien Fontanet
99605bf185
feat(xo-server/registerUser): completely disable
2023-07-31 15:48:49 +02:00
Julien Fontanet
91b19d9bc4
feat(xo-server-auth-google): use registerUser2
2023-07-31 15:48:49 +02:00
Julien Fontanet
562401ebe4
feat(xo-server-auth-github): use registerUser2
2023-07-31 15:48:49 +02:00
Julien Fontanet
6fd2f2610d
fix(xo-web/new-vm): don't send device in VIFs
...
Introduced by 6ae19b064
Fixes #6960
2023-07-31 09:34:30 +02:00
Julien Fontanet
90c3319880
feat(xo-web/backup/file-restore): add export format selection
2023-07-27 17:22:58 +02:00
Julien Fontanet
348db876d2
feat(xo-server/backupNg.fetchFiles): add format param
2023-07-27 17:22:58 +02:00
Julien Fontanet
408fd7ec03
feat(proxy/backup.fetchPartitionFiles): add format param
2023-07-27 17:22:58 +02:00
Julien Fontanet
1fd84836b1
feat(backups/fetchPartitionFiles): add tgz (tar+gzip) support
...
Around 6 times faster than ZIP export.
2023-07-27 17:22:58 +02:00
Julien Fontanet
522204795f
fix(backups/fetchPartitionFiles): rewrite ZIP creation
...
It's now sequential which leads to better performance and less memory consumption.
Empty directories are now included and all entries have correct mode and modification time.
2023-07-27 17:22:58 +02:00
Julien Fontanet
e29c422ac9
fix(xo-server/_handleHttpRequest): use pipeline between result and response
...
Properly closes one stream if the other is destroyed.
2023-07-27 17:22:58 +02:00
Julien Fontanet
1add3fbf9d
fix(yarn.lock): refresh
...
Introduced by 1c23bd5ff
2023-07-26 13:36:28 +02:00
Julien Fontanet
97f0759de0
feat(mixins/Hooks): warning every 5s if listener still running
...
This helps diagnosticate issues when a hook is stuck.'
2023-07-25 16:41:29 +02:00
Julien Fontanet
005ab47d9b
fix(xo-web): clear token on authentication failure ( #6937 )
...
This prevents infinite refreshes when the token is deemed valid by the server
but the authentication failed for any reasons.
2023-07-25 09:49:11 +02:00
Julien Fontanet
14a0caa4c6
fix(xo-web/xoa/licenses): fix message *go TO*
2023-07-25 09:43:11 +02:00
Julien Fontanet
49c161b17a
fix(xo-server,xo-web): send version when probing NFS SR
...
Reported by @benjamreis
2023-07-20 16:46:18 +02:00
Julien Fontanet
d6fc86b6bc
chore(xo-server-transport-xmpp): remove old dep node-xmpp-client
...
Fix possibly #6942
2023-07-20 10:54:52 +02:00
Julien Fontanet
003140d96b
test(nbd-client): fix issues introduced by conversion to ESM
...
Introduced by 7c80d0c1e
2023-07-19 23:09:48 +02:00
Julien Fontanet
363d7cf0d0
fix(node-vsphere-soap): add missing files
...
Introduced by f0c94496b
2023-07-19 23:02:34 +02:00
Julien Fontanet
f0c94496bf
chore(node-vsphere-soap): convert to ESM
...
BREAKING CHANGE
2023-07-19 11:03:56 +02:00
Julien Fontanet
de217eabd9
test(nbd-client): fix issues introduced by conversion to ESM
...
Introduced by 7c80d0c1e
2023-07-19 11:02:12 +02:00
Julien Fontanet
7c80d0c1e1
chore(nbd-client): convert to ESM
...
BREAKING CHANGE
2023-07-19 10:46:05 +02:00
Julien Fontanet
9fb749b1db
chore(fuse-vhd): convert to ESM
...
BREAKING CHANGE
2023-07-19 10:13:35 +02:00
Julien Fontanet
ad9c59669a
chore: update dev deps
2023-07-19 10:11:30 +02:00
Julien Fontanet
76a038e403
fix(xo-web): fix doc link to incremental/key backup interval
2023-07-19 09:48:23 +02:00
Julien Fontanet
0e12072922
fix(xo-server/pool.mergeInto): fix IPv6 handling
2023-07-18 17:28:39 +02:00
Julien Fontanet
158a8e14a2
chore(xen-api): expose bracketless IPv6 as hostnameRaw
2023-07-18 17:28:38 +02:00
Julien Fontanet
0c97910349
chore(xo-server): remove unused _mounts property
...
Introduced by 5c9a47b6b
2023-07-18 11:14:24 +02:00
Julien Fontanet
3de928c488
fix(xo-server-audit): ignore mirrorBackup.getAllJobs
2023-07-12 21:52:51 +02:00
Julien Fontanet
4502590bb0
fix(xapi/VM_create): work-around HVM multiplier issues ( #6935 )
...
Fixes zammad#15189
2023-07-12 10:29:14 +02:00
Julien Fontanet
0840b4c359
fix(xo-server/rest-api): VDI export via NBD
2023-07-12 10:18:45 +02:00
Julien Fontanet
696ee7dbe5
fix(CHANGELOG): add 5.84.0 highlights
...
Introduced by f32742225
2023-07-12 10:06:15 +02:00
Julien Fontanet
ce2b918a29
fix(xo-server): xoData ESModule import
...
Introduced by c3e0308ad
2023-07-10 18:15:05 +02:00
Julien Fontanet
df740b1e8e
test(backups): fix issues introduced by conversion to ESM
...
Introduced by 1005e295b
2023-07-10 16:58:12 +02:00
Julien Fontanet
c3e0308ad0
chore(xapi): convert to ESM
...
BREAKING CHANGE
2023-07-10 16:45:31 +02:00
Julien Fontanet
1005e295b2
chore(backups): convert to ESM
...
BREAKING CHANGE
2023-07-10 16:45:13 +02:00
Julien Fontanet
b3cf58b8c0
fix(complex-matcher): import specific lodash functions ( #6904 )
...
This reduces the bundled size when the library is used in a bundled app.
2023-07-10 16:01:54 +02:00
Julien Fontanet
2652c87917
feat(xo-web/backup/restore): can open raw log ( #6936 )
2023-07-07 11:20:49 +02:00
Julien Fontanet
3b94da1790
docs(supported_hosts): clearer symbol to indicate EOL
2023-07-06 10:41:52 +02:00
Julien Fontanet
ec39a8e9fe
docs(supported_hosts): issues on XenServer 7.2
2023-07-06 10:39:16 +02:00
Julien Fontanet
6339f971ca
docs(supported_hosts): Citrix Hypervisor → XenServer
...
The name has been reverted back to XenServer.
2023-07-06 10:33:21 +02:00
Julien Fontanet
c0d6dc48de
feat(xo-web/XO tasks): better display of start date and duration
2023-07-01 10:30:44 +02:00
Julien Fontanet
f327422254
feat: release 5.84.0
2023-06-30 20:09:44 +02:00
Julien Fontanet
938d15d31b
feat(xo-web): 5.121.0
2023-06-30 19:22:38 +02:00
Julien Fontanet
5ab1ddb9cb
feat(xo-server): 5.118.0
2023-06-30 19:20:29 +02:00
Julien Fontanet
c68630e2d6
feat(xo-server/rest-api): provide a way to extend it
2023-06-30 18:19:09 +02:00
Julien Fontanet
db082bfbe9
fix(xo-server/rest-api): handle ids that are numbers instead of strings
2023-06-30 18:19:09 +02:00
Julien Fontanet
650d88db46
feat(xo-server/configurePlugin): can update instead of replace existing config
2023-06-30 18:19:09 +02:00
Julien Fontanet
7d1ecca669
feat(xo-server): consider *passphrase* a sensitive value
2023-06-30 18:19:09 +02:00
Julien Fontanet
0e7fbd598f
feat(docs/rest-api): alpha → beta
2023-06-30 12:00:14 +02:00
Julien Fontanet
603696dad1
fix(xo-server/rest-api): reply with 204 when non content
2023-06-27 14:43:27 +02:00
Julien Fontanet
6b2ad5a7cc
feat(xo-cli rest get): new --output parameter
...
It can be used to save the response in a file instead of parsing it.
2023-06-27 14:43:27 +02:00
Julien Fontanet
88063d4d87
fix(xo-cli rest): params now support the json: prefix
...
So that any values can be passed.
2023-06-26 16:21:01 +02:00
Julien Fontanet
8956a99745
feat(xo-cli rest): support patch method
2023-06-26 16:09:32 +02:00
Julien Fontanet
84ec8f5f3c
fix(mixins/HttpProxy): fix premature close warning
2023-06-26 10:47:34 +02:00