1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-31 15:11:08 +00:00
Commit Graph

279 Commits

Author SHA1 Message Date
Jonathan Xu
79b43a0490 [fileserver] Add API to check repo head commit ids in batch. 2017-10-11 15:44:08 +08:00
cuihaikuo
229c300ee8 Fix incorrect filename problem in safari download. 2017-10-11 14:05:44 +08:00
Jonathan Xu
e69809b720 Improvements to repo size computation.
- Don't generate update conflicts.
- Set repo size and file count in one transaction.
- Print queue size every 5 minutes.
2017-10-10 18:36:53 +08:00
Jonathan Xu
b7a18d70d0 Merge branch '6.1' 2017-09-13 13:53:03 +08:00
Jonathan Xu
5601724050 Allow configure worker threads number in file server.
Also change default worker thread number to 10.
2017-09-13 12:02:23 +08:00
cuihaikuo
b11f861fbd Support loading configuration from database. 2017-09-07 17:01:56 +08:00
Jonathan Xu
fee2899575 Merge branch '6.1' 2017-09-05 18:10:28 +08:00
cuihaikuo
3fdce0d321 Fix a bug that may cause a core dump. 2017-08-28 17:14:55 +08:00
Jonathan Xu
3cd87afd70 Fix memory usage issues when checking share permission. 2017-08-25 19:48:29 +08:00
Jonathan Xu
3e42e2d0b5 Merge branch '6.1' 2017-08-23 15:28:19 +08:00
Jonathan Xu
a87db5b58e Improved concurrent update handling. 2017-08-16 17:50:34 +08:00
“cuihaikuo”
cf19311a0d Add rpc mkdir_with_parents() 2017-08-14 13:32:52 +08:00
cuihaikuo
3204e11073 Add rpc for getting trash repo owner 2017-08-03 13:52:28 +08:00
Jonathan Xu
e406d81efd Merge branch '6.1' 2017-07-25 17:45:20 +08:00
cuihaikuo
f257becc8a Fix a few problems in uploading a folder 2017-07-25 17:43:44 +08:00
Jonathan Xu
cc37fe4f0b Merge branch '6.1' 2017-07-25 16:58:29 +08:00
cuihaikuo
5689c56531 Optimize search sql in getting file number and storage APIs 2017-07-25 15:20:20 +08:00
cuihaikuo
628bf6c9bf Check block size before open a block file 2017-07-10 16:48:55 +08:00
Jonathan Xu
0db8ef8f2d Merge branch '6.1' 2017-07-07 11:19:27 +08:00
Jonathan Xu
548026895d Free last_modifier field in seaf_repo_free(). 2017-07-07 11:15:48 +08:00
Jonathan Xu
e096ccdfa8 Fix GC bug when specify "-r" and "-D" options together. 2017-07-05 18:13:29 +08:00
cuihaikuo
c418919332 Fix a bug that an empty folder can't be packed 2017-07-05 14:06:38 +08:00
cuihaikuo
36ecb21a58 Add rpc for getting file count info 2017-07-04 14:50:05 +08:00
Jiaqiang Xu
5fd6ed24bc Merge pull request #54 from haiwen/return_encrypted
Return 'encrypted' in get_trash_repos_by_owner api
2017-06-30 18:00:27 +08:00
Jonathan Xu
2597fa4df5 Use 8MB as block size for files uploaded from web. 2017-06-30 17:48:42 +08:00
cuihaikuo
6f0018c770 Return 'encrypted' in get_trash_repos_by_owner api 2017-06-30 16:49:40 +08:00
cuihaikuo
cc4ab3885b A few improvements for posting multiple files 2017-06-29 23:17:55 +08:00
cuihaikuo
ffd92675be Create only one commit when move or copy multiple files 2017-06-29 14:23:22 +08:00
Jonathan Xu
475e941961 Merge branch '6.1' 2017-06-29 11:58:39 +08:00
Jonathan Xu
62833505af Update repo size and file count after creating an empty file. 2017-06-28 13:35:26 +08:00
Jonathan Xu
279ac80824 Fix bug of get shared repo list RPC. 2017-06-27 14:41:37 +08:00
Jonathan Xu
30fa575bb3 Set file_count when getting repo object. 2017-06-27 14:02:38 +08:00
Jonathan Xu
9d83fd9a0c Revert "Return file_count when getting or listing repos."
This reverts commit f285dde083.
2017-06-27 12:06:08 +08:00
Jonathan Xu
f285dde083 Return file_count when getting or listing repos. 2017-06-27 11:49:33 +08:00
cuihaikuo
c98978c245 Set 'last_modified' in repo info 2017-06-26 18:30:58 +08:00
cuihaikuo
fd0dbd0160 A few performance improvements for listing repos.
- Record repo name, update time, etc in database
        - Sort repo list results in update time.
2017-06-23 14:23:59 +08:00
cuihaikuo
bd5c585466 Fix a memory-free problem 2017-06-21 11:45:23 +08:00
cuihaikuo
ab08ec51e2 Fix a bug that may cause a memory leak 2017-06-19 16:24:16 +08:00
cuihaikuo
1e72bec16d Return modifier when list dirs 2017-06-12 18:12:57 +08:00
cuihaikuo
339cfe1ed9 Merge pull request #49 from haiwen/6.0
Create only one commit when delete multiple files
2017-06-08 13:58:24 +08:00
cuihaikuo
5dddbf4e07 Create only one commit when delete multiple files 2017-06-05 14:49:32 +08:00
Jonathan Xu
e3851a9f2f Merge branch '6.0' 2017-04-27 18:06:16 +08:00
cuihaikuo
73426f3143 Fix sql bug when checking repo share permission 2017-04-26 10:25:49 +08:00
cuihaikuo
1dc5798f4a Allow to upload folder 2017-04-25 11:34:18 +08:00
cuihaikuo
ed05760019 Check path when revert file and directory 2017-04-19 17:16:38 +08:00
Jonathan Xu
f3a4d32ce7 Add "order by" to sql for querying owned repos. 2017-04-14 14:29:18 +08:00
cuihaikuo
72e7b68c66 Replace 'seaf_db_check_for_existence' with 'seaf_db_statement_exists' 2017-04-14 11:34:22 +08:00
cuihaikuo
e2fe612293 Use sql to check group permission instead of loop 2017-04-14 11:33:44 +08:00
Jonathan Xu
a9ed059634 A few optimizations for SQL queries related to repos.
- Support paging for listing owned repos
- Reduce SQL queries for getting and listing repos.
2017-04-06 17:33:37 +08:00
cuihaikuo
345d4ad286 Modify sql syntax for pgsql 2017-02-17 10:39:51 +08:00