Commit Graph

38 Commits

Author SHA1 Message Date
David Humphrey 98683fe261 Update deps, fix new eslint issues, update release-it config 2020-04-13 12:32:17 -04:00
David Humphrey 5f10cc2fde Add test API to shim indexedDB when necessary for better coverage 2019-01-03 00:08:22 -05:00
David Humphrey 1ad81f9bae Remove WebSQL provider (last supported in v0.0.44) 2019-01-02 13:22:51 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 923b999e89 Fix #547: update Buffer use, docs, tests to match node.js v11.3.0 2018-12-01 20:05:05 -05:00
David Humphrey 8d553b78e0 Fix lint issues in indexeddb.js provider 2018-07-27 11:14:08 -04:00
David Humphrey b92151cdc5 Fix lint issues in websql.js provider 2018-07-27 11:13:40 -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 eee8200e23 Remove FirefoxOS hack for https://github.com/humphd/next/issues/59 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
Alan K ba9902fb93 fix for arraybuffer brokenness on fxos1.3; adds a new code path for that version, other platforms should be the same. 2014-10-24 07:52:11 -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 e8c88be4ba Fixs for WebSQL, remove ensureBuffer(), fix truncate/ftruncate to read Buffer 2014-08-16 17:02:18 -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 e063edc6fc Expanded test for wide dirs, fix, switch to async.eachSeries everywhere 2014-07-21 15:08:39 -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 d9ed65602a Remove adapters (src, tests, docs), fix providers for node 2014-05-23 14:36:23 -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
kwkofler e925ec3556 Changed WebSQL error to be more in line with IndexedDB error. 2014-03-30 12:48:04 -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
pbouianov fe9b94d4ec Changed IndexedDB provider to use RW context if RO is requested. Fixes issue #128 2014-03-05 14:45:59 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 32a5cfe584 Review fixes 2014-03-04 14:32:33 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca da5e1b2b57 Fix WebSQL provider to properly deal with typed arrays, 100% of tests passing now on WebKit with WebSQL 2014-03-04 13:37:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 64a52b7d00 Share code from lib/async.js instead of inlining nextTick in Memory provider 2014-02-19 17:55:56 -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 (:humph) david.humphrey@senecacollege.ca 641eb870a7 s/IDBFS/Filer/ in all files, docs, tests. Fixes #54 2014-01-14 11:36:18 -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 440b5f2618 Remove dead code in crypto-wrappers.js 2013-12-01 16:44:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 05b4262cde Fix encoding issue with decrypted string in crypto wrapper 2013-12-01 16:44:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 0ccc9e4dc2 Don't encrypt keys 2013-12-01 16:44:10 -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 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