Commit Graph

216 Commits

Author SHA1 Message Date
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 5fcd313e2f Fix issue #56: Support Filer in node.js as an fs alternative 2014-05-22 23:04:08 -04:00
David Humphrey e37ba7142c Fix review nit, add test 2014-05-22 15:09:33 -04:00
David Humphrey 185c05e742 Fix issue #196: make memory provider DBs sharable 2014-05-22 13:37:15 -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
Alan K bb87dcdb5e Merge pull request #174 from pbouianov/issue62
Fixes #62
2014-05-14 20:14:58 -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 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 0e213077e7 Add sh.wget() for downloading files into the fs, with tests and docs 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
yoavgurevich 382e59afd3 Added line note fixes to issue 62 logic in interface.js 2014-05-14 12:19:44 -04:00
Petr Bouianov bdd4b5c9fe Fixes issue #62 2014-04-17 19:22:20 -04:00
Petr Bouianov febba4c8ba Tests that expect errors check error codes. Fixes issue78 2014-04-17 11:53:55 -04:00
Alan K 073fe45223 Merge pull request #167 from kwkofler/issue#136
Issue #136 - Added more verbose errors for situations where Private Brow...
2014-04-02 20:00:42 -04:00
kwkofler e925ec3556 Changed WebSQL error to be more in line with IndexedDB error. 2014-03-30 12:48:04 -04:00
Petr Bouianov ea88e78df2 Fixed issues as per pull request conversation 2014-03-30 00:13:25 -04:00
kwkofler 67ada1ba73 Issue #136 - Added more verbose errors for situations where Private Browsing prevents DB access 2014-03-29 13:34:37 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 11127dfe94 Remove dead code 2014-03-18 16:47:04 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca bf22cad14d Move shell.js and environment.js to shell/ 2014-03-18 16:41:31 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a28feae506 Fix failing tests for src/filesystem/* issues, all tests pass now 2014-03-18 16:34:47 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca b73678c5c0 Remove duplicate decls across filesystem/* 2014-03-18 14:31:38 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 87fd1465f7 Dump fs.js 2014-03-18 14:16:39 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2418b4a634 Split up fs.js 2014-03-18 14:16:12 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8dcc38de82 Start refactoring of fs.js 2014-03-18 12:29:20 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca cf29eef1ef Rebase and fix failing tests in mkdirp 2014-03-16 11:47: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
David Humphrey (:humph) david.humphrey@senecacollege.ca 4a0ffb5f5a Fix EventEmitter to match that expected by Intercom 2014-03-12 16:49:20 -04:00
David Humphrey ef40ff7d68 Expose errors on Filer.Errors, refactor how they get used internally, add docs 2014-03-10 14:28:22 -04: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
David Humphrey (:humph) david.humphrey@senecacollege.ca edfcbddb4a s/this/fs/ in callback.apply(fs, arguments) for each complete() call 2014-03-08 15:51:42 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2f7a9d8e35 Review fixes: add context.close(), move intercom broadcast into fs 2014-03-08 15:47:33 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 98b40c5045 Review fixes 2014-03-07 20:21:10 -05:00
kwkofler c975c2e3e6 Rebase conflict resolution removed two methods accidentally, replaced them 2014-03-07 18:59:30 -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 7c14af9668 Fixed Stats prototypes, created full Mocha test suite 2014-03-07 18:10:02 -05:00