Commit graph

104 commits

Author SHA1 Message Date
ansuz
ed8f9e4e3f remove XXX after review 2018-03-20 11:15:44 +01:00
ansuz
5b21911341 pass flow tests 2018-03-16 12:26:39 +01:00
ansuz
b2df2ba341 prototype owned file upload 2018-03-12 17:50:47 +01:00
yflory
037a6ccc35 Fix INVALID_RESPONSE error in the file app 2018-02-16 12:02:20 +01:00
yflory
f004c4d701 lint compliance 2018-02-14 19:42:00 +01:00
yflory
e83e589cf0 Kick from pad when an owned channel is deleted + whiteboard and poll 2018-02-14 19:41:07 +01:00
Caleb James DeLisle
e78cc4ce7e manual merge 2018-02-06 11:41:57 +01:00
Caleb James DeLisle
cac5e75a99 Add a repl to improve debugging on the prod server 2018-02-06 11:35:24 +01:00
ansuz
8e2c9ebfa3 lint compliance or something 2018-01-29 14:26:24 +01:00
ansuz
f134f11b73 new getDeletedPads rpc 2018-01-29 12:40:09 +01:00
Caleb James DeLisle
4de6bd6195 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2018-01-23 16:32:05 +01:00
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 2018-01-23 16:31:59 +01:00
ansuz
3c1779a667 give function a more sensible name 2018-01-19 10:27:16 +01:00
ansuz
5114292b43 implement 'removeOwnedChannel' rpc and...
additional checks for rpc permissions
2018-01-19 10:26:21 +01:00
ansuz
544a26f6b3 fix a typo 2018-01-19 10:25:29 +01:00
ansuz
02dbe9e458 enforce maxUploadSize 2018-01-18 12:19:58 +01:00
ansuz
869909b101 implement more reliable check for whether a channel on the server is new 2017-12-22 16:24:17 +01:00
Caleb James DeLisle
bd6cb98c1e e is an error and not a string, stops stack traces in the server log 2017-12-19 18:32:53 +01:00
Caleb James DeLisle
0aae61f72e Anonymous RPC GET_FILE_SIZE does not work correctly unless at least one authenticated RPC has been called first. Also RPC failures (throw error) are silent in the logs 2017-12-12 14:18:48 +01:00
Caleb James DeLisle
7a09bf43eb Fix a truly silly mistake in rpc.js and make the pad-not-pinned message get removed if a registered user joins 2017-12-08 14:46:32 +01:00
Caleb James DeLisle
ba74f9d37a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-12-05 18:32:29 +01:00
Caleb James DeLisle
c702a23c77 Initial work on the 'pad will expire' logic 2017-12-05 17:48:30 +01:00
ansuz
1613b1c086 flow compliance 2017-12-05 15:15:49 +01:00
ansuz
c3e3da4948 allow administrators to increase limits for friends 2017-12-05 15:07:09 +01:00
Caleb James DeLisle
7544bb1ced Fix a few issues with RPC which I managed to verschlumbesserung 2017-11-30 18:48:19 +01:00
Caleb James DeLisle
5187b3f26c Flow compliance and fix a few bugs in rpc.js 2017-11-30 18:32:20 +01:00
ansuz
a28a59abf0 harden server further against bad channel ids 2017-07-17 16:34:47 +02:00
ansuz
a756faf818 lint compliance 2017-07-13 08:36:55 +02:00
ansuz
eeb2ee2d17 add clear channel rpc 2017-07-12 18:55:29 +02:00
ansuz
63fd7b4dde implement EXPIRE_SESSION rpc 2017-07-05 16:00:54 +02:00
ansuz
cb7efeebe1 don't require admins to explicitly enable uploads 2017-07-05 11:54:27 +02:00
ansuz
9bf9130b9d fix error in pin reset 2017-07-04 17:02:29 +02:00
ansuz
708d5ae35f remove noisy log calls 2017-07-03 16:43:49 +02:00
ansuz
6ac056e314 make explicit file size RPCs unauthenticated 2017-07-03 11:38:39 +02:00
ansuz
d2085c1269 enable logging of rpc calls 2017-06-30 11:19:12 +02:00
ansuz
9d83214158 forbid cache poisoning via botched reset calls 2017-06-28 11:36:34 +02:00
ansuz
100cc1792a non-existent files have size 0 2017-06-13 11:47:22 +02:00
ansuz
278125747c only log errors if there is an error 2017-06-13 11:18:14 +02:00
ansuz
977faee40b expose more debugging information from rpc errors 2017-06-13 11:14:01 +02:00
ansuz
8bee45d0f4 don't try to replace undefined 2017-06-08 15:27:28 +02:00
ansuz
52975a2f09 allow users to pin the first time, even if they are over their limit 2017-06-08 15:26:51 +02:00
ansuz
192a517e64 handle nonexistent files in getUploadSize 2017-06-08 14:02:26 +02:00
ansuz
5bd7e19ddd guard against invalid channels, make session expiration time configurable 2017-06-08 14:02:06 +02:00
ansuz
aa296eadff pass correct argument into getFileSize 2017-06-08 14:00:48 +02:00
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