Commit graph

60 commits

Author SHA1 Message Date
ansuz
f6e443aeb2 put cookie requests back on authenticated rpc list 2017-06-02 11:45:07 +02:00
ansuz
f631973f1f optimize file upload 2017-06-01 18:16:02 +02:00
ansuz
82f5d3c96f abstract checks for authenticated RPCs 2017-05-31 12:51:26 +02:00
ansuz
8507f77116 throw if adminEmail and allowSubscriptions are not compatible 2017-05-30 16:27:42 +02:00
ansuz
605377cf31 update default configuration file with new attributes and comments 2017-05-30 15:35:51 +02:00
ansuz
c4f8286be6 add timestamp to rpc error logs 2017-05-29 17:35:13 +02:00
Caleb James DeLisle
66520b6041 cleaned up the accounts, limits and revenue sharing and unified the config in one place 2017-05-26 18:09:31 +02:00
ansuz
91ba41b8e8 hotfix for account ids 2017-05-23 11:46:59 +02:00
ansuz
ff8701b6ba send note along with limit 2017-05-22 15:56:24 +02:00
ansuz
5179252d3b fix merge conflicts 2017-05-22 12:11:24 +02:00
ansuz
6e7fe87974 WIP debug file upload errors. use better error strings 2017-05-22 12:06:29 +02:00
yflory
0c2f84058b Improve css for the file app 2017-05-22 11:16:01 +02:00
yflory
67a04a16ec Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-19 18:44:46 +02:00
yflory
1ab6eb3c5d Add a queue for multiple uploads in the file app 2017-05-19 18:41:34 +02:00
ansuz
7d369fb5e0 move rpc warnings out of server and into rpc 2017-05-19 14:37:00 +02:00
ansuz
d9f128e923 send appropriate responses to upload rpc calls 2017-05-19 09:12:39 +02:00
ansuz
d71e12713a handle empty arrays when reducing 2017-05-19 09:11:28 +02:00
ansuz
df1433b53f don't pin if users don't have space.
better validation of rpc calls
2017-05-18 12:45:40 +02:00
ansuz
98828730b4 refactor more 2017-05-16 18:08:59 +02:00
ansuz
24eb928ef8 simplify rpc function signatures 2017-05-16 17:07:53 +02:00
ansuz
c381e85384 correctly identify users' limits by unescaped public key 2017-05-16 15:11:20 +02:00
yflory
87fa28180a Display an upgrade button in the settings page 2017-05-16 10:34:50 +02:00
ansuz
dfe3eac606 big rpc refactor:
* support pinning files
* include pinned files in usage calculation
* safer session handling
* fix bugs in limit update code
2017-05-15 18:12:10 +02:00
ansuz
591c5a7844 add TODOs, integrate upload size checks 2017-05-15 11:59:36 +02:00
ansuz
fa4b17e2bc use callback in 'getLimit' 2017-05-12 15:39:55 +02:00
ansuz
a249435003 refactor limit handling a bit 2017-05-12 14:19:36 +02:00
yflory
d2ba8f1c27 Use the new format for the storage limits 2017-05-11 18:07:29 +02:00
yflory
e123ad0333 Use a POST request to get the storage limits 2017-05-11 16:31:14 +02:00
yflory
57ee7de7d4 Update and return the storage limit 2017-05-11 16:12:44 +02:00
ansuz
db2f7a5e36 add todos and change file id size 2017-05-10 15:36:14 +02:00
ansuz
3ad99be1ef restrict uploads to authenticated users 2017-05-05 11:17:55 +02:00
ansuz
f329726fa4 fix undefined reference 2017-05-05 09:12:16 +02:00
ansuz
d923fd1b76 close writeStreams before expiring a stream 2017-05-05 09:00:54 +02:00
ansuz
78b11584f8 remove unused variables 2017-05-04 16:16:09 +02:00
ansuz
5f700c7451 cleanup and jshint compliance 2017-05-04 11:46:11 +02:00
ansuz
ca7b76a812 prototype of encypted file uploads 2017-05-04 11:36:56 +02:00
ansuz
28e4ef1b13 WIP RPC code 2017-04-28 17:11:50 +02:00
ansuz
4d48c88807 create blob and blobstage stores if not exists 2017-04-28 12:49:08 +02:00
ansuz
fe93da8817 get ready to implement blob storage 2017-04-28 11:46:13 +02:00
Caleb James DeLisle
211113fb1a little flowey 2017-04-25 16:04:17 +02:00
ansuz
81c5e26a0a validate rpc messages more carefully 2017-04-24 12:10:12 +02:00
ansuz
9e749b7cd8 handle invalid channels 2017-04-24 11:40:13 +02:00
ansuz
c51073f211 support batch getFileSize calls 2017-04-21 14:51:20 +02:00
ansuz
a14bb1480a progress for implicit pinning 2017-04-10 17:42:35 +02:00
ansuz
a2f692b9a3 clean up serverside and clientside pinning logic 2017-04-07 15:20:30 +02:00
ansuz
e87992c7ec implement atomic pin reset rpc 2017-04-07 11:37:19 +02:00
ansuz
89bca1606b remove debugging code 2017-04-07 10:34:03 +02:00
ansuz
7acf52405d return new hash when pinning a channel 2017-04-07 10:30:40 +02:00
ansuz
3380cf0348 implement getTotalSize rpc 2017-04-07 10:09:59 +02:00
ansuz
64089c5f6b implement pad pinning 2017-04-05 17:28:04 +02:00