David Humphrey
a900d8df6d
Add eslint --fix scripts, fix first round of lint errors
2018-07-15 13:25:35 -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
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
21b602ef66
Fix #329 - Implement Shell.find()
2014-11-28 15:05:47 -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
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
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
David Humphrey (:humph) david.humphrey@senecacollege.ca
4ab41c4aea
Get tests to run
2014-05-23 16:53:50 -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
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
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
Petr Bouianov
6faabdb937
Added shell.mkdirp. Fixes issue #126 .
2014-03-13 23:03:29 -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
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
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