Dmitry Degtyarev
595dd432ce
rename domain_head to domain_dn
...
adconfig f-n and variables
2021-11-11 13:54:36 +04:00
Dmitry Degtyarev
723d28d439
todo review
...
remove outdated todo's
policy results widget todo: dont need to sync policy results widget with
\ group policy tab because policy results always fetches fresh state
\ on selection
some todo's became notes
some old todo's were deleted because they were old
2021-11-10 12:41:36 +04:00
Dmitry Degtyarev
529356e9d5
update attribute dialog tests
2021-11-10 11:01:01 +04:00
Dmitry Degtyarev
b53de608b4
fix tests compilation
...
broken due attribute dialog rename
2021-11-09 16:53:13 +04:00
Dmitry Degtyarev
2b19a1a7dd
rename edits and multi_edits folders
2021-11-09 16:35:31 +04:00
Dmitry Degtyarev
55e2e7c7e7
rename attribute editors to dialogs
2021-11-09 16:25:26 +04:00
Dmitry Degtyarev
054c0ce46e
get rid of init()'s
...
use global adconfig everywhere, not a problem anymore with two step
\ init of the app
create set_classes() and set_default_base() f-ns to replace init()
2021-11-08 17:17:28 +04:00
Dmitry Degtyarev
cf40d6ad1b
fix ambigious ui widget names
2021-11-08 16:39:13 +04:00
Dmitry Degtyarev
8b24e793c1
move class filter widget to filter widget folder
2021-11-08 16:36:19 +04:00
Dmitry Degtyarev
865067e81c
rename filter classes widget
...
to class filter widget
select classes dialog -> class filter dialog
2021-11-08 16:33:34 +04:00
Dmitry Degtyarev
6a6967d3c8
rework logon computers dialog
...
to not reuse
fix tests
2021-11-08 14:40:01 +04:00
Dmitry Degtyarev
026d58f1f9
merge set_classes() into init()
...
for filter classes widget and all of it's users
also don't reuse select classes dialog
2021-11-08 14:32:50 +04:00
Dmitry Degtyarev
2ebb2a710a
rework edit query item widget
...
to not reuse filter dialog
2021-11-08 12:33:57 +04:00
Dmitry Degtyarev
01894673fe
fix edit query item widget test
2021-11-08 12:19:48 +04:00
Dmitry Degtyarev
48f433c499
change manual to online version
2021-11-08 09:58:05 +04:00
Dmitry Degtyarev
782025ecb3
fix tests compilation
2021-11-04 15:04:38 +04:00
Dmitry Degtyarev
efbef92f20
run clang-format
2021-11-02 15:54:13 +04:00
Dmitry Degtyarev
c3fb7421a1
fix tests
2021-11-02 14:16:22 +04:00
Dmitry Degtyarev
66b6d7d24a
create separate file for logon hours dialog
2021-11-02 14:00:23 +04:00
Dmitry Degtyarev
3dcc8ec662
fix filter widget test
2021-11-02 13:55:26 +04:00
Dmitry Degtyarev
ad40f16dfb
improve default class filtering logic
...
add selected_list arg to add_classes() f-ns
for select object dialog, selected_list is the same as class_list,
\ so that all classes are selected
for find object dialog, selected_list is users, contacts and groups
remove select_all_classes()
2021-11-02 13:47:59 +04:00
Dmitry Degtyarev
a605742f0a
todo review
...
select all classes in select object dialog explicitly
use single item load f-n to load items for select polic dialog
\ so that there's no assumption for row size
2021-11-01 16:52:21 +04:00
Dmitry Degtyarev
d26b4f5160
use QObject::sender()
...
remove complete() signals/slots
connect to accepted() and get sender dialog's
restore getters for dn/names
update tests
2021-11-01 14:06:33 +04:00
Dmitry Degtyarev
f4dc638f0d
redo attributes editors for reuse
...
so that editors are created once and reused
add setter for attribute
move editor selection logic to attribute tab
2021-11-01 13:41:49 +04:00
Dmitry Degtyarev
d91a0a5a9d
fix tests
...
remove trim spaces test
get new dn/name f-ns were removed so cant test that anymore
also not that necessary
2021-11-01 09:56:15 +04:00
Dmitry Degtyarev
66f294006c
improve query dialogs
...
move console interaction outside dialogs
2021-10-29 15:42:04 +04:00
Dmitry Degtyarev
9b525ccfbe
add tests for space trimming from names
2021-10-28 17:00:49 +04:00
Dmitry Degtyarev
f2f2a90db4
split object menu tests
...
into tests for each dialog type
2021-10-28 16:51:34 +04:00
Dmitry Degtyarev
57251dfe77
rename RenameObjectDialog
2021-10-28 15:55:01 +04:00
Dmitry Degtyarev
864803acd3
add -Wextra and -Werror compile options
...
fix all warnings
add UNUSED_ARG() macro's
macro is duplicated because of component boundaries
2021-10-25 12:59:15 +04:00
Dmitry Degtyarev
7057c229ab
fix member of tab tests
...
can't use hard row indexes anymore because of persistent sort state
so lookup row index dynamically each time
2021-10-20 14:35:04 +04:00
Dmitry Degtyarev
e44844be5c
fix include dir
...
account for variable names of build dir
2021-10-19 13:30:58 +04:00
Dmitry Degtyarev
73b2920b74
use ui class to access widgets in tests
...
instead of using findChild() with widget names
now changing a name will cause an error if some test uses old name
2021-10-18 12:29:43 +04:00
Dmitry Degtyarev
ebafe480b4
rename all instances of "sama" to "sam_name"
...
it's "sam account name", "sama" doesn't make any sense
rename classes, variables, strings, comments
also improve ATTRIBUTE_SAM_ACCOUNT_NAME define
2021-10-18 11:15:03 +04:00
Dmitry Degtyarev
a73a954071
rename country and upn helper files
...
don't contain widgets anymore
2021-10-15 13:55:41 +04:00
Dmitry Degtyarev
3dbc3e33d2
remove unused class arg from edit ctors
2021-10-05 17:15:31 +04:00
Dmitry Degtyarev
00c67b1809
remove AttributeEdit::add_to_layout()
2021-10-05 17:08:45 +04:00
Dmitry Degtyarev
0971a84f20
remove obsolete edit ctor's
...
the ones that construct widgets instead of accepting widget args
fix tests
fix incosistent order in edit ctors
2021-10-05 17:01:33 +04:00
Dmitry Degtyarev
c5ed46d8ce
add alternative ctors to edits
...
needed for further designer rework
fix logon computers test
2021-10-05 11:54:17 +04:00
Dmitry Degtyarev
2a04e439fe
redo account tab in designer
...
and expiry widget
2021-10-04 17:55:40 +04:00
Dmitry Degtyarev
a639de2cc4
fix account option labels
...
add test
2021-10-04 13:16:01 +04:00
Dmitry Degtyarev
199ac2909f
redo create object dialogs using designer
...
split into separate classes with a base class
create widget state class for managing state
2021-10-04 13:05:36 +04:00
Dmitry Degtyarev
d486af4c8e
improve tests
...
use QCOMPARE() instead of QVERIFY() where possible for better messages
remove != nullptr from QVERIFY() calls to reduce visual clutter
2021-10-01 14:23:56 +04:00
Dmitry Degtyarev
cc312dd48f
fix select base widget test
...
broken after designer rework
browse dialog slot wasn't connected
and select container dialog doesn't need to be deleted anymore since
\ it's reused
2021-10-01 13:39:43 +04:00
Dmitry Degtyarev
3ebaee0b26
make test strings more specific
...
fixes tests for domains with "test-user" named objects
2021-10-01 13:34:32 +04:00
Dmitry Degtyarev
74db0d0ed8
fix select classes widget display
...
broken in designer rework
2021-10-01 13:20:09 +04:00
Dmitry Degtyarev
336d5424e5
redo rename dialog using designer
2021-10-01 13:16:21 +04:00
Dmitry Degtyarev
48c4dee508
fix tests
...
remove object menu move test because that is in object impl now
2021-09-30 13:14:57 +04:00
Dmitry Degtyarev
a665700ca3
fix translation of permissions
...
another problem with QCoreApplication::translate()
2021-09-29 13:42:18 +04:00
Dmitry Degtyarev
1ba549f8b0
redo select dialogs in designer
2021-09-28 17:04:40 +04:00