1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-24 12:38:22 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
feiniks
5899f110b9 Add online gc (#706)
* Add online gc core

* Add check gc when update repo

* Go add check gc when update repo

* Add gc unit test

* Support set pwd_hash for gc and fsck

* Optimize to check if block exists

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-10-24 18:34:16 +08:00
feiniks
6af96fe1d2 Log format (#704)
* Format c log

* Format go log

* Add SEAFILE_LOG_TO_STDOUT env

* Modify parameters name

* Set stdout to output

* Add app name and print error log

* Disable daemon mode when SEAFILE_LOG_TO_STDOUT is true

---------

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-10-24 10:46:41 +08:00
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
杨赫然
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
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
Xiangyue Cai
0bdf63c684 fixed compile warning (#464) 2021-06-09 11:03:17 +08:00
feiniks
44a2ce41d1 Add ccnet config for fuse (#443) 2021-01-21 11:44:07 +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
ly1217
f1ee13b0e1 These ldap users are listed by seaf fuse only if they've been imported. 2019-12-22 17:55:47 -08:00
Jonathan Xu
b9877a78ca Merge branch 'python3' 2019-07-25 12:08:00 +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
cuihaikuo
c8a2f5a0d3 Add excluded-users for fuse. 2019-03-19 16:10:31 +08:00
cuihaikuo
6eab55e149 Add config option 'create_tables'. 2018-07-05 11:58:33 +08:00
Jonathan Xu
6f70a910e1 [lib] Don't install libseafile and headers. 2016-12-27 16:52:43 +08:00
Jiaqiang Xu
2643119433 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00