1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-04-27 19:15:07 +00:00
Commit Graph

36 Commits

Author SHA1 Message Date
feiniks
72753e152b
Return error when failed to get user from database (#700)
* Return error when failed to get user from database

* Use CCNET_ERR_INTERNAL

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-18 16:28:15 +08:00
feiniks
95bad895b4
Add upload link and download link API (#683)
* Add upload link and download link API

* Use go 1.22 for ci

* Go add upload link API

* Add norm UTF8 path

* Go add upload link API

* Add seahub_settings.py

* Add projectDir

* Add download link API

* Set and check etag

* Add comment and set no-cache

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-09-03 18:19:37 +08:00
feiniks
ba9476d67b
Create repo add pwd_hash and don't read pwd_hash from seafile.conf (#665)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-16 16:42:37 +08:00
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
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
9debeec57e
Check length of path before memcpy (#571)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-08-05 15:01:13 +08:00
Xiangyue Cai
0bdf63c684
fixed compile warning (#464) 2021-06-09 11:03:17 +08:00
feiniks
be8231ffc2
Add search files RPC (#417)
* Add search files RPC

* Not case sensitive when searching files
2020-10-27 18:06:37 +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
0adc97f37e
Fix errors that can't list shared repos (#342) 2020-04-27 18:36:32 +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
杨赫然
3230c31dff Add repo sort function 2019-12-30 16:19:33 +08:00
Xiangyue Cai
f01753c262 add ctime 2019-09-09 12:15:20 +08:00
ly1217
87d952b7c2 Check repo space when copy or move files. 2019-07-06 03:00:09 -07:00
Jonathan Xu
17ef884861 Encrypted library version 3: use different salt for each library. 2019-04-30 21:22:57 +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
cuihaikuo
1991a68bcf Convert origin repo path to available repo path. 2018-08-07 18:24:12 +08:00
ly1217
1fe121082d Fix compilation with openssl 1.1.0. 2018-05-13 23:48:36 -07:00
cuihaikuo
34d1212909 Return group_name in get_group_repos_by_user(). 2018-01-11 16:47:16 +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
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
b11f861fbd Support loading configuration from database. 2017-09-07 17:01:56 +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
cuihaikuo
6f0018c770 Return 'encrypted' in get_trash_repos_by_owner api 2017-06-30 16:49:40 +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
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
Jonathan Xu
30e16a80bd Remove trailing spaces from values when reading config file. 2016-12-28 15:04:13 +08:00
Jonathan Xu
6f70a910e1 [lib] Don't install libseafile and headers. 2016-12-27 16:52:43 +08:00
cuihaikuo
46b8d8fda9 return vrepo_id when share subdir 2016-11-05 11:57:44 +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
2643119433 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00