1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-06-29 08:26:51 +00:00
Commit Graph

100 Commits

Author SHA1 Message Date
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
cuihaikuo
90fb2b8515 Count total file number and storage occupation 2016-12-30 16:57:33 +08:00
cuihaikuo
63cb88e944 Add record to GarbageRepos when delete a broken repo 2016-12-13 16:49:50 +08:00
cuihaikuo
06a41b3eef Rename virtual repo while renaming the source folder 2016-11-07 18:26:29 +08:00
Jiaqiang Xu
19990b9955 Don't use 'as' syntax in SQL. 2016-10-09 16:05:42 +08:00
Jiaqiang Xu
2c6539b016 [pgsql] Fix SQL for set history limit. 2016-10-08 13:43:09 +08:00
Jiaqiang Xu
24158df163 Fix a potential number error for 'del_time' field of RepoTrash table. 2016-09-21 14:48:05 +08:00
Jiaqiang Xu
aafc3af1d4 Improve quota usage check for web file upload. 2016-09-20 14:24:25 +08:00
Jiaqiang Xu
f52ffdfb23 Add connection pool for db. 2016-08-20 15:29:51 +08:00
Jiaqiang Xu
2643119433 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00