* Add op to download or view file
* Use download-link op and statistic view
* Go add statictic view
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Get gc id before index blocks
* Add test gc online
* Add test gc online
* Adjust time of run gc
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Check if file or dir is ..
* Diff and check name is ..
* Go diff and check name is ..
* Check if ignore new name or name
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Read database config from seafile.conf and env
* Go read database config from seafile.conf and env
* Delete ccnet.conf
* Don't need ccnet_db_name config
* Add ccnet db name env
* Delete unix_socket and don't return error when failed to read from seafile.conf
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Add online gc core
* Add check gc when update repo
* Go add check gc when update repo
* Add gc unit test
* Support set pwd_hash for gc and fsck
* Optimize to check if block exists
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Add json exp
* Add json exp and add gen jwt token
* Gen seahub and notif jwt token
* Add exp for gen jwt token
* Delete gen_jwt_token API
* Delete set exp to 72 hour
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Add cookie to check share link access
* Modify user agent and add timeout
* Add filename to attachment
* Go set filename to attach
* C set filename to attachment
* Adjust position of check priviate key
* Set Content-Type and User-Agent
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Add upload link and download link API
* Use go 1.22 for ci
* Go add upload link API
* Add norm UTF8 path
* Go add upload link API
* Add seahub_settings.py
* Add projectDir
* Add download link API
* Set and check etag
* Add comment and set no-cache
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Skip merge when post files with replace existed
* Use handle_concurrent_update to check if merge commits
* Go handle concurrent update
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Add last_modify field in form
* Go add last_modify field in form
* Use rfc3339 time format
* Add mtime for upload_blks_api
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
* Reuse zlib ReadCloser and add timeout for get fs id list
* Reuse zlib reader
* Get seafile and seafdir with zlib reader
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Use json-iterator/go to parse fs objects (#510)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Add cache for seafdir (#511)
* Add cache for seafile and seafdir
* Add ttl for fs cache
* Use MB unit and add a comment
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
Close object after reading finished (#512)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>