1
0
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:
llj
2013-10-17 10:57:05 +08:00
parent 2e270ca45e
commit df16f6f312
17 changed files with 177 additions and 143 deletions

View File

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