Commit Graph

755 Commits

Author SHA1 Message Date
Alan K 5d194aa4ee Adding build output. 2014-05-27 14:44:30 -04:00
Alan K c9a968b009 Merge pull request #198 from humphd/browserify
Fixes #56
2014-05-27 14:35:56 -04:00
David Humphrey 8fac316052 Merge pull request #3 from sedge/browserify
removed browser attribute from package.json r=@modeswitch
2014-05-27 14:30:36 -04:00
Kieran Sedgwick 6353732403 Removed require-config.js 2014-05-27 14:29:11 -04:00
Kieran Sedgwick 95691f4e89 removed browser attribute from package.json 2014-05-27 14:27:29 -04:00
David Humphrey 10c3271faa Merge pull request #2 from sedge/browserify
Excluded the request module from browserify builds and updated CONTRIBUT...
2014-05-27 10:49:49 -04:00
Kieran Sedgwick a8397c5057 corrected CONTRIBUTING.md 2014-05-27 10:47:47 -04:00
Kieran Sedgwick 2c1ccdd9f1 Make browserify point to the correct Filer distribution when including filer in 3rd party browserify builds 2014-05-27 10:46:23 -04:00
Kieran Sedgwick baf593ee82 Excluded the request module from browserify builds and updated CONTRIBUTING.md 2014-05-27 10:32:41 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 747dadb1c3 Remove grunt-mocha from gruntfile too 2014-05-26 19:20:42 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 215e4c3f49 Remove grunt-mocha 2014-05-26 17:46:10 -04:00
David Humphrey 20fffd830a Merge pull request #1 from sedge/browserify
Nodejs Filer compat
2014-05-26 17:42:27 -04:00
Kieran Sedgwick ad64ac1b75 Moah fixes 2014-05-26 17:41:17 -04:00
Kieran Sedgwick 823232fc67 Review fixes 2014-05-26 17:35:41 -04:00
Kieran Sedgwick a4c0874668 Browserify test suite
Our tests run in the browser and on node! Switching to browserify made this necessary.
2014-05-26 16:51:42 -04:00
Kieran Sedgwick 2d245a0b26 Removed unnecessary files 2014-05-26 16:51:42 -04:00
Kieran Sedgwick 9df84d1227 Retooled grunt release to use browserify instead of requirejs 2014-05-26 13:57: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 f0ac6ed32a Fix Zlib export 2014-05-23 17:07:23 -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 38627f95d6 Rework tests for node 2014-05-23 14:54:59 -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 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 3ef2a4e07d Split the distribution of Filer into two files
The AMD-module system Filer uses can't handle require() calls that reference a node module. By creating two distributions we allow the node version to use a full implementation of RequireJS, which gracefully falls back to Node's require() when RequireJS can't find the module in its registered paths.
2014-05-22 23:04:08 -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 81b4d26b90 Finish test suite changes for node.js 2014-05-22 23:04:08 -04:00
David Humphrey 9426a700b5 Generate separate filer for testing in node so we don't overwrite dist/filer.js 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 (:humph) david.humphrey@senecacollege.ca b0744a7489 Fix grunt to rebuild dist/filer.js on test runs, alter default grunt task to be test 2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2d6b4644df Make it possible to run node tests from npm/grunt 2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca e041c2d904 Tests running now 2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca c18660a2ed Initial work on getting tests to run, some working 2014-05-22 23:04:07 -04:00
Alan K 73392d3f35 Merge pull request #197 from humphd/issue196
Fixes #196
2014-05-22 15:21:18 -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
Alan K d850157a84 Merge pull request #190 from gideonthomas/Issue145
Fixes #145
2014-05-21 12:22:00 -04:00
gideonthomas aff6570ad6 Added mknod command to create a file or directory node 2014-05-21 11:25:23 -04:00
Alan K ec85f61e04 Merge pull request #188 from sedge/issue-71
Fixes #13
2014-05-20 21:31:11 -04:00
Kieran Sedgwick 98391d6bd8 Updated CONTRIBUTING.md to include instructions on grunt publish.
This significantly changed the workflow, so I wanted the changes to be clear.
2014-05-20 16:48:48 -04:00
Kieran Sedgwick 3cbc0d2440 Grunt automation of build/tag/publish
Filer's build process was a multi-step process, and grunt is powerful enough to automate it. Now we have :)
2014-05-20 16:48:45 -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
David Humphrey 14c584ab8e Update README.md
Fix outdated wget file naming docs missed when we landed the new wget stuff.
2014-05-15 11:48:47 -04:00
Alan K bb87dcdb5e Merge pull request #174 from pbouianov/issue62
Fixes #62
2014-05-14 20:14:58 -04:00
Alan K 4a72e3b333 Update README.md
Realpath won't be implemented on the fs object.
2014-05-14 17:07:29 -04:00