1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-16 22:07:39 +00:00
Commit Graph

117 Commits

Author SHA1 Message Date
Jonathan Xu
17ef884861 Encrypted library version 3: use different salt for each library. 2019-04-30 21:22:57 +08:00
cuihaikuo
dd0519d7c3 Create tables by script. 2019-03-28 14:20:33 +08:00
cuihaikuo
22f096a70a Repo can be set 'read-only' or 'normal' status.
Return 'status' in get_repo(s) apis.
2019-03-14 11:07:42 +08:00
Jonathan Xu
78bef71a5f Merge branch '6.3' 2019-03-13 14:46:47 +08:00
ly1217
be88b15b8e Fix the bug that the last update time of sublibrarys isn't updated. 2019-02-20 00:58:26 -08:00
ly1217
d851199f06 Add byte-range upload. 2019-02-19 01:18:31 -08:00
ly1217
bcad787655 Fix the bug that seaf-server dumped caused by double free in diff_resolve_renames. 2018-12-13 00:51:37 -08:00
ly1217
98acf57065 Fix the invalid arguments process of list_dir_with_perm. 2018-11-09 01:35:07 -08:00
ly1217
89c8fa1225 Fix the problem that when change the name of a virtual repo, the name in share repo list is not changed. 2018-10-28 22:50:01 -07:00
cuihaikuo
ac5f26fef8 Support traffic statistics. 2018-08-10 17:47:19 +08:00
cuihaikuo
1991a68bcf Convert origin repo path to available repo path. 2018-08-07 18:24:12 +08:00
cuihaikuo
7c09f53be6 Only mysql can use config option 'create_tables'. 2018-07-09 15:18:06 +08:00
cuihaikuo
6eab55e149 Add config option 'create_tables'. 2018-07-05 11:58:33 +08:00
cuihaikuo
a8c66e1bc6 Fix config error. 2018-05-21 14:03:10 +08:00
cuihaikuo
0bfd0dea15 Merge branch '6.2' 2018-05-18 10:47:55 +08:00
Jiaqiang Xu
985e8db0f0
Merge pull request #151 from haiwen/openssl-error-fixed
Fix compilation with openssl 1.1.0.
2018-05-17 13:00:15 +08:00
cuihaikuo
3fd9ecb481 Add rpc for getting shared users. 2018-05-17 11:52:21 +08:00
ly1217
1fe121082d Fix compilation with openssl 1.1.0. 2018-05-13 23:48:36 -07:00
Jiaqiang Xu
53bc208a2a
Merge pull request #148 from haiwen/config_problem
Changes on config manager.
2018-05-08 14:29:34 +08:00
Jiaqiang Xu
ffb94306f0
Merge pull request #146 from haiwen/is_repo_shared
Add rpc repo_has_been_shared().
2018-05-08 12:23:43 +08:00
yixiang-zhang
48950167c2 fix commit block fs directory to be created 2018-05-08 11:45:23 +08:00
cuihaikuo
f0aa5c0a07 Changes on config manager. 2018-05-02 18:22:15 +08:00
cuihaikuo
330fc7597e Add rpc repo_has_been_shared(). 2018-05-02 11:05:43 +08:00
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