Commit Graph

239 Commits

Author SHA1 Message Date
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 9d704e80c9 Fix crash in src/errors.js, see https://github.com/mozilla/makedrive/issues/145 2014-07-24 12:24:47 -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
Alan K 10f1f43d93 Merge pull request #233 from humphd/ensure-root-dir
s/make_root_directory/ensure_root_directory/ and stop failing on existing node. Fixes #232.
2014-07-21 10:02:11 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2eae45f402 s/type/mode/ 2014-07-16 16:54:02 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 4623b568fb Add node.type test for read_directory_data - causes new test failures 2014-07-16 15:40:40 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 08f037ce53 Follow-up fix for issue #235, deal with '/' when adding trailing slash 2014-07-14 16:46:52 -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
Alan K e23cf3a056 Merge pull request #220 from humphd/guid
Make Filer node guid pluggable, default to de-duping ids on generation.
2014-07-14 20:49:56 +02:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 6716a1ff1a s/make_root_directory/ensure_root_directory/ and stop failing on existing node. Fixes #232. 2014-07-07 17:02:42 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 76526caa35 Add a clarifying comment about not coercing buffers passed to read operations. 2014-06-25 13:51:07 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 25f2a24cdf Fix Issue #230: Error: Uncaught TypeError: undefined is not a function on <Buffer>.copy() 2014-06-25 13:13:55 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 98cd3e6da7 Fix #228: Uncaught [Filer Error] Your browser doesn't support IndexedDB or WebSQL. 2014-06-23 13:09:02 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 939d015e6d All tests passing, replaced zlib.js with jszip, upstream fixes to browser-request + jszip for Buffers 2014-06-06 21:29:09 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca c8dcd2d14a Switch to build-time check vs run-time for request module in browserify 2014-06-06 11:41:26 -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
David Humphrey (:humph) david.humphrey@senecacollege.ca 5ab211d14d Make Filer node guid pluggable, default to de-duping ids on generation. 2014-06-02 16:44:20 -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 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 d9ed65602a Remove adapters (src, tests, docs), fix providers for node 2014-05-23 14:36:23 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 375719b49b Refactor module system from AMD to CommonJS 2014-05-23 14:14:06 -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 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