1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-06-26 07:01:34 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
Jiaqiang Xu
5a191fc47d
Merge pull request #221 from haiwen/enc-repo-v3
Encrypted library version 3: use different salt for each library
2019-05-15 10:30:36 +08:00
caixiangyue
7a7a2bb38f get_total_file_numer rpc do not include the file count of the deleted repo 2019-05-06 10:24:37 +00:00
caixiangyue
3a7b2f2bea delete an entry from RepoFileCount when deleting a repo from repo trash 2019-05-06 07:55:38 +00:00
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
d851199f06 Add byte-range upload. 2019-02-19 01:18:31 -08:00
ly1217
17196fc288 Optimize getting repo list and add test unit of getting repo list. 2019-01-08 22:58:18 -08:00
ly1217
1d5f1639f0 Do not clear token when change repo owner. 2018-11-23 22:31:44 -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
ly1217
739053dff0 Add test scripts of seaf-server api. 2018-08-14 17:03:36 +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
Jiaqiang Xu
6a9a52d546
Merge pull request #159 from haiwen/description_in_modification_history_fixed
Fix the problem that the description of newly created library is empt…
2018-06-04 20:53:05 +08:00
cuihaikuo
6c536b5758 Fix a segment fault when restoring a non-existent repo. 2018-06-04 17:58:20 +08:00
ly1217
94a8fe55ce Fix the problem that the description of newly created library is empty in history page 2018-06-03 19:21:57 -07:00
cuihaikuo
cca240c2af Add argument for ccnet_get_groups_by_user(). 2018-05-15 11:29:17 +08:00
cuihaikuo
cc00c76477 Fix a error in listing repos with group_name. 2018-04-28 15:26:31 +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
3e721537ed Don't call ccnet_get_org_groups_by_user() cuz it's not necessary. 2018-04-09 17:57:22 +08:00
cuihaikuo
34d1212909 Return group_name in get_group_repos_by_user(). 2018-01-11 16:47:16 +08:00
cuihaikuo
533755377f Fix that shared folder can't be set permission. 2018-01-06 15:28:11 +08:00
cuihaikuo
bb89603e5b Fix sql syntax. 2018-01-05 13:01:47 +08:00
Jiaqiang Xu
e16e5401ef
Merge pull request #111 from haiwen/get_group_repos_by_user
Add rpc get_group_repos_by_user().
2017-12-29 14:34:28 +08:00
cuihaikuo
8ef799679b Get all group repos by user. 2017-12-29 11:46:25 +08:00
cuihaikuo
f8c3098573 Return 'origin_repo_name' in listing repos. 2017-12-26 10:28:31 +08:00
cuihaikuo
e195ab4178 Add rpc get_group_shared_repo_by_path(). 2017-10-30 17:44:33 +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
3204e11073 Add rpc for getting trash repo owner 2017-08-03 13:52:28 +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
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
cuihaikuo
6f0018c770 Return 'encrypted' in get_trash_repos_by_owner api 2017-06-30 16:49:40 +08:00
Jonathan Xu
475e941961 Merge branch '6.1' 2017-06-29 11:58:39 +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
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
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
cuihaikuo
87a9a49623 Fix statistic error 2017-01-21 14:31:52 +08:00