David Humphrey
4e73ef8d9b
Allow relpaths for symlink targets (needed by P9vfs), get rid of path info in Node
2018-07-14 10:02:29 -04:00
David Humphrey
9508833b37
Add chown, fchown, chmod, fchmod and tests.
2018-07-14 10:02:29 -04:00
David Humphrey
bf1d0e41d6
Fix bug with stats.name generated from fd, add tests
2018-07-14 10:02:29 -04:00
David Humphrey
c526445a43
Fix mode, fs.link, fix other bugs and cleanup
2018-07-14 10:02:29 -04:00
David Humphrey
0aaaeacd1a
Update sh.ls and stats to remove bits I don't need, add what I do.
2018-07-14 10:02:29 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
3650b798ed
Use transaction per operation in indexeddb.js, fix broken async tests in fs.stats.spec.js
...
Fixing for review comments
Switch to RW or RO transaction per get/put/delete/clear, better error handling for try/catch cases
Switch back to transaction-per-context for better atomic fs operations.
Move _getObjectStore onto prototype
2017-05-25 10:04:20 -04:00
Alan K
525e11f203
Suppress console.error message in test case
2015-08-16 13:18:26 -04:00
Alan K
ddc41f49a5
Fixed default provider when no query string is passed
2015-08-16 13:14:31 -04:00
Alan K
8325b5a9d7
Add a new 'default' provider option so we can force the memory provider
...
for testing
2015-08-16 13:02:39 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
c85fa1851f
Fix #357 - Path.resolve() should not crash with missing Path.relative()
2015-06-29 11:38:51 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
17fb8993c3
fs.rename() should normalize paths before using, dir vs. dir/
2015-05-12 15:16:32 -04:00
Gideon Thomas
e9c4cb6d7a
Fix #340 - Set provider type for unit tests in the browser
2015-03-30 10:30:50 -04:00
Gideon Thomas
8c4de99a98
Fix #334 - Do not allow fs.link on directories
2014-12-17 13:30:31 -05:00
gideonthomas
d28100c422
Fix #308 - fs.rename does not work on directories
2014-12-06 16:34:36 -05:00
Alan K
d6c77abfa0
Merge pull request #331 from humphd/issue329
...
Fix #329 - Implement Shell.find()
2014-12-02 11:23:43 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
21b602ef66
Fix #329 - Implement Shell.find()
2014-11-28 15:05:47 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4cdcca1a8d
Ensure test providers deal with missing callback early
2014-11-27 10:31:49 -05:00
Gideon Thomas
91f7bf0319
Fix #256 - fs.read() for dir paths should fail
2014-11-16 00:12:53 -05:00
Kieran Sedgwick
0d4110ff6f
Fixed #323 - Updated references to "fs.Shell" in the docs and test suite
2014-11-14 12:04:51 -05:00
Kieran Sedgwick
a05faf0b2a
Review fixes
2014-11-06 10:31:45 -05:00
Kieran Sedgwick
3178ad9a45
Review fixes
2014-11-04 13:03:49 -05:00
Kieran Sedgwick
c4c13c1535
Fix #245 - Forced the user to manually instantiate FileSystemShell objects
2014-11-04 13:03:49 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
f9e21cd576
Add note about https://github.com/filerjs/filer/issues/314
2014-10-17 13:34:29 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
1a4be5e2fd
Add test for deleted node accessed via ofd
2014-10-17 13:16:09 -04:00
Ali Al Dallal
a37f262f41
Make it possible to run the test
2014-09-30 14:47:13 -04:00
gideonthomas
8c00b856bc
Fix #294 - Failure to unlink directories should return an EPERM error
2014-09-24 11:22:29 -04:00
gideonthomas
19eea4f502
Fix #288 - fs.unlink should fail on directory nodes
2014-09-22 11:16:02 -04:00
Ali Al Dallal
5a75de1881
Fix bower can't run in some OS
2014-09-12 15:03:29 -04:00
Ali Al Dallal
adf039943d
Remove wget to make Filer work in node.js
2014-09-09 09:30:03 -04:00
Alan K
4126321996
remove zip/unzip from shell
2014-09-02 15:48:54 -04:00
gideonthomas
f451ed96cc
Fix #270 and #276 - pathCheck should handle undefined paths and fix INAVL typo
2014-08-21 16:14:57 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
ba5f3fdbcd
Fix #266 - let FileSystem ctor figure out if an existing filesystem exists
2014-08-20 20:53:01 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4bba2512b0
Failing test for #267 , readdir on file path should error
2014-08-20 15:44:12 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fe0d6ce680
Comment out unused errors for space saving on filer.js
2014-08-18 21:31:25 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
851d863652
A few fixes
2014-08-18 19:21:35 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
ee9ea82cfb
Fix #261 - include path in errors
2014-08-18 19:13:50 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
84112410ba
Fix #258 - Queued fs calls hang when fs goes into error state due to provider.open error
2014-08-18 14:08:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
1a2774b152
ack's fix + more tests for various cases
2014-08-17 17:15:00 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
b3da2f7681
Fix file name
2014-08-17 15:21:16 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
c916c0a407
Update tests/index.js to run regression
2014-08-17 15:12:44 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
76118694bf
Failing test
2014-08-17 15:12:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d44b37c13d
Add test for zero-length buffers with getBuffer/putBuffer
2014-08-16 17:07:38 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d55bf23f1b
Initial work on #227 - improve storage efficiency of provider API
2014-08-16 16:22:41 -04:00
secretrobotron
77e0ee7117
[issue249] fixed Buffer prototype & tests
2014-08-09 13:05:15 -04:00
secretrobotron
af1943b5c9
[Issue249] Support for ArrayBuffer in Filer.Buffer
...
1. Added proxy Buffer constructor for Filer.Buffer.
2. Added tests for new Filer.Buffer.
2014-08-08 15:18:09 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
5b785037f0
Fix #247 - sh.cwd() not updating cwd on success, with test.
2014-07-28 18:14:59 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
e063edc6fc
Expanded test for wide dirs, fix, switch to async.eachSeries everywhere
2014-07-21 15:08:39 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
064e986d26
sh.ls() fails when stack sized is reached for deep recursive listings: RangeError: Maximum call stack size exceeded
2014-07-21 13:17:16 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
2992f7417b
Failing test for issue #239
2014-07-16 15:23:11 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4d10ba29a9
Use global vs. window for browserify resolution of global object, fixes shared watch events in Intercom
2014-07-15 11:36:53 -04:00