ansuz
c0d908af4d
implement 'unarchiveChannel'
6 years ago
ansuz
11976b262e
add a note for later
6 years ago
ansuz
dd375a2a22
every type of storage should have its own nested directory within the archive
6 years ago
ansuz
7647f7c68a
implement four new storage APIs
...
* listChannels
* listArchivedChannels
* archiveChannel
* removeArchivedChannel
6 years ago
ansuz
aa9a27634a
actual lint compliance
6 years ago
ansuz
ec64de2c67
additional work on the storage API
...
* optimize layout on the filesystem
* drop some unused functions
* don't recurse over folders that you know won't be relevant
* remove empty folders
* add a migration API
* fix some minor bugs with asynchrony
* lint compliance
6 years ago
ansuz
7b55df5931
rewrite task execution as API instead of a script
6 years ago
ansuz
253545636b
add a note to fix some weird behaviour in storage/file
6 years ago
ansuz
e1e6d51038
new logging api
6 years ago
ansuz
fc43c08baf
un-break all the imports in tasks.js
6 years ago
ansuz
51fae45cce
add notes re: logging and cold storage
6 years ago
ansuz
0a1971cfee
improved support for nested data directories
6 years ago
ansuz
1600f800e8
add a todo for flat file db atime
6 years ago
yflory
ef0c08130d
Stop the process when expire-channels is done
7 years ago
ansuz
8e2c9ebfa3
lint compliance or something
7 years ago
ansuz
b4b51ed86a
add a subsystem for scheduling tasks
7 years ago
ansuz
a5b7b0191f
correct validation for 'channelName'
7 years ago
Caleb James DeLisle
b63d1527a0
Small bit of better logging
7 years ago
Caleb James DeLisle
014aacc76a
Added a new RPC to get file offsets of messages by hash or of last 2 checkpoints, also improved checking of valid channel names and fixed a pull-stream bug and exposed async-store to the window
7 years ago
Caleb James DeLisle
b3a873bbc9
Fix flow
7 years ago
Caleb James DeLisle
88f3e730b9
Update package.json and sync file.js
7 years ago
Caleb James DeLisle
f3167964f4
In case there is an error parsing one of the messages in a file, catch rather than blowing up
7 years ago
Caleb James DeLisle
edeb1e25d3
Bad solution to a bad problem
7 years ago
yflory
cd7c5abc3e
Fix a missing callback in closeChannel
7 years ago
ansuz
b295aaa6c7
harden clearChannel implementation
7 years ago
ansuz
a756faf818
lint compliance
7 years ago
ansuz
eeb2ee2d17
add clear channel rpc
7 years ago
ansuz
78b11584f8
remove unused variables
8 years ago
Caleb James DeLisle
211113fb1a
little flowey
8 years ago
ansuz
d0466a2052
implement 'getChannelSize' api in storage
8 years ago
ansuz
78f8286fe3
add a note about installing storage adaptors from npm
8 years ago
ansuz
1f2e45d6c8
improved fs storage adaptor and config docs
...
* regularly close open file descriptors older than channelExpirationMs
* clean up older file descriptors when exceeding openFileLimit
8 years ago
ansuz
4b238de84c
quieter stdout and stderr logs
8 years ago
Caleb James DeLisle
038a986e83
Fix path for file storage on windows
8 years ago
ansuz
fc7576fe20
implement channel removal
8 years ago
ansuz
38d1a1a291
faster message iteration
8 years ago
ansuz
b46f74cd78
remove alternative storage adaptors from core
8 years ago
ansuz
19caac232b
don't try to send invalid messages
8 years ago
Caleb James DeLisle
de9f642ccc
typo
8 years ago
Caleb James DeLisle
5fe3ffabd1
stop using waitFor.abort() which is apparently not implemented
8 years ago
Caleb James DeLisle
2021bf6702
Improvements to the file storage format
8 years ago
ansuz
4b64f00cc0
don't log when cleaning up idle channels
8 years ago
ansuz
be69e2828c
implement flat file storage
8 years ago
ansuz
217e664d4c
boilerplate for filesystem-backed storage
8 years ago
ansuz
68b35ace38
add a SQL database adaptor
8 years ago
ansuz
9c15a43268
add removeChannel documentation to storage/README
9 years ago
ansuz
1b2c129380
implement channel removal in amnesiadb
9 years ago
ansuz
061cffe462
transform and pass through the existing store
9 years ago
ansuz
e83e5026ce
make amnesiadb compatible with netflux
9 years ago
ansuz
d576fdc886
fix bug where empty channels failed
9 years ago