rhayes2
546b4567d2
Added Test for CHMODE
2018-09-24 14:16:16 -04:00
Stephen Ward
add00ce563
testing out the validateAndMask() function, with console.log's...
2018-09-23 13:49:00 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
5e4de6b698
Fix #393 : add test for truncate with length undefined
2018-09-17 18:30:09 -04:00
David Humphrey
0e00af661a
Fix lint issues in fs.appendFile.spec.js
2018-07-27 11:02:42 -04:00
David Humphrey
f89b616fdc
Fix issues in fs.chmod.spec.js
2018-07-27 11:01:47 -04:00
David Humphrey
cbcddee3be
Fix lint issues in fs.chown.spec.js
2018-07-27 11:01:26 -04:00
David Humphrey
1a738dd2bb
Fix lint issues in fs.close.spec.js, fs.link.spec.js
2018-07-27 11:00:48 -04:00
David Humphrey
9e08d96c96
Fix lint issues in fs.lstat.spec.js
2018-07-27 10:44:42 -04:00
David Humphrey
980d5d0917
Fix lint issues in fs.lseek.spec.js
2018-07-27 10:43:51 -04:00
David Humphrey
a8e373e4b9
Fix lint issues in fs.mknod.spec.js
2018-07-27 10:39:34 -04:00
David Humphrey
86e57d60db
Fix lint issues in fs.open.spec.js
2018-07-27 10:38:44 -04:00
David Humphrey
054094c852
Fix lint issues in fs.read.spec.js, fix test failure in fs.stats.spec.js
2018-07-27 10:37:45 -04:00
David Humphrey
cafff52c3a
Fix lint issues in fs.rename.spec.js
2018-07-27 10:34:21 -04:00
David Humphrey
1c7b40c895
Fix lint issues in fs.stats.spec.js
2018-07-26 18:17:05 -04:00
David Humphrey
7258a2913e
Fix lint issues in fs.truncate.spec.js
2018-07-26 18:07:50 -04:00
David Humphrey
bb8743eda1
Fix lint issues in fs.unlink.spec.js
2018-07-26 18:02:16 -04:00
David Humphrey
94e6a98cb8
Fix lint issues in fs.utimes.spec.js
2018-07-26 18:01:21 -04:00
David Humphrey
ee8e2a665a
Fix lint issues in fs.writeFile-readFile.spec.js
2018-07-26 18:01:07 -04:00
David Humphrey
a93ae13c99
Fix lint issues in fs.xattr.spec.js
2018-07-26 17:56:54 -04:00
David Humphrey
ab87c7f14a
Fix lint issues in tests-fs-watch.js
2018-07-26 17:54:26 -04:00
David Humphrey
49931722cc
Fix lint issues in path-resolution.spec.js
2018-07-26 17:53:02 -04:00
David Humphrey
3e1c3deb51
Fix lint issues in providers.base.js
2018-07-26 17:50:32 -04:00
David Humphrey
a8c3fa85db
Fix lint issues in exec.spec.js
2018-07-26 17:44:27 -04:00
David Humphrey
51c81edb5b
Fix lint issues in touch.spec.js
2018-07-26 17:41:35 -04:00
David Humphrey
8e900a3a88
Fix lint issues in time-flags.spec.js
2018-07-26 17:39:19 -04:00
David Humphrey
4a066064f4
Fix lint issues in times.spec.js
2018-07-26 17:37:26 -04:00
David Humphrey
a900d8df6d
Add eslint --fix scripts, fix first round of lint errors
2018-07-15 13:25:35 -04:00
David Humphrey
9832807dd1
Rebase and update to changes on develop
2018-07-14 11:21:34 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
65bbc17ccb
Update package.json + tests/ to support browser property for bundlers, delete old useless tests for AMD
2018-07-14 10:53:23 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d61c61aab8
Switch to parceljs for bundling, eslint for linting, drop grunt
2018-07-14 10:50:22 -04:00
David Humphrey
b7ecae4af1
Fix typos and clean up for review
2018-07-14 10:02:29 -04:00
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
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
David Humphrey (:humph) david.humphrey@senecacollege.ca
21b602ef66
Fix #329 - Implement Shell.find()
2014-11-28 15:05:47 -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
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
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
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
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
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
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
David Humphrey (:humph) david.humphrey@senecacollege.ca
87e291da64
Fix issue #235 - Allow recursive watches on root directory
2014-07-14 15:51:40 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fa65a34905
Get Buffer use fixed, expose Buffer via Filer.Buffer, most tests passing.
2014-06-06 11:14:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
1914f7a52b
WIP - moving to Buffer internally from Uint8Array, not passing all tests yet.
2014-06-04 15:52:08 -04:00
Kieran Sedgwick
bb23e902d2
Closes #204 - Move network.js
...
The network module (network.js) logically fits better in /shell since it's the only part of filer that uses it.
2014-05-29 13:00:20 -04:00
Kieran Sedgwick
823232fc67
Review fixes
2014-05-26 17:35:41 -04:00
Kieran Sedgwick
4efa4a91f3
Review fixes from PR #195
2014-05-26 12:31:34 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
930e5ce2e3
Fix some failing tests
2014-05-23 17:01:57 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4ab41c4aea
Get tests to run
2014-05-23 16:53:50 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d9ed65602a
Remove adapters (src, tests, docs), fix providers for node
2014-05-23 14:36:23 -04:00
Kieran Sedgwick
2d5b01719a
Make requirejs crash loudly during tests
...
If requirejs hit a source file it didn't like, it would crash. However, preloaded tests would continue and getting a passing grade on travis-ci (exit code 0).
2014-05-22 23:26:19 -04:00
Kieran Sedgwick
0bbaf5ff93
Added and fixed unit tests
...
Aside from testing our new module (network.js), we also had to add logic that would test Filer appropriately in both the node and browser environments.
2014-05-22 23:26:19 -04:00
Kieran Sedgwick
9f33d8503e
Swapped out XMLHttpRequest for a custom module
...
We made a module to encapsulate the logic that chooses the nodejs or browser dependency that actually downloads a file when the module is used.
2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
89c44f2f72
Fix time-based tests to not fail in node, since operations on Memory run faster
2014-05-22 23:04:08 -04:00
David Humphrey
e37ba7142c
Fix review nit, add test
2014-05-22 15:09:33 -04:00
Alan K
247ebd113a
Merge pull request #187 from yoavgurevich/issue62v2
...
Fixes #62
2014-05-21 16:17:19 -04:00
gideonthomas
aff6570ad6
Added mknod command to create a file or directory node
2014-05-21 11:25:23 -04:00
yoavgurevich
067f9beb88
Final revisions on removal of arbitrary logic and indentation issues
2014-05-16 17:17:50 -04:00
yoavgurevich
4d24ab2c36
Fixed logic, format, and dependencies according to line note comments from last pull request. Tested on apache localhost server.
2014-05-16 11:43:54 -04:00
yoavgurevich
6b2a023dea
Corrected conflicting syntax and added testing clause for file descriptor argument value
2014-05-14 16:02:46 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
b04fc6dbae
Fix tests so they pass in PhantomJS (hack, we just skip for now)
2014-05-14 15:09:12 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
411d6b2a9c
Docs and update arg names to match docs
2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
af4a004435
All zip/unzip tests passing
2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
35b2fe46c6
Complex trees can be unzipped
2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
16c64d1ca2
Switched to zlib.js, all tests passing
2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
c9cb4b4bdb
Work thus far, still not right
2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
1cbede711a
Add test to confirm that fs.appendFile works when file is missing.
2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fe4b1e5c0e
Adding sh.zip() but still failing a test
2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
3411ba2dd3
First working end-to-end unzip test passing
2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
1b12f44a02
Allow query string and hashes in wget filenames and add tests.
2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
9725f0a412
Improve automatic filename extraction for wget
2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
60a9dc2470
Beef up XHR code in sh.wget(), still failing 2 in PhantomJS due to not having web server
2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
2aa46493fa
Add sh.wget() for downloading files into the fs, with tests and docs
2014-05-14 13:24:53 -04:00
Petr Bouianov
febba4c8ba
Tests that expect errors check error codes. Fixes issue78
2014-04-17 11:53:55 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
be9e0b50a8
Generate errors instead of hard-coding, with tests
2014-03-16 11:36:15 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fe7ec79f83
Refactor errors code, fix to better match node
2014-03-16 11:36:15 -04:00
Petr Bouianov
6faabdb937
Added shell.mkdirp. Fixes issue #126 .
2014-03-13 23:03:29 -05:00
Alan K
0cfb29eaec
Merge pull request #140 from humphd/issue132
...
Support fs.watch(), FSWatcher. Fixes #132
2014-03-08 16:04:15 -05:00
kwkofler
4ff7c7d7cb
Fixed README issues, and fixed misuse of expect() syntax.
2014-03-08 13:53:53 -05:00
kwkofler
880f70d3de
Merge remote-tracking branch 'upstream/develop' into issue#112
...
Conflicts:
src/fs.js
tests/test-manifest.js
2014-03-07 18:47:32 -05:00
kwkofler
526f2d0934
Renamed Stats to stats
2014-03-07 18:39:38 -05:00
kwkofler
7c14af9668
Fixed Stats prototypes, created full Mocha test suite
2014-03-07 18:10:02 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
eff4d9b5fc
Deal with failing tests for rename, and do a better cleanup job in watcher.close()
2014-03-07 13:46:54 -05:00
kwkofler
0fb099d6c8
Renamed test suite, started rewriting for mocha.
2014-03-07 13:06:11 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
96836f355c
Most things passing for change events now, ported node.js watch tests
2014-03-07 11:54:14 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
a365144e97
First passing tests for fs.watch(), use EventEmitter2 via bower
2014-03-06 22:27:10 -05:00
Alan Kligman
bb9c34e5b3
Revert "Merge pull request #113 from kwkofler/issue#112"
...
This reverts commit bfba8c3546
, reversing
changes made to f079eaa7dd
.
2014-03-06 11:35:53 -05:00
Alan K
bfba8c3546
Merge pull request #113 from kwkofler/issue#112
...
Resolves issue #112 , though isBlockDevice(), isCharacterDevice(), isFIFO...
2014-03-06 09:52:40 -05:00
Alan K
f079eaa7dd
Merge pull request #134 from pbouianov/issue125
...
Updated error object to match Node.js. Solves issue #125 .
2014-03-05 22:39:02 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
72e527dfab
Add tests for time mount flag suppression (NOMTIME, NOCTIME)
2014-03-05 21:41:45 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
f580f40016
Tests for ctime, mtime, atime updates
2014-03-05 19:53:21 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
8c743bb95a
Fix remaining test failures
2014-03-05 16:27:12 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
61111da85d
Finish atime, ctime, mtime updates for fs operations, fix tests
2014-03-05 15:57:28 -05:00
pbouianov
c5ed7d4a55
Updated tests already checking error name
2014-03-05 14:28:31 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
f10b86b644
Change fs.utime test to remove constant times, prefering calculated duration. Fixes #103
2014-03-04 15:30:46 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
23a9861e82
Deal with provider.open edge case in new provider-agnostic tests. Fixes issue #127 .
2014-03-03 19:11:31 -05:00
kwkofler
866d8c1876
Issue #112 - Added mode reporting functions to the Stats object prototype, and appropriate tests
2014-03-03 18:54:01 -05:00
Alan Kligman
7d6bd98a31
Merge branch 'develop' of github.com:js-platform/filer into develop
...
Updated null-bytes test to have absolute paths
Conflicts:
dist/filer.js
dist/filer.min.js
2014-02-21 12:51:59 -05:00
pbouianov
0c30d6dd18
Added fs.exists support. Fixes Issue91
2014-02-21 06:56:14 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
a7a1f4b82e
Change sh.exec to take a list vs. object for passed args
2014-02-19 17:36:26 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
eadd4ec03c
Review fixes
2014-02-19 17:29:11 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
21f5d15f51
Add support for shell.env, PWD, TMP, and tempDir, with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
83c55308dc
Add shell.rm() with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
e4767019cc
Add shell.ls() with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
2829079bd3
Add Shell.cat() with tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
ef09526740
Add cd test for symlink'ed dir
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d7cce709f9
Fix shell.cd and add tests
2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
263b9cd9b0
Add shell.exec with test
2014-02-19 15:33:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
e43b1ba551
Working touch command with tests
2014-02-19 15:33:36 -05:00
Alan Kligman
3d57be4858
Fixes #116 .
2014-02-19 12:53:05 -05:00
Alan Kligman
18958fc585
Updated indexeddb test messages to match websql
2014-02-18 21:49:56 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d2f743511e
Turn on jshint and mocha/phantomjs tests with TravisCI. Fixes #48 .
2014-02-17 11:28:40 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4812861dcf
Refactor tests: switch to Mocha, make providers and filer source configurable. Fixes #59
...
Make provider configurable via URL. Convert fs.close test to use it. Still have timing issue with WebSQL.
Indent fix
Use bower to install mocha
Converting to mocha, Memory provider failing still in fs.close
Got mocha tests working with all providers
Converted more tests
Move more tests over to mocha
Move more tests over
Move more tests over
More tests moved over
More tests converted
More tests moved over
Move more tests over
Move last tests over
Convert more tests
Remove Jasmine and other unnecessary test files, rename tests/spec/regression to tests/bugs
Get tests running with grunt+mocha+phantomjs
Add docs on new tests
2014-02-14 15:44:57 -05:00
David Humphrey
ce39bca20c
Failing test for issue 106
2014-02-11 14:26:37 -05:00
David Humphrey
7e09a4dfe1
Failing test for issue 105
2014-02-06 22:38:39 -05:00
Alan K
4137c12420
Merge pull request #101 from pbouianov/issue88
...
added fs.appendFile support
2014-02-03 19:50:37 -08:00
pbouianov
6ec635e551
fixed, added appendFile tests and updated README
2014-01-30 14:12:32 -05:00
Alan K
a27fd8e1e5
Merge pull request #93 from btulchinsky/utimes
...
utimes test case fix
2014-01-20 16:55:20 -08:00
David Humphrey
6f61249e81
Remove 3DES and Rabbit from encryption adapters, update docs, tests. Fixes #92
2014-01-16 14:46:33 -05:00
Barry Tulchinsky
84c859a14c
test case fix
2014-01-15 21:35:42 -05:00
Barry Tulchinsky
95f3547cfb
fix another error in the spec tests for utimes
2014-01-15 21:15:40 -05:00
Alan Kligman
6c0758c6aa
fix busted tests
2014-01-14 14:50:20 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
641eb870a7
s/IDBFS/Filer/ in all files, docs, tests. Fixes #54
2014-01-14 11:36:18 -05:00
Barry Tulchinsky
d31d33651c
removed comments and patched parameter name and potential undefined error
2014-01-13 20:03:54 -05:00
Barry Tulchinsky
b08a8d15dd
fixed null value and refactored setxattr
2014-01-05 12:22:57 -05:00
Barry Tulchinsky
c4dd0f560c
continue work on tests and clean-up code
2014-01-02 17:50:26 -05:00
Barry Tulchinsky
732218cc1d
fixed unnecessary null checking and replaced it with hasOwnproperty method, also added removexattr and fremovexattr and tests for it
2013-12-24 15:10:17 -05:00
Barry Tulchinsky
7ae907cd5b
changed behaviour to allow falsy values (ie. empty string), added more test cases and modified README.md
2013-12-22 20:58:00 -05:00
Barry Tulchinsky
55c08e6f08
added more tests and added spec file to test manifest
2013-12-21 16:30:40 -05:00
Barry Tulchinsky
5d022c3ca3
started spec tests and exposed to FileSystem prototype
2013-12-20 11:50:59 -05:00
Alan Kligman
9f031397e8
Merge branch 'utimes' into develop
2013-12-20 00:45:50 -05:00
Alan Kligman
7dc0ef6ccb
remove comments; clarify test message
2013-12-20 00:45:11 -05:00
Barry Tulchinsky
08c1ccfd25
removed unnecessary variables in test
2013-12-17 11:36:47 -05:00
Barry Tulchinsky
359b070536
updated/added tests and caching for current time
2013-12-17 11:28:22 -05:00
Barry Tulchinsky
23ace603c9
added/fixed tests and futimes bug
2013-12-15 21:22:36 -05:00
Barry Tulchinsky
b5b2367959
removed console.log statements used for debugging from spec tests
2013-12-15 15:27:48 -05:00
Barry Tulchinsky
e84d639210
fixed bugs where atime and mtime weren't updated on the node and where mtime was valid it would error. Also added more tests
2013-12-15 02:54:51 -05:00
Alan Kligman
dac59f97b3
fixes #77 ; also checked for error type to make sure the test passes for the correct reason (and not ENoEntry, for example)
2013-12-14 15:14:44 -05:00
Barry Tulchinsky
d5b5c55fe1
implementation of utimes and futimes
2013-12-13 00:46:31 -05:00
Alan K
170af0baa8
Merge pull request #70 from ispedals/truncate
...
Good code, good tests. Merging.
2013-12-10 11:51:52 -08:00
Abir Viqar
7437aded15
refactor callback chain
2013-12-10 12:32:10 -05:00
Abir Viqar
13abcd2eeb
implement truncate and ftruncate
2013-12-10 12:12:43 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
3d11b34893
Update adapter tests to use Uint8Array and fix crypto encodings, complete zlib work. Fixes #52 .
2013-12-04 12:14:16 -05:00
David Humphrey
a3a1c50b4e
Add Zlib adapter, generalize adapter tests
2013-12-03 15:14:20 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d2790a4703
Review fixes, move crypto to src/adapters, update tests, update README, rebuild files in dist/
2013-12-01 16:45:24 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
58f57cca19
WIP on crypto wrapper providers for AES, TripleDES, Rabbit, 3 tests failing
2013-12-01 16:44:09 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
6ebbdc5915
Finish WebSQL implementation, all tests passing. Fixes #21 .
2013-11-29 10:29:04 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d5db4c51b9
Down to 1 test failure
2013-11-27 19:35:52 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
c92d3a6c5f
Passing 1/4 failing tests now
2013-11-27 17:12:46 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
58392efd10
WebSQL Storage Provider with tests (4 tests failing still)
2013-11-27 16:53:06 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
415ad41406
Break test files up using require
2013-11-27 12:18:09 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d3a7750d75
Switch to node.js' callback pattrn, update public API to match node.js
2013-11-27 10:34:43 -05:00
David Humphrey
b7733a591d
Working null byte patch checks
2013-11-27 10:34:43 -05:00
David Humphrey
77f32c4c50
Initial tests from node repo
2013-11-27 10:34:43 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
3c5a5ef7fa
Review fixes
2013-11-26 19:12:25 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
6e16f86208
Make backends pluggable via FileSystem ctor, fixes #36 .
2013-11-25 19:23:51 -05:00
Abir Viqar
ac689fc8b4
test rename does not follow symbolic links
2013-11-25 14:27:16 -05:00
Abir Viqar
702dd1a3a3
open should follow symbolic links
...
This functionality is tested implicitly through tests in
writefile, readfile
2013-11-25 14:27:14 -05:00
Abir Viqar
1b3ef1a449
unlink should not follow symbolic links
2013-11-25 14:27:05 -05:00
Abir Viqar
f3b9a83343
test link should not follow symbolic links
2013-11-25 14:27:03 -05:00
Abir Viqar
656dfd242b
rmdir should error on non-directories
2013-11-25 14:27:00 -05:00
Abir Viqar
635dd2e899
test readdir's symbolic link support
2013-11-25 14:26:57 -05:00
Abir Viqar
e8df3e2e6b
test stat's symbolic link support
2013-11-25 14:26:55 -05:00
Abir Viqar
5cbebd135c
add lstat
2013-11-25 14:26:52 -05:00
Abir Viqar
5ceff20b12
make find_node symbolic link aware
...
This adds a new constant SYMLOOP_MAX, which corresponds to the POSIX
variable of the number of symbolic links that may be followed. A new
error Eloop was added to signal when SYMLOOP_MAX is exceeded.
SYMLOOP_MAX has been arbitrarily set to 10 while on linux it is set
to 40 and the POSIX minimum is 8.
find_node when encountering a symbolic link anywhere in the given path
will attempt to follow it.
Note that SYMLOOP_MAX is only the limit of symbolic links to
follow per symbolic link. There is currently no attempt to limit
the total number of symbolic links followed when resolving a path.
This adds tests for path resolution of symbolic links as well.
2013-11-25 14:26:46 -05:00
Abir Viqar
85a804cc0c
add symlink
...
Also enable readlink's symbolic link test.
2013-11-25 14:26:40 -05:00
Abir Viqar
a78f1ee3ff
add readlink
...
Disable the test on a symbolic link until symlink is added.
Also add myself to AUTHORS
2013-11-25 14:26:34 -05:00
Alan Kligman
c76fc01a20
support rename()
2013-11-12 13:39:11 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
034dc8c166
Add test for invalid path to readFile.
2013-11-09 15:12:07 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
2a8705ed0b
Add fs.readFile, fs.writeFile with tests
2013-11-08 15:33:44 -05:00
Alan Kligman
7e59e3a684
support for readdir
2013-11-07 15:55:14 -05:00
Alan Kligman
dabf8c8c7a
Added lseek and tests.
2013-07-29 15:59:17 -04:00
Alan Kligman
850758e37a
Add fstat and tests. Fix position bug in read/write.
2013-07-29 14:55:25 -04:00
Alan Kligman
984db2ceba
Add file type to stats.
2013-07-26 11:59:32 -04:00
Alan Kligman
e690ed5292
Unlink implementation and tests.
2013-07-26 00:15:48 -04:00
Alan Kligman
717bbc25c1
Link tests.
2013-07-25 22:49:53 -04:00
Alan Kligman
ea8fbd48ad
Updated tests.
2013-07-22 23:34:38 -04:00
Alan Kligman
fb9fed0663
Tests for reading and writing data.
2013-07-22 14:31:44 -04:00
Alan Kligman
40d3f25d9a
More tests, updated implementation.
2013-07-22 13:08:35 -04:00
Alan Kligman
d3d7dcabde
Code and tests for fs.open
2013-07-19 11:22:23 -04:00
Alan Kligman
5853704bab
Updated tests.
2013-07-15 11:52:41 -04:00
Alan Kligman
cfd0932736
More tests. Added try/catch around read/write_object.
2013-07-13 12:41:10 -04:00
Alan Kligman
3d00c85a27
Updated tests.
2013-07-12 12:07:57 -04:00
Alan Kligman
c3c9751ff4
Stat implementation, updated tests.
2013-07-12 11:11:05 -04:00
Alan Kligman
580dad5315
WIP
2013-05-31 03:52:04 -04:00