ly1217
8f5e0c4b77
Clean ccnet_conf and mykey.peer.
2019-10-21 23:10:40 -07:00
ly1217
e2e7608044
Optimize name pipe server.
2019-10-18 21:14:24 -07:00
ly1217
e5993f199c
Add named pipe server thread pool.
2019-09-11 00:17:09 -07:00
ly1217
03a61d939c
Delete UNIX SOCKET option under [Client].
2019-09-09 22:30:40 -07:00
ly1217
96b511ebb3
Delete the PORT option under [Client].
2019-09-03 03:25:59 -07:00
Xiangyue Cai
9a1858aea5
support python3 ( #35 )
...
* use searpc-named-pipe-transport
* delete unused files
* remove not threaded rpc
* use NamedPipeClient
* remove not threaded rpc
* remove unused code
* remove unused rpc function
* remove unused code and source files
* Add name of rpc named pipe to ccent.h.
2019-07-25 11:59:28 +08:00
caixiangyue
e7dea0a26b
Rewrite database access layer.
2019-07-23 15:24:28 +08:00
ly1217
b687bb59e8
Fix compile warnings.
2019-06-03 19:38:51 -07:00
ly1217
81d9ecfa12
Add list all departments api.
2019-05-08 19:28:29 -07:00
cuihaikuo
0289c20b08
Don't create tables in running program by default.
2019-03-28 10:27:10 +08:00
cuihaikuo
0de2e3b005
get_emailusers_in_list() can get ldap users.
2018-11-19 11:32:35 +08:00
cuihaikuo
12ca01f0ff
Fix a bug in get_emailusers_in_list().
2018-11-16 19:09:46 +08:00
cuihaikuo
28853294e8
Add rpc get_emailusers_in_list().
2018-11-14 15:32:52 +08:00
cuihaikuo
f4d06d894f
Handle parameter error in get_emailuser().
2018-09-17 16:24:33 +08:00
cuihaikuo
fafaccf05d
Add argument 'including_org' to get_top_groups().
2018-08-17 15:17:29 +08:00
cuihaikuo
c2a1d1c7ca
Fix a bug of freeing wild pointer.
2018-07-27 16:41:48 +08:00
cuihaikuo
7af4426c7f
Add rpc get_groups_members().
2018-07-19 14:55:56 +08:00
cuihaikuo
a293b4b6ea
Only mysql can use config option 'create_tables'.
2018-07-09 15:25:56 +08:00
cuihaikuo
97e690b7d5
Add config option 'create_tables'.
2018-07-05 12:07:27 +08:00
cuihaikuo
047c2e0d37
Add parameter 'in_structure' to control whether checking ancestor groups or not in check_group_staff()
2018-06-11 14:45:01 +08:00
cuihaikuo
277dfc098e
Deprecate big index in table GroupStructure.
2018-06-08 10:41:13 +08:00
cuihaikuo
1722451fb5
Update check_group_staff(): parent group's staff is also child's staff.
2018-05-14 14:49:51 +08:00
cuihaikuo
a74e7654e4
Don't list special users like '1@seafile_group'.
2018-05-10 14:19:48 +08:00
cuihaikuo
b5186bf494
Fix problem of 'Specified key was too long'.
2018-05-09 11:20:11 +08:00
cuihaikuo
43d870ae44
Add pgsql support in listing child groups.
2018-05-09 10:19:55 +08:00
Jiaqiang Xu
802dc5cfb9
Merge pull request #22 from haiwen/list_child_groups_users
...
Support listing child groups and members.
2018-05-09 10:13:51 +08:00
cuihaikuo
9148bc18f4
Create index for 'path' in GroupStructure.
2018-05-08 18:46:50 +08:00
cuihaikuo
d8937ae5ad
Support listing child groups and users.
2018-05-08 17:50:21 +08:00
cuihaikuo
4a3cfbcb3d
Update is_group_user().
2018-05-08 14:02:52 +08:00
cuihaikuo
c095959cce
Don't import special creator 'system admin' to a group.
2018-04-19 18:19:38 +08:00
cuihaikuo
fa66f61ed0
Add primary key for mysql table.
...
Add column names in 'INSERT' and 'REPLACE' sql.
2018-04-18 14:04:05 +08:00
cuihaikuo
3a8f175fa8
Use transaction when creating a new group.
...
De-duplicate in getting groups with ancestors.
2018-04-04 17:03:58 +08:00
cuihaikuo
b98c73ba23
Support multi-tier groups.
2018-04-04 17:03:21 +08:00
“cuihaikuo”
5e0a7395ac
Add rpc get_org_groups_by_user().
2017-12-29 11:44:49 +08:00
“cuihaikuo”
078d115530
Fix a typo in sql.
2017-12-09 18:29:47 +08:00
“cuihaikuo”
42ad460689
Create table LDAPConfig.
2017-09-11 17:17:17 +08:00
“cuihaikuo”
aa54f9e295
Support changing of primary_id.
2017-09-05 16:55:53 +08:00
Jonathan Xu
13ea4ddf8e
Add follow_referrals option to LDAP.
...
When connecting to AD, if you use domain root (e.g. dc=example,dc=com),
you need to set follow_referrals to false.
2017-08-24 11:36:11 +08:00
cuihaikuo
f770efc9cd
Fix a bug in setting mysql max connections
2017-08-04 15:38:12 +08:00
cuihaikuo
c58c6f31ae
Add config option for setting group table name in ccnet database
2017-06-28 13:49:30 +08:00
Jonathan Xu
a97107618b
A few SQL optimizations.
...
- Avoid querying groups in a loop
- Avoid querying org groups in a loop
2017-04-06 17:40:01 +08:00
Jiaqiang Xu
d18b7d5883
Merge pull request #6 from haiwen/search_group
...
Add rpc for searching group by name
2017-01-19 17:53:52 +08:00
cuihaikuo
c1f9dcd7fe
Add rpc for searching group by name
2017-01-17 15:15:52 +08:00
cuihaikuo
3084f6bbca
Postgresql port setting
2017-01-16 16:28:02 +08:00
cuihaikuo
8d586a7b5e
Fix pgsql memory occupation problem
2017-01-11 16:52:44 +08:00
Jonathan Xu
11d40f339d
[LDAP] Change confusing warning to debug message.
2017-01-03 11:19:22 +08:00
Jonathan Xu
99cdad1d11
[ldap] Print warning if user not found when login.
2016-12-29 17:54:20 +08:00
Jiaqiang Xu
77d685d2a5
Merge pull request #3 from haiwen/winserver-6.x
...
Winserver 6.x
2016-12-29 14:12:13 +08:00
Jonathan Xu
55cbd806ae
Remove trailing spaces from values when reading config file.
2016-12-28 13:42:13 +08:00
Shuai Lin
f5f4e9e4a9
Fixed ldap on msys2.
2016-12-27 10:11:07 +08:00