Dmitry Degtyarev
c9947f8909
add update_cache()
...
replaces update_related_entries()
2020-06-13 09:08:05 +04:00
296f941b3c
adldap: Removed unimplemented function get_values()
2020-06-11 16:29:12 +04:00
e3b0e6bc2f
adldap: Removed unused variables
2020-06-11 16:27:17 +04:00
bf06e27a01
adldap: Removed commented code
2020-06-11 16:23:14 +04:00
8e8dba2de6
adldap: ldap_add_s -> ldap_add_ext_s
2020-06-11 16:22:51 +04:00
eeadbfeae5
adldap: ldap_search_s -> ldap_search_ext_s
2020-06-11 16:17:48 +04:00
ae7da52fa0
adldap: ldap_modify_s -> ldap_modify_ext_s
2020-06-11 16:11:38 +04:00
986c0c049d
adldap: ldap_delete_s -> ldap_delete_ext_s
2020-06-11 16:05:54 +04:00
8d71d09892
adldap: ldap_add_s -> ldap_add_ext_s
2020-06-11 16:05:16 +04:00
e778a24276
adldap: Removed unused bindpw variable
2020-06-11 16:04:27 +04:00
NIR
640e60f2ad
Merge pull request #38 from altlinuxteam/adldap_dn2domain
...
Update dn2domain function
2020-06-11 15:17:12 +04:00
43073ba686
adldap: Added note about buffer overflow
2020-06-11 14:57:45 +04:00
Dmitry Degtyarev
b225891b04
don't disable ContentsWidget on delete
...
typo from #37
2020-06-10 18:10:08 +04:00
dfe593ab04
adldap: Updated copyright
2020-06-10 16:51:34 +04:00
2e58b4c078
Add cmocka as build dependency
2020-06-10 16:51:34 +04:00
0c7df72087
libadldap: Added CMocka unit test
2020-06-10 16:51:33 +04:00
1d2886bfc5
Added CMocka's CMake includes for libadldap
2020-06-10 16:50:39 +04:00
91bf598826
Update dn2domain function
...
This update is needed to eliminate deprecation warnings from OpenLDAP.
The code written is re-implementation of functionality present in
dn_to_dnsname from ldap_convert.c of BIND9
and
dntest.c test from OpenLDAP
2020-06-10 16:50:39 +04:00
Dmitry Degtyarev
c2716cea93
make EntryWidgets enable themselves on login
...
instead of MainWindow doing it
2020-06-10 12:57:16 +04:00
Dmitry Degtyarev
ca2501321d
clear README
2020-06-10 12:52:01 +04:00
Dmitry Degtyarev
1f4112d8ad
Merge pull request #39 from altlinuxteam/drag-drop-better
...
Drag drop groups
2020-06-10 12:50:23 +04:00
Dmitry Degtyarev
740ec0dedc
update members of groups when they are changed
...
change AdInterface::reload_attributes_of_entry_groups() to
\ AdInterface::update_related_entries()
2020-06-09 17:02:23 +04:00
Dmitry Degtyarev
1b02439b7e
fix entry_is_group var using is_user()
2020-06-09 16:29:27 +04:00
Dmitry Degtyarev
ea7f52dc77
add MembersModel::on_move_complete() slot
2020-06-09 16:23:45 +04:00
Dmitry Degtyarev
f4537e8fb6
fix AdModel::on_move_complete() comment
2020-06-09 15:43:52 +04:00
Dmitry Degtyarev
737c47978e
use non-const LDAP struct paramater for AD
...
because ldap functions take in non-const LDAP struct
2020-06-09 15:40:44 +04:00
Dmitry Degtyarev
ab764ad6d1
only allow users/groups for AdInterface::move()
2020-06-09 15:35:07 +04:00
Dmitry Degtyarev
1e42476cce
remove dropping OU's
...
too complicated to implement in this PR
2020-06-09 15:32:08 +04:00
NIR
0fa71bb8d4
Merge pull request #37 from altlinuxteam/main-window-actions
...
Settings and actions work
2020-06-09 15:25:06 +04:00
Dmitry Degtyarev
804db945be
add missing is_container() call
2020-06-09 13:18:49 +04:00
Dmitry Degtyarev
a14cf4cc52
add drop logic for groups and OU's
2020-06-09 12:59:42 +04:00
Dmitry Degtyarev
f6d7e8bef2
streamline drop logic
...
can_drop and drop_entry had identical logic branching
combine that into DropType enum and switch on enum instead
2020-06-09 12:57:31 +04:00
Dmitry Degtyarev
ab362d8e46
rename rest of "parent" vars in drop logic
2020-06-09 12:48:09 +04:00
Dmitry Degtyarev
ad55517817
add AdInterface::is_container_like()
...
use it in AdModel's load_row()
2020-06-09 12:43:06 +04:00
Dmitry Degtyarev
d66fae5010
update AdInterface::move() signals
2020-06-09 12:40:02 +04:00
Dmitry Degtyarev
6669890c93
change move_user() to move()
...
call AdConnection::move_user() if entry is user
otherwise call AdConnection::move()
create new dn without depending on first prefix being "CN="
2020-06-09 12:33:17 +04:00
Dmitry Degtyarev
6b230ed4ea
rename parent_dn to target_dn in drop logic
2020-06-09 12:26:49 +04:00
Dmitry Degtyarev
0fa27ff351
move drop logic to AdInterface
...
from EntryWidget
2020-06-09 12:26:06 +04:00
Dmitry Degtyarev
d34039143e
remove create_entry_dialog
...
doesn't need it's own file yet
2020-06-08 16:02:44 +04:00
Dmitry Degtyarev
d08a4c5fb5
rename "request" to context_menu
...
in context menu signals/slots
2020-06-08 15:59:01 +04:00
Dmitry Degtyarev
2d5262060c
move all change_target calls into DetailsWidget
...
make change_target() private
add missing ad_interface_login_complete connection in DetailsWidget
2020-06-08 15:54:36 +04:00
Dmitry Degtyarev
b9d21ab91e
remove EntryWidget::get_selected_dn()
...
not used anymore
also remove EntryWidget::instances that was used by it
2020-06-08 15:29:32 +04:00
Dmitry Degtyarev
ca83eab5db
remove disabling actions before login
...
disable widgets instead
2020-06-08 15:15:09 +04:00
Dmitry Degtyarev
0f9468acdb
save and load settings.init
2020-06-08 14:55:22 +04:00
Dmitry Degtyarev
93a54b9e50
transfer the rest of Settings related actions
...
add make_checkable_action() for convenience
2020-06-08 14:34:51 +04:00
Dmitry Degtyarev
9ba1a844ad
move static actions from MainWindow
...
create Settings
store some static actions in Settings
create entry context menu actions in EntryWidget
do context menu interaction through request slots in MainWindow
2020-06-08 14:26:43 +04:00
Dmitry Degtyarev
35052e91c8
move ad_interface into app instance
...
bring back ADMC app class to hold ad_interface
remove singleton stuff from MainWindow
move AD() function to AdInterface
remove unneeded "main_window.h" includes
2020-06-06 14:02:55 +04:00
Dmitry Degtyarev
87eab33424
add AdInterface::is_some_class() functions
2020-06-05 18:34:47 +04:00
Dmitry Degtyarev
e8437ed940
add missing "New OU" to context menu
2020-06-05 18:22:26 +04:00
Dmitry Degtyarev
58589bbfb6
add top-level comments to most headers
2020-06-05 18:16:49 +04:00