1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-05-02 05:14:17 +00:00
Commit Graph

86 Commits

Author SHA1 Message Date
feiniks
62fc07fe2e
Don't restore repo when failed to get head commit and fix a memory leak (#532) 2021-12-18 10:26:35 +08:00
feiniks
1b004ce949
Delete RepoInfo when delete a repo (#530)
* Delete RepoInfo when delete a repo

* Use commit's ctime as update time
2021-12-15 10:43:36 +08:00
Xiangyue Cai
3d9f19f628
token not unique (#493) 2021-09-24 18:22:22 +08:00
Xiangyue Cai
53e8bbe5d4
improve sql (#492)
* improve sql

* improve sql
2021-09-24 17:36:45 +08:00
Xiangyue Cai
739b8fffde
add file_count (#475)
* add file_count

* fix get file_count
2021-06-30 10:27:09 +08:00
杨赫然
1288c1ec10 Merge branch '7.1' 2020-12-04 16:35:23 +08:00
feiniks
4a0eb5431c
Get accessible repo list return 500 when db error exists (#423)
* Get accessible repo list return 500 when db error exists

* CI should use 7.1 branch
2020-11-28 14:40:27 +08:00
feiniks
7ff3282975
Support encrypted repo of V4 (#411)
* Support encrypted repo of V4

* Use aes128 for V3 encrypted repo
2020-09-22 17:06:15 +08:00
feiniks
d50359c908
Add and del ccnet compilation dependency in seafile (#347)
* Add and del ccnet compilation dependency in seafile

* Del import ccnet

* Del extra ccnet compilation dependencies

* Del support WIN32
2020-05-09 16:31:47 +08:00
feiniks
52586639ac
Merge the functions of ccnet-server into seafile-server (#293)
* merge the api of ccnet into seafile

* merge the api of ccnet into seafile

* Dont't need to include the header

* merge the api of ccnet into seafile

* add enable ldap

* The unit test dont't need to start ccnet-server

* Modify some funcion names and fuse don't need org management

* Modify indent
2020-04-15 10:21:04 +08:00
feiniks
9b28e93a09
continue get trash repo even if the repo is destroyed (#333) 2020-03-28 14:00:12 +08:00
杨赫然
64503ea424 Get repo list desc 2020-01-13 15:08:37 +08:00
杨赫然
8a31a344c4 Add repo sort function 2020-01-08 12:13:59 +08:00
杨赫然
923e1821e2 Add repo sort function 2020-01-07 10:25:19 +08:00
杨赫然
af0dae864b Add repo sort function 2019-12-31 14:38:24 +08:00
杨赫然
74e525417f Delete useless code 2019-12-06 13:47:18 +08:00
杨赫然
c2634f6dc2 Find out all repo information at once 2019-12-03 14:59:03 +08:00
杨赫然
68bcaf510f Find out all repo information at once 2019-12-03 14:12:08 +08:00
杨赫然
b22f225444 Find out all repo information at once 2019-12-03 12:00:21 +08:00
ly1217
a1418489a8 Deleted repos do not return when search repos by name. 2019-11-19 01:42:32 -08:00
ly1217
1dd89b1b7c Add search repos by name rpc. 2019-11-17 21:21:28 -08:00
Jonathan Xu
f9686872d7 Merge branch '7.0' 2019-07-25 17:55:37 +08:00
Jonathan Xu
b9877a78ca Merge branch 'python3' 2019-07-25 12:08:00 +08:00
Jonathan Xu
b94cb65263 Fix chunked upload bug in file server. 2019-07-04 14:52:57 +08:00
Jonathan Xu
c142d4bf4f Improve code after use named pipe for RPC and support python 3. 2019-07-01 16:50:25 +08:00
ly1217
c73916ef77 Upadte to python3. 2019-06-27 22:30:31 -07:00
Jonathan Xu
2327ed11cc Rewrite database access layer.
Remove support for PostgreSQL at the same time.
2019-06-21 17:09:39 +08:00
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