Julien Fontanet
27409f4fd5
fix(xo-server/worker): sync the remote handlers
...
Fixes #3739
2018-12-17 18:00:02 +01:00
Julien Fontanet
82253509d0
fix(xo-server/backup NG): fix issues due to fs changes
2018-12-17 17:59:54 +01:00
Julien Fontanet
c450685ddd
chore(fs/{sync,forget}): add comments
2018-12-17 17:59:54 +01:00
badrAZ
9a79088e8a
chore(xo-web/backup-ng): use btnStyle ( #3798 )
2018-12-17 15:43:39 +01:00
Julien Fontanet
83760157ad
chore(xen-api): silence Bluebird warning
2018-12-17 15:32:52 +01:00
Julien Fontanet
985aa2225e
fix(fs/local#create{Read,Write}Stream): wait for file to be opened
...
This also fix `createOutputStream` when directories are missing.
2018-12-17 15:25:35 +01:00
badrAZ
0ad340d971
feat(xo-web/backup-ng/overview): ability to copy schedule/job id to clipboard ( #3791 )
...
Fixes #3753
2018-12-17 10:20:51 +01:00
Rajaa.BARHTAOUI
97726dce12
fix(xo-web/self): all objects are missing ( #3096 )
...
Fixes #2689
2018-12-14 16:24:10 +01:00
Julien Fontanet
342320b481
feat(xo-server/xen-servers): add metadata to PoolAlreadyConnected ( #3792 )
2018-12-14 15:09:43 +01:00
badrAZ
1bfcbf49b9
feat(xo-web/backup-ng/new): add a link to the documentation ( #3790 )
...
Fixes #3789
2018-12-13 15:49:37 +01:00
Julien Fontanet
9d1eb8182b
fix(xo-server/remote.list): add path to Handler#list()
...
Fixes #3768
Introduced in 043b381733
2018-12-13 15:19:04 +01:00
Julien Fontanet
18a6c57f02
chore(CHANGELOG): add fs to the list of packages
2018-12-13 14:53:59 +01:00
badrAZ
d3b6d1a97f
fix(xo-server/servers): always remove pool→connection association ( #3782 )
...
* fix(xo-server/servers): delete correctly the connection from the cashe
* useless findKey
* CHANGELOG
* fix error
* code improvement
* code improvement
* code improvement
* Update CHANGELOG.md
* fix errors
* Update xen-servers.js
* missing entry in CHANGELOG
2018-12-13 12:21:02 +01:00
Julien Fontanet
ece881c02c
fix(fs#unlink): remove timeout
...
This is not an `O(1)` operation.
2018-12-13 11:07:28 +01:00
badrAZ
631e8ce52d
feat(xo-web/backup-ng/overview): display last run status ( #3779 )
...
Fixes #3769
2018-12-12 16:27:34 +01:00
badrAZ
cb5d3b9750
feat(xo-server/backup-ng): disable VM HA on DR/CR ( #3755 )
...
Fixes #2359
2018-12-12 16:04:03 +01:00
Julien Fontanet
995e6664f9
fix(fs/smb#create{Read,Write}Stream): works with opened files ( #3785 )
2018-12-12 15:38:54 +01:00
Julien Fontanet
1f497aa4df
chore(fs): update @marsaud/smb2 to v0.13
2018-12-12 15:12:58 +01:00
Julien Fontanet
184dbc5516
chore(fs/smb): use a single client/connection ( #3775 )
2018-12-11 18:47:46 +01:00
Julien Fontanet
a1f25a4e3e
chore(docs/supported-versions): add XS and XCP-ng 7.6
2018-12-11 10:46:13 +01:00
Julien Fontanet
cc4ab94428
chore: reformat with Prettier
2018-12-11 10:45:00 +01:00
Rajaa.BARHTAOUI
48727740c4
feat(xo-web/new-xosan): use SortedTable ( #3691 )
...
See #2416
2018-12-10 16:15:04 +01:00
Julien Fontanet
cc26e378e5
chore(fs/{createOutputStream,outputFile}): move dir logic in abstract
2018-12-07 17:12:12 +01:00
Julien Fontanet
28579258b3
feat(docs/sources): add git checkout before pull
...
Related to #3764 .
2018-12-07 14:54:26 +01:00
Julien Fontanet
70b9b67f67
chore(fs/test): add TEST_DATA_LEN constant
2018-12-07 11:14:02 +01:00
Julien Fontanet
224b053eb1
chore(fs/test): test read()
2018-12-07 11:12:00 +01:00
Julien Fontanet
39bce978bc
chore(fs/test): testWithFileDescriptor helper
2018-12-07 10:57:14 +01:00
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