127 Commits (b7b2685f14143eacac22952cb6727383f366c96f)

Author SHA1 Message Date
yflory 0f697ac865 Merge branch 'staging' into communities-trim 5 years ago
ansuz 1231cacef1 remove XXX 5 years ago
ansuz 9395a1ef1a always write lines with a newline 5 years ago
ansuz 3741cbcbc0 rewrite trimmed history WITH newlines 5 years ago
ansuz e3269df7f0 fix some critical errors in the trim history storage api 5 years ago
ansuz 9cdf54aff2 untested implementation of trimHistory 5 years ago
ansuz c388641479 drop support for 'retainData' configuration 5 years ago
ansuz 15ca855f22 start using the scheduler for all relevant database methods
...and describe the rationale for using particular scheduler semantics
5 years ago
ansuz 47fdf9de9f add a note to fix some odd behaviour 5 years ago
ansuz c89595c7bb handle all the simple cases where operations on channels should be queued 5 years ago
ansuz 10eed5c46d drop unmaintained flow annotations 5 years ago
ansuz 4aaef2d811 remove use of deprecated 'new Buffer' instanciation 5 years ago
ansuz af59f4c2c2 guard against invoking a method of an undefined attribute, resulting in a memory puddle 5 years ago
yflory 96cf6971ce Fix cancelling pending uploads 5 years ago
ansuz afae5d7f85 apparently readline expects a 'close' event listener, not 'end' 5 years ago
ansuz 069776e804 use fast implementations of tweetnacl serverside 5 years ago
ansuz 744be9929f handle stream errors when uploading 5 years ago
ansuz 8326b8b270 disable automatic blob expiration since we can't quite rely on atime as an inactivity metric 5 years ago
ansuz f2db93834b implement blob archival and WIP blob iteration methods 5 years ago
ansuz d1e1a11e38 fix path issues in blobStore 5 years ago
ansuz cb6b4a8eb3 always supply a callback when writing messages 5 years ago
ansuz c7f70d7264 implement blob management methods in a dedicated file 5 years ago
ansuz 7cc1832a1f handle stream errors when checking for metadata 5 years ago
ansuz ab868237a0 replace ad hoc line stream with readline module 5 years ago
ansuz 1d5534b593 provide more debugging info on metadata parse errors 5 years ago
ansuz b59f03b949 consider changes to metadata logs as channel activity 5 years ago
ansuz d6fc35cab4 mkdirp the path to metadata before writing 5 years ago
ansuz b82c0a420a merge latest staging 5 years ago
ansuz 84e1057153 address remaining notes in the storage api 5 years ago
ansuz a63bea1f59 remove invalid callback which would totally break channelBytes 5 years ago
ansuz 3c1aadd6c1 archive metadata even if there is no corresponding channel log 5 years ago
ansuz a3a7bcbe35 add comments for lots of functions 5 years ago
ansuz d6d7f4f601 include the size of the metadata log in the computed size of a channel 5 years ago
ansuz 2aebadcff3 use the correct path for channel data when restoring logs from the archive 5 years ago
ansuz 1c89e8d6ac A few updates for editable metadata
* add and update many comments
* correctly handle metadata for young channels and range requests
* add a simple implementation of 'writeMetadata'
5 years ago
ansuz 206de52ee8 call back from writeMetadata 5 years ago
ansuz bf058d8042 prevent multiple callbacks when reading dedicated metadata 5 years ago
ansuz b36f50f2c9 update metadata queries to include edits 5 years ago
ansuz b128b7f02c updated methods for working with editable metadata 5 years ago
ansuz fd43da2dbf archive and restore metadata logs and channel logs together 5 years ago
ansuz a16d7171ad add some more notes 5 years ago
ansuz 0668abf68c correct the regular expression for iterating over channels 5 years ago
ansuz fc9aaf0ecb remove unnecessary argument from channelExists
also add some notes
5 years ago
ansuz 3513e437b6 update atime when accessing files 5 years ago
ansuz 46cd796db5 label code that will need to change for editable metadata 5 years ago
ansuz 0cb3a13aca lint compliance 6 years ago
ansuz b59969f48b archive channels at expiration time if configured to prefer archiving 6 years ago
ansuz d19b704bb8 fix an inverted boolean 6 years ago
ansuz 1e5248ff9d implement methods for checking if a file exists in the database or the archive 6 years ago
ansuz 58cee9e13d remove an XXX because the code looks safe 6 years ago