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:
@@ -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
|
||||
|
Reference in New Issue
Block a user