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 |
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 |