Dmitry Degtyarev
5f8f668f5d
change ui components from inheriting to using
...
make QTreeView's members and inherit from QWidget instead
2020-05-21 15:28:22 +04:00
Dmitry Degtyarev
8cd2038d46
fix signals in set_attribute() and create_entry()
...
did not emit with fake interface because returned early
2020-05-21 13:43:27 +04:00
Dmitry Degtyarev
9088b6bcfe
add "New" submenu to entry context menu
...
add NewEntryType::COUNT for iteration
add optional parent_dn argument to create_entry_dialog()
2020-05-21 13:39:27 +04:00
Dmitry Degtyarev
32c5570350
move new entry mappings into tables
2020-05-21 13:02:54 +04:00
Dmitry Degtyarev
d0a1c2011e
remove duplicate entry_change connection
2020-05-20 16:50:16 +04:00
Dmitry Degtyarev
5159f5d0a3
fix constness of other ad_create functions
...
fix AdModel::on_entry_created causing segfault
2020-05-20 16:47:51 +04:00
Dmitry Degtyarev
2e0460dc07
rename create_entry.cpp
2020-05-20 16:38:04 +04:00
Dmitry Degtyarev
aa3b8fe013
move out AdModel update out of create_entry.cpp
...
add entry_created signal/slot
remove ad_model pointer from create_entry.cpp
2020-05-20 16:35:41 +04:00
Dmitry Degtyarev
8b06f482ff
fix arguments passed to ad_create functions
...
pass dn of entry instead of parent
fix fake_create_X signatures to fit in with other AD signatures
2020-05-20 16:25:37 +04:00
Dmitry Degtyarev
95c4ab0222
change ad_create_user to strdup args
...
since apparently it can't use const char*'s
other ad functions are still breaking constness
2020-05-20 15:41:22 +04:00
Dmitry Degtyarev
11b88b3448
fix user move creating extra entries
...
disable base dropEvent
only load user at new parent if parent has already been fetched
2020-05-20 15:03:22 +04:00
Dmitry Degtyarev
a3075abd44
make dragging check type of entry and container
...
put objectClass->icon mapping into a map
2020-05-20 14:14:54 +04:00
Dmitry Degtyarev
6df0b0bb9c
add drag and drop of user entries
...
currently slightly broken
add extract_name_from_dn
add extract_parent_dn_from_dn
2020-05-19 17:07:12 +04:00
Dmitry Degtyarev
c698d48788
add icons to entry views
2020-05-19 13:43:24 +04:00
Dmitry Degtyarev
751344c00d
add AdInterface signals
...
move entry_deleted signal from context menu to AdInterface
move entry_changed signal from AttributesModel to AdInterface
don't open entry context menu from invalid entry(or no entry)
2020-05-18 19:16:55 +04:00
Dmitry Degtyarev
7eca4b5b39
check if index at context menu pos is valid
2020-05-18 17:46:24 +04:00
Dmitry Degtyarev
bf315bb562
add delete button to entry context menu
...
add untracked entry_context_menu files
2020-05-18 16:20:20 +04:00
Dmitry Degtyarev
04e8c67545
move attributes targeting to context menu
...
target can now be selected from containers too
2020-05-18 15:56:21 +04:00
Dmitry Degtyarev
84c3b86c00
add entry context menu
...
open this menu from containers and contents views
2020-05-18 15:50:16 +04:00
Dmitry Degtyarev
f8861f528b
fix CanFetch flag being true for non-new rows
...
remove extra vars in set_root_index_from_selection
2020-05-18 13:48:58 +04:00
Dmitry Degtyarev
4b5d3b4ad3
add consts
2020-05-18 12:47:47 +04:00
Dmitry Degtyarev
6335a6fdd4
remove excessive auto's
2020-05-18 11:44:09 +04:00
Dmitry Degtyarev
b2576f5116
add creation of other entry types
...
computers, groups and OU's
2020-05-15 17:39:15 +04:00
Dmitry Degtyarev
e47032e335
add NewEntryType enum
...
fix incomplete create_user_dialog() rename
2020-05-15 15:03:57 +04:00
Dmitry Degtyarev
021bee749d
add new user creation dialog
...
rename populate_row to load_row
add load_and_add_row() that also adds the row
fix off by one error in objectCategory string extraction
add fake user creation
add fake Users container to fake ad
2020-05-15 14:44:39 +04:00
Dmitry Degtyarev
8795628aa6
rename (on_)attribute_changed to entry_changed
...
add menubar "new" actions
2020-05-15 13:44:08 +04:00
Dmitry Degtyarev
f6cb45d340
make editing affect ad model
...
add AdModel::on_attribute_changed() which responds to edits
move DN from role to invisible column
need DN in column to be able to do findItems() on it
split make_row() into make_row() and populate_row()
populate_row() is used to repopulate row after attribute change
2020-05-13 17:04:49 +04:00
Dmitry Degtyarev
a22499de51
connect editable attributes to ldap and fake AD
...
add AttributesModel::change_target()
2020-05-13 15:59:24 +04:00
Dmitry Degtyarev
2ae7bbfbe8
add set_attribute()
...
fix fake checking wrong argument
2020-05-13 15:10:19 +04:00
Dmitry Degtyarev
660bde296b
change pragma's to include guards
2020-05-13 11:46:53 +04:00
Dmitry Degtyarev
192cd370d6
switch to qt
2020-05-12 17:26:41 +04:00
Dmitry Degtyarev
33e6b5ad4c
rename Type column to Category
...
add get_entry() instead of straight shget(entries)
add row expanded/collapsed func's
2020-05-07 13:27:49 +04:00
Dmitry Degtyarev
4627520f71
add user creation prototype
...
rename "selected_dn" for contents and attributes to "target"
move target changing out of populate functions
free entry properly in entry_delete()
update models in entry_delete()
reorder init calls based on relationships between views
2020-05-05 13:47:28 +04:00
Dmitry Degtyarev
5402695e03
change contents_model to ListStore
2020-05-04 21:17:46 +04:00
Dmitry Degtyarev
ca286a7e32
add gtk_builder_get_object_CHECKED()
2020-05-04 21:15:18 +04:00
Dmitry Degtyarev
1db1308e6e
add entry_get_attribute_or_none
2020-05-03 21:28:42 +04:00
Dmitry Degtyarev
31dfebd211
move layout to glade
2020-05-01 15:00:25 +04:00
Dmitry Degtyarev
1e43d647ac
add fake entries
2020-04-30 18:41:12 +04:00
Dmitry Degtyarev
01882d1cc6
improve first_element_in_dn
2020-04-30 15:55:54 +04:00
Dmitry Degtyarev
9f06ccde42
add libgsasl to README
2020-04-30 15:34:52 +04:00
Dmitry Degtyarev
91817d82a3
add entry_init()
...
move stb implementation to entry.c
remove old code from main.c
2020-04-28 15:53:28 +04:00
Dmitry Degtyarev
86e362ba68
add README
2020-04-28 15:43:16 +04:00
Dmitry Degtyarev
4a59728c0c
init
2020-04-28 15:37:48 +04:00