mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 14:49:09 +00:00
[v2] improvements ('random_key' --> 'file_key', and etc)
* 'KEEP_ENC_REPO_PASSWD' --> 'SERVER_CRYPTO' * random_key --> file_key. added client_crypto.js * file upload/update: don't encrypt when file size is 0 * combine 'sjcl.min.js' and 'codecBytes.js' into 'sjcl.js' * added 'repo_create_js_fils.html', 'included' it
This commit is contained in:
@@ -180,8 +180,8 @@ AUTHENTICATION_BACKENDS = (
|
||||
|
||||
ACCOUNT_ACTIVATION_DAYS = 7
|
||||
|
||||
# keep password of encrypted repo (on the server)
|
||||
KEEP_ENC_REPO_PASSWD = True
|
||||
# for v2 enc repo: encrypt/decrypt on the server
|
||||
SERVER_CRYPTO = True
|
||||
|
||||
# File preview
|
||||
FILE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024
|
||||
|
Reference in New Issue
Block a user