1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-02 07:43:09 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
杨赫然
915be2dc90 Don't parse seahub secret key 2024-08-29 09:52:30 +08:00
feiniks
026a6d504f
Don't delete fs and block when failed to verify (#680)
* Don't delete fs and block when failed to verify

* Modify log and remove block

---------

Co-authored-by: yangheran <heran.yang@seafile.com>
2024-08-12 11:17:58 +08:00
feiniks
9492a75d0d
Fix set repaired files error (#678)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-08-12 10:41:53 +08:00
feiniks
49c860b50d
Get nickname use seahub API (#670)
* Get nickname use seahub API

* Add parse site_root

* Use regex to match SECRET_KEY

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-30 17:58:18 +08:00
杨赫然
11d4741224 Merge branch '11.0' 2024-07-16 17:37:24 +08:00
feiniks
d51591d8f7
get nickname from seahub database (#663)
* Add parse seahub database config

* Get nickname from seahub database

* Go get nickname from seahub database

* Save output of script to memory and fix some errors

* Add exec permission and free child_output

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-07-10 16:34:33 +08:00
feiniks
84eb58f01c
Skip check user when export file and fix build error (#659)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-06-18 15:29:33 +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
cf70221106
Fix set virtual repo id error (#654)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-03-26 18:01:54 +08:00
feiniks
0b0bfbf5ab
Fix fsck crash when failed to save dir (#628)
* Fix fsck crash when failed to save dir

* Modify comment

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-07-31 11:13:33 +08:00
feiniks
fdb51c1352
Fix fsck crash when failed to find available commit (#627)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-07-25 10:37:19 +08:00
feiniks
766d716c6a
GC traverse base commit of virtual repo (#597)
* GC traverse base commit of virtual repo

* Traverse virtual repo's base commit

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2023-02-20 11:49:11 +08:00
feiniks
798f77efb5 Check if seafile is NULL (#513)
Co-authored-by: heran yang <heran.yang@seafile.com>
2022-12-06 11:34:22 +08:00
feiniks
160f96346c
Fix fsck crash (#576)
Co-authored-by: heran yang <heran.yang@seafile.com>
2022-09-14 14:40:40 +08:00
feiniks
df591aa8c2
Add --rm-fs option for gc (#541)
* Add --rm-fs option for gc

* Use local variables and print fs number

* Modify return value to gint64
2022-02-12 09:57:53 +08:00
Xiangyue Cai
2aacf83e44 fixed fsck crash (#352) 2021-07-28 10:39:54 +08:00
feiniks
3130d27b5d
Don't check block integrity when block is missing (#429)
* Don't check block integrity when block is missing

* Continue check block when block is missing and don't set io error when block is missing
2020-12-24 12:13:26 +08:00
杨赫然
642ab7acc2 Merge branch '7.1' 2020-11-24 17:57:49 +08:00
feiniks
11b3fc45e3
Fsck add log when block is missing (#407) 2020-09-15 18:33:45 +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
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
caixiangyue
b90bf8af97 fixed seaf-fsck can not repair multi damaged blocks file correctly 2019-07-02 10:35:39 +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
Jonathan Xu
2327ed11cc Rewrite database access layer.
Remove support for PostgreSQL at the same time.
2019-06-21 17:09:39 +08:00
caixiangyue
47154ecdab add repo id in log message 2019-05-06 05:50:55 +00:00
caixiangyue
3555d88288 add "-t" option to support thread pool 2019-05-06 04:01:46 +00:00
caixiangyue
0c6bf4a912 set the correct timestamp when exporting files 2019-05-06 03:57:41 +00:00
caixiangyue
60d8972edd add "-f" option to not check if the current user and the seafile-data directory owner are consistent 2019-04-29 02:56:17 +00:00
cuihaikuo
6eab55e149 Add config option 'create_tables'. 2018-07-05 11:58:33 +08:00
ly1217
20169acefe Fix the segment fault when seafserv-gc , seaf-fsck and seaf-migrate receive a unrecognized option 2018-05-26 02:30:00 -07:00
cuihaikuo
985c9d5e99 Fix problem of fsck core dump. 2018-05-17 18:03:11 +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
b11f861fbd Support loading configuration from database. 2017-09-07 17:01:56 +08:00
Jonathan Xu
e096ccdfa8 Fix GC bug when specify "-r" and "-D" options together. 2017-07-05 18:13:29 +08:00
Jiaqiang Xu
2643119433 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00