88 Commits (d59bc4612ddef1c97fe03392539374efd6f03fad)

Author SHA1 Message Date
ansuz dfe3eac606 big rpc refactor:
* support pinning files
* include pinned files in usage calculation
* safer session handling
* fix bugs in limit update code
8 years ago
ansuz 591c5a7844 add TODOs, integrate upload size checks 8 years ago
ansuz fa4b17e2bc use callback in 'getLimit' 8 years ago
ansuz a249435003 refactor limit handling a bit 8 years ago
yflory d2ba8f1c27 Use the new format for the storage limits 8 years ago
yflory e123ad0333 Use a POST request to get the storage limits 8 years ago
yflory 57ee7de7d4 Update and return the storage limit 8 years ago
ansuz db2f7a5e36 add todos and change file id size 8 years ago
ansuz 3ad99be1ef restrict uploads to authenticated users 8 years ago
ansuz f329726fa4 fix undefined reference 8 years ago
ansuz d923fd1b76 close writeStreams before expiring a stream 8 years ago
ansuz 78b11584f8 remove unused variables 8 years ago
ansuz 5f700c7451 cleanup and jshint compliance 8 years ago
ansuz ca7b76a812 prototype of encypted file uploads 8 years ago
ansuz 28e4ef1b13 WIP RPC code 8 years ago
ansuz 4d48c88807 create blob and blobstage stores if not exists 8 years ago
ansuz fe93da8817 get ready to implement blob storage 8 years ago
Caleb James DeLisle 211113fb1a little flowey 8 years ago
ansuz 81c5e26a0a validate rpc messages more carefully 8 years ago
ansuz 9e749b7cd8 handle invalid channels 8 years ago
ansuz c51073f211 support batch getFileSize calls 8 years ago
ansuz a14bb1480a progress for implicit pinning 8 years ago
ansuz a2f692b9a3 clean up serverside and clientside pinning logic 8 years ago
ansuz e87992c7ec implement atomic pin reset rpc 8 years ago
ansuz 89bca1606b remove debugging code 8 years ago
ansuz 7acf52405d return new hash when pinning a channel 8 years ago
ansuz 3380cf0348 implement getTotalSize rpc 8 years ago
ansuz 64089c5f6b implement pad pinning 8 years ago
ansuz 212baeb3a6 better cookie schema. expire old sessions 8 years ago
ansuz a5e5ddae08 rpc all the things 8 years ago
ansuz a0c17d7c9b latest rpc code 8 years ago
ansuz 98027dad27 jshint compliance 8 years ago
ansuz 7ab65367c5 don't try to verify messages if you can't decode base64 8 years ago
ansuz dc350caff7 return NOT_IMPLEMENTED for all planned rpc calls 8 years ago
ansuz ac08c9f3d9 rpc should only respond to signed messages 8 years ago
ansuz 15a67afc75 jshint compliance 8 years ago
ansuz 61fc4a3f86 respond to GET_FILE_SIZE rpc calls 8 years ago
ansuz 612a00b484 implement serverside RPC infrastructure 8 years ago