mehdi
|
7ed4d994da
|
fix nodeWebkitAppName type
|
3 years ago |
eliot-akira
|
437a841e72
|
Lint
|
3 years ago |
eliot-akira
|
fc1d0e0aa3
|
Write file line by line when persisting cached database
|
3 years ago |
eliot-akira
|
a610cf8cff
|
treatRawData and treatRawStream: Get values more efficiently with Object.values
|
3 years ago |
eliot-akira
|
a826a9c3e0
|
Align behavior of treatRawData and treatRawStream in handling last blank line; On error, result is null
|
3 years ago |
eliot-akira
|
ec5f3ffb13
|
Include fork of byline library
|
3 years ago |
eliot-akira
|
631d672af8
|
Return treated data even after corrupt threshold
|
3 years ago |
eliot-akira
|
5b37cff1e9
|
Use template literals for string interpolation
|
3 years ago |
eliot-akira
|
3729d4c86e
|
Use arrow functions to preserve this
|
3 years ago |
eliot-akira
|
24dd632042
|
On error, result is null; on result, error is null
|
3 years ago |
eliot-akira
|
842f3e9f2b
|
Lint: Formatting
|
3 years ago |
eliot-akira
|
2a3afcb7d8
|
Do not stream on browser side, since localforage returns entire database file content; Passes all browser tests
|
3 years ago |
eliot-akira
|
a67622dcf7
|
Stream files line by line when parsing to avoid memory limits
Based on https://github.com/louischatriot/nedb/pull/463
|
3 years ago |
Timothée Rebours
|
e8cba5273a
|
cleanup code
|
4 years ago |
Timothée Rebours
|
a4cd69f5c6
|
re-make the build process with webpack, swicth to Karma for the browser tests, bumps all dependencies except , remove bower.json, remove browser build from repo (will be published on npm though)
|
4 years ago |
Timothée Rebours
|
185ae680b8
|
standard everything except browser-version
|
4 years ago |
Louis Chatriot
|
20eceff265
|
Created event compaction.done fired by datastore after a compaction operation is complete
|
9 years ago |
James M. Greene
|
dab6fe24a5
|
Throw real Errors instead of strings and plain objects
|
9 years ago |
Louis Chatriot
|
3daa3b9457
|
Bump version
|
9 years ago |
Louis Chatriot
|
94f7caf0b8
|
Chmod
|
9 years ago |
Louis Chatriot
|
0b564ba674
|
Browser version works with local storage
|
9 years ago |
Louis Chatriot
|
d1e6d14b53
|
Moved all crash safe operations to storage
|
9 years ago |
Louis Chatriot
|
51ef65be17
|
Can now prevent loading of the database if too much data is corrupt
|
10 years ago |
Louis Chatriot
|
09c6309c1a
|
Tests for coherence of hooks done
|
10 years ago |
Louis Chatriot
|
3e67adc2bb
|
Check that if one hook is defined the other is too
|
10 years ago |
Louis Chatriot
|
64aa1808a9
|
persistNewState uses the serialization hook
|
10 years ago |
Louis Chatriot
|
d5958cce91
|
mkdirp put in storage module
|
10 years ago |
Louis Chatriot
|
ef9c238322
|
First successful test for browser persistence
|
10 years ago |
Louis Chatriot
|
857d89066f
|
Externalized ensureFileDoesntExist
|
10 years ago |
Louis Chatriot
|
b0e3ceb1a6
|
Forked storage.js
|
10 years ago |
Louis Chatriot
|
5c418952d5
|
Some styling
|
11 years ago |
Anatoly Pashin
|
790562c45f
|
fixed setAutocompactionInterval interval arg
if interval is undefined, then it's bigger than 5000
Test case in Chrome console:
```
> var interval
undefined
> (interval < 5000)
false
```
|
11 years ago |
Louis Chatriot
|
e6cc5242f4
|
Fixed EXDEV issue in NW apps
|
11 years ago |
Louis Chatriot
|
03f68398e6
|
Can remove an index
|
11 years ago |
Louis Chatriot
|
878082f38d
|
Remember an index upon any reload
|
11 years ago |
Louis Chatriot
|
34a3ba2046
|
Made treatRawData tests pass
|
11 years ago |
Louis Chatriot
|
4776c988ec
|
Use a more robust persistence scheme, thanks spolu and szawcz
|
11 years ago |
Louis Chatriot
|
d5ec5185eb
|
Basic test for persistCachgedDatabase
|
11 years ago |
Louis Chatriot
|
2a4f55504d
|
loadDatabase now uses ensureDatafileIntegroty
|
11 years ago |
Louis Chatriot
|
e609be27de
|
ensureDatafileIntegrity completely tested
|
11 years ago |
Louis Chatriot
|
adea00478c
|
Created function ensuring datafile integrity
|
11 years ago |
Louis Chatriot
|
9ee4c8abf9
|
No crash for a bad filename if in memory only
|
11 years ago |
Louis Chatriot
|
f45526d7b1
|
Fixed small bug
|
11 years ago |
Louis Chatriot
|
c552e37772
|
Removed all references to the useless datafileSize
|
12 years ago |
Louis Chatriot
|
9e71dbd9e5
|
Expose db.persistence.compactDatafile
|
12 years ago |
Louis Chatriot
|
ab9c9c68d2
|
Added way to autocompact, still undocumented
|
12 years ago |
Louis Chatriot
|
438156bdd0
|
Browser-specific persistence module
|
12 years ago |
Louis Chatriot
|
829441becb
|
Put datafileSize in the persistence module where it belongs
|
12 years ago |
Louis Chatriot
|
4058b23ddb
|
treatRawData removed from Datastore
|
12 years ago |
Louis Chatriot
|
46c4723fc5
|
fs and path are both required only in the persistence module
|
12 years ago |