1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-07-18 23:36:25 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
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
cuihaikuo
c1f9dcd7fe Add rpc for searching group by name 2017-01-17 15:15:52 +08:00
Jiaqiang Xu
8104472abb Replace "LIMIT ?,?" with "LIMIT ? OFFSET ?" in SQL. 2016-11-15 11:10:46 +08:00
Jiaqiang Xu
ed8404c061 Initial commit of Ccnet server. 2016-08-19 13:54:34 +08:00