1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

update file history page/api

1. user with `r` and `rw` permission can view file history
2. add new file history api
This commit is contained in:
lian
2017-12-11 11:18:19 +08:00
parent 7694ecd819
commit 0500f441a8
11 changed files with 468 additions and 134 deletions

View File

@@ -403,6 +403,7 @@ REST_FRAMEWORK = {
REST_FRAMEWORK_THROTTING_WHITELIST = []
# file and path
GET_FILE_HISTORY_TIMEOUT = 10 * 60 # seconds
MAX_UPLOAD_FILE_NAME_LEN = 255
MAX_FILE_NAME = MAX_UPLOAD_FILE_NAME_LEN
MAX_PATH = 4096