Julien Fontanet
9435bd5493
chore(fs#openFile): flags are not optional
2018-12-07 10:45:56 +01:00
badrAZ
2284b3ef0a
feat(xo-server): obfuscate token param ( #3761 )
2018-12-07 10:35:54 +01:00
Julien Fontanet
99dc64e8bb
fix: occured → occurred (2)
2018-12-06 18:53:35 +01:00
Julien Fontanet
e47525b60b
chore(fs/test): test list prependDir option
2018-12-06 18:53:09 +01:00
Julien Fontanet
10d4782ee2
feat(fs/mk{dir,tree}): new methods to create dirs ( #3763 )
2018-12-06 18:50:39 +01:00
Julien Fontanet
11cff2c065
feat(fs): prefix get/set → addPrefix method ( #3766 )
...
This method returns a new object which will transparently prefix all paths.
It is better than previous API because:
- the same handler can be reused and will not be invalidated when changing the prefix
- Abstract and implementations can call high-level methods without worrying about doubling the prefix
2018-12-06 17:22:37 +01:00
Julien Fontanet
11f742b020
fix: occured → occurred
2018-12-06 17:18:08 +01:00
Julien Fontanet
2353552e11
chore(fs/abstract): use path.posix
...
All paths in this lib are Posix paths and should be treated as such, even on Windows.
2018-12-06 13:59:51 +01:00
Rajaa.BARHTAOUI
d6012d8639
feat(xo-web/VM): add tooltip for VM status icon ( #3765 )
...
Fixes #3749
2018-12-06 11:48:21 +01:00
Julien Fontanet
7089ee778a
fix(xo-server/migrateLegacyBackupJob): dont migrate when ids contain :
2018-12-05 17:49:07 +01:00
Julien Fontanet
629931782e
feat(fs/{rmdir,unlink}): dont throw on missing entries
2018-12-05 17:20:51 +01:00
Julien Fontanet
1b48c626f4
fix(fs/smb): create{Read,Output}Stream and getSize with opened files
2018-12-05 16:31:38 +01:00
Julien Fontanet
ba35f51459
chore(fs/test): test createOutputStream
2018-12-05 16:31:38 +01:00
Julien Fontanet
ee5f3fc68d
chore(fs/test): test createReadStream and getSize on opened files
2018-12-05 16:31:39 +01:00
Julien Fontanet
7be671f0f7
chore(fs/test): ensure test dir exists
2018-12-05 16:26:38 +01:00
Julien Fontanet
48c3748c28
feat(fs/abstract#rmdir): implement timeout
2018-12-05 15:37:21 +01:00
Julien Fontanet
3814a261d6
fix(fs/abstract#kResolve): edge case with / path
2018-12-05 15:35:24 +01:00
Julien Fontanet
81b82ce06b
fix(fs/smb#_rmdir): error code on non-empty dir
2018-12-05 15:35:24 +01:00
Julien Fontanet
20c3f76278
feat(fs): split rmdir into rmdir and rmtree
2018-12-05 15:35:17 +01:00
Julien Fontanet
2c93b69144
chore(fs): simplify sync/forget
...
- These methods are now optional
- sync no longer returns anything
2018-12-05 14:39:12 +01:00
Julien Fontanet
043b381733
chore(fs/abstract#list): remove default value
2018-12-05 14:30:55 +01:00
Julien Fontanet
ff014df231
chore(fs): remove unnecessary default params
2018-12-05 14:29:35 +01:00
Julien Fontanet
055d1e81da
chore(fs): sort methods
2018-12-05 14:27:20 +01:00
Julien Fontanet
b60678e79f
fix(fs/abstract#test): resolve path
2018-12-05 14:06:53 +01:00
Julien Fontanet
fd93dfbc18
feat(fs): prefix support ( #3759 )
...
It is a prefix that will be used as root for all other paths.
2018-12-05 13:51:38 +01:00
Julien Fontanet
d74a5d73f0
chore(fs/abstract#test): Buffer#compare → Buffer#equals
2018-12-05 13:49:33 +01:00
Julien Fontanet
16a6d395c8
chore(fs/abstract): only call low-level methods
2018-12-05 13:48:42 +01:00
badrAZ
d6654807fa
fix(xo-server/logs): sensitive params not hidden ( #3760 )
2018-12-05 13:41:32 +01:00
Julien Fontanet
e25ff221ba
fix(fs/abstract#_outputFile): missing callback
2018-12-05 11:05:01 +01:00
Julien Fontanet
7df965ccd7
chore(fs): remove unnecessary tests
2018-12-05 11:00:55 +01:00
Julien Fontanet
f6b73b8303
chore(fs/abstract#_outputFile): use readable-stream/finished
2018-12-05 11:00:12 +01:00
Julien Fontanet
d617214c62
chore: update dependencies
2018-12-05 10:39:38 +01:00
Julien Fontanet
e85744cec0
chore(fs/smb): preserve stack on wrapped errors
2018-12-05 10:27:13 +01:00
Julien Fontanet
da74555e02
feat(xo-remote-parser/smb): handle missing path
2018-12-04 17:48:38 +01:00
Enishowk
4a9f489f20
fix(changelog): XOSAN line in wrong place ( #3756 )
2018-12-04 17:46:01 +01:00
Enishowk
18b17bda7c
feat(@xen-orchestra/fs): add unit tests ( #3736 )
2018-12-04 16:36:10 +01:00
badrAZ
7faff824ff
feat(xo-server/xen-servers): auto-connect to ejected host ( #3738 )
...
See #2238
2018-12-04 13:28:52 +01:00
Pierre Donias
e08d03687e
feat(xo-web/render-xo-item/SR): minor improvements ( #3752 )
...
- Space left before container
- Hide context to self users
- Don't use text-muted on links
2018-12-04 11:35:57 +01:00
Rajaa.BARHTAOUI
75f1d80a86
feat(xo-web): contextualize SR ( #3751 )
...
See #3021
2018-12-04 10:09:31 +01:00
Julien Fontanet
3967bfa099
chore(xo-server/config/remoteOptions.timeout): add comment
2018-12-03 17:50:34 +01:00
Rajaa.BARHTAOUI
6f6f463592
feat(xo-web/health/Orphan VDIs): display SR container ( #3747 )
...
See #3021
2018-12-03 16:56:34 +01:00
Rajaa.BARHTAOUI
8a760823b8
feat(xo-web/render-xo-item): contextualize VDI ( #3285 )
...
See #3021
2018-12-03 15:27:58 +01:00
Enishowk
8cd66af3f8
feat(backup-ng): add XOSAN in excluded tags by default ( #3563 )
...
Fixes #2128
2018-12-03 15:04:38 +01:00
Julien Fontanet
8569dbf985
chore: String#substring() → String#slice()
...
- homogeneity
- [faster in v8](https://bugs.chromium.org/p/v8/issues/detail?id=6730 )
2018-12-03 14:59:59 +01:00
Julien Fontanet
9a03a70a3d
fix(ESLint): disable react/jsx-indent rule
2018-12-03 14:59:48 +01:00
Julien Fontanet
42badbb08e
fix(lint-staged): ESLint should not format
2018-12-03 14:54:41 +01:00
Julien Fontanet
956bdf0e03
feat(fs/smb#_writeFile): support flags
2018-12-03 14:39:24 +01:00
Julien Fontanet
91ff02d5c3
fix(fs/smb): always normalize errors
2018-12-03 14:38:51 +01:00
Julien Fontanet
84d88cf2b9
fix(fs/local#_{output,read}File): correctly handle flags
2018-12-03 14:35:52 +01:00
Julien Fontanet
fca2693730
feat(fs/{output,read}File): only support flags
option
2018-12-03 14:35:17 +01:00