Julien Fontanet
77a2d37d98
fix(xo-server/exportDeltaVm): do not leak the snapshot name
...
Fixes #2727
2018-03-07 20:30:09 +01:00
Julien Fontanet
37b90e25dc
fix(xo-server/jobs): userId
s are strings
...
Fixes #2728
2018-03-07 20:17:22 +01:00
Julien Fontanet
41f16846b6
chore(xo-server): addChecksumToReadStream → createChecksumStream ( #2725 )
...
`addChecksumToReadStream` was overly complicated and its usage was limited.
`createChecksumStream` is similar but does not pipe the readable stream in by itself.
2018-03-06 17:48:21 +01:00
Julien Fontanet
3e89c62e72
chore(xo-server): replace eventToPromise with fromEvent
2018-03-06 16:40:29 +01:00
Julien Fontanet
b7d3762c06
chore(xo-server): delete unused schedules on clean
2018-03-06 16:39:00 +01:00
Julien Fontanet
481bc9430a
chore(xo-server/utils): remove unnecessary moment-timezone import
2018-03-06 16:38:07 +01:00
Julien Fontanet
13f2470887
chore(xo-server): remove createRawObject
...
Replace both `createRawObject()` and `Object.create()` by `{ __proto__: null }`.
2018-03-06 16:36:41 +01:00
Julien Fontanet
0308fe4e6e
chore(xo-server): add checksum handling for VM import
2018-03-06 16:36:13 +01:00
Julien Fontanet
197273193e
chore(xo-server): explicitly check for a schedule
2018-03-06 16:35:42 +01:00
Julien Fontanet
e4b11a793b
chore(xo-server): move checksum streams into own module
2018-03-06 16:34:22 +01:00
Julien Fontanet
927d3135c4
chore(xo-server): rename removeSchedule to deleteSchedule
2018-03-06 16:32:59 +01:00
Julien Fontanet
aa533c20d6
fix(xo-server): respect compression param
2018-03-06 16:31:11 +01:00
Julien Fontanet
7fd615525a
chore(xen-api): TODO do not cancel a finished task
2018-03-06 16:26:05 +01:00
Julien Fontanet
6abf3fc0af
feat: add code of conduct
2018-03-06 10:18:05 +01:00
Julien Fontanet
6bb0929822
chore(xo-server/backupNg): remove unnecessary destructuring
2018-03-03 10:51:57 +01:00
Julien Fontanet
feebc04e55
chore(xo-server/BackupsNg): remove schedule default value
...
A backup NG job cannot be run without a schedule anyway
2018-03-03 10:26:45 +01:00
Julien Fontanet
2d406cd7c1
chore(xo-server/backupNg): rename importVmbackup{Ng,}
2018-03-03 10:25:01 +01:00
Julien Fontanet
788bfe632f
chore(xo-server/exportDeltaVm): pass cancel token to _snapshotVm
2018-03-03 10:21:10 +01:00
Julien Fontanet
1149102f37
chore(xo-server/exportDeltaVm): pass name to _snapshotVm
...
Instead of setting it manually afterward.
2018-03-03 10:20:35 +01:00
Julien Fontanet
8bd949f618
chore(xo-server/exportDeltaVm): use _snapshotVm directly
2018-03-03 10:19:51 +01:00
Julien Fontanet
489b142a66
chore(xo-server): remove unnecessary getObject in exportDeltaVm
2018-03-03 10:15:24 +01:00
Julien Fontanet
cbbbb6da4f
chore(xo-server): doc attrs of VMs created by Backup NG
2018-03-03 10:14:06 +01:00
Julien Fontanet
6701c7e3af
chore(xo-server): use checksumFile helper unlink
2018-03-03 10:07:09 +01:00
Julien Fontanet
ecd460a991
feat(xo-web): 5.17.0
2018-03-02 19:57:24 +01:00
Julien Fontanet
b4d7648ffe
feat(xo-server): 5.17.0
2018-03-02 19:57:04 +01:00
Julien Fontanet
eb3dfb0f30
feat(Backups NG): first iteration ( #2705 )
2018-03-02 19:56:08 +01:00
Julien Fontanet
2b9ba69480
fix(xo-server): getJob return the correct job
2018-03-02 19:53:16 +01:00
Julien Fontanet
8f784162ea
chore(xo-server): Xapi#exportDeltaVm make streams writable
2018-03-02 19:52:35 +01:00
Julien Fontanet
a2ab64b142
chore(xo-server): Xapi#exportDeltaVm accept a snapshot
2018-03-02 19:52:00 +01:00
Julien Fontanet
052817ccbf
chore(xo-server): RemoteHandler#rename handle cheksum
2018-03-02 19:51:03 +01:00
Julien Fontanet
48b2297bc1
chore(xo-server): handle nested job props ( #2712 )
2018-03-02 19:29:08 +01:00
Nicolas Raynaud
e76a0ad4bd
feat(xo-server): improve VHD merge speed ( #2643 )
...
Avoid re-opening/closing the files multiple times, introduce a lot of latency in remote FS.
2018-03-02 19:08:01 +01:00
Olivier Lambert
baf6d30348
fix(changelog): remove useless spaces
2018-03-02 18:31:32 +01:00
Olivier Lambert
7d250dd90b
feat(changelog): move and update changelog
2018-03-02 18:30:22 +01:00
Rajaa.BARHTAOUI
efaabb02e8
feat(xo-web): confirm modal before host emergency shutdown ( #2714 )
...
Fixes #2230
2018-03-02 18:05:58 +01:00
Julien Fontanet
0c3b98d451
fix(xo-server): forward createOutputStream errors with checksum
2018-03-02 15:29:26 +01:00
Julien Fontanet
28d1539ea6
fix(xo-server): fix Xapi#snapshotVm
...
It was broken by #2701 .
2018-03-02 10:53:49 +01:00
Julien Fontanet
8ad02d2d51
feat(xo-web): ActionButton accept data-* props instead of handlerParam ( #2713 )
2018-03-02 09:57:26 +01:00
Julien Fontanet
1947a066e0
chore: disable flow for test
...
Still some config issues which I have to fix.
2018-03-01 16:30:02 +01:00
Julien Fontanet
d99e643634
chore(xo-server): inject schedule in jobs ( #2710 )
2018-03-01 16:27:51 +01:00
Rajaa.BARHTAOUI
65e1ac2ef9
chore(xo-web): consistently use "Username" label ( #2709 )
...
Fixes #2651
2018-03-01 15:58:48 +01:00
Julien Fontanet
64a768090f
fix(xo-server): typo, executor → executors
2018-03-01 13:37:40 +01:00
Julien Fontanet
488eed046e
chore(xo-server): pluggable job executors ( #2707 )
2018-03-01 12:10:08 +01:00
Julien Fontanet
dccddd78a6
chore(xo-web): rewrite smart-backup-pattern ( #2698 )
...
Fix a few issues
2018-02-28 17:07:16 +01:00
Julien Fontanet
3c247abcf9
chore(xo-web): add exact prop to NavLink ( #2699 )
2018-02-28 17:05:44 +01:00
Julien Fontanet
db795e91fd
feat(complex-matcher): 0.3.0
2018-02-28 16:40:18 +01:00
Julien Fontanet
f060f56c93
feat(complex-matcher): number comparison ( #2702 )
...
`foo:>=42` matches `{ foo: 42 }` but not `"bar"` nor `{ foo: 37 }`.
2018-02-28 16:36:54 +01:00
Julien Fontanet
51be573f5e
chore(xo-web): rewrite smart-backup-pattern
2018-02-28 16:23:29 +01:00
Julien Fontanet
4257cbb618
chore(xo-server): improve jobs code ( #2696 )
...
- add type filtering (default to `call`)
- support passing extra params to the call
- Flow typing
2018-02-28 16:22:41 +01:00
Julien Fontanet
e25d6b712d
chore(xo-web): addSubscriptions provide initial props ( #2697 )
2018-02-28 16:09:56 +01:00