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

97 Commits

Author SHA1 Message Date
feiniks
cd9bae2002
Add column type to RepoInfo (#660)
* Add column type to RepoInfo

* Go fileserver check repo type

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-06-19 12:20:38 +08:00
feiniks
96996b79e3
Support argon2id password hash algo (#637)
* Support argon2id password hash algo

* CI install argon2 deps

* Go support argonid algo

* RPC add pwd_hash_algo and pwd_hash_params

* Support password hash algo

* Don't set magic when pwd_hash is set

* Fix ci error

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-05-22 18:49:57 +08:00
feiniks
98315cce73
Add option to build http server (#648)
* Add option to build httpserver

* Add option to build libevhtp

* Delete unused option

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-13 19:38:44 +08:00
feiniks
ad5ce70ffb
Get repo list add return virtual repos (#605)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-03-20 10:11:57 +08:00
feiniks
ce8f5bcbe6
Add index repo_id on WebUploadTempFiles (#556)
Co-authored-by: yangheran <heran.yang@seafile.com>
2022-12-13 19:21:42 +08:00
feiniks
8e9367c9a1
Delete sub query (#582)
* Delete sub query

* Use where to filter org id

* Fix ci error

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-05 18:35:41 +08:00
feiniks
9b200675fb
Add peer_ip length to 50 (#580)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-12-02 11:00:00 +08:00
feiniks
20409feb2e
Fix delete device error (#575)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-09-05 12:29:17 +08:00
feiniks
571854c6f0
Delete virtual repo info (#569)
* Delete virtual repo info

* Don't del virtual repoinfo again

* Don't del VirtualRepo again

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-07-26 11:57:46 +08:00
feiniks
cf479cefc2
Add get repo by id prefix RPC (#557)
Add get repos by id prefix test

del ret_corrupted parameter
2022-05-30 14:07:58 +08:00
feiniks
38528c8c97
Improve sql statement to delete RepoInfo and VirtualRepo (#544) 2022-02-22 12:11:39 +08:00
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