1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-18 16:35:42 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
cuihaikuo
b9d74500fa Add primary key for mysql table.
Add column names in 'INSERT' and 'REPLACE' sql.
2018-04-18 15:07:49 +08:00
cuihaikuo
5a443b1bf8 Exit if failed to init http request.
Fix rollback issue.
2018-03-23 17:44:22 +08:00
cuihaikuo
caee7ef963 Support background task for indexing blocks. 2018-02-06 14:37:27 +08:00
Jiaqiang Xu
361c021e78 Merge pull request #113 from haiwen/set_subdir_perm_by_path
Fix that sometimes shared folder can't be set permission .
2018-01-06 16:00:46 +08:00
cuihaikuo
17aeec7304 Add rpc cancel_zip_task(). 2018-01-06 15:35:38 +08:00
cuihaikuo
533755377f Fix that shared folder can't be set permission. 2018-01-06 15:28:11 +08:00
cuihaikuo
8ef799679b Get all group repos by user. 2017-12-29 11:46:25 +08:00
cuihaikuo
1be480a560 Merge pull request #95 from haiwen/list_file_history
Keep at least 2 revisions (if exists) when listing file history.
2017-12-09 10:05:04 +08:00
cuihaikuo
936cfd8c74 Support pagination in listing file histories.
Keep at least 2 versions (if exists) when listing file history.
2017-12-08 11:58:24 +08:00
Jonathan Xu
c580b0d4ed Don't accept blocks upload in upload-blks-api and update-blks-api. 2017-11-18 11:33:19 +08:00
Jonathan Xu
9311ccd588 Fix returned string invalid issue for MySQL. 2017-11-15 17:15:06 +08:00
cuihaikuo
ca58a7afe8 Fix subdir cannot be unshared issue. 2017-11-01 10:25:20 +08:00
cuihaikuo
1ed203814e Add rpc get_shared_repo_by_path(). 2017-10-31 11:02:52 +08:00
cuihaikuo
e195ab4178 Add rpc get_group_shared_repo_by_path(). 2017-10-30 17:44:33 +08:00
cuihaikuo
c130c9fceb Don't set config to database when read config from seafile.conf. 2017-09-18 16:05:15 +08:00
cuihaikuo
b11f861fbd Support loading configuration from database. 2017-09-07 17:01:56 +08:00
Jonathan Xu
3e42e2d0b5 Merge branch '6.1' 2017-08-23 15:28:19 +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
0db8ef8f2d Merge branch '6.1' 2017-07-07 11:19:27 +08:00
cuihaikuo
36ecb21a58 Add rpc for getting file count info 2017-07-04 14:50:05 +08:00
Jonathan Xu
2597fa4df5 Use 8MB as block size for files uploaded from web. 2017-06-30 17:48:42 +08:00
cuihaikuo
ffd92675be Create only one commit when move or copy multiple files 2017-06-29 14:23:22 +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
ca0a2bd541 Check path when get file id by commit and path 2017-04-19 17:15:20 +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
bcd7ad8f0b Postgresql port setting 2017-01-16 15:56:51 +08:00
cuihaikuo
5f831a8579 Fix pgsql memory occupation problem 2017-01-11 15:02:03 +08:00
Jiaqiang Xu
ef8fa4a309 Merge pull request #13 from haiwen/statistics
Count total file number and storage occupation
2017-01-04 14:00:17 +08:00
cuihaikuo
90fb2b8515 Count total file number and storage occupation 2016-12-30 16:57:33 +08:00
Jonathan Xu
30e16a80bd Remove trailing spaces from values when reading config file. 2016-12-28 15:04:13 +08:00
Jiaqiang Xu
c93f9fe1c1 Merge pull request #7 from haiwen/rename_virtual_repo
Rename virtual repo while renaming the source folder
2016-11-08 16:05:13 +08:00
cuihaikuo
06a41b3eef Rename virtual repo while renaming the source folder 2016-11-07 18:26:29 +08:00
cuihaikuo
46b8d8fda9 return vrepo_id when share subdir 2016-11-05 11:57:44 +08:00
Jiaqiang Xu
40c6706acc Fix SQLite "database is locked" problem.
Need to use shared cache mode to open db connections.
Also use "unlock_notify" API instead of timed retry.
2016-10-29 15:07:20 +08:00
cuihaikuo
0699a9e2e6 Add config options: fixed_block_size and web_token_expire_time 2016-10-08 11:32:26 +08:00
Jiaqiang Xu
72ae505def Add "client_version" attribute to commit object. 2016-09-22 10:52:07 +08:00
Jiaqiang Xu
29b82e62d6 [RPC] Add 'delta' parameter to check_quota RPC. 2016-09-21 10:57:29 +08:00
Jiaqiang Xu
2447b6e144 Fix db connection pool bug. 2016-09-03 12:05:11 +08:00
Jiaqiang Xu
2fc372b082 Replace sqlite_unlock_notify with timed retry. 2016-08-27 13:50:22 +08:00
Jiaqiang Xu
5a50db9c48 Conditional compile MySQL and PostgreSQL support. 2016-08-20 17:32:22 +08:00
Jiaqiang Xu
f52ffdfb23 Add connection pool for db. 2016-08-20 15:29:51 +08:00
Jiaqiang Xu
6a5e0804b9 Fix make dist. 2016-08-19 18:01:30 +08:00
Jiaqiang Xu
2643119433 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00