ansuz
|
848a918eda
|
remove out of date comments
|
6 years ago |
ansuz
|
ab04a7cb46
|
fix the bug I caused while trying to silence the linter
|
6 years ago |
ansuz
|
12cf1993b9
|
flow compliance for loginBlock RPCs
|
7 years ago |
ansuz
|
d03339f20b
|
check for the presence of a blockHash in localStorage when logging in
|
7 years ago |
ansuz
|
cb5fa72dba
|
implement removeLoginBlock rpc
|
7 years ago |
ansuz
|
577dea4c75
|
clientside implementation of block signing and encryption
|
7 years ago |
ansuz
|
9d3d8c3ba2
|
initial implementation of serverside password change RPCs
|
7 years ago |
yflory
|
b87e7c003b
|
Fix flow errors...
|
7 years ago |
yflory
|
8ce539a89e
|
lint compliance
|
7 years ago |
yflory
|
68fb534d25
|
Flow...
|
7 years ago |
yflory
|
85e5c495d9
|
Remove owned file
|
7 years ago |
yflory
|
93ecc06964
|
Upload owned files
|
7 years ago |
yflory
|
586193d6a1
|
Password-protected files: upload files with hashes V2
|
7 years ago |
yflory
|
bf520c2cb4
|
Flow compliance
|
7 years ago |
yflory
|
9cba630700
|
lint compliance
|
7 years ago |
yflory
|
a718603b36
|
Automatic account deletion
|
7 years ago |
yflory
|
632e6c2e6c
|
Merge branch 'metadata' into staging
|
7 years ago |
yflory
|
99712ec2f0
|
getMetadata RPC
|
7 years ago |
ansuz
|
7c072aeccb
|
add remove-pins rpc
|
7 years ago |
ansuz
|
ed8f9e4e3f
|
remove XXX after review
|
7 years ago |
ansuz
|
5b21911341
|
pass flow tests
|
7 years ago |
ansuz
|
b2df2ba341
|
prototype owned file upload
|
7 years ago |
yflory
|
037a6ccc35
|
Fix INVALID_RESPONSE error in the file app
|
7 years ago |
yflory
|
f004c4d701
|
lint compliance
|
7 years ago |
yflory
|
e83e589cf0
|
Kick from pad when an owned channel is deleted + whiteboard and poll
|
7 years ago |
Caleb James DeLisle
|
e78cc4ce7e
|
manual merge
|
7 years ago |
Caleb James DeLisle
|
cac5e75a99
|
Add a repl to improve debugging on the prod server
|
7 years ago |
ansuz
|
8e2c9ebfa3
|
lint compliance or something
|
7 years ago |
ansuz
|
f134f11b73
|
new getDeletedPads rpc
|
7 years ago |
Caleb James DeLisle
|
4de6bd6195
|
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
|
7 years ago |
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
|
7 years ago |
ansuz
|
3c1779a667
|
give function a more sensible name
|
7 years ago |
ansuz
|
5114292b43
|
implement 'removeOwnedChannel' rpc and...
additional checks for rpc permissions
|
7 years ago |
ansuz
|
544a26f6b3
|
fix a typo
|
7 years ago |
ansuz
|
02dbe9e458
|
enforce maxUploadSize
|
7 years ago |
ansuz
|
869909b101
|
implement more reliable check for whether a channel on the server is new
|
7 years ago |
Caleb James DeLisle
|
bd6cb98c1e
|
e is an error and not a string, stops stack traces in the server log
|
7 years ago |
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
|
7 years ago |
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
|
7 years ago |
Caleb James DeLisle
|
ba74f9d37a
|
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
|
7 years ago |
Caleb James DeLisle
|
c702a23c77
|
Initial work on the 'pad will expire' logic
|
7 years ago |
ansuz
|
1613b1c086
|
flow compliance
|
7 years ago |
ansuz
|
c3e3da4948
|
allow administrators to increase limits for friends
|
7 years ago |
Caleb James DeLisle
|
7544bb1ced
|
Fix a few issues with RPC which I managed to verschlumbesserung
|
7 years ago |
Caleb James DeLisle
|
5187b3f26c
|
Flow compliance and fix a few bugs in rpc.js
|
7 years ago |
ansuz
|
a28a59abf0
|
harden server further against bad channel ids
|
7 years ago |
ansuz
|
a756faf818
|
lint compliance
|
7 years ago |
ansuz
|
eeb2ee2d17
|
add clear channel rpc
|
7 years ago |
ansuz
|
63fd7b4dde
|
implement EXPIRE_SESSION rpc
|
7 years ago |
ansuz
|
cb7efeebe1
|
don't require admins to explicitly enable uploads
|
7 years ago |
ansuz
|
9bf9130b9d
|
fix error in pin reset
|
8 years ago |
ansuz
|
708d5ae35f
|
remove noisy log calls
|
8 years ago |
ansuz
|
6ac056e314
|
make explicit file size RPCs unauthenticated
|
8 years ago |
ansuz
|
d2085c1269
|
enable logging of rpc calls
|
8 years ago |
ansuz
|
9d83214158
|
forbid cache poisoning via botched reset calls
|
8 years ago |
ansuz
|
100cc1792a
|
non-existent files have size 0
|
8 years ago |
ansuz
|
278125747c
|
only log errors if there is an error
|
8 years ago |
ansuz
|
977faee40b
|
expose more debugging information from rpc errors
|
8 years ago |
ansuz
|
8bee45d0f4
|
don't try to replace undefined
|
8 years ago |
ansuz
|
52975a2f09
|
allow users to pin the first time, even if they are over their limit
|
8 years ago |
ansuz
|
192a517e64
|
handle nonexistent files in getUploadSize
|
8 years ago |
ansuz
|
5bd7e19ddd
|
guard against invalid channels, make session expiration time configurable
|
8 years ago |
ansuz
|
aa296eadff
|
pass correct argument into getFileSize
|
8 years ago |
ansuz
|
f6e443aeb2
|
put cookie requests back on authenticated rpc list
|
8 years ago |
ansuz
|
f631973f1f
|
optimize file upload
|
8 years ago |
ansuz
|
82f5d3c96f
|
abstract checks for authenticated RPCs
|
8 years ago |
ansuz
|
8507f77116
|
throw if adminEmail and allowSubscriptions are not compatible
|
8 years ago |
ansuz
|
605377cf31
|
update default configuration file with new attributes and comments
|
8 years ago |
ansuz
|
c4f8286be6
|
add timestamp to rpc error logs
|
8 years ago |
Caleb James DeLisle
|
66520b6041
|
cleaned up the accounts, limits and revenue sharing and unified the config in one place
|
8 years ago |
ansuz
|
91ba41b8e8
|
hotfix for account ids
|
8 years ago |
ansuz
|
ff8701b6ba
|
send note along with limit
|
8 years ago |
ansuz
|
5179252d3b
|
fix merge conflicts
|
8 years ago |
ansuz
|
6e7fe87974
|
WIP debug file upload errors. use better error strings
|
8 years ago |
yflory
|
0c2f84058b
|
Improve css for the file app
|
8 years ago |
yflory
|
67a04a16ec
|
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
|
8 years ago |
yflory
|
1ab6eb3c5d
|
Add a queue for multiple uploads in the file app
|
8 years ago |
ansuz
|
7d369fb5e0
|
move rpc warnings out of server and into rpc
|
8 years ago |
ansuz
|
d9f128e923
|
send appropriate responses to upload rpc calls
|
8 years ago |
ansuz
|
d71e12713a
|
handle empty arrays when reducing
|
8 years ago |
ansuz
|
df1433b53f
|
don't pin if users don't have space.
better validation of rpc calls
|
8 years ago |
ansuz
|
98828730b4
|
refactor more
|
8 years ago |
ansuz
|
24eb928ef8
|
simplify rpc function signatures
|
8 years ago |
ansuz
|
c381e85384
|
correctly identify users' limits by unescaped public key
|
8 years ago |
yflory
|
87fa28180a
|
Display an upgrade button in the settings page
|
8 years ago |
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 |