1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-30 14:50:18 +03:00

176 Commits

Author SHA1 Message Date
Dmitry Degtyarev
3692fc57ff fix some AD functions failing when they shouldn't
only fail if error code is not AD_SUCCESS
2020-06-05 13:56:52 +04:00
Dmitry Degtyarev
7e93c560d1 use LDAP struct instead of uri in AD functions
don't declare a static LDAP struct in ad_login()
remove unused AdInterface::get_search_base()
remove unused AdConnection::get_search_base()
2020-06-05 13:51:45 +04:00
Dmitry Degtyarev
fe36fc35e3 add missing active_directory functions
ad_mod_rename
ad_rename_group
ad_move
closes #32
2020-06-04 19:06:32 +04:00
Dmitry Degtyarev
6e9eac31b8 disable ad actions until login
move dragdrop mode setting into EntryWidget
2020-06-04 17:48:32 +04:00
Dmitry Degtyarev
b0498332aa remove config.h include from ad_interface
get search base from AdConnection
add AdConnection::get_search_base()
2020-06-04 17:19:44 +04:00
Dmitry Degtyarev
b5a3a73f3f remove default parent from entry creation
always create at selected dn
2020-06-04 17:12:10 +04:00
Dmitry Degtyarev
6bfd7c2581 add autologin cmd option 2020-06-04 17:09:24 +04:00
Dmitry Degtyarev
a1a1e292fa add login and exit buttons to menu bar 2020-06-04 16:58:32 +04:00
Dmitry Degtyarev
59394309c9 improve ad_interface_login
pass search base and head dn to ad_interface_login
login at the end of main window setup
init models on successful login
remove rows instead of clearing models to keep header items forever
display login success/failure in statusbar
fix some models/widgets trying to load attributes of empty dn
2020-06-04 16:52:15 +04:00
Dmitry Degtyarev
6cdb04f843 remove shadowing 2020-06-04 15:52:30 +04:00
Dmitry Degtyarev
2b4127882e change actions to be static MainWindow members
delete actions.cpp
2020-06-04 15:49:16 +04:00
Dmitry Degtyarev
66b6fb878c indent ad_interface 2020-06-04 15:27:47 +04:00
Dmitry Degtyarev
7718370b0c make ADMC a singleton
rename admc file
rename runner instance in main.cpp
2020-06-04 15:27:22 +04:00
Dmitry Degtyarev
6f86491c45 fix action_contents_click_attributes 2020-06-04 14:48:21 +04:00
Evgeny Sinelnikov
3be48841aa
Merge pull request #29 from altlinuxteam/libadldap
Build Active Directory interaction library separately
2020-06-04 14:34:43 +04:00
Dmitry Degtyarev
353dbc527d make widgets fill the screen
make containers widget slightly smaller
remove manual sizing
2020-06-04 14:12:06 +04:00
68182964b0
CMake: Eliminated warning on missing libiconv 2020-06-04 11:21:45 +04:00
b810c0ffca
adtool: Use C++ adldap 2020-06-04 11:21:11 +04:00
f805997666
Runner: receive reference to argc 2020-06-04 11:20:28 +04:00
8853b82da5
adldap: Binaries renamed 2020-06-04 11:19:50 +04:00
6b91b17040
adldap: C++ API expanded 2020-06-04 11:18:58 +04:00
433610dcad
adtool: Use own implementation of QApplication and link with C++ version of libadldap 2020-06-03 21:08:08 +04:00
3aaaa9d0d4
Created ADMC (QApplication) wrapper 2020-06-03 21:06:40 +04:00
5432fee5a6
adldap: Moved functions to the designated namespace 2020-06-03 21:06:02 +04:00
ee1387dcff
adtool: Eliminated FAKE_AD code path 2020-06-03 21:05:07 +04:00
ffe1ae2122
Moved initialization code further from entry point 2020-06-03 20:06:13 +04:00
9d82812730
.gitignore updated 2020-06-03 20:03:28 +04:00
8689eaaa75
adtool: Moved codebase to use libadldap 2020-06-03 20:03:03 +04:00
98246841aa
adldap: Added install targets 2020-06-03 20:01:42 +04:00
455e123f83
Implemented Runner for initial state encapsulation 2020-06-03 20:01:02 +04:00
5901076759
specfile: Package libadldap along with other binaries 2020-06-03 20:01:01 +04:00
83d26bd6d8
adtool: Link with adldap library 2020-06-03 19:45:21 +04:00
72492141d2
Build Active Directory interaction library separately 2020-06-03 19:03:27 +04:00
Dmitry Degtyarev
dcd34560b0 remove duplicate get_dn_from_index()
\ from EntryWidget
\ use it from EntryModel instead
add missing DN header item to MembersWidget
2020-06-02 19:02:21 +04:00
Evgeny Sinelnikov
eb33442582
Merge pull request #26 from altlinuxteam/gpgui_integration
GPGUI integration
2020-06-02 18:22:05 +04:00
Dmitry Degtyarev
8aff5bd39f
Update entry_model.cpp 2020-06-02 17:45:06 +04:00
Dmitry Degtyarev
a71d030536
Merge branch 'master' into gpgui_integration 2020-06-02 17:38:17 +04:00
Dmitry Degtyarev
3414cfa3b8 add EntryModel
replaces entry_drag_drop.cpp
AdModel and MembersModel inherit from it
2020-06-02 17:37:27 +04:00
Dmitry Degtyarev
6c9e931f87 Merge branch 'master' of https://github.com/altlinuxteam/adtool 2020-06-02 16:57:32 +04:00
Dmitry Degtyarev
82e39350e5 rename attributes widget to details widget
rename attributes action and it's text
2020-06-02 16:55:03 +04:00
Dmitry Degtyarev
9fda105160 make entry selection work for all EntryWidget's
add static EntryWidget::instances member
change get_selected_dn() to static function
iterate through all EntryWidget's while searching for selection
\ instead of just containers/contents widgets
2020-06-02 16:27:32 +04:00
NIR
6ffd4f8e71
Merge pull request #25 from altlinuxteam/dependency_fixes
qt5-base package is non-existent; use qt5-base-common
2020-06-02 16:23:11 +04:00
Dmitry Degtyarev
54d0146b38 remove label from members tab
move label out of EntryWidget
EntryWidget by default adds view to layout
containers/contents views add labels themselves
2020-06-02 16:13:35 +04:00
Dmitry Degtyarev
2382599f5c add MembersWidget
members tab in attributes now has context menu
2020-06-02 16:07:45 +04:00
Dmitry Degtyarev
117aa0653d remove AdModel specific things out of EntryWidget
this is to be able to make MembersWidget inherit from EntryWidget
2020-06-02 15:47:31 +04:00
Dmitry Degtyarev
6dcd571ffa move slots from attributes model to widget
add target_dn member to AttributesWidget
now slots affect all tabs of AttributesWidget
group members tab is now properly synced
keep currently selected attributes tab through target changes
2020-06-02 14:55:42 +04:00
Dmitry Degtyarev
81d7617b8d add moving users into group via members widget
treat member's model invisible root as the group
\ so that dropping a user into empty space of member's widget
\ adds user to group
2020-06-02 14:36:57 +04:00
0eb7e74d71
Build GPGUI along with adtool 2020-06-01 20:46:00 +04:00
a59f129613
gpgui sources imported 2020-06-01 20:45:59 +04:00
280a98f225
Use classic config.h.in header file 2020-06-01 20:45:59 +04:00